@moul-dev/ui 2026.8.26 → 2026.8.27
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.
- package/dist/assets/stylex.css +20 -4
- package/dist/moul-ui.js +2547 -2299
- package/dist/src/App.d.ts +1 -1
- package/dist/src/components/Alert/Alert.styles.d.ts +11 -14
- package/dist/src/components/Sidebar/Sidebar.d.ts +25 -0
- package/dist/src/components/Sidebar/Sidebar.styles.d.ts +147 -1
- package/dist/src/components/Sidebar/index.d.ts +2 -2
- package/dist/src/components/Table/index.d.ts +1 -1
- package/dist/src/index.d.ts +6 -4
- package/dist/src/sandbox/icons.d.ts +13 -0
- package/dist/src/sandbox/sections/ActionsSection.d.ts +2 -0
- package/dist/src/sandbox/sections/BlocksSection.d.ts +14 -0
- package/dist/src/sandbox/sections/ChartsSection.d.ts +2 -0
- package/dist/src/sandbox/sections/FeedbackSection.d.ts +2 -0
- package/dist/src/sandbox/sections/FormsSection.d.ts +2 -0
- package/dist/src/sandbox/sections/LayoutSection.d.ts +2 -0
- package/dist/src/sandbox/sections/NavigationSection.d.ts +2 -0
- package/dist/src/sandbox/sections/OverlaysSection.d.ts +6 -0
- package/dist/src/sandbox/types.d.ts +7 -0
- package/package.json +5 -8
package/dist/src/App.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function App(): import("react").JSX.Element;
|
|
1
|
+
export declare function App(): import("react").JSX.Element;
|
|
2
2
|
export default App;
|
|
@@ -60,23 +60,10 @@ export declare const styles: Readonly<{
|
|
|
60
60
|
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
61
61
|
readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", string>;
|
|
62
62
|
}>;
|
|
63
|
-
readonly
|
|
64
|
-
readonly background: stylex.StyleXClassNameFor<"background", "transparent">;
|
|
65
|
-
readonly border: stylex.StyleXClassNameFor<"border", "none">;
|
|
66
|
-
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
63
|
+
readonly closeButton_info: Readonly<{
|
|
67
64
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
68
|
-
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
69
|
-
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
70
|
-
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
71
|
-
readonly padding: stylex.StyleXClassNameFor<"padding", string>;
|
|
72
|
-
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
73
|
-
readonly transition: stylex.StyleXClassNameFor<"transition", "background-color 0.15s, color 0.15s">;
|
|
74
65
|
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
75
66
|
readonly color: stylex.StyleXVar<string>;
|
|
76
|
-
}>;
|
|
77
|
-
}>;
|
|
78
|
-
readonly closeButton_info: Readonly<{
|
|
79
|
-
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
80
67
|
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
81
68
|
}>;
|
|
82
69
|
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
@@ -84,7 +71,9 @@ export declare const styles: Readonly<{
|
|
|
84
71
|
}>;
|
|
85
72
|
}>;
|
|
86
73
|
readonly closeButton_loading: Readonly<{
|
|
74
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
87
75
|
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
76
|
+
readonly color: stylex.StyleXVar<string>;
|
|
88
77
|
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
89
78
|
}>;
|
|
90
79
|
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
@@ -92,7 +81,9 @@ export declare const styles: Readonly<{
|
|
|
92
81
|
}>;
|
|
93
82
|
}>;
|
|
94
83
|
readonly closeButton_accent: Readonly<{
|
|
84
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
95
85
|
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
86
|
+
readonly color: stylex.StyleXVar<string>;
|
|
96
87
|
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
97
88
|
}>;
|
|
98
89
|
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
@@ -100,7 +91,9 @@ export declare const styles: Readonly<{
|
|
|
100
91
|
}>;
|
|
101
92
|
}>;
|
|
102
93
|
readonly closeButton_success: Readonly<{
|
|
94
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
103
95
|
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
96
|
+
readonly color: stylex.StyleXVar<string>;
|
|
104
97
|
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
105
98
|
}>;
|
|
106
99
|
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
@@ -108,7 +101,9 @@ export declare const styles: Readonly<{
|
|
|
108
101
|
}>;
|
|
109
102
|
}>;
|
|
110
103
|
readonly closeButton_warning: Readonly<{
|
|
104
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
111
105
|
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
106
|
+
readonly color: stylex.StyleXVar<string>;
|
|
112
107
|
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
113
108
|
}>;
|
|
114
109
|
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
@@ -116,7 +111,9 @@ export declare const styles: Readonly<{
|
|
|
116
111
|
}>;
|
|
117
112
|
}>;
|
|
118
113
|
readonly closeButton_error: Readonly<{
|
|
114
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
119
115
|
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
116
|
+
readonly color: stylex.StyleXVar<string>;
|
|
120
117
|
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
121
118
|
}>;
|
|
122
119
|
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
@@ -33,6 +33,18 @@ export interface SidebarHeaderProps {
|
|
|
33
33
|
children?: React.ReactNode;
|
|
34
34
|
}
|
|
35
35
|
export declare const SidebarHeader: React.ForwardRefExoticComponent<SidebarHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
export interface SidebarBrandProps {
|
|
37
|
+
logo?: React.ReactNode;
|
|
38
|
+
title?: React.ReactNode;
|
|
39
|
+
subtitle?: React.ReactNode;
|
|
40
|
+
dense?: boolean;
|
|
41
|
+
style?: StyleXStyles;
|
|
42
|
+
className?: string;
|
|
43
|
+
onClick?: () => void;
|
|
44
|
+
onPress?: () => void;
|
|
45
|
+
children?: React.ReactNode;
|
|
46
|
+
}
|
|
47
|
+
export declare const SidebarBrand: React.ForwardRefExoticComponent<SidebarBrandProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
48
|
export interface SidebarGroupProps {
|
|
37
49
|
title?: string;
|
|
38
50
|
collapsible?: boolean;
|
|
@@ -63,6 +75,19 @@ export interface SidebarFooterProps {
|
|
|
63
75
|
children?: React.ReactNode;
|
|
64
76
|
}
|
|
65
77
|
export declare const SidebarFooter: React.ForwardRefExoticComponent<SidebarFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
78
|
+
export interface SidebarUserProps {
|
|
79
|
+
avatar?: React.ReactNode;
|
|
80
|
+
name?: React.ReactNode;
|
|
81
|
+
description?: React.ReactNode;
|
|
82
|
+
action?: React.ReactNode;
|
|
83
|
+
dense?: boolean;
|
|
84
|
+
style?: StyleXStyles;
|
|
85
|
+
className?: string;
|
|
86
|
+
onClick?: () => void;
|
|
87
|
+
onPress?: () => void;
|
|
88
|
+
children?: React.ReactNode;
|
|
89
|
+
}
|
|
90
|
+
export declare const SidebarUser: React.ForwardRefExoticComponent<SidebarUserProps & React.RefAttributes<HTMLDivElement>>;
|
|
66
91
|
export interface SidebarDividerProps {
|
|
67
92
|
dense?: boolean;
|
|
68
93
|
style?: StyleXStyles;
|
|
@@ -58,6 +58,7 @@ export declare const styles: Readonly<{
|
|
|
58
58
|
readonly headerCollapsed: Readonly<{
|
|
59
59
|
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
60
60
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
61
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
61
62
|
}>;
|
|
62
63
|
readonly headerContent: Readonly<{
|
|
63
64
|
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
@@ -74,6 +75,8 @@ export declare const styles: Readonly<{
|
|
|
74
75
|
}>;
|
|
75
76
|
readonly headerContentCollapsed: Readonly<{
|
|
76
77
|
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
78
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", 0>;
|
|
79
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
77
80
|
}>;
|
|
78
81
|
readonly footer: Readonly<{
|
|
79
82
|
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
@@ -100,6 +103,7 @@ export declare const styles: Readonly<{
|
|
|
100
103
|
readonly footerCollapsed: Readonly<{
|
|
101
104
|
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
102
105
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
106
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
103
107
|
}>;
|
|
104
108
|
readonly footerContent: Readonly<{
|
|
105
109
|
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
@@ -116,6 +120,147 @@ export declare const styles: Readonly<{
|
|
|
116
120
|
}>;
|
|
117
121
|
readonly footerContentCollapsed: Readonly<{
|
|
118
122
|
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
123
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", 0>;
|
|
124
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
125
|
+
}>;
|
|
126
|
+
readonly user: Readonly<{
|
|
127
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
128
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
129
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
130
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
131
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
132
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
133
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
134
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
135
|
+
readonly textDecoration: stylex.StyleXClassNameFor<"textDecoration", "none">;
|
|
136
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
137
|
+
}>;
|
|
138
|
+
readonly userInteractive: Readonly<{
|
|
139
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
140
|
+
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
141
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
142
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
143
|
+
readonly marginInline: stylex.StyleXClassNameFor<"marginInline", `calc(-1 * ${stylex.StyleXVar<string>})`>;
|
|
144
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, transform">;
|
|
145
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
146
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
147
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
148
|
+
}>;
|
|
149
|
+
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
150
|
+
readonly transform: "scale(0.98)";
|
|
151
|
+
}>;
|
|
152
|
+
}>;
|
|
153
|
+
readonly userCollapsed: Readonly<{
|
|
154
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
155
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", 0>;
|
|
156
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
157
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 0>;
|
|
158
|
+
readonly marginInline: stylex.StyleXClassNameFor<"marginInline", 0>;
|
|
159
|
+
}>;
|
|
160
|
+
readonly userDense: Readonly<{
|
|
161
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
162
|
+
}>;
|
|
163
|
+
readonly userAvatarWrapper: Readonly<{
|
|
164
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
165
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
166
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
167
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
168
|
+
}>;
|
|
169
|
+
readonly userInfo: Readonly<{
|
|
170
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
171
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
172
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
173
|
+
readonly flex: stylex.StyleXClassNameFor<"flex", 1>;
|
|
174
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
175
|
+
}>;
|
|
176
|
+
readonly userName: Readonly<{
|
|
177
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
178
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
179
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
180
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
181
|
+
readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
182
|
+
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
183
|
+
}>;
|
|
184
|
+
readonly userDescription: Readonly<{
|
|
185
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
186
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
187
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
188
|
+
readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
189
|
+
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
190
|
+
readonly marginTop: stylex.StyleXClassNameFor<"marginTop", "2px">;
|
|
191
|
+
}>;
|
|
192
|
+
readonly userAction: Readonly<{
|
|
193
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
194
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
195
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
196
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
197
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
198
|
+
}>;
|
|
199
|
+
readonly brand: Readonly<{
|
|
200
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
201
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
202
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
203
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
204
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
205
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
206
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
207
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
208
|
+
readonly textDecoration: stylex.StyleXClassNameFor<"textDecoration", "none">;
|
|
209
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
210
|
+
}>;
|
|
211
|
+
readonly brandInteractive: Readonly<{
|
|
212
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
213
|
+
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
214
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
215
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
216
|
+
readonly marginInline: stylex.StyleXClassNameFor<"marginInline", `calc(-1 * ${stylex.StyleXVar<string>})`>;
|
|
217
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, transform">;
|
|
218
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
219
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
220
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
221
|
+
}>;
|
|
222
|
+
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
223
|
+
readonly transform: "scale(0.98)";
|
|
224
|
+
}>;
|
|
225
|
+
}>;
|
|
226
|
+
readonly brandCollapsed: Readonly<{
|
|
227
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
228
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", 0>;
|
|
229
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
230
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 0>;
|
|
231
|
+
readonly marginInline: stylex.StyleXClassNameFor<"marginInline", 0>;
|
|
232
|
+
}>;
|
|
233
|
+
readonly brandDense: Readonly<{
|
|
234
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
235
|
+
}>;
|
|
236
|
+
readonly brandLogoWrapper: Readonly<{
|
|
237
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
238
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
239
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
240
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
241
|
+
}>;
|
|
242
|
+
readonly brandInfo: Readonly<{
|
|
243
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
244
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
245
|
+
readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
|
|
246
|
+
readonly flex: stylex.StyleXClassNameFor<"flex", 1>;
|
|
247
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
248
|
+
}>;
|
|
249
|
+
readonly brandTitle: Readonly<{
|
|
250
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
251
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
252
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
253
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
254
|
+
readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
255
|
+
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
256
|
+
}>;
|
|
257
|
+
readonly brandSubtitle: Readonly<{
|
|
258
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
259
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
260
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
261
|
+
readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
262
|
+
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
263
|
+
readonly marginTop: stylex.StyleXClassNameFor<"marginTop", "2px">;
|
|
119
264
|
}>;
|
|
120
265
|
readonly group: Readonly<{
|
|
121
266
|
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
@@ -346,7 +491,8 @@ export declare const styles: Readonly<{
|
|
|
346
491
|
readonly insetBlockEnd: stylex.StyleXClassNameFor<"insetBlockEnd", "auto">;
|
|
347
492
|
readonly insetInlineEnd: stylex.StyleXClassNameFor<"insetInlineEnd", "auto">;
|
|
348
493
|
readonly alignSelf: stylex.StyleXClassNameFor<"alignSelf", "center">;
|
|
349
|
-
readonly
|
|
494
|
+
readonly marginBlockStart: stylex.StyleXClassNameFor<"marginBlockStart", string>;
|
|
495
|
+
readonly marginBlockEnd: stylex.StyleXClassNameFor<"marginBlockEnd", string>;
|
|
350
496
|
}>;
|
|
351
497
|
readonly layout: Readonly<{
|
|
352
498
|
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { SidebarAsideProps, SidebarDividerProps, SidebarFooterProps, SidebarGroupProps, SidebarHeaderProps, SidebarItemProps, SidebarMainProps, SidebarProps, } from './Sidebar';
|
|
2
|
-
export { Sidebar, SidebarAside, SidebarDivider, SidebarFooter, SidebarGroup, SidebarHeader, SidebarItem, SidebarMain, } from './Sidebar';
|
|
1
|
+
export type { SidebarAsideProps, SidebarBrandProps, SidebarDividerProps, SidebarFooterProps, SidebarGroupProps, SidebarHeaderProps, SidebarItemProps, SidebarMainProps, SidebarProps, SidebarUserProps, } from './Sidebar';
|
|
2
|
+
export { Sidebar, SidebarAside, SidebarBrand, SidebarDivider, SidebarFooter, SidebarGroup, SidebarHeader, SidebarItem, SidebarMain, SidebarUser, useSidebar, } from './Sidebar';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { TableBodyProps, TableCaptionProps, TableCellProps, TableEmptyProps, TableFooterProps,
|
|
1
|
+
export type { TableBodyProps, TableCaptionProps, TableCellProps, TableEmptyProps, TableFooterProps, TableHeaderProps, TableHeadProps, TableProps, TableRowProps, TableSkeletonProps, } from './Table';
|
|
2
2
|
export { Table, TableBody, TableCaption, TableCell, TableEmpty, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, } from './Table';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const version = "2026.08.
|
|
1
|
+
export declare const version = "2026.08.27";
|
|
2
2
|
export { Alert } from './components/Alert';
|
|
3
3
|
export type { AlertProps, AlertVariant } from './components/Alert/Alert';
|
|
4
4
|
export { AlertDialog, AlertDialogBody, AlertDialogFooter, AlertDialogHeader, } from './components/AlertDialog';
|
|
@@ -23,6 +23,8 @@ export type { CardBodyProps, CardFooterProps, CardHeaderProps, CardProps, CardVa
|
|
|
23
23
|
export { Card, CardBody, CardFooter, CardHeader } from './components/Card';
|
|
24
24
|
export type { ChartContainerProps, LegendItem, } from './components/ChartContainer';
|
|
25
25
|
export { ChartContainer } from './components/ChartContainer';
|
|
26
|
+
export type { CustomTooltipProps } from './components/ChartTooltip';
|
|
27
|
+
export { ChartTooltip } from './components/ChartTooltip';
|
|
26
28
|
export { Checkbox } from './components/Checkbox';
|
|
27
29
|
export type { CheckboxProps } from './components/Checkbox/Checkbox';
|
|
28
30
|
export { CheckboxGroup } from './components/CheckboxGroup';
|
|
@@ -81,8 +83,8 @@ export { Select, SelectItem, SelectPopover, SelectSection, SelectValue, } from '
|
|
|
81
83
|
export type { SelectItemProps, SelectPopoverProps, SelectProps, SelectSectionProps, } from './components/Select/Select';
|
|
82
84
|
export { Separator } from './components/Separator';
|
|
83
85
|
export type { SeparatorProps } from './components/Separator/Separator';
|
|
84
|
-
export type { SidebarAsideProps, SidebarDividerProps, SidebarFooterProps, SidebarGroupProps, SidebarHeaderProps, SidebarItemProps, SidebarMainProps, SidebarProps, } from './components/Sidebar';
|
|
85
|
-
export { Sidebar, SidebarAside, SidebarDivider, SidebarFooter, SidebarGroup, SidebarHeader, SidebarItem, SidebarMain, } from './components/Sidebar';
|
|
86
|
+
export type { SidebarAsideProps, SidebarBrandProps, SidebarDividerProps, SidebarFooterProps, SidebarGroupProps, SidebarHeaderProps, SidebarItemProps, SidebarMainProps, SidebarProps, SidebarUserProps, } from './components/Sidebar';
|
|
87
|
+
export { Sidebar, SidebarAside, SidebarBrand, SidebarDivider, SidebarFooter, SidebarGroup, SidebarHeader, SidebarItem, SidebarMain, SidebarUser, useSidebar, } from './components/Sidebar';
|
|
86
88
|
export { Skeleton } from './components/Skeleton';
|
|
87
89
|
export type { SkeletonProps, SkeletonShape, SkeletonVariant, } from './components/Skeleton/Skeleton';
|
|
88
90
|
export { Slider, SliderThumb, SliderTrack } from './components/Slider';
|
|
@@ -93,7 +95,7 @@ export type { StatProps } from './components/Stat';
|
|
|
93
95
|
export { Stat } from './components/Stat';
|
|
94
96
|
export { Switch } from './components/Switch';
|
|
95
97
|
export type { SwitchProps } from './components/Switch/Switch';
|
|
96
|
-
export type { TableBodyProps, TableCaptionProps, TableCellProps, TableEmptyProps, TableFooterProps,
|
|
98
|
+
export type { TableBodyProps, TableCaptionProps, TableCellProps, TableEmptyProps, TableFooterProps, TableHeaderProps, TableHeadProps, TableProps, TableRowProps, TableSkeletonProps, } from './components/Table';
|
|
97
99
|
export { Table, TableBody, TableCaption, TableCell, TableEmpty, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, } from './components/Table';
|
|
98
100
|
export type { TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps, } from './components/Tabs';
|
|
99
101
|
export { Tab, TabList, TabPanel, TabPanels, Tabs } from './components/Tabs';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const HomeIcon: React.FC;
|
|
3
|
+
export declare const RadioIcon: React.FC;
|
|
4
|
+
export declare const ArtistIcon: React.FC;
|
|
5
|
+
export declare const AlbumIcon: React.FC;
|
|
6
|
+
export declare const FolderIcon: React.FC;
|
|
7
|
+
export declare const SongIcon: React.FC;
|
|
8
|
+
export declare const StoreIcon: React.FC;
|
|
9
|
+
export declare const DeviceIcon: React.FC;
|
|
10
|
+
export declare const PlaylistIcon: React.FC;
|
|
11
|
+
export declare const SettingsIcon: React.FC;
|
|
12
|
+
export declare const SunIcon: React.FC;
|
|
13
|
+
export declare const MoonIcon: React.FC;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface BlocksSectionProps {
|
|
3
|
+
isCollapsed: boolean;
|
|
4
|
+
onToggleCollapse: () => void;
|
|
5
|
+
isSidebarDense: boolean;
|
|
6
|
+
onToggleDense: () => void;
|
|
7
|
+
sidebarVariant: 'solid' | 'glass';
|
|
8
|
+
onToggleVariant: () => void;
|
|
9
|
+
showToggle: boolean;
|
|
10
|
+
onToggleShowToggle: () => void;
|
|
11
|
+
activeTab: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const BlocksSection: React.FC<BlocksSectionProps>;
|
|
14
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moul-dev/ui",
|
|
3
|
-
"version": "2026.08.
|
|
3
|
+
"version": "2026.08.27",
|
|
4
4
|
"description": "Accessible, zero-runtime React component library built on React Aria and StyleX",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -60,7 +60,9 @@
|
|
|
60
60
|
"dev": "vite",
|
|
61
61
|
"build": "tsc -b && vite build",
|
|
62
62
|
"build:watch": "vite build --watch",
|
|
63
|
-
"lint": "
|
|
63
|
+
"lint": "biome check",
|
|
64
|
+
"format": "biome format --write",
|
|
65
|
+
"gen:component": "bun ../scripts/gen-component.ts",
|
|
64
66
|
"preview": "vite preview",
|
|
65
67
|
"test": "vitest run"
|
|
66
68
|
},
|
|
@@ -77,7 +79,7 @@
|
|
|
77
79
|
"recharts": "^3.9.2"
|
|
78
80
|
},
|
|
79
81
|
"devDependencies": {
|
|
80
|
-
"@
|
|
82
|
+
"@biomejs/biome": "^2.5.0",
|
|
81
83
|
"@stylexjs/unplugin": "^0.19.0",
|
|
82
84
|
"@testing-library/jest-dom": "^6.6.3",
|
|
83
85
|
"@testing-library/react": "^16.1.0",
|
|
@@ -85,17 +87,12 @@
|
|
|
85
87
|
"@types/react": "^19.2.14",
|
|
86
88
|
"@types/react-dom": "^19.2.3",
|
|
87
89
|
"@vitejs/plugin-react": "^6.0.1",
|
|
88
|
-
"eslint": "^10.3.0",
|
|
89
|
-
"eslint-plugin-react-hooks": "^7.1.1",
|
|
90
|
-
"eslint-plugin-react-refresh": "^0.5.2",
|
|
91
90
|
"fast-check": "^3.23.2",
|
|
92
91
|
"glob": "^11.0.0",
|
|
93
|
-
"globals": "^17.6.0",
|
|
94
92
|
"jsdom": "^25.0.1",
|
|
95
93
|
"react": "^19.2.6",
|
|
96
94
|
"react-dom": "^19.2.6",
|
|
97
95
|
"typescript": "~6.0.2",
|
|
98
|
-
"typescript-eslint": "^8.59.2",
|
|
99
96
|
"vite": "^8.0.12",
|
|
100
97
|
"vite-plugin-dts": "^5.0.2",
|
|
101
98
|
"vitest": "^2.1.8"
|