next-ui-lib 0.1.23 → 0.1.25
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/components/bgIcon/bgIcon.d.ts +2 -1
- package/dist/components/bgIcon/bgIcon.d.ts.map +1 -1
- package/dist/components/bgIcon/bgIcon.stories.d.ts +1 -1
- package/dist/components/checkBox/checkBox.d.ts +2 -1
- package/dist/components/checkBox/checkBox.d.ts.map +1 -1
- package/dist/components/checkBox/checkBox.stories.d.ts +1 -1
- package/dist/components/progressBar/progressBar.d.ts +2 -1
- package/dist/components/progressBar/progressBar.d.ts.map +1 -1
- package/dist/components/progressBar/progressBar.stories.d.ts +1 -1
- package/dist/components/weekStreak/weekStreak.d.ts +2 -1
- package/dist/components/weekStreak/weekStreak.d.ts.map +1 -1
- package/dist/components/weekStreak/weekStreak.stories.d.ts +1 -1
- package/dist/styles.css +1 -1
- package/dist/ui.cjs.js +2 -2
- package/dist/ui.es.js +276 -201
- package/dist/ui.umd.js +3 -3
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as p, jsxs as R } from "react/jsx-runtime";
|
|
2
2
|
import * as ne from "react";
|
|
3
3
|
import Cn, { useRef as si, useEffect as Fn, useState as qi } from "react";
|
|
4
4
|
const Sn = {
|
|
@@ -39,7 +39,7 @@ const Sn = {
|
|
|
39
39
|
large: "px-8 py-3 text-2xl rounded-2xl",
|
|
40
40
|
full: "px-8 py-2 text-xl rounded-2xl w-full"
|
|
41
41
|
}, d = Sn[e];
|
|
42
|
-
return /* @__PURE__ */
|
|
42
|
+
return /* @__PURE__ */ p(
|
|
43
43
|
"button",
|
|
44
44
|
{
|
|
45
45
|
className: `relative flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${o[a]} ${f}`,
|
|
@@ -55,7 +55,7 @@ const Sn = {
|
|
|
55
55
|
r.currentTarget.style.boxShadow = `0 4px 0 ${s == "primary" ? d.primary.dark : d.secondary.dark}`;
|
|
56
56
|
},
|
|
57
57
|
onClick: i,
|
|
58
|
-
children: /* @__PURE__ */
|
|
58
|
+
children: /* @__PURE__ */ p("span", { className: "font-bold", children: n })
|
|
59
59
|
}
|
|
60
60
|
);
|
|
61
61
|
};
|
|
@@ -70,7 +70,7 @@ function H(e, i, n) {
|
|
|
70
70
|
writable: !0
|
|
71
71
|
}) : e[i] = n, e;
|
|
72
72
|
}
|
|
73
|
-
var Me, w, Ri, te, Hi, ri, ye = {}, Wi = [],
|
|
73
|
+
var Me, w, Ri, te, Hi, ri, ye = {}, Wi = [], $n = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
|
|
74
74
|
function V(e, i) {
|
|
75
75
|
for (var n in i) e[n] = i[n];
|
|
76
76
|
return e;
|
|
@@ -143,21 +143,21 @@ function _e() {
|
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
145
|
function Ai(e, i, n, a, s, f, o, d, r, l) {
|
|
146
|
-
var t, v, c, m, h,
|
|
146
|
+
var t, v, c, m, h, x, C, S = a && a.__k || Wi, $ = S.length;
|
|
147
147
|
for (n.__k = [], t = 0; t < i.length; t++) if ((m = n.__k[t] = (m = i[t]) == null || typeof m == "boolean" ? null : typeof m == "string" || typeof m == "number" || typeof m == "bigint" ? be(null, m, null, null, m) : Array.isArray(m) ? be(ee, {
|
|
148
148
|
children: m
|
|
149
149
|
}, null, null, null) : m.__b > 0 ? be(m.type, m.props, m.key, null, m.__v) : m) != null) {
|
|
150
150
|
if (m.__ = n, m.__b = n.__b + 1, (c = S[t]) === null || c && m.key == c.key && m.type === c.type) S[t] = void 0;
|
|
151
|
-
else for (v = 0; v <
|
|
151
|
+
else for (v = 0; v < $; v++) {
|
|
152
152
|
if ((c = S[v]) && m.key == c.key && m.type === c.type) {
|
|
153
153
|
S[v] = void 0;
|
|
154
154
|
break;
|
|
155
155
|
}
|
|
156
156
|
c = null;
|
|
157
157
|
}
|
|
158
|
-
Ue(e, m, c = c || ye, s, f, o, d, r, l), h = m.__e, (v = m.ref) && c.ref != v && (C || (C = []), c.ref && C.push(c.ref, null, m), C.push(v, m.__c || h, m)), h != null ? (
|
|
158
|
+
Ue(e, m, c = c || ye, s, f, o, d, r, l), h = m.__e, (v = m.ref) && c.ref != v && (C || (C = []), c.ref && C.push(c.ref, null, m), C.push(v, m.__c || h, m)), h != null ? (x == null && (x = h), typeof m.type == "function" && m.__k === c.__k ? m.__d = r = Di(m, r, e) : r = Ii(e, m, c, S, h, r), typeof n.type == "function" && (n.__d = r)) : r && c.__e == r && r.parentNode != e && (r = ie(c));
|
|
159
159
|
}
|
|
160
|
-
for (n.__e =
|
|
160
|
+
for (n.__e = x, t = $; t--; ) S[t] != null && (typeof n.type == "function" && S[t].__e != null && S[t].__e == n.__d && (n.__d = ie(a, t + 1)), Oi(S[t], S[t]));
|
|
161
161
|
if (C) for (t = 0; t < C.length; t++) Gi(C[t], C[++t], C[++t]);
|
|
162
162
|
}
|
|
163
163
|
function Di(e, i, n) {
|
|
@@ -179,13 +179,13 @@ function Ii(e, i, n, a, s, f) {
|
|
|
179
179
|
}
|
|
180
180
|
return o !== void 0 ? o : s.nextSibling;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Bn(e, i, n, a, s) {
|
|
183
183
|
var f;
|
|
184
184
|
for (f in n) f === "children" || f === "key" || f in i || Ce(e, f, null, n[f], a);
|
|
185
185
|
for (f in i) s && typeof i[f] != "function" || f === "children" || f === "key" || f === "value" || f === "checked" || n[f] === i[f] || Ce(e, f, i[f], n[f], a);
|
|
186
186
|
}
|
|
187
187
|
function di(e, i, n) {
|
|
188
|
-
i[0] === "-" ? e.setProperty(i, n) : e[i] = n == null ? "" : typeof n != "number" ||
|
|
188
|
+
i[0] === "-" ? e.setProperty(i, n) : e[i] = n == null ? "" : typeof n != "number" || $n.test(i) ? n : n + "px";
|
|
189
189
|
}
|
|
190
190
|
function Ce(e, i, n, a, s) {
|
|
191
191
|
var f;
|
|
@@ -213,28 +213,28 @@ function ui(e) {
|
|
|
213
213
|
this.l[e.type + !0](w.event ? w.event(e) : e);
|
|
214
214
|
}
|
|
215
215
|
function Ue(e, i, n, a, s, f, o, d, r) {
|
|
216
|
-
var l, t, v, c, m, h,
|
|
216
|
+
var l, t, v, c, m, h, x, C, S, $, L, z = i.type;
|
|
217
217
|
if (i.constructor !== void 0) return null;
|
|
218
218
|
n.__h != null && (r = n.__h, d = i.__e = n.__e, i.__h = null, f = [
|
|
219
219
|
d
|
|
220
220
|
]), (l = w.__b) && l(i);
|
|
221
221
|
try {
|
|
222
222
|
e: if (typeof z == "function") {
|
|
223
|
-
if (C = i.props, S = (l = z.contextType) && a[l.__c],
|
|
223
|
+
if (C = i.props, S = (l = z.contextType) && a[l.__c], $ = l ? S ? S.props.value : l.__ : a, n.__c ? x = (t = i.__c = n.__c).__ = t.__E : ("prototype" in z && z.prototype.render ? i.__c = t = new z(C, $) : (i.__c = t = new E(C, $), t.constructor = z, t.render = jn), S && S.sub(t), t.props = C, t.state || (t.state = {}), t.context = $, t.__n = a, v = t.__d = !0, t.__h = []), t.__s == null && (t.__s = t.state), z.getDerivedStateFromProps != null && (t.__s == t.state && (t.__s = V({}, t.__s)), V(t.__s, z.getDerivedStateFromProps(C, t.__s))), c = t.props, m = t.state, v) z.getDerivedStateFromProps == null && t.componentWillMount != null && t.componentWillMount(), t.componentDidMount != null && t.__h.push(t.componentDidMount);
|
|
224
224
|
else {
|
|
225
|
-
if (z.getDerivedStateFromProps == null && C !== c && t.componentWillReceiveProps != null && t.componentWillReceiveProps(C,
|
|
225
|
+
if (z.getDerivedStateFromProps == null && C !== c && t.componentWillReceiveProps != null && t.componentWillReceiveProps(C, $), !t.__e && t.shouldComponentUpdate != null && t.shouldComponentUpdate(C, t.__s, $) === !1 || i.__v === n.__v) {
|
|
226
226
|
t.props = C, t.state = t.__s, i.__v !== n.__v && (t.__d = !1), t.__v = i, i.__e = n.__e, i.__k = n.__k, i.__k.forEach(function(W) {
|
|
227
227
|
W && (W.__ = i);
|
|
228
228
|
}), t.__h.length && o.push(t);
|
|
229
229
|
break e;
|
|
230
230
|
}
|
|
231
|
-
t.componentWillUpdate != null && t.componentWillUpdate(C, t.__s,
|
|
231
|
+
t.componentWillUpdate != null && t.componentWillUpdate(C, t.__s, $), t.componentDidUpdate != null && t.__h.push(function() {
|
|
232
232
|
t.componentDidUpdate(c, m, h);
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
t.context =
|
|
235
|
+
t.context = $, t.props = C, t.state = t.__s, (l = w.__r) && l(i), t.__d = !1, t.__v = i, t.__P = e, l = t.render(t.props, t.state, t.context), t.state = t.__s, t.getChildContext != null && (a = V(V({}, a), t.getChildContext())), v || t.getSnapshotBeforeUpdate == null || (h = t.getSnapshotBeforeUpdate(c, m)), L = l != null && l.type === ee && l.key == null ? l.props.children : l, Ai(e, Array.isArray(L) ? L : [
|
|
236
236
|
L
|
|
237
|
-
], i, n, a, s, f, o, d, r), t.base = i.__e, i.__h = null, t.__h.length && o.push(t),
|
|
237
|
+
], i, n, a, s, f, o, d, r), t.base = i.__e, i.__h = null, t.__h.length && o.push(t), x && (t.__E = t.__ = null), t.__e = !1;
|
|
238
238
|
} else f == null && i.__v === n.__v ? (i.__k = n.__k, i.__e = n.__e) : i.__e = zn(n.__e, i, n, a, s, f, o, r);
|
|
239
239
|
(l = w.diffed) && l(i);
|
|
240
240
|
} catch (W) {
|
|
@@ -270,7 +270,7 @@ function zn(e, i, n, a, s, f, o, d) {
|
|
|
270
270
|
if (f != null) for (v = {}, h = 0; h < e.attributes.length; h++) v[e.attributes[h].name] = e.attributes[h].value;
|
|
271
271
|
(t || l) && (t && (l && t.__html == l.__html || t.__html === e.innerHTML) || (e.innerHTML = t && t.__html || ""));
|
|
272
272
|
}
|
|
273
|
-
if (
|
|
273
|
+
if (Bn(e, c, v, s, d), t) i.__k = [];
|
|
274
274
|
else if (h = i.props.children, Ai(e, Array.isArray(h) ? h : [
|
|
275
275
|
h
|
|
276
276
|
], i, n, a, s && m !== "foreignObject", f, o, f ? f[0] : n.__k && ie(n, 0), d), f != null) for (h = f.length; h--; ) f[h] != null && Li(f[h]);
|
|
@@ -771,23 +771,23 @@ async function Dn(e) {
|
|
|
771
771
|
c.emoticons,
|
|
772
772
|
!1
|
|
773
773
|
]
|
|
774
|
-
].map(([
|
|
775
|
-
if (
|
|
776
|
-
return (Array.isArray(
|
|
777
|
-
|
|
774
|
+
].map(([x, C]) => {
|
|
775
|
+
if (x)
|
|
776
|
+
return (Array.isArray(x) ? x : [
|
|
777
|
+
x
|
|
778
778
|
]).map((S) => (C ? S.split(/[-|_|\s]+/) : [
|
|
779
779
|
S
|
|
780
|
-
]).map((
|
|
781
|
-
}).flat().filter((
|
|
782
|
-
F.emoticons[
|
|
780
|
+
]).map(($) => $.toLowerCase())).flat();
|
|
781
|
+
}).flat().filter((x) => x && x.trim()).join(","), c.emoticons) for (const x of c.emoticons)
|
|
782
|
+
F.emoticons[x] || (F.emoticons[x] = c.id);
|
|
783
783
|
let h = 0;
|
|
784
|
-
for (const
|
|
785
|
-
if (!
|
|
784
|
+
for (const x of c.skins) {
|
|
785
|
+
if (!x) continue;
|
|
786
786
|
h++;
|
|
787
|
-
const { native: C } =
|
|
787
|
+
const { native: C } = x;
|
|
788
788
|
C && (F.natives[C] = c.id, c.search += `,${C}`);
|
|
789
789
|
const S = h == 1 ? "" : `:skin-tone-${h}:`;
|
|
790
|
-
|
|
790
|
+
x.shortcodes = `:${c.id}:${S}`;
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
793
|
}
|
|
@@ -1285,8 +1285,8 @@ w.unmount = function(e) {
|
|
|
1285
1285
|
if (a.state.__e) {
|
|
1286
1286
|
var l = a.state.__e;
|
|
1287
1287
|
a.__v.__k[0] = (function v(c, m, h) {
|
|
1288
|
-
return c && (c.__v = null, c.__k = c.__k && c.__k.map(function(
|
|
1289
|
-
return v(
|
|
1288
|
+
return c && (c.__v = null, c.__k = c.__k && c.__k.map(function(x) {
|
|
1289
|
+
return v(x, m, h);
|
|
1290
1290
|
}), c.__c && c.__c.__P === m && (c.__e && h.insertBefore(c.__e, c.__d), c.__c.__e = !0, c.__c.__P = h)), c;
|
|
1291
1291
|
})(l, l.__c.__P, l.__c.__O);
|
|
1292
1292
|
}
|
|
@@ -1408,9 +1408,9 @@ w.vnode = function(e) {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
e.$$typeof = aa, Mi && Mi(e);
|
|
1410
1410
|
};
|
|
1411
|
-
var
|
|
1411
|
+
var $i = w.__r;
|
|
1412
1412
|
w.__r = function(e) {
|
|
1413
|
-
|
|
1413
|
+
$i && $i(e), e.__c;
|
|
1414
1414
|
};
|
|
1415
1415
|
const la = {
|
|
1416
1416
|
light: "outline",
|
|
@@ -2001,14 +2001,14 @@ class va extends E {
|
|
|
2001
2001
|
style: {
|
|
2002
2002
|
top: r * this.props.emojiButtonSize
|
|
2003
2003
|
},
|
|
2004
|
-
children: t && h.map((
|
|
2005
|
-
if (!
|
|
2004
|
+
children: t && h.map((x, C) => {
|
|
2005
|
+
if (!x) return /* @__PURE__ */ u("div", {
|
|
2006
2006
|
style: {
|
|
2007
2007
|
width: this.props.emojiButtonSize,
|
|
2008
2008
|
height: this.props.emojiButtonSize
|
|
2009
2009
|
}
|
|
2010
2010
|
});
|
|
2011
|
-
const S = X.get(
|
|
2011
|
+
const S = X.get(x);
|
|
2012
2012
|
return this.renderEmojiButton(S, {
|
|
2013
2013
|
pos: [
|
|
2014
2014
|
d.index,
|
|
@@ -3028,9 +3028,9 @@ const ba = ({
|
|
|
3028
3028
|
set: n = "google",
|
|
3029
3029
|
onEmojiSelect: a
|
|
3030
3030
|
}) => {
|
|
3031
|
-
const [s, f] = qi(!1), o = /* @__PURE__ */
|
|
3031
|
+
const [s, f] = qi(!1), o = /* @__PURE__ */ p("em-emoji", { id: e, set: n, size: i ? "1.6em" : "1.2em" });
|
|
3032
3032
|
return /* @__PURE__ */ R("div", { className: "relative flex items-center", children: [
|
|
3033
|
-
i ? /* @__PURE__ */
|
|
3033
|
+
i ? /* @__PURE__ */ p(
|
|
3034
3034
|
"button",
|
|
3035
3035
|
{
|
|
3036
3036
|
type: "button",
|
|
@@ -3039,8 +3039,8 @@ const ba = ({
|
|
|
3039
3039
|
"aria-label": "Select icon",
|
|
3040
3040
|
children: o
|
|
3041
3041
|
}
|
|
3042
|
-
) : /* @__PURE__ */
|
|
3043
|
-
i && s && /* @__PURE__ */
|
|
3042
|
+
) : /* @__PURE__ */ p("div", { className: "p-2 w-12 h-12 rounded-md text-2xl flex items-center justify-center", children: o }),
|
|
3043
|
+
i && s && /* @__PURE__ */ p("div", { className: "absolute z-50 top-full mt-2", children: /* @__PURE__ */ p(
|
|
3044
3044
|
ma,
|
|
3045
3045
|
{
|
|
3046
3046
|
data: on,
|
|
@@ -3060,20 +3060,30 @@ const ba = ({
|
|
|
3060
3060
|
onClick: i,
|
|
3061
3061
|
customClass: n = "",
|
|
3062
3062
|
iconSrc: a,
|
|
3063
|
-
emojiId: s
|
|
3063
|
+
emojiId: s,
|
|
3064
|
+
loading: f = !1
|
|
3064
3065
|
}) => {
|
|
3065
|
-
const
|
|
3066
|
-
return /* @__PURE__ */
|
|
3066
|
+
const o = Ve[e];
|
|
3067
|
+
return f ? /* @__PURE__ */ p(
|
|
3068
|
+
"div",
|
|
3069
|
+
{
|
|
3070
|
+
className: `w-12 h-12 rounded-lg animate-pulse ${n}`,
|
|
3071
|
+
style: {
|
|
3072
|
+
backgroundColor: "#F1F1F1",
|
|
3073
|
+
boxShadow: "0 4px 0 #e2e2e2"
|
|
3074
|
+
}
|
|
3075
|
+
}
|
|
3076
|
+
) : /* @__PURE__ */ p(
|
|
3067
3077
|
"button",
|
|
3068
3078
|
{
|
|
3069
3079
|
className: `w-12 h-12 rounded-lg flex items-center justify-center cursor-pointer transition duration-150 ease-in-out whitespace-nowrap active:translate-y-[4px] ${n}`,
|
|
3070
3080
|
onClick: i,
|
|
3071
3081
|
style: {
|
|
3072
|
-
backgroundColor:
|
|
3073
|
-
boxShadow: `0 4px 0 ${
|
|
3082
|
+
backgroundColor: o.value,
|
|
3083
|
+
boxShadow: `0 4px 0 ${o.dark}`
|
|
3074
3084
|
},
|
|
3075
3085
|
children: /* @__PURE__ */ R("span", { className: "text-2xl", children: [
|
|
3076
|
-
a && /* @__PURE__ */
|
|
3086
|
+
a && /* @__PURE__ */ p(
|
|
3077
3087
|
"img",
|
|
3078
3088
|
{
|
|
3079
3089
|
style: {
|
|
@@ -3084,7 +3094,7 @@ const ba = ({
|
|
|
3084
3094
|
src: a
|
|
3085
3095
|
}
|
|
3086
3096
|
),
|
|
3087
|
-
s && /* @__PURE__ */
|
|
3097
|
+
s && /* @__PURE__ */ p(ba, { id: s, set: "google" })
|
|
3088
3098
|
] })
|
|
3089
3099
|
}
|
|
3090
3100
|
);
|
|
@@ -3129,9 +3139,9 @@ const Ye = "-", ya = (e) => {
|
|
|
3129
3139
|
return i.validators.find(({
|
|
3130
3140
|
validator: o
|
|
3131
3141
|
}) => o(f))?.classGroupId;
|
|
3132
|
-
},
|
|
3133
|
-
if (
|
|
3134
|
-
const i =
|
|
3142
|
+
}, Bi = /^\[(.+)\]$/, _a = (e) => {
|
|
3143
|
+
if (Bi.test(e)) {
|
|
3144
|
+
const i = Bi.exec(e)[1], n = i?.substring(0, i.indexOf(":"));
|
|
3135
3145
|
if (n)
|
|
3136
3146
|
return "arbitrary.." + n;
|
|
3137
3147
|
}
|
|
@@ -3209,20 +3219,20 @@ const Ye = "-", ya = (e) => {
|
|
|
3209
3219
|
const f = [];
|
|
3210
3220
|
let o = 0, d = 0, r = 0, l;
|
|
3211
3221
|
for (let h = 0; h < s.length; h++) {
|
|
3212
|
-
let
|
|
3222
|
+
let x = s[h];
|
|
3213
3223
|
if (o === 0 && d === 0) {
|
|
3214
|
-
if (
|
|
3224
|
+
if (x === Oe) {
|
|
3215
3225
|
f.push(s.slice(r, h)), r = h + Sa;
|
|
3216
3226
|
continue;
|
|
3217
3227
|
}
|
|
3218
|
-
if (
|
|
3228
|
+
if (x === "/") {
|
|
3219
3229
|
l = h;
|
|
3220
3230
|
continue;
|
|
3221
3231
|
}
|
|
3222
3232
|
}
|
|
3223
|
-
|
|
3233
|
+
x === "[" ? o++ : x === "]" ? o-- : x === "(" ? d++ : x === ")" && d--;
|
|
3224
3234
|
}
|
|
3225
|
-
const t = f.length === 0 ? s : s.substring(r), v =
|
|
3235
|
+
const t = f.length === 0 ? s : s.substring(r), v = $a(t), c = v !== t, m = l && l > r ? l - r : void 0;
|
|
3226
3236
|
return {
|
|
3227
3237
|
modifiers: f,
|
|
3228
3238
|
hasImportantModifier: c,
|
|
@@ -3248,7 +3258,7 @@ const Ye = "-", ya = (e) => {
|
|
|
3248
3258
|
});
|
|
3249
3259
|
}
|
|
3250
3260
|
return a;
|
|
3251
|
-
},
|
|
3261
|
+
}, $a = (e) => e.endsWith(Ge) ? e.substring(0, e.length - 1) : e.startsWith(Ge) ? e.substring(1) : e, Ba = (e) => {
|
|
3252
3262
|
const i = Object.fromEntries(e.orderSensitiveModifiers.map((a) => [a, !0]));
|
|
3253
3263
|
return (a) => {
|
|
3254
3264
|
if (a.length <= 1)
|
|
@@ -3262,7 +3272,7 @@ const Ye = "-", ya = (e) => {
|
|
|
3262
3272
|
}, za = (e) => ({
|
|
3263
3273
|
cache: Fa(e.cacheSize),
|
|
3264
3274
|
parseClassName: Ma(e),
|
|
3265
|
-
sortModifiers:
|
|
3275
|
+
sortModifiers: Ba(e),
|
|
3266
3276
|
...ya(e)
|
|
3267
3277
|
}), ja = /\s+/, Pa = (e, i) => {
|
|
3268
3278
|
const {
|
|
@@ -3278,13 +3288,13 @@ const Ye = "-", ya = (e) => {
|
|
|
3278
3288
|
modifiers: c,
|
|
3279
3289
|
hasImportantModifier: m,
|
|
3280
3290
|
baseClassName: h,
|
|
3281
|
-
maybePostfixModifierPosition:
|
|
3291
|
+
maybePostfixModifierPosition: x
|
|
3282
3292
|
} = n(t);
|
|
3283
3293
|
if (v) {
|
|
3284
3294
|
r = t + (r.length > 0 ? " " + r : r);
|
|
3285
3295
|
continue;
|
|
3286
3296
|
}
|
|
3287
|
-
let C = !!
|
|
3297
|
+
let C = !!x, S = a(C ? h.substring(0, x) : h);
|
|
3288
3298
|
if (!S) {
|
|
3289
3299
|
if (!C) {
|
|
3290
3300
|
r = t + (r.length > 0 ? " " + r : r);
|
|
@@ -3296,7 +3306,7 @@ const Ye = "-", ya = (e) => {
|
|
|
3296
3306
|
}
|
|
3297
3307
|
C = !1;
|
|
3298
3308
|
}
|
|
3299
|
-
const
|
|
3309
|
+
const $ = f(c).join(":"), L = m ? $ + Ge : $, z = L + S;
|
|
3300
3310
|
if (o.includes(z))
|
|
3301
3311
|
continue;
|
|
3302
3312
|
o.push(z);
|
|
@@ -3343,19 +3353,19 @@ function Ta(e, ...i) {
|
|
|
3343
3353
|
const M = (e) => {
|
|
3344
3354
|
const i = (n) => n[e] || [];
|
|
3345
3355
|
return i.isThemeGetter = !0, i;
|
|
3346
|
-
}, ln = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, un = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ra = /^\d+\/\d+$/, Ha = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wa = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, La = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ea = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Aa = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (e) => Ra.test(e),
|
|
3356
|
+
}, ln = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, un = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ra = /^\d+\/\d+$/, Ha = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wa = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, La = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ea = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Aa = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (e) => Ra.test(e), _ = (e) => !!e && !Number.isNaN(Number(e)), O = (e) => !!e && Number.isInteger(Number(e)), Re = (e) => e.endsWith("%") && _(e.slice(0, -1)), N = (e) => Ha.test(e), Da = () => !0, Ia = (e) => (
|
|
3347
3357
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
3348
3358
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
3349
3359
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
3350
3360
|
Wa.test(e) && !La.test(e)
|
|
3351
|
-
), cn = () => !1, Na = (e) => Ea.test(e), Ga = (e) => Aa.test(e), Oa = (e) => !k(e) && !g(e), Va = (e) => ae(e, kn, cn), k = (e) => ln.test(e), Y = (e) => ae(e, gn, Ia), He = (e) => ae(e, Za,
|
|
3361
|
+
), cn = () => !1, Na = (e) => Ea.test(e), Ga = (e) => Aa.test(e), Oa = (e) => !k(e) && !g(e), Va = (e) => ae(e, kn, cn), k = (e) => ln.test(e), Y = (e) => ae(e, gn, Ia), He = (e) => ae(e, Za, _), ji = (e) => ae(e, vn, cn), Ua = (e) => ae(e, mn, Ga), he = (e) => ae(e, hn, Na), g = (e) => un.test(e), re = (e) => fe(e, gn), Ka = (e) => fe(e, Qa), Pi = (e) => fe(e, vn), Ja = (e) => fe(e, kn), Ya = (e) => fe(e, mn), we = (e) => fe(e, hn, !0), ae = (e, i, n) => {
|
|
3352
3362
|
const a = ln.exec(e);
|
|
3353
3363
|
return a ? a[1] ? i(a[1]) : n(a[2]) : !1;
|
|
3354
3364
|
}, fe = (e, i, n = !1) => {
|
|
3355
3365
|
const a = un.exec(e);
|
|
3356
3366
|
return a ? a[1] ? i(a[1]) : n : !1;
|
|
3357
3367
|
}, vn = (e) => e === "position" || e === "percentage", mn = (e) => e === "image" || e === "url", kn = (e) => e === "length" || e === "size" || e === "bg-size", gn = (e) => e === "length", Za = (e) => e === "number", Qa = (e) => e === "family-name", hn = (e) => e === "shadow", Xa = () => {
|
|
3358
|
-
const e = M("color"), i = M("font"), n = M("text"), a = M("font-weight"), s = M("tracking"), f = M("leading"), o = M("breakpoint"), d = M("container"), r = M("spacing"), l = M("radius"), t = M("shadow"), v = M("inset-shadow"), c = M("text-shadow"), m = M("drop-shadow"), h = M("blur"),
|
|
3368
|
+
const e = M("color"), i = M("font"), n = M("text"), a = M("font-weight"), s = M("tracking"), f = M("leading"), o = M("breakpoint"), d = M("container"), r = M("spacing"), l = M("radius"), t = M("shadow"), v = M("inset-shadow"), c = M("text-shadow"), m = M("drop-shadow"), h = M("blur"), x = M("perspective"), C = M("aspect"), S = M("ease"), $ = M("animate"), L = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], z = () => [
|
|
3359
3369
|
"center",
|
|
3360
3370
|
"top",
|
|
3361
3371
|
"bottom",
|
|
@@ -3373,15 +3383,15 @@ const M = (e) => {
|
|
|
3373
3383
|
"bottom-left",
|
|
3374
3384
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
3375
3385
|
"left-bottom"
|
|
3376
|
-
], W = () => [...z(), g, k], K = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", "contain", "none"],
|
|
3386
|
+
], W = () => [...z(), g, k], K = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", "contain", "none"], y = () => [g, k, r], A = () => [Q, "full", "auto", ...y()], Ze = () => [O, "none", "subgrid", g, k], Qe = () => ["auto", {
|
|
3377
3387
|
span: ["full", O, g, k]
|
|
3378
|
-
}, O, g, k], le = () => [O, "auto", g, k], Xe = () => ["auto", "min", "max", "fr", g, k],
|
|
3388
|
+
}, O, g, k], le = () => [O, "auto", g, k], Xe = () => ["auto", "min", "max", "fr", g, k], $e = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...y()], J = () => [Q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], b = () => [e, g, k], ei = () => [...z(), Pi, ji, {
|
|
3379
3389
|
position: [g, k]
|
|
3380
3390
|
}], ii = () => ["no-repeat", {
|
|
3381
3391
|
repeat: ["", "x", "y", "space", "round"]
|
|
3382
3392
|
}], ni = () => ["auto", "cover", "contain", Ja, Va, {
|
|
3383
3393
|
size: [g, k]
|
|
3384
|
-
}],
|
|
3394
|
+
}], Be = () => [Re, re, Y], q = () => [
|
|
3385
3395
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3386
3396
|
"",
|
|
3387
3397
|
"none",
|
|
@@ -3389,14 +3399,14 @@ const M = (e) => {
|
|
|
3389
3399
|
l,
|
|
3390
3400
|
g,
|
|
3391
3401
|
k
|
|
3392
|
-
], T = () => ["",
|
|
3402
|
+
], T = () => ["", _, re, Y], ue = () => ["solid", "dashed", "dotted", "double"], ai = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], B = () => [_, Re, Pi, ji], fi = () => [
|
|
3393
3403
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3394
3404
|
"",
|
|
3395
3405
|
"none",
|
|
3396
3406
|
h,
|
|
3397
3407
|
g,
|
|
3398
3408
|
k
|
|
3399
|
-
], ce = () => ["none",
|
|
3409
|
+
], ce = () => ["none", _, g, k], ve = () => ["none", _, g, k], ze = () => [_, g, k], me = () => [Q, "full", ...y()];
|
|
3400
3410
|
return {
|
|
3401
3411
|
cacheSize: 500,
|
|
3402
3412
|
theme: {
|
|
@@ -3415,7 +3425,7 @@ const M = (e) => {
|
|
|
3415
3425
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
3416
3426
|
radius: [N],
|
|
3417
3427
|
shadow: [N],
|
|
3418
|
-
spacing: ["px",
|
|
3428
|
+
spacing: ["px", _],
|
|
3419
3429
|
text: [N],
|
|
3420
3430
|
"text-shadow": [N],
|
|
3421
3431
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -3442,7 +3452,7 @@ const M = (e) => {
|
|
|
3442
3452
|
* @see https://tailwindcss.com/docs/columns
|
|
3443
3453
|
*/
|
|
3444
3454
|
columns: [{
|
|
3445
|
-
columns: [
|
|
3455
|
+
columns: [_, k, g, d]
|
|
3446
3456
|
}],
|
|
3447
3457
|
/**
|
|
3448
3458
|
* Break After
|
|
@@ -3652,7 +3662,7 @@ const M = (e) => {
|
|
|
3652
3662
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
3653
3663
|
*/
|
|
3654
3664
|
basis: [{
|
|
3655
|
-
basis: [Q, "full", "auto", d, ...
|
|
3665
|
+
basis: [Q, "full", "auto", d, ...y()]
|
|
3656
3666
|
}],
|
|
3657
3667
|
/**
|
|
3658
3668
|
* Flex Direction
|
|
@@ -3673,21 +3683,21 @@ const M = (e) => {
|
|
|
3673
3683
|
* @see https://tailwindcss.com/docs/flex
|
|
3674
3684
|
*/
|
|
3675
3685
|
flex: [{
|
|
3676
|
-
flex: [
|
|
3686
|
+
flex: [_, Q, "auto", "initial", "none", k]
|
|
3677
3687
|
}],
|
|
3678
3688
|
/**
|
|
3679
3689
|
* Flex Grow
|
|
3680
3690
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
3681
3691
|
*/
|
|
3682
3692
|
grow: [{
|
|
3683
|
-
grow: ["",
|
|
3693
|
+
grow: ["", _, g, k]
|
|
3684
3694
|
}],
|
|
3685
3695
|
/**
|
|
3686
3696
|
* Flex Shrink
|
|
3687
3697
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
3688
3698
|
*/
|
|
3689
3699
|
shrink: [{
|
|
3690
|
-
shrink: ["",
|
|
3700
|
+
shrink: ["", _, g, k]
|
|
3691
3701
|
}],
|
|
3692
3702
|
/**
|
|
3693
3703
|
* Order
|
|
@@ -3778,28 +3788,28 @@ const M = (e) => {
|
|
|
3778
3788
|
* @see https://tailwindcss.com/docs/gap
|
|
3779
3789
|
*/
|
|
3780
3790
|
gap: [{
|
|
3781
|
-
gap:
|
|
3791
|
+
gap: y()
|
|
3782
3792
|
}],
|
|
3783
3793
|
/**
|
|
3784
3794
|
* Gap X
|
|
3785
3795
|
* @see https://tailwindcss.com/docs/gap
|
|
3786
3796
|
*/
|
|
3787
3797
|
"gap-x": [{
|
|
3788
|
-
"gap-x":
|
|
3798
|
+
"gap-x": y()
|
|
3789
3799
|
}],
|
|
3790
3800
|
/**
|
|
3791
3801
|
* Gap Y
|
|
3792
3802
|
* @see https://tailwindcss.com/docs/gap
|
|
3793
3803
|
*/
|
|
3794
3804
|
"gap-y": [{
|
|
3795
|
-
"gap-y":
|
|
3805
|
+
"gap-y": y()
|
|
3796
3806
|
}],
|
|
3797
3807
|
/**
|
|
3798
3808
|
* Justify Content
|
|
3799
3809
|
* @see https://tailwindcss.com/docs/justify-content
|
|
3800
3810
|
*/
|
|
3801
3811
|
"justify-content": [{
|
|
3802
|
-
justify: [
|
|
3812
|
+
justify: [...$e(), "normal"]
|
|
3803
3813
|
}],
|
|
3804
3814
|
/**
|
|
3805
3815
|
* Justify Items
|
|
@@ -3820,7 +3830,7 @@ const M = (e) => {
|
|
|
3820
3830
|
* @see https://tailwindcss.com/docs/align-content
|
|
3821
3831
|
*/
|
|
3822
3832
|
"align-content": [{
|
|
3823
|
-
content: ["normal",
|
|
3833
|
+
content: ["normal", ...$e()]
|
|
3824
3834
|
}],
|
|
3825
3835
|
/**
|
|
3826
3836
|
* Align Items
|
|
@@ -3845,7 +3855,7 @@ const M = (e) => {
|
|
|
3845
3855
|
* @see https://tailwindcss.com/docs/place-content
|
|
3846
3856
|
*/
|
|
3847
3857
|
"place-content": [{
|
|
3848
|
-
"place-content":
|
|
3858
|
+
"place-content": $e()
|
|
3849
3859
|
}],
|
|
3850
3860
|
/**
|
|
3851
3861
|
* Place Items
|
|
@@ -3867,63 +3877,63 @@ const M = (e) => {
|
|
|
3867
3877
|
* @see https://tailwindcss.com/docs/padding
|
|
3868
3878
|
*/
|
|
3869
3879
|
p: [{
|
|
3870
|
-
p:
|
|
3880
|
+
p: y()
|
|
3871
3881
|
}],
|
|
3872
3882
|
/**
|
|
3873
3883
|
* Padding X
|
|
3874
3884
|
* @see https://tailwindcss.com/docs/padding
|
|
3875
3885
|
*/
|
|
3876
3886
|
px: [{
|
|
3877
|
-
px:
|
|
3887
|
+
px: y()
|
|
3878
3888
|
}],
|
|
3879
3889
|
/**
|
|
3880
3890
|
* Padding Y
|
|
3881
3891
|
* @see https://tailwindcss.com/docs/padding
|
|
3882
3892
|
*/
|
|
3883
3893
|
py: [{
|
|
3884
|
-
py:
|
|
3894
|
+
py: y()
|
|
3885
3895
|
}],
|
|
3886
3896
|
/**
|
|
3887
3897
|
* Padding Start
|
|
3888
3898
|
* @see https://tailwindcss.com/docs/padding
|
|
3889
3899
|
*/
|
|
3890
3900
|
ps: [{
|
|
3891
|
-
ps:
|
|
3901
|
+
ps: y()
|
|
3892
3902
|
}],
|
|
3893
3903
|
/**
|
|
3894
3904
|
* Padding End
|
|
3895
3905
|
* @see https://tailwindcss.com/docs/padding
|
|
3896
3906
|
*/
|
|
3897
3907
|
pe: [{
|
|
3898
|
-
pe:
|
|
3908
|
+
pe: y()
|
|
3899
3909
|
}],
|
|
3900
3910
|
/**
|
|
3901
3911
|
* Padding Top
|
|
3902
3912
|
* @see https://tailwindcss.com/docs/padding
|
|
3903
3913
|
*/
|
|
3904
3914
|
pt: [{
|
|
3905
|
-
pt:
|
|
3915
|
+
pt: y()
|
|
3906
3916
|
}],
|
|
3907
3917
|
/**
|
|
3908
3918
|
* Padding Right
|
|
3909
3919
|
* @see https://tailwindcss.com/docs/padding
|
|
3910
3920
|
*/
|
|
3911
3921
|
pr: [{
|
|
3912
|
-
pr:
|
|
3922
|
+
pr: y()
|
|
3913
3923
|
}],
|
|
3914
3924
|
/**
|
|
3915
3925
|
* Padding Bottom
|
|
3916
3926
|
* @see https://tailwindcss.com/docs/padding
|
|
3917
3927
|
*/
|
|
3918
3928
|
pb: [{
|
|
3919
|
-
pb:
|
|
3929
|
+
pb: y()
|
|
3920
3930
|
}],
|
|
3921
3931
|
/**
|
|
3922
3932
|
* Padding Left
|
|
3923
3933
|
* @see https://tailwindcss.com/docs/padding
|
|
3924
3934
|
*/
|
|
3925
3935
|
pl: [{
|
|
3926
|
-
pl:
|
|
3936
|
+
pl: y()
|
|
3927
3937
|
}],
|
|
3928
3938
|
/**
|
|
3929
3939
|
* Margin
|
|
@@ -3993,7 +4003,7 @@ const M = (e) => {
|
|
|
3993
4003
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
3994
4004
|
*/
|
|
3995
4005
|
"space-x": [{
|
|
3996
|
-
"space-x":
|
|
4006
|
+
"space-x": y()
|
|
3997
4007
|
}],
|
|
3998
4008
|
/**
|
|
3999
4009
|
* Space Between X Reverse
|
|
@@ -4005,7 +4015,7 @@ const M = (e) => {
|
|
|
4005
4015
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
4006
4016
|
*/
|
|
4007
4017
|
"space-y": [{
|
|
4008
|
-
"space-y":
|
|
4018
|
+
"space-y": y()
|
|
4009
4019
|
}],
|
|
4010
4020
|
/**
|
|
4011
4021
|
* Space Between Y Reverse
|
|
@@ -4164,7 +4174,7 @@ const M = (e) => {
|
|
|
4164
4174
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
4165
4175
|
*/
|
|
4166
4176
|
"line-clamp": [{
|
|
4167
|
-
"line-clamp": [
|
|
4177
|
+
"line-clamp": [_, "none", g, He]
|
|
4168
4178
|
}],
|
|
4169
4179
|
/**
|
|
4170
4180
|
* Line Height
|
|
@@ -4174,7 +4184,7 @@ const M = (e) => {
|
|
|
4174
4184
|
leading: [
|
|
4175
4185
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
4176
4186
|
f,
|
|
4177
|
-
...
|
|
4187
|
+
...y()
|
|
4178
4188
|
]
|
|
4179
4189
|
}],
|
|
4180
4190
|
/**
|
|
@@ -4237,7 +4247,7 @@ const M = (e) => {
|
|
|
4237
4247
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
4238
4248
|
*/
|
|
4239
4249
|
"text-decoration-thickness": [{
|
|
4240
|
-
decoration: [
|
|
4250
|
+
decoration: [_, "from-font", "auto", g, Y]
|
|
4241
4251
|
}],
|
|
4242
4252
|
/**
|
|
4243
4253
|
* Text Decoration Color
|
|
@@ -4251,7 +4261,7 @@ const M = (e) => {
|
|
|
4251
4261
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
4252
4262
|
*/
|
|
4253
4263
|
"underline-offset": [{
|
|
4254
|
-
"underline-offset": [
|
|
4264
|
+
"underline-offset": [_, "auto", g, k]
|
|
4255
4265
|
}],
|
|
4256
4266
|
/**
|
|
4257
4267
|
* Text Transform
|
|
@@ -4275,7 +4285,7 @@ const M = (e) => {
|
|
|
4275
4285
|
* @see https://tailwindcss.com/docs/text-indent
|
|
4276
4286
|
*/
|
|
4277
4287
|
indent: [{
|
|
4278
|
-
indent:
|
|
4288
|
+
indent: y()
|
|
4279
4289
|
}],
|
|
4280
4290
|
/**
|
|
4281
4291
|
* Vertical Alignment
|
|
@@ -4389,21 +4399,21 @@ const M = (e) => {
|
|
|
4389
4399
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
4390
4400
|
*/
|
|
4391
4401
|
"gradient-from-pos": [{
|
|
4392
|
-
from:
|
|
4402
|
+
from: Be()
|
|
4393
4403
|
}],
|
|
4394
4404
|
/**
|
|
4395
4405
|
* Gradient Color Stops Via Position
|
|
4396
4406
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
4397
4407
|
*/
|
|
4398
4408
|
"gradient-via-pos": [{
|
|
4399
|
-
via:
|
|
4409
|
+
via: Be()
|
|
4400
4410
|
}],
|
|
4401
4411
|
/**
|
|
4402
4412
|
* Gradient Color Stops To Position
|
|
4403
4413
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
4404
4414
|
*/
|
|
4405
4415
|
"gradient-to-pos": [{
|
|
4406
|
-
to:
|
|
4416
|
+
to: Be()
|
|
4407
4417
|
}],
|
|
4408
4418
|
/**
|
|
4409
4419
|
* Gradient Color Stops From
|
|
@@ -4717,14 +4727,14 @@ const M = (e) => {
|
|
|
4717
4727
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
4718
4728
|
*/
|
|
4719
4729
|
"outline-offset": [{
|
|
4720
|
-
"outline-offset": [
|
|
4730
|
+
"outline-offset": [_, g, k]
|
|
4721
4731
|
}],
|
|
4722
4732
|
/**
|
|
4723
4733
|
* Outline Width
|
|
4724
4734
|
* @see https://tailwindcss.com/docs/outline-width
|
|
4725
4735
|
*/
|
|
4726
4736
|
"outline-w": [{
|
|
4727
|
-
outline: ["",
|
|
4737
|
+
outline: ["", _, re, Y]
|
|
4728
4738
|
}],
|
|
4729
4739
|
/**
|
|
4730
4740
|
* Outline Color
|
|
@@ -4799,7 +4809,7 @@ const M = (e) => {
|
|
|
4799
4809
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
4800
4810
|
*/
|
|
4801
4811
|
"ring-offset-w": [{
|
|
4802
|
-
"ring-offset": [
|
|
4812
|
+
"ring-offset": [_, Y]
|
|
4803
4813
|
}],
|
|
4804
4814
|
/**
|
|
4805
4815
|
* Ring Offset Color
|
|
@@ -4843,7 +4853,7 @@ const M = (e) => {
|
|
|
4843
4853
|
* @see https://tailwindcss.com/docs/opacity
|
|
4844
4854
|
*/
|
|
4845
4855
|
opacity: [{
|
|
4846
|
-
opacity: [
|
|
4856
|
+
opacity: [_, g, k]
|
|
4847
4857
|
}],
|
|
4848
4858
|
/**
|
|
4849
4859
|
* Mix Blend Mode
|
|
@@ -4878,13 +4888,13 @@ const M = (e) => {
|
|
|
4878
4888
|
* @see https://tailwindcss.com/docs/mask-image
|
|
4879
4889
|
*/
|
|
4880
4890
|
"mask-image-linear-pos": [{
|
|
4881
|
-
"mask-linear": [
|
|
4891
|
+
"mask-linear": [_]
|
|
4882
4892
|
}],
|
|
4883
4893
|
"mask-image-linear-from-pos": [{
|
|
4884
|
-
"mask-linear-from":
|
|
4894
|
+
"mask-linear-from": B()
|
|
4885
4895
|
}],
|
|
4886
4896
|
"mask-image-linear-to-pos": [{
|
|
4887
|
-
"mask-linear-to":
|
|
4897
|
+
"mask-linear-to": B()
|
|
4888
4898
|
}],
|
|
4889
4899
|
"mask-image-linear-from-color": [{
|
|
4890
4900
|
"mask-linear-from": b()
|
|
@@ -4893,10 +4903,10 @@ const M = (e) => {
|
|
|
4893
4903
|
"mask-linear-to": b()
|
|
4894
4904
|
}],
|
|
4895
4905
|
"mask-image-t-from-pos": [{
|
|
4896
|
-
"mask-t-from":
|
|
4906
|
+
"mask-t-from": B()
|
|
4897
4907
|
}],
|
|
4898
4908
|
"mask-image-t-to-pos": [{
|
|
4899
|
-
"mask-t-to":
|
|
4909
|
+
"mask-t-to": B()
|
|
4900
4910
|
}],
|
|
4901
4911
|
"mask-image-t-from-color": [{
|
|
4902
4912
|
"mask-t-from": b()
|
|
@@ -4905,10 +4915,10 @@ const M = (e) => {
|
|
|
4905
4915
|
"mask-t-to": b()
|
|
4906
4916
|
}],
|
|
4907
4917
|
"mask-image-r-from-pos": [{
|
|
4908
|
-
"mask-r-from":
|
|
4918
|
+
"mask-r-from": B()
|
|
4909
4919
|
}],
|
|
4910
4920
|
"mask-image-r-to-pos": [{
|
|
4911
|
-
"mask-r-to":
|
|
4921
|
+
"mask-r-to": B()
|
|
4912
4922
|
}],
|
|
4913
4923
|
"mask-image-r-from-color": [{
|
|
4914
4924
|
"mask-r-from": b()
|
|
@@ -4917,10 +4927,10 @@ const M = (e) => {
|
|
|
4917
4927
|
"mask-r-to": b()
|
|
4918
4928
|
}],
|
|
4919
4929
|
"mask-image-b-from-pos": [{
|
|
4920
|
-
"mask-b-from":
|
|
4930
|
+
"mask-b-from": B()
|
|
4921
4931
|
}],
|
|
4922
4932
|
"mask-image-b-to-pos": [{
|
|
4923
|
-
"mask-b-to":
|
|
4933
|
+
"mask-b-to": B()
|
|
4924
4934
|
}],
|
|
4925
4935
|
"mask-image-b-from-color": [{
|
|
4926
4936
|
"mask-b-from": b()
|
|
@@ -4929,10 +4939,10 @@ const M = (e) => {
|
|
|
4929
4939
|
"mask-b-to": b()
|
|
4930
4940
|
}],
|
|
4931
4941
|
"mask-image-l-from-pos": [{
|
|
4932
|
-
"mask-l-from":
|
|
4942
|
+
"mask-l-from": B()
|
|
4933
4943
|
}],
|
|
4934
4944
|
"mask-image-l-to-pos": [{
|
|
4935
|
-
"mask-l-to":
|
|
4945
|
+
"mask-l-to": B()
|
|
4936
4946
|
}],
|
|
4937
4947
|
"mask-image-l-from-color": [{
|
|
4938
4948
|
"mask-l-from": b()
|
|
@@ -4941,10 +4951,10 @@ const M = (e) => {
|
|
|
4941
4951
|
"mask-l-to": b()
|
|
4942
4952
|
}],
|
|
4943
4953
|
"mask-image-x-from-pos": [{
|
|
4944
|
-
"mask-x-from":
|
|
4954
|
+
"mask-x-from": B()
|
|
4945
4955
|
}],
|
|
4946
4956
|
"mask-image-x-to-pos": [{
|
|
4947
|
-
"mask-x-to":
|
|
4957
|
+
"mask-x-to": B()
|
|
4948
4958
|
}],
|
|
4949
4959
|
"mask-image-x-from-color": [{
|
|
4950
4960
|
"mask-x-from": b()
|
|
@@ -4953,10 +4963,10 @@ const M = (e) => {
|
|
|
4953
4963
|
"mask-x-to": b()
|
|
4954
4964
|
}],
|
|
4955
4965
|
"mask-image-y-from-pos": [{
|
|
4956
|
-
"mask-y-from":
|
|
4966
|
+
"mask-y-from": B()
|
|
4957
4967
|
}],
|
|
4958
4968
|
"mask-image-y-to-pos": [{
|
|
4959
|
-
"mask-y-to":
|
|
4969
|
+
"mask-y-to": B()
|
|
4960
4970
|
}],
|
|
4961
4971
|
"mask-image-y-from-color": [{
|
|
4962
4972
|
"mask-y-from": b()
|
|
@@ -4968,10 +4978,10 @@ const M = (e) => {
|
|
|
4968
4978
|
"mask-radial": [g, k]
|
|
4969
4979
|
}],
|
|
4970
4980
|
"mask-image-radial-from-pos": [{
|
|
4971
|
-
"mask-radial-from":
|
|
4981
|
+
"mask-radial-from": B()
|
|
4972
4982
|
}],
|
|
4973
4983
|
"mask-image-radial-to-pos": [{
|
|
4974
|
-
"mask-radial-to":
|
|
4984
|
+
"mask-radial-to": B()
|
|
4975
4985
|
}],
|
|
4976
4986
|
"mask-image-radial-from-color": [{
|
|
4977
4987
|
"mask-radial-from": b()
|
|
@@ -4992,13 +5002,13 @@ const M = (e) => {
|
|
|
4992
5002
|
"mask-radial-at": z()
|
|
4993
5003
|
}],
|
|
4994
5004
|
"mask-image-conic-pos": [{
|
|
4995
|
-
"mask-conic": [
|
|
5005
|
+
"mask-conic": [_]
|
|
4996
5006
|
}],
|
|
4997
5007
|
"mask-image-conic-from-pos": [{
|
|
4998
|
-
"mask-conic-from":
|
|
5008
|
+
"mask-conic-from": B()
|
|
4999
5009
|
}],
|
|
5000
5010
|
"mask-image-conic-to-pos": [{
|
|
5001
|
-
"mask-conic-to":
|
|
5011
|
+
"mask-conic-to": B()
|
|
5002
5012
|
}],
|
|
5003
5013
|
"mask-image-conic-from-color": [{
|
|
5004
5014
|
"mask-conic-from": b()
|
|
@@ -5083,14 +5093,14 @@ const M = (e) => {
|
|
|
5083
5093
|
* @see https://tailwindcss.com/docs/brightness
|
|
5084
5094
|
*/
|
|
5085
5095
|
brightness: [{
|
|
5086
|
-
brightness: [
|
|
5096
|
+
brightness: [_, g, k]
|
|
5087
5097
|
}],
|
|
5088
5098
|
/**
|
|
5089
5099
|
* Contrast
|
|
5090
5100
|
* @see https://tailwindcss.com/docs/contrast
|
|
5091
5101
|
*/
|
|
5092
5102
|
contrast: [{
|
|
5093
|
-
contrast: [
|
|
5103
|
+
contrast: [_, g, k]
|
|
5094
5104
|
}],
|
|
5095
5105
|
/**
|
|
5096
5106
|
* Drop Shadow
|
|
@@ -5118,35 +5128,35 @@ const M = (e) => {
|
|
|
5118
5128
|
* @see https://tailwindcss.com/docs/grayscale
|
|
5119
5129
|
*/
|
|
5120
5130
|
grayscale: [{
|
|
5121
|
-
grayscale: ["",
|
|
5131
|
+
grayscale: ["", _, g, k]
|
|
5122
5132
|
}],
|
|
5123
5133
|
/**
|
|
5124
5134
|
* Hue Rotate
|
|
5125
5135
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
5126
5136
|
*/
|
|
5127
5137
|
"hue-rotate": [{
|
|
5128
|
-
"hue-rotate": [
|
|
5138
|
+
"hue-rotate": [_, g, k]
|
|
5129
5139
|
}],
|
|
5130
5140
|
/**
|
|
5131
5141
|
* Invert
|
|
5132
5142
|
* @see https://tailwindcss.com/docs/invert
|
|
5133
5143
|
*/
|
|
5134
5144
|
invert: [{
|
|
5135
|
-
invert: ["",
|
|
5145
|
+
invert: ["", _, g, k]
|
|
5136
5146
|
}],
|
|
5137
5147
|
/**
|
|
5138
5148
|
* Saturate
|
|
5139
5149
|
* @see https://tailwindcss.com/docs/saturate
|
|
5140
5150
|
*/
|
|
5141
5151
|
saturate: [{
|
|
5142
|
-
saturate: [
|
|
5152
|
+
saturate: [_, g, k]
|
|
5143
5153
|
}],
|
|
5144
5154
|
/**
|
|
5145
5155
|
* Sepia
|
|
5146
5156
|
* @see https://tailwindcss.com/docs/sepia
|
|
5147
5157
|
*/
|
|
5148
5158
|
sepia: [{
|
|
5149
|
-
sepia: ["",
|
|
5159
|
+
sepia: ["", _, g, k]
|
|
5150
5160
|
}],
|
|
5151
5161
|
/**
|
|
5152
5162
|
* Backdrop Filter
|
|
@@ -5173,56 +5183,56 @@ const M = (e) => {
|
|
|
5173
5183
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
5174
5184
|
*/
|
|
5175
5185
|
"backdrop-brightness": [{
|
|
5176
|
-
"backdrop-brightness": [
|
|
5186
|
+
"backdrop-brightness": [_, g, k]
|
|
5177
5187
|
}],
|
|
5178
5188
|
/**
|
|
5179
5189
|
* Backdrop Contrast
|
|
5180
5190
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
5181
5191
|
*/
|
|
5182
5192
|
"backdrop-contrast": [{
|
|
5183
|
-
"backdrop-contrast": [
|
|
5193
|
+
"backdrop-contrast": [_, g, k]
|
|
5184
5194
|
}],
|
|
5185
5195
|
/**
|
|
5186
5196
|
* Backdrop Grayscale
|
|
5187
5197
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
5188
5198
|
*/
|
|
5189
5199
|
"backdrop-grayscale": [{
|
|
5190
|
-
"backdrop-grayscale": ["",
|
|
5200
|
+
"backdrop-grayscale": ["", _, g, k]
|
|
5191
5201
|
}],
|
|
5192
5202
|
/**
|
|
5193
5203
|
* Backdrop Hue Rotate
|
|
5194
5204
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
5195
5205
|
*/
|
|
5196
5206
|
"backdrop-hue-rotate": [{
|
|
5197
|
-
"backdrop-hue-rotate": [
|
|
5207
|
+
"backdrop-hue-rotate": [_, g, k]
|
|
5198
5208
|
}],
|
|
5199
5209
|
/**
|
|
5200
5210
|
* Backdrop Invert
|
|
5201
5211
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
5202
5212
|
*/
|
|
5203
5213
|
"backdrop-invert": [{
|
|
5204
|
-
"backdrop-invert": ["",
|
|
5214
|
+
"backdrop-invert": ["", _, g, k]
|
|
5205
5215
|
}],
|
|
5206
5216
|
/**
|
|
5207
5217
|
* Backdrop Opacity
|
|
5208
5218
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
5209
5219
|
*/
|
|
5210
5220
|
"backdrop-opacity": [{
|
|
5211
|
-
"backdrop-opacity": [
|
|
5221
|
+
"backdrop-opacity": [_, g, k]
|
|
5212
5222
|
}],
|
|
5213
5223
|
/**
|
|
5214
5224
|
* Backdrop Saturate
|
|
5215
5225
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
5216
5226
|
*/
|
|
5217
5227
|
"backdrop-saturate": [{
|
|
5218
|
-
"backdrop-saturate": [
|
|
5228
|
+
"backdrop-saturate": [_, g, k]
|
|
5219
5229
|
}],
|
|
5220
5230
|
/**
|
|
5221
5231
|
* Backdrop Sepia
|
|
5222
5232
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
5223
5233
|
*/
|
|
5224
5234
|
"backdrop-sepia": [{
|
|
5225
|
-
"backdrop-sepia": ["",
|
|
5235
|
+
"backdrop-sepia": ["", _, g, k]
|
|
5226
5236
|
}],
|
|
5227
5237
|
// --------------
|
|
5228
5238
|
// --- Tables ---
|
|
@@ -5239,21 +5249,21 @@ const M = (e) => {
|
|
|
5239
5249
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
5240
5250
|
*/
|
|
5241
5251
|
"border-spacing": [{
|
|
5242
|
-
"border-spacing":
|
|
5252
|
+
"border-spacing": y()
|
|
5243
5253
|
}],
|
|
5244
5254
|
/**
|
|
5245
5255
|
* Border Spacing X
|
|
5246
5256
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
5247
5257
|
*/
|
|
5248
5258
|
"border-spacing-x": [{
|
|
5249
|
-
"border-spacing-x":
|
|
5259
|
+
"border-spacing-x": y()
|
|
5250
5260
|
}],
|
|
5251
5261
|
/**
|
|
5252
5262
|
* Border Spacing Y
|
|
5253
5263
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
5254
5264
|
*/
|
|
5255
5265
|
"border-spacing-y": [{
|
|
5256
|
-
"border-spacing-y":
|
|
5266
|
+
"border-spacing-y": y()
|
|
5257
5267
|
}],
|
|
5258
5268
|
/**
|
|
5259
5269
|
* Table Layout
|
|
@@ -5291,7 +5301,7 @@ const M = (e) => {
|
|
|
5291
5301
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
5292
5302
|
*/
|
|
5293
5303
|
duration: [{
|
|
5294
|
-
duration: [
|
|
5304
|
+
duration: [_, "initial", g, k]
|
|
5295
5305
|
}],
|
|
5296
5306
|
/**
|
|
5297
5307
|
* Transition Timing Function
|
|
@@ -5305,14 +5315,14 @@ const M = (e) => {
|
|
|
5305
5315
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
5306
5316
|
*/
|
|
5307
5317
|
delay: [{
|
|
5308
|
-
delay: [
|
|
5318
|
+
delay: [_, g, k]
|
|
5309
5319
|
}],
|
|
5310
5320
|
/**
|
|
5311
5321
|
* Animation
|
|
5312
5322
|
* @see https://tailwindcss.com/docs/animation
|
|
5313
5323
|
*/
|
|
5314
5324
|
animate: [{
|
|
5315
|
-
animate: ["none",
|
|
5325
|
+
animate: ["none", $, g, k]
|
|
5316
5326
|
}],
|
|
5317
5327
|
// ------------------
|
|
5318
5328
|
// --- Transforms ---
|
|
@@ -5329,7 +5339,7 @@ const M = (e) => {
|
|
|
5329
5339
|
* @see https://tailwindcss.com/docs/perspective
|
|
5330
5340
|
*/
|
|
5331
5341
|
perspective: [{
|
|
5332
|
-
perspective: [
|
|
5342
|
+
perspective: [x, g, k]
|
|
5333
5343
|
}],
|
|
5334
5344
|
/**
|
|
5335
5345
|
* Perspective Origin
|
|
@@ -5545,126 +5555,126 @@ const M = (e) => {
|
|
|
5545
5555
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5546
5556
|
*/
|
|
5547
5557
|
"scroll-m": [{
|
|
5548
|
-
"scroll-m":
|
|
5558
|
+
"scroll-m": y()
|
|
5549
5559
|
}],
|
|
5550
5560
|
/**
|
|
5551
5561
|
* Scroll Margin X
|
|
5552
5562
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5553
5563
|
*/
|
|
5554
5564
|
"scroll-mx": [{
|
|
5555
|
-
"scroll-mx":
|
|
5565
|
+
"scroll-mx": y()
|
|
5556
5566
|
}],
|
|
5557
5567
|
/**
|
|
5558
5568
|
* Scroll Margin Y
|
|
5559
5569
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5560
5570
|
*/
|
|
5561
5571
|
"scroll-my": [{
|
|
5562
|
-
"scroll-my":
|
|
5572
|
+
"scroll-my": y()
|
|
5563
5573
|
}],
|
|
5564
5574
|
/**
|
|
5565
5575
|
* Scroll Margin Start
|
|
5566
5576
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5567
5577
|
*/
|
|
5568
5578
|
"scroll-ms": [{
|
|
5569
|
-
"scroll-ms":
|
|
5579
|
+
"scroll-ms": y()
|
|
5570
5580
|
}],
|
|
5571
5581
|
/**
|
|
5572
5582
|
* Scroll Margin End
|
|
5573
5583
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5574
5584
|
*/
|
|
5575
5585
|
"scroll-me": [{
|
|
5576
|
-
"scroll-me":
|
|
5586
|
+
"scroll-me": y()
|
|
5577
5587
|
}],
|
|
5578
5588
|
/**
|
|
5579
5589
|
* Scroll Margin Top
|
|
5580
5590
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5581
5591
|
*/
|
|
5582
5592
|
"scroll-mt": [{
|
|
5583
|
-
"scroll-mt":
|
|
5593
|
+
"scroll-mt": y()
|
|
5584
5594
|
}],
|
|
5585
5595
|
/**
|
|
5586
5596
|
* Scroll Margin Right
|
|
5587
5597
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5588
5598
|
*/
|
|
5589
5599
|
"scroll-mr": [{
|
|
5590
|
-
"scroll-mr":
|
|
5600
|
+
"scroll-mr": y()
|
|
5591
5601
|
}],
|
|
5592
5602
|
/**
|
|
5593
5603
|
* Scroll Margin Bottom
|
|
5594
5604
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5595
5605
|
*/
|
|
5596
5606
|
"scroll-mb": [{
|
|
5597
|
-
"scroll-mb":
|
|
5607
|
+
"scroll-mb": y()
|
|
5598
5608
|
}],
|
|
5599
5609
|
/**
|
|
5600
5610
|
* Scroll Margin Left
|
|
5601
5611
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
5602
5612
|
*/
|
|
5603
5613
|
"scroll-ml": [{
|
|
5604
|
-
"scroll-ml":
|
|
5614
|
+
"scroll-ml": y()
|
|
5605
5615
|
}],
|
|
5606
5616
|
/**
|
|
5607
5617
|
* Scroll Padding
|
|
5608
5618
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5609
5619
|
*/
|
|
5610
5620
|
"scroll-p": [{
|
|
5611
|
-
"scroll-p":
|
|
5621
|
+
"scroll-p": y()
|
|
5612
5622
|
}],
|
|
5613
5623
|
/**
|
|
5614
5624
|
* Scroll Padding X
|
|
5615
5625
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5616
5626
|
*/
|
|
5617
5627
|
"scroll-px": [{
|
|
5618
|
-
"scroll-px":
|
|
5628
|
+
"scroll-px": y()
|
|
5619
5629
|
}],
|
|
5620
5630
|
/**
|
|
5621
5631
|
* Scroll Padding Y
|
|
5622
5632
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5623
5633
|
*/
|
|
5624
5634
|
"scroll-py": [{
|
|
5625
|
-
"scroll-py":
|
|
5635
|
+
"scroll-py": y()
|
|
5626
5636
|
}],
|
|
5627
5637
|
/**
|
|
5628
5638
|
* Scroll Padding Start
|
|
5629
5639
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5630
5640
|
*/
|
|
5631
5641
|
"scroll-ps": [{
|
|
5632
|
-
"scroll-ps":
|
|
5642
|
+
"scroll-ps": y()
|
|
5633
5643
|
}],
|
|
5634
5644
|
/**
|
|
5635
5645
|
* Scroll Padding End
|
|
5636
5646
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5637
5647
|
*/
|
|
5638
5648
|
"scroll-pe": [{
|
|
5639
|
-
"scroll-pe":
|
|
5649
|
+
"scroll-pe": y()
|
|
5640
5650
|
}],
|
|
5641
5651
|
/**
|
|
5642
5652
|
* Scroll Padding Top
|
|
5643
5653
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5644
5654
|
*/
|
|
5645
5655
|
"scroll-pt": [{
|
|
5646
|
-
"scroll-pt":
|
|
5656
|
+
"scroll-pt": y()
|
|
5647
5657
|
}],
|
|
5648
5658
|
/**
|
|
5649
5659
|
* Scroll Padding Right
|
|
5650
5660
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5651
5661
|
*/
|
|
5652
5662
|
"scroll-pr": [{
|
|
5653
|
-
"scroll-pr":
|
|
5663
|
+
"scroll-pr": y()
|
|
5654
5664
|
}],
|
|
5655
5665
|
/**
|
|
5656
5666
|
* Scroll Padding Bottom
|
|
5657
5667
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5658
5668
|
*/
|
|
5659
5669
|
"scroll-pb": [{
|
|
5660
|
-
"scroll-pb":
|
|
5670
|
+
"scroll-pb": y()
|
|
5661
5671
|
}],
|
|
5662
5672
|
/**
|
|
5663
5673
|
* Scroll Padding Left
|
|
5664
5674
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
5665
5675
|
*/
|
|
5666
5676
|
"scroll-pl": [{
|
|
5667
|
-
"scroll-pl":
|
|
5677
|
+
"scroll-pl": y()
|
|
5668
5678
|
}],
|
|
5669
5679
|
/**
|
|
5670
5680
|
* Scroll Snap Align
|
|
@@ -5749,7 +5759,7 @@ const M = (e) => {
|
|
|
5749
5759
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
5750
5760
|
*/
|
|
5751
5761
|
"stroke-w": [{
|
|
5752
|
-
stroke: [
|
|
5762
|
+
stroke: [_, re, Y, He]
|
|
5753
5763
|
}],
|
|
5754
5764
|
/**
|
|
5755
5765
|
* Stroke
|
|
@@ -5828,7 +5838,7 @@ const M = (e) => {
|
|
|
5828
5838
|
function se(...e) {
|
|
5829
5839
|
return ef(pa(e));
|
|
5830
5840
|
}
|
|
5831
|
-
const wn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */
|
|
5841
|
+
const wn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p(
|
|
5832
5842
|
"div",
|
|
5833
5843
|
{
|
|
5834
5844
|
ref: n,
|
|
@@ -5840,9 +5850,9 @@ const wn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x(
|
|
|
5840
5850
|
}
|
|
5841
5851
|
));
|
|
5842
5852
|
wn.displayName = "Card";
|
|
5843
|
-
const bn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */
|
|
5853
|
+
const bn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p("div", { ref: n, className: se("flex", e), ...i }));
|
|
5844
5854
|
bn.displayName = "CardHeader";
|
|
5845
|
-
const pn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */
|
|
5855
|
+
const pn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p(
|
|
5846
5856
|
"div",
|
|
5847
5857
|
{
|
|
5848
5858
|
ref: n,
|
|
@@ -5851,7 +5861,7 @@ const pn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x(
|
|
|
5851
5861
|
}
|
|
5852
5862
|
));
|
|
5853
5863
|
pn.displayName = "CardTitle";
|
|
5854
|
-
const yn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */
|
|
5864
|
+
const yn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p(
|
|
5855
5865
|
"div",
|
|
5856
5866
|
{
|
|
5857
5867
|
ref: n,
|
|
@@ -5860,9 +5870,9 @@ const yn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ x(
|
|
|
5860
5870
|
}
|
|
5861
5871
|
));
|
|
5862
5872
|
yn.displayName = "CardDescription";
|
|
5863
|
-
const _n = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */
|
|
5873
|
+
const _n = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p("div", { ref: n, className: se("pt-0", e), ...i }));
|
|
5864
5874
|
_n.displayName = "CardContent";
|
|
5865
|
-
const xn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */
|
|
5875
|
+
const xn = ne.forwardRef(({ className: e, ...i }, n) => /* @__PURE__ */ p(
|
|
5866
5876
|
"div",
|
|
5867
5877
|
{
|
|
5868
5878
|
ref: n,
|
|
@@ -5901,7 +5911,7 @@ const nf = ({
|
|
|
5901
5911
|
children: [
|
|
5902
5912
|
(e || i || f && d === "top-right") && /* @__PURE__ */ R(bn, { className: "mb-4 flex items-start justify-between", children: [
|
|
5903
5913
|
/* @__PURE__ */ R("div", { className: "flex items-center gap-3", children: [
|
|
5904
|
-
a && /* @__PURE__ */
|
|
5914
|
+
a && /* @__PURE__ */ p(
|
|
5905
5915
|
Je,
|
|
5906
5916
|
{
|
|
5907
5917
|
color: r,
|
|
@@ -5911,11 +5921,11 @@ const nf = ({
|
|
|
5911
5921
|
}
|
|
5912
5922
|
),
|
|
5913
5923
|
/* @__PURE__ */ R("div", { children: [
|
|
5914
|
-
e && /* @__PURE__ */
|
|
5915
|
-
i && /* @__PURE__ */
|
|
5924
|
+
e && /* @__PURE__ */ p(pn, { className: "text-main text-xl font-gabaritoBold font-medium leading-5 sm:text-lg md:text-xl", children: e }),
|
|
5925
|
+
i && /* @__PURE__ */ p(yn, { className: "text-sm sm:text-base text-gray-600", children: i })
|
|
5916
5926
|
] })
|
|
5917
5927
|
] }),
|
|
5918
|
-
f && d === "top-right" && /* @__PURE__ */
|
|
5928
|
+
f && d === "top-right" && /* @__PURE__ */ p(
|
|
5919
5929
|
oi,
|
|
5920
5930
|
{
|
|
5921
5931
|
label: o,
|
|
@@ -5926,8 +5936,8 @@ const nf = ({
|
|
|
5926
5936
|
}
|
|
5927
5937
|
)
|
|
5928
5938
|
] }),
|
|
5929
|
-
n && /* @__PURE__ */
|
|
5930
|
-
f && d === "bottom-right" && /* @__PURE__ */
|
|
5939
|
+
n && /* @__PURE__ */ p(_n, { className: "flex flex-col gap-4 font-regular", children: n }),
|
|
5940
|
+
f && d === "bottom-right" && /* @__PURE__ */ p(xn, { className: "flex justify-end pt-2", children: /* @__PURE__ */ p(
|
|
5931
5941
|
oi,
|
|
5932
5942
|
{
|
|
5933
5943
|
label: o,
|
|
@@ -5946,32 +5956,56 @@ const nf = ({
|
|
|
5946
5956
|
label: n = "",
|
|
5947
5957
|
percentage: a = 0,
|
|
5948
5958
|
showCard: s = !1,
|
|
5949
|
-
showPercentage: f = !1
|
|
5959
|
+
showPercentage: f = !1,
|
|
5960
|
+
loading: o = !1
|
|
5950
5961
|
}) => {
|
|
5951
|
-
const
|
|
5952
|
-
/* @__PURE__ */
|
|
5953
|
-
|
|
5962
|
+
const d = Ve[e], r = /* @__PURE__ */ R("div", { className: "flex w-full items-center pt-2", children: [
|
|
5963
|
+
/* @__PURE__ */ p(
|
|
5964
|
+
Je,
|
|
5965
|
+
{
|
|
5966
|
+
color: e,
|
|
5967
|
+
iconSrc: i,
|
|
5968
|
+
loading: o,
|
|
5969
|
+
onClick: () => {
|
|
5970
|
+
}
|
|
5971
|
+
}
|
|
5972
|
+
),
|
|
5954
5973
|
/* @__PURE__ */ R("div", { className: "flex flex-col ml-3 flex-1", children: [
|
|
5955
5974
|
/* @__PURE__ */ R("div", { className: "flex justify-between mb-1 items-end", children: [
|
|
5956
|
-
n && /* @__PURE__ */
|
|
5975
|
+
n && (o ? /* @__PURE__ */ p(
|
|
5976
|
+
"p",
|
|
5977
|
+
{
|
|
5978
|
+
className: "h-4 w-16 font-gabaritoMedium my-1 rounded-sm animate-pulse",
|
|
5979
|
+
style: {
|
|
5980
|
+
backgroundColor: "#F1F1F1",
|
|
5981
|
+
border: "1px solid #e9e9e9"
|
|
5982
|
+
}
|
|
5983
|
+
}
|
|
5984
|
+
) : /* @__PURE__ */ p("p", { className: "font-medium text-sec text-md", children: n })),
|
|
5957
5985
|
f && /* @__PURE__ */ R("span", { className: "text-base text-gray-500", children: [
|
|
5958
5986
|
a,
|
|
5959
5987
|
"%"
|
|
5960
5988
|
] })
|
|
5961
5989
|
] }),
|
|
5962
|
-
/* @__PURE__ */
|
|
5990
|
+
o ? /* @__PURE__ */ p(
|
|
5991
|
+
"div",
|
|
5992
|
+
{
|
|
5993
|
+
className: "relative w-full h-4 rounded-2xl overflow-hidden animate-pulse",
|
|
5994
|
+
style: { backgroundColor: "#F1F1F1" }
|
|
5995
|
+
}
|
|
5996
|
+
) : /* @__PURE__ */ p(
|
|
5963
5997
|
"div",
|
|
5964
5998
|
{
|
|
5965
5999
|
className: "relative w-full h-4 rounded-2xl overflow-hidden",
|
|
5966
6000
|
style: { backgroundColor: Mn.Gray.value },
|
|
5967
|
-
children: /* @__PURE__ */
|
|
6001
|
+
children: /* @__PURE__ */ p(
|
|
5968
6002
|
"div",
|
|
5969
6003
|
{
|
|
5970
6004
|
className: "absolute top-0 left-0 h-full rounded-2xl transition-all duration-300",
|
|
5971
6005
|
style: {
|
|
5972
6006
|
width: `${a}%`,
|
|
5973
6007
|
background: "linear-gradient(to right, #FFC801, #FFC801)",
|
|
5974
|
-
boxShadow: `0 1px 2px ${
|
|
6008
|
+
boxShadow: `0 1px 2px ${d.dark}`
|
|
5975
6009
|
}
|
|
5976
6010
|
}
|
|
5977
6011
|
)
|
|
@@ -5979,7 +6013,7 @@ const nf = ({
|
|
|
5979
6013
|
)
|
|
5980
6014
|
] })
|
|
5981
6015
|
] });
|
|
5982
|
-
return s ? /* @__PURE__ */
|
|
6016
|
+
return s ? /* @__PURE__ */ p(nf, { children: r }) : r;
|
|
5983
6017
|
}, rf = ({
|
|
5984
6018
|
color: e = "lightBlue"
|
|
5985
6019
|
}) => {
|
|
@@ -5989,7 +6023,7 @@ const nf = ({
|
|
|
5989
6023
|
cyan: "bg-cyan-500"
|
|
5990
6024
|
};
|
|
5991
6025
|
return /* @__PURE__ */ R("div", { className: "inline-block relative w-12 h-6", children: [
|
|
5992
|
-
/* @__PURE__ */
|
|
6026
|
+
/* @__PURE__ */ p(
|
|
5993
6027
|
"input",
|
|
5994
6028
|
{
|
|
5995
6029
|
checked: i,
|
|
@@ -6001,12 +6035,12 @@ const nf = ({
|
|
|
6001
6035
|
type: "checkbox"
|
|
6002
6036
|
}
|
|
6003
6037
|
),
|
|
6004
|
-
/* @__PURE__ */
|
|
6038
|
+
/* @__PURE__ */ p(
|
|
6005
6039
|
"label",
|
|
6006
6040
|
{
|
|
6007
6041
|
className: "block overflow-hidden h-6 rounded-full cursor-pointer bg-gray-300",
|
|
6008
6042
|
htmlFor: `react-switch-${e}`,
|
|
6009
|
-
children: /* @__PURE__ */
|
|
6043
|
+
children: /* @__PURE__ */ p(
|
|
6010
6044
|
"span",
|
|
6011
6045
|
{
|
|
6012
6046
|
className: `block h-6 w-6 rounded-full shadow transform transition-transform duration-200 ${i ? `translate-x-full ${a[e]}` : "bg-white"}`
|
|
@@ -6015,19 +6049,35 @@ const nf = ({
|
|
|
6015
6049
|
}
|
|
6016
6050
|
)
|
|
6017
6051
|
] });
|
|
6018
|
-
}, af = ({
|
|
6019
|
-
|
|
6020
|
-
|
|
6052
|
+
}, af = ({
|
|
6053
|
+
color: e = "amber",
|
|
6054
|
+
completed: i,
|
|
6055
|
+
size: n = 20,
|
|
6056
|
+
loading: a = !1
|
|
6057
|
+
}) => {
|
|
6058
|
+
const s = Ve[e];
|
|
6059
|
+
return a ? /* @__PURE__ */ p(
|
|
6060
|
+
"div",
|
|
6061
|
+
{
|
|
6062
|
+
className: "rounded-full animate-pulse",
|
|
6063
|
+
style: {
|
|
6064
|
+
width: n,
|
|
6065
|
+
height: n,
|
|
6066
|
+
backgroundColor: "#F1F1F1",
|
|
6067
|
+
border: "1px solid #e9e9e9"
|
|
6068
|
+
}
|
|
6069
|
+
}
|
|
6070
|
+
) : i ? /* @__PURE__ */ p(
|
|
6021
6071
|
"div",
|
|
6022
6072
|
{
|
|
6023
6073
|
className: "flex items-center justify-center border-[1px] rounded-full",
|
|
6024
6074
|
style: {
|
|
6025
6075
|
width: n,
|
|
6026
6076
|
height: n,
|
|
6027
|
-
backgroundColor:
|
|
6028
|
-
borderColor:
|
|
6077
|
+
backgroundColor: s?.value,
|
|
6078
|
+
borderColor: s?.dark
|
|
6029
6079
|
},
|
|
6030
|
-
children: /* @__PURE__ */
|
|
6080
|
+
children: /* @__PURE__ */ p(
|
|
6031
6081
|
"img",
|
|
6032
6082
|
{
|
|
6033
6083
|
src: "src/assets/icons/check.svg",
|
|
@@ -6038,7 +6088,7 @@ const nf = ({
|
|
|
6038
6088
|
}
|
|
6039
6089
|
)
|
|
6040
6090
|
}
|
|
6041
|
-
) : /* @__PURE__ */
|
|
6091
|
+
) : /* @__PURE__ */ p(
|
|
6042
6092
|
"div",
|
|
6043
6093
|
{
|
|
6044
6094
|
className: "border-[1px] rounded-full",
|
|
@@ -6054,13 +6104,38 @@ const nf = ({
|
|
|
6054
6104
|
label: e = "",
|
|
6055
6105
|
color: i = "amber",
|
|
6056
6106
|
records: n = {},
|
|
6057
|
-
emojiId: a = "pancakes"
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6107
|
+
emojiId: a = "pancakes",
|
|
6108
|
+
loading: s = !1
|
|
6109
|
+
}) => /* @__PURE__ */ R("div", { className: "flex w-full rounded-lg pt-2", children: [
|
|
6110
|
+
/* @__PURE__ */ p(
|
|
6111
|
+
Je,
|
|
6112
|
+
{
|
|
6113
|
+
emojiId: a,
|
|
6114
|
+
color: i,
|
|
6115
|
+
loading: s,
|
|
6116
|
+
onClick: () => {
|
|
6117
|
+
}
|
|
6118
|
+
}
|
|
6119
|
+
),
|
|
6120
|
+
/* @__PURE__ */ R("div", { className: "w-3/4 h-12 rounded-lg ml-2 flex flex-col justify-between", children: [
|
|
6121
|
+
s ? /* @__PURE__ */ p(
|
|
6122
|
+
"p",
|
|
6123
|
+
{
|
|
6124
|
+
className: "h-4 w-16 mt-1 rounded-sm",
|
|
6125
|
+
style: {
|
|
6126
|
+
backgroundColor: "#F1F1F1",
|
|
6127
|
+
border: "1px solid #e9e9e9"
|
|
6128
|
+
}
|
|
6129
|
+
}
|
|
6130
|
+
) : /* @__PURE__ */ p("p", { className: "font-gabaritoMedium text-sec mb-1", children: e }),
|
|
6131
|
+
/* @__PURE__ */ p("div", { className: "flex space-x-2", children: Object.entries(n).map(([f, o]) => /* @__PURE__ */ p(
|
|
6132
|
+
af,
|
|
6133
|
+
{
|
|
6134
|
+
color: i,
|
|
6135
|
+
completed: o,
|
|
6136
|
+
loading: s
|
|
6137
|
+
}
|
|
6138
|
+
)) })
|
|
6064
6139
|
] })
|
|
6065
6140
|
] });
|
|
6066
6141
|
export {
|