stp-ui-kit 0.0.53 → 0.0.54
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 +238 -229
- 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
|
@@ -316,7 +316,7 @@ const Ko = [
|
|
|
316
316
|
children: o
|
|
317
317
|
}
|
|
318
318
|
);
|
|
319
|
-
}, mn = "_container_1t90t_29", fn = "_content_1t90t_40", pn = "_title_1t90t_57", hn = "_timer_1t90t_68", gn = "_timerCell_1t90t_80", bn = "_timerCount_1t90t_87", _n = "_pattern_1t90t_102",
|
|
319
|
+
}, mn = "_container_1t90t_29", fn = "_content_1t90t_40", pn = "_title_1t90t_57", hn = "_timer_1t90t_68", gn = "_timerCell_1t90t_80", bn = "_timerCount_1t90t_87", _n = "_pattern_1t90t_102", vn = "_button_1t90t_129", Me = {
|
|
320
320
|
container: mn,
|
|
321
321
|
content: fn,
|
|
322
322
|
title: pn,
|
|
@@ -324,7 +324,7 @@ const Ko = [
|
|
|
324
324
|
timerCell: gn,
|
|
325
325
|
timerCount: bn,
|
|
326
326
|
pattern: _n,
|
|
327
|
-
button:
|
|
327
|
+
button: vn
|
|
328
328
|
};
|
|
329
329
|
var no = { exports: {} };
|
|
330
330
|
(function(e, t) {
|
|
@@ -352,7 +352,7 @@ var no = { exports: {} };
|
|
|
352
352
|
return C === void 0;
|
|
353
353
|
} }, Y = "en", W = {};
|
|
354
354
|
W[Y] = Z;
|
|
355
|
-
var L = "$isDayjsObject",
|
|
355
|
+
var L = "$isDayjsObject", v = function(C) {
|
|
356
356
|
return C instanceof K || !(!C || !C[L]);
|
|
357
357
|
}, F = function C(h, d, b) {
|
|
358
358
|
var i;
|
|
@@ -368,11 +368,11 @@ var no = { exports: {} };
|
|
|
368
368
|
}
|
|
369
369
|
return !b && i && (Y = i), i || !b && Y;
|
|
370
370
|
}, q = function(C, h) {
|
|
371
|
-
if (
|
|
371
|
+
if (v(C)) return C.clone();
|
|
372
372
|
var d = typeof h == "object" ? h : {};
|
|
373
373
|
return d.date = C, d.args = arguments, new K(d);
|
|
374
374
|
}, E = J;
|
|
375
|
-
E.l = F, E.i =
|
|
375
|
+
E.l = F, E.i = v, E.w = function(C, h) {
|
|
376
376
|
return q(C, { locale: h.$L, utc: h.$u, x: h.$x, $offset: h.$offset });
|
|
377
377
|
};
|
|
378
378
|
var K = function() {
|
|
@@ -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":
|
|
@@ -597,13 +597,13 @@ var no = { exports: {} };
|
|
|
597
597
|
};
|
|
598
598
|
}), q.extend = function(C, h) {
|
|
599
599
|
return C.$i || (C(h, K, q), C.$i = !0), q;
|
|
600
|
-
}, q.locale = F, q.isDayjs =
|
|
600
|
+
}, q.locale = F, q.isDayjs = v, q.unix = function(C) {
|
|
601
601
|
return q(1e3 * C);
|
|
602
602
|
}, q.en = W[Y], q.Ls = W, q.p = {}, q;
|
|
603
603
|
});
|
|
604
604
|
})(no);
|
|
605
|
-
var
|
|
606
|
-
const wn = /* @__PURE__ */ Ft(
|
|
605
|
+
var yn = no.exports;
|
|
606
|
+
const wn = /* @__PURE__ */ Ft(yn), xn = (e) => {
|
|
607
607
|
const t = wn(e), o = t.date(), n = o === 1 || o === 21 || o === 31 ? "st" : o === 2 || o === 22 ? "nd" : o === 3 || o === 23 ? "rd" : "th";
|
|
608
608
|
return `${t.format("MMMM D, HH:mm").replace(o.toString(), `${o}${n}`)} (UTC +5)`;
|
|
609
609
|
}, _i = ({
|
|
@@ -743,7 +743,7 @@ const wn = /* @__PURE__ */ Ft(vn), xn = (e) => {
|
|
|
743
743
|
message: Dn,
|
|
744
744
|
checkbox: jn,
|
|
745
745
|
error: zn
|
|
746
|
-
},
|
|
746
|
+
}, vi = ({
|
|
747
747
|
label: e,
|
|
748
748
|
error: t,
|
|
749
749
|
helperText: o,
|
|
@@ -876,7 +876,7 @@ const wn = /* @__PURE__ */ Ft(vn), xn = (e) => {
|
|
|
876
876
|
active: qn,
|
|
877
877
|
arrowBlock: Gn,
|
|
878
878
|
isOpen: Un
|
|
879
|
-
},
|
|
879
|
+
}, yi = ({ activeItemId: e, onChange: t, item: o }) => {
|
|
880
880
|
var f, m;
|
|
881
881
|
const n = (f = o.children) == null ? void 0 : f.findIndex(
|
|
882
882
|
(u) => u.id === e
|
|
@@ -1056,8 +1056,8 @@ const wn = /* @__PURE__ */ Ft(vn), xn = (e) => {
|
|
|
1056
1056
|
V ? m.indexOf(V) : 0
|
|
1057
1057
|
), g == null || g();
|
|
1058
1058
|
else if (D >= 0) {
|
|
1059
|
-
const
|
|
1060
|
-
|
|
1059
|
+
const v = m[D];
|
|
1060
|
+
v.disabled || Y(v);
|
|
1061
1061
|
}
|
|
1062
1062
|
break;
|
|
1063
1063
|
case "Escape":
|
|
@@ -1067,23 +1067,23 @@ const wn = /* @__PURE__ */ Ft(vn), xn = (e) => {
|
|
|
1067
1067
|
if (L.preventDefault(), !M)
|
|
1068
1068
|
k(!0), _(0), g == null || g();
|
|
1069
1069
|
else {
|
|
1070
|
-
const
|
|
1071
|
-
_(
|
|
1070
|
+
const v = D < m.length - 1 ? D + 1 : 0;
|
|
1071
|
+
_(v);
|
|
1072
1072
|
}
|
|
1073
1073
|
break;
|
|
1074
1074
|
case "ArrowUp":
|
|
1075
1075
|
if (L.preventDefault(), !M)
|
|
1076
1076
|
k(!0), _(m.length - 1), g == null || g();
|
|
1077
1077
|
else {
|
|
1078
|
-
const
|
|
1079
|
-
_(
|
|
1078
|
+
const v = D > 0 ? D - 1 : m.length - 1;
|
|
1079
|
+
_(v);
|
|
1080
1080
|
}
|
|
1081
1081
|
break;
|
|
1082
1082
|
}
|
|
1083
1083
|
};
|
|
1084
1084
|
return Ke(() => {
|
|
1085
|
-
const L = (
|
|
1086
|
-
B.current && !B.current.contains(
|
|
1085
|
+
const L = (v) => {
|
|
1086
|
+
B.current && !B.current.contains(v.target) && (k(!1), _(-1), s == null || s());
|
|
1087
1087
|
};
|
|
1088
1088
|
if (M)
|
|
1089
1089
|
return document.addEventListener("mousedown", L), () => document.removeEventListener("mousedown", L);
|
|
@@ -1158,13 +1158,13 @@ const wn = /* @__PURE__ */ Ft(vn), xn = (e) => {
|
|
|
1158
1158
|
{
|
|
1159
1159
|
className: X.options,
|
|
1160
1160
|
role: "listbox",
|
|
1161
|
-
children: /* @__PURE__ */ c("div", { className: X.container, children: m.map((L,
|
|
1161
|
+
children: /* @__PURE__ */ c("div", { className: X.container, children: m.map((L, v) => /* @__PURE__ */ c(
|
|
1162
1162
|
"div",
|
|
1163
1163
|
{
|
|
1164
|
-
ref: (F) => Z.current[
|
|
1164
|
+
ref: (F) => Z.current[v] = F,
|
|
1165
1165
|
className: I(X.option, {
|
|
1166
1166
|
[X.selected]: L.value === f,
|
|
1167
|
-
[X.focused]:
|
|
1167
|
+
[X.focused]: v === D,
|
|
1168
1168
|
[X.disabled]: L.disabled
|
|
1169
1169
|
}),
|
|
1170
1170
|
onClick: () => Y(L),
|
|
@@ -1192,12 +1192,12 @@ const wn = /* @__PURE__ */ Ft(vn), xn = (e) => {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
);
|
|
1194
1194
|
hs.displayName = "Dropdown";
|
|
1195
|
-
const gs = "_emptyContainer_12l8u_29", bs = "_imageContent_12l8u_55", _s = "_content_12l8u_62",
|
|
1195
|
+
const gs = "_emptyContainer_12l8u_29", bs = "_imageContent_12l8u_55", _s = "_content_12l8u_62", vs = "_buttonContent_12l8u_69", ys = "_mobile_12l8u_85", ws = "_desktop_12l8u_86", Ie = {
|
|
1196
1196
|
emptyContainer: gs,
|
|
1197
1197
|
imageContent: bs,
|
|
1198
1198
|
content: _s,
|
|
1199
|
-
buttonContent:
|
|
1200
|
-
mobile:
|
|
1199
|
+
buttonContent: vs,
|
|
1200
|
+
mobile: ys,
|
|
1201
1201
|
desktop: ws
|
|
1202
1202
|
}, xs = ({ children: e, className: t = "" }) => /* @__PURE__ */ c("div", { className: `${Ie.emptyContainer} ${t}`, children: e }), ks = ({ children: e, className: t = "" }) => /* @__PURE__ */ z(Io, { children: [
|
|
1203
1203
|
/* @__PURE__ */ c(
|
|
@@ -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
|
|
@@ -1710,7 +1710,7 @@ function ot(e) {
|
|
|
1710
1710
|
return e.label !== void 0;
|
|
1711
1711
|
}
|
|
1712
1712
|
const dr = 3, ur = "24px", mr = "16px", Ht = 4e3, fr = 356, pr = 14, hr = 45, gr = 200;
|
|
1713
|
-
function
|
|
1713
|
+
function ve(...e) {
|
|
1714
1714
|
return e.filter(Boolean).join(" ");
|
|
1715
1715
|
}
|
|
1716
1716
|
function br(e) {
|
|
@@ -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:
|
|
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: v, 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), vo = B === 0, yo = 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(() => {
|
|
@@ -1828,21 +1828,21 @@ const _r = (e) => {
|
|
|
1828
1828
|
if (b != null && b.loading) {
|
|
1829
1829
|
var te;
|
|
1830
1830
|
return /* @__PURE__ */ p.createElement("div", {
|
|
1831
|
-
className:
|
|
1832
|
-
"data-visible":
|
|
1831
|
+
className: ve(d == null ? void 0 : d.loader, s == null || (te = s.classNames) == null ? void 0 : te.loader, "sonner-loader"),
|
|
1832
|
+
"data-visible": me === "loading"
|
|
1833
1833
|
}, b.loading);
|
|
1834
1834
|
}
|
|
1835
1835
|
return /* @__PURE__ */ p.createElement(Zs, {
|
|
1836
|
-
className:
|
|
1837
|
-
visible:
|
|
1836
|
+
className: ve(d == null ? void 0 : d.loader, s == null || (j = s.classNames) == null ? void 0 : j.loader),
|
|
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:
|
|
1845
|
+
className: ve(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),
|
|
@@ -1850,14 +1850,14 @@ const _r = (e) => {
|
|
|
1850
1850
|
"data-promise": !!s.promise,
|
|
1851
1851
|
"data-swiped": ie,
|
|
1852
1852
|
"data-removed": G,
|
|
1853
|
-
"data-visible":
|
|
1853
|
+
"data-visible": yo,
|
|
1854
1854
|
"data-y-position": $o,
|
|
1855
1855
|
"data-x-position": No,
|
|
1856
1856
|
"data-index": B,
|
|
1857
|
-
"data-front":
|
|
1857
|
+
"data-front": vo,
|
|
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,
|
|
@@ -1931,27 +1931,27 @@ const _r = (e) => {
|
|
|
1931
1931
|
} : () => {
|
|
1932
1932
|
Ce(), s.onDismiss == null || s.onDismiss.call(s, s);
|
|
1933
1933
|
},
|
|
1934
|
-
className:
|
|
1935
|
-
}, (Bt = b == null ? void 0 : b.close) != null ? Bt : or) : null, (
|
|
1934
|
+
className: ve(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, (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
|
-
className:
|
|
1937
|
+
className: ve(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", {
|
|
1939
1939
|
"data-content": "",
|
|
1940
|
-
className:
|
|
1940
|
+
className: ve(d == null ? void 0 : d.content, s == null || (r = s.classNames) == null ? void 0 : r.content)
|
|
1941
1941
|
}, /* @__PURE__ */ p.createElement("div", {
|
|
1942
1942
|
"data-title": "",
|
|
1943
|
-
className:
|
|
1943
|
+
className: ve(d == null ? void 0 : d.title, s == null || (l = s.classNames) == null ? void 0 : l.title)
|
|
1944
1944
|
}, s.jsx ? s.jsx : typeof s.title == "function" ? s.title() : s.title), s.description ? /* @__PURE__ */ p.createElement("div", {
|
|
1945
1945
|
"data-description": "",
|
|
1946
|
-
className:
|
|
1946
|
+
className: ve(E, xo, d == null ? void 0 : d.description, s == null || (f = s.classNames) == null ? void 0 : f.description)
|
|
1947
1947
|
}, typeof s.description == "function" ? s.description() : s.description) : null), /* @__PURE__ */ p.isValidElement(s.cancel) ? s.cancel : s.cancel && ot(s.cancel) ? /* @__PURE__ */ p.createElement("button", {
|
|
1948
1948
|
"data-button": !0,
|
|
1949
1949
|
"data-cancel": !0,
|
|
1950
|
-
style: s.cancelButtonStyle ||
|
|
1950
|
+
style: s.cancelButtonStyle || v,
|
|
1951
1951
|
onClick: (j) => {
|
|
1952
1952
|
ot(s.cancel) && Be && (s.cancel.onClick == null || s.cancel.onClick.call(s.cancel, j), Ce());
|
|
1953
1953
|
},
|
|
1954
|
-
className:
|
|
1954
|
+
className: ve(d == null ? void 0 : d.cancelButton, s == null || (m = s.classNames) == null ? void 0 : m.cancelButton)
|
|
1955
1955
|
}, s.cancel.label) : null, /* @__PURE__ */ p.isValidElement(s.action) ? s.action : s.action && ot(s.action) ? /* @__PURE__ */ p.createElement("button", {
|
|
1956
1956
|
"data-button": !0,
|
|
1957
1957
|
"data-action": !0,
|
|
@@ -1959,7 +1959,7 @@ const _r = (e) => {
|
|
|
1959
1959
|
onClick: (j) => {
|
|
1960
1960
|
ot(s.action) && (s.action.onClick == null || s.action.onClick.call(s.action, j), !j.defaultPrevented && Ce());
|
|
1961
1961
|
},
|
|
1962
|
-
className:
|
|
1962
|
+
className: ve(d == null ? void 0 : d.actionButton, s == null || (u = s.classNames) == null ? void 0 : u.actionButton)
|
|
1963
1963
|
}, s.action.label) : null);
|
|
1964
1964
|
};
|
|
1965
1965
|
function Vt() {
|
|
@@ -1967,7 +1967,7 @@ function Vt() {
|
|
|
1967
1967
|
const e = document.documentElement.getAttribute("dir");
|
|
1968
1968
|
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
|
|
1969
1969
|
}
|
|
1970
|
-
function
|
|
1970
|
+
function vr(e, t) {
|
|
1971
1971
|
const o = {};
|
|
1972
1972
|
return [
|
|
1973
1973
|
e,
|
|
@@ -1994,7 +1994,7 @@ function yr(e, t) {
|
|
|
1994
1994
|
}) : m(f);
|
|
1995
1995
|
}), o;
|
|
1996
1996
|
}
|
|
1997
|
-
const
|
|
1997
|
+
const yr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
1998
1998
|
const { invert: n, position: a = "bottom-right", hotkey: r = [
|
|
1999
1999
|
"altKey",
|
|
2000
2000
|
"KeyT"
|
|
@@ -2003,13 +2003,13 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2003
2003
|
].concat(Y.filter((N) => N.position).map((N) => N.position)))), [
|
|
2004
2004
|
Y,
|
|
2005
2005
|
a
|
|
2006
|
-
]), [
|
|
2006
|
+
]), [v, 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 ? {
|
|
@@ -2109,11 +2109,11 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2109
2109
|
"data-y-position": A,
|
|
2110
2110
|
"data-x-position": G,
|
|
2111
2111
|
style: {
|
|
2112
|
-
"--front-toast-height": `${((x =
|
|
2112
|
+
"--front-toast-height": `${((x = v[0]) == null ? void 0 : x.height) || 0}px`,
|
|
2113
2113
|
"--width": `${fr}px`,
|
|
2114
2114
|
"--gap": `${Z}px`,
|
|
2115
2115
|
...k,
|
|
2116
|
-
...
|
|
2116
|
+
...vr(u, g)
|
|
2117
2117
|
},
|
|
2118
2118
|
onBlur: (P) => {
|
|
2119
2119
|
$.current && !P.currentTarget.contains(P.relatedTarget) && ($.current = !1, i.current && (i.current.focus({
|
|
@@ -2157,7 +2157,7 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2157
2157
|
closeButtonAriaLabel: _ == null ? void 0 : _.closeButtonAriaLabel,
|
|
2158
2158
|
removeToast: S,
|
|
2159
2159
|
toasts: Y.filter((U) => U.position == P.position),
|
|
2160
|
-
heights:
|
|
2160
|
+
heights: v.filter((U) => U.position == P.position),
|
|
2161
2161
|
setHeights: F,
|
|
2162
2162
|
expandByDefault: l,
|
|
2163
2163
|
gap: Z,
|
|
@@ -2167,7 +2167,7 @@ const vr = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
|
2167
2167
|
})) : null;
|
|
2168
2168
|
}));
|
|
2169
2169
|
}), xi = (e) => /* @__PURE__ */ c(
|
|
2170
|
-
|
|
2170
|
+
yr,
|
|
2171
2171
|
{
|
|
2172
2172
|
position: "bottom-right",
|
|
2173
2173
|
duration: 3e3,
|
|
@@ -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_s9vwn_29", Ir = "_modalContainer_s9vwn_40", Tr = "_fullHeight_s9vwn_52", Er = "_slideUp_s9vwn_1", Ar = "_header_s9vwn_75", Dr = "_title_s9vwn_84", jr = "_close_s9vwn_89", zr = "_content_s9vwn_99", Or = "_section_s9vwn_105", Br = "_footer_s9vwn_113", Rr = "_primaryButton_s9vwn_143", Lr = "_critical_s9vwn_156", Pr = "_warning_s9vwn_160", ce = {
|
|
2237
|
+
"shadow-0": "_shadow-0_s9vwn_1",
|
|
2238
|
+
"shadow-100": "_shadow-100_s9vwn_5",
|
|
2239
|
+
"shadow-200": "_shadow-200_s9vwn_9",
|
|
2240
|
+
"shadow-300": "_shadow-300_s9vwn_13",
|
|
2241
|
+
"shadow-400": "_shadow-400_s9vwn_17",
|
|
2242
|
+
"shadow-500": "_shadow-500_s9vwn_21",
|
|
2243
|
+
"shadow-600": "_shadow-600_s9vwn_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_s9vwn_139",
|
|
2255
2255
|
primaryButton: Rr,
|
|
2256
|
-
"tone-warning": "_tone-
|
|
2256
|
+
"tone-warning": "_tone-warning_s9vwn_147",
|
|
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");
|
|
@@ -2405,7 +2414,7 @@ const $i = {
|
|
|
2405
2414
|
className: gt.progress,
|
|
2406
2415
|
style: { width: `${e}%` }
|
|
2407
2416
|
}
|
|
2408
|
-
) }) }), Xr = "_formItem_5stdw_29", Kr = "_labelContainer_5stdw_41", Zr = "_disabled_5stdw_48", Jr = "_inputContainer_5stdw_55", Qr = "_error_5stdw_82", ea = "_message_5stdw_96", ta = "_radio_5stdw_100",
|
|
2417
|
+
) }) }), Xr = "_formItem_5stdw_29", Kr = "_labelContainer_5stdw_41", Zr = "_disabled_5stdw_48", Jr = "_inputContainer_5stdw_55", Qr = "_error_5stdw_82", ea = "_message_5stdw_96", ta = "_radio_5stdw_100", ye = {
|
|
2409
2418
|
formItem: Xr,
|
|
2410
2419
|
labelContainer: Kr,
|
|
2411
2420
|
disabled: Zr,
|
|
@@ -2434,24 +2443,24 @@ const $i = {
|
|
|
2434
2443
|
l(u);
|
|
2435
2444
|
}
|
|
2436
2445
|
};
|
|
2437
|
-
return /* @__PURE__ */ z("div", { className:
|
|
2446
|
+
return /* @__PURE__ */ z("div", { className: ye.formItem, children: [
|
|
2438
2447
|
/* @__PURE__ */ c(
|
|
2439
2448
|
"input",
|
|
2440
2449
|
{
|
|
2441
2450
|
type: "radio",
|
|
2442
|
-
className: I(a,
|
|
2451
|
+
className: I(a, ye.inputContainer, ye.radio),
|
|
2443
2452
|
disabled: n,
|
|
2444
2453
|
name: r,
|
|
2445
2454
|
onChange: l,
|
|
2446
2455
|
...f
|
|
2447
2456
|
}
|
|
2448
2457
|
),
|
|
2449
|
-
/* @__PURE__ */ z("div", { className:
|
|
2458
|
+
/* @__PURE__ */ z("div", { className: ye.labelContainer, children: [
|
|
2450
2459
|
/* @__PURE__ */ c(
|
|
2451
2460
|
"div",
|
|
2452
2461
|
{
|
|
2453
|
-
className: I(
|
|
2454
|
-
[
|
|
2462
|
+
className: I(ye.label, {
|
|
2463
|
+
[ye.disabled]: n
|
|
2455
2464
|
}),
|
|
2456
2465
|
onClick: m,
|
|
2457
2466
|
children: e
|
|
@@ -2460,8 +2469,8 @@ const $i = {
|
|
|
2460
2469
|
t && /* @__PURE__ */ c(
|
|
2461
2470
|
"div",
|
|
2462
2471
|
{
|
|
2463
|
-
className: I(
|
|
2464
|
-
[
|
|
2472
|
+
className: I(ye.message, {
|
|
2473
|
+
[ye.error]: !!t
|
|
2465
2474
|
}),
|
|
2466
2475
|
children: t ? /* @__PURE__ */ c(ct, { children: t }) : o
|
|
2467
2476
|
}
|
|
@@ -2469,8 +2478,8 @@ const $i = {
|
|
|
2469
2478
|
o && !t && /* @__PURE__ */ c(
|
|
2470
2479
|
"div",
|
|
2471
2480
|
{
|
|
2472
|
-
className: I(
|
|
2473
|
-
[
|
|
2481
|
+
className: I(ye.message, {
|
|
2482
|
+
[ye.error]: !!t
|
|
2474
2483
|
}),
|
|
2475
2484
|
children: o
|
|
2476
2485
|
}
|
|
@@ -2635,7 +2644,7 @@ const It = "-", ha = (e) => {
|
|
|
2635
2644
|
validators: []
|
|
2636
2645
|
}), o = o.nextPart.get(n);
|
|
2637
2646
|
}), o;
|
|
2638
|
-
}, _a = (e) => e.isThemeGetter,
|
|
2647
|
+
}, _a = (e) => e.isThemeGetter, va = (e) => {
|
|
2639
2648
|
if (e < 1)
|
|
2640
2649
|
return {
|
|
2641
2650
|
get: () => {
|
|
@@ -2659,7 +2668,7 @@ const It = "-", ha = (e) => {
|
|
|
2659
2668
|
o.has(r) ? o.set(r, l) : a(r, l);
|
|
2660
2669
|
}
|
|
2661
2670
|
};
|
|
2662
|
-
}, Nt = "!", Ct = ":",
|
|
2671
|
+
}, Nt = "!", Ct = ":", ya = Ct.length, wa = (e) => {
|
|
2663
2672
|
const {
|
|
2664
2673
|
prefix: t,
|
|
2665
2674
|
experimentalParseClassName: o
|
|
@@ -2671,7 +2680,7 @@ const It = "-", ha = (e) => {
|
|
|
2671
2680
|
let D = a[k];
|
|
2672
2681
|
if (l === 0 && f === 0) {
|
|
2673
2682
|
if (D === Ct) {
|
|
2674
|
-
r.push(a.slice(m, k)), m = k +
|
|
2683
|
+
r.push(a.slice(m, k)), m = k + ya;
|
|
2675
2684
|
continue;
|
|
2676
2685
|
}
|
|
2677
2686
|
if (D === "/") {
|
|
@@ -2719,7 +2728,7 @@ const It = "-", ha = (e) => {
|
|
|
2719
2728
|
}), a.push(...r.sort()), a;
|
|
2720
2729
|
};
|
|
2721
2730
|
}, $a = (e) => ({
|
|
2722
|
-
cache:
|
|
2731
|
+
cache: va(e.cacheSize),
|
|
2723
2732
|
parseClassName: wa(e),
|
|
2724
2733
|
sortModifiers: ka(e),
|
|
2725
2734
|
...ha(e)
|
|
@@ -2807,7 +2816,7 @@ const Q = (e) => {
|
|
|
2807
2816
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
2808
2817
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
2809
2818
|
Ea.test(e) && !Aa.test(e)
|
|
2810
|
-
), mo = () => !1, Ba = (e) => Da.test(e), Ra = (e) => ja.test(e), La = (e) => !
|
|
2819
|
+
), mo = () => !1, Ba = (e) => Da.test(e), Ra = (e) => ja.test(e), La = (e) => !y(e) && !w(e), Pa = (e) => qe(e, ho, mo), y = (e) => co.test(e), Ee = (e) => qe(e, go, Oa), vt = (e) => qe(e, qa, O), qt = (e) => qe(e, fo, mo), Ha = (e) => qe(e, po, Ra), nt = (e) => qe(e, bo, Ba), w = (e) => uo.test(e), Xe = (e) => Ge(e, go), Va = (e) => Ge(e, Ga), Gt = (e) => Ge(e, fo), Ya = (e) => Ge(e, ho), Wa = (e) => Ge(e, po), st = (e) => Ge(e, bo, !0), qe = (e, t, o) => {
|
|
2811
2820
|
const n = co.exec(e);
|
|
2812
2821
|
return n ? n[1] ? t(n[1]) : o(n[2]) : !1;
|
|
2813
2822
|
}, Ge = (e, t, o = !1) => {
|
|
@@ -2832,14 +2841,14 @@ const Q = (e) => {
|
|
|
2832
2841
|
"bottom-left",
|
|
2833
2842
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
2834
2843
|
"left-bottom"
|
|
2835
|
-
], Y = () => [...J(), w,
|
|
2836
|
-
span: ["full", Se, w,
|
|
2837
|
-
}, Se, w,
|
|
2838
|
-
position: [w,
|
|
2844
|
+
], Y = () => [...J(), w, y], W = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], v = () => [w, y, m], F = () => [Ve, "full", "auto", ...v()], q = () => [Se, "none", "subgrid", w, y], E = () => ["auto", {
|
|
2845
|
+
span: ["full", Se, w, y]
|
|
2846
|
+
}, Se, w, y], K = () => [Se, "auto", w, y], se = () => ["auto", "min", "max", "fr", w, y], C = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], h = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], d = () => ["auto", ...v()], b = () => [Ve, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...v()], i = () => [e, w, y], $ = () => [...J(), Gt, qt, {
|
|
2847
|
+
position: [w, y]
|
|
2839
2848
|
}], S = () => ["no-repeat", {
|
|
2840
2849
|
repeat: ["", "x", "y", "space", "round"]
|
|
2841
2850
|
}], N = () => ["auto", "cover", "contain", Ya, Pa, {
|
|
2842
|
-
size: [w,
|
|
2851
|
+
size: [w, y]
|
|
2843
2852
|
}], T = () => [_t, Xe, Ee], x = () => [
|
|
2844
2853
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2845
2854
|
"",
|
|
@@ -2847,15 +2856,15 @@ const Q = (e) => {
|
|
|
2847
2856
|
"full",
|
|
2848
2857
|
u,
|
|
2849
2858
|
w,
|
|
2850
|
-
|
|
2859
|
+
y
|
|
2851
2860
|
], A = () => ["", O, Xe, Ee], G = () => ["solid", "dashed", "dotted", "double"], P = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], H = () => [O, _t, Gt, qt], re = () => [
|
|
2852
2861
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2853
2862
|
"",
|
|
2854
2863
|
"none",
|
|
2855
2864
|
k,
|
|
2856
2865
|
w,
|
|
2857
|
-
|
|
2858
|
-
], ee = () => ["none", O, w,
|
|
2866
|
+
y
|
|
2867
|
+
], ee = () => ["none", O, w, y], U = () => ["none", O, w, y], ie = () => [O, w, y], ue = () => [Ve, "full", ...v()];
|
|
2859
2868
|
return {
|
|
2860
2869
|
cacheSize: 500,
|
|
2861
2870
|
theme: {
|
|
@@ -2888,7 +2897,7 @@ const Q = (e) => {
|
|
|
2888
2897
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
2889
2898
|
*/
|
|
2890
2899
|
aspect: [{
|
|
2891
|
-
aspect: ["auto", "square", Ve,
|
|
2900
|
+
aspect: ["auto", "square", Ve, y, w, _]
|
|
2892
2901
|
}],
|
|
2893
2902
|
/**
|
|
2894
2903
|
* Container
|
|
@@ -2901,7 +2910,7 @@ const Q = (e) => {
|
|
|
2901
2910
|
* @see https://tailwindcss.com/docs/columns
|
|
2902
2911
|
*/
|
|
2903
2912
|
columns: [{
|
|
2904
|
-
columns: [O,
|
|
2913
|
+
columns: [O, y, w, f]
|
|
2905
2914
|
}],
|
|
2906
2915
|
/**
|
|
2907
2916
|
* Break After
|
|
@@ -3101,7 +3110,7 @@ const Q = (e) => {
|
|
|
3101
3110
|
* @see https://tailwindcss.com/docs/z-index
|
|
3102
3111
|
*/
|
|
3103
3112
|
z: [{
|
|
3104
|
-
z: [Se, "auto", w,
|
|
3113
|
+
z: [Se, "auto", w, y]
|
|
3105
3114
|
}],
|
|
3106
3115
|
// ------------------------
|
|
3107
3116
|
// --- Flexbox and Grid ---
|
|
@@ -3111,7 +3120,7 @@ const Q = (e) => {
|
|
|
3111
3120
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
3112
3121
|
*/
|
|
3113
3122
|
basis: [{
|
|
3114
|
-
basis: [Ve, "full", "auto", f, ...
|
|
3123
|
+
basis: [Ve, "full", "auto", f, ...v()]
|
|
3115
3124
|
}],
|
|
3116
3125
|
/**
|
|
3117
3126
|
* Flex Direction
|
|
@@ -3132,28 +3141,28 @@ const Q = (e) => {
|
|
|
3132
3141
|
* @see https://tailwindcss.com/docs/flex
|
|
3133
3142
|
*/
|
|
3134
3143
|
flex: [{
|
|
3135
|
-
flex: [O, Ve, "auto", "initial", "none",
|
|
3144
|
+
flex: [O, Ve, "auto", "initial", "none", y]
|
|
3136
3145
|
}],
|
|
3137
3146
|
/**
|
|
3138
3147
|
* Flex Grow
|
|
3139
3148
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
3140
3149
|
*/
|
|
3141
3150
|
grow: [{
|
|
3142
|
-
grow: ["", O, w,
|
|
3151
|
+
grow: ["", O, w, y]
|
|
3143
3152
|
}],
|
|
3144
3153
|
/**
|
|
3145
3154
|
* Flex Shrink
|
|
3146
3155
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
3147
3156
|
*/
|
|
3148
3157
|
shrink: [{
|
|
3149
|
-
shrink: ["", O, w,
|
|
3158
|
+
shrink: ["", O, w, y]
|
|
3150
3159
|
}],
|
|
3151
3160
|
/**
|
|
3152
3161
|
* Order
|
|
3153
3162
|
* @see https://tailwindcss.com/docs/order
|
|
3154
3163
|
*/
|
|
3155
3164
|
order: [{
|
|
3156
|
-
order: [Se, "first", "last", "none", w,
|
|
3165
|
+
order: [Se, "first", "last", "none", w, y]
|
|
3157
3166
|
}],
|
|
3158
3167
|
/**
|
|
3159
3168
|
* Grid Template Columns
|
|
@@ -3237,21 +3246,21 @@ const Q = (e) => {
|
|
|
3237
3246
|
* @see https://tailwindcss.com/docs/gap
|
|
3238
3247
|
*/
|
|
3239
3248
|
gap: [{
|
|
3240
|
-
gap:
|
|
3249
|
+
gap: v()
|
|
3241
3250
|
}],
|
|
3242
3251
|
/**
|
|
3243
3252
|
* Gap X
|
|
3244
3253
|
* @see https://tailwindcss.com/docs/gap
|
|
3245
3254
|
*/
|
|
3246
3255
|
"gap-x": [{
|
|
3247
|
-
"gap-x":
|
|
3256
|
+
"gap-x": v()
|
|
3248
3257
|
}],
|
|
3249
3258
|
/**
|
|
3250
3259
|
* Gap Y
|
|
3251
3260
|
* @see https://tailwindcss.com/docs/gap
|
|
3252
3261
|
*/
|
|
3253
3262
|
"gap-y": [{
|
|
3254
|
-
"gap-y":
|
|
3263
|
+
"gap-y": v()
|
|
3255
3264
|
}],
|
|
3256
3265
|
/**
|
|
3257
3266
|
* Justify Content
|
|
@@ -3326,63 +3335,63 @@ const Q = (e) => {
|
|
|
3326
3335
|
* @see https://tailwindcss.com/docs/padding
|
|
3327
3336
|
*/
|
|
3328
3337
|
p: [{
|
|
3329
|
-
p:
|
|
3338
|
+
p: v()
|
|
3330
3339
|
}],
|
|
3331
3340
|
/**
|
|
3332
3341
|
* Padding X
|
|
3333
3342
|
* @see https://tailwindcss.com/docs/padding
|
|
3334
3343
|
*/
|
|
3335
3344
|
px: [{
|
|
3336
|
-
px:
|
|
3345
|
+
px: v()
|
|
3337
3346
|
}],
|
|
3338
3347
|
/**
|
|
3339
3348
|
* Padding Y
|
|
3340
3349
|
* @see https://tailwindcss.com/docs/padding
|
|
3341
3350
|
*/
|
|
3342
3351
|
py: [{
|
|
3343
|
-
py:
|
|
3352
|
+
py: v()
|
|
3344
3353
|
}],
|
|
3345
3354
|
/**
|
|
3346
3355
|
* Padding Start
|
|
3347
3356
|
* @see https://tailwindcss.com/docs/padding
|
|
3348
3357
|
*/
|
|
3349
3358
|
ps: [{
|
|
3350
|
-
ps:
|
|
3359
|
+
ps: v()
|
|
3351
3360
|
}],
|
|
3352
3361
|
/**
|
|
3353
3362
|
* Padding End
|
|
3354
3363
|
* @see https://tailwindcss.com/docs/padding
|
|
3355
3364
|
*/
|
|
3356
3365
|
pe: [{
|
|
3357
|
-
pe:
|
|
3366
|
+
pe: v()
|
|
3358
3367
|
}],
|
|
3359
3368
|
/**
|
|
3360
3369
|
* Padding Top
|
|
3361
3370
|
* @see https://tailwindcss.com/docs/padding
|
|
3362
3371
|
*/
|
|
3363
3372
|
pt: [{
|
|
3364
|
-
pt:
|
|
3373
|
+
pt: v()
|
|
3365
3374
|
}],
|
|
3366
3375
|
/**
|
|
3367
3376
|
* Padding Right
|
|
3368
3377
|
* @see https://tailwindcss.com/docs/padding
|
|
3369
3378
|
*/
|
|
3370
3379
|
pr: [{
|
|
3371
|
-
pr:
|
|
3380
|
+
pr: v()
|
|
3372
3381
|
}],
|
|
3373
3382
|
/**
|
|
3374
3383
|
* Padding Bottom
|
|
3375
3384
|
* @see https://tailwindcss.com/docs/padding
|
|
3376
3385
|
*/
|
|
3377
3386
|
pb: [{
|
|
3378
|
-
pb:
|
|
3387
|
+
pb: v()
|
|
3379
3388
|
}],
|
|
3380
3389
|
/**
|
|
3381
3390
|
* Padding Left
|
|
3382
3391
|
* @see https://tailwindcss.com/docs/padding
|
|
3383
3392
|
*/
|
|
3384
3393
|
pl: [{
|
|
3385
|
-
pl:
|
|
3394
|
+
pl: v()
|
|
3386
3395
|
}],
|
|
3387
3396
|
/**
|
|
3388
3397
|
* Margin
|
|
@@ -3452,7 +3461,7 @@ const Q = (e) => {
|
|
|
3452
3461
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
3453
3462
|
*/
|
|
3454
3463
|
"space-x": [{
|
|
3455
|
-
"space-x":
|
|
3464
|
+
"space-x": v()
|
|
3456
3465
|
}],
|
|
3457
3466
|
/**
|
|
3458
3467
|
* Space Between X Reverse
|
|
@@ -3464,7 +3473,7 @@ const Q = (e) => {
|
|
|
3464
3473
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
3465
3474
|
*/
|
|
3466
3475
|
"space-y": [{
|
|
3467
|
-
"space-y":
|
|
3476
|
+
"space-y": v()
|
|
3468
3477
|
}],
|
|
3469
3478
|
/**
|
|
3470
3479
|
* Space Between Y Reverse
|
|
@@ -3565,21 +3574,21 @@ const Q = (e) => {
|
|
|
3565
3574
|
* @see https://tailwindcss.com/docs/font-weight
|
|
3566
3575
|
*/
|
|
3567
3576
|
"font-weight": [{
|
|
3568
|
-
font: [n, w,
|
|
3577
|
+
font: [n, w, vt]
|
|
3569
3578
|
}],
|
|
3570
3579
|
/**
|
|
3571
3580
|
* Font Stretch
|
|
3572
3581
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
3573
3582
|
*/
|
|
3574
3583
|
"font-stretch": [{
|
|
3575
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", _t,
|
|
3584
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", _t, y]
|
|
3576
3585
|
}],
|
|
3577
3586
|
/**
|
|
3578
3587
|
* Font Family
|
|
3579
3588
|
* @see https://tailwindcss.com/docs/font-family
|
|
3580
3589
|
*/
|
|
3581
3590
|
"font-family": [{
|
|
3582
|
-
font: [Va,
|
|
3591
|
+
font: [Va, y, t]
|
|
3583
3592
|
}],
|
|
3584
3593
|
/**
|
|
3585
3594
|
* Font Variant Numeric
|
|
@@ -3616,14 +3625,14 @@ const Q = (e) => {
|
|
|
3616
3625
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
3617
3626
|
*/
|
|
3618
3627
|
tracking: [{
|
|
3619
|
-
tracking: [a, w,
|
|
3628
|
+
tracking: [a, w, y]
|
|
3620
3629
|
}],
|
|
3621
3630
|
/**
|
|
3622
3631
|
* Line Clamp
|
|
3623
3632
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
3624
3633
|
*/
|
|
3625
3634
|
"line-clamp": [{
|
|
3626
|
-
"line-clamp": [O, "none", w,
|
|
3635
|
+
"line-clamp": [O, "none", w, vt]
|
|
3627
3636
|
}],
|
|
3628
3637
|
/**
|
|
3629
3638
|
* Line Height
|
|
@@ -3633,7 +3642,7 @@ const Q = (e) => {
|
|
|
3633
3642
|
leading: [
|
|
3634
3643
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
3635
3644
|
r,
|
|
3636
|
-
...
|
|
3645
|
+
...v()
|
|
3637
3646
|
]
|
|
3638
3647
|
}],
|
|
3639
3648
|
/**
|
|
@@ -3641,7 +3650,7 @@ const Q = (e) => {
|
|
|
3641
3650
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
3642
3651
|
*/
|
|
3643
3652
|
"list-image": [{
|
|
3644
|
-
"list-image": ["none", w,
|
|
3653
|
+
"list-image": ["none", w, y]
|
|
3645
3654
|
}],
|
|
3646
3655
|
/**
|
|
3647
3656
|
* List Style Position
|
|
@@ -3655,7 +3664,7 @@ const Q = (e) => {
|
|
|
3655
3664
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
3656
3665
|
*/
|
|
3657
3666
|
"list-style-type": [{
|
|
3658
|
-
list: ["disc", "decimal", "none", w,
|
|
3667
|
+
list: ["disc", "decimal", "none", w, y]
|
|
3659
3668
|
}],
|
|
3660
3669
|
/**
|
|
3661
3670
|
* Text Alignment
|
|
@@ -3710,7 +3719,7 @@ const Q = (e) => {
|
|
|
3710
3719
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
3711
3720
|
*/
|
|
3712
3721
|
"underline-offset": [{
|
|
3713
|
-
"underline-offset": [O, "auto", w,
|
|
3722
|
+
"underline-offset": [O, "auto", w, y]
|
|
3714
3723
|
}],
|
|
3715
3724
|
/**
|
|
3716
3725
|
* Text Transform
|
|
@@ -3734,14 +3743,14 @@ const Q = (e) => {
|
|
|
3734
3743
|
* @see https://tailwindcss.com/docs/text-indent
|
|
3735
3744
|
*/
|
|
3736
3745
|
indent: [{
|
|
3737
|
-
indent:
|
|
3746
|
+
indent: v()
|
|
3738
3747
|
}],
|
|
3739
3748
|
/**
|
|
3740
3749
|
* Vertical Alignment
|
|
3741
3750
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
3742
3751
|
*/
|
|
3743
3752
|
"vertical-align": [{
|
|
3744
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", w,
|
|
3753
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", w, y]
|
|
3745
3754
|
}],
|
|
3746
3755
|
/**
|
|
3747
3756
|
* Whitespace
|
|
@@ -3776,7 +3785,7 @@ const Q = (e) => {
|
|
|
3776
3785
|
* @see https://tailwindcss.com/docs/content
|
|
3777
3786
|
*/
|
|
3778
3787
|
content: [{
|
|
3779
|
-
content: ["none", w,
|
|
3788
|
+
content: ["none", w, y]
|
|
3780
3789
|
}],
|
|
3781
3790
|
// -------------------
|
|
3782
3791
|
// --- Backgrounds ---
|
|
@@ -3831,9 +3840,9 @@ const Q = (e) => {
|
|
|
3831
3840
|
bg: ["none", {
|
|
3832
3841
|
linear: [{
|
|
3833
3842
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
3834
|
-
}, Se, w,
|
|
3835
|
-
radial: ["", w,
|
|
3836
|
-
conic: [Se, w,
|
|
3843
|
+
}, Se, w, y],
|
|
3844
|
+
radial: ["", w, y],
|
|
3845
|
+
conic: [Se, w, y]
|
|
3837
3846
|
}, Wa, Ha]
|
|
3838
3847
|
}],
|
|
3839
3848
|
/**
|
|
@@ -4176,7 +4185,7 @@ const Q = (e) => {
|
|
|
4176
4185
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
4177
4186
|
*/
|
|
4178
4187
|
"outline-offset": [{
|
|
4179
|
-
"outline-offset": [O, w,
|
|
4188
|
+
"outline-offset": [O, w, y]
|
|
4180
4189
|
}],
|
|
4181
4190
|
/**
|
|
4182
4191
|
* Outline Width
|
|
@@ -4302,7 +4311,7 @@ const Q = (e) => {
|
|
|
4302
4311
|
* @see https://tailwindcss.com/docs/opacity
|
|
4303
4312
|
*/
|
|
4304
4313
|
opacity: [{
|
|
4305
|
-
opacity: [O, w,
|
|
4314
|
+
opacity: [O, w, y]
|
|
4306
4315
|
}],
|
|
4307
4316
|
/**
|
|
4308
4317
|
* Mix Blend Mode
|
|
@@ -4424,7 +4433,7 @@ const Q = (e) => {
|
|
|
4424
4433
|
"mask-y-to": i()
|
|
4425
4434
|
}],
|
|
4426
4435
|
"mask-image-radial": [{
|
|
4427
|
-
"mask-radial": [w,
|
|
4436
|
+
"mask-radial": [w, y]
|
|
4428
4437
|
}],
|
|
4429
4438
|
"mask-image-radial-from-pos": [{
|
|
4430
4439
|
"mask-radial-from": H()
|
|
@@ -4512,7 +4521,7 @@ const Q = (e) => {
|
|
|
4512
4521
|
* @see https://tailwindcss.com/docs/mask-image
|
|
4513
4522
|
*/
|
|
4514
4523
|
"mask-image": [{
|
|
4515
|
-
mask: ["none", w,
|
|
4524
|
+
mask: ["none", w, y]
|
|
4516
4525
|
}],
|
|
4517
4526
|
// ---------------
|
|
4518
4527
|
// --- Filters ---
|
|
@@ -4527,7 +4536,7 @@ const Q = (e) => {
|
|
|
4527
4536
|
"",
|
|
4528
4537
|
"none",
|
|
4529
4538
|
w,
|
|
4530
|
-
|
|
4539
|
+
y
|
|
4531
4540
|
]
|
|
4532
4541
|
}],
|
|
4533
4542
|
/**
|
|
@@ -4542,14 +4551,14 @@ const Q = (e) => {
|
|
|
4542
4551
|
* @see https://tailwindcss.com/docs/brightness
|
|
4543
4552
|
*/
|
|
4544
4553
|
brightness: [{
|
|
4545
|
-
brightness: [O, w,
|
|
4554
|
+
brightness: [O, w, y]
|
|
4546
4555
|
}],
|
|
4547
4556
|
/**
|
|
4548
4557
|
* Contrast
|
|
4549
4558
|
* @see https://tailwindcss.com/docs/contrast
|
|
4550
4559
|
*/
|
|
4551
4560
|
contrast: [{
|
|
4552
|
-
contrast: [O, w,
|
|
4561
|
+
contrast: [O, w, y]
|
|
4553
4562
|
}],
|
|
4554
4563
|
/**
|
|
4555
4564
|
* Drop Shadow
|
|
@@ -4577,35 +4586,35 @@ const Q = (e) => {
|
|
|
4577
4586
|
* @see https://tailwindcss.com/docs/grayscale
|
|
4578
4587
|
*/
|
|
4579
4588
|
grayscale: [{
|
|
4580
|
-
grayscale: ["", O, w,
|
|
4589
|
+
grayscale: ["", O, w, y]
|
|
4581
4590
|
}],
|
|
4582
4591
|
/**
|
|
4583
4592
|
* Hue Rotate
|
|
4584
4593
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
4585
4594
|
*/
|
|
4586
4595
|
"hue-rotate": [{
|
|
4587
|
-
"hue-rotate": [O, w,
|
|
4596
|
+
"hue-rotate": [O, w, y]
|
|
4588
4597
|
}],
|
|
4589
4598
|
/**
|
|
4590
4599
|
* Invert
|
|
4591
4600
|
* @see https://tailwindcss.com/docs/invert
|
|
4592
4601
|
*/
|
|
4593
4602
|
invert: [{
|
|
4594
|
-
invert: ["", O, w,
|
|
4603
|
+
invert: ["", O, w, y]
|
|
4595
4604
|
}],
|
|
4596
4605
|
/**
|
|
4597
4606
|
* Saturate
|
|
4598
4607
|
* @see https://tailwindcss.com/docs/saturate
|
|
4599
4608
|
*/
|
|
4600
4609
|
saturate: [{
|
|
4601
|
-
saturate: [O, w,
|
|
4610
|
+
saturate: [O, w, y]
|
|
4602
4611
|
}],
|
|
4603
4612
|
/**
|
|
4604
4613
|
* Sepia
|
|
4605
4614
|
* @see https://tailwindcss.com/docs/sepia
|
|
4606
4615
|
*/
|
|
4607
4616
|
sepia: [{
|
|
4608
|
-
sepia: ["", O, w,
|
|
4617
|
+
sepia: ["", O, w, y]
|
|
4609
4618
|
}],
|
|
4610
4619
|
/**
|
|
4611
4620
|
* Backdrop Filter
|
|
@@ -4617,7 +4626,7 @@ const Q = (e) => {
|
|
|
4617
4626
|
"",
|
|
4618
4627
|
"none",
|
|
4619
4628
|
w,
|
|
4620
|
-
|
|
4629
|
+
y
|
|
4621
4630
|
]
|
|
4622
4631
|
}],
|
|
4623
4632
|
/**
|
|
@@ -4632,56 +4641,56 @@ const Q = (e) => {
|
|
|
4632
4641
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
4633
4642
|
*/
|
|
4634
4643
|
"backdrop-brightness": [{
|
|
4635
|
-
"backdrop-brightness": [O, w,
|
|
4644
|
+
"backdrop-brightness": [O, w, y]
|
|
4636
4645
|
}],
|
|
4637
4646
|
/**
|
|
4638
4647
|
* Backdrop Contrast
|
|
4639
4648
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
4640
4649
|
*/
|
|
4641
4650
|
"backdrop-contrast": [{
|
|
4642
|
-
"backdrop-contrast": [O, w,
|
|
4651
|
+
"backdrop-contrast": [O, w, y]
|
|
4643
4652
|
}],
|
|
4644
4653
|
/**
|
|
4645
4654
|
* Backdrop Grayscale
|
|
4646
4655
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
4647
4656
|
*/
|
|
4648
4657
|
"backdrop-grayscale": [{
|
|
4649
|
-
"backdrop-grayscale": ["", O, w,
|
|
4658
|
+
"backdrop-grayscale": ["", O, w, y]
|
|
4650
4659
|
}],
|
|
4651
4660
|
/**
|
|
4652
4661
|
* Backdrop Hue Rotate
|
|
4653
4662
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
4654
4663
|
*/
|
|
4655
4664
|
"backdrop-hue-rotate": [{
|
|
4656
|
-
"backdrop-hue-rotate": [O, w,
|
|
4665
|
+
"backdrop-hue-rotate": [O, w, y]
|
|
4657
4666
|
}],
|
|
4658
4667
|
/**
|
|
4659
4668
|
* Backdrop Invert
|
|
4660
4669
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
4661
4670
|
*/
|
|
4662
4671
|
"backdrop-invert": [{
|
|
4663
|
-
"backdrop-invert": ["", O, w,
|
|
4672
|
+
"backdrop-invert": ["", O, w, y]
|
|
4664
4673
|
}],
|
|
4665
4674
|
/**
|
|
4666
4675
|
* Backdrop Opacity
|
|
4667
4676
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
4668
4677
|
*/
|
|
4669
4678
|
"backdrop-opacity": [{
|
|
4670
|
-
"backdrop-opacity": [O, w,
|
|
4679
|
+
"backdrop-opacity": [O, w, y]
|
|
4671
4680
|
}],
|
|
4672
4681
|
/**
|
|
4673
4682
|
* Backdrop Saturate
|
|
4674
4683
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
4675
4684
|
*/
|
|
4676
4685
|
"backdrop-saturate": [{
|
|
4677
|
-
"backdrop-saturate": [O, w,
|
|
4686
|
+
"backdrop-saturate": [O, w, y]
|
|
4678
4687
|
}],
|
|
4679
4688
|
/**
|
|
4680
4689
|
* Backdrop Sepia
|
|
4681
4690
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
4682
4691
|
*/
|
|
4683
4692
|
"backdrop-sepia": [{
|
|
4684
|
-
"backdrop-sepia": ["", O, w,
|
|
4693
|
+
"backdrop-sepia": ["", O, w, y]
|
|
4685
4694
|
}],
|
|
4686
4695
|
// --------------
|
|
4687
4696
|
// --- Tables ---
|
|
@@ -4698,21 +4707,21 @@ const Q = (e) => {
|
|
|
4698
4707
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
4699
4708
|
*/
|
|
4700
4709
|
"border-spacing": [{
|
|
4701
|
-
"border-spacing":
|
|
4710
|
+
"border-spacing": v()
|
|
4702
4711
|
}],
|
|
4703
4712
|
/**
|
|
4704
4713
|
* Border Spacing X
|
|
4705
4714
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
4706
4715
|
*/
|
|
4707
4716
|
"border-spacing-x": [{
|
|
4708
|
-
"border-spacing-x":
|
|
4717
|
+
"border-spacing-x": v()
|
|
4709
4718
|
}],
|
|
4710
4719
|
/**
|
|
4711
4720
|
* Border Spacing Y
|
|
4712
4721
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
4713
4722
|
*/
|
|
4714
4723
|
"border-spacing-y": [{
|
|
4715
|
-
"border-spacing-y":
|
|
4724
|
+
"border-spacing-y": v()
|
|
4716
4725
|
}],
|
|
4717
4726
|
/**
|
|
4718
4727
|
* Table Layout
|
|
@@ -4736,7 +4745,7 @@ const Q = (e) => {
|
|
|
4736
4745
|
* @see https://tailwindcss.com/docs/transition-property
|
|
4737
4746
|
*/
|
|
4738
4747
|
transition: [{
|
|
4739
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", w,
|
|
4748
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", w, y]
|
|
4740
4749
|
}],
|
|
4741
4750
|
/**
|
|
4742
4751
|
* Transition Behavior
|
|
@@ -4750,28 +4759,28 @@ const Q = (e) => {
|
|
|
4750
4759
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
4751
4760
|
*/
|
|
4752
4761
|
duration: [{
|
|
4753
|
-
duration: [O, "initial", w,
|
|
4762
|
+
duration: [O, "initial", w, y]
|
|
4754
4763
|
}],
|
|
4755
4764
|
/**
|
|
4756
4765
|
* Transition Timing Function
|
|
4757
4766
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
4758
4767
|
*/
|
|
4759
4768
|
ease: [{
|
|
4760
|
-
ease: ["linear", "initial", B, w,
|
|
4769
|
+
ease: ["linear", "initial", B, w, y]
|
|
4761
4770
|
}],
|
|
4762
4771
|
/**
|
|
4763
4772
|
* Transition Delay
|
|
4764
4773
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
4765
4774
|
*/
|
|
4766
4775
|
delay: [{
|
|
4767
|
-
delay: [O, w,
|
|
4776
|
+
delay: [O, w, y]
|
|
4768
4777
|
}],
|
|
4769
4778
|
/**
|
|
4770
4779
|
* Animation
|
|
4771
4780
|
* @see https://tailwindcss.com/docs/animation
|
|
4772
4781
|
*/
|
|
4773
4782
|
animate: [{
|
|
4774
|
-
animate: ["none", Z, w,
|
|
4783
|
+
animate: ["none", Z, w, y]
|
|
4775
4784
|
}],
|
|
4776
4785
|
// ------------------
|
|
4777
4786
|
// --- Transforms ---
|
|
@@ -4788,7 +4797,7 @@ const Q = (e) => {
|
|
|
4788
4797
|
* @see https://tailwindcss.com/docs/perspective
|
|
4789
4798
|
*/
|
|
4790
4799
|
perspective: [{
|
|
4791
|
-
perspective: [D, w,
|
|
4800
|
+
perspective: [D, w, y]
|
|
4792
4801
|
}],
|
|
4793
4802
|
/**
|
|
4794
4803
|
* Perspective Origin
|
|
@@ -4884,7 +4893,7 @@ const Q = (e) => {
|
|
|
4884
4893
|
* @see https://tailwindcss.com/docs/transform
|
|
4885
4894
|
*/
|
|
4886
4895
|
transform: [{
|
|
4887
|
-
transform: [w,
|
|
4896
|
+
transform: [w, y, "", "none", "gpu", "cpu"]
|
|
4888
4897
|
}],
|
|
4889
4898
|
/**
|
|
4890
4899
|
* Transform Origin
|
|
@@ -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
|
|
@@ -4969,7 +4978,7 @@ const Q = (e) => {
|
|
|
4969
4978
|
* @see https://tailwindcss.com/docs/cursor
|
|
4970
4979
|
*/
|
|
4971
4980
|
cursor: [{
|
|
4972
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", w,
|
|
4981
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", w, y]
|
|
4973
4982
|
}],
|
|
4974
4983
|
/**
|
|
4975
4984
|
* Field Sizing
|
|
@@ -5004,126 +5013,126 @@ const Q = (e) => {
|
|
|
5004
5013
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5005
5014
|
*/
|
|
5006
5015
|
"scroll-m": [{
|
|
5007
|
-
"scroll-m":
|
|
5016
|
+
"scroll-m": v()
|
|
5008
5017
|
}],
|
|
5009
5018
|
/**
|
|
5010
5019
|
* Scroll Margin X
|
|
5011
5020
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5012
5021
|
*/
|
|
5013
5022
|
"scroll-mx": [{
|
|
5014
|
-
"scroll-mx":
|
|
5023
|
+
"scroll-mx": v()
|
|
5015
5024
|
}],
|
|
5016
5025
|
/**
|
|
5017
5026
|
* Scroll Margin Y
|
|
5018
5027
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5019
5028
|
*/
|
|
5020
5029
|
"scroll-my": [{
|
|
5021
|
-
"scroll-my":
|
|
5030
|
+
"scroll-my": v()
|
|
5022
5031
|
}],
|
|
5023
5032
|
/**
|
|
5024
5033
|
* Scroll Margin Start
|
|
5025
5034
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5026
5035
|
*/
|
|
5027
5036
|
"scroll-ms": [{
|
|
5028
|
-
"scroll-ms":
|
|
5037
|
+
"scroll-ms": v()
|
|
5029
5038
|
}],
|
|
5030
5039
|
/**
|
|
5031
5040
|
* Scroll Margin End
|
|
5032
5041
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5033
5042
|
*/
|
|
5034
5043
|
"scroll-me": [{
|
|
5035
|
-
"scroll-me":
|
|
5044
|
+
"scroll-me": v()
|
|
5036
5045
|
}],
|
|
5037
5046
|
/**
|
|
5038
5047
|
* Scroll Margin Top
|
|
5039
5048
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5040
5049
|
*/
|
|
5041
5050
|
"scroll-mt": [{
|
|
5042
|
-
"scroll-mt":
|
|
5051
|
+
"scroll-mt": v()
|
|
5043
5052
|
}],
|
|
5044
5053
|
/**
|
|
5045
5054
|
* Scroll Margin Right
|
|
5046
5055
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5047
5056
|
*/
|
|
5048
5057
|
"scroll-mr": [{
|
|
5049
|
-
"scroll-mr":
|
|
5058
|
+
"scroll-mr": v()
|
|
5050
5059
|
}],
|
|
5051
5060
|
/**
|
|
5052
5061
|
* Scroll Margin Bottom
|
|
5053
5062
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5054
5063
|
*/
|
|
5055
5064
|
"scroll-mb": [{
|
|
5056
|
-
"scroll-mb":
|
|
5065
|
+
"scroll-mb": v()
|
|
5057
5066
|
}],
|
|
5058
5067
|
/**
|
|
5059
5068
|
* Scroll Margin Left
|
|
5060
5069
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5061
5070
|
*/
|
|
5062
5071
|
"scroll-ml": [{
|
|
5063
|
-
"scroll-ml":
|
|
5072
|
+
"scroll-ml": v()
|
|
5064
5073
|
}],
|
|
5065
5074
|
/**
|
|
5066
5075
|
* Scroll Padding
|
|
5067
5076
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5068
5077
|
*/
|
|
5069
5078
|
"scroll-p": [{
|
|
5070
|
-
"scroll-p":
|
|
5079
|
+
"scroll-p": v()
|
|
5071
5080
|
}],
|
|
5072
5081
|
/**
|
|
5073
5082
|
* Scroll Padding X
|
|
5074
5083
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5075
5084
|
*/
|
|
5076
5085
|
"scroll-px": [{
|
|
5077
|
-
"scroll-px":
|
|
5086
|
+
"scroll-px": v()
|
|
5078
5087
|
}],
|
|
5079
5088
|
/**
|
|
5080
5089
|
* Scroll Padding Y
|
|
5081
5090
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5082
5091
|
*/
|
|
5083
5092
|
"scroll-py": [{
|
|
5084
|
-
"scroll-py":
|
|
5093
|
+
"scroll-py": v()
|
|
5085
5094
|
}],
|
|
5086
5095
|
/**
|
|
5087
5096
|
* Scroll Padding Start
|
|
5088
5097
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5089
5098
|
*/
|
|
5090
5099
|
"scroll-ps": [{
|
|
5091
|
-
"scroll-ps":
|
|
5100
|
+
"scroll-ps": v()
|
|
5092
5101
|
}],
|
|
5093
5102
|
/**
|
|
5094
5103
|
* Scroll Padding End
|
|
5095
5104
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5096
5105
|
*/
|
|
5097
5106
|
"scroll-pe": [{
|
|
5098
|
-
"scroll-pe":
|
|
5107
|
+
"scroll-pe": v()
|
|
5099
5108
|
}],
|
|
5100
5109
|
/**
|
|
5101
5110
|
* Scroll Padding Top
|
|
5102
5111
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5103
5112
|
*/
|
|
5104
5113
|
"scroll-pt": [{
|
|
5105
|
-
"scroll-pt":
|
|
5114
|
+
"scroll-pt": v()
|
|
5106
5115
|
}],
|
|
5107
5116
|
/**
|
|
5108
5117
|
* Scroll Padding Right
|
|
5109
5118
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5110
5119
|
*/
|
|
5111
5120
|
"scroll-pr": [{
|
|
5112
|
-
"scroll-pr":
|
|
5121
|
+
"scroll-pr": v()
|
|
5113
5122
|
}],
|
|
5114
5123
|
/**
|
|
5115
5124
|
* Scroll Padding Bottom
|
|
5116
5125
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5117
5126
|
*/
|
|
5118
5127
|
"scroll-pb": [{
|
|
5119
|
-
"scroll-pb":
|
|
5128
|
+
"scroll-pb": v()
|
|
5120
5129
|
}],
|
|
5121
5130
|
/**
|
|
5122
5131
|
* Scroll Padding Left
|
|
5123
5132
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5124
5133
|
*/
|
|
5125
5134
|
"scroll-pl": [{
|
|
5126
|
-
"scroll-pl":
|
|
5135
|
+
"scroll-pl": v()
|
|
5127
5136
|
}],
|
|
5128
5137
|
/**
|
|
5129
5138
|
* Scroll Snap Align
|
|
@@ -5191,7 +5200,7 @@ const Q = (e) => {
|
|
|
5191
5200
|
* @see https://tailwindcss.com/docs/will-change
|
|
5192
5201
|
*/
|
|
5193
5202
|
"will-change": [{
|
|
5194
|
-
"will-change": ["auto", "scroll", "contents", "transform", w,
|
|
5203
|
+
"will-change": ["auto", "scroll", "contents", "transform", w, y]
|
|
5195
5204
|
}],
|
|
5196
5205
|
// -----------
|
|
5197
5206
|
// --- SVG ---
|
|
@@ -5208,7 +5217,7 @@ const Q = (e) => {
|
|
|
5208
5217
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
5209
5218
|
*/
|
|
5210
5219
|
"stroke-w": [{
|
|
5211
|
-
stroke: [O, Xe, Ee,
|
|
5220
|
+
stroke: [O, Xe, Ee, vt]
|
|
5212
5221
|
}],
|
|
5213
5222
|
/**
|
|
5214
5223
|
* Stroke
|
|
@@ -5449,7 +5458,7 @@ const Di = (e) => /* @__PURE__ */ c(
|
|
|
5449
5458
|
Ae.bottomBorder
|
|
5450
5459
|
)
|
|
5451
5460
|
}
|
|
5452
|
-
), ni = "_tooltipWrapper_k0y48_29", si = "_underline_k0y48_34", ri = "_tooltip_k0y48_29",
|
|
5461
|
+
), ni = "_tooltipWrapper_k0y48_29", si = "_underline_k0y48_34", ri = "_tooltip_k0y48_29", yt = {
|
|
5453
5462
|
"shadow-0": "_shadow-0_k0y48_1",
|
|
5454
5463
|
"shadow-100": "_shadow-100_k0y48_5",
|
|
5455
5464
|
"shadow-200": "_shadow-200_k0y48_9",
|
|
@@ -5474,8 +5483,8 @@ const Di = (e) => /* @__PURE__ */ c(
|
|
|
5474
5483
|
className: f,
|
|
5475
5484
|
tooltipClassName: m
|
|
5476
5485
|
}) => {
|
|
5477
|
-
const [u, g] = Ne(!1), [s, R] = Ne(n), M = We(null), k = We(!1), D = We(null), _ = e !== void 0 ? e : u, B = r === "hover" || r === "both", Z = r === "click" || r === "both", V = Ao(), J =
|
|
5478
|
-
|
|
5486
|
+
const [u, g] = Ne(!1), [s, R] = Ne(n), M = We(null), k = We(!1), D = We(null), _ = e !== void 0 ? e : u, B = r === "hover" || r === "both", Z = r === "click" || r === "both", V = Ao(), J = yt[`tooltip-position-${s}`] || "", Y = I(yt.tooltipWrapper, f), W = I(
|
|
5487
|
+
yt.tooltip,
|
|
5479
5488
|
J,
|
|
5480
5489
|
m
|
|
5481
5490
|
);
|
|
@@ -5636,8 +5645,8 @@ export {
|
|
|
5636
5645
|
oo as BaseInputWrapper,
|
|
5637
5646
|
it as Button,
|
|
5638
5647
|
Ii as Cell,
|
|
5639
|
-
|
|
5640
|
-
|
|
5648
|
+
vi as Checkbox,
|
|
5649
|
+
yi as Collapse,
|
|
5641
5650
|
wi as CourseCollapse,
|
|
5642
5651
|
xi as CustomToaster,
|
|
5643
5652
|
hs as Dropdown,
|