ui-ingredients 0.21.1 → 0.22.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 +0 -2
- package/dist/toast/create-toast.svelte.d.ts +1 -1
- package/dist/toast/create-toast.svelte.js +2 -2
- package/dist/toast/create-toaster.svelte.d.ts +1 -1
- package/dist/toast/create-toaster.svelte.js +2 -2
- package/dist/toast/toast-action-trigger.svelte +29 -32
- package/dist/toast/toast-actor.svelte +1 -1
- package/dist/toast/toast-actor.svelte.d.ts +1 -1
- package/dist/toast/toast-anatomy.d.ts +1 -1
- package/dist/toast/toast-anatomy.js +1 -1
- package/dist/toast/toast-close-trigger.svelte +29 -30
- package/dist/toast/toast-description.svelte +33 -34
- package/dist/toast/toast-ghost-after.svelte +29 -30
- package/dist/toast/toast-ghost-before.svelte +29 -30
- package/dist/toast/toast-root.svelte +32 -33
- package/dist/toast/toast-title.svelte +33 -34
- package/dist/toast/toaster.svelte +12 -3
- package/package.json +58 -56
@@ -13,8 +13,6 @@ export function createAngleSlider(props) {
|
|
13
13
|
getRootNode: environment?.getRootNode,
|
14
14
|
...props,
|
15
15
|
}));
|
16
|
-
// @ts-expect-error "Incompatible version of @zag-js/svelte"
|
17
16
|
const [state, send] = useMachine(angleSlider.machine(context), { context });
|
18
|
-
// @ts-expect-error "Incompatible version of @zag-js/svelte"
|
19
17
|
return reflect(() => angleSlider.connect(state, send, normalizeProps));
|
20
18
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { normalizeProps, reflect, useActor } from '
|
2
|
-
import * as toast from '
|
1
|
+
import { normalizeProps, reflect, useActor } from 'zagjs-legacy-svelte';
|
2
|
+
import * as toast from 'zagjs-legacy-toast';
|
3
3
|
export function createToast(props) {
|
4
4
|
const [state, send] = useActor(props);
|
5
5
|
return reflect(() => toast.connect(state, send, normalizeProps));
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createUniqueId } from '../create-unique-id.js';
|
2
|
-
import { normalizeProps, reflect } from '
|
3
|
-
import * as toast from '
|
2
|
+
import { normalizeProps, reflect } from 'zagjs-legacy-svelte';
|
3
|
+
import * as toast from 'zagjs-legacy-toast';
|
4
4
|
export function createToaster(props) {
|
5
5
|
const id = createUniqueId();
|
6
6
|
const machine = $derived(toast.group.machine({ id, ...props }));
|
@@ -1,32 +1,29 @@
|
|
1
|
-
<script lang="ts" module>
|
2
|
-
import type {HtmlIngredientProps} from '../types.js';
|
3
|
-
|
4
|
-
export interface ToastActionTriggerProps
|
5
|
-
extends HtmlIngredientProps<'button', HTMLButtonElement> {}
|
6
|
-
</script>
|
7
|
-
|
8
|
-
<script lang="ts">
|
9
|
-
import {mergeProps} from '../merge-props.js';
|
10
|
-
import {getToastContext} from './toast-context.svelte.js';
|
11
|
-
|
12
|
-
let {
|
13
|
-
ref = $bindable(null),
|
14
|
-
asChild,
|
15
|
-
children,
|
16
|
-
...props
|
17
|
-
}: ToastActionTriggerProps = $props();
|
18
|
-
|
19
|
-
let
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
{
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
{@render children?.()}
|
31
|
-
</button>
|
32
|
-
{/if}
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
|
+
|
4
|
+
export interface ToastActionTriggerProps
|
5
|
+
extends HtmlIngredientProps<'button', HTMLButtonElement> {}
|
6
|
+
</script>
|
7
|
+
|
8
|
+
<script lang="ts">
|
9
|
+
import {mergeProps} from '../merge-props.js';
|
10
|
+
import {getToastContext} from './toast-context.svelte.js';
|
11
|
+
|
12
|
+
let {
|
13
|
+
ref = $bindable(null),
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: ToastActionTriggerProps = $props();
|
18
|
+
|
19
|
+
let toast = getToastContext();
|
20
|
+
let mergedProps = $derived(mergeProps(toast.getActionTriggerProps(), props));
|
21
|
+
</script>
|
22
|
+
|
23
|
+
{#if asChild}
|
24
|
+
{@render asChild(mergedProps)}
|
25
|
+
{:else}
|
26
|
+
<button bind:this={ref} {...mergedProps}>
|
27
|
+
{@render children?.()}
|
28
|
+
</button>
|
29
|
+
{/if}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<script lang="ts">
|
2
|
-
import type {Service} from '@zag-js/toast';
|
3
2
|
import type {Snippet} from 'svelte';
|
3
|
+
import type {Service} from 'zagjs-legacy-toast';
|
4
4
|
import {createToast, type CreateToastReturn} from './create-toast.svelte.js';
|
5
5
|
import {setToastContext} from './toast-context.svelte.js';
|
6
6
|
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { Service } from '@zag-js/toast';
|
2
1
|
import type { Snippet } from 'svelte';
|
2
|
+
import type { Service } from 'zagjs-legacy-toast';
|
3
3
|
import { type CreateToastReturn } from './create-toast.svelte.js';
|
4
4
|
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
5
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
@@ -1 +1 @@
|
|
1
|
-
export { anatomy } from '
|
1
|
+
export { anatomy } from 'zagjs-legacy-toast';
|
@@ -1 +1 @@
|
|
1
|
-
export { anatomy } from '
|
1
|
+
export { anatomy } from 'zagjs-legacy-toast';
|
@@ -1,30 +1,29 @@
|
|
1
|
-
<script lang="ts" module>
|
2
|
-
import type {HtmlIngredientProps} from '../types.js';
|
3
|
-
|
4
|
-
export interface ToastCloseTriggerProps
|
5
|
-
extends HtmlIngredientProps<'button', HTMLButtonElement> {}
|
6
|
-
</script>
|
7
|
-
|
8
|
-
<script lang="ts">
|
9
|
-
import {mergeProps} from '../merge-props.js';
|
10
|
-
import {getToastContext} from './toast-context.svelte.js';
|
11
|
-
|
12
|
-
let {
|
13
|
-
ref = $bindable(null),
|
14
|
-
asChild,
|
15
|
-
children,
|
16
|
-
...props
|
17
|
-
}: ToastCloseTriggerProps = $props();
|
18
|
-
|
19
|
-
let
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
{
|
25
|
-
|
26
|
-
{
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
{/if}
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
|
+
|
4
|
+
export interface ToastCloseTriggerProps
|
5
|
+
extends HtmlIngredientProps<'button', HTMLButtonElement> {}
|
6
|
+
</script>
|
7
|
+
|
8
|
+
<script lang="ts">
|
9
|
+
import {mergeProps} from '../merge-props.js';
|
10
|
+
import {getToastContext} from './toast-context.svelte.js';
|
11
|
+
|
12
|
+
let {
|
13
|
+
ref = $bindable(null),
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: ToastCloseTriggerProps = $props();
|
18
|
+
|
19
|
+
let toast = getToastContext();
|
20
|
+
let mergedProps = $derived(mergeProps(toast.getCloseTriggerProps(), props));
|
21
|
+
</script>
|
22
|
+
|
23
|
+
{#if asChild}
|
24
|
+
{@render asChild(mergedProps)}
|
25
|
+
{:else}
|
26
|
+
<button bind:this={ref} {...mergedProps}>
|
27
|
+
{@render children?.()}
|
28
|
+
</button>
|
29
|
+
{/if}
|
@@ -1,34 +1,33 @@
|
|
1
|
-
<script lang="ts" module>
|
2
|
-
import type {HtmlIngredientProps} from '../types.js';
|
3
|
-
|
4
|
-
export interface ToastDescriptionProps
|
5
|
-
extends HtmlIngredientProps<'p', HTMLParagraphElement> {}
|
6
|
-
</script>
|
7
|
-
|
8
|
-
<script lang="ts">
|
9
|
-
import {mergeProps} from '../merge-props.js';
|
10
|
-
import {getToastContext} from './toast-context.svelte.js';
|
11
|
-
|
12
|
-
let {
|
13
|
-
ref = $bindable(null),
|
14
|
-
asChild,
|
15
|
-
children,
|
16
|
-
...props
|
17
|
-
}: ToastDescriptionProps = $props();
|
18
|
-
|
19
|
-
let
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
{
|
25
|
-
|
26
|
-
{
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
{/if}
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
|
+
|
4
|
+
export interface ToastDescriptionProps
|
5
|
+
extends HtmlIngredientProps<'p', HTMLParagraphElement> {}
|
6
|
+
</script>
|
7
|
+
|
8
|
+
<script lang="ts">
|
9
|
+
import {mergeProps} from '../merge-props.js';
|
10
|
+
import {getToastContext} from './toast-context.svelte.js';
|
11
|
+
|
12
|
+
let {
|
13
|
+
ref = $bindable(null),
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: ToastDescriptionProps = $props();
|
18
|
+
|
19
|
+
let toast = getToastContext();
|
20
|
+
let mergedProps = $derived(mergeProps(toast.getDescriptionProps(), props));
|
21
|
+
</script>
|
22
|
+
|
23
|
+
{#if asChild}
|
24
|
+
{@render asChild(mergedProps)}
|
25
|
+
{:else}
|
26
|
+
<p bind:this={ref} {...mergedProps}>
|
27
|
+
{#if children}
|
28
|
+
{@render children?.()}
|
29
|
+
{:else}
|
30
|
+
{toast.description}
|
31
|
+
{/if}
|
32
|
+
</p>
|
33
|
+
{/if}
|
@@ -1,30 +1,29 @@
|
|
1
|
-
<script lang="ts" module>
|
2
|
-
import type {HtmlIngredientProps} from '../types.js';
|
3
|
-
|
4
|
-
export interface ToastGhostAfterProps
|
5
|
-
extends HtmlIngredientProps<'span', HTMLSpanElement> {}
|
6
|
-
</script>
|
7
|
-
|
8
|
-
<script lang="ts">
|
9
|
-
import {mergeProps} from '../merge-props.js';
|
10
|
-
import {getToastContext} from './toast-context.svelte.js';
|
11
|
-
|
12
|
-
let {
|
13
|
-
ref = $bindable(null),
|
14
|
-
asChild,
|
15
|
-
children,
|
16
|
-
...props
|
17
|
-
}: ToastGhostAfterProps = $props();
|
18
|
-
|
19
|
-
let
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
{
|
25
|
-
|
26
|
-
{
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
{/if}
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
|
+
|
4
|
+
export interface ToastGhostAfterProps
|
5
|
+
extends HtmlIngredientProps<'span', HTMLSpanElement> {}
|
6
|
+
</script>
|
7
|
+
|
8
|
+
<script lang="ts">
|
9
|
+
import {mergeProps} from '../merge-props.js';
|
10
|
+
import {getToastContext} from './toast-context.svelte.js';
|
11
|
+
|
12
|
+
let {
|
13
|
+
ref = $bindable(null),
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: ToastGhostAfterProps = $props();
|
18
|
+
|
19
|
+
let toast = getToastContext();
|
20
|
+
let mergedProps = $derived(mergeProps(toast.getGhostAfterProps(), props));
|
21
|
+
</script>
|
22
|
+
|
23
|
+
{#if asChild}
|
24
|
+
{@render asChild(mergedProps)}
|
25
|
+
{:else}
|
26
|
+
<span bind:this={ref} {...mergedProps}>
|
27
|
+
{@render children?.()}
|
28
|
+
</span>
|
29
|
+
{/if}
|
@@ -1,30 +1,29 @@
|
|
1
|
-
<script lang="ts" module>
|
2
|
-
import type {HtmlIngredientProps} from '../types.js';
|
3
|
-
|
4
|
-
export interface ToastGhostBeforeProps
|
5
|
-
extends HtmlIngredientProps<'span', HTMLSpanElement> {}
|
6
|
-
</script>
|
7
|
-
|
8
|
-
<script lang="ts">
|
9
|
-
import {mergeProps} from '../merge-props.js';
|
10
|
-
import {getToastContext} from './toast-context.svelte.js';
|
11
|
-
|
12
|
-
let {
|
13
|
-
ref = $bindable(null),
|
14
|
-
asChild,
|
15
|
-
children,
|
16
|
-
...props
|
17
|
-
}: ToastGhostBeforeProps = $props();
|
18
|
-
|
19
|
-
let
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
{
|
25
|
-
|
26
|
-
{
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
{/if}
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
|
+
|
4
|
+
export interface ToastGhostBeforeProps
|
5
|
+
extends HtmlIngredientProps<'span', HTMLSpanElement> {}
|
6
|
+
</script>
|
7
|
+
|
8
|
+
<script lang="ts">
|
9
|
+
import {mergeProps} from '../merge-props.js';
|
10
|
+
import {getToastContext} from './toast-context.svelte.js';
|
11
|
+
|
12
|
+
let {
|
13
|
+
ref = $bindable(null),
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: ToastGhostBeforeProps = $props();
|
18
|
+
|
19
|
+
let toast = getToastContext();
|
20
|
+
let mergedProps = $derived(mergeProps(toast.getGhostBeforeProps(), props));
|
21
|
+
</script>
|
22
|
+
|
23
|
+
{#if asChild}
|
24
|
+
{@render asChild(mergedProps)}
|
25
|
+
{:else}
|
26
|
+
<span bind:this={ref} {...mergedProps}>
|
27
|
+
{@render children?.()}
|
28
|
+
</span>
|
29
|
+
{/if}
|
@@ -1,33 +1,32 @@
|
|
1
|
-
<script lang="ts" module>
|
2
|
-
import type {HtmlIngredientProps} from '../types.js';
|
3
|
-
import type {CreateToastReturn} from './create-toast.svelte.js';
|
4
|
-
|
5
|
-
export interface ToastProps
|
6
|
-
extends HtmlIngredientProps<'div', HTMLDivElement, CreateToastReturn> {}
|
7
|
-
</script>
|
8
|
-
|
9
|
-
<script lang="ts">
|
10
|
-
import {mergeProps} from '../merge-props.js';
|
11
|
-
import {getToastContext} from './toast-context.svelte.js';
|
12
|
-
|
13
|
-
let {
|
14
|
-
ref = $bindable(null),
|
15
|
-
asChild,
|
16
|
-
children,
|
17
|
-
...props
|
18
|
-
}: ToastProps = $props();
|
19
|
-
|
20
|
-
let toast = getToastContext();
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
{
|
26
|
-
|
27
|
-
{
|
28
|
-
|
29
|
-
|
30
|
-
{
|
31
|
-
|
32
|
-
|
33
|
-
{/if}
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
|
+
import type {CreateToastReturn} from './create-toast.svelte.js';
|
4
|
+
|
5
|
+
export interface ToastProps
|
6
|
+
extends HtmlIngredientProps<'div', HTMLDivElement, CreateToastReturn> {}
|
7
|
+
</script>
|
8
|
+
|
9
|
+
<script lang="ts">
|
10
|
+
import {mergeProps} from '../merge-props.js';
|
11
|
+
import {getToastContext} from './toast-context.svelte.js';
|
12
|
+
|
13
|
+
let {
|
14
|
+
ref = $bindable(null),
|
15
|
+
asChild,
|
16
|
+
children,
|
17
|
+
...props
|
18
|
+
}: ToastProps = $props();
|
19
|
+
|
20
|
+
let toast = getToastContext();
|
21
|
+
let mergedProps = $derived(mergeProps(toast.getRootProps(), props));
|
22
|
+
</script>
|
23
|
+
|
24
|
+
{#if asChild}
|
25
|
+
{@render asChild(mergedProps, toast)}
|
26
|
+
{:else}
|
27
|
+
<div bind:this={ref} {...mergedProps}>
|
28
|
+
<div {...toast.getGhostBeforeProps()}></div>
|
29
|
+
{@render children?.(toast)}
|
30
|
+
<div {...toast.getGhostAfterProps()}></div>
|
31
|
+
</div>
|
32
|
+
{/if}
|
@@ -1,34 +1,33 @@
|
|
1
|
-
<script lang="ts" module>
|
2
|
-
import type {HtmlIngredientProps} from '../types.js';
|
3
|
-
|
4
|
-
export interface ToastTitleProps
|
5
|
-
extends HtmlIngredientProps<'h2', HTMLHeadingElement> {}
|
6
|
-
</script>
|
7
|
-
|
8
|
-
<script lang="ts">
|
9
|
-
import {mergeProps} from '../merge-props.js';
|
10
|
-
import {getToastContext} from './toast-context.svelte.js';
|
11
|
-
|
12
|
-
let {
|
13
|
-
ref = $bindable(null),
|
14
|
-
asChild,
|
15
|
-
children,
|
16
|
-
...props
|
17
|
-
}: ToastTitleProps = $props();
|
18
|
-
|
19
|
-
let
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
{
|
25
|
-
|
26
|
-
{
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
{/if}
|
1
|
+
<script lang="ts" module>
|
2
|
+
import type {HtmlIngredientProps} from '../types.js';
|
3
|
+
|
4
|
+
export interface ToastTitleProps
|
5
|
+
extends HtmlIngredientProps<'h2', HTMLHeadingElement> {}
|
6
|
+
</script>
|
7
|
+
|
8
|
+
<script lang="ts">
|
9
|
+
import {mergeProps} from '../merge-props.js';
|
10
|
+
import {getToastContext} from './toast-context.svelte.js';
|
11
|
+
|
12
|
+
let {
|
13
|
+
ref = $bindable(null),
|
14
|
+
asChild,
|
15
|
+
children,
|
16
|
+
...props
|
17
|
+
}: ToastTitleProps = $props();
|
18
|
+
|
19
|
+
let toast = getToastContext();
|
20
|
+
let mergedProps = $derived(mergeProps(toast.getTitleProps(), props));
|
21
|
+
</script>
|
22
|
+
|
23
|
+
{#if asChild}
|
24
|
+
{@render asChild(mergedProps)}
|
25
|
+
{:else}
|
26
|
+
<h2 bind:this={ref} {...mergedProps}>
|
27
|
+
{#if children}
|
28
|
+
{@render children?.()}
|
29
|
+
{:else}
|
30
|
+
{toast.title}
|
31
|
+
{/if}
|
32
|
+
</h2>
|
33
|
+
{/if}
|
@@ -16,9 +16,10 @@
|
|
16
16
|
import {getEnvironmentContext} from '../environment-provider/enviroment-provider-context.svelte.js';
|
17
17
|
import {getLocaleContext} from '../locale-provider/local-provider-context.svelte.js';
|
18
18
|
import {mergeProps} from '../merge-props.js';
|
19
|
-
import {
|
20
|
-
import * as toast from '@zag-js/toast';
|
19
|
+
import {getPortalProviderPropsContext} from '../portal/portal-context.svelte.js';
|
21
20
|
import type {HTMLAttributes} from 'svelte/elements';
|
21
|
+
import {normalizeProps, portal, useMachine} from 'zagjs-legacy-svelte';
|
22
|
+
import * as toast from 'zagjs-legacy-toast';
|
22
23
|
import ToastActor from './toast-actor.svelte';
|
23
24
|
|
24
25
|
let {
|
@@ -30,6 +31,7 @@
|
|
30
31
|
|
31
32
|
let locale = getLocaleContext();
|
32
33
|
let environment = getEnvironmentContext();
|
34
|
+
let portalProviderProps = getPortalProviderPropsContext();
|
33
35
|
|
34
36
|
let [state, send] = useMachine(toaster.machine, {
|
35
37
|
context: {
|
@@ -51,7 +53,14 @@
|
|
51
53
|
);
|
52
54
|
</script>
|
53
55
|
|
54
|
-
<div
|
56
|
+
<div
|
57
|
+
bind:this={ref}
|
58
|
+
use:portal={{
|
59
|
+
container: portalProviderProps?.container ?? undefined,
|
60
|
+
getRootNode: environment?.getRootNode,
|
61
|
+
}}
|
62
|
+
{...mergedProps}
|
63
|
+
>
|
55
64
|
{#each toasts as toast (toast.id)}
|
56
65
|
<ToastActor actor={toast} {children} />
|
57
66
|
{/each}
|
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.15.
|
5
|
+
"version": "0.22.0",
|
6
|
+
"packageManager": "pnpm@9.15.1",
|
7
7
|
"svelte": "./dist/index.js",
|
8
8
|
"types": "./dist/index.d.ts",
|
9
9
|
"exports": {
|
@@ -307,54 +307,56 @@
|
|
307
307
|
"release": "release-it"
|
308
308
|
},
|
309
309
|
"dependencies": {
|
310
|
-
"@zag-js/accordion": "^0.
|
311
|
-
"@zag-js/anatomy": "^0.
|
312
|
-
"@zag-js/angle-slider": "^0.78.
|
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.
|
310
|
+
"@zag-js/accordion": "^0.78.3",
|
311
|
+
"@zag-js/anatomy": "^0.78.3",
|
312
|
+
"@zag-js/angle-slider": "^0.78.3",
|
313
|
+
"@zag-js/auto-resize": "^0.78.3",
|
314
|
+
"@zag-js/avatar": "^0.78.3",
|
315
|
+
"@zag-js/carousel": "^0.78.3",
|
316
|
+
"@zag-js/checkbox": "^0.78.3",
|
317
|
+
"@zag-js/clipboard": "^0.78.3",
|
318
|
+
"@zag-js/collapsible": "^0.78.3",
|
319
|
+
"@zag-js/color-picker": "^0.78.3",
|
320
|
+
"@zag-js/combobox": "^0.78.3",
|
321
|
+
"@zag-js/core": "^0.78.3",
|
322
|
+
"@zag-js/date-picker": "^0.78.3",
|
323
|
+
"@zag-js/dialog": "^0.78.3",
|
324
|
+
"@zag-js/dom-query": "^0.78.3",
|
325
|
+
"@zag-js/editable": "^0.78.3",
|
326
|
+
"@zag-js/file-upload": "^0.78.3",
|
327
|
+
"@zag-js/floating-panel": "^0.78.3",
|
328
|
+
"@zag-js/highlight-word": "^0.78.3",
|
329
|
+
"@zag-js/hover-card": "^0.78.3",
|
330
|
+
"@zag-js/i18n-utils": "^0.78.3",
|
331
|
+
"@zag-js/menu": "^0.78.3",
|
332
|
+
"@zag-js/number-input": "^0.78.3",
|
333
|
+
"@zag-js/pagination": "^0.78.3",
|
334
|
+
"@zag-js/pin-input": "^0.78.3",
|
335
|
+
"@zag-js/popover": "^0.78.3",
|
336
|
+
"@zag-js/presence": "^0.78.3",
|
337
|
+
"@zag-js/progress": "^0.78.3",
|
338
|
+
"@zag-js/qr-code": "^0.78.3",
|
339
|
+
"@zag-js/radio-group": "^0.78.3",
|
340
|
+
"@zag-js/rating-group": "^0.78.3",
|
341
|
+
"@zag-js/select": "^0.78.3",
|
342
|
+
"@zag-js/signature-pad": "^0.78.3",
|
343
|
+
"@zag-js/slider": "^0.78.3",
|
344
|
+
"@zag-js/splitter": "^0.78.3",
|
345
|
+
"@zag-js/steps": "^0.78.3",
|
346
|
+
"@zag-js/svelte": "^0.78.3",
|
347
|
+
"@zag-js/switch": "^0.78.3",
|
348
|
+
"@zag-js/tabs": "^0.78.3",
|
349
|
+
"@zag-js/tags-input": "^0.78.3",
|
350
|
+
"@zag-js/time-picker": "^0.78.3",
|
351
|
+
"@zag-js/timer": "^0.78.3",
|
352
|
+
"@zag-js/toast": "^0.78.3",
|
353
|
+
"@zag-js/toggle-group": "^0.78.3",
|
354
|
+
"@zag-js/tooltip": "^0.78.3",
|
355
|
+
"@zag-js/tour": "^0.78.3",
|
356
|
+
"@zag-js/tree-view": "^0.78.3",
|
357
|
+
"@zag-js/utils": "^0.78.3",
|
358
|
+
"zagjs-legacy-svelte": "npm:@zag-js/svelte@0.77.1",
|
359
|
+
"zagjs-legacy-toast": "npm:@zag-js/toast@0.77.1"
|
358
360
|
},
|
359
361
|
"peerDependencies": {
|
360
362
|
"svelte": ">=5.0.0"
|
@@ -362,28 +364,28 @@
|
|
362
364
|
"devDependencies": {
|
363
365
|
"@faker-js/faker": "^9.3.0",
|
364
366
|
"@sveltejs/adapter-vercel": "^5.5.2",
|
365
|
-
"@sveltejs/kit": "^2.
|
367
|
+
"@sveltejs/kit": "^2.13.0",
|
366
368
|
"@sveltejs/package": "^2.3.7",
|
367
|
-
"@sveltejs/vite-plugin-svelte": "^5.0.
|
369
|
+
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
368
370
|
"@testing-library/jest-dom": "^6.6.3",
|
369
371
|
"@testing-library/svelte": "^5.2.6",
|
370
372
|
"@testing-library/user-event": "^14.5.2",
|
371
373
|
"@types/jsdom": "^21.1.7",
|
372
374
|
"@untitled-theme/icons-svelte": "^0.12.0",
|
373
375
|
"autoprefixer": "^10.4.20",
|
374
|
-
"globals": "^15.
|
376
|
+
"globals": "^15.14.0",
|
375
377
|
"jsdom": "^25.0.1",
|
376
378
|
"postcss": "^8.4.49",
|
377
379
|
"publint": "^0.2.12",
|
378
380
|
"release-it": "^17.10.0",
|
379
381
|
"resize-observer-polyfill": "^1.5.1",
|
380
|
-
"svelte": "^5.
|
382
|
+
"svelte": "^5.15.0",
|
381
383
|
"svelte-check": "^4.1.1",
|
382
384
|
"tailwind-merge": "^2.5.5",
|
383
385
|
"tailwind-variants": "^0.3.0",
|
384
|
-
"tailwindcss": "^3.4.
|
386
|
+
"tailwindcss": "^3.4.17",
|
385
387
|
"typescript": "^5.7.2",
|
386
|
-
"vite": "^6.0.
|
388
|
+
"vite": "^6.0.5",
|
387
389
|
"vitest": "^2.1.8",
|
388
390
|
"vitest-axe": "^1.0.0-pre.3",
|
389
391
|
"vitest-canvas-mock": "^0.3.3"
|