@scbt-ecom/ui 0.0.55 → 0.0.56
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/{Notification-BVwMDH16.js → Notification-BGmp0XMG.js} +39 -38
- package/dist/Notification-BGmp0XMG.js.map +1 -0
- package/dist/client.d.ts +0 -1
- package/dist/client.js +2956 -2954
- package/dist/client.js.map +1 -1
- package/dist/hybrid.js +38 -38
- package/dist/hybrid.js.map +1 -1
- package/package.json +1 -1
- package/dist/Notification-BVwMDH16.js.map +0 -1
- package/dist/shared/ui/Portal.d.ts +0 -7
|
@@ -2906,7 +2906,7 @@ const A = (t) => {
|
|
|
2906
2906
|
"font-size": ["leading"]
|
|
2907
2907
|
}
|
|
2908
2908
|
};
|
|
2909
|
-
}, Tn = /* @__PURE__ */ an(Pn), ge = (...t) => Tn(Sr(t)), er = 6048e5,
|
|
2909
|
+
}, Tn = /* @__PURE__ */ an(Pn), ge = (...t) => Tn(Sr(t)), vs = typeof window < "u" && window.document !== void 0, er = 6048e5, xs = 864e5, En = 6e4, _n = 36e5, Cn = 1e3, Nt = Symbol.for("constructDateFrom");
|
|
2910
2910
|
function $(t, r) {
|
|
2911
2911
|
return typeof t == "function" ? t(r) : t && typeof t == "object" && Nt in t ? t[Nt](r) : t instanceof Date ? new t.constructor(r) : new Date(r);
|
|
2912
2912
|
}
|
|
@@ -2958,7 +2958,7 @@ function Dn(t, r) {
|
|
|
2958
2958
|
function Mn(t) {
|
|
2959
2959
|
return t instanceof Date || typeof t == "object" && Object.prototype.toString.call(t) === "[object Date]";
|
|
2960
2960
|
}
|
|
2961
|
-
function
|
|
2961
|
+
function ks(t) {
|
|
2962
2962
|
return !(!Mn(t) && typeof t != "number" || isNaN(+B(t)));
|
|
2963
2963
|
}
|
|
2964
2964
|
const jn = {
|
|
@@ -4948,7 +4948,7 @@ const uo = {
|
|
|
4948
4948
|
t: new lo(),
|
|
4949
4949
|
T: new co()
|
|
4950
4950
|
}, fo = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ho = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, mo = /^'([^]*?)'?$/, po = /''/g, bo = /\S/, go = /[a-zA-Z]/;
|
|
4951
|
-
function
|
|
4951
|
+
function Ps(t, r, e, n) {
|
|
4952
4952
|
var E, M, P, K;
|
|
4953
4953
|
const a = () => $(e, NaN), o = xa(), i = o.locale ?? ua, l = o.firstWeekContainsDate ?? ((M = (E = o.locale) == null ? void 0 : E.options) == null ? void 0 : M.firstWeekContainsDate) ?? 1, c = o.weekStartsOn ?? ((K = (P = o.locale) == null ? void 0 : P.options) == null ? void 0 : K.weekStartsOn) ?? 0;
|
|
4954
4954
|
if (!r)
|
|
@@ -5022,7 +5022,7 @@ function ks(t, r, e, n) {
|
|
|
5022
5022
|
function wo(t) {
|
|
5023
5023
|
return t.match(mo)[1].replace(po, "'");
|
|
5024
5024
|
}
|
|
5025
|
-
const
|
|
5025
|
+
const Ts = ({ children: t, className: r }) => /* @__PURE__ */ S.jsx(
|
|
5026
5026
|
"span",
|
|
5027
5027
|
{
|
|
5028
5028
|
className: ge(
|
|
@@ -5263,7 +5263,7 @@ const $t = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, Bt =
|
|
|
5263
5263
|
defaultVariants: {
|
|
5264
5264
|
as: "h2"
|
|
5265
5265
|
}
|
|
5266
|
-
}),
|
|
5266
|
+
}), Es = ({ as: t = "h2", children: r, className: e, ...n }) => {
|
|
5267
5267
|
const a = t;
|
|
5268
5268
|
return /* @__PURE__ */ S.jsx(a, { className: ge(Po({ as: t }), e), ...n, children: r });
|
|
5269
5269
|
}, To = Qe("", {
|
|
@@ -5293,7 +5293,7 @@ const $t = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, Bt =
|
|
|
5293
5293
|
size: "md",
|
|
5294
5294
|
intent: "primary"
|
|
5295
5295
|
}
|
|
5296
|
-
}),
|
|
5296
|
+
}), _s = ({ size: t = "md", classes: r, intent: e = "secondary", position: n = "static", text: a, ...o }) => /* @__PURE__ */ S.jsxs("div", { className: ge(To({ position: n }), { "flex flex-col items-center gap-2": a }, r == null ? void 0 : r.wrapper), children: [
|
|
5297
5297
|
/* @__PURE__ */ S.jsx("span", { "data-testid": "loader", className: ge(Eo({ size: t, intent: e }), r == null ? void 0 : r.loader), ...o }),
|
|
5298
5298
|
a && /* @__PURE__ */ S.jsx("p", { className: ge("desk-body-regular-l text-color-dark", r == null ? void 0 : r.text), children: a })
|
|
5299
5299
|
] });
|
|
@@ -5665,14 +5665,14 @@ var fs = ({ id: t, className: r, style: e, onHeightUpdate: n, children: a }) =>
|
|
|
5665
5665
|
> * {
|
|
5666
5666
|
pointer-events: auto;
|
|
5667
5667
|
}
|
|
5668
|
-
`, Be = 16,
|
|
5668
|
+
`, Be = 16, Cs = ({ reverseOrder: t, position: r = "top-center", toastOptions: e, gutter: n, children: a, containerStyle: o, containerClassName: i }) => {
|
|
5669
5669
|
let { toasts: l, handlers: c } = Ho(e);
|
|
5670
5670
|
return L.createElement("div", { style: { position: "fixed", zIndex: 9999, top: Be, left: Be, right: Be, bottom: Be, pointerEvents: "none", ...o }, className: i, onMouseEnter: c.startPause, onMouseLeave: c.endPause }, l.map((d) => {
|
|
5671
5671
|
let f = d.position || r, p = c.calculateOffset(d, { reverseOrder: t, gutter: n, defaultPosition: r }), b = hs(f, p);
|
|
5672
5672
|
return L.createElement(fs, { id: d.id, key: d.id, onHeightUpdate: c.updateHeight, className: d.visible ? ms : "", style: b }, d.type === "custom" ? Ge(d.message, d) : a ? a(d) : L.createElement(ds, { toast: d, position: f }));
|
|
5673
5673
|
}));
|
|
5674
5674
|
}, ft = Q;
|
|
5675
|
-
const
|
|
5675
|
+
const Os = void 0, Rs = void 0, ps = Qe(
|
|
5676
5676
|
"flex justify-between items-center gap-4 shadow-sm p-4 rounded-sm max-w-[328px] desktop:max-w-[576px]",
|
|
5677
5677
|
{
|
|
5678
5678
|
variants: {
|
|
@@ -5707,43 +5707,44 @@ const Cs = void 0, Os = void 0, ps = Qe(
|
|
|
5707
5707
|
default:
|
|
5708
5708
|
return null;
|
|
5709
5709
|
}
|
|
5710
|
-
},
|
|
5710
|
+
}, Ds = (t) => bs(t);
|
|
5711
5711
|
export {
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5712
|
+
st as A,
|
|
5713
|
+
Ts as B,
|
|
5714
|
+
Ye as C,
|
|
5715
|
+
Os as D,
|
|
5716
|
+
Xn as E,
|
|
5717
|
+
Ie as F,
|
|
5718
|
+
Es as H,
|
|
5718
5719
|
xo as I,
|
|
5719
|
-
|
|
5720
|
-
|
|
5720
|
+
_s as L,
|
|
5721
|
+
Ds as N,
|
|
5721
5722
|
ft as _,
|
|
5722
5723
|
Qe as a,
|
|
5723
|
-
|
|
5724
|
+
vs as b,
|
|
5724
5725
|
ge as c,
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5726
|
+
Rs as d,
|
|
5727
|
+
$ as e,
|
|
5728
|
+
tr as f,
|
|
5728
5729
|
ys as g,
|
|
5729
|
-
|
|
5730
|
-
|
|
5730
|
+
rr as h,
|
|
5731
|
+
ks as i,
|
|
5731
5732
|
S as j,
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5733
|
+
We as k,
|
|
5734
|
+
nr as l,
|
|
5735
|
+
xs as m,
|
|
5736
|
+
Rn as n,
|
|
5737
|
+
ha as o,
|
|
5738
|
+
Ps as p,
|
|
5739
|
+
da as q,
|
|
5740
|
+
ua as r,
|
|
5741
|
+
ya as s,
|
|
5741
5742
|
B as t,
|
|
5742
|
-
|
|
5743
|
-
|
|
5743
|
+
wa as u,
|
|
5744
|
+
zt as v,
|
|
5744
5745
|
Lt as w,
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5746
|
+
fe as x,
|
|
5747
|
+
zo as y,
|
|
5748
|
+
Cs as z
|
|
5748
5749
|
};
|
|
5749
|
-
//# sourceMappingURL=Notification-
|
|
5750
|
+
//# sourceMappingURL=Notification-BGmp0XMG.js.map
|