ui-ingredients 0.0.60 → 0.0.61
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { Machine, StateMachine } from '@zag-js/core';
|
1
2
|
import * as toast from '@zag-js/toast';
|
2
3
|
export interface CreateToasterProps {
|
3
4
|
id?: string | null;
|
@@ -11,6 +12,9 @@ export interface CreateToasterProps {
|
|
11
12
|
removeDelay?: toast.GroupMachineContext['removeDelay'];
|
12
13
|
pauseOnPageIdle?: toast.GroupMachineContext['pauseOnPageIdle'];
|
13
14
|
}
|
14
|
-
export interface CreateToasterReturn extends
|
15
|
+
export interface CreateToasterReturn extends toast.GroupApi {
|
16
|
+
machine: Machine<toast.GroupMachineContext<any>, {
|
17
|
+
value: 'stack' | 'overlap';
|
18
|
+
}, StateMachine.AnyEventObject>;
|
15
19
|
}
|
16
20
|
export declare function createToaster(props?: CreateToasterProps): any;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "ui-ingredients",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.61",
|
5
5
|
"packageManager": "pnpm@9.7.0",
|
6
6
|
"svelte": "./dist/index.js",
|
7
7
|
"types": "./dist/index.d.ts",
|
@@ -94,6 +94,7 @@
|
|
94
94
|
"@zag-js/collapsible": "0.71.0",
|
95
95
|
"@zag-js/color-picker": "0.71.0",
|
96
96
|
"@zag-js/combobox": "0.71.0",
|
97
|
+
"@zag-js/core": "0.71.0",
|
97
98
|
"@zag-js/date-picker": "0.71.0",
|
98
99
|
"@zag-js/dialog": "0.71.0",
|
99
100
|
"@zag-js/dom-query": "0.71.0",
|