@ark-ui/svelte 5.2.0 → 5.3.1

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.
Files changed (55) hide show
  1. package/dist/components/collection/index.d.ts +1 -0
  2. package/dist/components/collection/index.js +1 -0
  3. package/dist/components/collection/use-list-selection.svelte.d.ts +92 -0
  4. package/dist/components/collection/use-list-selection.svelte.js +80 -0
  5. package/dist/components/combobox/combobox-context.svelte.d.ts +10 -3
  6. package/dist/components/combobox/combobox-root-provider.svelte.d.ts +10 -3
  7. package/dist/components/combobox/combobox-root.svelte.d.ts +10 -3
  8. package/dist/components/factory/factory.svelte.d.ts +11 -4
  9. package/dist/components/factory/svg-factory.svelte.d.ts +11 -4
  10. package/dist/components/file-upload/file-upload-root.svelte +8 -1
  11. package/dist/components/file-upload/file-upload-root.svelte.d.ts +1 -1
  12. package/dist/components/index.d.ts +1 -0
  13. package/dist/components/index.js +1 -0
  14. package/dist/components/json-tree-view/get-branch-value.d.ts +3 -0
  15. package/dist/components/json-tree-view/get-branch-value.js +13 -0
  16. package/dist/components/json-tree-view/index.d.ts +5 -0
  17. package/dist/components/json-tree-view/index.js +5 -0
  18. package/dist/components/json-tree-view/json-tree-view-key-node.svelte +23 -0
  19. package/dist/components/json-tree-view/json-tree-view-key-node.svelte.d.ts +14 -0
  20. package/dist/components/json-tree-view/json-tree-view-node.svelte +102 -0
  21. package/dist/components/json-tree-view/json-tree-view-node.svelte.d.ts +24 -0
  22. package/dist/components/json-tree-view/json-tree-view-props-context.d.ts +8 -0
  23. package/dist/components/json-tree-view/json-tree-view-props-context.js +6 -0
  24. package/dist/components/json-tree-view/json-tree-view-root-provider.svelte +12 -0
  25. package/dist/components/json-tree-view/json-tree-view-root-provider.svelte.d.ts +7 -0
  26. package/dist/components/json-tree-view/json-tree-view-root.svelte +54 -0
  27. package/dist/components/json-tree-view/json-tree-view-root.svelte.d.ts +18 -0
  28. package/dist/components/json-tree-view/json-tree-view-tree.svelte +23 -0
  29. package/dist/components/json-tree-view/json-tree-view-tree.svelte.d.ts +9 -0
  30. package/dist/components/json-tree-view/json-tree-view-value-node.svelte +31 -0
  31. package/dist/components/json-tree-view/json-tree-view-value-node.svelte.d.ts +10 -0
  32. package/dist/components/json-tree-view/json-tree-view.d.ts +3 -0
  33. package/dist/components/json-tree-view/json-tree-view.js +3 -0
  34. package/dist/components/json-tree-view/use-json-tree-view.svelte.d.ts +10 -0
  35. package/dist/components/json-tree-view/use-json-tree-view.svelte.js +23 -0
  36. package/dist/components/listbox/listbox-context.svelte.d.ts +10 -3
  37. package/dist/components/listbox/listbox-root-provider.svelte.d.ts +10 -3
  38. package/dist/components/listbox/listbox-root.svelte.d.ts +10 -3
  39. package/dist/components/portal/portal.svelte +15 -27
  40. package/dist/components/portal/portal.svelte.d.ts +1 -1
  41. package/dist/components/select/select-context.svelte.d.ts +10 -3
  42. package/dist/components/select/select-item.svelte.d.ts +10 -3
  43. package/dist/components/select/select-root-provider.svelte.d.ts +10 -3
  44. package/dist/components/select/select-root.svelte.d.ts +10 -3
  45. package/dist/components/signature-pad/signature-pad-root.svelte +10 -3
  46. package/dist/components/signature-pad/signature-pad-root.svelte.d.ts +1 -1
  47. package/dist/components/tour/tour.anatomy.d.ts +1 -1
  48. package/dist/components/tree-view/tree-view-node-context.svelte.d.ts +10 -3
  49. package/dist/components/tree-view/tree-view-node-provider.svelte.d.ts +10 -3
  50. package/dist/components/tree-view/tree-view-root-provider.svelte.d.ts +10 -3
  51. package/dist/components/tree-view/tree-view-root.svelte.d.ts +10 -3
  52. package/dist/components/tree-view/tree-view-split-props.d.ts +1 -1
  53. package/package.json +65 -64
  54. package/dist/components/portal/portal-consumer.svelte +0 -9
  55. package/dist/components/portal/portal-consumer.svelte.d.ts +0 -7
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ark-ui/svelte",
3
3
  "type": "module",
4
- "version": "5.2.0",
4
+ "version": "5.3.1",
5
5
  "description": "A collection of unstyled, accessible UI components for Svelte",
6
6
  "keywords": [
7
7
  "accordion",
@@ -120,80 +120,81 @@
120
120
  "sideEffects": false,
121
121
  "dependencies": {
122
122
  "@internationalized/date": "3.8.2",
123
- "@zag-js/accordion": "1.18.4",
124
- "@zag-js/angle-slider": "1.18.4",
125
- "@zag-js/anatomy": "1.18.4",
126
- "@zag-js/auto-resize": "1.18.4",
127
- "@zag-js/avatar": "1.18.4",
128
- "@zag-js/carousel": "1.18.4",
129
- "@zag-js/checkbox": "1.18.4",
130
- "@zag-js/clipboard": "1.18.4",
131
- "@zag-js/collapsible": "1.18.4",
132
- "@zag-js/collection": "1.18.4",
133
- "@zag-js/color-picker": "1.18.4",
134
- "@zag-js/color-utils": "1.18.4",
135
- "@zag-js/combobox": "1.18.4",
136
- "@zag-js/core": "1.18.4",
137
- "@zag-js/date-picker": "1.18.4",
138
- "@zag-js/date-utils": "1.18.4",
139
- "@zag-js/dialog": "1.18.4",
140
- "@zag-js/dom-query": "1.18.4",
141
- "@zag-js/editable": "1.18.4",
142
- "@zag-js/file-upload": "1.18.4",
143
- "@zag-js/file-utils": "1.18.4",
144
- "@zag-js/focus-trap": "1.18.4",
145
- "@zag-js/floating-panel": "1.18.4",
146
- "@zag-js/highlight-word": "1.18.4",
147
- "@zag-js/hover-card": "1.18.4",
148
- "@zag-js/i18n-utils": "1.18.4",
149
- "@zag-js/listbox": "1.18.4",
150
- "@zag-js/menu": "1.18.4",
151
- "@zag-js/number-input": "1.18.4",
152
- "@zag-js/pagination": "1.18.4",
153
- "@zag-js/password-input": "1.18.4",
154
- "@zag-js/pin-input": "1.18.4",
155
- "@zag-js/popover": "1.18.4",
156
- "@zag-js/presence": "1.18.4",
157
- "@zag-js/progress": "1.18.4",
158
- "@zag-js/qr-code": "1.18.4",
159
- "@zag-js/radio-group": "1.18.4",
160
- "@zag-js/rating-group": "1.18.4",
161
- "@zag-js/svelte": "1.18.4",
162
- "@zag-js/select": "1.18.4",
163
- "@zag-js/signature-pad": "1.18.4",
164
- "@zag-js/slider": "1.18.4",
165
- "@zag-js/splitter": "1.18.4",
166
- "@zag-js/steps": "1.18.4",
167
- "@zag-js/switch": "1.18.4",
168
- "@zag-js/tabs": "1.18.4",
169
- "@zag-js/tags-input": "1.18.4",
170
- "@zag-js/time-picker": "1.18.4",
171
- "@zag-js/timer": "1.18.4",
172
- "@zag-js/toast": "1.18.4",
173
- "@zag-js/toggle": "1.18.4",
174
- "@zag-js/toggle-group": "1.18.4",
175
- "@zag-js/tooltip": "1.18.4",
176
- "@zag-js/tour": "1.18.4",
177
- "@zag-js/tree-view": "1.18.4",
178
- "@zag-js/types": "1.18.4",
179
- "@zag-js/utils": "1.18.4"
123
+ "@zag-js/accordion": "1.20.1",
124
+ "@zag-js/angle-slider": "1.20.1",
125
+ "@zag-js/anatomy": "1.20.1",
126
+ "@zag-js/auto-resize": "1.20.1",
127
+ "@zag-js/avatar": "1.20.1",
128
+ "@zag-js/carousel": "1.20.1",
129
+ "@zag-js/checkbox": "1.20.1",
130
+ "@zag-js/clipboard": "1.20.1",
131
+ "@zag-js/collapsible": "1.20.1",
132
+ "@zag-js/collection": "1.20.1",
133
+ "@zag-js/color-picker": "1.20.1",
134
+ "@zag-js/color-utils": "1.20.1",
135
+ "@zag-js/combobox": "1.20.1",
136
+ "@zag-js/core": "1.20.1",
137
+ "@zag-js/date-picker": "1.20.1",
138
+ "@zag-js/date-utils": "1.20.1",
139
+ "@zag-js/dialog": "1.20.1",
140
+ "@zag-js/dom-query": "1.20.1",
141
+ "@zag-js/editable": "1.20.1",
142
+ "@zag-js/file-upload": "1.20.1",
143
+ "@zag-js/file-utils": "1.20.1",
144
+ "@zag-js/focus-trap": "1.20.1",
145
+ "@zag-js/floating-panel": "1.20.1",
146
+ "@zag-js/highlight-word": "1.20.1",
147
+ "@zag-js/hover-card": "1.20.1",
148
+ "@zag-js/i18n-utils": "1.20.1",
149
+ "@zag-js/json-tree-utils": "1.20.1",
150
+ "@zag-js/listbox": "1.20.1",
151
+ "@zag-js/menu": "1.20.1",
152
+ "@zag-js/number-input": "1.20.1",
153
+ "@zag-js/pagination": "1.20.1",
154
+ "@zag-js/password-input": "1.20.1",
155
+ "@zag-js/pin-input": "1.20.1",
156
+ "@zag-js/popover": "1.20.1",
157
+ "@zag-js/presence": "1.20.1",
158
+ "@zag-js/progress": "1.20.1",
159
+ "@zag-js/qr-code": "1.20.1",
160
+ "@zag-js/radio-group": "1.20.1",
161
+ "@zag-js/rating-group": "1.20.1",
162
+ "@zag-js/svelte": "1.20.1",
163
+ "@zag-js/select": "1.20.1",
164
+ "@zag-js/signature-pad": "1.20.1",
165
+ "@zag-js/slider": "1.20.1",
166
+ "@zag-js/splitter": "1.20.1",
167
+ "@zag-js/steps": "1.20.1",
168
+ "@zag-js/switch": "1.20.1",
169
+ "@zag-js/tabs": "1.20.1",
170
+ "@zag-js/tags-input": "1.20.1",
171
+ "@zag-js/time-picker": "1.20.1",
172
+ "@zag-js/timer": "1.20.1",
173
+ "@zag-js/toast": "1.20.1",
174
+ "@zag-js/toggle": "1.20.1",
175
+ "@zag-js/toggle-group": "1.20.1",
176
+ "@zag-js/tooltip": "1.20.1",
177
+ "@zag-js/tour": "1.20.1",
178
+ "@zag-js/tree-view": "1.20.1",
179
+ "@zag-js/types": "1.20.1",
180
+ "@zag-js/utils": "1.20.1"
180
181
  },
181
182
  "devDependencies": {
182
- "@storybook/addon-a11y": "9.0.17",
183
- "@storybook/sveltekit": "9.0.17",
183
+ "@storybook/addon-a11y": "9.0.18",
184
+ "@storybook/sveltekit": "9.0.18",
184
185
  "@sveltejs/adapter-auto": "6.0.1",
185
- "@sveltejs/kit": "2.25.0",
186
+ "@sveltejs/kit": "2.25.1",
186
187
  "@sveltejs/package": "2.4.0",
187
188
  "@sveltejs/vite-plugin-svelte": "6.1.0",
188
- "@tanstack/svelte-form": "1.14.0",
189
+ "@tanstack/svelte-form": "1.14.2",
189
190
  "@testing-library/jest-dom": "6.6.3",
190
191
  "@testing-library/svelte": "5.2.8",
191
192
  "@testing-library/user-event": "14.6.1",
192
193
  "@vitest/coverage-v8": "3.2.4",
193
194
  "clean-package": "2.2.0",
194
195
  "lucide-svelte": "0.525.0",
195
- "storybook": "9.0.17",
196
- "svelte": "5.36.7",
196
+ "storybook": "9.0.18",
197
+ "svelte": "5.36.13",
197
198
  "svelte-check": "4.3.0",
198
199
  "tslib": "2.8.1",
199
200
  "typescript": "5.8.3",
@@ -1,9 +0,0 @@
1
- <script lang="ts">
2
- import type { Snippet } from 'svelte'
3
-
4
- const { children }: { children: Snippet } = $props()
5
- </script>
6
-
7
- {#if children}
8
- {@render children()}
9
- {/if}
@@ -1,7 +0,0 @@
1
- import type { Snippet } from 'svelte';
2
- type $$ComponentProps = {
3
- children: Snippet;
4
- };
5
- declare const PortalConsumer: import("svelte").Component<$$ComponentProps, {}, "">;
6
- type PortalConsumer = ReturnType<typeof PortalConsumer>;
7
- export default PortalConsumer;