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.
- package/dist/angle-slider/angle-slider.d.ts +1 -1
- package/dist/angle-slider/angle-slider.js +1 -1
- package/dist/portal/index.d.ts +1 -0
- package/dist/portal/index.js +1 -0
- package/dist/portal/portal-context.svelte.d.ts +7 -0
- package/dist/portal/portal-context.svelte.js +2 -0
- package/dist/portal/portal-provider.svelte +21 -0
- package/dist/portal/portal-provider.svelte.d.ts +23 -0
- package/dist/portal/portal.svelte +40 -32
- package/dist/portal/portal.svelte.d.ts +6 -5
- package/package.json +404 -404
@@ -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
|
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
|
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';
|
package/dist/portal/index.d.ts
CHANGED
package/dist/portal/index.js
CHANGED
@@ -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
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
disabled?: boolean;
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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 {
|
2
|
-
|
3
|
-
|
1
|
+
import type { Assign } from '../types.js';
|
2
|
+
import type { SvelteHTMLElements } from 'svelte/elements';
|
3
|
+
interface PortalActionProps {
|
4
4
|
disabled?: boolean;
|
5
|
-
|
6
|
-
|
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.
|
6
|
-
"packageManager": "pnpm@9.14.
|
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.
|
307
|
-
"@zag-js/anatomy": "^0.78.
|
308
|
-
"@zag-js/angle-slider": "^0.78.
|
309
|
-
"@zag-js/auto-resize": "^0.78.
|
310
|
-
"@zag-js/avatar": "^0.78.
|
311
|
-
"@zag-js/carousel": "^0.78.
|
312
|
-
"@zag-js/checkbox": "^0.78.
|
313
|
-
"@zag-js/clipboard": "^0.78.
|
314
|
-
"@zag-js/collapsible": "^0.78.
|
315
|
-
"@zag-js/color-picker": "^0.78.
|
316
|
-
"@zag-js/combobox": "^0.78.
|
317
|
-
"@zag-js/core": "^0.78.
|
318
|
-
"@zag-js/date-picker": "^0.78.
|
319
|
-
"@zag-js/dialog": "^0.78.
|
320
|
-
"@zag-js/dom-query": "^0.78.
|
321
|
-
"@zag-js/editable": "^0.78.
|
322
|
-
"@zag-js/file-upload": "^0.78.
|
323
|
-
"@zag-js/floating-panel": "^0.78.
|
324
|
-
"@zag-js/highlight-word": "^0.78.
|
325
|
-
"@zag-js/hover-card": "^0.78.
|
326
|
-
"@zag-js/i18n-utils": "^0.78.
|
327
|
-
"@zag-js/menu": "^0.78.
|
328
|
-
"@zag-js/number-input": "^0.78.
|
329
|
-
"@zag-js/pagination": "^0.78.
|
330
|
-
"@zag-js/pin-input": "^0.78.
|
331
|
-
"@zag-js/popover": "^0.78.
|
332
|
-
"@zag-js/presence": "^0.78.
|
333
|
-
"@zag-js/progress": "^0.78.
|
334
|
-
"@zag-js/qr-code": "^0.78.
|
335
|
-
"@zag-js/radio-group": "^0.78.
|
336
|
-
"@zag-js/rating-group": "^0.78.
|
337
|
-
"@zag-js/select": "^0.78.
|
338
|
-
"@zag-js/signature-pad": "^0.78.
|
339
|
-
"@zag-js/slider": "^0.78.
|
340
|
-
"@zag-js/splitter": "^0.78.
|
341
|
-
"@zag-js/steps": "^0.78.
|
342
|
-
"@zag-js/svelte": "^0.78.
|
343
|
-
"@zag-js/switch": "^0.78.
|
344
|
-
"@zag-js/tabs": "^0.78.
|
345
|
-
"@zag-js/tags-input": "^0.78.
|
346
|
-
"@zag-js/time-picker": "^0.78.
|
347
|
-
"@zag-js/timer": "^0.78.
|
348
|
-
"@zag-js/toast": "^0.78.
|
349
|
-
"@zag-js/toggle-group": "^0.78.
|
350
|
-
"@zag-js/tooltip": "^0.78.
|
351
|
-
"@zag-js/tour": "^0.78.
|
352
|
-
"@zag-js/tree-view": "^0.78.
|
353
|
-
"@zag-js/utils": "^0.78.
|
354
|
-
},
|
355
|
-
"peerDependencies": {
|
356
|
-
"svelte": ">=5.0.0"
|
357
|
-
},
|
358
|
-
"devDependencies": {
|
359
|
-
"@faker-js/faker": "^9.
|
360
|
-
"@sveltejs/adapter-vercel": "^5.
|
361
|
-
"@sveltejs/kit": "^2.
|
362
|
-
"@sveltejs/package": "^2.3.7",
|
363
|
-
"@sveltejs/vite-plugin-svelte": "^
|
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.
|
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.
|
377
|
-
"svelte-check": "^4.1.
|
378
|
-
"tailwind-merge": "^2.5.
|
379
|
-
"tailwind-variants": "^0.3.0",
|
380
|
-
"tailwindcss": "^3.4.
|
381
|
-
"typescript": "^5.7.2",
|
382
|
-
"vite": "^
|
383
|
-
"vitest": "^2.1.
|
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
|
+
}
|