@ark-ui/react 5.30.0 → 5.31.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/accordion/accordion-item.cjs +1 -0
- package/dist/components/accordion/accordion-item.js +1 -0
- package/dist/components/accordion/index.cjs +4 -4
- package/dist/components/angle-slider/index.cjs +4 -4
- package/dist/components/avatar/index.cjs +4 -4
- package/dist/components/bottom-sheet/index.cjs +4 -4
- package/dist/components/checkbox/use-checkbox.cjs +1 -1
- package/dist/components/checkbox/use-checkbox.js +1 -1
- package/dist/components/clipboard/index.cjs +4 -4
- package/dist/components/collapsible/index.cjs +4 -4
- package/dist/components/collection/tree-collection.js +1 -1
- package/dist/components/color-picker/index.cjs +4 -4
- package/dist/components/date-picker/date-picker-root.cjs +1 -0
- package/dist/components/date-picker/date-picker-root.js +1 -0
- package/dist/components/date-picker/date-picker-value-text.cjs +30 -0
- package/dist/components/date-picker/date-picker-value-text.d.cts +29 -0
- package/dist/components/date-picker/date-picker-value-text.d.ts +29 -0
- package/dist/components/date-picker/date-picker-value-text.js +26 -0
- package/dist/components/date-picker/date-picker.anatomy.cjs +1 -1
- package/dist/components/date-picker/date-picker.anatomy.d.cts +1 -1
- package/dist/components/date-picker/date-picker.anatomy.d.ts +1 -1
- package/dist/components/date-picker/date-picker.anatomy.js +1 -1
- package/dist/components/date-picker/date-picker.cjs +2 -0
- package/dist/components/date-picker/date-picker.d.cts +1 -0
- package/dist/components/date-picker/date-picker.d.ts +1 -0
- package/dist/components/date-picker/date-picker.js +1 -0
- package/dist/components/date-picker/index.cjs +6 -4
- package/dist/components/date-picker/index.d.cts +1 -0
- package/dist/components/date-picker/index.d.ts +1 -0
- package/dist/components/date-picker/index.js +1 -0
- package/dist/components/dialog/index.cjs +4 -4
- package/dist/components/editable/index.cjs +4 -4
- package/dist/components/file-upload/file-upload-root.cjs +1 -0
- package/dist/components/file-upload/file-upload-root.js +1 -0
- package/dist/components/file-upload/index.cjs +4 -4
- package/dist/components/floating-panel/index.cjs +4 -4
- package/dist/components/hover-card/index.cjs +4 -4
- package/dist/components/image-cropper/index.cjs +4 -4
- package/dist/components/index.cjs +162 -145
- package/dist/components/index.js +3 -0
- package/dist/components/json-tree-view/json-tree-view-root-provider.cjs +4 -1
- package/dist/components/json-tree-view/json-tree-view-root-provider.d.cts +3 -1
- package/dist/components/json-tree-view/json-tree-view-root-provider.d.ts +3 -1
- package/dist/components/json-tree-view/json-tree-view-root-provider.js +4 -1
- package/dist/components/json-tree-view/use-json-tree-view.cjs +12 -2
- package/dist/components/json-tree-view/use-json-tree-view.d.cts +4 -2
- package/dist/components/json-tree-view/use-json-tree-view.d.ts +4 -2
- package/dist/components/json-tree-view/use-json-tree-view.js +13 -3
- package/dist/components/marquee/index.cjs +4 -4
- package/dist/components/menu/index.cjs +4 -4
- package/dist/components/navigation-menu/index.cjs +4 -4
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.cjs +4 -3
- package/dist/components/navigation-menu/navigation-menu-viewport-positioner.js +4 -3
- package/dist/components/navigation-menu/navigation-menu-viewport.cjs +8 -6
- package/dist/components/navigation-menu/navigation-menu-viewport.d.cts +1 -2
- package/dist/components/navigation-menu/navigation-menu-viewport.d.ts +1 -2
- package/dist/components/navigation-menu/navigation-menu-viewport.js +8 -6
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.cjs +16 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.d.cts +3 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.d.ts +3 -0
- package/dist/components/navigation-menu/use-navigation-menu-viewport-props-context.js +11 -0
- package/dist/components/number-input/index.cjs +4 -4
- package/dist/components/pagination/index.cjs +4 -4
- package/dist/components/password-input/index.cjs +4 -4
- package/dist/components/pin-input/index.cjs +4 -4
- package/dist/components/popover/index.cjs +4 -4
- package/dist/components/progress/examples/circular/with-label.d.cts +1 -0
- package/dist/components/progress/examples/circular/with-label.d.ts +1 -0
- package/dist/components/progress/index.cjs +4 -4
- package/dist/components/scroll-area/index.cjs +4 -4
- package/dist/components/select/index.cjs +4 -4
- package/dist/components/signature-pad/index.cjs +4 -4
- package/dist/components/slider/index.cjs +4 -4
- package/dist/components/slider/slider-root.cjs +1 -1
- package/dist/components/slider/slider-root.js +1 -1
- package/dist/components/splitter/index.cjs +5 -5
- package/dist/components/steps/index.cjs +4 -4
- package/dist/components/steps/steps-root.cjs +4 -1
- package/dist/components/steps/steps-root.js +4 -1
- package/dist/components/tabs/index.cjs +4 -4
- package/dist/components/tags-input/index.cjs +4 -4
- package/dist/components/tags-input/tags-input-root.cjs +1 -0
- package/dist/components/tags-input/tags-input-root.js +1 -0
- package/dist/components/timer/index.cjs +4 -4
- package/dist/components/toast/index.cjs +4 -4
- package/dist/components/toggle-group/index.cjs +4 -4
- package/dist/components/tooltip/index.cjs +4 -4
- package/dist/components/tour/index.cjs +15 -0
- package/dist/components/tour/index.d.cts +3 -1
- package/dist/components/tour/index.d.ts +3 -1
- package/dist/components/tour/index.js +2 -0
- package/dist/components/tour/wait-for-event.cjs +26 -0
- package/dist/components/tour/wait-for-event.d.cts +6 -0
- package/dist/components/tour/wait-for-event.d.ts +6 -0
- package/dist/components/tour/wait-for-event.js +22 -0
- package/dist/components/tree-view/index.cjs +4 -4
- package/dist/index.cjs +162 -145
- package/dist/index.js +3 -0
- package/package.json +75 -74
- package/dist/components/progress/examples/circular/value-text.d.cts +0 -1
- package/dist/components/progress/examples/circular/value-text.d.ts +0 -1
package/dist/index.js
CHANGED
|
@@ -181,6 +181,7 @@ export { DatePickerPositioner } from './components/date-picker/date-picker-posit
|
|
|
181
181
|
export { DatePickerPresetTrigger } from './components/date-picker/date-picker-preset-trigger.js';
|
|
182
182
|
export { DatePickerPrevTrigger } from './components/date-picker/date-picker-prev-trigger.js';
|
|
183
183
|
export { DatePickerRangeText } from './components/date-picker/date-picker-range-text.js';
|
|
184
|
+
export { DatePickerValueText } from './components/date-picker/date-picker-value-text.js';
|
|
184
185
|
export { DatePickerRoot } from './components/date-picker/date-picker-root.js';
|
|
185
186
|
export { DatePickerRootProvider } from './components/date-picker/date-picker-root-provider.js';
|
|
186
187
|
export { DatePickerTable } from './components/date-picker/date-picker-table.js';
|
|
@@ -737,6 +738,8 @@ export { useTooltip } from './components/tooltip/use-tooltip.js';
|
|
|
737
738
|
export { useTooltipContext } from './components/tooltip/use-tooltip-context.js';
|
|
738
739
|
import * as tooltip from './components/tooltip/tooltip.js';
|
|
739
740
|
export { tooltip as Tooltip };
|
|
741
|
+
export { waitForElement, waitForElementValue, waitForPromise } from '@zag-js/tour';
|
|
742
|
+
export { waitForEvent } from './components/tour/wait-for-event.js';
|
|
740
743
|
export { TourActionTrigger } from './components/tour/tour-action-trigger.js';
|
|
741
744
|
export { TourActions } from './components/tour/tour-actions.js';
|
|
742
745
|
export { TourArrow } from './components/tour/tour-arrow.js';
|
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.31.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",
|
|
@@ -150,75 +150,75 @@
|
|
|
150
150
|
"sideEffects": false,
|
|
151
151
|
"dependencies": {
|
|
152
152
|
"@internationalized/date": "3.10.0",
|
|
153
|
-
"@zag-js/accordion": "1.
|
|
154
|
-
"@zag-js/anatomy": "1.
|
|
155
|
-
"@zag-js/angle-slider": "1.
|
|
156
|
-
"@zag-js/async-list": "1.
|
|
157
|
-
"@zag-js/auto-resize": "1.
|
|
158
|
-
"@zag-js/avatar": "1.
|
|
159
|
-
"@zag-js/bottom-sheet": "1.
|
|
160
|
-
"@zag-js/carousel": "1.
|
|
161
|
-
"@zag-js/checkbox": "1.
|
|
162
|
-
"@zag-js/clipboard": "1.
|
|
163
|
-
"@zag-js/collapsible": "1.
|
|
164
|
-
"@zag-js/collection": "1.
|
|
165
|
-
"@zag-js/color-picker": "1.
|
|
166
|
-
"@zag-js/color-utils": "1.
|
|
167
|
-
"@zag-js/combobox": "1.
|
|
168
|
-
"@zag-js/core": "1.
|
|
169
|
-
"@zag-js/date-picker": "1.
|
|
170
|
-
"@zag-js/date-utils": "1.
|
|
171
|
-
"@zag-js/dialog": "1.
|
|
172
|
-
"@zag-js/dom-query": "1.
|
|
173
|
-
"@zag-js/editable": "1.
|
|
174
|
-
"@zag-js/file-upload": "1.
|
|
175
|
-
"@zag-js/file-utils": "1.
|
|
176
|
-
"@zag-js/floating-panel": "1.
|
|
177
|
-
"@zag-js/focus-trap": "1.
|
|
178
|
-
"@zag-js/highlight-word": "1.
|
|
179
|
-
"@zag-js/hover-card": "1.
|
|
180
|
-
"@zag-js/image-cropper": "1.
|
|
181
|
-
"@zag-js/i18n-utils": "1.
|
|
182
|
-
"@zag-js/json-tree-utils": "1.
|
|
183
|
-
"@zag-js/listbox": "1.
|
|
184
|
-
"@zag-js/marquee": "1.
|
|
185
|
-
"@zag-js/menu": "1.
|
|
186
|
-
"@zag-js/navigation-menu": "1.
|
|
187
|
-
"@zag-js/number-input": "1.
|
|
188
|
-
"@zag-js/pagination": "1.
|
|
189
|
-
"@zag-js/password-input": "1.
|
|
190
|
-
"@zag-js/pin-input": "1.
|
|
191
|
-
"@zag-js/popover": "1.
|
|
192
|
-
"@zag-js/presence": "1.
|
|
193
|
-
"@zag-js/progress": "1.
|
|
194
|
-
"@zag-js/qr-code": "1.
|
|
195
|
-
"@zag-js/radio-group": "1.
|
|
196
|
-
"@zag-js/rating-group": "1.
|
|
197
|
-
"@zag-js/react": "1.
|
|
198
|
-
"@zag-js/scroll-area": "1.
|
|
199
|
-
"@zag-js/select": "1.
|
|
200
|
-
"@zag-js/signature-pad": "1.
|
|
201
|
-
"@zag-js/slider": "1.
|
|
202
|
-
"@zag-js/splitter": "1.
|
|
203
|
-
"@zag-js/steps": "1.
|
|
204
|
-
"@zag-js/switch": "1.
|
|
205
|
-
"@zag-js/tabs": "1.
|
|
206
|
-
"@zag-js/tags-input": "1.
|
|
207
|
-
"@zag-js/timer": "1.
|
|
208
|
-
"@zag-js/toast": "1.
|
|
209
|
-
"@zag-js/toggle": "1.
|
|
210
|
-
"@zag-js/toggle-group": "1.
|
|
211
|
-
"@zag-js/tooltip": "1.
|
|
212
|
-
"@zag-js/tour": "1.
|
|
213
|
-
"@zag-js/tree-view": "1.
|
|
214
|
-
"@zag-js/types": "1.
|
|
215
|
-
"@zag-js/utils": "1.
|
|
153
|
+
"@zag-js/accordion": "1.33.1",
|
|
154
|
+
"@zag-js/anatomy": "1.33.1",
|
|
155
|
+
"@zag-js/angle-slider": "1.33.1",
|
|
156
|
+
"@zag-js/async-list": "1.33.1",
|
|
157
|
+
"@zag-js/auto-resize": "1.33.1",
|
|
158
|
+
"@zag-js/avatar": "1.33.1",
|
|
159
|
+
"@zag-js/bottom-sheet": "1.33.1",
|
|
160
|
+
"@zag-js/carousel": "1.33.1",
|
|
161
|
+
"@zag-js/checkbox": "1.33.1",
|
|
162
|
+
"@zag-js/clipboard": "1.33.1",
|
|
163
|
+
"@zag-js/collapsible": "1.33.1",
|
|
164
|
+
"@zag-js/collection": "1.33.1",
|
|
165
|
+
"@zag-js/color-picker": "1.33.1",
|
|
166
|
+
"@zag-js/color-utils": "1.33.1",
|
|
167
|
+
"@zag-js/combobox": "1.33.1",
|
|
168
|
+
"@zag-js/core": "1.33.1",
|
|
169
|
+
"@zag-js/date-picker": "1.33.1",
|
|
170
|
+
"@zag-js/date-utils": "1.33.1",
|
|
171
|
+
"@zag-js/dialog": "1.33.1",
|
|
172
|
+
"@zag-js/dom-query": "1.33.1",
|
|
173
|
+
"@zag-js/editable": "1.33.1",
|
|
174
|
+
"@zag-js/file-upload": "1.33.1",
|
|
175
|
+
"@zag-js/file-utils": "1.33.1",
|
|
176
|
+
"@zag-js/floating-panel": "1.33.1",
|
|
177
|
+
"@zag-js/focus-trap": "1.33.1",
|
|
178
|
+
"@zag-js/highlight-word": "1.33.1",
|
|
179
|
+
"@zag-js/hover-card": "1.33.1",
|
|
180
|
+
"@zag-js/image-cropper": "1.33.1",
|
|
181
|
+
"@zag-js/i18n-utils": "1.33.1",
|
|
182
|
+
"@zag-js/json-tree-utils": "1.33.1",
|
|
183
|
+
"@zag-js/listbox": "1.33.1",
|
|
184
|
+
"@zag-js/marquee": "1.33.1",
|
|
185
|
+
"@zag-js/menu": "1.33.1",
|
|
186
|
+
"@zag-js/navigation-menu": "1.33.1",
|
|
187
|
+
"@zag-js/number-input": "1.33.1",
|
|
188
|
+
"@zag-js/pagination": "1.33.1",
|
|
189
|
+
"@zag-js/password-input": "1.33.1",
|
|
190
|
+
"@zag-js/pin-input": "1.33.1",
|
|
191
|
+
"@zag-js/popover": "1.33.1",
|
|
192
|
+
"@zag-js/presence": "1.33.1",
|
|
193
|
+
"@zag-js/progress": "1.33.1",
|
|
194
|
+
"@zag-js/qr-code": "1.33.1",
|
|
195
|
+
"@zag-js/radio-group": "1.33.1",
|
|
196
|
+
"@zag-js/rating-group": "1.33.1",
|
|
197
|
+
"@zag-js/react": "1.33.1",
|
|
198
|
+
"@zag-js/scroll-area": "1.33.1",
|
|
199
|
+
"@zag-js/select": "1.33.1",
|
|
200
|
+
"@zag-js/signature-pad": "1.33.1",
|
|
201
|
+
"@zag-js/slider": "1.33.1",
|
|
202
|
+
"@zag-js/splitter": "1.33.1",
|
|
203
|
+
"@zag-js/steps": "1.33.1",
|
|
204
|
+
"@zag-js/switch": "1.33.1",
|
|
205
|
+
"@zag-js/tabs": "1.33.1",
|
|
206
|
+
"@zag-js/tags-input": "1.33.1",
|
|
207
|
+
"@zag-js/timer": "1.33.1",
|
|
208
|
+
"@zag-js/toast": "1.33.1",
|
|
209
|
+
"@zag-js/toggle": "1.33.1",
|
|
210
|
+
"@zag-js/toggle-group": "1.33.1",
|
|
211
|
+
"@zag-js/tooltip": "1.33.1",
|
|
212
|
+
"@zag-js/tour": "1.33.1",
|
|
213
|
+
"@zag-js/tree-view": "1.33.1",
|
|
214
|
+
"@zag-js/types": "1.33.1",
|
|
215
|
+
"@zag-js/utils": "1.33.1"
|
|
216
216
|
},
|
|
217
217
|
"devDependencies": {
|
|
218
|
-
"check-password-strength": "3.0.0",
|
|
219
218
|
"@biomejs/biome": "2.3.8",
|
|
220
|
-
"@storybook/addon-a11y": "
|
|
221
|
-
"@storybook/react-vite": "
|
|
219
|
+
"@storybook/addon-a11y": "10.1.11",
|
|
220
|
+
"@storybook/react-vite": "10.1.11",
|
|
221
|
+
"@tanstack/react-virtual": "3.13.18",
|
|
222
222
|
"@testing-library/dom": "10.4.1",
|
|
223
223
|
"@testing-library/jest-dom": "6.9.1",
|
|
224
224
|
"@testing-library/react": "16.3.0",
|
|
@@ -227,24 +227,25 @@
|
|
|
227
227
|
"@types/react": "19.2.7",
|
|
228
228
|
"@types/react-dom": "19.2.3",
|
|
229
229
|
"@vitejs/plugin-react": "5.1.1",
|
|
230
|
+
"@vitest/coverage-v8": "^4.0.0",
|
|
231
|
+
"check-password-strength": "3.0.0",
|
|
230
232
|
"clean-package": "2.2.0",
|
|
231
|
-
"
|
|
232
|
-
"globby": "15.0.0",
|
|
233
|
+
"globby": "16.1.0",
|
|
233
234
|
"happy-dom": "20.0.11",
|
|
235
|
+
"image-conversion": "2.1.1",
|
|
234
236
|
"lucide-react": "0.555.0",
|
|
235
237
|
"react": "19.2.1",
|
|
236
238
|
"react-dom": "19.2.1",
|
|
237
|
-
"react-shadow": "20.6.0",
|
|
238
|
-
"react-use": "17.6.0",
|
|
239
239
|
"react-frame-component": "5.2.7",
|
|
240
240
|
"react-hook-form": "7.67.0",
|
|
241
|
+
"react-shadow": "20.6.0",
|
|
242
|
+
"react-use": "17.6.0",
|
|
241
243
|
"resize-observer-polyfill": "1.5.1",
|
|
242
|
-
"storybook": "
|
|
244
|
+
"storybook": "10.1.11",
|
|
243
245
|
"typescript": "5.9.3",
|
|
244
|
-
"vite": "7.
|
|
246
|
+
"vite": "7.3.0",
|
|
245
247
|
"vite-plugin-dts": "4.5.4",
|
|
246
248
|
"vitest": "^4.0.0",
|
|
247
|
-
"@vitest/coverage-v8": "^4.0.0",
|
|
248
249
|
"vitest-axe": "1.0.0-pre.5"
|
|
249
250
|
},
|
|
250
251
|
"peerDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ValueText: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ValueText: () => import("react/jsx-runtime").JSX.Element;
|