@ark-ui/react 3.7.0 → 3.9.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 (70) hide show
  1. package/README.md +1 -0
  2. package/dist/components/editable/editable-root.cjs +3 -2
  3. package/dist/components/editable/editable-root.js +3 -2
  4. package/dist/components/editable/index.d.cts +3 -0
  5. package/dist/components/editable/index.d.ts +3 -0
  6. package/dist/components/editable/use-editable.cjs +3 -1
  7. package/dist/components/editable/use-editable.d.cts +6 -1
  8. package/dist/components/editable/use-editable.d.ts +6 -1
  9. package/dist/components/editable/use-editable.js +3 -1
  10. package/dist/components/index.cjs +52 -0
  11. package/dist/components/index.d.cts +2 -0
  12. package/dist/components/index.d.ts +2 -0
  13. package/dist/components/index.js +28 -0
  14. package/dist/components/steps/index.cjs +6 -2
  15. package/dist/components/steps/index.d.cts +3 -1
  16. package/dist/components/steps/index.d.ts +3 -1
  17. package/dist/components/steps/index.js +3 -1
  18. package/dist/components/steps/steps-item-context.cjs +13 -0
  19. package/dist/components/steps/steps-item-context.d.cts +10 -0
  20. package/dist/components/steps/steps-item-context.d.ts +10 -0
  21. package/dist/components/steps/steps-item-context.js +9 -0
  22. package/dist/components/steps/steps-item.cjs +3 -1
  23. package/dist/components/steps/steps-item.js +3 -1
  24. package/dist/components/steps/use-steps-item-context.cjs +15 -0
  25. package/dist/components/steps/use-steps-item-context.d.cts +3 -4
  26. package/dist/components/steps/use-steps-item-context.d.ts +3 -4
  27. package/dist/components/steps/use-steps-item-context.js +10 -0
  28. package/dist/components/timer/index.cjs +25 -0
  29. package/dist/components/timer/index.d.cts +9 -0
  30. package/dist/components/timer/index.d.ts +9 -0
  31. package/dist/components/timer/index.js +10 -0
  32. package/dist/components/timer/timer-action-trigger.cjs +21 -0
  33. package/dist/components/timer/timer-action-trigger.d.cts +9 -0
  34. package/dist/components/timer/timer-action-trigger.d.ts +9 -0
  35. package/dist/components/timer/timer-action-trigger.js +17 -0
  36. package/dist/components/timer/timer-context.cjs +10 -0
  37. package/dist/components/timer/timer-context.d.cts +7 -0
  38. package/dist/components/timer/timer-context.d.ts +7 -0
  39. package/dist/components/timer/timer-context.js +6 -0
  40. package/dist/components/timer/timer-item.cjs +21 -0
  41. package/dist/components/timer/timer-item.d.cts +9 -0
  42. package/dist/components/timer/timer-item.d.ts +9 -0
  43. package/dist/components/timer/timer-item.js +17 -0
  44. package/dist/components/timer/timer-root-provider.cjs +22 -0
  45. package/dist/components/timer/timer-root-provider.d.cts +13 -0
  46. package/dist/components/timer/timer-root-provider.d.ts +13 -0
  47. package/dist/components/timer/timer-root-provider.js +18 -0
  48. package/dist/components/timer/timer-root.cjs +31 -0
  49. package/dist/components/timer/timer-root.d.cts +9 -0
  50. package/dist/components/timer/timer-root.d.ts +9 -0
  51. package/dist/components/timer/timer-root.js +27 -0
  52. package/dist/components/timer/timer-separator.cjs +19 -0
  53. package/dist/components/timer/timer-separator.d.cts +8 -0
  54. package/dist/components/timer/timer-separator.d.ts +8 -0
  55. package/dist/components/timer/timer-separator.js +15 -0
  56. package/dist/components/timer/timer.cjs +19 -0
  57. package/dist/components/timer/timer.d.cts +6 -0
  58. package/dist/components/timer/timer.d.ts +6 -0
  59. package/dist/components/timer/timer.js +6 -0
  60. package/dist/components/timer/use-timer-context.cjs +15 -0
  61. package/dist/components/timer/use-timer-context.d.cts +6 -0
  62. package/dist/components/timer/use-timer-context.d.ts +6 -0
  63. package/dist/components/timer/use-timer-context.js +10 -0
  64. package/dist/components/timer/use-timer.cjs +47 -0
  65. package/dist/components/timer/use-timer.d.cts +9 -0
  66. package/dist/components/timer/use-timer.d.ts +9 -0
  67. package/dist/components/timer/use-timer.js +24 -0
  68. package/dist/index.cjs +52 -0
  69. package/dist/index.js +28 -0
  70. package/package.json +67 -54
package/dist/index.js CHANGED
@@ -463,6 +463,24 @@ export { useSplitter } from './components/splitter/use-splitter.js';
463
463
  export { useSplitterContext } from './components/splitter/use-splitter-context.js';
464
464
  import * as splitter from './components/splitter/splitter.js';
465
465
  export { splitter as Splitter };
466
+ export { StepsCompletedContent } from './components/steps/steps-completed-content.js';
467
+ export { StepsContent } from './components/steps/steps-content.js';
468
+ export { StepsIndicator } from './components/steps/steps-indicator.js';
469
+ export { StepsItem } from './components/steps/steps-item.js';
470
+ export { StepsItemContext } from './components/steps/steps-item-context.js';
471
+ export { StepsList } from './components/steps/steps-list.js';
472
+ export { StepsNextTrigger } from './components/steps/steps-next-trigger.js';
473
+ export { StepsPrevTrigger } from './components/steps/steps-prev-trigger.js';
474
+ export { StepsProgress } from './components/steps/steps-progress.js';
475
+ export { StepsRoot } from './components/steps/steps-root.js';
476
+ export { StepsRootProvider } from './components/steps/steps-root-provider.js';
477
+ export { StepsSeparator } from './components/steps/steps-separator.js';
478
+ export { StepsTrigger } from './components/steps/steps-trigger.js';
479
+ export { useSteps } from './components/steps/use-steps.js';
480
+ export { useStepsContext } from './components/steps/use-steps-context.js';
481
+ export { useStepsItemContext } from './components/steps/use-steps-item-context.js';
482
+ import * as steps from './components/steps/steps.js';
483
+ export { steps as Steps };
466
484
  export { SwitchContext } from './components/switch/switch-context.js';
467
485
  export { SwitchControl } from './components/switch/switch-control.js';
468
486
  export { SwitchHiddenInput } from './components/switch/switch-hidden-input.js';
@@ -521,6 +539,16 @@ export { useTimePicker } from './components/time-picker/use-time-picker.js';
521
539
  export { useTimePickerContext } from './components/time-picker/use-time-picker-context.js';
522
540
  import * as timePicker from './components/time-picker/time-picker.js';
523
541
  export { timePicker as TimePicker };
542
+ export { TimerContext } from './components/timer/timer-context.js';
543
+ export { TimerActionTrigger } from './components/timer/timer-action-trigger.js';
544
+ export { TimerItem } from './components/timer/timer-item.js';
545
+ export { TimerSeparator } from './components/timer/timer-separator.js';
546
+ export { TimerRoot } from './components/timer/timer-root.js';
547
+ export { TimerRootProvider } from './components/timer/timer-root-provider.js';
548
+ export { useTimer } from './components/timer/use-timer.js';
549
+ export { useTimerContext } from './components/timer/use-timer-context.js';
550
+ import * as timer from './components/timer/timer.js';
551
+ export { timer as Timer };
524
552
  export { createToaster } from './components/toast/create-toaster.js';
525
553
  export { ToastActionTrigger } from './components/toast/toast-action-trigger.js';
526
554
  export { ToastCloseTrigger } from './components/toast/toast-close-trigger.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ark-ui/react",
3
- "version": "3.7.0",
3
+ "version": "3.9.0",
4
4
  "description": "A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.",
5
5
  "keywords": [
6
6
  "accordion",
@@ -36,6 +36,7 @@
36
36
  "tabs",
37
37
  "tags input",
38
38
  "time picker",
39
+ "timer",
39
40
  "toast",
40
41
  "toggle group",
41
42
  "tooltip",
@@ -488,6 +489,17 @@
488
489
  "default": "./dist/components/tags-input/index.cjs"
489
490
  }
490
491
  },
492
+ "./timer": {
493
+ "source": "./src/components/timer/index.ts",
494
+ "import": {
495
+ "types": "./dist/components/timer/index.d.ts",
496
+ "default": "./dist/components/timer/index.js"
497
+ },
498
+ "require": {
499
+ "types": "./dist/components/timer/index.d.cts",
500
+ "default": "./dist/components/timer/index.cjs"
501
+ }
502
+ },
491
503
  "./time-picker": {
492
504
  "source": "./src/components/time-picker/index.ts",
493
505
  "import": {
@@ -581,59 +593,60 @@
581
593
  "sideEffects": false,
582
594
  "dependencies": {
583
595
  "@internationalized/date": "3.5.5",
584
- "@zag-js/accordion": "0.64.0",
585
- "@zag-js/anatomy": "0.64.0",
586
- "@zag-js/avatar": "0.64.0",
587
- "@zag-js/carousel": "0.64.0",
588
- "@zag-js/checkbox": "0.64.0",
589
- "@zag-js/clipboard": "0.64.0",
590
- "@zag-js/collapsible": "0.64.0",
591
- "@zag-js/color-picker": "0.64.0",
592
- "@zag-js/color-utils": "0.64.0",
593
- "@zag-js/combobox": "0.64.0",
594
- "@zag-js/core": "0.64.0",
595
- "@zag-js/date-picker": "0.64.0",
596
- "@zag-js/date-utils": "0.64.0",
597
- "@zag-js/dialog": "0.64.0",
598
- "@zag-js/dom-query": "0.64.0",
599
- "@zag-js/editable": "0.64.0",
600
- "@zag-js/file-upload": "0.64.0",
601
- "@zag-js/file-utils": "0.64.0",
602
- "@zag-js/hover-card": "0.64.0",
603
- "@zag-js/i18n-utils": "0.64.0",
604
- "@zag-js/menu": "0.64.0",
605
- "@zag-js/number-input": "0.64.0",
606
- "@zag-js/pagination": "0.64.0",
607
- "@zag-js/pin-input": "0.64.0",
608
- "@zag-js/popover": "0.64.0",
609
- "@zag-js/presence": "0.64.0",
610
- "@zag-js/progress": "0.64.0",
611
- "@zag-js/qr-code": "0.64.0",
612
- "@zag-js/radio-group": "0.64.0",
613
- "@zag-js/rating-group": "0.64.0",
614
- "@zag-js/react": "0.64.0",
615
- "@zag-js/select": "0.64.0",
616
- "@zag-js/signature-pad": "0.64.0",
617
- "@zag-js/slider": "0.64.0",
618
- "@zag-js/splitter": "0.64.0",
619
- "@zag-js/steps": "0.64.0",
620
- "@zag-js/switch": "0.64.0",
621
- "@zag-js/tabs": "0.64.0",
622
- "@zag-js/tags-input": "0.64.0",
623
- "@zag-js/time-picker": "0.64.0",
624
- "@zag-js/toast": "0.64.0",
625
- "@zag-js/toggle-group": "0.64.0",
626
- "@zag-js/tooltip": "0.64.0",
627
- "@zag-js/tree-view": "0.64.0",
628
- "@zag-js/types": "0.64.0"
596
+ "@zag-js/accordion": "0.65.1",
597
+ "@zag-js/anatomy": "0.65.1",
598
+ "@zag-js/avatar": "0.65.1",
599
+ "@zag-js/carousel": "0.65.1",
600
+ "@zag-js/checkbox": "0.65.1",
601
+ "@zag-js/clipboard": "0.65.1",
602
+ "@zag-js/collapsible": "0.65.1",
603
+ "@zag-js/color-picker": "0.65.1",
604
+ "@zag-js/color-utils": "0.65.1",
605
+ "@zag-js/combobox": "0.65.1",
606
+ "@zag-js/core": "0.65.1",
607
+ "@zag-js/date-picker": "0.65.1",
608
+ "@zag-js/date-utils": "0.65.1",
609
+ "@zag-js/dialog": "0.65.1",
610
+ "@zag-js/dom-query": "0.65.1",
611
+ "@zag-js/editable": "0.65.1",
612
+ "@zag-js/file-upload": "0.65.1",
613
+ "@zag-js/file-utils": "0.65.1",
614
+ "@zag-js/hover-card": "0.65.1",
615
+ "@zag-js/i18n-utils": "0.65.1",
616
+ "@zag-js/menu": "0.65.1",
617
+ "@zag-js/number-input": "0.65.1",
618
+ "@zag-js/pagination": "0.65.1",
619
+ "@zag-js/pin-input": "0.65.1",
620
+ "@zag-js/popover": "0.65.1",
621
+ "@zag-js/presence": "0.65.1",
622
+ "@zag-js/progress": "0.65.1",
623
+ "@zag-js/qr-code": "0.65.1",
624
+ "@zag-js/radio-group": "0.65.1",
625
+ "@zag-js/rating-group": "0.65.1",
626
+ "@zag-js/react": "0.65.1",
627
+ "@zag-js/select": "0.65.1",
628
+ "@zag-js/signature-pad": "0.65.1",
629
+ "@zag-js/slider": "0.65.1",
630
+ "@zag-js/splitter": "0.65.1",
631
+ "@zag-js/steps": "0.65.1",
632
+ "@zag-js/switch": "0.65.1",
633
+ "@zag-js/tabs": "0.65.1",
634
+ "@zag-js/tags-input": "0.65.1",
635
+ "@zag-js/time-picker": "0.65.1",
636
+ "@zag-js/timer": "0.65.1",
637
+ "@zag-js/toast": "0.65.1",
638
+ "@zag-js/toggle-group": "0.65.1",
639
+ "@zag-js/tooltip": "0.65.1",
640
+ "@zag-js/tree-view": "0.65.1",
641
+ "@zag-js/types": "0.65.1"
629
642
  },
630
643
  "devDependencies": {
631
644
  "@biomejs/biome": "1.8.3",
632
645
  "@release-it/keep-a-changelog": "5.0.0",
633
- "@storybook/addon-a11y": "8.2.8",
634
- "@storybook/addon-essentials": "8.2.8",
635
- "@storybook/react-vite": "8.2.8",
636
- "@storybook/react": "8.2.8",
646
+ "@storybook/addon-a11y": "8.2.9",
647
+ "@storybook/addon-essentials": "8.2.9",
648
+ "@storybook/react-vite": "8.2.9",
649
+ "@storybook/react": "8.2.9",
637
650
  "@testing-library/dom": "10.4.0",
638
651
  "@testing-library/jest-dom": "6.4.8",
639
652
  "@testing-library/react": "16.0.0",
@@ -644,18 +657,18 @@
644
657
  "@vitejs/plugin-react": "4.3.1",
645
658
  "globby": "14.0.2",
646
659
  "jsdom": "24.1.1",
647
- "lucide-react": "0.427.0",
660
+ "lucide-react": "0.428.0",
648
661
  "react": "18.3.1",
649
662
  "react-dom": "18.3.1",
650
663
  "react-frame-component": "5.2.7",
651
664
  "react-hook-form": "7.52.2",
652
665
  "release-it": "17.6.0",
653
666
  "resize-observer-polyfill": "1.5.1",
654
- "storybook": "8.2.8",
667
+ "storybook": "8.2.9",
655
668
  "typescript": "5.5.4",
656
- "vite": "5.4.0",
669
+ "vite": "5.4.2",
657
670
  "vite-plugin-dts": "3.9.1",
658
- "vitest": "2.0.4",
671
+ "vitest": "2.0.5",
659
672
  "vitest-axe": "1.0.0-pre.3"
660
673
  },
661
674
  "peerDependencies": {