next-ui-lib 0.1.34 → 0.1.35
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/card/card.d.ts +2 -2
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/components/card/card.stories.d.ts +2 -2
- package/dist/components/graphBar/graphBar.d.ts +7 -7
- package/dist/components/graphBar/graphBar.d.ts.map +1 -1
- package/dist/components/graphBar/graphBar.stories.d.ts.map +1 -1
- package/dist/components/leaderboard/leaderboard.d.ts +1 -1
- package/dist/components/leaderboard/leaderboard.d.ts.map +1 -1
- package/dist/components/leaderboard/leaderboard.stories.d.ts.map +1 -1
- package/dist/components/progressBar/progressBar.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/ui.cjs.js +3 -3
- package/dist/ui.es.js +122 -124
- package/dist/ui.umd.js +3 -3
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -143,19 +143,19 @@ 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,
|
|
147
|
-
for (n.__k = [], t = 0; t < i.length; t++) if ((
|
|
148
|
-
children:
|
|
149
|
-
}, null, null, null) :
|
|
150
|
-
if (
|
|
146
|
+
var t, v, c, g, h, x, C, S = a && a.__k || Wi, $ = S.length;
|
|
147
|
+
for (n.__k = [], t = 0; t < i.length; t++) if ((g = n.__k[t] = (g = i[t]) == null || typeof g == "boolean" ? null : typeof g == "string" || typeof g == "number" || typeof g == "bigint" ? be(null, g, null, null, g) : Array.isArray(g) ? be(ee, {
|
|
148
|
+
children: g
|
|
149
|
+
}, null, null, null) : g.__b > 0 ? be(g.type, g.props, g.key, null, g.__v) : g) != null) {
|
|
150
|
+
if (g.__ = n, g.__b = n.__b + 1, (c = S[t]) === null || c && g.key == c.key && g.type === c.type) S[t] = void 0;
|
|
151
151
|
else for (v = 0; v < $; v++) {
|
|
152
|
-
if ((c = S[v]) &&
|
|
152
|
+
if ((c = S[v]) && g.key == c.key && g.type === c.type) {
|
|
153
153
|
S[v] = void 0;
|
|
154
154
|
break;
|
|
155
155
|
}
|
|
156
156
|
c = null;
|
|
157
157
|
}
|
|
158
|
-
Ve(e,
|
|
158
|
+
Ve(e, g, c = c || ye, s, f, o, d, r, l), h = g.__e, (v = g.ref) && c.ref != v && (C || (C = []), c.ref && C.push(c.ref, null, g), C.push(v, g.__c || h, g)), h != null ? (x == null && (x = h), typeof g.type == "function" && g.__k === c.__k ? g.__d = r = Di(g, r, e) : r = Ni(e, g, c, S, h, r), typeof n.type == "function" && (n.__d = r)) : r && c.__e == r && r.parentNode != e && (r = ie(c));
|
|
159
159
|
}
|
|
160
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]);
|
|
@@ -213,14 +213,14 @@ function li(e) {
|
|
|
213
213
|
this.l[e.type + !0](b.event ? b.event(e) : e);
|
|
214
214
|
}
|
|
215
215
|
function Ve(e, i, n, a, s, f, o, d, r) {
|
|
216
|
-
var l, t, v, c,
|
|
216
|
+
var l, t, v, c, g, 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 = b.__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], $ = 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 = Pn), 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,
|
|
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 = Pn), 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, g = t.state, v) z.getDerivedStateFromProps == null && t.componentWillMount != null && t.componentWillMount(), t.componentDidMount != null && t.__h.push(t.componentDidMount);
|
|
224
224
|
else {
|
|
225
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) {
|
|
@@ -229,10 +229,10 @@ function Ve(e, i, n, a, s, f, o, d, r) {
|
|
|
229
229
|
break e;
|
|
230
230
|
}
|
|
231
231
|
t.componentWillUpdate != null && t.componentWillUpdate(C, t.__s, $), t.componentDidUpdate != null && t.__h.push(function() {
|
|
232
|
-
t.componentDidUpdate(c,
|
|
232
|
+
t.componentDidUpdate(c, g, h);
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
t.context = $, t.props = C, t.state = t.__s, (l = b.__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,
|
|
235
|
+
t.context = $, t.props = C, t.state = t.__s, (l = b.__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, g)), L = l != null && l.type === ee && l.key == null ? l.props.children : l, Ai(e, Array.isArray(L) ? L : [
|
|
236
236
|
L
|
|
237
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 = jn(n.__e, i, n, a, s, f, o, r);
|
|
@@ -253,18 +253,18 @@ function Ii(e, i) {
|
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
255
|
function jn(e, i, n, a, s, f, o, d) {
|
|
256
|
-
var r, l, t, v = n.props, c = i.props,
|
|
257
|
-
if (
|
|
258
|
-
for (; h < f.length; h++) if ((r = f[h]) && "setAttribute" in r == !!
|
|
256
|
+
var r, l, t, v = n.props, c = i.props, g = i.type, h = 0;
|
|
257
|
+
if (g === "svg" && (s = !0), f != null) {
|
|
258
|
+
for (; h < f.length; h++) if ((r = f[h]) && "setAttribute" in r == !!g && (g ? r.localName === g : r.nodeType === 3)) {
|
|
259
259
|
e = r, f[h] = null;
|
|
260
260
|
break;
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
if (e == null) {
|
|
264
|
-
if (
|
|
265
|
-
e = s ? document.createElementNS("http://www.w3.org/2000/svg",
|
|
264
|
+
if (g === null) return document.createTextNode(c);
|
|
265
|
+
e = s ? document.createElementNS("http://www.w3.org/2000/svg", g) : document.createElement(g, c.is && c), f = null, d = !1;
|
|
266
266
|
}
|
|
267
|
-
if (
|
|
267
|
+
if (g === null) v === c || d && e.data === c || (e.data = c);
|
|
268
268
|
else {
|
|
269
269
|
if (f = f && Me.call(e.childNodes), l = (v = n.props || ye).dangerouslySetInnerHTML, t = c.dangerouslySetInnerHTML, !d) {
|
|
270
270
|
if (f != null) for (v = {}, h = 0; h < e.attributes.length; h++) v[e.attributes[h].name] = e.attributes[h].value;
|
|
@@ -273,8 +273,8 @@ function jn(e, i, n, a, s, f, o, d) {
|
|
|
273
273
|
if (zn(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
|
-
], i, n, a, s &&
|
|
277
|
-
d || ("value" in c && (h = c.value) !== void 0 && (h !== v.value || h !== e.value ||
|
|
276
|
+
], i, n, a, s && g !== "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]);
|
|
277
|
+
d || ("value" in c && (h = c.value) !== void 0 && (h !== v.value || h !== e.value || g === "progress" && !h) && Ce(e, "value", h, v.value, !1), "checked" in c && (h = c.checked) !== void 0 && h !== e.checked && Ce(e, "checked", h, v.checked, !1));
|
|
278
278
|
}
|
|
279
279
|
return e;
|
|
280
280
|
}
|
|
@@ -738,19 +738,19 @@ async function Nn(e) {
|
|
|
738
738
|
}
|
|
739
739
|
let t = r.emojis.length;
|
|
740
740
|
for (; t--; ) {
|
|
741
|
-
const v = r.emojis[t], c = v.id ? v : F.emojis[v],
|
|
741
|
+
const v = r.emojis[t], c = v.id ? v : F.emojis[v], g = () => {
|
|
742
742
|
r.emojis.splice(t, 1);
|
|
743
743
|
};
|
|
744
744
|
if (!c || e.exceptEmojis && e.exceptEmojis.includes(c.id)) {
|
|
745
|
-
|
|
745
|
+
g();
|
|
746
746
|
continue;
|
|
747
747
|
}
|
|
748
748
|
if (s && c.version > s) {
|
|
749
|
-
|
|
749
|
+
g();
|
|
750
750
|
continue;
|
|
751
751
|
}
|
|
752
752
|
if (f && r.id == "flags" && !Un.includes(c.id)) {
|
|
753
|
-
|
|
753
|
+
g();
|
|
754
754
|
continue;
|
|
755
755
|
}
|
|
756
756
|
if (!c.search) {
|
|
@@ -1284,10 +1284,10 @@ b.unmount = function(e) {
|
|
|
1284
1284
|
if (!--a.__u) {
|
|
1285
1285
|
if (a.state.__e) {
|
|
1286
1286
|
var l = a.state.__e;
|
|
1287
|
-
a.__v.__k[0] = (function v(c,
|
|
1287
|
+
a.__v.__k[0] = (function v(c, g, h) {
|
|
1288
1288
|
return c && (c.__v = null, c.__k = c.__k && c.__k.map(function(x) {
|
|
1289
|
-
return v(x,
|
|
1290
|
-
}), c.__c && c.__c.__P ===
|
|
1289
|
+
return v(x, g, h);
|
|
1290
|
+
}), c.__c && c.__c.__P === g && (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
|
}
|
|
1293
1293
|
var t;
|
|
@@ -1993,7 +1993,7 @@ class ma extends E {
|
|
|
1993
1993
|
children: o.map((d, r) => {
|
|
1994
1994
|
const l = d.index - d.index % ge.rowsPerRender, t = this.state.visibleRows[l], v = "current" in d ? d : void 0;
|
|
1995
1995
|
if (!t && !v) return null;
|
|
1996
|
-
const c = r * a,
|
|
1996
|
+
const c = r * a, g = c + a, h = s.emojis.slice(c, g);
|
|
1997
1997
|
return h.length < a && h.push(...new Array(a - h.length)), /* @__PURE__ */ u("div", {
|
|
1998
1998
|
"data-index": d.index,
|
|
1999
1999
|
ref: v,
|
|
@@ -3232,12 +3232,12 @@ const Je = "-", _a = (e) => {
|
|
|
3232
3232
|
}
|
|
3233
3233
|
x === "[" ? o++ : x === "]" ? o-- : x === "(" ? d++ : x === ")" && d--;
|
|
3234
3234
|
}
|
|
3235
|
-
const t = f.length === 0 ? s : s.substring(r), v = Ba(t), c = v !== t,
|
|
3235
|
+
const t = f.length === 0 ? s : s.substring(r), v = Ba(t), c = v !== t, g = l && l > r ? l - r : void 0;
|
|
3236
3236
|
return {
|
|
3237
3237
|
modifiers: f,
|
|
3238
3238
|
hasImportantModifier: c,
|
|
3239
3239
|
baseClassName: v,
|
|
3240
|
-
maybePostfixModifierPosition:
|
|
3240
|
+
maybePostfixModifierPosition: g
|
|
3241
3241
|
};
|
|
3242
3242
|
};
|
|
3243
3243
|
if (i) {
|
|
@@ -3286,7 +3286,7 @@ const Je = "-", _a = (e) => {
|
|
|
3286
3286
|
const t = d[l], {
|
|
3287
3287
|
isExternal: v,
|
|
3288
3288
|
modifiers: c,
|
|
3289
|
-
hasImportantModifier:
|
|
3289
|
+
hasImportantModifier: g,
|
|
3290
3290
|
baseClassName: h,
|
|
3291
3291
|
maybePostfixModifierPosition: x
|
|
3292
3292
|
} = n(t);
|
|
@@ -3306,7 +3306,7 @@ const Je = "-", _a = (e) => {
|
|
|
3306
3306
|
}
|
|
3307
3307
|
C = !1;
|
|
3308
3308
|
}
|
|
3309
|
-
const $ = f(c).join(":"), L =
|
|
3309
|
+
const $ = f(c).join(":"), L = g ? $ + Ge : $, z = L + S;
|
|
3310
3310
|
if (o.includes(z))
|
|
3311
3311
|
continue;
|
|
3312
3312
|
o.push(z);
|
|
@@ -3358,14 +3358,14 @@ const M = (e) => {
|
|
|
3358
3358
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
3359
3359
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
3360
3360
|
La.test(e) && !Ea.test(e)
|
|
3361
|
-
), cn = () => !1, Ga = (e) => Aa.test(e), Oa = (e) => Da.test(e), Va = (e) => !
|
|
3361
|
+
), cn = () => !1, Ga = (e) => Aa.test(e), Oa = (e) => Da.test(e), Va = (e) => !m(e) && !k(e), Ua = (e) => ae(e, kn, cn), m = (e) => ln.test(e), Y = (e) => ae(e, gn, Ia), He = (e) => ae(e, Xa, _), zi = (e) => ae(e, vn, cn), Ka = (e) => ae(e, mn, Oa), he = (e) => ae(e, hn, Ga), k = (e) => un.test(e), re = (e) => fe(e, gn), Ja = (e) => fe(e, Qa), ji = (e) => fe(e, vn), Ya = (e) => fe(e, kn), Za = (e) => fe(e, mn), we = (e) => fe(e, hn, !0), ae = (e, i, n) => {
|
|
3362
3362
|
const a = ln.exec(e);
|
|
3363
3363
|
return a ? a[1] ? i(a[1]) : n(a[2]) : !1;
|
|
3364
3364
|
}, fe = (e, i, n = !1) => {
|
|
3365
3365
|
const a = un.exec(e);
|
|
3366
3366
|
return a ? a[1] ? i(a[1]) : n : !1;
|
|
3367
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", Xa = (e) => e === "number", Qa = (e) => e === "family-name", hn = (e) => e === "shadow", ef = () => {
|
|
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"),
|
|
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"), g = 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 = () => [
|
|
3369
3369
|
"center",
|
|
3370
3370
|
"top",
|
|
3371
3371
|
"bottom",
|
|
@@ -3383,30 +3383,30 @@ const M = (e) => {
|
|
|
3383
3383
|
"bottom-left",
|
|
3384
3384
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
3385
3385
|
"left-bottom"
|
|
3386
|
-
], W = () => [...z(),
|
|
3387
|
-
span: ["full", O,
|
|
3388
|
-
}, O,
|
|
3389
|
-
position: [
|
|
3386
|
+
], W = () => [...z(), k, m], K = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", "contain", "none"], y = () => [k, m, r], A = () => [X, "full", "auto", ...y()], Ye = () => [O, "none", "subgrid", k, m], Ze = () => ["auto", {
|
|
3387
|
+
span: ["full", O, k, m]
|
|
3388
|
+
}, O, k, m], le = () => [O, "auto", k, m], Xe = () => ["auto", "min", "max", "fr", k, m], $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 = () => [X, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], p = () => [e, k, m], Qe = () => [...z(), ji, zi, {
|
|
3389
|
+
position: [k, m]
|
|
3390
3390
|
}], ei = () => ["no-repeat", {
|
|
3391
3391
|
repeat: ["", "x", "y", "space", "round"]
|
|
3392
3392
|
}], ii = () => ["auto", "cover", "contain", Ya, Ua, {
|
|
3393
|
-
size: [
|
|
3393
|
+
size: [k, m]
|
|
3394
3394
|
}], Be = () => [Re, re, Y], T = () => [
|
|
3395
3395
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3396
3396
|
"",
|
|
3397
3397
|
"none",
|
|
3398
3398
|
"full",
|
|
3399
3399
|
l,
|
|
3400
|
-
|
|
3401
|
-
|
|
3400
|
+
k,
|
|
3401
|
+
m
|
|
3402
3402
|
], R = () => ["", _, re, Y], ue = () => ["solid", "dashed", "dotted", "double"], ni = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], B = () => [_, Re, ji, zi], ai = () => [
|
|
3403
3403
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3404
3404
|
"",
|
|
3405
3405
|
"none",
|
|
3406
3406
|
h,
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
], ce = () => ["none", _,
|
|
3407
|
+
k,
|
|
3408
|
+
m
|
|
3409
|
+
], ce = () => ["none", _, k, m], ve = () => ["none", _, k, m], ze = () => [_, k, m], me = () => [X, "full", ...y()];
|
|
3410
3410
|
return {
|
|
3411
3411
|
cacheSize: 500,
|
|
3412
3412
|
theme: {
|
|
@@ -3439,7 +3439,7 @@ const M = (e) => {
|
|
|
3439
3439
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
3440
3440
|
*/
|
|
3441
3441
|
aspect: [{
|
|
3442
|
-
aspect: ["auto", "square", X,
|
|
3442
|
+
aspect: ["auto", "square", X, m, k, C]
|
|
3443
3443
|
}],
|
|
3444
3444
|
/**
|
|
3445
3445
|
* Container
|
|
@@ -3452,7 +3452,7 @@ const M = (e) => {
|
|
|
3452
3452
|
* @see https://tailwindcss.com/docs/columns
|
|
3453
3453
|
*/
|
|
3454
3454
|
columns: [{
|
|
3455
|
-
columns: [_,
|
|
3455
|
+
columns: [_, m, k, d]
|
|
3456
3456
|
}],
|
|
3457
3457
|
/**
|
|
3458
3458
|
* Break After
|
|
@@ -3652,7 +3652,7 @@ const M = (e) => {
|
|
|
3652
3652
|
* @see https://tailwindcss.com/docs/z-index
|
|
3653
3653
|
*/
|
|
3654
3654
|
z: [{
|
|
3655
|
-
z: [O, "auto",
|
|
3655
|
+
z: [O, "auto", k, m]
|
|
3656
3656
|
}],
|
|
3657
3657
|
// ------------------------
|
|
3658
3658
|
// --- Flexbox and Grid ---
|
|
@@ -3683,28 +3683,28 @@ const M = (e) => {
|
|
|
3683
3683
|
* @see https://tailwindcss.com/docs/flex
|
|
3684
3684
|
*/
|
|
3685
3685
|
flex: [{
|
|
3686
|
-
flex: [_, X, "auto", "initial", "none",
|
|
3686
|
+
flex: [_, X, "auto", "initial", "none", m]
|
|
3687
3687
|
}],
|
|
3688
3688
|
/**
|
|
3689
3689
|
* Flex Grow
|
|
3690
3690
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
3691
3691
|
*/
|
|
3692
3692
|
grow: [{
|
|
3693
|
-
grow: ["", _,
|
|
3693
|
+
grow: ["", _, k, m]
|
|
3694
3694
|
}],
|
|
3695
3695
|
/**
|
|
3696
3696
|
* Flex Shrink
|
|
3697
3697
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
3698
3698
|
*/
|
|
3699
3699
|
shrink: [{
|
|
3700
|
-
shrink: ["", _,
|
|
3700
|
+
shrink: ["", _, k, m]
|
|
3701
3701
|
}],
|
|
3702
3702
|
/**
|
|
3703
3703
|
* Order
|
|
3704
3704
|
* @see https://tailwindcss.com/docs/order
|
|
3705
3705
|
*/
|
|
3706
3706
|
order: [{
|
|
3707
|
-
order: [O, "first", "last", "none",
|
|
3707
|
+
order: [O, "first", "last", "none", k, m]
|
|
3708
3708
|
}],
|
|
3709
3709
|
/**
|
|
3710
3710
|
* Grid Template Columns
|
|
@@ -4116,21 +4116,21 @@ const M = (e) => {
|
|
|
4116
4116
|
* @see https://tailwindcss.com/docs/font-weight
|
|
4117
4117
|
*/
|
|
4118
4118
|
"font-weight": [{
|
|
4119
|
-
font: [a,
|
|
4119
|
+
font: [a, k, He]
|
|
4120
4120
|
}],
|
|
4121
4121
|
/**
|
|
4122
4122
|
* Font Stretch
|
|
4123
4123
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
4124
4124
|
*/
|
|
4125
4125
|
"font-stretch": [{
|
|
4126
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Re,
|
|
4126
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Re, m]
|
|
4127
4127
|
}],
|
|
4128
4128
|
/**
|
|
4129
4129
|
* Font Family
|
|
4130
4130
|
* @see https://tailwindcss.com/docs/font-family
|
|
4131
4131
|
*/
|
|
4132
4132
|
"font-family": [{
|
|
4133
|
-
font: [Ja,
|
|
4133
|
+
font: [Ja, m, i]
|
|
4134
4134
|
}],
|
|
4135
4135
|
/**
|
|
4136
4136
|
* Font Variant Numeric
|
|
@@ -4167,14 +4167,14 @@ const M = (e) => {
|
|
|
4167
4167
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
4168
4168
|
*/
|
|
4169
4169
|
tracking: [{
|
|
4170
|
-
tracking: [s,
|
|
4170
|
+
tracking: [s, k, m]
|
|
4171
4171
|
}],
|
|
4172
4172
|
/**
|
|
4173
4173
|
* Line Clamp
|
|
4174
4174
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
4175
4175
|
*/
|
|
4176
4176
|
"line-clamp": [{
|
|
4177
|
-
"line-clamp": [_, "none",
|
|
4177
|
+
"line-clamp": [_, "none", k, He]
|
|
4178
4178
|
}],
|
|
4179
4179
|
/**
|
|
4180
4180
|
* Line Height
|
|
@@ -4192,7 +4192,7 @@ const M = (e) => {
|
|
|
4192
4192
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
4193
4193
|
*/
|
|
4194
4194
|
"list-image": [{
|
|
4195
|
-
"list-image": ["none",
|
|
4195
|
+
"list-image": ["none", k, m]
|
|
4196
4196
|
}],
|
|
4197
4197
|
/**
|
|
4198
4198
|
* List Style Position
|
|
@@ -4206,7 +4206,7 @@ const M = (e) => {
|
|
|
4206
4206
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
4207
4207
|
*/
|
|
4208
4208
|
"list-style-type": [{
|
|
4209
|
-
list: ["disc", "decimal", "none",
|
|
4209
|
+
list: ["disc", "decimal", "none", k, m]
|
|
4210
4210
|
}],
|
|
4211
4211
|
/**
|
|
4212
4212
|
* Text Alignment
|
|
@@ -4247,7 +4247,7 @@ const M = (e) => {
|
|
|
4247
4247
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
4248
4248
|
*/
|
|
4249
4249
|
"text-decoration-thickness": [{
|
|
4250
|
-
decoration: [_, "from-font", "auto",
|
|
4250
|
+
decoration: [_, "from-font", "auto", k, Y]
|
|
4251
4251
|
}],
|
|
4252
4252
|
/**
|
|
4253
4253
|
* Text Decoration Color
|
|
@@ -4261,7 +4261,7 @@ const M = (e) => {
|
|
|
4261
4261
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
4262
4262
|
*/
|
|
4263
4263
|
"underline-offset": [{
|
|
4264
|
-
"underline-offset": [_, "auto",
|
|
4264
|
+
"underline-offset": [_, "auto", k, m]
|
|
4265
4265
|
}],
|
|
4266
4266
|
/**
|
|
4267
4267
|
* Text Transform
|
|
@@ -4292,7 +4292,7 @@ const M = (e) => {
|
|
|
4292
4292
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
4293
4293
|
*/
|
|
4294
4294
|
"vertical-align": [{
|
|
4295
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
4295
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", k, m]
|
|
4296
4296
|
}],
|
|
4297
4297
|
/**
|
|
4298
4298
|
* Whitespace
|
|
@@ -4327,7 +4327,7 @@ const M = (e) => {
|
|
|
4327
4327
|
* @see https://tailwindcss.com/docs/content
|
|
4328
4328
|
*/
|
|
4329
4329
|
content: [{
|
|
4330
|
-
content: ["none",
|
|
4330
|
+
content: ["none", k, m]
|
|
4331
4331
|
}],
|
|
4332
4332
|
// -------------------
|
|
4333
4333
|
// --- Backgrounds ---
|
|
@@ -4382,9 +4382,9 @@ const M = (e) => {
|
|
|
4382
4382
|
bg: ["none", {
|
|
4383
4383
|
linear: [{
|
|
4384
4384
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
4385
|
-
}, O,
|
|
4386
|
-
radial: ["",
|
|
4387
|
-
conic: [O,
|
|
4385
|
+
}, O, k, m],
|
|
4386
|
+
radial: ["", k, m],
|
|
4387
|
+
conic: [O, k, m]
|
|
4388
4388
|
}, Za, Ka]
|
|
4389
4389
|
}],
|
|
4390
4390
|
/**
|
|
@@ -4727,7 +4727,7 @@ const M = (e) => {
|
|
|
4727
4727
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
4728
4728
|
*/
|
|
4729
4729
|
"outline-offset": [{
|
|
4730
|
-
"outline-offset": [_,
|
|
4730
|
+
"outline-offset": [_, k, m]
|
|
4731
4731
|
}],
|
|
4732
4732
|
/**
|
|
4733
4733
|
* Outline Width
|
|
@@ -4853,7 +4853,7 @@ const M = (e) => {
|
|
|
4853
4853
|
* @see https://tailwindcss.com/docs/opacity
|
|
4854
4854
|
*/
|
|
4855
4855
|
opacity: [{
|
|
4856
|
-
opacity: [_,
|
|
4856
|
+
opacity: [_, k, m]
|
|
4857
4857
|
}],
|
|
4858
4858
|
/**
|
|
4859
4859
|
* Mix Blend Mode
|
|
@@ -4975,7 +4975,7 @@ const M = (e) => {
|
|
|
4975
4975
|
"mask-y-to": p()
|
|
4976
4976
|
}],
|
|
4977
4977
|
"mask-image-radial": [{
|
|
4978
|
-
"mask-radial": [
|
|
4978
|
+
"mask-radial": [k, m]
|
|
4979
4979
|
}],
|
|
4980
4980
|
"mask-image-radial-from-pos": [{
|
|
4981
4981
|
"mask-radial-from": B()
|
|
@@ -5063,7 +5063,7 @@ const M = (e) => {
|
|
|
5063
5063
|
* @see https://tailwindcss.com/docs/mask-image
|
|
5064
5064
|
*/
|
|
5065
5065
|
"mask-image": [{
|
|
5066
|
-
mask: ["none",
|
|
5066
|
+
mask: ["none", k, m]
|
|
5067
5067
|
}],
|
|
5068
5068
|
// ---------------
|
|
5069
5069
|
// --- Filters ---
|
|
@@ -5077,8 +5077,8 @@ const M = (e) => {
|
|
|
5077
5077
|
// Deprecated since Tailwind CSS v3.0.0
|
|
5078
5078
|
"",
|
|
5079
5079
|
"none",
|
|
5080
|
-
|
|
5081
|
-
|
|
5080
|
+
k,
|
|
5081
|
+
m
|
|
5082
5082
|
]
|
|
5083
5083
|
}],
|
|
5084
5084
|
/**
|
|
@@ -5093,14 +5093,14 @@ const M = (e) => {
|
|
|
5093
5093
|
* @see https://tailwindcss.com/docs/brightness
|
|
5094
5094
|
*/
|
|
5095
5095
|
brightness: [{
|
|
5096
|
-
brightness: [_,
|
|
5096
|
+
brightness: [_, k, m]
|
|
5097
5097
|
}],
|
|
5098
5098
|
/**
|
|
5099
5099
|
* Contrast
|
|
5100
5100
|
* @see https://tailwindcss.com/docs/contrast
|
|
5101
5101
|
*/
|
|
5102
5102
|
contrast: [{
|
|
5103
|
-
contrast: [_,
|
|
5103
|
+
contrast: [_, k, m]
|
|
5104
5104
|
}],
|
|
5105
5105
|
/**
|
|
5106
5106
|
* Drop Shadow
|
|
@@ -5111,7 +5111,7 @@ const M = (e) => {
|
|
|
5111
5111
|
// Deprecated since Tailwind CSS v4.0.0
|
|
5112
5112
|
"",
|
|
5113
5113
|
"none",
|
|
5114
|
-
|
|
5114
|
+
g,
|
|
5115
5115
|
we,
|
|
5116
5116
|
he
|
|
5117
5117
|
]
|
|
@@ -5128,35 +5128,35 @@ const M = (e) => {
|
|
|
5128
5128
|
* @see https://tailwindcss.com/docs/grayscale
|
|
5129
5129
|
*/
|
|
5130
5130
|
grayscale: [{
|
|
5131
|
-
grayscale: ["", _,
|
|
5131
|
+
grayscale: ["", _, k, m]
|
|
5132
5132
|
}],
|
|
5133
5133
|
/**
|
|
5134
5134
|
* Hue Rotate
|
|
5135
5135
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
5136
5136
|
*/
|
|
5137
5137
|
"hue-rotate": [{
|
|
5138
|
-
"hue-rotate": [_,
|
|
5138
|
+
"hue-rotate": [_, k, m]
|
|
5139
5139
|
}],
|
|
5140
5140
|
/**
|
|
5141
5141
|
* Invert
|
|
5142
5142
|
* @see https://tailwindcss.com/docs/invert
|
|
5143
5143
|
*/
|
|
5144
5144
|
invert: [{
|
|
5145
|
-
invert: ["", _,
|
|
5145
|
+
invert: ["", _, k, m]
|
|
5146
5146
|
}],
|
|
5147
5147
|
/**
|
|
5148
5148
|
* Saturate
|
|
5149
5149
|
* @see https://tailwindcss.com/docs/saturate
|
|
5150
5150
|
*/
|
|
5151
5151
|
saturate: [{
|
|
5152
|
-
saturate: [_,
|
|
5152
|
+
saturate: [_, k, m]
|
|
5153
5153
|
}],
|
|
5154
5154
|
/**
|
|
5155
5155
|
* Sepia
|
|
5156
5156
|
* @see https://tailwindcss.com/docs/sepia
|
|
5157
5157
|
*/
|
|
5158
5158
|
sepia: [{
|
|
5159
|
-
sepia: ["", _,
|
|
5159
|
+
sepia: ["", _, k, m]
|
|
5160
5160
|
}],
|
|
5161
5161
|
/**
|
|
5162
5162
|
* Backdrop Filter
|
|
@@ -5167,8 +5167,8 @@ const M = (e) => {
|
|
|
5167
5167
|
// Deprecated since Tailwind CSS v3.0.0
|
|
5168
5168
|
"",
|
|
5169
5169
|
"none",
|
|
5170
|
-
|
|
5171
|
-
|
|
5170
|
+
k,
|
|
5171
|
+
m
|
|
5172
5172
|
]
|
|
5173
5173
|
}],
|
|
5174
5174
|
/**
|
|
@@ -5183,56 +5183,56 @@ const M = (e) => {
|
|
|
5183
5183
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
5184
5184
|
*/
|
|
5185
5185
|
"backdrop-brightness": [{
|
|
5186
|
-
"backdrop-brightness": [_,
|
|
5186
|
+
"backdrop-brightness": [_, k, m]
|
|
5187
5187
|
}],
|
|
5188
5188
|
/**
|
|
5189
5189
|
* Backdrop Contrast
|
|
5190
5190
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
5191
5191
|
*/
|
|
5192
5192
|
"backdrop-contrast": [{
|
|
5193
|
-
"backdrop-contrast": [_,
|
|
5193
|
+
"backdrop-contrast": [_, k, m]
|
|
5194
5194
|
}],
|
|
5195
5195
|
/**
|
|
5196
5196
|
* Backdrop Grayscale
|
|
5197
5197
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
5198
5198
|
*/
|
|
5199
5199
|
"backdrop-grayscale": [{
|
|
5200
|
-
"backdrop-grayscale": ["", _,
|
|
5200
|
+
"backdrop-grayscale": ["", _, k, m]
|
|
5201
5201
|
}],
|
|
5202
5202
|
/**
|
|
5203
5203
|
* Backdrop Hue Rotate
|
|
5204
5204
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
5205
5205
|
*/
|
|
5206
5206
|
"backdrop-hue-rotate": [{
|
|
5207
|
-
"backdrop-hue-rotate": [_,
|
|
5207
|
+
"backdrop-hue-rotate": [_, k, m]
|
|
5208
5208
|
}],
|
|
5209
5209
|
/**
|
|
5210
5210
|
* Backdrop Invert
|
|
5211
5211
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
5212
5212
|
*/
|
|
5213
5213
|
"backdrop-invert": [{
|
|
5214
|
-
"backdrop-invert": ["", _,
|
|
5214
|
+
"backdrop-invert": ["", _, k, m]
|
|
5215
5215
|
}],
|
|
5216
5216
|
/**
|
|
5217
5217
|
* Backdrop Opacity
|
|
5218
5218
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
5219
5219
|
*/
|
|
5220
5220
|
"backdrop-opacity": [{
|
|
5221
|
-
"backdrop-opacity": [_,
|
|
5221
|
+
"backdrop-opacity": [_, k, m]
|
|
5222
5222
|
}],
|
|
5223
5223
|
/**
|
|
5224
5224
|
* Backdrop Saturate
|
|
5225
5225
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
5226
5226
|
*/
|
|
5227
5227
|
"backdrop-saturate": [{
|
|
5228
|
-
"backdrop-saturate": [_,
|
|
5228
|
+
"backdrop-saturate": [_, k, m]
|
|
5229
5229
|
}],
|
|
5230
5230
|
/**
|
|
5231
5231
|
* Backdrop Sepia
|
|
5232
5232
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
5233
5233
|
*/
|
|
5234
5234
|
"backdrop-sepia": [{
|
|
5235
|
-
"backdrop-sepia": ["", _,
|
|
5235
|
+
"backdrop-sepia": ["", _, k, m]
|
|
5236
5236
|
}],
|
|
5237
5237
|
// --------------
|
|
5238
5238
|
// --- Tables ---
|
|
@@ -5287,7 +5287,7 @@ const M = (e) => {
|
|
|
5287
5287
|
* @see https://tailwindcss.com/docs/transition-property
|
|
5288
5288
|
*/
|
|
5289
5289
|
transition: [{
|
|
5290
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
5290
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", k, m]
|
|
5291
5291
|
}],
|
|
5292
5292
|
/**
|
|
5293
5293
|
* Transition Behavior
|
|
@@ -5301,28 +5301,28 @@ const M = (e) => {
|
|
|
5301
5301
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
5302
5302
|
*/
|
|
5303
5303
|
duration: [{
|
|
5304
|
-
duration: [_, "initial",
|
|
5304
|
+
duration: [_, "initial", k, m]
|
|
5305
5305
|
}],
|
|
5306
5306
|
/**
|
|
5307
5307
|
* Transition Timing Function
|
|
5308
5308
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
5309
5309
|
*/
|
|
5310
5310
|
ease: [{
|
|
5311
|
-
ease: ["linear", "initial", S,
|
|
5311
|
+
ease: ["linear", "initial", S, k, m]
|
|
5312
5312
|
}],
|
|
5313
5313
|
/**
|
|
5314
5314
|
* Transition Delay
|
|
5315
5315
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
5316
5316
|
*/
|
|
5317
5317
|
delay: [{
|
|
5318
|
-
delay: [_,
|
|
5318
|
+
delay: [_, k, m]
|
|
5319
5319
|
}],
|
|
5320
5320
|
/**
|
|
5321
5321
|
* Animation
|
|
5322
5322
|
* @see https://tailwindcss.com/docs/animation
|
|
5323
5323
|
*/
|
|
5324
5324
|
animate: [{
|
|
5325
|
-
animate: ["none", $,
|
|
5325
|
+
animate: ["none", $, k, m]
|
|
5326
5326
|
}],
|
|
5327
5327
|
// ------------------
|
|
5328
5328
|
// --- Transforms ---
|
|
@@ -5339,7 +5339,7 @@ const M = (e) => {
|
|
|
5339
5339
|
* @see https://tailwindcss.com/docs/perspective
|
|
5340
5340
|
*/
|
|
5341
5341
|
perspective: [{
|
|
5342
|
-
perspective: [x,
|
|
5342
|
+
perspective: [x, k, m]
|
|
5343
5343
|
}],
|
|
5344
5344
|
/**
|
|
5345
5345
|
* Perspective Origin
|
|
@@ -5435,7 +5435,7 @@ const M = (e) => {
|
|
|
5435
5435
|
* @see https://tailwindcss.com/docs/transform
|
|
5436
5436
|
*/
|
|
5437
5437
|
transform: [{
|
|
5438
|
-
transform: [
|
|
5438
|
+
transform: [k, m, "", "none", "gpu", "cpu"]
|
|
5439
5439
|
}],
|
|
5440
5440
|
/**
|
|
5441
5441
|
* Transform Origin
|
|
@@ -5520,7 +5520,7 @@ const M = (e) => {
|
|
|
5520
5520
|
* @see https://tailwindcss.com/docs/cursor
|
|
5521
5521
|
*/
|
|
5522
5522
|
cursor: [{
|
|
5523
|
-
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",
|
|
5523
|
+
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", k, m]
|
|
5524
5524
|
}],
|
|
5525
5525
|
/**
|
|
5526
5526
|
* Field Sizing
|
|
@@ -5742,7 +5742,7 @@ const M = (e) => {
|
|
|
5742
5742
|
* @see https://tailwindcss.com/docs/will-change
|
|
5743
5743
|
*/
|
|
5744
5744
|
"will-change": [{
|
|
5745
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
5745
|
+
"will-change": ["auto", "scroll", "contents", "transform", k, m]
|
|
5746
5746
|
}],
|
|
5747
5747
|
// -----------
|
|
5748
5748
|
// --- SVG ---
|
|
@@ -5887,16 +5887,15 @@ const Cn = ({
|
|
|
5887
5887
|
children: n,
|
|
5888
5888
|
iconSrc: a,
|
|
5889
5889
|
customClass: s = "",
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
onButtonClick: c
|
|
5890
|
+
buttonLabel: f = null,
|
|
5891
|
+
buttonPosition: o = "top-right",
|
|
5892
|
+
bgIconColor: d = "amber",
|
|
5893
|
+
buttonColor: r = "lightBlue",
|
|
5894
|
+
buttonVariant: l = "primary",
|
|
5895
|
+
buttonSize: t = "medium",
|
|
5896
|
+
onButtonClick: v
|
|
5898
5897
|
}) => {
|
|
5899
|
-
const
|
|
5898
|
+
const c = v ?? (() => {
|
|
5900
5899
|
});
|
|
5901
5900
|
return /* @__PURE__ */ P(
|
|
5902
5901
|
wn,
|
|
@@ -5909,12 +5908,12 @@ const Cn = ({
|
|
|
5909
5908
|
${s}
|
|
5910
5909
|
`,
|
|
5911
5910
|
children: [
|
|
5912
|
-
(e || i || f &&
|
|
5911
|
+
(e || i || f && o === "top-right") && /* @__PURE__ */ P(bn, { className: "mb-4 flex items-start justify-between", children: [
|
|
5913
5912
|
/* @__PURE__ */ P("div", { className: "flex items-center gap-3", children: [
|
|
5914
5913
|
a && /* @__PURE__ */ w(
|
|
5915
5914
|
Ke,
|
|
5916
5915
|
{
|
|
5917
|
-
color:
|
|
5916
|
+
color: d,
|
|
5918
5917
|
iconSrc: a,
|
|
5919
5918
|
onClick: () => {
|
|
5920
5919
|
}
|
|
@@ -5925,26 +5924,26 @@ const Cn = ({
|
|
|
5925
5924
|
i && /* @__PURE__ */ w(yn, { className: "text-sm sm:text-base text-gray-600", children: i })
|
|
5926
5925
|
] })
|
|
5927
5926
|
] }),
|
|
5928
|
-
f &&
|
|
5927
|
+
f && o === "top-right" && /* @__PURE__ */ w(
|
|
5929
5928
|
si,
|
|
5930
5929
|
{
|
|
5931
|
-
label:
|
|
5932
|
-
size:
|
|
5933
|
-
onClick:
|
|
5934
|
-
color:
|
|
5935
|
-
variant:
|
|
5930
|
+
label: f,
|
|
5931
|
+
size: t,
|
|
5932
|
+
onClick: c,
|
|
5933
|
+
color: r,
|
|
5934
|
+
variant: l
|
|
5936
5935
|
}
|
|
5937
5936
|
)
|
|
5938
5937
|
] }),
|
|
5939
5938
|
n && /* @__PURE__ */ w(_n, { className: "flex flex-col gap-4 font-regular h-full", children: n }),
|
|
5940
|
-
f &&
|
|
5939
|
+
f && o === "bottom-right" && /* @__PURE__ */ w(xn, { className: "flex justify-end pt-2", children: /* @__PURE__ */ w(
|
|
5941
5940
|
si,
|
|
5942
5941
|
{
|
|
5943
|
-
label:
|
|
5944
|
-
size:
|
|
5945
|
-
onClick:
|
|
5946
|
-
color:
|
|
5947
|
-
variant:
|
|
5942
|
+
label: f,
|
|
5943
|
+
size: t,
|
|
5944
|
+
onClick: c,
|
|
5945
|
+
color: r,
|
|
5946
|
+
variant: l
|
|
5948
5947
|
}
|
|
5949
5948
|
) })
|
|
5950
5949
|
]
|
|
@@ -6141,18 +6140,17 @@ const Cn = ({
|
|
|
6141
6140
|
profiles: e,
|
|
6142
6141
|
loading: i = !1,
|
|
6143
6142
|
buttonColor: n = "lightBlue",
|
|
6144
|
-
buttonLabel: a =
|
|
6143
|
+
buttonLabel: a = null,
|
|
6145
6144
|
customClass: s = ""
|
|
6146
6145
|
}) => /* @__PURE__ */ w(
|
|
6147
6146
|
Cn,
|
|
6148
6147
|
{
|
|
6149
6148
|
title: "Leaderboard",
|
|
6150
|
-
button: !0,
|
|
6151
6149
|
buttonColor: n,
|
|
6152
6150
|
buttonLabel: a,
|
|
6153
6151
|
buttonSize: "small",
|
|
6154
6152
|
customClass: s,
|
|
6155
|
-
children: /* @__PURE__ */ w("section", { className: "flex flex-col space-y-2", children: i ? [...Array(
|
|
6153
|
+
children: /* @__PURE__ */ w("section", { className: "flex flex-col space-y-2", children: i ? [...Array(8)].map((f, o) => /* @__PURE__ */ P(
|
|
6156
6154
|
"article",
|
|
6157
6155
|
{
|
|
6158
6156
|
className: "flex w-full rounded-md h-1/3 space-x-2 animate-pulse",
|
|
@@ -6168,7 +6166,7 @@ const Cn = ({
|
|
|
6168
6166
|
)) : e.map((f, o) => /* @__PURE__ */ P(
|
|
6169
6167
|
"article",
|
|
6170
6168
|
{
|
|
6171
|
-
className: `flex items-center
|
|
6169
|
+
className: `flex items-center p-1 rounded-lg cursor-pointer ${f.selected ? "border-2 border-[#ffd700] bg-[#ffecb3] hover:border-[#FFC200] hover:bg-[#FFE08A]" : "hover:bg-gray-100 hover:cursor-pointer"}`,
|
|
6172
6170
|
children: [
|
|
6173
6171
|
/* @__PURE__ */ w("p", { className: "text-lg font-bold text-sec w-4", children: o + 1 }),
|
|
6174
6172
|
/* @__PURE__ */ w("div", { className: "ml-2 w-10 h-10 bg-gray-300 rounded-full overflow-hidden", children: /* @__PURE__ */ w(
|