@sudobility/components 5.0.56 → 5.0.57
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.js +10 -4
- package/dist/ui/toast/Toast.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2479,7 +2479,7 @@ function va({
|
|
|
2479
2479
|
"div",
|
|
2480
2480
|
{
|
|
2481
2481
|
className: `
|
|
2482
|
-
flex items-
|
|
2482
|
+
flex items-start gap-3 px-4 py-3 rounded-lg border shadow-lg pointer-events-auto cursor-default
|
|
2483
2483
|
transition-all duration-200 ease-out
|
|
2484
2484
|
${d.container}
|
|
2485
2485
|
${r && !o ? "opacity-100 translate-x-0" : "opacity-0 translate-x-4"}
|
|
@@ -2487,14 +2487,20 @@ function va({
|
|
|
2487
2487
|
role: "alert",
|
|
2488
2488
|
"aria-live": "polite",
|
|
2489
2489
|
children: [
|
|
2490
|
-
/* @__PURE__ */ a("span", { className: d.icon
|
|
2491
|
-
/* @__PURE__ */ a(
|
|
2490
|
+
/* @__PURE__ */ a("span", { className: `flex-shrink-0 mt-0.5 ${d.icon}`, children: ba[l] }),
|
|
2491
|
+
/* @__PURE__ */ a(
|
|
2492
|
+
"span",
|
|
2493
|
+
{
|
|
2494
|
+
className: `flex-1 min-w-0 text-sm font-medium max-h-32 overflow-y-auto ${d.text}`,
|
|
2495
|
+
children: i
|
|
2496
|
+
}
|
|
2497
|
+
),
|
|
2492
2498
|
/* @__PURE__ */ a(
|
|
2493
2499
|
"button",
|
|
2494
2500
|
{
|
|
2495
2501
|
onClick: m,
|
|
2496
2502
|
className: `
|
|
2497
|
-
p-1 rounded-md transition-colors
|
|
2503
|
+
flex-shrink-0 p-1 rounded-md transition-colors
|
|
2498
2504
|
hover:bg-black/10 dark:hover:bg-white/10
|
|
2499
2505
|
${d.text}
|
|
2500
2506
|
`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/ui/toast/Toast.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAqGnD;;GAEG;AACH,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,SAAS,GACV,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/ui/toast/Toast.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAqGnD;;GAEG;AACH,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,SAAS,GACV,EAAE,mBAAmB,GAAG,KAAK,CAAC,YAAY,CAgE1C;AAED,eAAe,KAAK,CAAC"}
|