@ark-ui/react 5.14.0 → 5.14.2
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/checkbox/checkbox-indicator.d.cts +1 -1
- package/dist/components/checkbox/checkbox-indicator.d.ts +1 -1
- package/dist/components/checkbox/use-checkbox-group.d.cts +7 -7
- package/dist/components/checkbox/use-checkbox-group.d.ts +7 -7
- package/dist/components/clipboard/clipboard-indicator.d.cts +1 -1
- package/dist/components/clipboard/clipboard-indicator.d.ts +1 -1
- package/dist/components/collapsible/use-collapsible.d.cts +1 -1
- package/dist/components/collapsible/use-collapsible.d.ts +1 -1
- package/dist/components/color-picker/color-picker-value-text.d.cts +1 -1
- package/dist/components/color-picker/color-picker-value-text.d.ts +1 -1
- package/dist/components/date-picker/date-picker-range-text.cjs +6 -1
- package/dist/components/date-picker/date-picker-range-text.js +7 -2
- package/dist/components/dialog/dialog-root-provider.d.cts +1 -1
- package/dist/components/dialog/dialog-root-provider.d.ts +1 -1
- package/dist/components/dialog/dialog-root.d.cts +1 -1
- package/dist/components/dialog/dialog-root.d.ts +1 -1
- package/dist/components/factory.d.cts +1 -1
- package/dist/components/factory.d.ts +1 -1
- package/dist/components/field/field-required-indicator.d.cts +1 -1
- package/dist/components/field/field-required-indicator.d.ts +1 -1
- package/dist/components/field/field-textarea.d.cts +1 -1
- package/dist/components/field/field-textarea.d.ts +1 -1
- package/dist/components/field/use-field.d.cts +11 -11
- package/dist/components/field/use-field.d.ts +11 -11
- package/dist/components/fieldset/use-fieldset.d.cts +3 -3
- package/dist/components/fieldset/use-fieldset.d.ts +3 -3
- package/dist/components/file-upload/file-upload-item-preview.d.cts +1 -1
- package/dist/components/file-upload/file-upload-item-preview.d.ts +1 -1
- package/dist/components/floating-panel/floating-panel-root-provider.d.cts +1 -1
- package/dist/components/floating-panel/floating-panel-root-provider.d.ts +1 -1
- package/dist/components/floating-panel/floating-panel-root.d.cts +1 -1
- package/dist/components/floating-panel/floating-panel-root.d.ts +1 -1
- package/dist/components/focus-trap/focus-trap.d.cts +1 -1
- package/dist/components/focus-trap/focus-trap.d.ts +1 -1
- package/dist/components/format/format-byte.d.cts +2 -2
- package/dist/components/format/format-byte.d.ts +2 -2
- package/dist/components/frame/frame-content.d.cts +3 -3
- package/dist/components/frame/frame-content.d.ts +3 -3
- package/dist/components/frame/frame.d.cts +3 -3
- package/dist/components/frame/frame.d.ts +3 -3
- package/dist/components/hover-card/hover-card-root-provider.d.cts +1 -1
- package/dist/components/hover-card/hover-card-root-provider.d.ts +1 -1
- package/dist/components/hover-card/hover-card-root.d.cts +1 -1
- package/dist/components/hover-card/hover-card-root.d.ts +1 -1
- package/dist/components/index.cjs +2 -0
- package/dist/components/index.js +1 -0
- package/dist/components/listbox/index.cjs +2 -0
- package/dist/components/listbox/index.d.cts +1 -0
- package/dist/components/listbox/index.d.ts +1 -0
- package/dist/components/listbox/index.js +1 -0
- package/dist/components/listbox/listbox-context.cjs +10 -0
- package/dist/components/listbox/listbox-context.js +6 -0
- package/dist/components/listbox/listbox-value-text.d.cts +1 -1
- package/dist/components/listbox/listbox-value-text.d.ts +1 -1
- package/dist/components/listbox/listbox.cjs +2 -0
- package/dist/components/listbox/listbox.d.cts +1 -0
- package/dist/components/listbox/listbox.d.ts +1 -0
- package/dist/components/listbox/listbox.js +1 -0
- package/dist/components/menu/menu-item.d.cts +1 -1
- package/dist/components/menu/menu-item.d.ts +1 -1
- package/dist/components/menu/menu-root-provider.d.cts +1 -1
- package/dist/components/menu/menu-root-provider.d.ts +1 -1
- package/dist/components/menu/menu-root.d.cts +1 -1
- package/dist/components/menu/menu-root.d.ts +1 -1
- package/dist/components/menu/use-menu-item-group-context.d.cts +2 -2
- package/dist/components/menu/use-menu-item-group-context.d.ts +2 -2
- package/dist/components/popover/popover-root-provider.d.cts +1 -1
- package/dist/components/popover/popover-root-provider.d.ts +1 -1
- package/dist/components/popover/popover-root.d.cts +1 -1
- package/dist/components/popover/popover-root.d.ts +1 -1
- package/dist/components/portal/portal.d.cts +2 -2
- package/dist/components/portal/portal.d.ts +2 -2
- package/dist/components/presence/use-presence.d.cts +1 -1
- package/dist/components/presence/use-presence.d.ts +1 -1
- package/dist/components/select/select-value-text.d.cts +1 -1
- package/dist/components/select/select-value-text.d.ts +1 -1
- package/dist/components/toggle/toggle-indicator.d.cts +1 -1
- package/dist/components/toggle/toggle-indicator.d.ts +1 -1
- package/dist/components/tooltip/tooltip-root-provider.d.cts +1 -1
- package/dist/components/tooltip/tooltip-root-provider.d.ts +1 -1
- package/dist/components/tooltip/tooltip-root.d.cts +1 -1
- package/dist/components/tooltip/tooltip-root.d.ts +1 -1
- package/dist/components/tour/tour-root.d.cts +1 -1
- package/dist/components/tour/tour-root.d.ts +1 -1
- package/dist/components/tree-view/index.d.cts +1 -1
- package/dist/components/tree-view/index.d.ts +1 -1
- package/dist/components/tree-view/tree-view-label.cjs +1 -1
- package/dist/components/tree-view/tree-view-label.d.cts +2 -2
- package/dist/components/tree-view/tree-view-label.d.ts +2 -2
- package/dist/components/tree-view/tree-view-label.js +1 -1
- package/dist/components/tree-view/tree-view-node-provider.d.cts +1 -1
- package/dist/components/tree-view/tree-view-node-provider.d.ts +1 -1
- package/dist/components/tree-view/tree-view.d.cts +1 -1
- package/dist/components/tree-view/tree-view.d.ts +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.js +1 -0
- package/dist/providers/environment/environment-provider.d.cts +2 -2
- package/dist/providers/environment/environment-provider.d.ts +2 -2
- package/dist/utils/create-context.d.cts +6 -6
- package/dist/utils/create-context.d.ts +6 -6
- package/dist/utils/render-strategy.d.cts +2 -2
- package/dist/utils/render-strategy.d.ts +2 -2
- package/dist/utils/use-controllable-state.d.cts +3 -3
- package/dist/utils/use-controllable-state.d.ts +3 -3
- package/dist/utils/use-event.d.cts +1 -1
- package/dist/utils/use-event.d.ts +1 -1
- package/package.json +65 -65
|
@@ -4,12 +4,12 @@ export interface RenderStrategyProps {
|
|
|
4
4
|
* Whether to enable lazy mounting
|
|
5
5
|
* @default false
|
|
6
6
|
*/
|
|
7
|
-
lazyMount?: boolean;
|
|
7
|
+
lazyMount?: boolean | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Whether to unmount on exit.
|
|
10
10
|
* @default false
|
|
11
11
|
*/
|
|
12
|
-
unmountOnExit?: boolean;
|
|
12
|
+
unmountOnExit?: boolean | undefined;
|
|
13
13
|
}
|
|
14
14
|
export declare const RenderStrategyPropsProvider: Provider<RenderStrategyProps>, useRenderStrategyPropsContext: () => RenderStrategyProps;
|
|
15
15
|
export declare const splitRenderStrategyProps: <T extends RenderStrategyProps>(props: T) => [RenderStrategyProps, Omit<T, "lazyMount" | "unmountOnExit">];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface UseControllableStateProps<T> {
|
|
2
|
-
value?: T;
|
|
3
|
-
defaultValue?: T;
|
|
4
|
-
onChange?: (value: T) => void;
|
|
2
|
+
value?: T | undefined;
|
|
3
|
+
defaultValue?: T | undefined;
|
|
4
|
+
onChange?: ((value: T) => void) | undefined;
|
|
5
5
|
}
|
|
6
6
|
export declare function useControllableState<T>(props: UseControllableStateProps<T>): readonly [T, (value: T) => void | undefined];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface UseControllableStateProps<T> {
|
|
2
|
-
value?: T;
|
|
3
|
-
defaultValue?: T;
|
|
4
|
-
onChange?: (value: T) => void;
|
|
2
|
+
value?: T | undefined;
|
|
3
|
+
defaultValue?: T | undefined;
|
|
4
|
+
onChange?: ((value: T) => void) | undefined;
|
|
5
5
|
}
|
|
6
6
|
export declare function useControllableState<T>(props: UseControllableStateProps<T>): readonly [T, (value: T) => void | undefined];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark-ui/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.14.
|
|
4
|
+
"version": "5.14.2",
|
|
5
5
|
"description": "A collection of unstyled, accessible UI components for React, utilizing state machines for seamless interaction.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"accordion",
|
|
@@ -141,88 +141,88 @@
|
|
|
141
141
|
"sideEffects": false,
|
|
142
142
|
"dependencies": {
|
|
143
143
|
"@internationalized/date": "3.8.2",
|
|
144
|
-
"@zag-js/accordion": "1.15.
|
|
145
|
-
"@zag-js/angle-slider": "1.15.
|
|
146
|
-
"@zag-js/anatomy": "1.15.
|
|
147
|
-
"@zag-js/auto-resize": "1.15.
|
|
148
|
-
"@zag-js/avatar": "1.15.
|
|
149
|
-
"@zag-js/carousel": "1.15.
|
|
150
|
-
"@zag-js/checkbox": "1.15.
|
|
151
|
-
"@zag-js/clipboard": "1.15.
|
|
152
|
-
"@zag-js/collapsible": "1.15.
|
|
153
|
-
"@zag-js/collection": "1.15.
|
|
154
|
-
"@zag-js/color-picker": "1.15.
|
|
155
|
-
"@zag-js/color-utils": "1.15.
|
|
156
|
-
"@zag-js/combobox": "1.15.
|
|
157
|
-
"@zag-js/core": "1.15.
|
|
158
|
-
"@zag-js/date-picker": "1.15.
|
|
159
|
-
"@zag-js/date-utils": "1.15.
|
|
160
|
-
"@zag-js/dialog": "1.15.
|
|
161
|
-
"@zag-js/dom-query": "1.15.
|
|
162
|
-
"@zag-js/editable": "1.15.
|
|
163
|
-
"@zag-js/file-upload": "1.15.
|
|
164
|
-
"@zag-js/file-utils": "1.15.
|
|
165
|
-
"@zag-js/focus-trap": "1.15.
|
|
166
|
-
"@zag-js/floating-panel": "1.15.
|
|
167
|
-
"@zag-js/highlight-word": "1.15.
|
|
168
|
-
"@zag-js/hover-card": "1.15.
|
|
169
|
-
"@zag-js/i18n-utils": "1.15.
|
|
170
|
-
"@zag-js/listbox": "1.15.
|
|
171
|
-
"@zag-js/menu": "1.15.
|
|
172
|
-
"@zag-js/number-input": "1.15.
|
|
173
|
-
"@zag-js/pagination": "1.15.
|
|
174
|
-
"@zag-js/password-input": "1.15.
|
|
175
|
-
"@zag-js/pin-input": "1.15.
|
|
176
|
-
"@zag-js/popover": "1.15.
|
|
177
|
-
"@zag-js/presence": "1.15.
|
|
178
|
-
"@zag-js/progress": "1.15.
|
|
179
|
-
"@zag-js/qr-code": "1.15.
|
|
180
|
-
"@zag-js/radio-group": "1.15.
|
|
181
|
-
"@zag-js/rating-group": "1.15.
|
|
182
|
-
"@zag-js/react": "1.15.
|
|
183
|
-
"@zag-js/select": "1.15.
|
|
184
|
-
"@zag-js/signature-pad": "1.15.
|
|
185
|
-
"@zag-js/slider": "1.15.
|
|
186
|
-
"@zag-js/splitter": "1.15.
|
|
187
|
-
"@zag-js/steps": "1.15.
|
|
188
|
-
"@zag-js/switch": "1.15.
|
|
189
|
-
"@zag-js/tabs": "1.15.
|
|
190
|
-
"@zag-js/tags-input": "1.15.
|
|
191
|
-
"@zag-js/time-picker": "1.15.
|
|
192
|
-
"@zag-js/timer": "1.15.
|
|
193
|
-
"@zag-js/toast": "1.15.
|
|
194
|
-
"@zag-js/toggle": "1.15.
|
|
195
|
-
"@zag-js/toggle-group": "1.15.
|
|
196
|
-
"@zag-js/tooltip": "1.15.
|
|
197
|
-
"@zag-js/tour": "1.15.
|
|
198
|
-
"@zag-js/tree-view": "1.15.
|
|
199
|
-
"@zag-js/types": "1.15.
|
|
200
|
-
"@zag-js/utils": "1.15.
|
|
144
|
+
"@zag-js/accordion": "1.15.7",
|
|
145
|
+
"@zag-js/angle-slider": "1.15.7",
|
|
146
|
+
"@zag-js/anatomy": "1.15.7",
|
|
147
|
+
"@zag-js/auto-resize": "1.15.7",
|
|
148
|
+
"@zag-js/avatar": "1.15.7",
|
|
149
|
+
"@zag-js/carousel": "1.15.7",
|
|
150
|
+
"@zag-js/checkbox": "1.15.7",
|
|
151
|
+
"@zag-js/clipboard": "1.15.7",
|
|
152
|
+
"@zag-js/collapsible": "1.15.7",
|
|
153
|
+
"@zag-js/collection": "1.15.7",
|
|
154
|
+
"@zag-js/color-picker": "1.15.7",
|
|
155
|
+
"@zag-js/color-utils": "1.15.7",
|
|
156
|
+
"@zag-js/combobox": "1.15.7",
|
|
157
|
+
"@zag-js/core": "1.15.7",
|
|
158
|
+
"@zag-js/date-picker": "1.15.7",
|
|
159
|
+
"@zag-js/date-utils": "1.15.7",
|
|
160
|
+
"@zag-js/dialog": "1.15.7",
|
|
161
|
+
"@zag-js/dom-query": "1.15.7",
|
|
162
|
+
"@zag-js/editable": "1.15.7",
|
|
163
|
+
"@zag-js/file-upload": "1.15.7",
|
|
164
|
+
"@zag-js/file-utils": "1.15.7",
|
|
165
|
+
"@zag-js/focus-trap": "1.15.7",
|
|
166
|
+
"@zag-js/floating-panel": "1.15.7",
|
|
167
|
+
"@zag-js/highlight-word": "1.15.7",
|
|
168
|
+
"@zag-js/hover-card": "1.15.7",
|
|
169
|
+
"@zag-js/i18n-utils": "1.15.7",
|
|
170
|
+
"@zag-js/listbox": "1.15.7",
|
|
171
|
+
"@zag-js/menu": "1.15.7",
|
|
172
|
+
"@zag-js/number-input": "1.15.7",
|
|
173
|
+
"@zag-js/pagination": "1.15.7",
|
|
174
|
+
"@zag-js/password-input": "1.15.7",
|
|
175
|
+
"@zag-js/pin-input": "1.15.7",
|
|
176
|
+
"@zag-js/popover": "1.15.7",
|
|
177
|
+
"@zag-js/presence": "1.15.7",
|
|
178
|
+
"@zag-js/progress": "1.15.7",
|
|
179
|
+
"@zag-js/qr-code": "1.15.7",
|
|
180
|
+
"@zag-js/radio-group": "1.15.7",
|
|
181
|
+
"@zag-js/rating-group": "1.15.7",
|
|
182
|
+
"@zag-js/react": "1.15.7",
|
|
183
|
+
"@zag-js/select": "1.15.7",
|
|
184
|
+
"@zag-js/signature-pad": "1.15.7",
|
|
185
|
+
"@zag-js/slider": "1.15.7",
|
|
186
|
+
"@zag-js/splitter": "1.15.7",
|
|
187
|
+
"@zag-js/steps": "1.15.7",
|
|
188
|
+
"@zag-js/switch": "1.15.7",
|
|
189
|
+
"@zag-js/tabs": "1.15.7",
|
|
190
|
+
"@zag-js/tags-input": "1.15.7",
|
|
191
|
+
"@zag-js/time-picker": "1.15.7",
|
|
192
|
+
"@zag-js/timer": "1.15.7",
|
|
193
|
+
"@zag-js/toast": "1.15.7",
|
|
194
|
+
"@zag-js/toggle": "1.15.7",
|
|
195
|
+
"@zag-js/toggle-group": "1.15.7",
|
|
196
|
+
"@zag-js/tooltip": "1.15.7",
|
|
197
|
+
"@zag-js/tour": "1.15.7",
|
|
198
|
+
"@zag-js/tree-view": "1.15.7",
|
|
199
|
+
"@zag-js/types": "1.15.7",
|
|
200
|
+
"@zag-js/utils": "1.15.7"
|
|
201
201
|
},
|
|
202
202
|
"devDependencies": {
|
|
203
203
|
"@biomejs/biome": "1.9.4",
|
|
204
|
-
"@storybook/addon-a11y": "9.0.
|
|
205
|
-
"@storybook/react-vite": "9.0.
|
|
204
|
+
"@storybook/addon-a11y": "9.0.10",
|
|
205
|
+
"@storybook/react-vite": "9.0.10",
|
|
206
206
|
"@testing-library/dom": "10.4.0",
|
|
207
207
|
"@testing-library/jest-dom": "6.6.3",
|
|
208
208
|
"@testing-library/react": "16.3.0",
|
|
209
209
|
"@testing-library/user-event": "14.6.1",
|
|
210
210
|
"@types/jsdom": "21.1.7",
|
|
211
|
-
"@types/react": "19.1.
|
|
211
|
+
"@types/react": "19.1.8",
|
|
212
212
|
"@types/react-dom": "19.1.6",
|
|
213
213
|
"@vitejs/plugin-react": "4.5.2",
|
|
214
|
-
"@zag-js/stringify-state": "1.15.
|
|
214
|
+
"@zag-js/stringify-state": "1.15.7",
|
|
215
215
|
"clean-package": "2.2.0",
|
|
216
216
|
"globby": "14.1.0",
|
|
217
|
-
"happy-dom": "
|
|
218
|
-
"lucide-react": "0.
|
|
217
|
+
"happy-dom": "18.0.1",
|
|
218
|
+
"lucide-react": "0.515.0",
|
|
219
219
|
"react": "19.1.0",
|
|
220
220
|
"react-dom": "19.1.0",
|
|
221
221
|
"react-shadow": "20.6.0",
|
|
222
222
|
"react-frame-component": "5.2.7",
|
|
223
223
|
"react-hook-form": "7.57.0",
|
|
224
224
|
"resize-observer-polyfill": "1.5.1",
|
|
225
|
-
"storybook": "9.0.
|
|
225
|
+
"storybook": "9.0.10",
|
|
226
226
|
"typescript": "5.8.3",
|
|
227
227
|
"vite": "6.3.5",
|
|
228
228
|
"vite-plugin-dts": "4.5.4",
|