Skip to content

Commit 3beba31

Browse files
committed
update descendants
1 parent 8b511c4 commit 3beba31

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.changeset/descendants-exports.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@leafygreen-ui/descendants': minor
3+
---
4+
5+
Exports `Position` enum. Removes type annotation from `Direction` export

packages/descendants/src/Highlight/index.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
export type {
1+
export {
22
Direction,
3-
HighlightChangeHandler,
4-
HighlightContextProps,
5-
HighlightHookReturnType,
6-
Index,
7-
UseHighlightOptions,
3+
type HighlightChangeHandler,
4+
type HighlightContextProps,
5+
type HighlightHookReturnType,
6+
type Index,
7+
Position,
8+
type UseHighlightOptions,
89
} from './highlight.types';
910
export {
1011
createHighlightContext,

packages/descendants/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ export {
1515
// Highlight
1616
export {
1717
createHighlightContext,
18-
type Direction,
18+
Direction,
1919
type HighlightChangeHandler,
2020
type HighlightContextProps,
2121
type HighlightContextType,
2222
type HighlightHookReturnType,
2323
HighlightProvider,
2424
type Index,
25+
Position,
2526
useHighlight,
2627
useHighlightContext,
2728
type UseHighlightOptions,

0 commit comments

Comments
 (0)