@ark-ui/react 5.24.1 → 5.25.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 (77) hide show
  1. package/dist/components/anatomy.cjs +10 -0
  2. package/dist/components/anatomy.d.cts +2 -0
  3. package/dist/components/anatomy.d.ts +2 -0
  4. package/dist/components/anatomy.js +2 -0
  5. package/dist/components/bottom-sheet/bottom-sheet-backdrop.cjs +27 -0
  6. package/dist/components/bottom-sheet/bottom-sheet-backdrop.d.cts +7 -0
  7. package/dist/components/bottom-sheet/bottom-sheet-backdrop.d.ts +7 -0
  8. package/dist/components/bottom-sheet/bottom-sheet-backdrop.js +23 -0
  9. package/dist/components/bottom-sheet/bottom-sheet-close-trigger.cjs +19 -0
  10. package/dist/components/bottom-sheet/bottom-sheet-close-trigger.d.cts +7 -0
  11. package/dist/components/bottom-sheet/bottom-sheet-close-trigger.d.ts +7 -0
  12. package/dist/components/bottom-sheet/bottom-sheet-close-trigger.js +15 -0
  13. package/dist/components/bottom-sheet/bottom-sheet-content.cjs +31 -0
  14. package/dist/components/bottom-sheet/bottom-sheet-content.d.cts +8 -0
  15. package/dist/components/bottom-sheet/bottom-sheet-content.d.ts +8 -0
  16. package/dist/components/bottom-sheet/bottom-sheet-content.js +27 -0
  17. package/dist/components/bottom-sheet/bottom-sheet-context.cjs +10 -0
  18. package/dist/components/bottom-sheet/bottom-sheet-context.d.cts +6 -0
  19. package/dist/components/bottom-sheet/bottom-sheet-context.d.ts +6 -0
  20. package/dist/components/bottom-sheet/bottom-sheet-context.js +6 -0
  21. package/dist/components/bottom-sheet/bottom-sheet-grabber-indicator.cjs +21 -0
  22. package/dist/components/bottom-sheet/bottom-sheet-grabber-indicator.d.cts +7 -0
  23. package/dist/components/bottom-sheet/bottom-sheet-grabber-indicator.d.ts +7 -0
  24. package/dist/components/bottom-sheet/bottom-sheet-grabber-indicator.js +17 -0
  25. package/dist/components/bottom-sheet/bottom-sheet-grabber.cjs +19 -0
  26. package/dist/components/bottom-sheet/bottom-sheet-grabber.d.cts +7 -0
  27. package/dist/components/bottom-sheet/bottom-sheet-grabber.d.ts +7 -0
  28. package/dist/components/bottom-sheet/bottom-sheet-grabber.js +15 -0
  29. package/dist/components/bottom-sheet/bottom-sheet-root-provider.cjs +21 -0
  30. package/dist/components/bottom-sheet/bottom-sheet-root-provider.d.cts +14 -0
  31. package/dist/components/bottom-sheet/bottom-sheet-root-provider.d.ts +14 -0
  32. package/dist/components/bottom-sheet/bottom-sheet-root-provider.js +17 -0
  33. package/dist/components/bottom-sheet/bottom-sheet-root.cjs +23 -0
  34. package/dist/components/bottom-sheet/bottom-sheet-root.d.cts +9 -0
  35. package/dist/components/bottom-sheet/bottom-sheet-root.d.ts +9 -0
  36. package/dist/components/bottom-sheet/bottom-sheet-root.js +19 -0
  37. package/dist/components/bottom-sheet/bottom-sheet-title.cjs +19 -0
  38. package/dist/components/bottom-sheet/bottom-sheet-title.d.cts +7 -0
  39. package/dist/components/bottom-sheet/bottom-sheet-title.d.ts +7 -0
  40. package/dist/components/bottom-sheet/bottom-sheet-title.js +15 -0
  41. package/dist/components/bottom-sheet/bottom-sheet-trigger.cjs +27 -0
  42. package/dist/components/bottom-sheet/bottom-sheet-trigger.d.cts +7 -0
  43. package/dist/components/bottom-sheet/bottom-sheet-trigger.d.ts +7 -0
  44. package/dist/components/bottom-sheet/bottom-sheet-trigger.js +23 -0
  45. package/dist/components/bottom-sheet/bottom-sheet.anatomy.d.cts +1 -0
  46. package/dist/components/bottom-sheet/bottom-sheet.anatomy.d.ts +1 -0
  47. package/dist/components/bottom-sheet/bottom-sheet.cjs +27 -0
  48. package/dist/components/bottom-sheet/bottom-sheet.d.cts +11 -0
  49. package/dist/components/bottom-sheet/bottom-sheet.d.ts +11 -0
  50. package/dist/components/bottom-sheet/bottom-sheet.js +10 -0
  51. package/dist/components/bottom-sheet/index.cjs +38 -0
  52. package/dist/components/bottom-sheet/index.d.cts +15 -0
  53. package/dist/components/bottom-sheet/index.d.ts +15 -0
  54. package/dist/components/bottom-sheet/index.js +15 -0
  55. package/dist/components/bottom-sheet/use-bottom-sheet-context.cjs +15 -0
  56. package/dist/components/bottom-sheet/use-bottom-sheet-context.d.cts +5 -0
  57. package/dist/components/bottom-sheet/use-bottom-sheet-context.d.ts +5 -0
  58. package/dist/components/bottom-sheet/use-bottom-sheet-context.js +10 -0
  59. package/dist/components/bottom-sheet/use-bottom-sheet.cjs +45 -0
  60. package/dist/components/bottom-sheet/use-bottom-sheet.d.cts +8 -0
  61. package/dist/components/bottom-sheet/use-bottom-sheet.d.ts +8 -0
  62. package/dist/components/bottom-sheet/use-bottom-sheet.js +22 -0
  63. package/dist/components/format/format-byte.d.cts +4 -0
  64. package/dist/components/format/format-byte.d.ts +4 -0
  65. package/dist/components/index.cjs +31 -0
  66. package/dist/components/index.d.cts +1 -0
  67. package/dist/components/index.d.ts +1 -0
  68. package/dist/components/index.js +15 -0
  69. package/dist/index.cjs +38 -0
  70. package/dist/index.d.cts +1 -0
  71. package/dist/index.d.ts +1 -0
  72. package/dist/index.js +17 -0
  73. package/dist/utils/index.cjs +14 -0
  74. package/dist/utils/index.d.cts +2 -0
  75. package/dist/utils/index.d.ts +2 -0
  76. package/dist/utils/index.js +2 -0
  77. package/package.json +78 -68
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const createContext = require('./create-context.cjs');
6
+ const core = require('@zag-js/core');
7
+
8
+
9
+
10
+ exports.createContext = createContext.createContext;
11
+ Object.defineProperty(exports, "mergeProps", {
12
+ enumerable: true,
13
+ get: () => core.mergeProps
14
+ });
@@ -0,0 +1,2 @@
1
+ export { createContext } from './create-context';
2
+ export { mergeProps } from '@zag-js/core';
@@ -0,0 +1,2 @@
1
+ export { createContext } from './create-context';
2
+ export { mergeProps } from '@zag-js/core';
@@ -0,0 +1,2 @@
1
+ export { createContext } from './create-context.js';
2
+ export { mergeProps } from '@zag-js/core';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ark-ui/react",
3
3
  "type": "module",
4
- "version": "5.24.1",
4
+ "version": "5.25.1",
5
5
  "description": "A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.",
6
6
  "keywords": [
7
7
  "accordion",
@@ -38,7 +38,6 @@
38
38
  "switch",
39
39
  "tabs",
40
40
  "tags input",
41
- "time picker",
42
41
  "timer",
43
42
  "toast",
44
43
  "toggle group",
@@ -110,6 +109,16 @@
110
109
  "default": "./dist/providers/locale/index.cjs"
111
110
  }
112
111
  },
112
+ "./utils": {
113
+ "import": {
114
+ "types": "./dist/utils/index.d.ts",
115
+ "default": "./dist/utils/index.js"
116
+ },
117
+ "require": {
118
+ "types": "./dist/utils/index.d.cts",
119
+ "default": "./dist/utils/index.cjs"
120
+ }
121
+ },
113
122
  "./*": {
114
123
  "import": {
115
124
  "types": "./dist/components/*/index.d.ts",
@@ -141,78 +150,79 @@
141
150
  "sideEffects": false,
142
151
  "dependencies": {
143
152
  "@internationalized/date": "3.9.0",
144
- "@zag-js/accordion": "1.24.1",
145
- "@zag-js/anatomy": "1.24.1",
146
- "@zag-js/angle-slider": "1.24.1",
147
- "@zag-js/async-list": "1.24.1",
148
- "@zag-js/auto-resize": "1.24.1",
149
- "@zag-js/avatar": "1.24.1",
150
- "@zag-js/carousel": "1.24.1",
151
- "@zag-js/checkbox": "1.24.1",
152
- "@zag-js/clipboard": "1.24.1",
153
- "@zag-js/collapsible": "1.24.1",
154
- "@zag-js/collection": "1.24.1",
155
- "@zag-js/color-picker": "1.24.1",
156
- "@zag-js/color-utils": "1.24.1",
157
- "@zag-js/combobox": "1.24.1",
158
- "@zag-js/core": "1.24.1",
159
- "@zag-js/date-picker": "1.24.1",
160
- "@zag-js/date-utils": "1.24.1",
161
- "@zag-js/dialog": "1.24.1",
162
- "@zag-js/dom-query": "1.24.1",
163
- "@zag-js/editable": "1.24.1",
164
- "@zag-js/file-upload": "1.24.1",
165
- "@zag-js/file-utils": "1.24.1",
166
- "@zag-js/floating-panel": "1.24.1",
167
- "@zag-js/focus-trap": "1.24.1",
168
- "@zag-js/highlight-word": "1.24.1",
169
- "@zag-js/hover-card": "1.24.1",
170
- "@zag-js/i18n-utils": "1.24.1",
171
- "@zag-js/json-tree-utils": "1.24.1",
172
- "@zag-js/listbox": "1.24.1",
173
- "@zag-js/menu": "1.24.1",
174
- "@zag-js/number-input": "1.24.1",
175
- "@zag-js/pagination": "1.24.1",
176
- "@zag-js/password-input": "1.24.1",
177
- "@zag-js/pin-input": "1.24.1",
178
- "@zag-js/popover": "1.24.1",
179
- "@zag-js/presence": "1.24.1",
180
- "@zag-js/progress": "1.24.1",
181
- "@zag-js/qr-code": "1.24.1",
182
- "@zag-js/radio-group": "1.24.1",
183
- "@zag-js/rating-group": "1.24.1",
184
- "@zag-js/react": "1.24.1",
185
- "@zag-js/scroll-area": "1.24.1",
186
- "@zag-js/select": "1.24.1",
187
- "@zag-js/signature-pad": "1.24.1",
188
- "@zag-js/slider": "1.24.1",
189
- "@zag-js/splitter": "1.24.1",
190
- "@zag-js/steps": "1.24.1",
191
- "@zag-js/switch": "1.24.1",
192
- "@zag-js/tabs": "1.24.1",
193
- "@zag-js/tags-input": "1.24.1",
194
- "@zag-js/timer": "1.24.1",
195
- "@zag-js/toast": "1.24.1",
196
- "@zag-js/toggle": "1.24.1",
197
- "@zag-js/toggle-group": "1.24.1",
198
- "@zag-js/tooltip": "1.24.1",
199
- "@zag-js/tour": "1.24.1",
200
- "@zag-js/tree-view": "1.24.1",
201
- "@zag-js/types": "1.24.1",
202
- "@zag-js/utils": "1.24.1"
153
+ "@zag-js/accordion": "1.24.2",
154
+ "@zag-js/anatomy": "1.24.2",
155
+ "@zag-js/angle-slider": "1.24.2",
156
+ "@zag-js/async-list": "1.24.2",
157
+ "@zag-js/auto-resize": "1.24.2",
158
+ "@zag-js/avatar": "1.24.2",
159
+ "@zag-js/bottom-sheet": "1.24.2",
160
+ "@zag-js/carousel": "1.24.2",
161
+ "@zag-js/checkbox": "1.24.2",
162
+ "@zag-js/clipboard": "1.24.2",
163
+ "@zag-js/collapsible": "1.24.2",
164
+ "@zag-js/collection": "1.24.2",
165
+ "@zag-js/color-picker": "1.24.2",
166
+ "@zag-js/color-utils": "1.24.2",
167
+ "@zag-js/combobox": "1.24.2",
168
+ "@zag-js/core": "1.24.2",
169
+ "@zag-js/date-picker": "1.24.2",
170
+ "@zag-js/date-utils": "1.24.2",
171
+ "@zag-js/dialog": "1.24.2",
172
+ "@zag-js/dom-query": "1.24.2",
173
+ "@zag-js/editable": "1.24.2",
174
+ "@zag-js/file-upload": "1.24.2",
175
+ "@zag-js/file-utils": "1.24.2",
176
+ "@zag-js/floating-panel": "1.24.2",
177
+ "@zag-js/focus-trap": "1.24.2",
178
+ "@zag-js/highlight-word": "1.24.2",
179
+ "@zag-js/hover-card": "1.24.2",
180
+ "@zag-js/i18n-utils": "1.24.2",
181
+ "@zag-js/json-tree-utils": "1.24.2",
182
+ "@zag-js/listbox": "1.24.2",
183
+ "@zag-js/menu": "1.24.2",
184
+ "@zag-js/number-input": "1.24.2",
185
+ "@zag-js/pagination": "1.24.2",
186
+ "@zag-js/password-input": "1.24.2",
187
+ "@zag-js/pin-input": "1.24.2",
188
+ "@zag-js/popover": "1.24.2",
189
+ "@zag-js/presence": "1.24.2",
190
+ "@zag-js/progress": "1.24.2",
191
+ "@zag-js/qr-code": "1.24.2",
192
+ "@zag-js/radio-group": "1.24.2",
193
+ "@zag-js/rating-group": "1.24.2",
194
+ "@zag-js/react": "1.24.2",
195
+ "@zag-js/scroll-area": "1.24.2",
196
+ "@zag-js/select": "1.24.2",
197
+ "@zag-js/signature-pad": "1.24.2",
198
+ "@zag-js/slider": "1.24.2",
199
+ "@zag-js/splitter": "1.24.2",
200
+ "@zag-js/steps": "1.24.2",
201
+ "@zag-js/switch": "1.24.2",
202
+ "@zag-js/tabs": "1.24.2",
203
+ "@zag-js/tags-input": "1.24.2",
204
+ "@zag-js/timer": "1.24.2",
205
+ "@zag-js/toast": "1.24.2",
206
+ "@zag-js/toggle": "1.24.2",
207
+ "@zag-js/toggle-group": "1.24.2",
208
+ "@zag-js/tooltip": "1.24.2",
209
+ "@zag-js/tour": "1.24.2",
210
+ "@zag-js/tree-view": "1.24.2",
211
+ "@zag-js/types": "1.24.2",
212
+ "@zag-js/utils": "1.24.2"
203
213
  },
204
214
  "devDependencies": {
205
215
  "@biomejs/biome": "2.2.4",
206
- "@storybook/addon-a11y": "9.1.5",
207
- "@storybook/react-vite": "9.1.5",
216
+ "@storybook/addon-a11y": "9.1.7",
217
+ "@storybook/react-vite": "9.1.7",
208
218
  "@testing-library/dom": "10.4.1",
209
219
  "@testing-library/jest-dom": "6.8.0",
210
220
  "@testing-library/react": "16.3.0",
211
221
  "@testing-library/user-event": "14.6.1",
212
222
  "@types/jsdom": "21.1.7",
213
- "@types/react": "19.1.12",
223
+ "@types/react": "19.1.13",
214
224
  "@types/react-dom": "19.1.9",
215
- "@vitejs/plugin-react": "5.0.2",
225
+ "@vitejs/plugin-react": "5.0.3",
216
226
  "clean-package": "2.2.0",
217
227
  "image-conversion": "2.1.1",
218
228
  "globby": "14.1.0",
@@ -223,11 +233,11 @@
223
233
  "react-shadow": "20.6.0",
224
234
  "react-use": "17.6.0",
225
235
  "react-frame-component": "5.2.7",
226
- "react-hook-form": "7.62.0",
236
+ "react-hook-form": "7.63.0",
227
237
  "resize-observer-polyfill": "1.5.1",
228
- "storybook": "9.1.5",
238
+ "storybook": "9.1.7",
229
239
  "typescript": "5.9.2",
230
- "vite": "7.1.5",
240
+ "vite": "7.1.6",
231
241
  "vite-plugin-dts": "4.5.4",
232
242
  "vitest": "3.2.4",
233
243
  "@vitest/coverage-v8": "3.2.4",