@ark-ui/react 5.24.1 → 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.
- package/dist/components/anatomy.cjs +5 -0
- package/dist/components/anatomy.d.cts +1 -0
- package/dist/components/anatomy.d.ts +1 -0
- package/dist/components/anatomy.js +1 -0
- package/dist/index.cjs +7 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/utils/index.cjs +14 -0
- package/dist/utils/index.d.cts +2 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +2 -0
- package/package.json +12 -3
|
@@ -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
package/dist/index.d.ts
CHANGED
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
|
+
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark-ui/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
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",
|
|
@@ -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.
|
|
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",
|