stp-ui-kit 0.0.53 → 0.0.55
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 +78 -69
- package/dist/stp-ui-kit.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/stp-ui-kit.es.js
CHANGED
|
@@ -473,17 +473,17 @@ var no = { exports: {} };
|
|
|
473
473
|
}, h.format = function(d) {
|
|
474
474
|
var b = this, i = this.$locale();
|
|
475
475
|
if (!this.isValid()) return i.invalidDate || D;
|
|
476
|
-
var $ = d || "YYYY-MM-DDTHH:mm:ssZ", S = E.z(this), N = this.$H, T = this.$m, x = this.$M, A = i.weekdays, G = i.months, P = i.meridiem, H = function(U, ie,
|
|
477
|
-
return U && (U[ie] || U(b, $)) ||
|
|
476
|
+
var $ = d || "YYYY-MM-DDTHH:mm:ssZ", S = E.z(this), N = this.$H, T = this.$m, x = this.$M, A = i.weekdays, G = i.months, P = i.meridiem, H = function(U, ie, ue, Oe) {
|
|
477
|
+
return U && (U[ie] || U(b, $)) || ue[ie].slice(0, Oe);
|
|
478
478
|
}, re = function(U) {
|
|
479
479
|
return E.s(N % 12 || 12, U, "0");
|
|
480
|
-
}, ee = P || function(U, ie,
|
|
480
|
+
}, ee = P || function(U, ie, ue) {
|
|
481
481
|
var Oe = U < 12 ? "AM" : "PM";
|
|
482
|
-
return
|
|
482
|
+
return ue ? Oe.toLowerCase() : Oe;
|
|
483
483
|
};
|
|
484
484
|
return $.replace(B, function(U, ie) {
|
|
485
|
-
return ie || function(
|
|
486
|
-
switch (
|
|
485
|
+
return ie || function(ue) {
|
|
486
|
+
switch (ue) {
|
|
487
487
|
case "YY":
|
|
488
488
|
return String(b.$y).slice(-2);
|
|
489
489
|
case "YYYY":
|
|
@@ -1684,23 +1684,23 @@ class sr {
|
|
|
1684
1684
|
}, this.getActiveToasts = () => this.toasts.filter((t) => !this.dismissedToasts.has(t.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set();
|
|
1685
1685
|
}
|
|
1686
1686
|
}
|
|
1687
|
-
const
|
|
1687
|
+
const de = new sr(), rr = (e, t) => {
|
|
1688
1688
|
const o = (t == null ? void 0 : t.id) || xt++;
|
|
1689
|
-
return
|
|
1689
|
+
return de.addToast({
|
|
1690
1690
|
title: e,
|
|
1691
1691
|
...t,
|
|
1692
1692
|
id: o
|
|
1693
1693
|
}), o;
|
|
1694
|
-
}, ar = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", ir = rr, lr = () =>
|
|
1695
|
-
success:
|
|
1696
|
-
info:
|
|
1697
|
-
warning:
|
|
1698
|
-
error:
|
|
1699
|
-
custom:
|
|
1700
|
-
message:
|
|
1701
|
-
promise:
|
|
1702
|
-
dismiss:
|
|
1703
|
-
loading:
|
|
1694
|
+
}, ar = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", ir = rr, lr = () => de.toasts, cr = () => de.getActiveToasts(), He = Object.assign(ir, {
|
|
1695
|
+
success: de.success,
|
|
1696
|
+
info: de.info,
|
|
1697
|
+
warning: de.warning,
|
|
1698
|
+
error: de.error,
|
|
1699
|
+
custom: de.custom,
|
|
1700
|
+
message: de.message,
|
|
1701
|
+
promise: de.promise,
|
|
1702
|
+
dismiss: de.dismiss,
|
|
1703
|
+
loading: de.loading
|
|
1704
1704
|
}, {
|
|
1705
1705
|
getHistory: lr,
|
|
1706
1706
|
getToasts: cr
|
|
@@ -1719,7 +1719,7 @@ function br(e) {
|
|
|
1719
1719
|
}
|
|
1720
1720
|
const _r = (e) => {
|
|
1721
1721
|
var t, o, n, a, r, l, f, m, u;
|
|
1722
|
-
const { invert: g, toast: s, unstyled: R, interacting: M, setHeights: k, visibleToasts: D, heights: _, index: B, toasts: Z, expanded: V, removeToast: J, defaultRichColors: Y, closeButton: W, style: L, cancelButtonStyle: y, actionButtonStyle: F, className: q = "", descriptionClassName: E = "", duration: K, position: se, gap: C, expandByDefault: h, classNames: d, icons: b, closeButtonAriaLabel: i = "Close toast" } = e, [$, S] = p.useState(null), [N, T] = p.useState(null), [x, A] = p.useState(!1), [G, P] = p.useState(!1), [H, re] = p.useState(!1), [ee, U] = p.useState(!1), [ie,
|
|
1722
|
+
const { invert: g, toast: s, unstyled: R, interacting: M, setHeights: k, visibleToasts: D, heights: _, index: B, toasts: Z, expanded: V, removeToast: J, defaultRichColors: Y, closeButton: W, style: L, cancelButtonStyle: y, actionButtonStyle: F, className: q = "", descriptionClassName: E = "", duration: K, position: se, gap: C, expandByDefault: h, classNames: d, icons: b, closeButtonAriaLabel: i = "Close toast" } = e, [$, S] = p.useState(null), [N, T] = p.useState(null), [x, A] = p.useState(!1), [G, P] = p.useState(!1), [H, re] = p.useState(!1), [ee, U] = p.useState(!1), [ie, ue] = p.useState(!1), [Oe, dt] = p.useState(0), [_o, Tt] = p.useState(0), Ue = p.useRef(s.duration || K || Ht), Et = p.useRef(null), xe = p.useRef(null), yo = B === 0, vo = B + 1 <= D, me = s.type, Be = s.dismissible !== !1, wo = s.className || "", xo = s.descriptionClassName || "", Ze = p.useMemo(() => _.findIndex((j) => j.toastId === s.id) || 0, [
|
|
1723
1723
|
_,
|
|
1724
1724
|
s.id
|
|
1725
1725
|
]), ko = p.useMemo(() => {
|
|
@@ -1734,7 +1734,7 @@ const _r = (e) => {
|
|
|
1734
1734
|
]), ut = p.useRef(0), Re = p.useRef(0), Dt = p.useRef(0), Le = p.useRef(null), [$o, No] = se.split("-"), jt = p.useMemo(() => _.reduce((j, te, ne) => ne >= Ze ? j : j + te.height, 0), [
|
|
1735
1735
|
_,
|
|
1736
1736
|
Ze
|
|
1737
|
-
]), zt = nr(), Co = s.invert || g, mt =
|
|
1737
|
+
]), zt = nr(), Co = s.invert || g, mt = me === "loading";
|
|
1738
1738
|
Re.current = p.useMemo(() => Ze * C + jt, [
|
|
1739
1739
|
Ze,
|
|
1740
1740
|
jt
|
|
@@ -1755,7 +1755,7 @@ const _r = (e) => {
|
|
|
1755
1755
|
position: s.position
|
|
1756
1756
|
},
|
|
1757
1757
|
...ne
|
|
1758
|
-
]), () => k((ne) => ne.filter((
|
|
1758
|
+
]), () => k((ne) => ne.filter((fe) => fe.toastId !== s.id));
|
|
1759
1759
|
}
|
|
1760
1760
|
}, [
|
|
1761
1761
|
k,
|
|
@@ -1765,7 +1765,7 @@ const _r = (e) => {
|
|
|
1765
1765
|
const j = xe.current, te = j.style.height;
|
|
1766
1766
|
j.style.height = "auto";
|
|
1767
1767
|
const ne = j.getBoundingClientRect().height;
|
|
1768
|
-
j.style.height = te, Tt(ne), k((
|
|
1768
|
+
j.style.height = te, Tt(ne), k((fe) => fe.find((oe) => oe.toastId === s.id) ? fe.map((oe) => oe.toastId === s.id ? {
|
|
1769
1769
|
...oe,
|
|
1770
1770
|
height: ne
|
|
1771
1771
|
} : oe) : [
|
|
@@ -1774,7 +1774,7 @@ const _r = (e) => {
|
|
|
1774
1774
|
height: ne,
|
|
1775
1775
|
position: s.position
|
|
1776
1776
|
},
|
|
1777
|
-
...
|
|
1777
|
+
...fe
|
|
1778
1778
|
]);
|
|
1779
1779
|
}, [
|
|
1780
1780
|
x,
|
|
@@ -1797,12 +1797,12 @@ const _r = (e) => {
|
|
|
1797
1797
|
Re
|
|
1798
1798
|
]);
|
|
1799
1799
|
p.useEffect(() => {
|
|
1800
|
-
if (s.promise &&
|
|
1800
|
+
if (s.promise && me === "loading" || s.duration === 1 / 0 || s.type === "loading") return;
|
|
1801
1801
|
let j;
|
|
1802
1802
|
return V || M || zt ? (() => {
|
|
1803
1803
|
if (Dt.current < ut.current) {
|
|
1804
|
-
const
|
|
1805
|
-
Ue.current = Ue.current -
|
|
1804
|
+
const fe = (/* @__PURE__ */ new Date()).getTime() - ut.current;
|
|
1805
|
+
Ue.current = Ue.current - fe;
|
|
1806
1806
|
}
|
|
1807
1807
|
Dt.current = (/* @__PURE__ */ new Date()).getTime();
|
|
1808
1808
|
})() : (() => {
|
|
@@ -1814,7 +1814,7 @@ const _r = (e) => {
|
|
|
1814
1814
|
V,
|
|
1815
1815
|
M,
|
|
1816
1816
|
s,
|
|
1817
|
-
|
|
1817
|
+
me,
|
|
1818
1818
|
zt,
|
|
1819
1819
|
Ce
|
|
1820
1820
|
]), p.useEffect(() => {
|
|
@@ -1829,20 +1829,20 @@ const _r = (e) => {
|
|
|
1829
1829
|
var te;
|
|
1830
1830
|
return /* @__PURE__ */ p.createElement("div", {
|
|
1831
1831
|
className: ye(d == null ? void 0 : d.loader, s == null || (te = s.classNames) == null ? void 0 : te.loader, "sonner-loader"),
|
|
1832
|
-
"data-visible":
|
|
1832
|
+
"data-visible": me === "loading"
|
|
1833
1833
|
}, b.loading);
|
|
1834
1834
|
}
|
|
1835
1835
|
return /* @__PURE__ */ p.createElement(Zs, {
|
|
1836
1836
|
className: ye(d == null ? void 0 : d.loader, s == null || (j = s.classNames) == null ? void 0 : j.loader),
|
|
1837
|
-
visible:
|
|
1837
|
+
visible: me === "loading"
|
|
1838
1838
|
});
|
|
1839
1839
|
}
|
|
1840
|
-
const So = s.icon || (b == null ? void 0 : b[
|
|
1840
|
+
const So = s.icon || (b == null ? void 0 : b[me]) || Xs(me);
|
|
1841
1841
|
var Ot, Bt;
|
|
1842
1842
|
return /* @__PURE__ */ p.createElement("li", {
|
|
1843
1843
|
tabIndex: 0,
|
|
1844
1844
|
ref: xe,
|
|
1845
|
-
className: ye(q, wo, d == null ? void 0 : d.toast, s == null || (t = s.classNames) == null ? void 0 : t.toast, d == null ? void 0 : d.default, d == null ? void 0 : d[
|
|
1845
|
+
className: ye(q, wo, d == null ? void 0 : d.toast, s == null || (t = s.classNames) == null ? void 0 : t.toast, d == null ? void 0 : d.default, d == null ? void 0 : d[me], s == null || (o = s.classNames) == null ? void 0 : o[me]),
|
|
1846
1846
|
"data-sonner-toast": "",
|
|
1847
1847
|
"data-rich-colors": (Ot = s.richColors) != null ? Ot : Y,
|
|
1848
1848
|
"data-styled": !(s.jsx || s.unstyled || R),
|
|
@@ -1857,7 +1857,7 @@ const _r = (e) => {
|
|
|
1857
1857
|
"data-front": yo,
|
|
1858
1858
|
"data-swiping": H,
|
|
1859
1859
|
"data-dismissible": Be,
|
|
1860
|
-
"data-type":
|
|
1860
|
+
"data-type": me,
|
|
1861
1861
|
"data-invert": Co,
|
|
1862
1862
|
"data-swipe-out": ee,
|
|
1863
1863
|
"data-swipe-direction": N,
|
|
@@ -1884,18 +1884,18 @@ const _r = (e) => {
|
|
|
1884
1884
|
var j, te, ne;
|
|
1885
1885
|
if (ee || !Be) return;
|
|
1886
1886
|
Le.current = null;
|
|
1887
|
-
const
|
|
1887
|
+
const fe = Number(((j = xe.current) == null ? void 0 : j.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), Je = Number(((te = xe.current) == null ? void 0 : te.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), oe = (/* @__PURE__ */ new Date()).getTime() - ((ne = Et.current) == null ? void 0 : ne.getTime()), pe = $ === "x" ? fe : Je, Qe = Math.abs(pe) / oe;
|
|
1888
1888
|
if (Math.abs(pe) >= hr || Qe > 0.11) {
|
|
1889
|
-
dt(Re.current), s.onDismiss == null || s.onDismiss.call(s, s), T($ === "x" ?
|
|
1889
|
+
dt(Re.current), s.onDismiss == null || s.onDismiss.call(s, s), T($ === "x" ? fe > 0 ? "right" : "left" : Je > 0 ? "down" : "up"), Ce(), U(!0);
|
|
1890
1890
|
return;
|
|
1891
1891
|
} else {
|
|
1892
1892
|
var ge, be;
|
|
1893
1893
|
(ge = xe.current) == null || ge.style.setProperty("--swipe-amount-x", "0px"), (be = xe.current) == null || be.style.setProperty("--swipe-amount-y", "0px");
|
|
1894
1894
|
}
|
|
1895
|
-
|
|
1895
|
+
ue(!1), re(!1), S(null);
|
|
1896
1896
|
},
|
|
1897
1897
|
onPointerMove: (j) => {
|
|
1898
|
-
var te, ne,
|
|
1898
|
+
var te, ne, fe;
|
|
1899
1899
|
if (!Le.current || !Be || ((te = window.getSelection()) == null ? void 0 : te.toString().length) > 0) return;
|
|
1900
1900
|
const oe = j.clientY - Le.current.y, pe = j.clientX - Le.current.x;
|
|
1901
1901
|
var Qe;
|
|
@@ -1921,9 +1921,9 @@ const _r = (e) => {
|
|
|
1921
1921
|
const Te = pe * Rt(pe);
|
|
1922
1922
|
be.x = Math.abs(Te) < Math.abs(pe) ? Te : pe;
|
|
1923
1923
|
}
|
|
1924
|
-
(Math.abs(be.x) > 0 || Math.abs(be.y) > 0) &&
|
|
1924
|
+
(Math.abs(be.x) > 0 || Math.abs(be.y) > 0) && ue(!0), (ne = xe.current) == null || ne.style.setProperty("--swipe-amount-x", `${be.x}px`), (fe = xe.current) == null || fe.style.setProperty("--swipe-amount-y", `${be.y}px`);
|
|
1925
1925
|
}
|
|
1926
|
-
}, ko && !s.jsx &&
|
|
1926
|
+
}, ko && !s.jsx && me !== "loading" ? /* @__PURE__ */ p.createElement("button", {
|
|
1927
1927
|
"aria-label": i,
|
|
1928
1928
|
"data-disabled": mt,
|
|
1929
1929
|
"data-close-button": !0,
|
|
@@ -1932,7 +1932,7 @@ const _r = (e) => {
|
|
|
1932
1932
|
Ce(), s.onDismiss == null || s.onDismiss.call(s, s);
|
|
1933
1933
|
},
|
|
1934
1934
|
className: ye(d == null ? void 0 : d.closeButton, s == null || (n = s.classNames) == null ? void 0 : n.closeButton)
|
|
1935
|
-
}, (Bt = b == null ? void 0 : b.close) != null ? Bt : or) : null, (
|
|
1935
|
+
}, (Bt = b == null ? void 0 : b.close) != null ? Bt : or) : null, (me || s.icon || s.promise) && s.icon !== null && ((b == null ? void 0 : b[me]) !== null || s.icon) ? /* @__PURE__ */ p.createElement("div", {
|
|
1936
1936
|
"data-icon": "",
|
|
1937
1937
|
className: ye(d == null ? void 0 : d.icon, s == null || (a = s.classNames) == null ? void 0 : a.icon)
|
|
1938
1938
|
}, s.promise || s.type === "loading" && !s.icon ? s.icon || Mo() : null, s.type !== "loading" ? So : null) : null, /* @__PURE__ */ p.createElement("div", {
|
|
@@ -2006,10 +2006,10 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2006
2006
|
]), [y, F] = p.useState([]), [q, E] = p.useState(!1), [K, se] = p.useState(!1), [C, h] = p.useState(s !== "system" ? s : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), d = p.useRef(null), b = r.join("+").replace(/Key/g, "").replace(/Digit/g, ""), i = p.useRef(null), $ = p.useRef(!1), S = p.useCallback((N) => {
|
|
2007
2007
|
W((T) => {
|
|
2008
2008
|
var x;
|
|
2009
|
-
return (x = T.find((A) => A.id === N.id)) != null && x.delete ||
|
|
2009
|
+
return (x = T.find((A) => A.id === N.id)) != null && x.delete || de.dismiss(N.id), T.filter(({ id: A }) => A !== N.id);
|
|
2010
2010
|
});
|
|
2011
2011
|
}, []);
|
|
2012
|
-
return p.useEffect(() =>
|
|
2012
|
+
return p.useEffect(() => de.subscribe((N) => {
|
|
2013
2013
|
if (N.dismiss) {
|
|
2014
2014
|
requestAnimationFrame(() => {
|
|
2015
2015
|
W((T) => T.map((x) => x.id === N.id ? {
|
|
@@ -2233,14 +2233,14 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2233
2233
|
show(e, t = "default") {
|
|
2234
2234
|
return t === "error" ? this.error(e) : t === "warning" ? this.warning(e) : this.default(e);
|
|
2235
2235
|
}
|
|
2236
|
-
}, Sr = "
|
|
2237
|
-
"shadow-0": "_shadow-
|
|
2238
|
-
"shadow-100": "_shadow-
|
|
2239
|
-
"shadow-200": "_shadow-
|
|
2240
|
-
"shadow-300": "_shadow-
|
|
2241
|
-
"shadow-400": "_shadow-
|
|
2242
|
-
"shadow-500": "_shadow-
|
|
2243
|
-
"shadow-600": "_shadow-
|
|
2236
|
+
}, Sr = "_modalLayout_g4kr0_29", Ir = "_modalContainer_g4kr0_40", Tr = "_fullHeight_g4kr0_52", Er = "_slideUp_g4kr0_1", Ar = "_header_g4kr0_78", Dr = "_title_g4kr0_87", jr = "_close_g4kr0_92", zr = "_content_g4kr0_102", Or = "_section_g4kr0_108", Br = "_footer_g4kr0_116", Rr = "_primaryButton_g4kr0_146", Lr = "_critical_g4kr0_159", Pr = "_warning_g4kr0_163", ce = {
|
|
2237
|
+
"shadow-0": "_shadow-0_g4kr0_1",
|
|
2238
|
+
"shadow-100": "_shadow-100_g4kr0_5",
|
|
2239
|
+
"shadow-200": "_shadow-200_g4kr0_9",
|
|
2240
|
+
"shadow-300": "_shadow-300_g4kr0_13",
|
|
2241
|
+
"shadow-400": "_shadow-400_g4kr0_17",
|
|
2242
|
+
"shadow-500": "_shadow-500_g4kr0_21",
|
|
2243
|
+
"shadow-600": "_shadow-600_g4kr0_25",
|
|
2244
2244
|
modalLayout: Sr,
|
|
2245
2245
|
modalContainer: Ir,
|
|
2246
2246
|
fullHeight: Tr,
|
|
@@ -2251,9 +2251,9 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2251
2251
|
content: zr,
|
|
2252
2252
|
section: Or,
|
|
2253
2253
|
footer: Br,
|
|
2254
|
-
"tone-critical": "_tone-
|
|
2254
|
+
"tone-critical": "_tone-critical_g4kr0_142",
|
|
2255
2255
|
primaryButton: Rr,
|
|
2256
|
-
"tone-warning": "_tone-
|
|
2256
|
+
"tone-warning": "_tone-warning_g4kr0_150",
|
|
2257
2257
|
critical: Lr,
|
|
2258
2258
|
warning: Pr
|
|
2259
2259
|
}, Hr = ({
|
|
@@ -2267,30 +2267,30 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2267
2267
|
fullHeight: f = !1
|
|
2268
2268
|
}) => {
|
|
2269
2269
|
if (!e) return null;
|
|
2270
|
-
const m =
|
|
2270
|
+
const m = ce[`tone-${r}`] || "";
|
|
2271
2271
|
return jo(
|
|
2272
2272
|
/* @__PURE__ */ c(
|
|
2273
2273
|
"div",
|
|
2274
2274
|
{
|
|
2275
|
-
className:
|
|
2275
|
+
className: ce.modalLayout,
|
|
2276
2276
|
onClick: t,
|
|
2277
2277
|
children: /* @__PURE__ */ z(
|
|
2278
2278
|
"div",
|
|
2279
2279
|
{
|
|
2280
2280
|
className: I(
|
|
2281
|
-
|
|
2281
|
+
ce.modalContainer,
|
|
2282
2282
|
m,
|
|
2283
|
-
f &&
|
|
2283
|
+
f && ce.fullHeight
|
|
2284
2284
|
),
|
|
2285
2285
|
onClick: (u) => u.stopPropagation(),
|
|
2286
2286
|
role: "dialog",
|
|
2287
2287
|
"aria-modal": "true",
|
|
2288
2288
|
"aria-labelledby": "modal-title",
|
|
2289
2289
|
children: [
|
|
2290
|
-
/* @__PURE__ */ z("div", { className:
|
|
2291
|
-
/* @__PURE__ */ z("div", { className:
|
|
2292
|
-
r === "critical" && /* @__PURE__ */ c(eo, { className:
|
|
2293
|
-
r === "warning" && /* @__PURE__ */ c(to, { className:
|
|
2290
|
+
/* @__PURE__ */ z("div", { className: ce.header, children: [
|
|
2291
|
+
/* @__PURE__ */ z("div", { className: ce.title, children: [
|
|
2292
|
+
r === "critical" && /* @__PURE__ */ c(eo, { className: ce.critical }),
|
|
2293
|
+
r === "warning" && /* @__PURE__ */ c(to, { className: ce.warning }),
|
|
2294
2294
|
/* @__PURE__ */ c(ae, { variant: "heading-sm", children: o })
|
|
2295
2295
|
] }),
|
|
2296
2296
|
/* @__PURE__ */ c(
|
|
@@ -2304,12 +2304,21 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2304
2304
|
}
|
|
2305
2305
|
)
|
|
2306
2306
|
] }),
|
|
2307
|
-
/* @__PURE__ */ c(
|
|
2308
|
-
|
|
2307
|
+
/* @__PURE__ */ c(
|
|
2308
|
+
"div",
|
|
2309
|
+
{
|
|
2310
|
+
className: I(
|
|
2311
|
+
ce.content,
|
|
2312
|
+
f && ce.fullHeight
|
|
2313
|
+
),
|
|
2314
|
+
children: l
|
|
2315
|
+
}
|
|
2316
|
+
),
|
|
2317
|
+
/* @__PURE__ */ z("div", { className: ce.footer, children: [
|
|
2309
2318
|
a.map((u, g) => /* @__PURE__ */ c(
|
|
2310
2319
|
it,
|
|
2311
2320
|
{
|
|
2312
|
-
className:
|
|
2321
|
+
className: ce.secondaryButton,
|
|
2313
2322
|
...u,
|
|
2314
2323
|
children: u.children
|
|
2315
2324
|
},
|
|
@@ -2320,7 +2329,7 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2320
2329
|
{
|
|
2321
2330
|
type: "button",
|
|
2322
2331
|
state: "primary",
|
|
2323
|
-
className:
|
|
2332
|
+
className: ce.primaryButton,
|
|
2324
2333
|
...n,
|
|
2325
2334
|
children: n.children
|
|
2326
2335
|
}
|
|
@@ -2333,7 +2342,7 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2333
2342
|
),
|
|
2334
2343
|
document.body
|
|
2335
2344
|
);
|
|
2336
|
-
}, Vr = ({ children: e }) => /* @__PURE__ */ c("section", { className:
|
|
2345
|
+
}, Vr = ({ children: e }) => /* @__PURE__ */ c("section", { className: ce.section, children: e }), kt = Hr;
|
|
2337
2346
|
kt.Section = Vr;
|
|
2338
2347
|
function pt(e) {
|
|
2339
2348
|
const t = document.createElement("div");
|
|
@@ -2855,7 +2864,7 @@ const Q = (e) => {
|
|
|
2855
2864
|
k,
|
|
2856
2865
|
w,
|
|
2857
2866
|
v
|
|
2858
|
-
], ee = () => ["none", O, w, v], U = () => ["none", O, w, v], ie = () => [O, w, v],
|
|
2867
|
+
], ee = () => ["none", O, w, v], U = () => ["none", O, w, v], ie = () => [O, w, v], ue = () => [Ve, "full", ...y()];
|
|
2859
2868
|
return {
|
|
2860
2869
|
cacheSize: 500,
|
|
2861
2870
|
theme: {
|
|
@@ -4905,28 +4914,28 @@ const Q = (e) => {
|
|
|
4905
4914
|
* @see https://tailwindcss.com/docs/translate
|
|
4906
4915
|
*/
|
|
4907
4916
|
translate: [{
|
|
4908
|
-
translate:
|
|
4917
|
+
translate: ue()
|
|
4909
4918
|
}],
|
|
4910
4919
|
/**
|
|
4911
4920
|
* Translate X
|
|
4912
4921
|
* @see https://tailwindcss.com/docs/translate
|
|
4913
4922
|
*/
|
|
4914
4923
|
"translate-x": [{
|
|
4915
|
-
"translate-x":
|
|
4924
|
+
"translate-x": ue()
|
|
4916
4925
|
}],
|
|
4917
4926
|
/**
|
|
4918
4927
|
* Translate Y
|
|
4919
4928
|
* @see https://tailwindcss.com/docs/translate
|
|
4920
4929
|
*/
|
|
4921
4930
|
"translate-y": [{
|
|
4922
|
-
"translate-y":
|
|
4931
|
+
"translate-y": ue()
|
|
4923
4932
|
}],
|
|
4924
4933
|
/**
|
|
4925
4934
|
* Translate Z
|
|
4926
4935
|
* @see https://tailwindcss.com/docs/translate
|
|
4927
4936
|
*/
|
|
4928
4937
|
"translate-z": [{
|
|
4929
|
-
"translate-z":
|
|
4938
|
+
"translate-z": ue()
|
|
4930
4939
|
}],
|
|
4931
4940
|
/**
|
|
4932
4941
|
* Translate None
|