@underverse-ui/underverse 1.0.60 → 1.0.61
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/api-reference.json +1 -1
- package/dist/index.cjs +6 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3535,29 +3535,25 @@ var ToastComponent = ({ toast, onRemove }) => {
|
|
|
3535
3535
|
icon: CheckCircle2,
|
|
3536
3536
|
containerClassName: "bg-success/5 border-success/30",
|
|
3537
3537
|
iconClassName: "text-success",
|
|
3538
|
-
iconBgClassName: "bg-success/15"
|
|
3539
|
-
accentBarClassName: "bg-success"
|
|
3538
|
+
iconBgClassName: "bg-success/15"
|
|
3540
3539
|
},
|
|
3541
3540
|
error: {
|
|
3542
3541
|
icon: AlertCircle2,
|
|
3543
3542
|
containerClassName: "bg-destructive/5 border-destructive/30",
|
|
3544
3543
|
iconClassName: "text-destructive",
|
|
3545
|
-
iconBgClassName: "bg-destructive/15"
|
|
3546
|
-
accentBarClassName: "bg-destructive"
|
|
3544
|
+
iconBgClassName: "bg-destructive/15"
|
|
3547
3545
|
},
|
|
3548
3546
|
warning: {
|
|
3549
3547
|
icon: AlertTriangle2,
|
|
3550
3548
|
containerClassName: "bg-warning/5 border-warning/30",
|
|
3551
3549
|
iconClassName: "text-warning",
|
|
3552
|
-
iconBgClassName: "bg-warning/15"
|
|
3553
|
-
accentBarClassName: "bg-warning"
|
|
3550
|
+
iconBgClassName: "bg-warning/15"
|
|
3554
3551
|
},
|
|
3555
3552
|
info: {
|
|
3556
3553
|
icon: Info,
|
|
3557
3554
|
containerClassName: "bg-info/5 border-info/30",
|
|
3558
3555
|
iconClassName: "text-info",
|
|
3559
|
-
iconBgClassName: "bg-info/15"
|
|
3560
|
-
accentBarClassName: "bg-info"
|
|
3556
|
+
iconBgClassName: "bg-info/15"
|
|
3561
3557
|
}
|
|
3562
3558
|
};
|
|
3563
3559
|
const config = typeConfig[toast.type];
|
|
@@ -3566,7 +3562,7 @@ var ToastComponent = ({ toast, onRemove }) => {
|
|
|
3566
3562
|
"div",
|
|
3567
3563
|
{
|
|
3568
3564
|
className: cn(
|
|
3569
|
-
"relative w-80 rounded-
|
|
3565
|
+
"relative w-80 rounded-xl border backdrop-blur-md transition-all duration-300 pointer-events-auto overflow-hidden",
|
|
3570
3566
|
"bg-card shadow-xl",
|
|
3571
3567
|
"animate-in slide-in-from-right-full",
|
|
3572
3568
|
config.containerClassName,
|
|
@@ -3587,8 +3583,7 @@ var ToastComponent = ({ toast, onRemove }) => {
|
|
|
3587
3583
|
setPaused(false);
|
|
3588
3584
|
},
|
|
3589
3585
|
children: [
|
|
3590
|
-
/* @__PURE__ */
|
|
3591
|
-
/* @__PURE__ */ jsxs12("div", { className: "flex items-start gap-3 p-4 pl-5", children: [
|
|
3586
|
+
/* @__PURE__ */ jsxs12("div", { className: "flex items-start gap-3 p-4", children: [
|
|
3592
3587
|
/* @__PURE__ */ jsx16("div", { className: cn("flex items-center justify-center w-8 h-8 rounded-full shrink-0", config.iconBgClassName), children: /* @__PURE__ */ jsx16(Icon, { className: cn("h-4 w-4", config.iconClassName) }) }),
|
|
3593
3588
|
/* @__PURE__ */ jsxs12("div", { className: "flex-1 space-y-1", children: [
|
|
3594
3589
|
toast.title && /* @__PURE__ */ jsx16("h4", { className: "font-medium text-sm leading-none", children: toast.title }),
|