@moul-dev/ui 2026.8.26 → 2026.9.2-3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/assets/stylex.css +322 -28
  2. package/dist/moul-ui.js +11066 -3933
  3. package/dist/src/App.d.ts +1 -1
  4. package/dist/src/components/Alert/Alert.styles.d.ts +11 -14
  5. package/dist/src/components/Autocomplete/Autocomplete.d.ts +92 -0
  6. package/dist/src/components/Autocomplete/Autocomplete.styles.d.ts +200 -0
  7. package/dist/src/components/Autocomplete/index.d.ts +2 -0
  8. package/dist/src/components/ComboBox/ComboBox.d.ts +15 -4
  9. package/dist/src/components/ComboBox/ComboBox.styles.d.ts +3 -3
  10. package/dist/src/components/Drawer/Drawer.d.ts +36 -0
  11. package/dist/src/components/Drawer/Drawer.styles.d.ts +46 -5
  12. package/dist/src/components/Drawer/index.d.ts +2 -2
  13. package/dist/src/components/ListBox/ListBox.d.ts +44 -0
  14. package/dist/src/components/ListBox/ListBox.styles.d.ts +260 -0
  15. package/dist/src/components/ListBox/index.d.ts +2 -0
  16. package/dist/src/components/NumberField/NumberField.styles.d.ts +3 -3
  17. package/dist/src/components/SearchField/SearchField.styles.d.ts +4 -3
  18. package/dist/src/components/Sidebar/Sidebar.d.ts +41 -0
  19. package/dist/src/components/Sidebar/Sidebar.styles.d.ts +457 -10
  20. package/dist/src/components/Sidebar/index.d.ts +2 -2
  21. package/dist/src/components/Table/index.d.ts +1 -1
  22. package/dist/src/components/Tabs/Tabs.styles.d.ts +40 -3
  23. package/dist/src/index.d.ts +12 -6
  24. package/dist/src/sandbox/icons.d.ts +13 -0
  25. package/dist/src/sandbox/sections/ActionsSection.d.ts +2 -0
  26. package/dist/src/sandbox/sections/BlocksSection.d.ts +14 -0
  27. package/dist/src/sandbox/sections/ChartsSection.d.ts +2 -0
  28. package/dist/src/sandbox/sections/FeedbackSection.d.ts +2 -0
  29. package/dist/src/sandbox/sections/FormsSection.d.ts +2 -0
  30. package/dist/src/sandbox/sections/LayoutSection.d.ts +2 -0
  31. package/dist/src/sandbox/sections/NavigationSection.d.ts +2 -0
  32. package/dist/src/sandbox/sections/OverlaysSection.d.ts +6 -0
  33. package/dist/src/sandbox/types.d.ts +7 -0
  34. package/package.json +6 -8
@@ -0,0 +1,44 @@
1
+ import { StyleXStyles } from '@stylexjs/stylex';
2
+ import { DropIndicatorProps as AriaDropIndicatorProps, Header as AriaHeader, ListBoxItemProps as AriaListBoxItemProps, ListBoxLoadMoreItemProps as AriaListBoxLoadMoreItemProps, ListBoxProps as AriaListBoxProps, ListBoxSectionProps as AriaListBoxSectionProps, Text as AriaText, DropTarget } from 'react-aria-components';
3
+ import * as React from 'react';
4
+ export type ListBoxSize = 'sm' | 'md' | 'lg';
5
+ export type ListBoxVariant = 'bordered' | 'flat' | 'plain';
6
+ export type ListBoxLayout = 'stack' | 'grid';
7
+ export type ListBoxOrientation = 'vertical' | 'horizontal';
8
+ export interface DropIndicatorProps extends Omit<AriaDropIndicatorProps, 'style' | 'className'> {
9
+ style?: StyleXStyles;
10
+ className?: string;
11
+ }
12
+ export declare const DropIndicator: React.ForwardRefExoticComponent<DropIndicatorProps & React.RefAttributes<HTMLElement>>;
13
+ export interface ListBoxLoadMoreItemProps extends Omit<AriaListBoxLoadMoreItemProps, 'style' | 'className'> {
14
+ style?: StyleXStyles;
15
+ className?: string;
16
+ children?: React.ReactNode;
17
+ }
18
+ export declare const ListBoxLoadMoreItem: React.ForwardRefExoticComponent<ListBoxLoadMoreItemProps & React.RefAttributes<HTMLDivElement>>;
19
+ export interface ListBoxSectionProps<T extends object = object> extends Omit<AriaListBoxSectionProps<T>, 'style' | 'className'> {
20
+ title?: string;
21
+ isSticky?: boolean;
22
+ style?: StyleXStyles;
23
+ className?: string;
24
+ }
25
+ export declare const ListBoxSection: React.ForwardRefExoticComponent<ListBoxSectionProps<any> & React.RefAttributes<HTMLElement>>;
26
+ export interface ListBoxItemProps<T extends object = object> extends Omit<AriaListBoxItemProps<T>, 'style' | 'className'> {
27
+ label?: React.ReactNode;
28
+ description?: React.ReactNode;
29
+ showCheckmark?: boolean;
30
+ style?: StyleXStyles;
31
+ className?: string;
32
+ }
33
+ export declare const ListBoxItem: React.ForwardRefExoticComponent<ListBoxItemProps<any> & React.RefAttributes<HTMLDivElement>>;
34
+ export interface ListBoxProps<T extends object = object> extends Omit<AriaListBoxProps<T>, 'style' | 'className'> {
35
+ size?: ListBoxSize;
36
+ variant?: ListBoxVariant;
37
+ style?: StyleXStyles;
38
+ className?: string;
39
+ renderDropIndicator?: (target: DropTarget) => React.ReactNode;
40
+ }
41
+ export declare const ListBox: <T extends object = object>(props: ListBoxProps<T> & {
42
+ ref?: React.ForwardedRef<HTMLDivElement>;
43
+ }) => React.ReactElement | null;
44
+ export { AriaHeader as Header, AriaText as Text };
@@ -0,0 +1,260 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const styles: Readonly<{
3
+ readonly container: Readonly<{
4
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
5
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
6
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "auto">;
7
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
8
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
9
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
10
+ readonly forcedColorAdjust: stylex.StyleXClassNameFor<"forcedColorAdjust", "none">;
11
+ readonly maxHeight: stylex.StyleXClassNameFor<"maxHeight", "inherit">;
12
+ }>;
13
+ readonly bordered: Readonly<{
14
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
15
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
16
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
17
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
18
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
19
+ readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
20
+ }>;
21
+ readonly flat: Readonly<{
22
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "0px">;
23
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
24
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
25
+ }>;
26
+ readonly plain: Readonly<{
27
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "0px">;
28
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
29
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
30
+ }>;
31
+ readonly containerSm: Readonly<{
32
+ readonly padding: stylex.StyleXClassNameFor<"padding", string>;
33
+ }>;
34
+ readonly containerMd: Readonly<{
35
+ readonly padding: stylex.StyleXClassNameFor<"padding", string>;
36
+ }>;
37
+ readonly containerLg: Readonly<{
38
+ readonly padding: stylex.StyleXClassNameFor<"padding", string>;
39
+ }>;
40
+ readonly stackVertical: Readonly<{
41
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
42
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
43
+ readonly gap: stylex.StyleXClassNameFor<"gap", "2px">;
44
+ }>;
45
+ readonly stackHorizontal: Readonly<{
46
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
47
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "row">;
48
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
49
+ readonly overflowX: stylex.StyleXClassNameFor<"overflowX", "auto">;
50
+ }>;
51
+ readonly grid: Readonly<{
52
+ readonly display: stylex.StyleXClassNameFor<"display", "grid">;
53
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
54
+ readonly gridTemplateColumns: stylex.StyleXClassNameFor<"gridTemplateColumns", "repeat(auto-fill, minmax(140px, 1fr))">;
55
+ }>;
56
+ readonly containerFocusVisible: Readonly<{
57
+ readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
58
+ readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
59
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
60
+ readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "-1px">;
61
+ }>;
62
+ readonly containerDropTarget: Readonly<{
63
+ readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
64
+ readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
65
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
66
+ readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "-1px">;
67
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
68
+ }>;
69
+ readonly empty: Readonly<{
70
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
71
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
72
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
73
+ readonly padding: stylex.StyleXClassNameFor<"padding", string>;
74
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
75
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
76
+ readonly fontStyle: stylex.StyleXClassNameFor<"fontStyle", "italic">;
77
+ }>;
78
+ readonly item: Readonly<{
79
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
80
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
81
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
82
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
83
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
84
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
85
+ readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
86
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
87
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
88
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
89
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
90
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, color, border-color, box-shadow">;
91
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
92
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
93
+ readonly textDecoration: stylex.StyleXClassNameFor<"textDecoration", "none">;
94
+ }>;
95
+ readonly itemSm: Readonly<{
96
+ readonly minHeight: stylex.StyleXClassNameFor<"minHeight", "28px">;
97
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
98
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
99
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
100
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
101
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
102
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
103
+ }>;
104
+ readonly itemMd: Readonly<{
105
+ readonly minHeight: stylex.StyleXClassNameFor<"minHeight", "36px">;
106
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
107
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
108
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
109
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
110
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
111
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
112
+ }>;
113
+ readonly itemLg: Readonly<{
114
+ readonly minHeight: stylex.StyleXClassNameFor<"minHeight", "44px">;
115
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
116
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
117
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
118
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
119
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
120
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
121
+ }>;
122
+ readonly itemHovered: Readonly<{
123
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
124
+ }>;
125
+ readonly itemFocused: Readonly<{
126
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
127
+ }>;
128
+ readonly itemFocusVisible: Readonly<{
129
+ readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
130
+ readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
131
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
132
+ readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "-2px">;
133
+ readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 1>;
134
+ }>;
135
+ readonly itemPressed: Readonly<{
136
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
137
+ }>;
138
+ readonly itemSelected: Readonly<{
139
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
140
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
141
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
142
+ }>;
143
+ readonly itemSelectedFocusVisible: Readonly<{
144
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
145
+ }>;
146
+ readonly itemDisabled: Readonly<{
147
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
148
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
149
+ readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
150
+ }>;
151
+ readonly itemDragging: Readonly<{
152
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.5>;
153
+ }>;
154
+ readonly itemDropTarget: Readonly<{
155
+ readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
156
+ readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
157
+ readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
158
+ readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "-1px">;
159
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
160
+ }>;
161
+ readonly itemContent: Readonly<{
162
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
163
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
164
+ readonly flex: stylex.StyleXClassNameFor<"flex", 1>;
165
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
166
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
167
+ }>;
168
+ readonly itemTextContainer: Readonly<{
169
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
170
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
171
+ readonly flex: stylex.StyleXClassNameFor<"flex", 1>;
172
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
173
+ readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "start">;
174
+ }>;
175
+ readonly itemLabel: Readonly<{
176
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
177
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
178
+ readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
179
+ readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
180
+ }>;
181
+ readonly itemDescription: Readonly<{
182
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
183
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
184
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
185
+ readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
186
+ readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
187
+ }>;
188
+ readonly itemCheckmark: Readonly<{
189
+ readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
190
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
191
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
192
+ readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
193
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
194
+ readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", string>;
195
+ }>;
196
+ readonly section: Readonly<{
197
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
198
+ readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
199
+ readonly gap: stylex.StyleXClassNameFor<"gap", "2px">;
200
+ }>;
201
+ readonly sectionHeader: Readonly<{
202
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
203
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
204
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
205
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
206
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
207
+ readonly textTransform: stylex.StyleXClassNameFor<"textTransform", "uppercase">;
208
+ readonly letterSpacing: stylex.StyleXClassNameFor<"letterSpacing", "0.05em">;
209
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
210
+ readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
211
+ readonly cursor: stylex.StyleXClassNameFor<"cursor", "default">;
212
+ }>;
213
+ readonly sectionHeaderSticky: Readonly<{
214
+ readonly position: stylex.StyleXClassNameFor<"position", "sticky">;
215
+ readonly top: stylex.StyleXClassNameFor<"top", 0>;
216
+ readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 2>;
217
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
218
+ readonly borderBlockEndWidth: stylex.StyleXClassNameFor<"borderBlockEndWidth", "1px">;
219
+ readonly borderBlockEndStyle: stylex.StyleXClassNameFor<"borderBlockEndStyle", "solid">;
220
+ readonly borderBlockEndColor: stylex.StyleXClassNameFor<"borderBlockEndColor", string>;
221
+ readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "blur(8px)">;
222
+ readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "blur(8px)">;
223
+ }>;
224
+ readonly loadMore: Readonly<{
225
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
226
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
227
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
228
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
229
+ readonly width: stylex.StyleXClassNameFor<"width", "100%">;
230
+ readonly minHeight: stylex.StyleXClassNameFor<"minHeight", "36px">;
231
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
232
+ }>;
233
+ readonly dropIndicator: Readonly<{
234
+ readonly position: stylex.StyleXClassNameFor<"position", "relative">;
235
+ readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
236
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
237
+ readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 5>;
238
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 0>;
239
+ readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity">;
240
+ readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
241
+ readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
242
+ }>;
243
+ readonly dropIndicatorHorizontal: Readonly<{
244
+ readonly width: stylex.StyleXClassNameFor<"width", "100%">;
245
+ readonly height: stylex.StyleXClassNameFor<"height", "2px">;
246
+ readonly marginBlock: stylex.StyleXClassNameFor<"marginBlock", "-1px">;
247
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
248
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
249
+ }>;
250
+ readonly dropIndicatorVertical: Readonly<{
251
+ readonly height: stylex.StyleXClassNameFor<"height", "100%">;
252
+ readonly width: stylex.StyleXClassNameFor<"width", "2px">;
253
+ readonly marginInline: stylex.StyleXClassNameFor<"marginInline", "-1px">;
254
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
255
+ readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
256
+ }>;
257
+ readonly dropIndicatorTarget: Readonly<{
258
+ readonly opacity: stylex.StyleXClassNameFor<"opacity", 1>;
259
+ }>;
260
+ }>;
@@ -0,0 +1,2 @@
1
+ export type { DropIndicatorProps, ListBoxItemProps, ListBoxLayout, ListBoxLoadMoreItemProps, ListBoxOrientation, ListBoxProps, ListBoxSectionProps, ListBoxSize, ListBoxVariant, } from './ListBox';
2
+ export { DropIndicator, Header, ListBox, ListBoxItem, ListBoxLoadMoreItem, ListBoxSection, Text, } from './ListBox';
@@ -16,12 +16,10 @@ export declare const styles: Readonly<{
16
16
  readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
17
17
  readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
18
18
  readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
19
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
19
20
  readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "border-color, box-shadow">;
20
21
  readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
21
22
  readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
22
- readonly ':hover': stylex.StyleXClassNameFor<":hover", {
23
- readonly borderColor: stylex.StyleXVar<string>;
24
- }>;
25
23
  readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
26
24
  readonly transitionProperty: "none";
27
25
  }>;
@@ -52,6 +50,7 @@ export declare const styles: Readonly<{
52
50
  readonly groupFocused: Readonly<{
53
51
  readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
54
52
  readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `0 0 0 1px ${stylex.StyleXVar<string>}`>;
53
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
55
54
  }>;
56
55
  readonly groupInvalid: Readonly<{
57
56
  readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
@@ -59,6 +58,7 @@ export declare const styles: Readonly<{
59
58
  readonly groupFocusedInvalid: Readonly<{
60
59
  readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
61
60
  readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `0 0 0 1px ${stylex.StyleXVar<string>}`>;
61
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
62
62
  }>;
63
63
  readonly groupDisabled: Readonly<{
64
64
  readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
@@ -15,12 +15,10 @@ export declare const styles: Readonly<{
15
15
  readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
16
16
  readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
17
17
  readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
18
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
18
19
  readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "border-color, box-shadow">;
19
20
  readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
20
21
  readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
21
- readonly ':hover': stylex.StyleXClassNameFor<":hover", {
22
- readonly borderColor: stylex.StyleXVar<string>;
23
- }>;
24
22
  readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
25
23
  readonly transitionProperty: "none";
26
24
  }>;
@@ -54,6 +52,7 @@ export declare const styles: Readonly<{
54
52
  readonly groupFocused: Readonly<{
55
53
  readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
56
54
  readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `0 0 0 1px ${stylex.StyleXVar<string>}`>;
55
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
57
56
  }>;
58
57
  readonly groupInvalid: Readonly<{
59
58
  readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
@@ -61,6 +60,7 @@ export declare const styles: Readonly<{
61
60
  readonly groupFocusedInvalid: Readonly<{
62
61
  readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
63
62
  readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `0 0 0 1px ${stylex.StyleXVar<string>}`>;
63
+ readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
64
64
  }>;
65
65
  readonly groupDisabled: Readonly<{
66
66
  readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
@@ -90,6 +90,7 @@ export declare const styles: Readonly<{
90
90
  readonly flexGrow: stylex.StyleXClassNameFor<"flexGrow", 1>;
91
91
  readonly width: stylex.StyleXClassNameFor<"width", "100%">;
92
92
  readonly height: stylex.StyleXClassNameFor<"height", "100%">;
93
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 0>;
93
94
  readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
94
95
  readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
95
96
  readonly color: stylex.StyleXClassNameFor<"color", string>;
@@ -1,14 +1,26 @@
1
1
  import { StyleXStyles } from '@stylexjs/stylex';
2
2
  import { LinkProps as AriaLinkProps } from 'react-aria-components';
3
3
  import * as React from 'react';
4
+ export type SidebarLayout = 'sidebar-framed' | 'main-framed' | 'default' | 'inset';
4
5
  interface SidebarContextValue {
5
6
  isCollapsed: boolean;
6
7
  selectedKey?: string;
7
8
  onSelectionChange?: (key: string) => void;
8
9
  variant: 'solid' | 'glass';
10
+ layout: 'sidebar-framed' | 'main-framed';
9
11
  onCollapseToggle: () => void;
10
12
  showCollapseToggle?: boolean;
11
13
  dense?: boolean;
14
+ enableMobileNav: boolean;
15
+ mobileNavScaleOnScroll: boolean;
16
+ maxMobileItems: number;
17
+ isScrolledDown: boolean;
18
+ setIsScrolledDown: React.Dispatch<React.SetStateAction<boolean>>;
19
+ isMoreOpen: boolean;
20
+ setIsMoreOpen: React.Dispatch<React.SetStateAction<boolean>>;
21
+ hasMobileHeader: boolean;
22
+ setHasMobileHeader: React.Dispatch<React.SetStateAction<boolean>>;
23
+ registerScrollContainer?: (node: HTMLElement | null) => void;
12
24
  }
13
25
  export declare function useSidebar(): SidebarContextValue;
14
26
  export interface SidebarProps {
@@ -19,8 +31,12 @@ export interface SidebarProps {
19
31
  defaultSelectedKey?: string;
20
32
  onSelectionChange?: (key: string) => void;
21
33
  variant?: 'solid' | 'glass';
34
+ layout?: SidebarLayout;
22
35
  showCollapseToggle?: boolean;
23
36
  dense?: boolean;
37
+ enableMobileNav?: boolean;
38
+ mobileNavScaleOnScroll?: boolean;
39
+ maxMobileItems?: number;
24
40
  style?: React.CSSProperties;
25
41
  className?: string;
26
42
  children?: React.ReactNode;
@@ -33,6 +49,18 @@ export interface SidebarHeaderProps {
33
49
  children?: React.ReactNode;
34
50
  }
35
51
  export declare const SidebarHeader: React.ForwardRefExoticComponent<SidebarHeaderProps & React.RefAttributes<HTMLDivElement>>;
52
+ export interface SidebarBrandProps {
53
+ logo?: React.ReactNode;
54
+ title?: React.ReactNode;
55
+ subtitle?: React.ReactNode;
56
+ dense?: boolean;
57
+ style?: StyleXStyles;
58
+ className?: string;
59
+ onClick?: () => void;
60
+ onPress?: () => void;
61
+ children?: React.ReactNode;
62
+ }
63
+ export declare const SidebarBrand: React.ForwardRefExoticComponent<SidebarBrandProps & React.RefAttributes<HTMLDivElement>>;
36
64
  export interface SidebarGroupProps {
37
65
  title?: string;
38
66
  collapsible?: boolean;
@@ -63,6 +91,19 @@ export interface SidebarFooterProps {
63
91
  children?: React.ReactNode;
64
92
  }
65
93
  export declare const SidebarFooter: React.ForwardRefExoticComponent<SidebarFooterProps & React.RefAttributes<HTMLDivElement>>;
94
+ export interface SidebarUserProps {
95
+ avatar?: React.ReactNode;
96
+ name?: React.ReactNode;
97
+ description?: React.ReactNode;
98
+ action?: React.ReactNode;
99
+ dense?: boolean;
100
+ style?: StyleXStyles;
101
+ className?: string;
102
+ onClick?: () => void;
103
+ onPress?: () => void;
104
+ children?: React.ReactNode;
105
+ }
106
+ export declare const SidebarUser: React.ForwardRefExoticComponent<SidebarUserProps & React.RefAttributes<HTMLDivElement>>;
66
107
  export interface SidebarDividerProps {
67
108
  dense?: boolean;
68
109
  style?: StyleXStyles;