@ark-ui/react 3.5.0 → 3.6.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.
- package/README.md +3 -0
- package/dist/components/dialog/dialog-root.d.cts +1 -1
- package/dist/components/dialog/dialog-root.d.ts +1 -1
- package/dist/components/field/use-field.cjs +91 -56
- package/dist/components/field/use-field.d.cts +7 -61
- package/dist/components/field/use-field.d.ts +7 -61
- package/dist/components/field/use-field.js +92 -57
- package/dist/components/fieldset/fieldset-context.cjs +10 -0
- package/dist/components/fieldset/fieldset-context.d.cts +7 -0
- package/dist/components/fieldset/fieldset-context.d.ts +7 -0
- package/dist/components/fieldset/fieldset-context.js +6 -0
- package/dist/components/fieldset/fieldset-error-text.cjs +21 -0
- package/dist/components/fieldset/fieldset-error-text.d.cts +8 -0
- package/dist/components/fieldset/fieldset-error-text.d.ts +8 -0
- package/dist/components/fieldset/fieldset-error-text.js +17 -0
- package/dist/components/fieldset/fieldset-helper-text.cjs +21 -0
- package/dist/components/fieldset/fieldset-helper-text.d.cts +8 -0
- package/dist/components/fieldset/fieldset-helper-text.d.ts +8 -0
- package/dist/components/fieldset/fieldset-helper-text.js +17 -0
- package/dist/components/fieldset/fieldset-legend.cjs +19 -0
- package/dist/components/fieldset/fieldset-legend.d.cts +8 -0
- package/dist/components/fieldset/fieldset-legend.d.ts +8 -0
- package/dist/components/fieldset/fieldset-legend.js +15 -0
- package/dist/components/fieldset/fieldset-root-provider.cjs +24 -0
- package/dist/components/fieldset/fieldset-root-provider.d.cts +13 -0
- package/dist/components/fieldset/fieldset-root-provider.d.ts +13 -0
- package/dist/components/fieldset/fieldset-root-provider.js +20 -0
- package/dist/components/fieldset/fieldset-root.cjs +27 -0
- package/dist/components/fieldset/fieldset-root.d.cts +9 -0
- package/dist/components/fieldset/fieldset-root.d.ts +9 -0
- package/dist/components/fieldset/fieldset-root.js +23 -0
- package/dist/components/fieldset/fieldset.anatomy.cjs +17 -0
- package/dist/components/fieldset/fieldset.anatomy.d.cts +3 -0
- package/dist/components/fieldset/fieldset.anatomy.d.ts +3 -0
- package/dist/components/fieldset/fieldset.anatomy.js +12 -0
- package/dist/components/fieldset/fieldset.cjs +19 -0
- package/dist/components/fieldset/fieldset.d.cts +6 -0
- package/dist/components/fieldset/fieldset.d.ts +6 -0
- package/dist/components/fieldset/fieldset.js +6 -0
- package/dist/components/fieldset/index.cjs +25 -0
- package/dist/components/fieldset/index.d.cts +9 -0
- package/dist/components/fieldset/index.d.ts +9 -0
- package/dist/components/fieldset/index.js +10 -0
- package/dist/components/fieldset/use-fieldset-context.cjs +16 -0
- package/dist/components/fieldset/use-fieldset-context.d.cts +6 -0
- package/dist/components/fieldset/use-fieldset-context.d.ts +6 -0
- package/dist/components/fieldset/use-fieldset-context.js +11 -0
- package/dist/components/fieldset/use-fieldset.cjs +85 -0
- package/dist/components/fieldset/use-fieldset.d.cts +29 -0
- package/dist/components/fieldset/use-fieldset.d.ts +29 -0
- package/dist/components/fieldset/use-fieldset.js +81 -0
- package/dist/components/highlight/highlight.cjs +26 -0
- package/dist/components/highlight/highlight.d.cts +8 -0
- package/dist/components/highlight/highlight.d.ts +8 -0
- package/dist/components/highlight/highlight.js +22 -0
- package/dist/components/highlight/index.cjs +11 -0
- package/dist/components/highlight/index.d.cts +2 -0
- package/dist/components/highlight/index.d.ts +2 -0
- package/dist/components/highlight/index.js +2 -0
- package/dist/components/highlight/use-highlight.cjs +49 -0
- package/dist/components/highlight/use-highlight.d.cts +30 -0
- package/dist/components/highlight/use-highlight.d.ts +30 -0
- package/dist/components/highlight/use-highlight.js +45 -0
- package/dist/components/index.cjs +54 -0
- package/dist/components/index.d.cts +3 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +29 -0
- package/dist/components/select/select-hidden-select.cjs +8 -1
- package/dist/components/select/select-hidden-select.js +8 -1
- package/dist/components/time-picker/index.cjs +39 -0
- package/dist/components/time-picker/index.d.cts +17 -0
- package/dist/components/time-picker/index.d.ts +17 -0
- package/dist/components/time-picker/index.js +17 -0
- package/dist/components/time-picker/time-picker-cell.cjs +29 -0
- package/dist/components/time-picker/time-picker-cell.d.cts +14 -0
- package/dist/components/time-picker/time-picker-cell.d.ts +14 -0
- package/dist/components/time-picker/time-picker-cell.js +25 -0
- package/dist/components/time-picker/time-picker-clear-trigger.cjs +21 -0
- package/dist/components/time-picker/time-picker-clear-trigger.d.cts +8 -0
- package/dist/components/time-picker/time-picker-clear-trigger.d.ts +8 -0
- package/dist/components/time-picker/time-picker-clear-trigger.js +17 -0
- package/dist/components/time-picker/time-picker-column.cjs +22 -0
- package/dist/components/time-picker/time-picker-column.d.cts +9 -0
- package/dist/components/time-picker/time-picker-column.d.ts +9 -0
- package/dist/components/time-picker/time-picker-column.js +18 -0
- package/dist/components/time-picker/time-picker-content.cjs +30 -0
- package/dist/components/time-picker/time-picker-content.d.cts +8 -0
- package/dist/components/time-picker/time-picker-content.d.ts +8 -0
- package/dist/components/time-picker/time-picker-content.js +26 -0
- package/dist/components/time-picker/time-picker-context.cjs +10 -0
- package/dist/components/time-picker/time-picker-context.d.cts +7 -0
- package/dist/components/time-picker/time-picker-context.d.ts +7 -0
- package/dist/components/time-picker/time-picker-context.js +6 -0
- package/dist/components/time-picker/time-picker-control.cjs +21 -0
- package/dist/components/time-picker/time-picker-control.d.cts +8 -0
- package/dist/components/time-picker/time-picker-control.d.ts +8 -0
- package/dist/components/time-picker/time-picker-control.js +17 -0
- package/dist/components/time-picker/time-picker-input.cjs +19 -0
- package/dist/components/time-picker/time-picker-input.d.cts +8 -0
- package/dist/components/time-picker/time-picker-input.d.ts +8 -0
- package/dist/components/time-picker/time-picker-input.js +15 -0
- package/dist/components/time-picker/time-picker-label.cjs +19 -0
- package/dist/components/time-picker/time-picker-label.d.cts +8 -0
- package/dist/components/time-picker/time-picker-label.d.ts +8 -0
- package/dist/components/time-picker/time-picker-label.js +15 -0
- package/dist/components/time-picker/time-picker-positioner.cjs +26 -0
- package/dist/components/time-picker/time-picker-positioner.d.cts +8 -0
- package/dist/components/time-picker/time-picker-positioner.d.ts +8 -0
- package/dist/components/time-picker/time-picker-positioner.js +22 -0
- package/dist/components/time-picker/time-picker-root-provider.cjs +30 -0
- package/dist/components/time-picker/time-picker-root-provider.d.cts +14 -0
- package/dist/components/time-picker/time-picker-root-provider.d.ts +14 -0
- package/dist/components/time-picker/time-picker-root-provider.js +26 -0
- package/dist/components/time-picker/time-picker-root.cjs +48 -0
- package/dist/components/time-picker/time-picker-root.d.cts +11 -0
- package/dist/components/time-picker/time-picker-root.d.ts +11 -0
- package/dist/components/time-picker/time-picker-root.js +44 -0
- package/dist/components/time-picker/time-picker-spacer.cjs +19 -0
- package/dist/components/time-picker/time-picker-spacer.d.cts +8 -0
- package/dist/components/time-picker/time-picker-spacer.d.ts +8 -0
- package/dist/components/time-picker/time-picker-spacer.js +15 -0
- package/dist/components/time-picker/time-picker-trigger.cjs +21 -0
- package/dist/components/time-picker/time-picker-trigger.d.cts +8 -0
- package/dist/components/time-picker/time-picker-trigger.d.ts +8 -0
- package/dist/components/time-picker/time-picker-trigger.js +17 -0
- package/dist/components/time-picker/time-picker.cjs +33 -0
- package/dist/components/time-picker/time-picker.d.cts +14 -0
- package/dist/components/time-picker/time-picker.d.ts +14 -0
- package/dist/components/time-picker/time-picker.js +13 -0
- package/dist/components/time-picker/use-time-picker-column-props-context.cjs +15 -0
- package/dist/components/time-picker/use-time-picker-column-props-context.d.cts +7 -0
- package/dist/components/time-picker/use-time-picker-column-props-context.d.ts +7 -0
- package/dist/components/time-picker/use-time-picker-column-props-context.js +10 -0
- package/dist/components/time-picker/use-time-picker-context.cjs +15 -0
- package/dist/components/time-picker/use-time-picker-context.d.cts +6 -0
- package/dist/components/time-picker/use-time-picker-context.d.ts +6 -0
- package/dist/components/time-picker/use-time-picker-context.js +10 -0
- package/dist/components/time-picker/use-time-picker.cjs +60 -0
- package/dist/components/time-picker/use-time-picker.d.cts +31 -0
- package/dist/components/time-picker/use-time-picker.d.ts +31 -0
- package/dist/components/time-picker/use-time-picker.js +37 -0
- package/dist/components/toast/index.d.cts +1 -1
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/index.cjs +54 -0
- package/dist/index.js +29 -0
- package/dist/node_modules/@internationalized/date/dist/CalendarDate.cjs +52 -0
- package/dist/node_modules/@internationalized/date/dist/CalendarDate.js +48 -0
- package/dist/node_modules/@internationalized/date/dist/manipulation.cjs +108 -0
- package/dist/node_modules/@internationalized/date/dist/manipulation.js +99 -0
- package/dist/node_modules/@internationalized/date/dist/queries.cjs +13 -0
- package/dist/node_modules/@internationalized/date/dist/queries.js +9 -0
- package/dist/node_modules/@internationalized/date/dist/string.cjs +38 -0
- package/dist/node_modules/@internationalized/date/dist/string.js +33 -0
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs +13 -0
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +8 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs +14 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.js +9 -0
- package/package.json +97 -60
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark-ui/react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.1",
|
|
4
4
|
"description": "A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accordion",
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
"date picker",
|
|
15
15
|
"dialog",
|
|
16
16
|
"editable",
|
|
17
|
+
"field",
|
|
18
|
+
"fieldset",
|
|
17
19
|
"file upload",
|
|
18
20
|
"hover card",
|
|
19
21
|
"menu",
|
|
@@ -33,6 +35,7 @@
|
|
|
33
35
|
"switch",
|
|
34
36
|
"tabs",
|
|
35
37
|
"tags input",
|
|
38
|
+
"time picker",
|
|
36
39
|
"toast",
|
|
37
40
|
"toggle group",
|
|
38
41
|
"tooltip",
|
|
@@ -210,6 +213,17 @@
|
|
|
210
213
|
"default": "./dist/components/field/index.cjs"
|
|
211
214
|
}
|
|
212
215
|
},
|
|
216
|
+
"./fieldset": {
|
|
217
|
+
"source": "./src/components/fieldset/index.ts",
|
|
218
|
+
"import": {
|
|
219
|
+
"types": "./dist/components/fieldset/index.d.ts",
|
|
220
|
+
"default": "./dist/components/fieldset/index.js"
|
|
221
|
+
},
|
|
222
|
+
"require": {
|
|
223
|
+
"types": "./dist/components/fieldset/index.d.cts",
|
|
224
|
+
"default": "./dist/components/fieldset/index.cjs"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
213
227
|
"./file-upload": {
|
|
214
228
|
"source": "./src/components/file-upload/index.ts",
|
|
215
229
|
"import": {
|
|
@@ -232,6 +246,17 @@
|
|
|
232
246
|
"default": "./dist/components/format/index.cjs"
|
|
233
247
|
}
|
|
234
248
|
},
|
|
249
|
+
"./highlight": {
|
|
250
|
+
"source": "./src/components/highlight/index.ts",
|
|
251
|
+
"import": {
|
|
252
|
+
"types": "./dist/components/highlight/index.d.ts",
|
|
253
|
+
"default": "./dist/components/highlight/index.js"
|
|
254
|
+
},
|
|
255
|
+
"require": {
|
|
256
|
+
"types": "./dist/components/highlight/index.d.cts",
|
|
257
|
+
"default": "./dist/components/highlight/index.cjs"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
235
260
|
"./hover-card": {
|
|
236
261
|
"source": "./src/components/hover-card/index.ts",
|
|
237
262
|
"import": {
|
|
@@ -452,6 +477,17 @@
|
|
|
452
477
|
"default": "./dist/components/tags-input/index.cjs"
|
|
453
478
|
}
|
|
454
479
|
},
|
|
480
|
+
"./time-picker": {
|
|
481
|
+
"source": "./src/components/time-picker/index.ts",
|
|
482
|
+
"import": {
|
|
483
|
+
"types": "./dist/components/time-picker/index.d.ts",
|
|
484
|
+
"default": "./dist/components/time-picker/index.js"
|
|
485
|
+
},
|
|
486
|
+
"require": {
|
|
487
|
+
"types": "./dist/components/time-picker/index.d.cts",
|
|
488
|
+
"default": "./dist/components/time-picker/index.cjs"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
455
491
|
"./toast": {
|
|
456
492
|
"source": "./src/components/toast/index.ts",
|
|
457
493
|
"import": {
|
|
@@ -533,79 +569,80 @@
|
|
|
533
569
|
},
|
|
534
570
|
"sideEffects": false,
|
|
535
571
|
"dependencies": {
|
|
536
|
-
"@zag-js/accordion": "0.
|
|
537
|
-
"@zag-js/anatomy": "0.
|
|
538
|
-
"@zag-js/avatar": "0.
|
|
539
|
-
"@zag-js/carousel": "0.
|
|
540
|
-
"@zag-js/checkbox": "0.
|
|
541
|
-
"@zag-js/clipboard": "0.
|
|
542
|
-
"@zag-js/collapsible": "0.
|
|
543
|
-
"@zag-js/color-picker": "0.
|
|
544
|
-
"@zag-js/color-utils": "0.
|
|
545
|
-
"@zag-js/combobox": "0.
|
|
546
|
-
"@zag-js/core": "0.
|
|
547
|
-
"@zag-js/date-picker": "0.
|
|
548
|
-
"@zag-js/date-utils": "0.
|
|
549
|
-
"@zag-js/
|
|
550
|
-
"@zag-js/
|
|
551
|
-
"@zag-js/editable": "0.
|
|
552
|
-
"@zag-js/file-upload": "0.
|
|
553
|
-
"@zag-js/file-utils": "0.
|
|
554
|
-
"@zag-js/hover-card": "0.
|
|
555
|
-
"@zag-js/i18n-utils": "0.
|
|
556
|
-
"@zag-js/menu": "0.
|
|
557
|
-
"@zag-js/number-input": "0.
|
|
558
|
-
"@zag-js/pagination": "0.
|
|
559
|
-
"@zag-js/pin-input": "0.
|
|
560
|
-
"@zag-js/popover": "0.
|
|
561
|
-
"@zag-js/presence": "0.
|
|
562
|
-
"@zag-js/progress": "0.
|
|
563
|
-
"@zag-js/qr-code": "0.
|
|
564
|
-
"@zag-js/radio-group": "0.
|
|
565
|
-
"@zag-js/rating-group": "0.
|
|
566
|
-
"@zag-js/react": "0.
|
|
567
|
-
"@zag-js/select": "0.
|
|
568
|
-
"@zag-js/signature-pad": "0.
|
|
569
|
-
"@zag-js/slider": "0.
|
|
570
|
-
"@zag-js/splitter": "0.
|
|
571
|
-
"@zag-js/switch": "0.
|
|
572
|
-
"@zag-js/tabs": "0.
|
|
573
|
-
"@zag-js/tags-input": "0.
|
|
574
|
-
"@zag-js/
|
|
575
|
-
"@zag-js/
|
|
576
|
-
"@zag-js/
|
|
577
|
-
"@zag-js/
|
|
578
|
-
"@zag-js/
|
|
572
|
+
"@zag-js/accordion": "0.62.1",
|
|
573
|
+
"@zag-js/anatomy": "0.62.1",
|
|
574
|
+
"@zag-js/avatar": "0.62.1",
|
|
575
|
+
"@zag-js/carousel": "0.62.1",
|
|
576
|
+
"@zag-js/checkbox": "0.62.1",
|
|
577
|
+
"@zag-js/clipboard": "0.62.1",
|
|
578
|
+
"@zag-js/collapsible": "0.62.1",
|
|
579
|
+
"@zag-js/color-picker": "0.62.1",
|
|
580
|
+
"@zag-js/color-utils": "0.62.1",
|
|
581
|
+
"@zag-js/combobox": "0.62.1",
|
|
582
|
+
"@zag-js/core": "0.62.1",
|
|
583
|
+
"@zag-js/date-picker": "0.62.1",
|
|
584
|
+
"@zag-js/date-utils": "0.62.1",
|
|
585
|
+
"@zag-js/dialog": "0.62.1",
|
|
586
|
+
"@zag-js/dom-query": "0.62.1",
|
|
587
|
+
"@zag-js/editable": "0.62.1",
|
|
588
|
+
"@zag-js/file-upload": "0.62.1",
|
|
589
|
+
"@zag-js/file-utils": "0.62.1",
|
|
590
|
+
"@zag-js/hover-card": "0.62.1",
|
|
591
|
+
"@zag-js/i18n-utils": "0.62.1",
|
|
592
|
+
"@zag-js/menu": "0.62.1",
|
|
593
|
+
"@zag-js/number-input": "0.62.1",
|
|
594
|
+
"@zag-js/pagination": "0.62.1",
|
|
595
|
+
"@zag-js/pin-input": "0.62.1",
|
|
596
|
+
"@zag-js/popover": "0.62.1",
|
|
597
|
+
"@zag-js/presence": "0.62.1",
|
|
598
|
+
"@zag-js/progress": "0.62.1",
|
|
599
|
+
"@zag-js/qr-code": "0.62.1",
|
|
600
|
+
"@zag-js/radio-group": "0.62.1",
|
|
601
|
+
"@zag-js/rating-group": "0.62.1",
|
|
602
|
+
"@zag-js/react": "0.62.1",
|
|
603
|
+
"@zag-js/select": "0.62.1",
|
|
604
|
+
"@zag-js/signature-pad": "0.62.1",
|
|
605
|
+
"@zag-js/slider": "0.62.1",
|
|
606
|
+
"@zag-js/splitter": "0.62.1",
|
|
607
|
+
"@zag-js/switch": "0.62.1",
|
|
608
|
+
"@zag-js/tabs": "0.62.1",
|
|
609
|
+
"@zag-js/tags-input": "0.62.1",
|
|
610
|
+
"@zag-js/time-picker": "0.62.1",
|
|
611
|
+
"@zag-js/toast": "0.62.1",
|
|
612
|
+
"@zag-js/toggle-group": "0.62.1",
|
|
613
|
+
"@zag-js/tooltip": "0.62.1",
|
|
614
|
+
"@zag-js/tree-view": "0.62.1",
|
|
615
|
+
"@zag-js/types": "0.62.1"
|
|
579
616
|
},
|
|
580
617
|
"devDependencies": {
|
|
581
|
-
"@biomejs/biome": "1.8.
|
|
618
|
+
"@biomejs/biome": "1.8.3",
|
|
582
619
|
"@release-it/keep-a-changelog": "5.0.0",
|
|
583
|
-
"@storybook/addon-a11y": "8.
|
|
584
|
-
"@storybook/addon-essentials": "8.
|
|
585
|
-
"@storybook/react-vite": "8.
|
|
586
|
-
"@storybook/react": "8.
|
|
587
|
-
"@testing-library/dom": "10.
|
|
588
|
-
"@testing-library/jest-dom": "6.4.
|
|
620
|
+
"@storybook/addon-a11y": "8.2.6",
|
|
621
|
+
"@storybook/addon-essentials": "8.2.6",
|
|
622
|
+
"@storybook/react-vite": "8.2.6",
|
|
623
|
+
"@storybook/react": "8.2.6",
|
|
624
|
+
"@testing-library/dom": "10.4.0",
|
|
625
|
+
"@testing-library/jest-dom": "6.4.8",
|
|
589
626
|
"@testing-library/react": "16.0.0",
|
|
590
627
|
"@testing-library/user-event": "14.5.2",
|
|
591
628
|
"@types/jsdom": "21.1.7",
|
|
592
629
|
"@types/react": "18.3.3",
|
|
593
630
|
"@types/react-dom": "18.3.0",
|
|
594
631
|
"@vitejs/plugin-react": "4.3.1",
|
|
595
|
-
"globby": "14.0.
|
|
596
|
-
"jsdom": "24.1.
|
|
597
|
-
"lucide-react": "0.
|
|
632
|
+
"globby": "14.0.2",
|
|
633
|
+
"jsdom": "24.1.1",
|
|
634
|
+
"lucide-react": "0.414.0",
|
|
598
635
|
"react": "18.3.1",
|
|
599
636
|
"react-dom": "18.3.1",
|
|
600
637
|
"react-frame-component": "5.2.7",
|
|
601
|
-
"react-hook-form": "7.52.
|
|
602
|
-
"release-it": "17.
|
|
638
|
+
"react-hook-form": "7.52.1",
|
|
639
|
+
"release-it": "17.6.0",
|
|
603
640
|
"resize-observer-polyfill": "1.5.1",
|
|
604
|
-
"storybook": "8.
|
|
605
|
-
"typescript": "5.5.
|
|
606
|
-
"vite": "5.3.
|
|
641
|
+
"storybook": "8.2.6",
|
|
642
|
+
"typescript": "5.5.4",
|
|
643
|
+
"vite": "5.3.4",
|
|
607
644
|
"vite-plugin-dts": "3.9.1",
|
|
608
|
-
"vitest": "
|
|
645
|
+
"vitest": "2.0.4",
|
|
609
646
|
"vitest-axe": "1.0.0-pre.3"
|
|
610
647
|
},
|
|
611
648
|
"peerDependencies": {
|