@ark-ui/solid 5.27.0 → 5.28.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/carousel.anatomy-x-SHXq-8.d.ts +5 -0
- package/dist/chunk/3F3SNHGT.jsx +170 -0
- package/dist/chunk/{R7NPOXQE.jsx → 5X56MDAW.jsx} +39 -5
- package/dist/chunk/ABOW3GWC.js +105 -0
- package/dist/chunk/{MMBJRJSN.jsx → BYLUEJKC.jsx} +2 -1
- package/dist/chunk/DPRR355L.jsx +6 -0
- package/dist/chunk/{SQOQ3NCO.js → ENUS5JGY.js} +7 -1
- package/dist/chunk/JCXGPVZQ.js +1 -0
- package/dist/chunk/{TW4Y4SQF.jsx → JDJGE7LR.jsx} +16 -6
- package/dist/chunk/OENRIKKR.js +6 -0
- package/dist/chunk/{MXU773T5.js → RZYJZUHZ.js} +40 -4
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/anatomy.d.ts +3 -2
- package/dist/components/anatomy.js +15 -14
- package/dist/components/anatomy.jsx +57 -53
- package/dist/components/angle-slider/index.d.ts +1 -1
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/bottom-sheet/index.d.ts +2 -2
- package/dist/components/carousel/index.d.ts +23 -5
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/carousel/index.jsx +8 -4
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/clipboard/index.d.ts +1 -1
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/collection/index.d.ts +2 -2
- package/dist/components/color-picker/index.d.ts +8 -5
- package/dist/components/combobox/index.d.ts +11 -7
- package/dist/components/date-picker/index.d.ts +2 -2
- package/dist/components/dialog/index.d.ts +8 -5
- package/dist/components/download-trigger/index.d.ts +1 -1
- package/dist/components/editable/index.d.ts +7 -4
- package/dist/components/factory.d.ts +1 -1
- package/dist/components/field/index.d.ts +1 -1
- package/dist/components/fieldset/index.d.ts +1 -1
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/floating-panel/index.d.ts +2 -2
- package/dist/components/focus-trap/index.d.ts +1 -1
- package/dist/components/frame/index.d.ts +1 -1
- package/dist/components/highlight/index.d.ts +1 -1
- package/dist/components/hover-card/index.d.ts +8 -5
- package/dist/components/image-cropper/index.d.ts +81 -0
- package/dist/components/image-cropper/index.js +2 -0
- package/dist/components/image-cropper/index.jsx +38 -0
- package/dist/components/index.d.ts +23 -20
- package/dist/components/index.js +36 -34
- package/dist/components/index.jsx +342 -308
- package/dist/components/json-tree-view/index.d.ts +2 -2
- package/dist/components/listbox/index.d.ts +6 -6
- package/dist/components/marquee/index.d.ts +9 -3
- package/dist/components/marquee/index.js +1 -1
- package/dist/components/marquee/index.jsx +3 -1
- package/dist/components/menu/index.d.ts +8 -5
- package/dist/components/number-input/index.d.ts +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/password-input/index.d.ts +1 -1
- package/dist/components/pin-input/index.d.ts +1 -1
- package/dist/components/popover/index.d.ts +8 -5
- package/dist/components/presence/index.d.ts +3 -3
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/qr-code/index.d.ts +1 -1
- package/dist/components/radio-group/index.d.ts +1 -1
- package/dist/components/rating-group/index.d.ts +1 -1
- package/dist/components/scroll-area/index.d.ts +1 -1
- package/dist/components/segment-group/index.d.ts +1 -1
- package/dist/components/select/index.d.ts +11 -7
- package/dist/components/signature-pad/index.d.ts +1 -1
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/splitter/index.d.ts +1 -1
- package/dist/components/steps/index.d.ts +1 -1
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tags-input/index.d.ts +7 -4
- package/dist/components/timer/index.d.ts +1 -1
- package/dist/components/toast/index.d.ts +14 -5
- package/dist/components/toggle/index.d.ts +1 -1
- package/dist/components/toggle-group/index.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tour/index.d.ts +9 -6
- package/dist/components/tree-view/index.d.ts +3 -3
- package/dist/index.d.ts +23 -20
- package/dist/index.js +36 -34
- package/dist/index.jsx +344 -310
- package/dist/tour.anatomy-BwE3XSIU.d.ts +5 -0
- package/dist/{tree-view-tree-BEAzL2YS.d.ts → tree-view-tree-DTB5aCol.d.ts} +1 -1
- package/dist/{types-Bc0WfPsv.d.ts → types-Sr_80hg9.d.ts} +1 -2
- package/dist/{use-list-collection-Dk2gVdQ2.d.ts → use-list-collection-Cknid_6N.d.ts} +2 -2
- package/dist/{use-presence-DZuLEWMI.d.ts → use-presence-DsfHkUSW.d.ts} +1 -1
- package/package.json +72 -71
- package/dist/chunk/4EHDEDQ4.js +0 -1
- package/dist/tour.anatomy-LyAf9UF9.d.ts +0 -5
- /package/dist/chunk/{W7H2HSGP.jsx → EDXDNGEO.jsx} +0 -0
- /package/dist/chunk/{RT3P52Y5.js → PJLQLDQ3.js} +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
2
|
+
|
|
3
|
+
declare const tourAnatomy: _zag_js_anatomy.AnatomyInstance<"title" | "content" | "control" | "backdrop" | "closeTrigger" | "progressText" | "positioner" | "description" | "arrow" | "actionTrigger" | "arrowTip" | "spotlight">;
|
|
4
|
+
|
|
5
|
+
export { tourAnatomy as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as solid_js from 'solid-js';
|
|
2
2
|
import { Accessor, JSX } from 'solid-js';
|
|
3
|
-
import { O as Optional, M as MaybeAccessor, A as Assign } from './types-
|
|
3
|
+
import { O as Optional, M as MaybeAccessor, A as Assign } from './types-Sr_80hg9.js';
|
|
4
4
|
import { R as RenderStrategyProps } from './render-strategy-B5MqQP3X.js';
|
|
5
5
|
import { TreeNode, TreeCollection } from '@zag-js/collection';
|
|
6
6
|
import { HTMLProps, PolymorphicProps } from './components/factory.js';
|
|
@@ -2,8 +2,7 @@ import { Accessor } from 'solid-js';
|
|
|
2
2
|
|
|
3
3
|
type Assign<T, U> = Omit<T, keyof U> & U;
|
|
4
4
|
type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
|
5
|
-
type CollectionItem = string | object;
|
|
6
5
|
type MaybeAccessor<T> = Accessor<T> | T;
|
|
7
6
|
type MaybePromise<T> = T | Promise<T>;
|
|
8
7
|
|
|
9
|
-
export type { Assign as A,
|
|
8
|
+
export type { Assign as A, MaybeAccessor as M, Optional as O, MaybePromise as a };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { M as MaybeAccessor } from './types-
|
|
1
|
+
import { M as MaybeAccessor } from './types-Sr_80hg9.js';
|
|
2
2
|
import { CollectionOptions, ListCollection } from '@zag-js/collection';
|
|
3
3
|
|
|
4
4
|
interface UseListCollectionProps<T> extends Omit<CollectionOptions<T>, 'items'> {
|
|
5
5
|
/**
|
|
6
6
|
* The initial items to display in the collection.
|
|
7
7
|
*/
|
|
8
|
-
initialItems: T[];
|
|
8
|
+
initialItems: T[] | readonly T[];
|
|
9
9
|
/**
|
|
10
10
|
* The filter function to use to filter the items.
|
|
11
11
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as solid_js from 'solid-js';
|
|
2
2
|
import * as presence from '@zag-js/presence';
|
|
3
|
-
import { O as Optional, M as MaybeAccessor } from './types-
|
|
3
|
+
import { O as Optional, M as MaybeAccessor } from './types-Sr_80hg9.js';
|
|
4
4
|
import { R as RenderStrategyProps } from './render-strategy-B5MqQP3X.js';
|
|
5
5
|
|
|
6
6
|
interface UsePresenceProps extends Optional<presence.Props, 'present'>, RenderStrategyProps {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark-ui/solid",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.28.0",
|
|
5
5
|
"description": "A collection of unstyled, accessible UI components for Solid, utilizing state machines for seamless interaction.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"accordion",
|
|
@@ -114,76 +114,77 @@
|
|
|
114
114
|
"sideEffects": false,
|
|
115
115
|
"dependencies": {
|
|
116
116
|
"@internationalized/date": "3.10.0",
|
|
117
|
-
"@zag-js/accordion": "1.
|
|
118
|
-
"@zag-js/anatomy": "1.
|
|
119
|
-
"@zag-js/angle-slider": "1.
|
|
120
|
-
"@zag-js/async-list": "1.
|
|
121
|
-
"@zag-js/auto-resize": "1.
|
|
122
|
-
"@zag-js/avatar": "1.
|
|
123
|
-
"@zag-js/bottom-sheet": "1.
|
|
124
|
-
"@zag-js/carousel": "1.
|
|
125
|
-
"@zag-js/checkbox": "1.
|
|
126
|
-
"@zag-js/clipboard": "1.
|
|
127
|
-
"@zag-js/collapsible": "1.
|
|
128
|
-
"@zag-js/collection": "1.
|
|
129
|
-
"@zag-js/color-picker": "1.
|
|
130
|
-
"@zag-js/color-utils": "1.
|
|
131
|
-
"@zag-js/combobox": "1.
|
|
132
|
-
"@zag-js/core": "1.
|
|
133
|
-
"@zag-js/date-picker": "1.
|
|
134
|
-
"@zag-js/date-utils": "1.
|
|
135
|
-
"@zag-js/dialog": "1.
|
|
136
|
-
"@zag-js/dom-query": "1.
|
|
137
|
-
"@zag-js/editable": "1.
|
|
138
|
-
"@zag-js/file-upload": "1.
|
|
139
|
-
"@zag-js/file-utils": "1.
|
|
140
|
-
"@zag-js/floating-panel": "1.
|
|
141
|
-
"@zag-js/focus-trap": "1.
|
|
142
|
-
"@zag-js/highlight-word": "1.
|
|
143
|
-
"@zag-js/hover-card": "1.
|
|
144
|
-
"@zag-js/
|
|
145
|
-
"@zag-js/
|
|
146
|
-
"@zag-js/
|
|
147
|
-
"@zag-js/
|
|
148
|
-
"@zag-js/
|
|
149
|
-
"@zag-js/
|
|
150
|
-
"@zag-js/
|
|
151
|
-
"@zag-js/
|
|
152
|
-
"@zag-js/
|
|
153
|
-
"@zag-js/
|
|
154
|
-
"@zag-js/
|
|
155
|
-
"@zag-js/
|
|
156
|
-
"@zag-js/
|
|
157
|
-
"@zag-js/
|
|
158
|
-
"@zag-js/
|
|
159
|
-
"@zag-js/
|
|
160
|
-
"@zag-js/
|
|
161
|
-
"@zag-js/
|
|
162
|
-
"@zag-js/
|
|
163
|
-
"@zag-js/
|
|
164
|
-
"@zag-js/
|
|
165
|
-
"@zag-js/
|
|
166
|
-
"@zag-js/
|
|
167
|
-
"@zag-js/
|
|
168
|
-
"@zag-js/
|
|
169
|
-
"@zag-js/
|
|
170
|
-
"@zag-js/
|
|
171
|
-
"@zag-js/
|
|
172
|
-
"@zag-js/toggle
|
|
173
|
-
"@zag-js/
|
|
174
|
-
"@zag-js/
|
|
175
|
-
"@zag-js/
|
|
176
|
-
"@zag-js/
|
|
177
|
-
"@zag-js/
|
|
117
|
+
"@zag-js/accordion": "1.27.1",
|
|
118
|
+
"@zag-js/anatomy": "1.27.1",
|
|
119
|
+
"@zag-js/angle-slider": "1.27.1",
|
|
120
|
+
"@zag-js/async-list": "1.27.1",
|
|
121
|
+
"@zag-js/auto-resize": "1.27.1",
|
|
122
|
+
"@zag-js/avatar": "1.27.1",
|
|
123
|
+
"@zag-js/bottom-sheet": "1.27.1",
|
|
124
|
+
"@zag-js/carousel": "1.27.1",
|
|
125
|
+
"@zag-js/checkbox": "1.27.1",
|
|
126
|
+
"@zag-js/clipboard": "1.27.1",
|
|
127
|
+
"@zag-js/collapsible": "1.27.1",
|
|
128
|
+
"@zag-js/collection": "1.27.1",
|
|
129
|
+
"@zag-js/color-picker": "1.27.1",
|
|
130
|
+
"@zag-js/color-utils": "1.27.1",
|
|
131
|
+
"@zag-js/combobox": "1.27.1",
|
|
132
|
+
"@zag-js/core": "1.27.1",
|
|
133
|
+
"@zag-js/date-picker": "1.27.1",
|
|
134
|
+
"@zag-js/date-utils": "1.27.1",
|
|
135
|
+
"@zag-js/dialog": "1.27.1",
|
|
136
|
+
"@zag-js/dom-query": "1.27.1",
|
|
137
|
+
"@zag-js/editable": "1.27.1",
|
|
138
|
+
"@zag-js/file-upload": "1.27.1",
|
|
139
|
+
"@zag-js/file-utils": "1.27.1",
|
|
140
|
+
"@zag-js/floating-panel": "1.27.1",
|
|
141
|
+
"@zag-js/focus-trap": "1.27.1",
|
|
142
|
+
"@zag-js/highlight-word": "1.27.1",
|
|
143
|
+
"@zag-js/hover-card": "1.27.1",
|
|
144
|
+
"@zag-js/image-cropper": "1.27.1",
|
|
145
|
+
"@zag-js/i18n-utils": "1.27.1",
|
|
146
|
+
"@zag-js/json-tree-utils": "1.27.1",
|
|
147
|
+
"@zag-js/listbox": "1.27.1",
|
|
148
|
+
"@zag-js/marquee": "1.27.1",
|
|
149
|
+
"@zag-js/menu": "1.27.1",
|
|
150
|
+
"@zag-js/number-input": "1.27.1",
|
|
151
|
+
"@zag-js/pagination": "1.27.1",
|
|
152
|
+
"@zag-js/password-input": "1.27.1",
|
|
153
|
+
"@zag-js/pin-input": "1.27.1",
|
|
154
|
+
"@zag-js/popover": "1.27.1",
|
|
155
|
+
"@zag-js/presence": "1.27.1",
|
|
156
|
+
"@zag-js/progress": "1.27.1",
|
|
157
|
+
"@zag-js/qr-code": "1.27.1",
|
|
158
|
+
"@zag-js/radio-group": "1.27.1",
|
|
159
|
+
"@zag-js/rating-group": "1.27.1",
|
|
160
|
+
"@zag-js/scroll-area": "1.27.1",
|
|
161
|
+
"@zag-js/select": "1.27.1",
|
|
162
|
+
"@zag-js/signature-pad": "1.27.1",
|
|
163
|
+
"@zag-js/slider": "1.27.1",
|
|
164
|
+
"@zag-js/solid": "1.27.1",
|
|
165
|
+
"@zag-js/splitter": "1.27.1",
|
|
166
|
+
"@zag-js/steps": "1.27.1",
|
|
167
|
+
"@zag-js/switch": "1.27.1",
|
|
168
|
+
"@zag-js/tabs": "1.27.1",
|
|
169
|
+
"@zag-js/tags-input": "1.27.1",
|
|
170
|
+
"@zag-js/timer": "1.27.1",
|
|
171
|
+
"@zag-js/toast": "1.27.1",
|
|
172
|
+
"@zag-js/toggle": "1.27.1",
|
|
173
|
+
"@zag-js/toggle-group": "1.27.1",
|
|
174
|
+
"@zag-js/tooltip": "1.27.1",
|
|
175
|
+
"@zag-js/tour": "1.27.1",
|
|
176
|
+
"@zag-js/tree-view": "1.27.1",
|
|
177
|
+
"@zag-js/types": "1.27.1",
|
|
178
|
+
"@zag-js/utils": "1.27.1"
|
|
178
179
|
},
|
|
179
180
|
"devDependencies": {
|
|
180
181
|
"check-password-strength": "3.0.0",
|
|
181
|
-
"@biomejs/biome": "2.3.
|
|
182
|
+
"@biomejs/biome": "2.3.4",
|
|
182
183
|
"@modular-forms/solid": "0.25.1",
|
|
183
184
|
"@solidjs/testing-library": "0.8.10",
|
|
184
|
-
"@storybook/addon-a11y": "9.1.
|
|
185
|
-
"@storybook/addon-links": "9.1.
|
|
186
|
-
"@storybook/addon-vitest": "9.1.
|
|
185
|
+
"@storybook/addon-a11y": "9.1.16",
|
|
186
|
+
"@storybook/addon-links": "9.1.16",
|
|
187
|
+
"@storybook/addon-vitest": "9.1.16",
|
|
187
188
|
"@testing-library/dom": "10.4.1",
|
|
188
189
|
"@testing-library/jest-dom": "6.9.1",
|
|
189
190
|
"@testing-library/user-event": "14.6.1",
|
|
@@ -193,14 +194,14 @@
|
|
|
193
194
|
"esbuild-plugin-solid": "0.6.0",
|
|
194
195
|
"globby": "15.0.0",
|
|
195
196
|
"jsdom": "26.1.0",
|
|
196
|
-
"lucide-solid": "0.
|
|
197
|
+
"lucide-solid": "0.553.0",
|
|
197
198
|
"resize-observer-polyfill": "1.5.1",
|
|
198
|
-
"solid-js": "1.9.
|
|
199
|
-
"storybook": "9.1.
|
|
199
|
+
"solid-js": "1.9.10",
|
|
200
|
+
"storybook": "9.1.16",
|
|
200
201
|
"storybook-solidjs-vite": "9.0.3",
|
|
201
202
|
"tsup": "8.5.0",
|
|
202
203
|
"typescript": "5.9.3",
|
|
203
|
-
"vite": "7.
|
|
204
|
+
"vite": "7.2.2",
|
|
204
205
|
"vite-plugin-solid": "2.11.10",
|
|
205
206
|
"vitest": "3.2.4",
|
|
206
207
|
"@vitest/coverage-v8": "3.2.4",
|
|
@@ -210,7 +211,7 @@
|
|
|
210
211
|
"solid-js": ">=1.6.0"
|
|
211
212
|
},
|
|
212
213
|
"overrides": {
|
|
213
|
-
"solid-js": "1.9.
|
|
214
|
+
"solid-js": "1.9.10"
|
|
214
215
|
},
|
|
215
216
|
"main": "dist/index.js",
|
|
216
217
|
"module": "dist/index.js",
|
package/dist/chunk/4EHDEDQ4.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { anatomy } from '@zag-js/carousel';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
2
|
-
|
|
3
|
-
declare const tourAnatomy: _zag_js_anatomy.AnatomyInstance<"title" | "content" | "control" | "backdrop" | "closeTrigger" | "positioner" | "description" | "arrow" | "actionTrigger" | "progressText" | "arrowTip" | "spotlight">;
|
|
4
|
-
|
|
5
|
-
export { tourAnatomy as t };
|
|
File without changes
|
|
File without changes
|