@ark-ui/react 5.24.0 → 5.25.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.
@@ -14,6 +14,7 @@ const segmentGroup_anatomy = require('./segment-group/segment-group.anatomy.cjs'
14
14
  const toggle_anatomy = require('./toggle/toggle.anatomy.cjs');
15
15
  const tour_anatomy = require('./tour/tour.anatomy.cjs');
16
16
  const accordion = require('@zag-js/accordion');
17
+ const angleSlider = require('@zag-js/angle-slider');
17
18
  const avatar = require('@zag-js/avatar');
18
19
  const carousel = require('@zag-js/carousel');
19
20
  const clipboard = require('@zag-js/clipboard');
@@ -64,6 +65,10 @@ Object.defineProperty(exports, "accordionAnatomy", {
64
65
  enumerable: true,
65
66
  get: () => accordion.anatomy
66
67
  });
68
+ Object.defineProperty(exports, "angleSliderAnatomy", {
69
+ enumerable: true,
70
+ get: () => angleSlider.anatomy
71
+ });
67
72
  Object.defineProperty(exports, "avatarAnatomy", {
68
73
  enumerable: true,
69
74
  get: () => avatar.anatomy
@@ -1,5 +1,6 @@
1
1
  export * from '@zag-js/anatomy';
2
2
  export { accordionAnatomy } from './accordion/accordion.anatomy';
3
+ export { angleSliderAnatomy } from './angle-slider/angle-slider.anatomy';
3
4
  export { avatarAnatomy } from './avatar/avatar.anatomy';
4
5
  export { carouselAnatomy } from './carousel/carousel.anatomy';
5
6
  export { checkboxAnatomy } from './checkbox/checkbox.anatomy';
@@ -1,5 +1,6 @@
1
1
  export * from '@zag-js/anatomy';
2
2
  export { accordionAnatomy } from './accordion/accordion.anatomy';
3
+ export { angleSliderAnatomy } from './angle-slider/angle-slider.anatomy';
3
4
  export { avatarAnatomy } from './avatar/avatar.anatomy';
4
5
  export { carouselAnatomy } from './carousel/carousel.anatomy';
5
6
  export { checkboxAnatomy } from './checkbox/checkbox.anatomy';
@@ -10,6 +10,7 @@ export { segmentGroupAnatomy } from './segment-group/segment-group.anatomy.js';
10
10
  export { toggleAnatomy } from './toggle/toggle.anatomy.js';
11
11
  export { tourAnatomy } from './tour/tour.anatomy.js';
12
12
  export { anatomy as accordionAnatomy } from '@zag-js/accordion';
13
+ export { anatomy as angleSliderAnatomy } from '@zag-js/angle-slider';
13
14
  export { anatomy as avatarAnatomy } from '@zag-js/avatar';
14
15
  export { anatomy as carouselAnatomy } from '@zag-js/carousel';
15
16
  export { anatomy as clipboardAnatomy } from '@zag-js/clipboard';
package/dist/index.cjs CHANGED
@@ -683,6 +683,8 @@ const localeProvider = require('./providers/locale/locale-provider.cjs');
683
683
  const useCollator = require('./providers/locale/use-collator.cjs');
684
684
  const useFilter = require('./providers/locale/use-filter.cjs');
685
685
  const useLocaleContext = require('./providers/locale/use-locale-context.cjs');
686
+ const createContext = require('./utils/create-context.cjs');
687
+ const core = require('@zag-js/core');
686
688
  const accordion = require('@zag-js/accordion');
687
689
  const angleSlider = require('@zag-js/angle-slider');
688
690
  const avatar = require('@zag-js/avatar');
@@ -1411,6 +1413,11 @@ exports.LocaleProvider = localeProvider.LocaleProvider;
1411
1413
  exports.useCollator = useCollator.useCollator;
1412
1414
  exports.useFilter = useFilter.useFilter;
1413
1415
  exports.useLocaleContext = useLocaleContext.useLocaleContext;
1416
+ exports.createContext = createContext.createContext;
1417
+ Object.defineProperty(exports, "mergeProps", {
1418
+ enumerable: true,
1419
+ get: () => core.mergeProps
1420
+ });
1414
1421
  Object.defineProperty(exports, "accordionAnatomy", {
1415
1422
  enumerable: true,
1416
1423
  get: () => accordion.anatomy
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './components';
2
2
  export * from './providers';
3
+ export * from './utils';
3
4
  export type { Assign, Optional } from './types';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './components';
2
2
  export * from './providers';
3
+ export * from './utils';
3
4
  export type { Assign, Optional } from './types';
package/dist/index.js CHANGED
@@ -726,6 +726,8 @@ export { LocaleProvider } from './providers/locale/locale-provider.js';
726
726
  export { useCollator } from './providers/locale/use-collator.js';
727
727
  export { useFilter } from './providers/locale/use-filter.js';
728
728
  export { useLocaleContext } from './providers/locale/use-locale-context.js';
729
+ export { createContext } from './utils/create-context.js';
730
+ export { mergeProps } from '@zag-js/core';
729
731
  export { anatomy as accordionAnatomy } from '@zag-js/accordion';
730
732
  export { anatomy as angleSliderAnatomy } from '@zag-js/angle-slider';
731
733
  export { anatomy as avatarAnatomy } from '@zag-js/avatar';
@@ -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.0",
4
+ "version": "5.25.0",
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,65 +150,65 @@
141
150
  "sideEffects": false,
142
151
  "dependencies": {
143
152
  "@internationalized/date": "3.9.0",
144
- "@zag-js/accordion": "1.24.0",
145
- "@zag-js/anatomy": "1.24.0",
146
- "@zag-js/angle-slider": "1.24.0",
147
- "@zag-js/async-list": "1.24.0",
148
- "@zag-js/auto-resize": "1.24.0",
149
- "@zag-js/avatar": "1.24.0",
150
- "@zag-js/carousel": "1.24.0",
151
- "@zag-js/checkbox": "1.24.0",
152
- "@zag-js/clipboard": "1.24.0",
153
- "@zag-js/collapsible": "1.24.0",
154
- "@zag-js/collection": "1.24.0",
155
- "@zag-js/color-picker": "1.24.0",
156
- "@zag-js/color-utils": "1.24.0",
157
- "@zag-js/combobox": "1.24.0",
158
- "@zag-js/core": "1.24.0",
159
- "@zag-js/date-picker": "1.24.0",
160
- "@zag-js/date-utils": "1.24.0",
161
- "@zag-js/dialog": "1.24.0",
162
- "@zag-js/dom-query": "1.24.0",
163
- "@zag-js/editable": "1.24.0",
164
- "@zag-js/file-upload": "1.24.0",
165
- "@zag-js/file-utils": "1.24.0",
166
- "@zag-js/floating-panel": "1.24.0",
167
- "@zag-js/focus-trap": "1.24.0",
168
- "@zag-js/highlight-word": "1.24.0",
169
- "@zag-js/hover-card": "1.24.0",
170
- "@zag-js/i18n-utils": "1.24.0",
171
- "@zag-js/json-tree-utils": "1.24.0",
172
- "@zag-js/listbox": "1.24.0",
173
- "@zag-js/menu": "1.24.0",
174
- "@zag-js/number-input": "1.24.0",
175
- "@zag-js/pagination": "1.24.0",
176
- "@zag-js/password-input": "1.24.0",
177
- "@zag-js/pin-input": "1.24.0",
178
- "@zag-js/popover": "1.24.0",
179
- "@zag-js/presence": "1.24.0",
180
- "@zag-js/progress": "1.24.0",
181
- "@zag-js/qr-code": "1.24.0",
182
- "@zag-js/radio-group": "1.24.0",
183
- "@zag-js/rating-group": "1.24.0",
184
- "@zag-js/react": "1.24.0",
185
- "@zag-js/scroll-area": "1.24.0",
186
- "@zag-js/select": "1.24.0",
187
- "@zag-js/signature-pad": "1.24.0",
188
- "@zag-js/slider": "1.24.0",
189
- "@zag-js/splitter": "1.24.0",
190
- "@zag-js/steps": "1.24.0",
191
- "@zag-js/switch": "1.24.0",
192
- "@zag-js/tabs": "1.24.0",
193
- "@zag-js/tags-input": "1.24.0",
194
- "@zag-js/timer": "1.24.0",
195
- "@zag-js/toast": "1.24.0",
196
- "@zag-js/toggle": "1.24.0",
197
- "@zag-js/toggle-group": "1.24.0",
198
- "@zag-js/tooltip": "1.24.0",
199
- "@zag-js/tour": "1.24.0",
200
- "@zag-js/tree-view": "1.24.0",
201
- "@zag-js/types": "1.24.0",
202
- "@zag-js/utils": "1.24.0"
153
+ "@zag-js/accordion": "1.24.1",
154
+ "@zag-js/anatomy": "1.24.1",
155
+ "@zag-js/angle-slider": "1.24.1",
156
+ "@zag-js/async-list": "1.24.1",
157
+ "@zag-js/auto-resize": "1.24.1",
158
+ "@zag-js/avatar": "1.24.1",
159
+ "@zag-js/carousel": "1.24.1",
160
+ "@zag-js/checkbox": "1.24.1",
161
+ "@zag-js/clipboard": "1.24.1",
162
+ "@zag-js/collapsible": "1.24.1",
163
+ "@zag-js/collection": "1.24.1",
164
+ "@zag-js/color-picker": "1.24.1",
165
+ "@zag-js/color-utils": "1.24.1",
166
+ "@zag-js/combobox": "1.24.1",
167
+ "@zag-js/core": "1.24.1",
168
+ "@zag-js/date-picker": "1.24.1",
169
+ "@zag-js/date-utils": "1.24.1",
170
+ "@zag-js/dialog": "1.24.1",
171
+ "@zag-js/dom-query": "1.24.1",
172
+ "@zag-js/editable": "1.24.1",
173
+ "@zag-js/file-upload": "1.24.1",
174
+ "@zag-js/file-utils": "1.24.1",
175
+ "@zag-js/floating-panel": "1.24.1",
176
+ "@zag-js/focus-trap": "1.24.1",
177
+ "@zag-js/highlight-word": "1.24.1",
178
+ "@zag-js/hover-card": "1.24.1",
179
+ "@zag-js/i18n-utils": "1.24.1",
180
+ "@zag-js/json-tree-utils": "1.24.1",
181
+ "@zag-js/listbox": "1.24.1",
182
+ "@zag-js/menu": "1.24.1",
183
+ "@zag-js/number-input": "1.24.1",
184
+ "@zag-js/pagination": "1.24.1",
185
+ "@zag-js/password-input": "1.24.1",
186
+ "@zag-js/pin-input": "1.24.1",
187
+ "@zag-js/popover": "1.24.1",
188
+ "@zag-js/presence": "1.24.1",
189
+ "@zag-js/progress": "1.24.1",
190
+ "@zag-js/qr-code": "1.24.1",
191
+ "@zag-js/radio-group": "1.24.1",
192
+ "@zag-js/rating-group": "1.24.1",
193
+ "@zag-js/react": "1.24.1",
194
+ "@zag-js/scroll-area": "1.24.1",
195
+ "@zag-js/select": "1.24.1",
196
+ "@zag-js/signature-pad": "1.24.1",
197
+ "@zag-js/slider": "1.24.1",
198
+ "@zag-js/splitter": "1.24.1",
199
+ "@zag-js/steps": "1.24.1",
200
+ "@zag-js/switch": "1.24.1",
201
+ "@zag-js/tabs": "1.24.1",
202
+ "@zag-js/tags-input": "1.24.1",
203
+ "@zag-js/timer": "1.24.1",
204
+ "@zag-js/toast": "1.24.1",
205
+ "@zag-js/toggle": "1.24.1",
206
+ "@zag-js/toggle-group": "1.24.1",
207
+ "@zag-js/tooltip": "1.24.1",
208
+ "@zag-js/tour": "1.24.1",
209
+ "@zag-js/tree-view": "1.24.1",
210
+ "@zag-js/types": "1.24.1",
211
+ "@zag-js/utils": "1.24.1"
203
212
  },
204
213
  "devDependencies": {
205
214
  "@biomejs/biome": "2.2.4",
@@ -210,7 +219,7 @@
210
219
  "@testing-library/react": "16.3.0",
211
220
  "@testing-library/user-event": "14.6.1",
212
221
  "@types/jsdom": "21.1.7",
213
- "@types/react": "19.1.12",
222
+ "@types/react": "19.1.13",
214
223
  "@types/react-dom": "19.1.9",
215
224
  "@vitejs/plugin-react": "5.0.2",
216
225
  "clean-package": "2.2.0",