stp-ui-kit 0.0.72 → 0.0.73
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/stp-ui-kit.es.js
CHANGED
|
@@ -81,7 +81,7 @@ const C = /* @__PURE__ */ Xt(Ln), jn = "_typography_yngni_29", Pn = "_regular_yn
|
|
|
81
81
|
bold: qn,
|
|
82
82
|
medium: Vn,
|
|
83
83
|
underline: Yn
|
|
84
|
-
},
|
|
84
|
+
}, de = ({
|
|
85
85
|
variant: e = "body-md",
|
|
86
86
|
className: t = "",
|
|
87
87
|
children: n,
|
|
@@ -257,17 +257,17 @@ var Zt = { exports: {} };
|
|
|
257
257
|
}, g.format = function(u) {
|
|
258
258
|
var b = this, c = this.$locale();
|
|
259
259
|
if (!this.isValid()) return c.invalidDate || D;
|
|
260
|
-
var $ = u || "YYYY-MM-DDTHH:mm:ssZ", I = E.z(this), N = this.$H, T = this.$m, x = this.$M, A = c.weekdays, G = c.months, P = c.meridiem, H = function(U, ie,
|
|
261
|
-
return U && (U[ie] || U(b, $)) ||
|
|
260
|
+
var $ = u || "YYYY-MM-DDTHH:mm:ssZ", I = E.z(this), N = this.$H, T = this.$m, x = this.$M, A = c.weekdays, G = c.months, P = c.meridiem, H = function(U, ie, ue, je) {
|
|
261
|
+
return U && (U[ie] || U(b, $)) || ue[ie].slice(0, je);
|
|
262
262
|
}, ae = function(U) {
|
|
263
263
|
return E.s(N % 12 || 12, U, "0");
|
|
264
|
-
}, te = P || function(U, ie,
|
|
264
|
+
}, te = P || function(U, ie, ue) {
|
|
265
265
|
var je = U < 12 ? "AM" : "PM";
|
|
266
|
-
return
|
|
266
|
+
return ue ? je.toLowerCase() : je;
|
|
267
267
|
};
|
|
268
268
|
return $.replace(B, function(U, ie) {
|
|
269
|
-
return ie || function(
|
|
270
|
-
switch (
|
|
269
|
+
return ie || function(ue) {
|
|
270
|
+
switch (ue) {
|
|
271
271
|
case "YY":
|
|
272
272
|
return String(b.$y).slice(-2);
|
|
273
273
|
case "YYYY":
|
|
@@ -424,7 +424,7 @@ const eo = /* @__PURE__ */ Xt(Qn), to = (e) => {
|
|
|
424
424
|
}, [o]);
|
|
425
425
|
const s = (L, S) => /* @__PURE__ */ z("div", { className: Me.timerCell, children: [
|
|
426
426
|
/* @__PURE__ */ i(
|
|
427
|
-
|
|
427
|
+
de,
|
|
428
428
|
{
|
|
429
429
|
variant: "heading-lg",
|
|
430
430
|
className: Me.timerCount,
|
|
@@ -441,8 +441,8 @@ const eo = /* @__PURE__ */ Xt(Qn), to = (e) => {
|
|
|
441
441
|
children: [
|
|
442
442
|
/* @__PURE__ */ z("div", { className: Me.content, children: [
|
|
443
443
|
/* @__PURE__ */ z("div", { className: Me.title, children: [
|
|
444
|
-
/* @__PURE__ */ i(
|
|
445
|
-
/* @__PURE__ */ i(
|
|
444
|
+
/* @__PURE__ */ i(de, { variant: "heading-md", children: t }),
|
|
445
|
+
/* @__PURE__ */ i(de, { variant: "body-md", children: to(o) })
|
|
446
446
|
] }),
|
|
447
447
|
/* @__PURE__ */ z("div", { className: Me.timer, children: [
|
|
448
448
|
s(m.days, "Days"),
|
|
@@ -465,7 +465,7 @@ const eo = /* @__PURE__ */ Xt(Qn), to = (e) => {
|
|
|
465
465
|
className: Me.button,
|
|
466
466
|
style: { backgroundColor: r },
|
|
467
467
|
onClick: l,
|
|
468
|
-
children: /* @__PURE__ */ i(
|
|
468
|
+
children: /* @__PURE__ */ i(de, { variant: "heading-md", children: "Start" })
|
|
469
469
|
}
|
|
470
470
|
)
|
|
471
471
|
}
|
|
@@ -859,7 +859,7 @@ const Io = [
|
|
|
859
859
|
)
|
|
860
860
|
] }),
|
|
861
861
|
/* @__PURE__ */ i(
|
|
862
|
-
|
|
862
|
+
de,
|
|
863
863
|
{
|
|
864
864
|
variant: "body-md",
|
|
865
865
|
className: C(o && $e.collapsed, $e.label),
|
|
@@ -1098,7 +1098,7 @@ const Io = [
|
|
|
1098
1098
|
desktop: fs
|
|
1099
1099
|
}, ps = ({ children: e, className: t = "" }) => /* @__PURE__ */ i("div", { className: `${Ee.emptyContainer} ${t}`, children: e }), hs = ({ children: e, className: t = "" }) => /* @__PURE__ */ z(Ut, { children: [
|
|
1100
1100
|
/* @__PURE__ */ i(
|
|
1101
|
-
|
|
1101
|
+
de,
|
|
1102
1102
|
{
|
|
1103
1103
|
className: C(t, Ee.desktop),
|
|
1104
1104
|
variant: "heading-md",
|
|
@@ -1106,7 +1106,7 @@ const Io = [
|
|
|
1106
1106
|
}
|
|
1107
1107
|
),
|
|
1108
1108
|
/* @__PURE__ */ i(
|
|
1109
|
-
|
|
1109
|
+
de,
|
|
1110
1110
|
{
|
|
1111
1111
|
className: C(t, Ee.mobile),
|
|
1112
1112
|
variant: "heading-sm",
|
|
@@ -1276,7 +1276,7 @@ const zs = "_btn_vv6xf_29", As = "_small_vv6xf_42", Ds = "_medium_vv6xf_45", Os
|
|
|
1276
1276
|
children: a
|
|
1277
1277
|
}
|
|
1278
1278
|
);
|
|
1279
|
-
}, js = "_formItem_enirf_29", Ps = "_label_enirf_36", Hs = "_disabled_enirf_39", qs = "_readOnly_enirf_42", Vs = "_inputContainer_enirf_46", Ys = "_error_enirf_80", Ws = "_input_enirf_46", Gs = "_message_enirf_98",
|
|
1279
|
+
}, js = "_formItem_enirf_29", Ps = "_label_enirf_36", Hs = "_disabled_enirf_39", qs = "_readOnly_enirf_42", Vs = "_inputContainer_enirf_46", Ys = "_error_enirf_80", Ws = "_input_enirf_46", Gs = "_message_enirf_98", pe = {
|
|
1280
1280
|
formItem: js,
|
|
1281
1281
|
label: Ps,
|
|
1282
1282
|
disabled: Hs,
|
|
@@ -1294,13 +1294,13 @@ const zs = "_btn_vv6xf_29", As = "_small_vv6xf_42", Ds = "_medium_vv6xf_45", Os
|
|
|
1294
1294
|
prefix: r,
|
|
1295
1295
|
postfix: l,
|
|
1296
1296
|
children: f
|
|
1297
|
-
}) => /* @__PURE__ */ z("div", { className:
|
|
1297
|
+
}) => /* @__PURE__ */ z("div", { className: pe.formItem, children: [
|
|
1298
1298
|
e && /* @__PURE__ */ i(
|
|
1299
1299
|
"label",
|
|
1300
1300
|
{
|
|
1301
|
-
className: C(
|
|
1302
|
-
[
|
|
1303
|
-
[
|
|
1301
|
+
className: C(pe.label, {
|
|
1302
|
+
[pe.disabled]: o,
|
|
1303
|
+
[pe.readOnly]: a
|
|
1304
1304
|
}),
|
|
1305
1305
|
children: e
|
|
1306
1306
|
}
|
|
@@ -1308,10 +1308,10 @@ const zs = "_btn_vv6xf_29", As = "_small_vv6xf_42", Ds = "_medium_vv6xf_45", Os
|
|
|
1308
1308
|
/* @__PURE__ */ z(
|
|
1309
1309
|
"div",
|
|
1310
1310
|
{
|
|
1311
|
-
className: C(
|
|
1312
|
-
[
|
|
1313
|
-
[
|
|
1314
|
-
[
|
|
1311
|
+
className: C(pe.inputContainer, {
|
|
1312
|
+
[pe.disabled]: o,
|
|
1313
|
+
[pe.readOnly]: a,
|
|
1314
|
+
[pe.error]: !!t
|
|
1315
1315
|
}),
|
|
1316
1316
|
children: [
|
|
1317
1317
|
r,
|
|
@@ -1323,8 +1323,8 @@ const zs = "_btn_vv6xf_29", As = "_small_vv6xf_42", Ds = "_medium_vv6xf_45", Os
|
|
|
1323
1323
|
/* @__PURE__ */ i(
|
|
1324
1324
|
"div",
|
|
1325
1325
|
{
|
|
1326
|
-
className: C(
|
|
1327
|
-
[
|
|
1326
|
+
className: C(pe.message, {
|
|
1327
|
+
[pe.error]: !!t
|
|
1328
1328
|
}),
|
|
1329
1329
|
children: t ? /* @__PURE__ */ i(dt, { children: t }) : n
|
|
1330
1330
|
}
|
|
@@ -1368,7 +1368,7 @@ const zs = "_btn_vv6xf_29", As = "_small_vv6xf_42", Ds = "_medium_vv6xf_45", Os
|
|
|
1368
1368
|
"input",
|
|
1369
1369
|
{
|
|
1370
1370
|
ref: S,
|
|
1371
|
-
className: C(
|
|
1371
|
+
className: C(pe.input, f),
|
|
1372
1372
|
disabled: r,
|
|
1373
1373
|
readOnly: l,
|
|
1374
1374
|
onChange: k,
|
|
@@ -1421,7 +1421,7 @@ const Fs = h.forwardRef(
|
|
|
1421
1421
|
"textarea",
|
|
1422
1422
|
{
|
|
1423
1423
|
ref: S,
|
|
1424
|
-
className: C(
|
|
1424
|
+
className: C(pe.input, f, pe.textarea),
|
|
1425
1425
|
disabled: r,
|
|
1426
1426
|
readOnly: l,
|
|
1427
1427
|
value: B,
|
|
@@ -1733,7 +1733,7 @@ function vr(e) {
|
|
|
1733
1733
|
}
|
|
1734
1734
|
const wr = (e) => {
|
|
1735
1735
|
var t, n, o, a, r, l, f, d, m;
|
|
1736
|
-
const { invert: p, toast: s, unstyled: L, interacting: S, setHeights: k, visibleToasts: D, heights: _, index: B, toasts: Z, expanded: q, removeToast: J, defaultRichColors: V, closeButton: Y, style: j, cancelButtonStyle: y, actionButtonStyle: F, className: W = "", descriptionClassName: E = "", duration: K, position: re, gap: M, expandByDefault: g, classNames: u, icons: b, closeButtonAriaLabel: c = "Close toast" } = e, [$, I] = h.useState(null), [N, T] = h.useState(null), [x, A] = h.useState(!1), [G, P] = h.useState(!1), [H, ae] = h.useState(!1), [te, U] = h.useState(!1), [ie,
|
|
1736
|
+
const { invert: p, toast: s, unstyled: L, interacting: S, setHeights: k, visibleToasts: D, heights: _, index: B, toasts: Z, expanded: q, removeToast: J, defaultRichColors: V, closeButton: Y, style: j, cancelButtonStyle: y, actionButtonStyle: F, className: W = "", descriptionClassName: E = "", duration: K, position: re, gap: M, expandByDefault: g, classNames: u, icons: b, closeButtonAriaLabel: c = "Close toast" } = e, [$, I] = h.useState(null), [N, T] = h.useState(null), [x, A] = h.useState(!1), [G, P] = h.useState(!1), [H, ae] = h.useState(!1), [te, U] = h.useState(!1), [ie, ue] = h.useState(!1), [je, ut] = h.useState(0), [yn, Tt] = h.useState(0), Fe = h.useRef(s.duration || K || Ht), Et = h.useRef(null), ke = h.useRef(null), vn = B === 0, wn = B + 1 <= D, me = s.type, Pe = s.dismissible !== !1, xn = s.className || "", kn = s.descriptionClassName || "", et = h.useMemo(() => _.findIndex((O) => O.toastId === s.id) || 0, [
|
|
1737
1737
|
_,
|
|
1738
1738
|
s.id
|
|
1739
1739
|
]), $n = h.useMemo(() => {
|
|
@@ -1748,7 +1748,7 @@ const wr = (e) => {
|
|
|
1748
1748
|
]), mt = h.useRef(0), He = h.useRef(0), At = h.useRef(0), qe = h.useRef(null), [Nn, Cn] = re.split("-"), Dt = h.useMemo(() => _.reduce((O, ne, se) => se >= et ? O : O + ne.height, 0), [
|
|
1749
1749
|
_,
|
|
1750
1750
|
et
|
|
1751
|
-
]), Ot = ar(), Mn = s.invert || p, ft =
|
|
1751
|
+
]), Ot = ar(), Mn = s.invert || p, ft = me === "loading";
|
|
1752
1752
|
He.current = h.useMemo(() => et * M + Dt, [
|
|
1753
1753
|
et,
|
|
1754
1754
|
Dt
|
|
@@ -1769,7 +1769,7 @@ const wr = (e) => {
|
|
|
1769
1769
|
position: s.position
|
|
1770
1770
|
},
|
|
1771
1771
|
...se
|
|
1772
|
-
]), () => k((se) => se.filter((
|
|
1772
|
+
]), () => k((se) => se.filter((fe) => fe.toastId !== s.id));
|
|
1773
1773
|
}
|
|
1774
1774
|
}, [
|
|
1775
1775
|
k,
|
|
@@ -1779,7 +1779,7 @@ const wr = (e) => {
|
|
|
1779
1779
|
const O = ke.current, ne = O.style.height;
|
|
1780
1780
|
O.style.height = "auto";
|
|
1781
1781
|
const se = O.getBoundingClientRect().height;
|
|
1782
|
-
O.style.height = ne, Tt(se), k((
|
|
1782
|
+
O.style.height = ne, Tt(se), k((fe) => fe.find((oe) => oe.toastId === s.id) ? fe.map((oe) => oe.toastId === s.id ? {
|
|
1783
1783
|
...oe,
|
|
1784
1784
|
height: se
|
|
1785
1785
|
} : oe) : [
|
|
@@ -1788,7 +1788,7 @@ const wr = (e) => {
|
|
|
1788
1788
|
height: se,
|
|
1789
1789
|
position: s.position
|
|
1790
1790
|
},
|
|
1791
|
-
...
|
|
1791
|
+
...fe
|
|
1792
1792
|
]);
|
|
1793
1793
|
}, [
|
|
1794
1794
|
x,
|
|
@@ -1811,12 +1811,12 @@ const wr = (e) => {
|
|
|
1811
1811
|
He
|
|
1812
1812
|
]);
|
|
1813
1813
|
h.useEffect(() => {
|
|
1814
|
-
if (s.promise &&
|
|
1814
|
+
if (s.promise && me === "loading" || s.duration === 1 / 0 || s.type === "loading") return;
|
|
1815
1815
|
let O;
|
|
1816
1816
|
return q || S || Ot ? (() => {
|
|
1817
1817
|
if (At.current < mt.current) {
|
|
1818
|
-
const
|
|
1819
|
-
Fe.current = Fe.current -
|
|
1818
|
+
const fe = (/* @__PURE__ */ new Date()).getTime() - mt.current;
|
|
1819
|
+
Fe.current = Fe.current - fe;
|
|
1820
1820
|
}
|
|
1821
1821
|
At.current = (/* @__PURE__ */ new Date()).getTime();
|
|
1822
1822
|
})() : (() => {
|
|
@@ -1828,7 +1828,7 @@ const wr = (e) => {
|
|
|
1828
1828
|
q,
|
|
1829
1829
|
S,
|
|
1830
1830
|
s,
|
|
1831
|
-
|
|
1831
|
+
me,
|
|
1832
1832
|
Ot,
|
|
1833
1833
|
Ce
|
|
1834
1834
|
]), h.useEffect(() => {
|
|
@@ -1843,20 +1843,20 @@ const wr = (e) => {
|
|
|
1843
1843
|
var ne;
|
|
1844
1844
|
return /* @__PURE__ */ h.createElement("div", {
|
|
1845
1845
|
className: ye(u == null ? void 0 : u.loader, s == null || (ne = s.classNames) == null ? void 0 : ne.loader, "sonner-loader"),
|
|
1846
|
-
"data-visible":
|
|
1846
|
+
"data-visible": me === "loading"
|
|
1847
1847
|
}, b.loading);
|
|
1848
1848
|
}
|
|
1849
1849
|
return /* @__PURE__ */ h.createElement(er, {
|
|
1850
1850
|
className: ye(u == null ? void 0 : u.loader, s == null || (O = s.classNames) == null ? void 0 : O.loader),
|
|
1851
|
-
visible:
|
|
1851
|
+
visible: me === "loading"
|
|
1852
1852
|
});
|
|
1853
1853
|
}
|
|
1854
|
-
const In = s.icon || (b == null ? void 0 : b[
|
|
1854
|
+
const In = s.icon || (b == null ? void 0 : b[me]) || Js(me);
|
|
1855
1855
|
var Rt, Bt;
|
|
1856
1856
|
return /* @__PURE__ */ h.createElement("li", {
|
|
1857
1857
|
tabIndex: 0,
|
|
1858
1858
|
ref: ke,
|
|
1859
|
-
className: ye(W, xn, u == null ? void 0 : u.toast, s == null || (t = s.classNames) == null ? void 0 : t.toast, u == null ? void 0 : u.default, u == null ? void 0 : u[
|
|
1859
|
+
className: ye(W, xn, u == null ? void 0 : u.toast, s == null || (t = s.classNames) == null ? void 0 : t.toast, u == null ? void 0 : u.default, u == null ? void 0 : u[me], s == null || (n = s.classNames) == null ? void 0 : n[me]),
|
|
1860
1860
|
"data-sonner-toast": "",
|
|
1861
1861
|
"data-rich-colors": (Rt = s.richColors) != null ? Rt : V,
|
|
1862
1862
|
"data-styled": !(s.jsx || s.unstyled || L),
|
|
@@ -1871,7 +1871,7 @@ const wr = (e) => {
|
|
|
1871
1871
|
"data-front": vn,
|
|
1872
1872
|
"data-swiping": H,
|
|
1873
1873
|
"data-dismissible": Pe,
|
|
1874
|
-
"data-type":
|
|
1874
|
+
"data-type": me,
|
|
1875
1875
|
"data-invert": Mn,
|
|
1876
1876
|
"data-swipe-out": te,
|
|
1877
1877
|
"data-swipe-direction": N,
|
|
@@ -1898,18 +1898,18 @@ const wr = (e) => {
|
|
|
1898
1898
|
var O, ne, se;
|
|
1899
1899
|
if (te || !Pe) return;
|
|
1900
1900
|
qe.current = null;
|
|
1901
|
-
const
|
|
1901
|
+
const fe = Number(((O = ke.current) == null ? void 0 : O.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), tt = Number(((ne = ke.current) == null ? void 0 : ne.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), oe = (/* @__PURE__ */ new Date()).getTime() - ((se = Et.current) == null ? void 0 : se.getTime()), he = $ === "x" ? fe : tt, nt = Math.abs(he) / oe;
|
|
1902
1902
|
if (Math.abs(he) >= _r || nt > 0.11) {
|
|
1903
|
-
ut(He.current), s.onDismiss == null || s.onDismiss.call(s, s), T($ === "x" ?
|
|
1903
|
+
ut(He.current), s.onDismiss == null || s.onDismiss.call(s, s), T($ === "x" ? fe > 0 ? "right" : "left" : tt > 0 ? "down" : "up"), Ce(), U(!0);
|
|
1904
1904
|
return;
|
|
1905
1905
|
} else {
|
|
1906
1906
|
var ge, be;
|
|
1907
1907
|
(ge = ke.current) == null || ge.style.setProperty("--swipe-amount-x", "0px"), (be = ke.current) == null || be.style.setProperty("--swipe-amount-y", "0px");
|
|
1908
1908
|
}
|
|
1909
|
-
|
|
1909
|
+
ue(!1), ae(!1), I(null);
|
|
1910
1910
|
},
|
|
1911
1911
|
onPointerMove: (O) => {
|
|
1912
|
-
var ne, se,
|
|
1912
|
+
var ne, se, fe;
|
|
1913
1913
|
if (!qe.current || !Pe || ((ne = window.getSelection()) == null ? void 0 : ne.toString().length) > 0) return;
|
|
1914
1914
|
const oe = O.clientY - qe.current.y, he = O.clientX - qe.current.x;
|
|
1915
1915
|
var nt;
|
|
@@ -1935,9 +1935,9 @@ const wr = (e) => {
|
|
|
1935
1935
|
const Ae = he * Lt(he);
|
|
1936
1936
|
be.x = Math.abs(Ae) < Math.abs(he) ? Ae : he;
|
|
1937
1937
|
}
|
|
1938
|
-
(Math.abs(be.x) > 0 || Math.abs(be.y) > 0) &&
|
|
1938
|
+
(Math.abs(be.x) > 0 || Math.abs(be.y) > 0) && ue(!0), (se = ke.current) == null || se.style.setProperty("--swipe-amount-x", `${be.x}px`), (fe = ke.current) == null || fe.style.setProperty("--swipe-amount-y", `${be.y}px`);
|
|
1939
1939
|
}
|
|
1940
|
-
}, $n && !s.jsx &&
|
|
1940
|
+
}, $n && !s.jsx && me !== "loading" ? /* @__PURE__ */ h.createElement("button", {
|
|
1941
1941
|
"aria-label": c,
|
|
1942
1942
|
"data-disabled": ft,
|
|
1943
1943
|
"data-close-button": !0,
|
|
@@ -1946,7 +1946,7 @@ const wr = (e) => {
|
|
|
1946
1946
|
Ce(), s.onDismiss == null || s.onDismiss.call(s, s);
|
|
1947
1947
|
},
|
|
1948
1948
|
className: ye(u == null ? void 0 : u.closeButton, s == null || (o = s.classNames) == null ? void 0 : o.closeButton)
|
|
1949
|
-
}, (Bt = b == null ? void 0 : b.close) != null ? Bt : rr) : null, (
|
|
1949
|
+
}, (Bt = b == null ? void 0 : b.close) != null ? Bt : rr) : null, (me || s.icon || s.promise) && s.icon !== null && ((b == null ? void 0 : b[me]) !== null || s.icon) ? /* @__PURE__ */ h.createElement("div", {
|
|
1950
1950
|
"data-icon": "",
|
|
1951
1951
|
className: ye(u == null ? void 0 : u.icon, s == null || (a = s.classNames) == null ? void 0 : a.icon)
|
|
1952
1952
|
}, s.promise || s.type === "loading" && !s.icon ? s.icon || Sn() : null, s.type !== "loading" ? In : null) : null, /* @__PURE__ */ h.createElement("div", {
|
|
@@ -2304,7 +2304,7 @@ const kr = /* @__PURE__ */ h.forwardRef(function(t, n) {
|
|
|
2304
2304
|
if (!e) return null;
|
|
2305
2305
|
const m = le[`tone-${r}`] || "";
|
|
2306
2306
|
return Dn(
|
|
2307
|
-
/* @__PURE__ */ i("div", { className: le.modalLayout, children: /* @__PURE__ */
|
|
2307
|
+
/* @__PURE__ */ i("div", { className: le.modalLayout, children: /* @__PURE__ */ i(
|
|
2308
2308
|
"div",
|
|
2309
2309
|
{
|
|
2310
2310
|
className: `${le.modalContainer} ${m} ${le[d]}`,
|
|
@@ -2312,12 +2312,12 @@ const kr = /* @__PURE__ */ h.forwardRef(function(t, n) {
|
|
|
2312
2312
|
role: "dialog",
|
|
2313
2313
|
"aria-modal": "true",
|
|
2314
2314
|
"aria-labelledby": "modal-title",
|
|
2315
|
-
children: [
|
|
2315
|
+
children: /* @__PURE__ */ z(de, { children: [
|
|
2316
2316
|
/* @__PURE__ */ z("div", { className: le.header, children: [
|
|
2317
2317
|
/* @__PURE__ */ z("div", { className: le.title, children: [
|
|
2318
2318
|
r === "critical" && /* @__PURE__ */ i(nn, { className: le.critical }),
|
|
2319
2319
|
r === "warning" && /* @__PURE__ */ i(on, { className: le.warning }),
|
|
2320
|
-
/* @__PURE__ */ i(
|
|
2320
|
+
/* @__PURE__ */ i(de, { variant: "heading-sm", children: n })
|
|
2321
2321
|
] }),
|
|
2322
2322
|
t && /* @__PURE__ */ i(
|
|
2323
2323
|
Qe,
|
|
@@ -2361,7 +2361,7 @@ const kr = /* @__PURE__ */ h.forwardRef(function(t, n) {
|
|
|
2361
2361
|
}
|
|
2362
2362
|
)
|
|
2363
2363
|
] })
|
|
2364
|
-
]
|
|
2364
|
+
] })
|
|
2365
2365
|
}
|
|
2366
2366
|
) }),
|
|
2367
2367
|
document.body
|
|
@@ -2429,11 +2429,11 @@ const Fi = {
|
|
|
2429
2429
|
t === r.id && rt.active
|
|
2430
2430
|
),
|
|
2431
2431
|
onClick: () => n(r.id),
|
|
2432
|
-
children: /* @__PURE__ */ i(
|
|
2432
|
+
children: /* @__PURE__ */ i(de, { variant: "heading-md", children: r.title })
|
|
2433
2433
|
},
|
|
2434
2434
|
r.id
|
|
2435
2435
|
)) }),
|
|
2436
|
-
((a = e.find((r) => r.id === t)) == null ? void 0 : a.component) ?? /* @__PURE__ */ i(
|
|
2436
|
+
((a = e.find((r) => r.id === t)) == null ? void 0 : a.component) ?? /* @__PURE__ */ i(de, { variant: "body-lg", children: "Not Found" })
|
|
2437
2437
|
] });
|
|
2438
2438
|
}, ta = "_pageHeader_11bs8_29", na = {
|
|
2439
2439
|
pageHeader: ta
|
|
@@ -2444,7 +2444,7 @@ const Fi = {
|
|
|
2444
2444
|
onTabSelect: o,
|
|
2445
2445
|
isStretched: a
|
|
2446
2446
|
}) => /* @__PURE__ */ z(Ut, { children: [
|
|
2447
|
-
/* @__PURE__ */ i("header", { className: na.pageHeader, children: /* @__PURE__ */ i(
|
|
2447
|
+
/* @__PURE__ */ i("header", { className: na.pageHeader, children: /* @__PURE__ */ i(de, { variant: "heading-xl", children: e }) }),
|
|
2448
2448
|
t && o && /* @__PURE__ */ i(
|
|
2449
2449
|
ea,
|
|
2450
2450
|
{
|
|
@@ -2545,7 +2545,7 @@ const Fi = {
|
|
|
2545
2545
|
mobile: ha
|
|
2546
2546
|
}, Ji = ({ title: e, extra: t }) => /* @__PURE__ */ z("div", { className: bt.container, children: [
|
|
2547
2547
|
/* @__PURE__ */ i(
|
|
2548
|
-
|
|
2548
|
+
de,
|
|
2549
2549
|
{
|
|
2550
2550
|
variant: "heading-md",
|
|
2551
2551
|
className: bt.notMobile,
|
|
@@ -2553,7 +2553,7 @@ const Fi = {
|
|
|
2553
2553
|
}
|
|
2554
2554
|
),
|
|
2555
2555
|
/* @__PURE__ */ i(
|
|
2556
|
-
|
|
2556
|
+
de,
|
|
2557
2557
|
{
|
|
2558
2558
|
variant: "heading-sm",
|
|
2559
2559
|
className: bt.mobile,
|
|
@@ -3099,7 +3099,7 @@ const ee = (e) => {
|
|
|
3099
3099
|
k,
|
|
3100
3100
|
w,
|
|
3101
3101
|
v
|
|
3102
|
-
], te = () => ["none", R, w, v], U = () => ["none", R, w, v], ie = () => [R, w, v],
|
|
3102
|
+
], te = () => ["none", R, w, v], U = () => ["none", R, w, v], ie = () => [R, w, v], ue = () => [Ye, "full", ...y()];
|
|
3103
3103
|
return {
|
|
3104
3104
|
cacheSize: 500,
|
|
3105
3105
|
theme: {
|
|
@@ -5149,28 +5149,28 @@ const ee = (e) => {
|
|
|
5149
5149
|
* @see https://tailwindcss.com/docs/translate
|
|
5150
5150
|
*/
|
|
5151
5151
|
translate: [{
|
|
5152
|
-
translate:
|
|
5152
|
+
translate: ue()
|
|
5153
5153
|
}],
|
|
5154
5154
|
/**
|
|
5155
5155
|
* Translate X
|
|
5156
5156
|
* @see https://tailwindcss.com/docs/translate
|
|
5157
5157
|
*/
|
|
5158
5158
|
"translate-x": [{
|
|
5159
|
-
"translate-x":
|
|
5159
|
+
"translate-x": ue()
|
|
5160
5160
|
}],
|
|
5161
5161
|
/**
|
|
5162
5162
|
* Translate Y
|
|
5163
5163
|
* @see https://tailwindcss.com/docs/translate
|
|
5164
5164
|
*/
|
|
5165
5165
|
"translate-y": [{
|
|
5166
|
-
"translate-y":
|
|
5166
|
+
"translate-y": ue()
|
|
5167
5167
|
}],
|
|
5168
5168
|
/**
|
|
5169
5169
|
* Translate Z
|
|
5170
5170
|
* @see https://tailwindcss.com/docs/translate
|
|
5171
5171
|
*/
|
|
5172
5172
|
"translate-z": [{
|
|
5173
|
-
"translate-z":
|
|
5173
|
+
"translate-z": ue()
|
|
5174
5174
|
}],
|
|
5175
5175
|
/**
|
|
5176
5176
|
* Translate None
|
|
@@ -5810,7 +5810,7 @@ export {
|
|
|
5810
5810
|
Fs as TextArea,
|
|
5811
5811
|
al as Tooltip,
|
|
5812
5812
|
ea as TopBar,
|
|
5813
|
-
|
|
5813
|
+
de as Typography,
|
|
5814
5814
|
Ui as message
|
|
5815
5815
|
};
|
|
5816
5816
|
//# sourceMappingURL=stp-ui-kit.es.js.map
|