ui-ingredients 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  export { default as Control } from './angle-slider-control.svelte';
2
2
  export { default as HiddenInput } from './angle-slider-hidden-input.svelte';
3
- export { default as SliderLabel } from './angle-slider-label.svelte';
3
+ export { default as Label } from './angle-slider-label.svelte';
4
4
  export { default as MarkerGroup } from './angle-slider-marker-group.svelte';
5
5
  export { default as Marker } from './angle-slider-marker.svelte';
6
6
  export { default as Root } from './angle-slider-root.svelte';
@@ -1,6 +1,6 @@
1
1
  export { default as Control } from './angle-slider-control.svelte';
2
2
  export { default as HiddenInput } from './angle-slider-hidden-input.svelte';
3
- export { default as SliderLabel } from './angle-slider-label.svelte';
3
+ export { default as Label } from './angle-slider-label.svelte';
4
4
  export { default as MarkerGroup } from './angle-slider-marker-group.svelte';
5
5
  export { default as Marker } from './angle-slider-marker.svelte';
6
6
  export { default as Root } from './angle-slider-root.svelte';
@@ -1 +1,2 @@
1
+ export { default as PortalProvider, type PortalProviderProps, } from './portal-provider.svelte';
1
2
  export { default as Portal, type PortalProps } from './portal.svelte';
@@ -1 +1,2 @@
1
+ export { default as PortalProvider, } from './portal-provider.svelte';
1
2
  export { default as Portal } from './portal.svelte';
@@ -0,0 +1,7 @@
1
+ export declare const getPortalProviderPropsContext: () => {
2
+ container?: HTMLElement;
3
+ } | undefined, setPortalProviderPropsContext: (context: {
4
+ container?: HTMLElement;
5
+ } | (() => {
6
+ container?: HTMLElement;
7
+ })) => void;
@@ -0,0 +1,2 @@
1
+ import { createContext } from '../create-context.svelte.js';
2
+ export const [getPortalProviderPropsContext, setPortalProviderPropsContext] = createContext('PortalProvider [PROPS]', false);
@@ -0,0 +1,21 @@
1
+ <script lang="ts" module>
2
+ import type {Snippet} from 'svelte';
3
+ import {setPortalProviderPropsContext} from './portal-context.svelte.js';
4
+
5
+ export interface PortalProviderProps {
6
+ container?: HTMLElement;
7
+ children?: Snippet;
8
+ }
9
+ </script>
10
+
11
+ <script lang="ts">
12
+ let {container, children}: PortalProviderProps = $props();
13
+
14
+ setPortalProviderPropsContext({
15
+ get container() {
16
+ return container;
17
+ },
18
+ });
19
+ </script>
20
+
21
+ {@render children?.()}
@@ -0,0 +1,23 @@
1
+ import type { Snippet } from 'svelte';
2
+ export interface PortalProviderProps {
3
+ container?: HTMLElement;
4
+ children?: Snippet;
5
+ }
6
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
7
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
8
+ $$bindings?: Bindings;
9
+ } & Exports;
10
+ (internal: unknown, props: Props & {
11
+ $$events?: Events;
12
+ $$slots?: Slots;
13
+ }): Exports & {
14
+ $set?: any;
15
+ $on?: any;
16
+ };
17
+ z_$$bindings?: Bindings;
18
+ }
19
+ declare const PortalProvider: $$__sveltets_2_IsomorphicComponent<PortalProviderProps, {
20
+ [evt: string]: CustomEvent<any>;
21
+ }, {}, {}, "">;
22
+ type PortalProvider = InstanceType<typeof PortalProvider>;
23
+ export default PortalProvider;
@@ -1,32 +1,40 @@
1
- <script lang="ts" module>
2
- import {type Snippet} from 'svelte';
3
-
4
- export interface PortalProps {
5
- container?: HTMLElement;
6
- disabled?: boolean;
7
- children: Snippet;
8
- [x: `data-${string}`]: string | number | boolean | null | undefined;
9
- }
10
- </script>
11
-
12
- <script lang="ts">
13
- import {getEnvironmentContext} from '../environment-provider/index.js';
14
- import {portal} from '@zag-js/svelte';
15
-
16
- let {container, disabled, children, ...props}: PortalProps = $props();
17
-
18
- let environment = getEnvironmentContext();
19
- </script>
20
-
21
- <div
22
- use:portal={{
23
- disabled,
24
- container,
25
- getRootNode: environment?.getRootNode,
26
- }}
27
- data-scope="portal"
28
- data-part="root"
29
- {...props}
30
- >
31
- {@render children?.()}
32
- </div>
1
+ <script lang="ts" module>
2
+ import type {Assign} from '../types.js';
3
+ import type {SvelteHTMLElements} from 'svelte/elements';
4
+
5
+ interface PortalActionProps {
6
+ disabled?: boolean;
7
+ container?: HTMLElement;
8
+ }
9
+
10
+ export interface PortalProps
11
+ extends Assign<SvelteHTMLElements['div'], PortalActionProps> {}
12
+ </script>
13
+
14
+ <script lang="ts">
15
+ import {getEnvironmentContext} from '../environment-provider/index.js';
16
+ import {portal} from '@zag-js/svelte';
17
+ import {createSplitProps} from '@zag-js/utils';
18
+ import {getPortalProviderPropsContext} from './portal-context.svelte.js';
19
+
20
+ let {children, ...props}: PortalProps = $props();
21
+
22
+ let [portalActionProps, localProps] = createSplitProps<PortalActionProps>([
23
+ 'container',
24
+ 'disabled',
25
+ ])(props);
26
+
27
+ let portalProviderProps = getPortalProviderPropsContext();
28
+ let environment = getEnvironmentContext();
29
+ </script>
30
+
31
+ <div
32
+ use:portal={{
33
+ ...portalProviderProps,
34
+ ...portalActionProps,
35
+ getRootNode: environment?.getRootNode,
36
+ }}
37
+ {...localProps}
38
+ >
39
+ {@render children?.()}
40
+ </div>
@@ -1,9 +1,10 @@
1
- import { type Snippet } from 'svelte';
2
- export interface PortalProps {
3
- container?: HTMLElement;
1
+ import type { Assign } from '../types.js';
2
+ import type { SvelteHTMLElements } from 'svelte/elements';
3
+ interface PortalActionProps {
4
4
  disabled?: boolean;
5
- children: Snippet;
6
- [x: `data-${string}`]: string | number | boolean | null | undefined;
5
+ container?: HTMLElement;
6
+ }
7
+ export interface PortalProps extends Assign<SvelteHTMLElements['div'], PortalActionProps> {
7
8
  }
8
9
  interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
9
10
  new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
package/package.json CHANGED
@@ -1,404 +1,404 @@
1
- {
2
- "name": "ui-ingredients",
3
- "type": "module",
4
- "license": "MIT",
5
- "version": "0.17.0",
6
- "packageManager": "pnpm@9.14.2",
7
- "svelte": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
- "exports": {
10
- ".": {
11
- "types": "./dist/index.d.ts",
12
- "svelte": "./dist/index.js"
13
- },
14
- "./accordion": {
15
- "types": "./dist/accordion/index.d.ts",
16
- "svelte": "./dist/accordion/index.js"
17
- },
18
- "./alert": {
19
- "types": "./dist/alert/index.d.ts",
20
- "svelte": "./dist/alert/index.js"
21
- },
22
- "./alert-dialog": {
23
- "types": "./dist/alert-dialog/index.d.ts",
24
- "svelte": "./dist/alert-dialog/index.js"
25
- },
26
- "./avatar": {
27
- "types": "./dist/avatar/index.d.ts",
28
- "svelte": "./dist/avatar/index.js"
29
- },
30
- "./breadcrumbs": {
31
- "types": "./dist/breadcrumbs/index.d.ts",
32
- "svelte": "./dist/breadcrumbs/index.js"
33
- },
34
- "./carousel": {
35
- "types": "./dist/carousel/index.d.ts",
36
- "svelte": "./dist/carousel/index.js"
37
- },
38
- "./checkbox": {
39
- "types": "./dist/checkbox/index.d.ts",
40
- "svelte": "./dist/checkbox/index.js"
41
- },
42
- "./clipboard": {
43
- "types": "./dist/clipboard/index.d.ts",
44
- "svelte": "./dist/clipboard/index.js"
45
- },
46
- "./collapsible": {
47
- "types": "./dist/collapsible/index.d.ts",
48
- "svelte": "./dist/collapsible/index.js"
49
- },
50
- "./color-picker": {
51
- "types": "./dist/color-picker/index.d.ts",
52
- "svelte": "./dist/color-picker/index.js"
53
- },
54
- "./combobox": {
55
- "types": "./dist/combobox/index.d.ts",
56
- "svelte": "./dist/combobox/index.js"
57
- },
58
- "./date-picker": {
59
- "types": "./dist/date-picker/index.d.ts",
60
- "svelte": "./dist/date-picker/index.js"
61
- },
62
- "./dialog": {
63
- "types": "./dist/dialog/index.d.ts",
64
- "svelte": "./dist/dialog/index.js"
65
- },
66
- "./drawer": {
67
- "types": "./dist/drawer/index.d.ts",
68
- "svelte": "./dist/drawer/index.js"
69
- },
70
- "./editable": {
71
- "types": "./dist/editable/index.d.ts",
72
- "svelte": "./dist/editable/index.js"
73
- },
74
- "./environment-provider": {
75
- "types": "./dist/environment-provider/index.d.ts",
76
- "svelte": "./dist/environment-provider/index.js"
77
- },
78
- "./field": {
79
- "types": "./dist/field/index.d.ts",
80
- "svelte": "./dist/field/index.js"
81
- },
82
- "./file-upload": {
83
- "types": "./dist/file-upload/index.d.ts",
84
- "svelte": "./dist/file-upload/index.js"
85
- },
86
- "./floating-panel": {
87
- "types": "./dist/floating-panel/index.d.ts",
88
- "svelte": "./dist/floating-panel/index.js"
89
- },
90
- "./highlight": {
91
- "types": "./dist/highlight/index.d.ts",
92
- "svelte": "./dist/highlight/index.js"
93
- },
94
- "./hover-card": {
95
- "types": "./dist/hover-card/index.d.ts",
96
- "svelte": "./dist/hover-card/index.js"
97
- },
98
- "./locale-provider": {
99
- "types": "./dist/locale-provider/index.d.ts",
100
- "svelte": "./dist/locale-provider/index.js"
101
- },
102
- "./menu": {
103
- "types": "./dist/menu/index.d.ts",
104
- "svelte": "./dist/menu/index.js"
105
- },
106
- "./number-input": {
107
- "types": "./dist/number-input/index.d.ts",
108
- "svelte": "./dist/number-input/index.js"
109
- },
110
- "./pagination": {
111
- "types": "./dist/pagination/index.d.ts",
112
- "svelte": "./dist/pagination/index.js"
113
- },
114
- "./pin-input": {
115
- "types": "./dist/pin-input/index.d.ts",
116
- "svelte": "./dist/pin-input/index.js"
117
- },
118
- "./popover": {
119
- "types": "./dist/popover/index.d.ts",
120
- "svelte": "./dist/popover/index.js"
121
- },
122
- "./portal": {
123
- "types": "./dist/portal/index.d.ts",
124
- "svelte": "./dist/portal/index.js"
125
- },
126
- "./presence": {
127
- "types": "./dist/presence/index.d.ts",
128
- "svelte": "./dist/presence/index.js"
129
- },
130
- "./progress": {
131
- "types": "./dist/progress/index.d.ts",
132
- "svelte": "./dist/progress/index.js"
133
- },
134
- "./qr-code": {
135
- "types": "./dist/qr-code/index.d.ts",
136
- "svelte": "./dist/qr-code/index.js"
137
- },
138
- "./radio-group": {
139
- "types": "./dist/radio-group/index.d.ts",
140
- "svelte": "./dist/radio-group/index.js"
141
- },
142
- "./rating-group": {
143
- "types": "./dist/rating-group/index.d.ts",
144
- "svelte": "./dist/rating-group/index.js"
145
- },
146
- "./segment-group": {
147
- "types": "./dist/segment-group/index.d.ts",
148
- "svelte": "./dist/segment-group/index.js"
149
- },
150
- "./select": {
151
- "types": "./dist/select/index.d.ts",
152
- "svelte": "./dist/select/index.js"
153
- },
154
- "./signature-pad": {
155
- "types": "./dist/signature-pad/index.d.ts",
156
- "svelte": "./dist/signature-pad/index.js"
157
- },
158
- "./slider": {
159
- "types": "./dist/slider/index.d.ts",
160
- "svelte": "./dist/slider/index.js"
161
- },
162
- "./splitter": {
163
- "types": "./dist/splitter/index.d.ts",
164
- "svelte": "./dist/splitter/index.js"
165
- },
166
- "./steps": {
167
- "types": "./dist/steps/index.d.ts",
168
- "svelte": "./dist/steps/index.js"
169
- },
170
- "./switch": {
171
- "types": "./dist/switch/index.d.ts",
172
- "svelte": "./dist/switch/index.js"
173
- },
174
- "./tabs": {
175
- "types": "./dist/tabs/index.d.ts",
176
- "svelte": "./dist/tabs/index.js"
177
- },
178
- "./tags-input": {
179
- "types": "./dist/tags-input/index.d.ts",
180
- "svelte": "./dist/tags-input/index.js"
181
- },
182
- "./time-picker": {
183
- "types": "./dist/time-picker/index.d.ts",
184
- "svelte": "./dist/time-picker/index.js"
185
- },
186
- "./timer": {
187
- "types": "./dist/timer/index.d.ts",
188
- "svelte": "./dist/timer/index.js"
189
- },
190
- "./toast": {
191
- "types": "./dist/toast/index.d.ts",
192
- "svelte": "./dist/toast/index.js"
193
- },
194
- "./toggle": {
195
- "types": "./dist/toggle/index.d.ts",
196
- "svelte": "./dist/toggle/index.js"
197
- },
198
- "./toggle-group": {
199
- "types": "./dist/toggle-group/index.d.ts",
200
- "svelte": "./dist/toggle-group/index.js"
201
- },
202
- "./tooltip": {
203
- "types": "./dist/tooltip/index.d.ts",
204
- "svelte": "./dist/tooltip/index.js"
205
- },
206
- "./tour": {
207
- "types": "./dist/tour/index.d.ts",
208
- "svelte": "./dist/tour/index.js"
209
- },
210
- "./tree-view": {
211
- "types": "./dist/tree-view/index.d.ts",
212
- "svelte": "./dist/tree-view/index.js"
213
- },
214
- "./anatomy": {
215
- "types": "./dist/anatomy.d.ts",
216
- "import": "./dist/anatomy.js"
217
- }
218
- },
219
- "files": [
220
- "dist",
221
- "!dist/**/*.test.*",
222
- "!dist/**/*.spec.*"
223
- ],
224
- "author": {
225
- "name": "John Paul Calvo",
226
- "email": "calvojp92@gmail.com"
227
- },
228
- "repository": {
229
- "type": "git",
230
- "url": "git+https://github.com/calvo-jp/ui-ingredients.git",
231
- "directory": "packages/core"
232
- },
233
- "bugs": {
234
- "url": "https://github.com/calvo-jp/ui-ingredients/issues",
235
- "email": "calvojp92@gmail.com"
236
- },
237
- "description": "Headless component library for Svelte powered by zag",
238
- "keywords": [
239
- "Svelte",
240
- "Component Library",
241
- "Headless UI",
242
- "Accordion",
243
- "Alert",
244
- "Alert Dialog",
245
- "Avatar",
246
- "Breadcrumbs",
247
- "Carousel",
248
- "Checkbox",
249
- "Clipboard",
250
- "Collapsible",
251
- "Color Picker",
252
- "Combobox",
253
- "Date Picker",
254
- "Dialog",
255
- "Drawer",
256
- "Editable",
257
- "Field",
258
- "File Upload",
259
- "Floating Panel",
260
- "Highlight",
261
- "Hover Card",
262
- "Menu",
263
- "Number Input",
264
- "Pagination",
265
- "Pin Input",
266
- "Popover",
267
- "Portal",
268
- "Presence",
269
- "Progress",
270
- "QR Code",
271
- "Radio Group",
272
- "Rating Group",
273
- "Segment Group",
274
- "Select",
275
- "Signature Pad",
276
- "Slider",
277
- "Splitter",
278
- "Steps",
279
- "Switch",
280
- "Tabs",
281
- "Tags Input",
282
- "Time Picker",
283
- "Timer",
284
- "Toast",
285
- "Toggle",
286
- "Toggle Group",
287
- "Tooltip",
288
- "Tour",
289
- "Tree View"
290
- ],
291
- "publishConfig": {
292
- "access": "public"
293
- },
294
- "scripts": {
295
- "dev": "vite dev",
296
- "build": "vite build && npm run package",
297
- "preview": "vite preview",
298
- "package": "svelte-kit sync && svelte-package && publint",
299
- "prepublishOnly": "npm run package",
300
- "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
301
- "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
302
- "test": "vitest",
303
- "release": "release-it"
304
- },
305
- "dependencies": {
306
- "@zag-js/accordion": "^0.78.0",
307
- "@zag-js/anatomy": "^0.78.0",
308
- "@zag-js/angle-slider": "^0.78.0",
309
- "@zag-js/auto-resize": "^0.78.0",
310
- "@zag-js/avatar": "^0.78.0",
311
- "@zag-js/carousel": "^0.78.0",
312
- "@zag-js/checkbox": "^0.78.0",
313
- "@zag-js/clipboard": "^0.78.0",
314
- "@zag-js/collapsible": "^0.78.0",
315
- "@zag-js/color-picker": "^0.78.0",
316
- "@zag-js/combobox": "^0.78.0",
317
- "@zag-js/core": "^0.78.0",
318
- "@zag-js/date-picker": "^0.78.0",
319
- "@zag-js/dialog": "^0.78.0",
320
- "@zag-js/dom-query": "^0.78.0",
321
- "@zag-js/editable": "^0.78.0",
322
- "@zag-js/file-upload": "^0.78.0",
323
- "@zag-js/floating-panel": "^0.78.0",
324
- "@zag-js/highlight-word": "^0.78.0",
325
- "@zag-js/hover-card": "^0.78.0",
326
- "@zag-js/i18n-utils": "^0.78.0",
327
- "@zag-js/menu": "^0.78.0",
328
- "@zag-js/number-input": "^0.78.0",
329
- "@zag-js/pagination": "^0.78.0",
330
- "@zag-js/pin-input": "^0.78.0",
331
- "@zag-js/popover": "^0.78.0",
332
- "@zag-js/presence": "^0.78.0",
333
- "@zag-js/progress": "^0.78.0",
334
- "@zag-js/qr-code": "^0.78.0",
335
- "@zag-js/radio-group": "^0.78.0",
336
- "@zag-js/rating-group": "^0.78.0",
337
- "@zag-js/select": "^0.78.0",
338
- "@zag-js/signature-pad": "^0.78.0",
339
- "@zag-js/slider": "^0.78.0",
340
- "@zag-js/splitter": "^0.78.0",
341
- "@zag-js/steps": "^0.78.0",
342
- "@zag-js/svelte": "^0.78.0",
343
- "@zag-js/switch": "^0.78.0",
344
- "@zag-js/tabs": "^0.78.0",
345
- "@zag-js/tags-input": "^0.78.0",
346
- "@zag-js/time-picker": "^0.78.0",
347
- "@zag-js/timer": "^0.78.0",
348
- "@zag-js/toast": "^0.78.0",
349
- "@zag-js/toggle-group": "^0.78.0",
350
- "@zag-js/tooltip": "^0.78.0",
351
- "@zag-js/tour": "^0.78.0",
352
- "@zag-js/tree-view": "^0.78.0",
353
- "@zag-js/utils": "^0.78.0"
354
- },
355
- "peerDependencies": {
356
- "svelte": ">=5.0.0"
357
- },
358
- "devDependencies": {
359
- "@faker-js/faker": "^9.2.0",
360
- "@sveltejs/adapter-vercel": "^5.4.8",
361
- "@sveltejs/kit": "^2.8.2",
362
- "@sveltejs/package": "^2.3.7",
363
- "@sveltejs/vite-plugin-svelte": "^4.0.1",
364
- "@testing-library/jest-dom": "^6.6.3",
365
- "@testing-library/svelte": "^5.2.6",
366
- "@testing-library/user-event": "^14.5.2",
367
- "@types/jsdom": "^21.1.7",
368
- "@untitled-theme/icons-svelte": "^0.12.0",
369
- "autoprefixer": "^10.4.20",
370
- "globals": "^15.12.0",
371
- "jsdom": "^25.0.1",
372
- "postcss": "^8.4.49",
373
- "publint": "^0.2.12",
374
- "release-it": "^17.10.0",
375
- "resize-observer-polyfill": "^1.5.1",
376
- "svelte": "^5.2.7",
377
- "svelte-check": "^4.1.0",
378
- "tailwind-merge": "^2.5.4",
379
- "tailwind-variants": "^0.3.0",
380
- "tailwindcss": "^3.4.15",
381
- "typescript": "^5.7.2",
382
- "vite": "^5.4.11",
383
- "vitest": "^2.1.5",
384
- "vitest-axe": "^1.0.0-pre.3",
385
- "vitest-canvas-mock": "^0.3.3"
386
- },
387
- "release-it": {
388
- "git": {
389
- "commitMessage": "chore: release ${npm.name} v${version}",
390
- "tagName": "${npm.name}@${version}"
391
- },
392
- "github": {
393
- "release": false
394
- },
395
- "hooks": {
396
- "before:init": [
397
- "pnpm check"
398
- ],
399
- "after:bump": [
400
- "pnpm package"
401
- ]
402
- }
403
- }
404
- }
1
+ {
2
+ "name": "ui-ingredients",
3
+ "type": "module",
4
+ "license": "MIT",
5
+ "version": "0.18.0",
6
+ "packageManager": "pnpm@9.14.4",
7
+ "svelte": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "svelte": "./dist/index.js"
13
+ },
14
+ "./accordion": {
15
+ "types": "./dist/accordion/index.d.ts",
16
+ "svelte": "./dist/accordion/index.js"
17
+ },
18
+ "./alert": {
19
+ "types": "./dist/alert/index.d.ts",
20
+ "svelte": "./dist/alert/index.js"
21
+ },
22
+ "./alert-dialog": {
23
+ "types": "./dist/alert-dialog/index.d.ts",
24
+ "svelte": "./dist/alert-dialog/index.js"
25
+ },
26
+ "./avatar": {
27
+ "types": "./dist/avatar/index.d.ts",
28
+ "svelte": "./dist/avatar/index.js"
29
+ },
30
+ "./breadcrumbs": {
31
+ "types": "./dist/breadcrumbs/index.d.ts",
32
+ "svelte": "./dist/breadcrumbs/index.js"
33
+ },
34
+ "./carousel": {
35
+ "types": "./dist/carousel/index.d.ts",
36
+ "svelte": "./dist/carousel/index.js"
37
+ },
38
+ "./checkbox": {
39
+ "types": "./dist/checkbox/index.d.ts",
40
+ "svelte": "./dist/checkbox/index.js"
41
+ },
42
+ "./clipboard": {
43
+ "types": "./dist/clipboard/index.d.ts",
44
+ "svelte": "./dist/clipboard/index.js"
45
+ },
46
+ "./collapsible": {
47
+ "types": "./dist/collapsible/index.d.ts",
48
+ "svelte": "./dist/collapsible/index.js"
49
+ },
50
+ "./color-picker": {
51
+ "types": "./dist/color-picker/index.d.ts",
52
+ "svelte": "./dist/color-picker/index.js"
53
+ },
54
+ "./combobox": {
55
+ "types": "./dist/combobox/index.d.ts",
56
+ "svelte": "./dist/combobox/index.js"
57
+ },
58
+ "./date-picker": {
59
+ "types": "./dist/date-picker/index.d.ts",
60
+ "svelte": "./dist/date-picker/index.js"
61
+ },
62
+ "./dialog": {
63
+ "types": "./dist/dialog/index.d.ts",
64
+ "svelte": "./dist/dialog/index.js"
65
+ },
66
+ "./drawer": {
67
+ "types": "./dist/drawer/index.d.ts",
68
+ "svelte": "./dist/drawer/index.js"
69
+ },
70
+ "./editable": {
71
+ "types": "./dist/editable/index.d.ts",
72
+ "svelte": "./dist/editable/index.js"
73
+ },
74
+ "./environment-provider": {
75
+ "types": "./dist/environment-provider/index.d.ts",
76
+ "svelte": "./dist/environment-provider/index.js"
77
+ },
78
+ "./field": {
79
+ "types": "./dist/field/index.d.ts",
80
+ "svelte": "./dist/field/index.js"
81
+ },
82
+ "./file-upload": {
83
+ "types": "./dist/file-upload/index.d.ts",
84
+ "svelte": "./dist/file-upload/index.js"
85
+ },
86
+ "./floating-panel": {
87
+ "types": "./dist/floating-panel/index.d.ts",
88
+ "svelte": "./dist/floating-panel/index.js"
89
+ },
90
+ "./highlight": {
91
+ "types": "./dist/highlight/index.d.ts",
92
+ "svelte": "./dist/highlight/index.js"
93
+ },
94
+ "./hover-card": {
95
+ "types": "./dist/hover-card/index.d.ts",
96
+ "svelte": "./dist/hover-card/index.js"
97
+ },
98
+ "./locale-provider": {
99
+ "types": "./dist/locale-provider/index.d.ts",
100
+ "svelte": "./dist/locale-provider/index.js"
101
+ },
102
+ "./menu": {
103
+ "types": "./dist/menu/index.d.ts",
104
+ "svelte": "./dist/menu/index.js"
105
+ },
106
+ "./number-input": {
107
+ "types": "./dist/number-input/index.d.ts",
108
+ "svelte": "./dist/number-input/index.js"
109
+ },
110
+ "./pagination": {
111
+ "types": "./dist/pagination/index.d.ts",
112
+ "svelte": "./dist/pagination/index.js"
113
+ },
114
+ "./pin-input": {
115
+ "types": "./dist/pin-input/index.d.ts",
116
+ "svelte": "./dist/pin-input/index.js"
117
+ },
118
+ "./popover": {
119
+ "types": "./dist/popover/index.d.ts",
120
+ "svelte": "./dist/popover/index.js"
121
+ },
122
+ "./portal": {
123
+ "types": "./dist/portal/index.d.ts",
124
+ "svelte": "./dist/portal/index.js"
125
+ },
126
+ "./presence": {
127
+ "types": "./dist/presence/index.d.ts",
128
+ "svelte": "./dist/presence/index.js"
129
+ },
130
+ "./progress": {
131
+ "types": "./dist/progress/index.d.ts",
132
+ "svelte": "./dist/progress/index.js"
133
+ },
134
+ "./qr-code": {
135
+ "types": "./dist/qr-code/index.d.ts",
136
+ "svelte": "./dist/qr-code/index.js"
137
+ },
138
+ "./radio-group": {
139
+ "types": "./dist/radio-group/index.d.ts",
140
+ "svelte": "./dist/radio-group/index.js"
141
+ },
142
+ "./rating-group": {
143
+ "types": "./dist/rating-group/index.d.ts",
144
+ "svelte": "./dist/rating-group/index.js"
145
+ },
146
+ "./segment-group": {
147
+ "types": "./dist/segment-group/index.d.ts",
148
+ "svelte": "./dist/segment-group/index.js"
149
+ },
150
+ "./select": {
151
+ "types": "./dist/select/index.d.ts",
152
+ "svelte": "./dist/select/index.js"
153
+ },
154
+ "./signature-pad": {
155
+ "types": "./dist/signature-pad/index.d.ts",
156
+ "svelte": "./dist/signature-pad/index.js"
157
+ },
158
+ "./slider": {
159
+ "types": "./dist/slider/index.d.ts",
160
+ "svelte": "./dist/slider/index.js"
161
+ },
162
+ "./splitter": {
163
+ "types": "./dist/splitter/index.d.ts",
164
+ "svelte": "./dist/splitter/index.js"
165
+ },
166
+ "./steps": {
167
+ "types": "./dist/steps/index.d.ts",
168
+ "svelte": "./dist/steps/index.js"
169
+ },
170
+ "./switch": {
171
+ "types": "./dist/switch/index.d.ts",
172
+ "svelte": "./dist/switch/index.js"
173
+ },
174
+ "./tabs": {
175
+ "types": "./dist/tabs/index.d.ts",
176
+ "svelte": "./dist/tabs/index.js"
177
+ },
178
+ "./tags-input": {
179
+ "types": "./dist/tags-input/index.d.ts",
180
+ "svelte": "./dist/tags-input/index.js"
181
+ },
182
+ "./time-picker": {
183
+ "types": "./dist/time-picker/index.d.ts",
184
+ "svelte": "./dist/time-picker/index.js"
185
+ },
186
+ "./timer": {
187
+ "types": "./dist/timer/index.d.ts",
188
+ "svelte": "./dist/timer/index.js"
189
+ },
190
+ "./toast": {
191
+ "types": "./dist/toast/index.d.ts",
192
+ "svelte": "./dist/toast/index.js"
193
+ },
194
+ "./toggle": {
195
+ "types": "./dist/toggle/index.d.ts",
196
+ "svelte": "./dist/toggle/index.js"
197
+ },
198
+ "./toggle-group": {
199
+ "types": "./dist/toggle-group/index.d.ts",
200
+ "svelte": "./dist/toggle-group/index.js"
201
+ },
202
+ "./tooltip": {
203
+ "types": "./dist/tooltip/index.d.ts",
204
+ "svelte": "./dist/tooltip/index.js"
205
+ },
206
+ "./tour": {
207
+ "types": "./dist/tour/index.d.ts",
208
+ "svelte": "./dist/tour/index.js"
209
+ },
210
+ "./tree-view": {
211
+ "types": "./dist/tree-view/index.d.ts",
212
+ "svelte": "./dist/tree-view/index.js"
213
+ },
214
+ "./anatomy": {
215
+ "types": "./dist/anatomy.d.ts",
216
+ "import": "./dist/anatomy.js"
217
+ }
218
+ },
219
+ "files": [
220
+ "dist",
221
+ "!dist/**/*.test.*",
222
+ "!dist/**/*.spec.*"
223
+ ],
224
+ "author": {
225
+ "name": "John Paul Calvo",
226
+ "email": "calvojp92@gmail.com"
227
+ },
228
+ "repository": {
229
+ "type": "git",
230
+ "url": "git+https://github.com/calvo-jp/ui-ingredients.git",
231
+ "directory": "packages/core"
232
+ },
233
+ "bugs": {
234
+ "url": "https://github.com/calvo-jp/ui-ingredients/issues",
235
+ "email": "calvojp92@gmail.com"
236
+ },
237
+ "description": "Headless component library for Svelte powered by zag",
238
+ "keywords": [
239
+ "Svelte",
240
+ "Component Library",
241
+ "Headless UI",
242
+ "Accordion",
243
+ "Alert",
244
+ "Alert Dialog",
245
+ "Avatar",
246
+ "Breadcrumbs",
247
+ "Carousel",
248
+ "Checkbox",
249
+ "Clipboard",
250
+ "Collapsible",
251
+ "Color Picker",
252
+ "Combobox",
253
+ "Date Picker",
254
+ "Dialog",
255
+ "Drawer",
256
+ "Editable",
257
+ "Field",
258
+ "File Upload",
259
+ "Floating Panel",
260
+ "Highlight",
261
+ "Hover Card",
262
+ "Menu",
263
+ "Number Input",
264
+ "Pagination",
265
+ "Pin Input",
266
+ "Popover",
267
+ "Portal",
268
+ "Presence",
269
+ "Progress",
270
+ "QR Code",
271
+ "Radio Group",
272
+ "Rating Group",
273
+ "Segment Group",
274
+ "Select",
275
+ "Signature Pad",
276
+ "Slider",
277
+ "Splitter",
278
+ "Steps",
279
+ "Switch",
280
+ "Tabs",
281
+ "Tags Input",
282
+ "Time Picker",
283
+ "Timer",
284
+ "Toast",
285
+ "Toggle",
286
+ "Toggle Group",
287
+ "Tooltip",
288
+ "Tour",
289
+ "Tree View"
290
+ ],
291
+ "publishConfig": {
292
+ "access": "public"
293
+ },
294
+ "scripts": {
295
+ "dev": "vite dev",
296
+ "build": "vite build && npm run package",
297
+ "preview": "vite preview",
298
+ "package": "svelte-kit sync && svelte-package && publint",
299
+ "prepublishOnly": "npm run package",
300
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
301
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
302
+ "test": "vitest",
303
+ "release": "release-it"
304
+ },
305
+ "dependencies": {
306
+ "@zag-js/accordion": "^0.78.1",
307
+ "@zag-js/anatomy": "^0.78.1",
308
+ "@zag-js/angle-slider": "^0.78.1",
309
+ "@zag-js/auto-resize": "^0.78.1",
310
+ "@zag-js/avatar": "^0.78.1",
311
+ "@zag-js/carousel": "^0.78.1",
312
+ "@zag-js/checkbox": "^0.78.1",
313
+ "@zag-js/clipboard": "^0.78.1",
314
+ "@zag-js/collapsible": "^0.78.1",
315
+ "@zag-js/color-picker": "^0.78.1",
316
+ "@zag-js/combobox": "^0.78.1",
317
+ "@zag-js/core": "^0.78.1",
318
+ "@zag-js/date-picker": "^0.78.1",
319
+ "@zag-js/dialog": "^0.78.1",
320
+ "@zag-js/dom-query": "^0.78.1",
321
+ "@zag-js/editable": "^0.78.1",
322
+ "@zag-js/file-upload": "^0.78.1",
323
+ "@zag-js/floating-panel": "^0.78.1",
324
+ "@zag-js/highlight-word": "^0.78.1",
325
+ "@zag-js/hover-card": "^0.78.1",
326
+ "@zag-js/i18n-utils": "^0.78.1",
327
+ "@zag-js/menu": "^0.78.1",
328
+ "@zag-js/number-input": "^0.78.1",
329
+ "@zag-js/pagination": "^0.78.1",
330
+ "@zag-js/pin-input": "^0.78.1",
331
+ "@zag-js/popover": "^0.78.1",
332
+ "@zag-js/presence": "^0.78.1",
333
+ "@zag-js/progress": "^0.78.1",
334
+ "@zag-js/qr-code": "^0.78.1",
335
+ "@zag-js/radio-group": "^0.78.1",
336
+ "@zag-js/rating-group": "^0.78.1",
337
+ "@zag-js/select": "^0.78.1",
338
+ "@zag-js/signature-pad": "^0.78.1",
339
+ "@zag-js/slider": "^0.78.1",
340
+ "@zag-js/splitter": "^0.78.1",
341
+ "@zag-js/steps": "^0.78.1",
342
+ "@zag-js/svelte": "^0.78.1",
343
+ "@zag-js/switch": "^0.78.1",
344
+ "@zag-js/tabs": "^0.78.1",
345
+ "@zag-js/tags-input": "^0.78.1",
346
+ "@zag-js/time-picker": "^0.78.1",
347
+ "@zag-js/timer": "^0.78.1",
348
+ "@zag-js/toast": "^0.78.1",
349
+ "@zag-js/toggle-group": "^0.78.1",
350
+ "@zag-js/tooltip": "^0.78.1",
351
+ "@zag-js/tour": "^0.78.1",
352
+ "@zag-js/tree-view": "^0.78.1",
353
+ "@zag-js/utils": "^0.78.1"
354
+ },
355
+ "peerDependencies": {
356
+ "svelte": ">=5.0.0"
357
+ },
358
+ "devDependencies": {
359
+ "@faker-js/faker": "^9.3.0",
360
+ "@sveltejs/adapter-vercel": "^5.5.0",
361
+ "@sveltejs/kit": "^2.9.0",
362
+ "@sveltejs/package": "^2.3.7",
363
+ "@sveltejs/vite-plugin-svelte": "^5.0.1",
364
+ "@testing-library/jest-dom": "^6.6.3",
365
+ "@testing-library/svelte": "^5.2.6",
366
+ "@testing-library/user-event": "^14.5.2",
367
+ "@types/jsdom": "^21.1.7",
368
+ "@untitled-theme/icons-svelte": "^0.12.0",
369
+ "autoprefixer": "^10.4.20",
370
+ "globals": "^15.13.0",
371
+ "jsdom": "^25.0.1",
372
+ "postcss": "^8.4.49",
373
+ "publint": "^0.2.12",
374
+ "release-it": "^17.10.0",
375
+ "resize-observer-polyfill": "^1.5.1",
376
+ "svelte": "^5.5.3",
377
+ "svelte-check": "^4.1.1",
378
+ "tailwind-merge": "^2.5.5",
379
+ "tailwind-variants": "^0.3.0",
380
+ "tailwindcss": "^3.4.16",
381
+ "typescript": "^5.7.2",
382
+ "vite": "^6.0.2",
383
+ "vitest": "^2.1.8",
384
+ "vitest-axe": "^1.0.0-pre.3",
385
+ "vitest-canvas-mock": "^0.3.3"
386
+ },
387
+ "release-it": {
388
+ "git": {
389
+ "commitMessage": "chore: release ${npm.name} v${version}",
390
+ "tagName": "${npm.name}@${version}"
391
+ },
392
+ "github": {
393
+ "release": false
394
+ },
395
+ "hooks": {
396
+ "before:init": [
397
+ "pnpm check"
398
+ ],
399
+ "after:bump": [
400
+ "pnpm package"
401
+ ]
402
+ }
403
+ }
404
+ }