moduix 0.5.0

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 (97) hide show
  1. package/README.md +75 -0
  2. package/dist/components/Accordion/Accordion.d.ts +19 -0
  3. package/dist/components/Accordion/index.d.ts +2 -0
  4. package/dist/components/AlertDialog/AlertDialog.d.ts +31 -0
  5. package/dist/components/AlertDialog/index.d.ts +2 -0
  6. package/dist/components/Autocomplete/Autocomplete.d.ts +43 -0
  7. package/dist/components/Autocomplete/index.d.ts +2 -0
  8. package/dist/components/Avatar/Avatar.d.ts +12 -0
  9. package/dist/components/Avatar/index.d.ts +2 -0
  10. package/dist/components/Bleed/Bleed.d.ts +12 -0
  11. package/dist/components/Bleed/index.d.ts +1 -0
  12. package/dist/components/Button/Button.d.ts +17 -0
  13. package/dist/components/Button/index.d.ts +2 -0
  14. package/dist/components/Checkbox/Checkbox.d.ts +20 -0
  15. package/dist/components/Checkbox/index.d.ts +2 -0
  16. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +20 -0
  17. package/dist/components/CheckboxGroup/index.d.ts +2 -0
  18. package/dist/components/Collapsible/Collapsible.d.ts +16 -0
  19. package/dist/components/Collapsible/index.d.ts +2 -0
  20. package/dist/components/Combobox/Combobox.d.ts +53 -0
  21. package/dist/components/Combobox/index.d.ts +2 -0
  22. package/dist/components/ContextMenu/ContextMenu.d.ts +66 -0
  23. package/dist/components/ContextMenu/index.d.ts +2 -0
  24. package/dist/components/Dialog/Dialog.d.ts +29 -0
  25. package/dist/components/Dialog/index.d.ts +2 -0
  26. package/dist/components/Drawer/Drawer.d.ts +47 -0
  27. package/dist/components/Drawer/index.d.ts +2 -0
  28. package/dist/components/Field/Field.d.ts +17 -0
  29. package/dist/components/Field/index.d.ts +2 -0
  30. package/dist/components/Fieldset/Fieldset.d.ts +7 -0
  31. package/dist/components/Fieldset/index.d.ts +2 -0
  32. package/dist/components/Form/Form.d.ts +11 -0
  33. package/dist/components/Form/index.d.ts +2 -0
  34. package/dist/components/Heading/Heading.d.ts +13 -0
  35. package/dist/components/Heading/index.d.ts +1 -0
  36. package/dist/components/Input/Input.d.ts +9 -0
  37. package/dist/components/Input/index.d.ts +2 -0
  38. package/dist/components/List/List.d.ts +18 -0
  39. package/dist/components/List/index.d.ts +1 -0
  40. package/dist/components/Menu/Menu.d.ts +55 -0
  41. package/dist/components/Menu/index.d.ts +2 -0
  42. package/dist/components/Menubar/Menubar.d.ts +73 -0
  43. package/dist/components/Menubar/index.d.ts +2 -0
  44. package/dist/components/Meter/Meter.d.ts +13 -0
  45. package/dist/components/Meter/index.d.ts +2 -0
  46. package/dist/components/NavigationMenu/NavigationMenu.d.ts +54 -0
  47. package/dist/components/NavigationMenu/index.d.ts +2 -0
  48. package/dist/components/NumberField/NumberField.d.ts +17 -0
  49. package/dist/components/NumberField/index.d.ts +2 -0
  50. package/dist/components/OTPField/OTPField.d.ts +9 -0
  51. package/dist/components/OTPField/index.d.ts +2 -0
  52. package/dist/components/Popover/Popover.d.ts +48 -0
  53. package/dist/components/Popover/index.d.ts +2 -0
  54. package/dist/components/PreviewCard/PreviewCard.d.ts +36 -0
  55. package/dist/components/PreviewCard/index.d.ts +2 -0
  56. package/dist/components/Progress/Progress.d.ts +13 -0
  57. package/dist/components/Progress/index.d.ts +2 -0
  58. package/dist/components/Radio/Radio.d.ts +33 -0
  59. package/dist/components/Radio/index.d.ts +2 -0
  60. package/dist/components/ScrollArea/ScrollArea.d.ts +15 -0
  61. package/dist/components/ScrollArea/index.d.ts +2 -0
  62. package/dist/components/Select/Select.d.ts +63 -0
  63. package/dist/components/Select/index.d.ts +2 -0
  64. package/dist/components/Separator/Separator.d.ts +5 -0
  65. package/dist/components/Separator/index.d.ts +2 -0
  66. package/dist/components/Skeleton/Skeleton.d.ts +34 -0
  67. package/dist/components/Skeleton/index.d.ts +1 -0
  68. package/dist/components/Slider/Slider.d.ts +18 -0
  69. package/dist/components/Slider/index.d.ts +2 -0
  70. package/dist/components/Switch/Switch.d.ts +13 -0
  71. package/dist/components/Switch/index.d.ts +2 -0
  72. package/dist/components/Tabs/Tabs.d.ts +25 -0
  73. package/dist/components/Tabs/index.d.ts +2 -0
  74. package/dist/components/Text/Text.d.ts +15 -0
  75. package/dist/components/Text/index.d.ts +1 -0
  76. package/dist/components/Toast/Toast.d.ts +65 -0
  77. package/dist/components/Toast/index.d.ts +2 -0
  78. package/dist/components/Toggle/Toggle.d.ts +13 -0
  79. package/dist/components/Toggle/index.d.ts +2 -0
  80. package/dist/components/ToggleGroup/ToggleGroup.d.ts +17 -0
  81. package/dist/components/ToggleGroup/index.d.ts +2 -0
  82. package/dist/components/Toolbar/Toolbar.d.ts +20 -0
  83. package/dist/components/Toolbar/index.d.ts +2 -0
  84. package/dist/components/Tooltip/Tooltip.d.ts +33 -0
  85. package/dist/components/Tooltip/index.d.ts +2 -0
  86. package/dist/index.cjs +1 -0
  87. package/dist/index.css +1 -0
  88. package/dist/index.d.ts +43 -0
  89. package/dist/index.js +4439 -0
  90. package/dist/primitives/CloseButton/CloseButton.d.ts +12 -0
  91. package/dist/primitives/CloseButton/index.d.ts +1 -0
  92. package/dist/primitives/Icons/Icons.d.ts +35 -0
  93. package/dist/primitives/Icons/index.d.ts +1 -0
  94. package/dist/primitives/index.d.ts +2 -0
  95. package/dist/reset.css +334 -0
  96. package/dist/utils/mergeClassName.d.ts +4 -0
  97. package/package.json +68 -0
@@ -0,0 +1,12 @@
1
+ import { ComponentProps } from 'react';
2
+ export type CloseButtonProps = ComponentProps<'button'>;
3
+ /**
4
+ * Примитивная кнопка закрытия (крестик).
5
+ * Используется внутри Dialog, AlertDialog, Drawer, Popover и т.д.
6
+ *
7
+ * Не привязана к конкретному base-ui компоненту — оборачивайте
8
+ * через `render` проп или используйте как children.
9
+ */
10
+ declare function CloseButton({ className, children, ...props }: CloseButtonProps): import("react/jsx-runtime").JSX.Element;
11
+ declare function CloseIcon(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
12
+ export { CloseButton, CloseIcon };
@@ -0,0 +1 @@
1
+ export { CloseButton, CloseIcon, type CloseButtonProps } from './CloseButton';
@@ -0,0 +1,35 @@
1
+ import { ComponentProps } from 'react';
2
+ type IconProps = ComponentProps<'svg'>;
3
+ type PopupArrowIconProps = IconProps & {
4
+ fillClassName?: string;
5
+ outerStrokeClassName?: string;
6
+ innerStrokeClassName?: string;
7
+ };
8
+ export declare function HandshakeIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function PresentIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function MapIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function ShareIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function ComputerIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function TagIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function InfoIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function ChevronRightIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function ChevronRightLargeIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function ChevronDownIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function ChevronUpIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function ChevronUpDownIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function ChevronDownSmallIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function CheckSmallIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
22
+ export declare function CheckFilledIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function CloseLineIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function IndeterminateIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function PlusSmallIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
26
+ export declare function MinusIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
27
+ export declare function PlusFilledIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function PopupArrowIcon({ fillClassName, outerStrokeClassName, innerStrokeClassName, ...props }: PopupArrowIconProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function BellIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
30
+ export declare function PlusIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare function ArrowUpRightIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
32
+ export declare function StarIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
33
+ export declare function SeparatorMarkIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
34
+ export declare function ScrubCursorIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
35
+ export {};
@@ -0,0 +1 @@
1
+ export { HandshakeIcon, PresentIcon, MapIcon, ShareIcon, ComputerIcon, TagIcon, InfoIcon, ChevronRightIcon, ChevronRightLargeIcon, ChevronDownIcon, ChevronUpIcon, ChevronUpDownIcon, ChevronDownSmallIcon, CheckSmallIcon, CheckFilledIcon, CloseLineIcon, IndeterminateIcon, PlusSmallIcon, MinusIcon, PlusFilledIcon, PopupArrowIcon, BellIcon, PlusIcon, ArrowUpRightIcon, StarIcon, SeparatorMarkIcon, ScrubCursorIcon, } from './Icons';
@@ -0,0 +1,2 @@
1
+ export * from './CloseButton';
2
+ export * from './Icons';
package/dist/reset.css ADDED
@@ -0,0 +1,334 @@
1
+ @layer ui.reset {
2
+ /*
3
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
4
+ 2. Remove default margins and padding
5
+ 3. Reset all borders.
6
+ */
7
+ *,
8
+ ::after,
9
+ ::before,
10
+ ::backdrop,
11
+ ::file-selector-button {
12
+ box-sizing: border-box; /* 1 */
13
+ margin: 0; /* 2 */
14
+ padding: 0; /* 2 */
15
+ border: 0 solid; /* 3 */
16
+ }
17
+
18
+ /*
19
+ 1. Use a consistent sensible line-height in all browsers.
20
+ 2. Prevent adjustments of font size after orientation changes in iOS.
21
+ 3. Use a more readable tab size.
22
+ 4. Use the user's configured `sans` font-family by default.
23
+ 5. Use the user's configured `sans` font-feature-settings by default.
24
+ 6. Use the user's configured `sans` font-variation-settings by default.
25
+ 7. Disable tap highlights on iOS.
26
+ */
27
+ html,
28
+ :host {
29
+ line-height: 1.5; /* 1 */
30
+ -webkit-text-size-adjust: 100%; /* 2 */
31
+ tab-size: 4; /* 3 */
32
+ font-family:
33
+ ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
34
+ 'Segoe UI Symbol', 'Noto Color Emoji'; /* 4 */
35
+ font-feature-settings: normal; /* 5 */
36
+ font-variation-settings: normal; /* 6 */
37
+ -webkit-tap-highlight-color: transparent; /* 7 */
38
+ }
39
+
40
+ /*
41
+ 1. Add the correct height in Firefox.
42
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
43
+ 3. Reset the default border style to a 1px solid border.
44
+ */
45
+ hr {
46
+ height: 0; /* 1 */
47
+ color: inherit; /* 2 */
48
+ border-top-width: 1px; /* 3 */
49
+ }
50
+
51
+ /*
52
+ Add the correct text decoration in Chrome, Edge, and Safari.
53
+ */
54
+ abbr:where([title]) {
55
+ -webkit-text-decoration: underline dotted;
56
+ text-decoration: underline dotted;
57
+ }
58
+
59
+ /*
60
+ Remove the default font size and weight for headings.
61
+ */
62
+ h1,
63
+ h2,
64
+ h3,
65
+ h4,
66
+ h5,
67
+ h6 {
68
+ font-size: inherit;
69
+ font-weight: inherit;
70
+ }
71
+
72
+ /*
73
+ Reset links to optimize for opt-in styling instead of opt-out.
74
+ */
75
+ a {
76
+ color: inherit;
77
+ -webkit-text-decoration: inherit;
78
+ text-decoration: inherit;
79
+ }
80
+
81
+ /*
82
+ Add the correct font weight in Edge and Safari.
83
+ */
84
+ b,
85
+ strong {
86
+ font-weight: bolder;
87
+ }
88
+
89
+ /*
90
+ 1. Use the user's configured `mono` font-family by default.
91
+ 2. Use the user's configured `mono` font-feature-settings by default.
92
+ 3. Use the user's configured `mono` font-variation-settings by default.
93
+ 4. Correct the odd `em` font sizing in all browsers.
94
+ */
95
+ code,
96
+ kbd,
97
+ samp,
98
+ pre {
99
+ font-family:
100
+ ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
101
+ monospace; /* 1 */
102
+ font-feature-settings: normal; /* 2 */
103
+ font-variation-settings: normal; /* 3 */
104
+ font-size: 1em; /* 4 */
105
+ }
106
+
107
+ /*
108
+ Add the correct font size in all browsers.
109
+ */
110
+ small {
111
+ font-size: 80%;
112
+ }
113
+
114
+ /*
115
+ Prevent `sub` and `sup` elements from affecting the line height in all browsers.
116
+ */
117
+ sub,
118
+ sup {
119
+ font-size: 75%;
120
+ line-height: 0;
121
+ position: relative;
122
+ vertical-align: baseline;
123
+ }
124
+
125
+ sub {
126
+ bottom: -0.25em;
127
+ }
128
+
129
+ sup {
130
+ top: -0.5em;
131
+ }
132
+
133
+ /*
134
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
135
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
136
+ 3. Remove gaps between table borders by default.
137
+ */
138
+ table {
139
+ text-indent: 0; /* 1 */
140
+ border-color: inherit; /* 2 */
141
+ border-collapse: collapse; /* 3 */
142
+ }
143
+
144
+ /*
145
+ Use the modern Firefox focus style for all focusable elements.
146
+ */
147
+ :-moz-focusring {
148
+ outline: auto;
149
+ }
150
+
151
+ /*
152
+ Add the correct vertical alignment in Chrome and Firefox.
153
+ */
154
+ progress {
155
+ vertical-align: baseline;
156
+ }
157
+
158
+ /*
159
+ Add the correct display in Chrome and Safari.
160
+ */
161
+ summary {
162
+ display: list-item;
163
+ }
164
+
165
+ /*
166
+ Make lists unstyled by default.
167
+ */
168
+ ol,
169
+ ul,
170
+ menu {
171
+ list-style: none;
172
+ }
173
+
174
+ /*
175
+ 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
176
+ 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
177
+ This can trigger a poorly considered lint error in some tools but is included by design.
178
+ */
179
+ img,
180
+ svg,
181
+ video,
182
+ canvas,
183
+ audio,
184
+ iframe,
185
+ embed,
186
+ object {
187
+ display: block; /* 1 */
188
+ vertical-align: middle; /* 2 */
189
+ }
190
+
191
+ /*
192
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
193
+ */
194
+ img,
195
+ video {
196
+ max-width: 100%;
197
+ height: auto;
198
+ }
199
+
200
+ /*
201
+ 1. Inherit font styles in all browsers.
202
+ 2. Remove border radius in all browsers.
203
+ 3. Remove background color in all browsers.
204
+ 4. Ensure consistent opacity for disabled states in all browsers.
205
+ */
206
+ button,
207
+ input,
208
+ select,
209
+ optgroup,
210
+ textarea,
211
+ ::file-selector-button {
212
+ font: inherit; /* 1 */
213
+ font-feature-settings: inherit; /* 1 */
214
+ font-variation-settings: inherit; /* 1 */
215
+ letter-spacing: inherit; /* 1 */
216
+ color: inherit; /* 1 */
217
+ border-radius: 0; /* 2 */
218
+ background-color: transparent; /* 3 */
219
+ opacity: 1; /* 4 */
220
+ }
221
+
222
+ /*
223
+ Restore default font weight.
224
+ */
225
+ :where(select:is([multiple], [size])) optgroup {
226
+ font-weight: bolder;
227
+ }
228
+
229
+ /*
230
+ Restore indentation.
231
+ */
232
+ :where(select:is([multiple], [size])) optgroup option {
233
+ padding-inline-start: 20px;
234
+ }
235
+
236
+ /*
237
+ Restore space after button.
238
+ */
239
+ ::file-selector-button {
240
+ margin-inline-end: 4px;
241
+ }
242
+
243
+ /*
244
+ Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
245
+ */
246
+ ::placeholder {
247
+ opacity: 1;
248
+ }
249
+
250
+ /*
251
+ Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
252
+ crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
253
+ */
254
+ @supports (contain-intrinsic-size: 1px) /* Safari 17+ */ {
255
+ ::placeholder {
256
+ color: color-mix(in oklab, currentcolor 50%, transparent);
257
+ }
258
+ }
259
+
260
+ /*
261
+ Prevent resizing textareas horizontally by default.
262
+ */
263
+ textarea {
264
+ resize: vertical;
265
+ }
266
+
267
+ /*
268
+ Remove the inner padding in Chrome and Safari on macOS.
269
+ */
270
+ ::-webkit-search-decoration {
271
+ -webkit-appearance: none;
272
+ }
273
+
274
+ /*
275
+ 1. Ensure date/time inputs have the same height when empty in iOS Safari.
276
+ 2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
277
+ */
278
+ ::-webkit-date-and-time-value {
279
+ min-height: 1lh; /* 1 */
280
+ text-align: inherit; /* 2 */
281
+ }
282
+
283
+ /*
284
+ Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
285
+ */
286
+ ::-webkit-datetime-edit-fields-wrapper {
287
+ padding: 0;
288
+ }
289
+
290
+ ::-webkit-datetime-edit-year-field,
291
+ ::-webkit-datetime-edit-month-field,
292
+ ::-webkit-datetime-edit-day-field,
293
+ ::-webkit-datetime-edit-hour-field {
294
+ padding-block: 0;
295
+ }
296
+
297
+ /*
298
+ Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
299
+ */
300
+ ::-webkit-calendar-picker-indicator {
301
+ line-height: 1;
302
+ }
303
+
304
+ /*
305
+ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
306
+ */
307
+ :-moz-ui-invalid {
308
+ box-shadow: none;
309
+ }
310
+
311
+ /*
312
+ Correct the inability to style the border radius in iOS Safari.
313
+ */
314
+ button,
315
+ input:where([type='button'], [type='reset'], [type='submit']),
316
+ ::file-selector-button {
317
+ appearance: button;
318
+ }
319
+
320
+ /*
321
+ Correct the cursor style of increment and decrement buttons in Safari.
322
+ */
323
+ ::-webkit-inner-spin-button,
324
+ ::-webkit-outer-spin-button {
325
+ height: auto;
326
+ }
327
+
328
+ /*
329
+ Make elements with the HTML hidden attribute stay hidden by default.
330
+ */
331
+ [hidden]:where(:not([hidden='until-found'])) {
332
+ display: none !important;
333
+ }
334
+ }
@@ -0,0 +1,4 @@
1
+ import { ClassValue } from 'clsx';
2
+ type StatefulClassName<TState> = ClassValue | ((state: TState) => ClassValue);
3
+ export declare function mergeClassName<TState>(className: StatefulClassName<TState>, ...baseClassNames: ClassValue[]): string | ((state: TState) => string);
4
+ export {};
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "moduix",
3
+ "version": "0.5.0",
4
+ "description": "Composable React UI components built on Base UI primitives.",
5
+ "license": "MIT",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "type": "module",
10
+ "sideEffects": [
11
+ "**/*.css"
12
+ ],
13
+ "main": "./dist/index.cjs",
14
+ "module": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js",
20
+ "require": "./dist/index.cjs"
21
+ },
22
+ "./style.css": "./dist/index.css",
23
+ "./reset.css": "./dist/reset.css",
24
+ "./package.json": "./package.json"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public"
28
+ },
29
+ "scripts": {
30
+ "dev": "storybook dev -p 6006",
31
+ "build": "tsc -b && vite build",
32
+ "preview": "vite preview",
33
+ "storybook": "storybook dev -p 6006",
34
+ "build-storybook": "storybook build",
35
+ "fmt": "oxfmt",
36
+ "fmt:check": "oxfmt --check",
37
+ "lint": "oxlint",
38
+ "lint:fix": "oxlint --fix",
39
+ "tsc:check": "tsc -b --noEmit"
40
+ },
41
+ "dependencies": {
42
+ "clsx": "^2.1.1"
43
+ },
44
+ "devDependencies": {
45
+ "@base-ui/react": "^1.4.0",
46
+ "@storybook/react-vite": "^10.3.5",
47
+ "@types/node": "^24.12.2",
48
+ "@types/react": "^19.2.14",
49
+ "@types/react-dom": "^19.2.3",
50
+ "@vitejs/plugin-react": "^6.0.1",
51
+ "globals": "^17.4.0",
52
+ "oxfmt": "^0.45.0",
53
+ "oxlint": "^1.60.0",
54
+ "react": "^18 || ^19",
55
+ "react-dom": "^18 || ^19",
56
+ "storybook": "^10.3.5",
57
+ "typescript": "~6.0.2",
58
+ "vite": "^8.0.4",
59
+ "vite-plugin-dts": "^4.5.4",
60
+ "vite-plugin-lib-inject-css": "^2.2.2",
61
+ "vite-plugin-svgr": "^5.2.0"
62
+ },
63
+ "peerDependencies": {
64
+ "@base-ui/react": "^1.4.0",
65
+ "react": "^18 || ^19",
66
+ "react-dom": "^18 || ^19"
67
+ }
68
+ }