Skip to content

Commit

Permalink
Fix/missing type exports (#80)
Browse files Browse the repository at this point in the history
* fix: 🐛 add missing type exports to vanilla

* chore: 🤖 add changeset
  • Loading branch information
ArrayKnight authored Nov 4, 2024
1 parent 48590ee commit 5b20f69
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/clever-rings-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@accelint/design-system": patch
---

Added missing type exports to vanilla file
1 change: 1 addition & 0 deletions packages/design-system/src/hooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export {
ThemeProvider,
useTheme,
type ThemeContext,
type ThemeProviderProps,
type ThemeVars,
} from './use-theme';
export { useTree } from './use-tree';
Expand Down
6 changes: 5 additions & 1 deletion packages/design-system/src/hooks/use-theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// __private-exports
export { type ThemeContext, type ThemeVars } from './types';
export {
type ThemeContext,
type ThemeProviderProps,
type ThemeVars,
} from './types';
export { ThemeProvider, useTheme } from './use-theme';
1 change: 1 addition & 0 deletions packages/design-system/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ export type {
DefaultsContext,
DefaultsProviderProps,
ThemeContext,
ThemeProviderProps,
ThemeVars,
} from './hooks';
export {
Expand Down
9 changes: 9 additions & 0 deletions packages/design-system/src/vanilla.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,15 @@ export type {
TreeState,
TreeStateContextValue,
} from './components/tree/types';
export type {
DefaultsContext,
DefaultsProviderProps,
} from './hooks/use-defaults/types';
export type {
ThemeContext,
ThemeProviderProps,
ThemeVars,
} from './hooks/use-theme/types';
export {
bodies,
defaultElevationVarValues,
Expand Down

0 comments on commit 5b20f69

Please sign in to comment.