mediacube-ui-v2 0.0.124 → 0.0.126
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/mediacube-ui-v2.js
CHANGED
|
@@ -23792,11 +23792,11 @@ const pn = /* @__PURE__ */ xe({
|
|
|
23792
23792
|
},
|
|
23793
23793
|
emits: ["closed"],
|
|
23794
23794
|
setup(t, { emit: e }) {
|
|
23795
|
-
const a = e, n = t, r = g(() => n.variation ||
|
|
23795
|
+
const a = e, n = t, r = Ke("toast"), l = g(() => n.variation || r.component.variation), s = o0(n.toast.timeEnd, n.duration), i = g(() => ({
|
|
23796
23796
|
"mc-toast": !0,
|
|
23797
|
-
[`mc-toast--variation-${
|
|
23797
|
+
[`mc-toast--variation-${l.value}`]: !0
|
|
23798
23798
|
})), o = g(() => ({
|
|
23799
|
-
"--mc-toast-background-color":
|
|
23799
|
+
"--mc-toast-background-color": r.colors[l.value]
|
|
23800
23800
|
})), p = () => {
|
|
23801
23801
|
a("closed", n.toast);
|
|
23802
23802
|
}, c = (u) => {
|