@fileverse-dev/dsheet 1.2.86-toast-1 → 1.2.87-toast-2
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.es.js +5 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -169632,7 +169632,7 @@ const okt = Ie.forwardRef(({ className: e, position: t = "bottom-right", ...r },
|
|
|
169632
169632
|
{
|
|
169633
169633
|
ref: i,
|
|
169634
169634
|
className: kr(
|
|
169635
|
-
"fixed z-[100] flex gap-2 max-h-screen w-full flex-col-reverse p-4 sm:flex-col max-w-fit overflow-clip overscroll-contain",
|
|
169635
|
+
"fixed z-[100] flex gap-2 max-h-screen w-full flex-col-reverse p-4 !pb-[calc(16px+24px)] sm:flex-col max-w-fit overflow-clip overscroll-contain",
|
|
169636
169636
|
{
|
|
169637
169637
|
"top-0 right-0 items-end overflow-y-auto": t === "top-right",
|
|
169638
169638
|
"top-0 left-0 items-start overflow-y-auto": t === "top-left",
|
|
@@ -169648,7 +169648,7 @@ const okt = Ie.forwardRef(({ className: e, position: t = "bottom-right", ...r },
|
|
|
169648
169648
|
));
|
|
169649
169649
|
okt.displayName = $J.displayName;
|
|
169650
169650
|
const ckt = Dc(
|
|
169651
|
-
"group pointer-events-auto shrink-0 relative
|
|
169651
|
+
"group pointer-events-auto shrink-0 relative flex items-center justify-between overflow-hidden rounded-lg px-3 py-2 shadow-elevation-3 transition-all data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=open]:duration-300 data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[swipe=end]:animate-out data-[state=closed]:fade-out-80",
|
|
169652
169652
|
{
|
|
169653
169653
|
variants: {
|
|
169654
169654
|
variant: {
|
|
@@ -169659,7 +169659,7 @@ const ckt = Dc(
|
|
|
169659
169659
|
info: "info"
|
|
169660
169660
|
},
|
|
169661
169661
|
type: {
|
|
169662
|
-
normal: "normal-toast space-x-4 group w-[320px] max-w-full
|
|
169662
|
+
normal: "normal-toast space-x-4 border color-border-default group w-[320px] max-w-full",
|
|
169663
169663
|
mini: "mini-toast gap-2 w-fit max-w-full border-0"
|
|
169664
169664
|
},
|
|
169665
169665
|
position: {
|
|
@@ -169700,7 +169700,7 @@ const ckt = Dc(
|
|
|
169700
169700
|
{
|
|
169701
169701
|
type: "mini",
|
|
169702
169702
|
variant: "default",
|
|
169703
|
-
className: "
|
|
169703
|
+
className: "color-bg-default color-text-default"
|
|
169704
169704
|
},
|
|
169705
169705
|
{
|
|
169706
169706
|
type: "mini",
|
|
@@ -234764,6 +234764,7 @@ const FMt = ({
|
|
|
234764
234764
|
if (c[q], !j.v.baseValue) continue;
|
|
234765
234765
|
j.v = typeof j.v == "string" ? j.v : { ...c[q].v };
|
|
234766
234766
|
const N = (m = (v = j.v) == null ? void 0 : v.m) == null ? void 0 : m.toString(), P = (p = (h = j.v) == null ? void 0 : h.m) != null && p.includes(".") ? (w = (g = (b = (d = j.v) == null ? void 0 : d.m) == null ? void 0 : b.split(" ")[0]) == null ? void 0 : g.split(".")[1]) == null ? void 0 : w.length : 0, A = (k = (x = j.v) == null ? void 0 : x.m) == null ? void 0 : k.split(" ")[1], _ = DMt[A], D = (L = t.current[_]) == null ? void 0 : L[(T = j.v) == null ? void 0 : T.baseCurrency];
|
|
234767
|
+
if (!D) return;
|
|
234767
234768
|
j.v.m = N.replace(
|
|
234768
234769
|
/\d+(\.\d+)?/,
|
|
234769
234770
|
(Number((S = j.v) == null ? void 0 : S.v) / D).toFixed(P).toString()
|