@mmb-digital/ds-lilly 0.10.16 → 0.10.18
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/ds-lilly.js +1 -1
- package/package.json +1 -1
package/dist/ds-lilly.js
CHANGED
|
@@ -98901,7 +98901,7 @@ var ToastContainer = function (_a) {
|
|
|
98901
98901
|
var toastId = rest.toastId || "toast-" + Math.random().toString();
|
|
98902
98902
|
setToasts(function (prev) { return Toast_spreadArray([Toast_assign(Toast_assign({}, rest), { toastId: toastId })], prev); });
|
|
98903
98903
|
if ((autoCloseMilliseconds || toastAutoCloseMilliseconds) && toastAutoCloseMilliseconds !== 0) {
|
|
98904
|
-
setTimeout(function () { return handleCloseToast(toastId)(); },
|
|
98904
|
+
setTimeout(function () { return handleCloseToast(toastId)(); }, toastAutoCloseMilliseconds || autoCloseMilliseconds);
|
|
98905
98905
|
}
|
|
98906
98906
|
};
|
|
98907
98907
|
var handleRemoveToast = function (event) { return handleCloseToast(event.detail)(); };
|