ui-ingredients 0.19.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/angle-slider/create-angle-slider.svelte.js +2 -0
- package/dist/environment-provider/environment-provider.svelte +41 -41
- package/dist/locale-provider/local-provider.svelte +26 -26
- package/dist/steps/steps-completed-content.svelte +24 -10
- package/dist/steps/steps-completed-content.svelte.d.ts +2 -1
- package/dist/steps/steps-content.svelte +31 -8
- package/dist/steps/steps-content.svelte.d.ts +2 -1
- package/dist/steps/steps-root.svelte +14 -4
- package/dist/steps/steps-root.svelte.d.ts +2 -1
- package/dist/toast/toaster.svelte +60 -60
- package/package.json +52 -52
@@ -13,6 +13,8 @@ export function createAngleSlider(props) {
|
|
13
13
|
getRootNode: environment?.getRootNode,
|
14
14
|
...props,
|
15
15
|
}));
|
16
|
+
// @ts-expect-error "Incompatible version of @zag-js/svelte"
|
16
17
|
const [state, send] = useMachine(angleSlider.machine(context), { context });
|
18
|
+
// @ts-expect-error "Incompatible version of @zag-js/svelte"
|
17
19
|
return reflect(() => angleSlider.connect(state, send, normalizeProps));
|
18
20
|
}
|
@@ -1,41 +1,41 @@
|
|
1
|
-
<script lang="ts" module>
|
2
|
-
import type {Snippet} from 'svelte';
|
3
|
-
|
4
|
-
export interface EnvironmentProviderProps {
|
5
|
-
rootNode?:
|
6
|
-
| ShadowRoot
|
7
|
-
| Document
|
8
|
-
| Node
|
9
|
-
| (() => ShadowRoot | Document | Node);
|
10
|
-
children: Snippet;
|
11
|
-
}
|
12
|
-
</script>
|
13
|
-
|
14
|
-
<script lang="ts">
|
15
|
-
import {getDocument, getWindow} from '@zag-js/dom-query';
|
16
|
-
import {setEnvironmentContext} from './enviroment-provider-context.svelte.js';
|
17
|
-
|
18
|
-
let {rootNode, children}: EnvironmentProviderProps = $props();
|
19
|
-
|
20
|
-
let elem: HTMLSpanElement | null = $state(null);
|
21
|
-
|
22
|
-
function getRootNode() {
|
23
|
-
if (rootNode) {
|
24
|
-
return typeof rootNode === 'function' ? rootNode() : rootNode;
|
25
|
-
} else {
|
26
|
-
return elem?.ownerDocument ?? document;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
setEnvironmentContext({
|
31
|
-
getRootNode,
|
32
|
-
getDocument: () => getDocument(getRootNode()),
|
33
|
-
getWindow: () => getWindow(getRootNode()),
|
34
|
-
});
|
35
|
-
</script>
|
36
|
-
|
37
|
-
{@render children()}
|
38
|
-
|
39
|
-
{#if !rootNode}
|
40
|
-
<span bind:this={elem} hidden></span>
|
41
|
-
{/if}
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {Snippet} from 'svelte';
|
3
|
+
|
4
|
+
export interface EnvironmentProviderProps {
|
5
|
+
rootNode?:
|
6
|
+
| ShadowRoot
|
7
|
+
| Document
|
8
|
+
| Node
|
9
|
+
| (() => ShadowRoot | Document | Node);
|
10
|
+
children: Snippet;
|
11
|
+
}
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script lang="ts">
|
15
|
+
import {getDocument, getWindow} from '@zag-js/dom-query';
|
16
|
+
import {setEnvironmentContext} from './enviroment-provider-context.svelte.js';
|
17
|
+
|
18
|
+
let {rootNode, children}: EnvironmentProviderProps = $props();
|
19
|
+
|
20
|
+
let elem: HTMLSpanElement | null = $state(null);
|
21
|
+
|
22
|
+
function getRootNode() {
|
23
|
+
if (rootNode) {
|
24
|
+
return typeof rootNode === 'function' ? rootNode() : rootNode;
|
25
|
+
} else {
|
26
|
+
return elem?.ownerDocument ?? document;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
setEnvironmentContext({
|
31
|
+
getRootNode,
|
32
|
+
getDocument: () => getDocument(getRootNode()),
|
33
|
+
getWindow: () => getWindow(getRootNode()),
|
34
|
+
});
|
35
|
+
</script>
|
36
|
+
|
37
|
+
{@render children()}
|
38
|
+
|
39
|
+
{#if !rootNode}
|
40
|
+
<span bind:this={elem} hidden></span>
|
41
|
+
{/if}
|
@@ -1,26 +1,26 @@
|
|
1
|
-
<script lang="ts" module>
|
2
|
-
import type {Snippet} from 'svelte';
|
3
|
-
|
4
|
-
export interface LocaleProviderProps {
|
5
|
-
locale: string;
|
6
|
-
children: Snippet;
|
7
|
-
}
|
8
|
-
</script>
|
9
|
-
|
10
|
-
<script lang="ts">
|
11
|
-
import {isRTL} from '@zag-js/i18n-utils';
|
12
|
-
import {setLocaleContext} from './local-provider-context.svelte.js';
|
13
|
-
|
14
|
-
let {children, ...props}: LocaleProviderProps = $props();
|
15
|
-
|
16
|
-
setLocaleContext({
|
17
|
-
get locale() {
|
18
|
-
return props.locale;
|
19
|
-
},
|
20
|
-
get dir() {
|
21
|
-
return isRTL(props.locale) ? 'rtl' : 'ltr';
|
22
|
-
},
|
23
|
-
});
|
24
|
-
</script>
|
25
|
-
|
26
|
-
{@render children()}
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {Snippet} from 'svelte';
|
3
|
+
|
4
|
+
export interface LocaleProviderProps {
|
5
|
+
locale: string;
|
6
|
+
children: Snippet;
|
7
|
+
}
|
8
|
+
</script>
|
9
|
+
|
10
|
+
<script lang="ts">
|
11
|
+
import {isRTL} from '@zag-js/i18n-utils';
|
12
|
+
import {setLocaleContext} from './local-provider-context.svelte.js';
|
13
|
+
|
14
|
+
let {children, ...props}: LocaleProviderProps = $props();
|
15
|
+
|
16
|
+
setLocaleContext({
|
17
|
+
get locale() {
|
18
|
+
return props.locale;
|
19
|
+
},
|
20
|
+
get dir() {
|
21
|
+
return isRTL(props.locale) ? 'rtl' : 'ltr';
|
22
|
+
},
|
23
|
+
});
|
24
|
+
</script>
|
25
|
+
|
26
|
+
{@render children()}
|
@@ -1,12 +1,16 @@
|
|
1
1
|
<script lang="ts" module>
|
2
2
|
import type {HtmlIngredientProps} from '../types.js';
|
3
|
+
import type {Action} from 'svelte/action';
|
3
4
|
|
4
5
|
export interface StepsCompletedContentProps
|
5
|
-
extends HtmlIngredientProps<'div', HTMLDivElement> {}
|
6
|
+
extends HtmlIngredientProps<'div', HTMLDivElement, never, Action> {}
|
6
7
|
</script>
|
7
8
|
|
8
9
|
<script lang="ts">
|
9
10
|
import {mergeProps} from '../merge-props.js';
|
11
|
+
import {createPresence} from '../presence/create-presence.svelte.js';
|
12
|
+
import {getPresenceStrategyPropsContext} from '../presence/presence-context.svelte.js';
|
13
|
+
import {reflect} from '@zag-js/svelte';
|
10
14
|
import {getStepsContext} from './steps-context.svelte.js';
|
11
15
|
|
12
16
|
let {
|
@@ -17,21 +21,31 @@
|
|
17
21
|
}: StepsCompletedContentProps = $props();
|
18
22
|
|
19
23
|
let steps = getStepsContext();
|
24
|
+
let index = $derived(steps.count);
|
25
|
+
|
26
|
+
let presenceStrategyProps = getPresenceStrategyPropsContext();
|
27
|
+
let presence = createPresence(
|
28
|
+
reflect(() => ({
|
29
|
+
...presenceStrategyProps,
|
30
|
+
present: steps.value === index,
|
31
|
+
})),
|
32
|
+
);
|
20
33
|
|
21
34
|
let mergedProps = $derived(
|
22
35
|
mergeProps(
|
23
|
-
steps.getContentProps({
|
24
|
-
|
25
|
-
}),
|
36
|
+
steps.getContentProps({index}),
|
37
|
+
presence.getPresenceProps(),
|
26
38
|
props,
|
27
39
|
),
|
28
40
|
);
|
29
41
|
</script>
|
30
42
|
|
31
|
-
{#if
|
32
|
-
{
|
33
|
-
{
|
34
|
-
|
35
|
-
{
|
36
|
-
|
43
|
+
{#if presence.mounted}
|
44
|
+
{#if asChild}
|
45
|
+
{@render asChild(presence.setReference, mergedProps)}
|
46
|
+
{:else}
|
47
|
+
<div use:presence.setReference bind:this={ref} {...mergedProps}>
|
48
|
+
{@render children?.()}
|
49
|
+
</div>
|
50
|
+
{/if}
|
37
51
|
{/if}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import type { HtmlIngredientProps } from '../types.js';
|
2
|
-
|
2
|
+
import type { Action } from 'svelte/action';
|
3
|
+
export interface StepsCompletedContentProps extends HtmlIngredientProps<'div', HTMLDivElement, never, Action> {
|
3
4
|
}
|
4
5
|
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> {
|
5
6
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,13 +1,20 @@
|
|
1
1
|
<script lang="ts" module>
|
2
2
|
import type {Assign, HtmlIngredientProps} from '../types.js';
|
3
3
|
import type {ItemProps} from '@zag-js/steps';
|
4
|
+
import type {Action} from 'svelte/action';
|
4
5
|
|
5
6
|
export interface StepsContentProps
|
6
|
-
extends Assign<
|
7
|
+
extends Assign<
|
8
|
+
HtmlIngredientProps<'div', HTMLDivElement, never, Action>,
|
9
|
+
ItemProps
|
10
|
+
> {}
|
7
11
|
</script>
|
8
12
|
|
9
13
|
<script lang="ts">
|
10
14
|
import {mergeProps} from '../merge-props.js';
|
15
|
+
import {createPresence} from '../presence/create-presence.svelte.js';
|
16
|
+
import {getPresenceStrategyPropsContext} from '../presence/presence-context.svelte.js';
|
17
|
+
import {reflect} from '@zag-js/svelte';
|
11
18
|
import {getStepsContext} from './steps-context.svelte.js';
|
12
19
|
|
13
20
|
let {
|
@@ -20,13 +27,29 @@
|
|
20
27
|
|
21
28
|
let steps = getStepsContext();
|
22
29
|
|
23
|
-
let
|
30
|
+
let presenceStrategyProps = getPresenceStrategyPropsContext();
|
31
|
+
let presence = createPresence(
|
32
|
+
reflect(() => ({
|
33
|
+
...presenceStrategyProps,
|
34
|
+
present: steps.value === index,
|
35
|
+
})),
|
36
|
+
);
|
37
|
+
|
38
|
+
let mergedProps = $derived(
|
39
|
+
mergeProps(
|
40
|
+
steps.getContentProps({index}),
|
41
|
+
presence.getPresenceProps(),
|
42
|
+
props,
|
43
|
+
),
|
44
|
+
);
|
24
45
|
</script>
|
25
46
|
|
26
|
-
{#if
|
27
|
-
{
|
28
|
-
{
|
29
|
-
|
30
|
-
{
|
31
|
-
|
47
|
+
{#if presence.mounted}
|
48
|
+
{#if asChild}
|
49
|
+
{@render asChild(presence.setReference, mergedProps)}
|
50
|
+
{:else}
|
51
|
+
<div use:presence.setReference bind:this={ref} {...mergedProps}>
|
52
|
+
{@render children?.()}
|
53
|
+
</div>
|
54
|
+
{/if}
|
32
55
|
{/if}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import type { Assign, HtmlIngredientProps } from '../types.js';
|
2
2
|
import type { ItemProps } from '@zag-js/steps';
|
3
|
-
|
3
|
+
import type { Action } from 'svelte/action';
|
4
|
+
export interface StepsContentProps extends Assign<HtmlIngredientProps<'div', HTMLDivElement, never, Action>, ItemProps> {
|
4
5
|
}
|
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> {
|
6
7
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,4 +1,5 @@
|
|
1
1
|
<script lang="ts" module>
|
2
|
+
import type {PresenceStrategyProps} from '../presence/create-presence.svelte.js';
|
2
3
|
import type {Assign, HtmlIngredientProps} from '../types.js';
|
3
4
|
import type {
|
4
5
|
CreateStepsProps,
|
@@ -7,13 +8,15 @@
|
|
7
8
|
|
8
9
|
export interface StepsProps
|
9
10
|
extends Assign<
|
10
|
-
|
11
|
-
|
12
|
-
|
11
|
+
HtmlIngredientProps<'div', HTMLDivElement, CreateStepsReturn>,
|
12
|
+
CreateStepsProps
|
13
|
+
>,
|
14
|
+
PresenceStrategyProps {}
|
13
15
|
</script>
|
14
16
|
|
15
17
|
<script lang="ts">
|
16
18
|
import {mergeProps} from '../merge-props.js';
|
19
|
+
import {setPresenceStrategyPropsContext} from '../presence/presence-context.svelte.js';
|
17
20
|
import {reflect} from '@zag-js/svelte';
|
18
21
|
import {createSplitProps} from '@zag-js/utils';
|
19
22
|
import {createSteps} from './create-steps.svelte.js';
|
@@ -26,6 +29,12 @@
|
|
26
29
|
...props
|
27
30
|
}: StepsProps = $props();
|
28
31
|
|
32
|
+
let [presenceStrategyProps, rest] = $derived(
|
33
|
+
createSplitProps<PresenceStrategyProps>(['lazyMount', 'keepMounted'])(
|
34
|
+
props,
|
35
|
+
),
|
36
|
+
);
|
37
|
+
|
29
38
|
let [createStepsProps, localProps] = $derived(
|
30
39
|
createSplitProps<CreateStepsProps>([
|
31
40
|
'id',
|
@@ -36,7 +45,7 @@
|
|
36
45
|
'orientation',
|
37
46
|
'onStepChange',
|
38
47
|
'onStepComplete',
|
39
|
-
])(
|
48
|
+
])(rest),
|
40
49
|
);
|
41
50
|
|
42
51
|
let steps = createSteps(reflect(() => createStepsProps));
|
@@ -44,6 +53,7 @@
|
|
44
53
|
let mergedProps = $derived(mergeProps(steps.getRootProps(), localProps));
|
45
54
|
|
46
55
|
setStepsContext(steps);
|
56
|
+
setPresenceStrategyPropsContext(() => presenceStrategyProps);
|
47
57
|
</script>
|
48
58
|
|
49
59
|
{#if asChild}
|
@@ -1,6 +1,7 @@
|
|
1
|
+
import type { PresenceStrategyProps } from '../presence/create-presence.svelte.js';
|
1
2
|
import type { Assign, HtmlIngredientProps } from '../types.js';
|
2
3
|
import type { CreateStepsProps, CreateStepsReturn } from './create-steps.svelte.js';
|
3
|
-
export interface StepsProps extends Assign<HtmlIngredientProps<'div', HTMLDivElement, CreateStepsReturn>, CreateStepsProps
|
4
|
+
export interface StepsProps extends Assign<HtmlIngredientProps<'div', HTMLDivElement, CreateStepsReturn>, CreateStepsProps>, PresenceStrategyProps {
|
4
5
|
}
|
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> {
|
6
7
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1,60 +1,60 @@
|
|
1
|
-
<script lang="ts" module>
|
2
|
-
import type {HtmlIngredientProps} from '../types.js';
|
3
|
-
import type {CreateToastReturn} from './create-toast.svelte.js';
|
4
|
-
import type {CreateToasterReturn} from './create-toaster.svelte.js';
|
5
|
-
|
6
|
-
export interface ToasterProps
|
7
|
-
extends HtmlIngredientProps<'div', HTMLDivElement, CreateToastReturn> {
|
8
|
-
toaster: CreateToasterReturn;
|
9
|
-
}
|
10
|
-
</script>
|
11
|
-
|
12
|
-
<script lang="ts">
|
13
|
-
import {getEnvironmentContext} from '../environment-provider/enviroment-provider-context.svelte.js';
|
14
|
-
import {getLocaleContext} from '../locale-provider/local-provider-context.svelte.js';
|
15
|
-
import {mergeProps} from '../merge-props.js';
|
16
|
-
import {Portal} from '../portal/index.js';
|
17
|
-
import {normalizeProps, useMachine} from '@zag-js/svelte';
|
18
|
-
import * as toast from '@zag-js/toast';
|
19
|
-
import type {HTMLAttributes} from 'svelte/elements';
|
20
|
-
import ToastActor from './toast-actor.svelte';
|
21
|
-
|
22
|
-
let {
|
23
|
-
ref = $bindable(null),
|
24
|
-
toaster,
|
25
|
-
children: children_,
|
26
|
-
...props
|
27
|
-
}: ToasterProps = $props();
|
28
|
-
|
29
|
-
const locale = getLocaleContext();
|
30
|
-
const environment = getEnvironmentContext();
|
31
|
-
|
32
|
-
let [snapshot, send] = useMachine(toaster.machine, {
|
33
|
-
context: {
|
34
|
-
dir: locale?.dir,
|
35
|
-
getRootNode: environment?.getRootNode,
|
36
|
-
},
|
37
|
-
});
|
38
|
-
|
39
|
-
let placement = $derived(snapshot.context.placement);
|
40
|
-
let api = $derived(toast.group.connect(snapshot, send, normalizeProps));
|
41
|
-
let toasts = $derived(api.getToastsByPlacement(placement));
|
42
|
-
let mergedProps = $derived(
|
43
|
-
mergeProps<HTMLAttributes<HTMLDivElement>>(
|
44
|
-
api.getGroupProps({placement}),
|
45
|
-
props,
|
46
|
-
),
|
47
|
-
);
|
48
|
-
</script>
|
49
|
-
|
50
|
-
<Portal>
|
51
|
-
<div bind:this={ref} {...mergedProps}>
|
52
|
-
{#each toasts as toast (toast.id)}
|
53
|
-
<ToastActor actor={toast}>
|
54
|
-
{#snippet children(ctx)}
|
55
|
-
{@render children_?.(ctx)}
|
56
|
-
{/snippet}
|
57
|
-
</ToastActor>
|
58
|
-
{/each}
|
59
|
-
</div>
|
60
|
-
</Portal>
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
|
+
import type {CreateToastReturn} from './create-toast.svelte.js';
|
4
|
+
import type {CreateToasterReturn} from './create-toaster.svelte.js';
|
5
|
+
|
6
|
+
export interface ToasterProps
|
7
|
+
extends HtmlIngredientProps<'div', HTMLDivElement, CreateToastReturn> {
|
8
|
+
toaster: CreateToasterReturn;
|
9
|
+
}
|
10
|
+
</script>
|
11
|
+
|
12
|
+
<script lang="ts">
|
13
|
+
import {getEnvironmentContext} from '../environment-provider/enviroment-provider-context.svelte.js';
|
14
|
+
import {getLocaleContext} from '../locale-provider/local-provider-context.svelte.js';
|
15
|
+
import {mergeProps} from '../merge-props.js';
|
16
|
+
import {Portal} from '../portal/index.js';
|
17
|
+
import {normalizeProps, useMachine} from '@zag-js/svelte';
|
18
|
+
import * as toast from '@zag-js/toast';
|
19
|
+
import type {HTMLAttributes} from 'svelte/elements';
|
20
|
+
import ToastActor from './toast-actor.svelte';
|
21
|
+
|
22
|
+
let {
|
23
|
+
ref = $bindable(null),
|
24
|
+
toaster,
|
25
|
+
children: children_,
|
26
|
+
...props
|
27
|
+
}: ToasterProps = $props();
|
28
|
+
|
29
|
+
const locale = getLocaleContext();
|
30
|
+
const environment = getEnvironmentContext();
|
31
|
+
|
32
|
+
let [snapshot, send] = useMachine(toaster.machine, {
|
33
|
+
context: {
|
34
|
+
dir: locale?.dir,
|
35
|
+
getRootNode: environment?.getRootNode,
|
36
|
+
},
|
37
|
+
});
|
38
|
+
|
39
|
+
let placement = $derived(snapshot.context.placement);
|
40
|
+
let api = $derived(toast.group.connect(snapshot, send, normalizeProps));
|
41
|
+
let toasts = $derived(api.getToastsByPlacement(placement));
|
42
|
+
let mergedProps = $derived(
|
43
|
+
mergeProps<HTMLAttributes<HTMLDivElement>>(
|
44
|
+
api.getGroupProps({placement}),
|
45
|
+
props,
|
46
|
+
),
|
47
|
+
);
|
48
|
+
</script>
|
49
|
+
|
50
|
+
<Portal>
|
51
|
+
<div bind:this={ref} {...mergedProps}>
|
52
|
+
{#each toasts as toast (toast.id)}
|
53
|
+
<ToastActor actor={toast}>
|
54
|
+
{#snippet children(ctx)}
|
55
|
+
{@render children_?.(ctx)}
|
56
|
+
{/snippet}
|
57
|
+
</ToastActor>
|
58
|
+
{/each}
|
59
|
+
</div>
|
60
|
+
</Portal>
|
package/package.json
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
"name": "ui-ingredients",
|
3
3
|
"type": "module",
|
4
4
|
"license": "MIT",
|
5
|
-
"version": "0.
|
6
|
-
"packageManager": "pnpm@9.
|
5
|
+
"version": "0.21.0",
|
6
|
+
"packageManager": "pnpm@9.15.0",
|
7
7
|
"svelte": "./dist/index.js",
|
8
8
|
"types": "./dist/index.d.ts",
|
9
9
|
"exports": {
|
@@ -307,62 +307,62 @@
|
|
307
307
|
"release": "release-it"
|
308
308
|
},
|
309
309
|
"dependencies": {
|
310
|
-
"@zag-js/accordion": "^0.
|
311
|
-
"@zag-js/anatomy": "^0.
|
310
|
+
"@zag-js/accordion": "^0.77.1",
|
311
|
+
"@zag-js/anatomy": "^0.77.1",
|
312
312
|
"@zag-js/angle-slider": "^0.78.2",
|
313
|
-
"@zag-js/auto-resize": "^0.
|
314
|
-
"@zag-js/avatar": "^0.
|
315
|
-
"@zag-js/carousel": "^0.
|
316
|
-
"@zag-js/checkbox": "^0.
|
317
|
-
"@zag-js/clipboard": "^0.
|
318
|
-
"@zag-js/collapsible": "^0.
|
319
|
-
"@zag-js/color-picker": "^0.
|
320
|
-
"@zag-js/combobox": "^0.
|
321
|
-
"@zag-js/core": "^0.
|
322
|
-
"@zag-js/date-picker": "^0.
|
323
|
-
"@zag-js/dialog": "^0.
|
324
|
-
"@zag-js/dom-query": "^0.
|
325
|
-
"@zag-js/editable": "^0.
|
326
|
-
"@zag-js/file-upload": "^0.
|
327
|
-
"@zag-js/floating-panel": "^0.
|
328
|
-
"@zag-js/highlight-word": "^0.
|
329
|
-
"@zag-js/hover-card": "^0.
|
330
|
-
"@zag-js/i18n-utils": "^0.
|
331
|
-
"@zag-js/menu": "^0.
|
332
|
-
"@zag-js/number-input": "^0.
|
333
|
-
"@zag-js/pagination": "^0.
|
334
|
-
"@zag-js/pin-input": "^0.
|
335
|
-
"@zag-js/popover": "^0.
|
336
|
-
"@zag-js/presence": "^0.
|
337
|
-
"@zag-js/progress": "^0.
|
338
|
-
"@zag-js/qr-code": "^0.
|
339
|
-
"@zag-js/radio-group": "^0.
|
340
|
-
"@zag-js/rating-group": "^0.
|
341
|
-
"@zag-js/select": "^0.
|
342
|
-
"@zag-js/signature-pad": "^0.
|
343
|
-
"@zag-js/slider": "^0.
|
344
|
-
"@zag-js/splitter": "^0.
|
345
|
-
"@zag-js/steps": "^0.
|
346
|
-
"@zag-js/svelte": "^0.
|
347
|
-
"@zag-js/switch": "^0.
|
348
|
-
"@zag-js/tabs": "^0.
|
349
|
-
"@zag-js/tags-input": "^0.
|
350
|
-
"@zag-js/time-picker": "^0.
|
351
|
-
"@zag-js/timer": "^0.
|
352
|
-
"@zag-js/toast": "^0.
|
353
|
-
"@zag-js/toggle-group": "^0.
|
354
|
-
"@zag-js/tooltip": "^0.
|
355
|
-
"@zag-js/tour": "^0.
|
356
|
-
"@zag-js/tree-view": "^0.
|
357
|
-
"@zag-js/utils": "^0.
|
313
|
+
"@zag-js/auto-resize": "^0.77.1",
|
314
|
+
"@zag-js/avatar": "^0.77.1",
|
315
|
+
"@zag-js/carousel": "^0.77.1",
|
316
|
+
"@zag-js/checkbox": "^0.77.1",
|
317
|
+
"@zag-js/clipboard": "^0.77.1",
|
318
|
+
"@zag-js/collapsible": "^0.77.1",
|
319
|
+
"@zag-js/color-picker": "^0.77.1",
|
320
|
+
"@zag-js/combobox": "^0.77.1",
|
321
|
+
"@zag-js/core": "^0.77.1",
|
322
|
+
"@zag-js/date-picker": "^0.77.1",
|
323
|
+
"@zag-js/dialog": "^0.77.1",
|
324
|
+
"@zag-js/dom-query": "^0.77.1",
|
325
|
+
"@zag-js/editable": "^0.77.1",
|
326
|
+
"@zag-js/file-upload": "^0.77.1",
|
327
|
+
"@zag-js/floating-panel": "^0.77.1",
|
328
|
+
"@zag-js/highlight-word": "^0.77.1",
|
329
|
+
"@zag-js/hover-card": "^0.77.1",
|
330
|
+
"@zag-js/i18n-utils": "^0.77.1",
|
331
|
+
"@zag-js/menu": "^0.77.1",
|
332
|
+
"@zag-js/number-input": "^0.77.1",
|
333
|
+
"@zag-js/pagination": "^0.77.1",
|
334
|
+
"@zag-js/pin-input": "^0.77.1",
|
335
|
+
"@zag-js/popover": "^0.77.1",
|
336
|
+
"@zag-js/presence": "^0.77.1",
|
337
|
+
"@zag-js/progress": "^0.77.1",
|
338
|
+
"@zag-js/qr-code": "^0.77.1",
|
339
|
+
"@zag-js/radio-group": "^0.77.1",
|
340
|
+
"@zag-js/rating-group": "^0.77.1",
|
341
|
+
"@zag-js/select": "^0.77.1",
|
342
|
+
"@zag-js/signature-pad": "^0.77.1",
|
343
|
+
"@zag-js/slider": "^0.77.1",
|
344
|
+
"@zag-js/splitter": "^0.77.1",
|
345
|
+
"@zag-js/steps": "^0.77.1",
|
346
|
+
"@zag-js/svelte": "^0.77.1",
|
347
|
+
"@zag-js/switch": "^0.77.1",
|
348
|
+
"@zag-js/tabs": "^0.77.1",
|
349
|
+
"@zag-js/tags-input": "^0.77.1",
|
350
|
+
"@zag-js/time-picker": "^0.77.1",
|
351
|
+
"@zag-js/timer": "^0.77.1",
|
352
|
+
"@zag-js/toast": "^0.77.1",
|
353
|
+
"@zag-js/toggle-group": "^0.77.1",
|
354
|
+
"@zag-js/tooltip": "^0.77.1",
|
355
|
+
"@zag-js/tour": "^0.77.1",
|
356
|
+
"@zag-js/tree-view": "^0.77.1",
|
357
|
+
"@zag-js/utils": "^0.77.1"
|
358
358
|
},
|
359
359
|
"peerDependencies": {
|
360
360
|
"svelte": ">=5.0.0"
|
361
361
|
},
|
362
362
|
"devDependencies": {
|
363
363
|
"@faker-js/faker": "^9.3.0",
|
364
|
-
"@sveltejs/adapter-vercel": "^5.5.
|
365
|
-
"@sveltejs/kit": "^2.9.
|
364
|
+
"@sveltejs/adapter-vercel": "^5.5.1",
|
365
|
+
"@sveltejs/kit": "^2.9.1",
|
366
366
|
"@sveltejs/package": "^2.3.7",
|
367
367
|
"@sveltejs/vite-plugin-svelte": "^5.0.1",
|
368
368
|
"@testing-library/jest-dom": "^6.6.3",
|
@@ -377,7 +377,7 @@
|
|
377
377
|
"publint": "^0.2.12",
|
378
378
|
"release-it": "^17.10.0",
|
379
379
|
"resize-observer-polyfill": "^1.5.1",
|
380
|
-
"svelte": "^5.
|
380
|
+
"svelte": "^5.10.0",
|
381
381
|
"svelte-check": "^4.1.1",
|
382
382
|
"tailwind-merge": "^2.5.5",
|
383
383
|
"tailwind-variants": "^0.3.0",
|