@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/api-reference.json
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -3717,29 +3717,25 @@ var ToastComponent = ({ toast, onRemove }) => {
|
|
|
3717
3717
|
icon: import_lucide_react7.CheckCircle,
|
|
3718
3718
|
containerClassName: "bg-success/5 border-success/30",
|
|
3719
3719
|
iconClassName: "text-success",
|
|
3720
|
-
iconBgClassName: "bg-success/15"
|
|
3721
|
-
accentBarClassName: "bg-success"
|
|
3720
|
+
iconBgClassName: "bg-success/15"
|
|
3722
3721
|
},
|
|
3723
3722
|
error: {
|
|
3724
3723
|
icon: import_lucide_react7.AlertCircle,
|
|
3725
3724
|
containerClassName: "bg-destructive/5 border-destructive/30",
|
|
3726
3725
|
iconClassName: "text-destructive",
|
|
3727
|
-
iconBgClassName: "bg-destructive/15"
|
|
3728
|
-
accentBarClassName: "bg-destructive"
|
|
3726
|
+
iconBgClassName: "bg-destructive/15"
|
|
3729
3727
|
},
|
|
3730
3728
|
warning: {
|
|
3731
3729
|
icon: import_lucide_react7.AlertTriangle,
|
|
3732
3730
|
containerClassName: "bg-warning/5 border-warning/30",
|
|
3733
3731
|
iconClassName: "text-warning",
|
|
3734
|
-
iconBgClassName: "bg-warning/15"
|
|
3735
|
-
accentBarClassName: "bg-warning"
|
|
3732
|
+
iconBgClassName: "bg-warning/15"
|
|
3736
3733
|
},
|
|
3737
3734
|
info: {
|
|
3738
3735
|
icon: import_lucide_react7.Info,
|
|
3739
3736
|
containerClassName: "bg-info/5 border-info/30",
|
|
3740
3737
|
iconClassName: "text-info",
|
|
3741
|
-
iconBgClassName: "bg-info/15"
|
|
3742
|
-
accentBarClassName: "bg-info"
|
|
3738
|
+
iconBgClassName: "bg-info/15"
|
|
3743
3739
|
}
|
|
3744
3740
|
};
|
|
3745
3741
|
const config = typeConfig[toast.type];
|
|
@@ -3748,7 +3744,7 @@ var ToastComponent = ({ toast, onRemove }) => {
|
|
|
3748
3744
|
"div",
|
|
3749
3745
|
{
|
|
3750
3746
|
className: cn(
|
|
3751
|
-
"relative w-80 rounded-
|
|
3747
|
+
"relative w-80 rounded-xl border backdrop-blur-md transition-all duration-300 pointer-events-auto overflow-hidden",
|
|
3752
3748
|
"bg-card shadow-xl",
|
|
3753
3749
|
"animate-in slide-in-from-right-full",
|
|
3754
3750
|
config.containerClassName,
|
|
@@ -3769,8 +3765,7 @@ var ToastComponent = ({ toast, onRemove }) => {
|
|
|
3769
3765
|
setPaused(false);
|
|
3770
3766
|
},
|
|
3771
3767
|
children: [
|
|
3772
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.
|
|
3773
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-start gap-3 p-4 pl-5", children: [
|
|
3768
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex items-start gap-3 p-4", children: [
|
|
3774
3769
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: cn("flex items-center justify-center w-8 h-8 rounded-full shrink-0", config.iconBgClassName), children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Icon, { className: cn("h-4 w-4", config.iconClassName) }) }),
|
|
3775
3770
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex-1 space-y-1", children: [
|
|
3776
3771
|
toast.title && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("h4", { className: "font-medium text-sm leading-none", children: toast.title }),
|