d9-toast 1.3.21 → 1.3.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/ToastContext.js +1 -0
- package/dist/d9-toast.d.ts +1 -1
- package/dist/toast.css +2 -1
- package/package.json +1 -1
package/dist/ToastContext.js
CHANGED
package/dist/d9-toast.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ declare module "d9-toast" {
|
|
|
77
77
|
/** Context value shape */
|
|
78
78
|
export interface ToastContextValue {
|
|
79
79
|
/** Show a toast with given options */
|
|
80
|
-
showToast: (toast: ToastOptions) =>
|
|
80
|
+
showToast: (toast: ToastOptions) => number;
|
|
81
81
|
/** Remove a toast by ID */
|
|
82
82
|
removeToast: (id: number) => void;
|
|
83
83
|
/** Remove all active toasts */
|
package/dist/toast.css
CHANGED
|
@@ -97,11 +97,12 @@
|
|
|
97
97
|
border-radius: 8px;
|
|
98
98
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
99
99
|
font-size: smaller;
|
|
100
|
-
font-family:
|
|
100
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
101
101
|
transition: all 0.3s ease-in;
|
|
102
102
|
will-change: transform, opacity;
|
|
103
103
|
background-color: var(--primary-bg);
|
|
104
104
|
color: var(--primary-color);
|
|
105
|
+
backdrop-filter: blur(10px);
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
/* Theme colors */
|