vanilla-jui 1.5.20 → 1.5.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/css/layout.css +288 -75
- package/src/primitives/toast.ts +43 -0
package/dist/index.d.ts
CHANGED
|
@@ -595,6 +595,7 @@ interface ToastThemeOptions extends ToastClassNameOptions {
|
|
|
595
595
|
}
|
|
596
596
|
interface ToastOptions extends ToastThemeOptions {
|
|
597
597
|
duration?: number;
|
|
598
|
+
once?: boolean;
|
|
598
599
|
loading?: MaybeAccessor<boolean>;
|
|
599
600
|
text?: {
|
|
600
601
|
loading?: string;
|
|
@@ -603,6 +604,7 @@ interface ToastOptions extends ToastThemeOptions {
|
|
|
603
604
|
onCancel?: () => void | Promise<void>;
|
|
604
605
|
}
|
|
605
606
|
interface ToastConfirmProps extends ToastThemeOptions {
|
|
607
|
+
once?: boolean;
|
|
606
608
|
text?: {
|
|
607
609
|
close?: string;
|
|
608
610
|
confirm?: string;
|