@g4rcez/components 2.0.37 → 2.0.39
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/index.mjs
CHANGED
|
@@ -22017,7 +22017,7 @@ const HH = (e) => {
|
|
|
22017
22017
|
{
|
|
22018
22018
|
variants: u$,
|
|
22019
22019
|
transition: d$,
|
|
22020
|
-
className: `hidden xl:block
|
|
22020
|
+
className: `hidden xl:block absolute inset-0 rounded-full text-center ${u === "error" ? "bg-danger" : ""}`
|
|
22021
22021
|
}
|
|
22022
22022
|
),
|
|
22023
22023
|
/* @__PURE__ */ x(
|
|
@@ -31378,17 +31378,17 @@ const E3 = (e) => {
|
|
|
31378
31378
|
};
|
|
31379
31379
|
}, []), t;
|
|
31380
31380
|
}, C3 = Ii(
|
|
31381
|
-
"relative isolate z-tooltip flex justify-between overflow-hidden whitespace-
|
|
31381
|
+
"relative isolate z-tooltip flex justify-between overflow-hidden whitespace-wrap rounded-lg border text-sm shadow-shadow-notification",
|
|
31382
31382
|
{
|
|
31383
31383
|
variants: {
|
|
31384
31384
|
theme: {
|
|
31385
31385
|
default: "border-card-border bg-card-background text-foreground",
|
|
31386
31386
|
info: "bg-alert-info-bg text-alert-info-text border-alert-info-border",
|
|
31387
31387
|
warn: "bg-alert-warn-bg text-alert-warn-text border-alert-warn-border",
|
|
31388
|
+
muted: "bg-alert-muted-bg text-alert-muted-text border-alert-muted-border",
|
|
31388
31389
|
danger: "bg-alert-danger-bg text-alert-danger-text border-alert-danger-border",
|
|
31389
31390
|
success: "bg-alert-success-bg text-alert-success-text border-alert-success-border",
|
|
31390
|
-
secondary: "bg-alert-secondary-bg text-alert-secondary-text border-alert-secondary-border"
|
|
31391
|
-
muted: "bg-alert-muted-bg text-alert-muted-text border-alert-muted-border"
|
|
31391
|
+
secondary: "bg-alert-secondary-bg text-alert-secondary-text border-alert-secondary-border"
|
|
31392
31392
|
}
|
|
31393
31393
|
},
|
|
31394
31394
|
defaultVariants: { theme: "default" }
|
|
@@ -31412,17 +31412,17 @@ function R3(e) {
|
|
|
31412
31412
|
"data-index": e.index,
|
|
31413
31413
|
initial: { y: -100, zIndex: -1 },
|
|
31414
31414
|
className: "absolute top-0 right-0 w-80 pointer-events-auto text-select",
|
|
31415
|
+
transition: { type: "spring", mass: 1.2, damping: 30, stiffness: 200 },
|
|
31416
|
+
exit: { opacity: [0.9, 0], transition: { opacity: { bounce: 0.25, duration: 0.3 } } },
|
|
31415
31417
|
variants: {
|
|
31416
31418
|
isLast: { y: 10, scale: 1, animationDuration: "300ms", opacity: 1 },
|
|
31417
31419
|
hover: { y: 0, position: "static", scale: 1, opacity: 1 },
|
|
31418
31420
|
other: fx[e.reversedIndex] || fx.default
|
|
31419
31421
|
},
|
|
31420
|
-
transition: { type: "spring", mass: 1.2, damping: 30, stiffness: 200 },
|
|
31421
|
-
exit: { opacity: [0.9, 0], transition: { opacity: { bounce: 0.25, duration: 0.3 } } },
|
|
31422
31422
|
children: /* @__PURE__ */ Q(Ek, { className: r, children: [
|
|
31423
31423
|
/* @__PURE__ */ Q("div", { className: "flex flex-col p-4", children: [
|
|
31424
|
-
e.toast.title ? /* @__PURE__ */ x(Rk, { className: "text-lg font-medium leading-relaxed select-text
|
|
31425
|
-
/* @__PURE__ */ x(Ck, { className: "select-text
|
|
31424
|
+
e.toast.title ? /* @__PURE__ */ x(Rk, { className: "text-lg font-medium leading-relaxed select-text" }) : null,
|
|
31425
|
+
/* @__PURE__ */ x(Ck, { className: "select-text" })
|
|
31426
31426
|
] }),
|
|
31427
31427
|
t ? /* @__PURE__ */ x(Ak, { className: "absolute top-2 right-2 p-1 rounded-full transition text-foreground hover:bg-danger/10 hover:text-danger-hover", children: /* @__PURE__ */ x(Di, { className: "size-5" }) }) : null
|
|
31428
31428
|
] })
|