fiboui 2.6.1 → 2.6.2
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/{Link-BIjIaYAb.js → Link-faRHzeMZ.js} +1 -1
- package/dist/{client-De3cGjVE.js → client-toSjALhM.js} +517 -504
- package/dist/content.js +3 -3
- package/dist/core.js +2 -2
- package/dist/{index-BOR_ChBS.js → index-BP0Qtfzk.js} +2 -2
- package/dist/{index-DJMMkBOg.js → index-BUL1FVxi.js} +1 -1
- package/dist/{index-DswwFrZn.js → index-BX4-kf5z.js} +1 -1
- package/dist/{index-CeAfi1Bb.js → index-BpTV7JNG.js} +1 -1
- package/dist/{index-D37UAFfC.js → index-DZK6BtiJ.js} +3 -3
- package/dist/index.d.ts +7 -0
- package/dist/index.js +14 -14
- package/dist/interactive.js +2 -2
- package/dist/layout.js +3 -3
- package/dist/{mount-BHYOA7Dg.js → mount-B4lShTgv.js} +1 -1
- package/dist/navigation.js +2 -2
- package/dist/server.js +11 -0
- package/dist/structure.js +2 -2
- package/dist/style.css +1 -1
- package/dist/theme.js +1 -1
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
var kt = Object.defineProperty;
|
|
3
3
|
var _t = (t, o, e) => o in t ? kt(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e;
|
|
4
4
|
var c = (t, o, e) => _t(t, typeof o != "symbol" ? o + "" : o, e);
|
|
5
|
-
import l, { useCallback as ro, useSyncExternalStore as uo, useRef as U, createContext as yo, useContext as Ro, useEffect as
|
|
6
|
-
import { jsx as
|
|
5
|
+
import l, { useCallback as ro, useSyncExternalStore as uo, useRef as U, createContext as yo, useContext as Ro, useEffect as q, useState as Y, memo as Re, cloneElement as St, useMemo as Ct, useLayoutEffect as oe, Component as zt, Suspense as Et } from "react";
|
|
6
|
+
import { jsx as H, Fragment as re, jsxs as Po } from "react/jsx-runtime";
|
|
7
7
|
class Ne {
|
|
8
8
|
constructor() {
|
|
9
9
|
c(this, "activeEffect", null);
|
|
@@ -300,7 +300,7 @@ function Ve() {
|
|
|
300
300
|
}
|
|
301
301
|
function Dn({ children: t, scope: o }) {
|
|
302
302
|
const e = U(o ?? Ae()).current;
|
|
303
|
-
return /* @__PURE__ */
|
|
303
|
+
return /* @__PURE__ */ H(He.Provider, { value: e, children: t });
|
|
304
304
|
}
|
|
305
305
|
function Wt({ children: t }) {
|
|
306
306
|
const o = U(0), e = U(/* @__PURE__ */ new Set()), i = U(null);
|
|
@@ -310,7 +310,7 @@ function Wt({ children: t }) {
|
|
|
310
310
|
const r = ro((a) => (e.current.add(a), () => {
|
|
311
311
|
e.current.delete(a);
|
|
312
312
|
}), []), n = ro(() => o.current, []);
|
|
313
|
-
uo(r, n, n),
|
|
313
|
+
uo(r, n, n), q(() => () => {
|
|
314
314
|
var a;
|
|
315
315
|
(a = i.current) == null || a.dispose();
|
|
316
316
|
}, []);
|
|
@@ -321,7 +321,7 @@ function Wt({ children: t }) {
|
|
|
321
321
|
} catch {
|
|
322
322
|
f = null;
|
|
323
323
|
}
|
|
324
|
-
return /* @__PURE__ */
|
|
324
|
+
return /* @__PURE__ */ H(re, { children: f });
|
|
325
325
|
}
|
|
326
326
|
const Ht = yo(/* @__PURE__ */ new Map()), je = yo(null);
|
|
327
327
|
function Xn(t) {
|
|
@@ -331,7 +331,7 @@ function Xn(t) {
|
|
|
331
331
|
return [o.get(t), (e) => o.set(t, e)];
|
|
332
332
|
}
|
|
333
333
|
function Vt({ stateMap: t = /* @__PURE__ */ new Map(), children: o }) {
|
|
334
|
-
const [e, i] =
|
|
334
|
+
const [e, i] = Y(() => new Map(t)), r = {
|
|
335
335
|
map: e,
|
|
336
336
|
get: (n) => e.get(n),
|
|
337
337
|
set: (n, s) => {
|
|
@@ -343,7 +343,7 @@ function Vt({ stateMap: t = /* @__PURE__ */ new Map(), children: o }) {
|
|
|
343
343
|
});
|
|
344
344
|
}
|
|
345
345
|
};
|
|
346
|
-
return /* @__PURE__ */
|
|
346
|
+
return /* @__PURE__ */ H(je.Provider, { value: r, children: /* @__PURE__ */ H(Ht.Provider, { value: e, children: o }) });
|
|
347
347
|
}
|
|
348
348
|
function jt({ observables: t, children: o }) {
|
|
349
349
|
const e = U(0), i = ro((n) => {
|
|
@@ -354,7 +354,7 @@ function jt({ observables: t, children: o }) {
|
|
|
354
354
|
);
|
|
355
355
|
return () => s.forEach((f) => f());
|
|
356
356
|
}, [t]), r = ro(() => e.current, []);
|
|
357
|
-
return uo(i, r, r), /* @__PURE__ */
|
|
357
|
+
return uo(i, r, r), /* @__PURE__ */ H(re, { children: typeof o == "function" ? o() : o });
|
|
358
358
|
}
|
|
359
359
|
function Dt({ signals: t, children: o }) {
|
|
360
360
|
const e = U(0), i = ro((n) => {
|
|
@@ -365,7 +365,7 @@ function Dt({ signals: t, children: o }) {
|
|
|
365
365
|
);
|
|
366
366
|
return () => s.forEach((f) => f());
|
|
367
367
|
}, [t]), r = ro(() => e.current, []);
|
|
368
|
-
return uo(i, r, r), /* @__PURE__ */
|
|
368
|
+
return uo(i, r, r), /* @__PURE__ */ H(re, { children: typeof o == "function" ? o() : o });
|
|
369
369
|
}
|
|
370
370
|
const De = yo(/* @__PURE__ */ new Map());
|
|
371
371
|
function Yn(t) {
|
|
@@ -373,7 +373,7 @@ function Yn(t) {
|
|
|
373
373
|
return o == null ? void 0 : o.get(t);
|
|
374
374
|
}
|
|
375
375
|
function Xt({ providers: t = /* @__PURE__ */ new Map(), children: o }) {
|
|
376
|
-
return /* @__PURE__ */
|
|
376
|
+
return /* @__PURE__ */ H(De.Provider, { value: t, children: o });
|
|
377
377
|
}
|
|
378
378
|
function Xe({
|
|
379
379
|
compute: t,
|
|
@@ -383,7 +383,7 @@ function Xe({
|
|
|
383
383
|
...r
|
|
384
384
|
}) {
|
|
385
385
|
const n = Ve(), s = U(null), f = t();
|
|
386
|
-
return
|
|
386
|
+
return q(() => Pe(n, () => {
|
|
387
387
|
const a = new Me(() => {
|
|
388
388
|
const u = t();
|
|
389
389
|
s.current && s.current.textContent !== u && (s.current.textContent = u);
|
|
@@ -440,8 +440,8 @@ const Kt = {
|
|
|
440
440
|
bounce: (t) => t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + 0.75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + 0.9375 : 7.5625 * (t -= 2.625 / 2.75) * t + 0.984375
|
|
441
441
|
};
|
|
442
442
|
function qn(t, o) {
|
|
443
|
-
const { duration: e = 300, delay: i = 0, easing: r = Kt.easeOut } = o || {}, [n, s] =
|
|
444
|
-
return a.current = n,
|
|
443
|
+
const { duration: e = 300, delay: i = 0, easing: r = Kt.easeOut } = o || {}, [n, s] = Y(t), f = U(), a = U(n);
|
|
444
|
+
return a.current = n, q(() => {
|
|
445
445
|
f.current && cancelAnimationFrame(f.current);
|
|
446
446
|
let u = null;
|
|
447
447
|
const b = a.current, h = (d) => {
|
|
@@ -460,8 +460,8 @@ function qn(t, o) {
|
|
|
460
460
|
}, [t, e, i]), n;
|
|
461
461
|
}
|
|
462
462
|
function Zn(t, o) {
|
|
463
|
-
const { stiffness: e = 170, damping: i = 26, mass: r = 1 } = o || {}, [n, s] =
|
|
464
|
-
return
|
|
463
|
+
const { stiffness: e = 170, damping: i = 26, mass: r = 1 } = o || {}, [n, s] = Y(t), f = U(0), a = U();
|
|
464
|
+
return q(() => {
|
|
465
465
|
let u = n, b = f.current;
|
|
466
466
|
const h = () => {
|
|
467
467
|
const d = -e * (u - t), x = -i * b, m = (d + x) / r;
|
|
@@ -473,10 +473,10 @@ function Zn(t, o) {
|
|
|
473
473
|
}, [t, e, i, r]), n;
|
|
474
474
|
}
|
|
475
475
|
function Jn(t, o = 300) {
|
|
476
|
-
const [e, i] =
|
|
476
|
+
const [e, i] = Y(t), [r, n] = Y(
|
|
477
477
|
t ? "entered" : "exited"
|
|
478
478
|
);
|
|
479
|
-
return
|
|
479
|
+
return q(() => {
|
|
480
480
|
if (t) {
|
|
481
481
|
i(!0), n("entering");
|
|
482
482
|
const s = setTimeout(() => n("entered"), 50);
|
|
@@ -508,8 +508,8 @@ function os() {
|
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
510
|
function es() {
|
|
511
|
-
const [t, o] =
|
|
512
|
-
return
|
|
511
|
+
const [t, o] = Y(0);
|
|
512
|
+
return q(() => {
|
|
513
513
|
if (typeof window > "u") return;
|
|
514
514
|
const e = () => {
|
|
515
515
|
const i = document.documentElement.scrollHeight - window.innerHeight;
|
|
@@ -540,8 +540,8 @@ function Ye(t = {}) {
|
|
|
540
540
|
b[b.length - 1] !== 1 && b.push(1);
|
|
541
541
|
const d = Math.max(1, Math.floor((b.length - 1) / 24)), x = [];
|
|
542
542
|
for (let p = 0; p < b.length; p += d) {
|
|
543
|
-
const T = p / (b.length - 1),
|
|
544
|
-
x.push(p === 0 ? `${
|
|
543
|
+
const T = p / (b.length - 1), F = Math.round(b[p] * 1e4) / 1e4;
|
|
544
|
+
x.push(p === 0 ? `${F}` : `${F} ${Math.round(T * 1e4) / 100}%`);
|
|
545
545
|
}
|
|
546
546
|
const m = `linear(${x.join(", ")})`;
|
|
547
547
|
return ue.set(r, m), m;
|
|
@@ -911,12 +911,12 @@ function ni(t) {
|
|
|
911
911
|
const o = t.match(/oklch\(\s*([\d.]+)\s+([\d.]+)\s+([\d.]+)\s*\)/);
|
|
912
912
|
if (!o)
|
|
913
913
|
return t;
|
|
914
|
-
const [, e, i, r] = o, n = parseFloat(e), s = parseFloat(i), f = parseFloat(r), a = s * Math.cos(f * Math.PI / 180), u = s * Math.sin(f * Math.PI / 180), b = n + 0.3963377774 * a + 0.2158037573 * u, h = n - 0.1055613458 * a - 0.0638541728 * u, d = n - 0.0894841775 * a - 1.291485548 * u, x = b * b * b, m = h * h * h, p = d * d * d, T = 4.0767416621 * x - 3.3077115913 * m + 0.2309699292 * p,
|
|
915
|
-
var
|
|
916
|
-
const z = (
|
|
914
|
+
const [, e, i, r] = o, n = parseFloat(e), s = parseFloat(i), f = parseFloat(r), a = s * Math.cos(f * Math.PI / 180), u = s * Math.sin(f * Math.PI / 180), b = n + 0.3963377774 * a + 0.2158037573 * u, h = n - 0.1055613458 * a - 0.0638541728 * u, d = n - 0.0894841775 * a - 1.291485548 * u, x = b * b * b, m = h * h * h, p = d * d * d, T = 4.0767416621 * x - 3.3077115913 * m + 0.2309699292 * p, F = -1.2684380046 * x + 2.6097574011 * m - 0.3413193965 * p, M = -0.0041960863 * x - 0.7034186147 * m + 1.707614701 * p, R = (g) => g >= 31308e-7 ? 1.055 * g ** (1 / 2.4) - 0.055 : 12.92 * g, B = Math.max(0, Math.min(1, R(T))), D = Math.max(0, Math.min(1, R(F))), I = Math.max(0, Math.min(1, R(M))), $ = (g) => {
|
|
915
|
+
var O;
|
|
916
|
+
const z = (O = Math.round(g * 255).toString(16)) == null ? void 0 : O.toUpperCase();
|
|
917
917
|
return z.length === 1 ? `0${z}` : z;
|
|
918
918
|
};
|
|
919
|
-
return `#${
|
|
919
|
+
return `#${$(B)}${$(D)}${$(I)}`;
|
|
920
920
|
}
|
|
921
921
|
function si(t) {
|
|
922
922
|
const o = {}, e = {}, i = t.split(`
|
|
@@ -1494,10 +1494,10 @@ function hi(t) {
|
|
|
1494
1494
|
}), o;
|
|
1495
1495
|
}
|
|
1496
1496
|
function di({ animatedProps: t, animationConfig: o, children: e }) {
|
|
1497
|
-
const [i, r] =
|
|
1497
|
+
const [i, r] = Y(
|
|
1498
1498
|
() => hi(t)
|
|
1499
1499
|
);
|
|
1500
|
-
|
|
1500
|
+
q(() => {
|
|
1501
1501
|
const a = [];
|
|
1502
1502
|
return t.forEach((u, b) => {
|
|
1503
1503
|
const h = (d) => {
|
|
@@ -3435,7 +3435,7 @@ function Ii({
|
|
|
3435
3435
|
children: s
|
|
3436
3436
|
}) {
|
|
3437
3437
|
const f = U(null);
|
|
3438
|
-
|
|
3438
|
+
q(() => {
|
|
3439
3439
|
fo();
|
|
3440
3440
|
const u = f.current;
|
|
3441
3441
|
if (!u) return;
|
|
@@ -3491,7 +3491,7 @@ function $i() {
|
|
|
3491
3491
|
}
|
|
3492
3492
|
function Fi({ children: t }) {
|
|
3493
3493
|
const o = U(null);
|
|
3494
|
-
return
|
|
3494
|
+
return q(() => {
|
|
3495
3495
|
if (fo(), $i()) return;
|
|
3496
3496
|
const e = () => {
|
|
3497
3497
|
var n, s;
|
|
@@ -3994,6 +3994,11 @@ class ao {
|
|
|
3994
3994
|
c(this, "_explicitScrollMargin", !1);
|
|
3995
3995
|
/** Shrink-wrap: skip the default `w-full` / `self-stretch` on Row and Column. */
|
|
3996
3996
|
c(this, "_hug", !1);
|
|
3997
|
+
/**
|
|
3998
|
+
* Drop the built-in chrome (padding, border, fill, radius, shadow, fixed height, type size).
|
|
3999
|
+
* Layout (flex, width, gap) stays. Chain `.style()`, `.px()`, `.border()` after this to put back only what you want.
|
|
4000
|
+
*/
|
|
4001
|
+
c(this, "_resetStyle", !1);
|
|
3997
4002
|
// Transition properties
|
|
3998
4003
|
c(this, "_transitionDuration", 200);
|
|
3999
4004
|
// ms
|
|
@@ -4003,6 +4008,12 @@ class ao {
|
|
|
4003
4008
|
c(this, "_transitionProperties", ["all"]);
|
|
4004
4009
|
c(this, "_childFunction");
|
|
4005
4010
|
}
|
|
4011
|
+
resetStyle() {
|
|
4012
|
+
return this._resetStyle = !0, this.addClassName("fibo-reset"), this;
|
|
4013
|
+
}
|
|
4014
|
+
isReset() {
|
|
4015
|
+
return this._resetStyle;
|
|
4016
|
+
}
|
|
4006
4017
|
hug() {
|
|
4007
4018
|
return this._hug = !0, this;
|
|
4008
4019
|
}
|
|
@@ -4966,9 +4977,9 @@ function Xi(t) {
|
|
|
4966
4977
|
}));
|
|
4967
4978
|
const p = t._reveal;
|
|
4968
4979
|
if (p) {
|
|
4969
|
-
const
|
|
4970
|
-
for (const
|
|
4971
|
-
|
|
4980
|
+
const F = t._style || {}, M = {};
|
|
4981
|
+
for (const R of ["--fibo-dur", "--fibo-ease", "--fibo-delay", "--fibo-stagger", "--fibo-from"])
|
|
4982
|
+
F[R] != null && (M[R] = F[R]);
|
|
4972
4983
|
d = l.createElement(Ii, {
|
|
4973
4984
|
key: s,
|
|
4974
4985
|
preset: p.preset,
|
|
@@ -5123,8 +5134,8 @@ function Zi(t) {
|
|
|
5123
5134
|
return Oo(t) ? !!t.value : !!t;
|
|
5124
5135
|
}
|
|
5125
5136
|
function Ji(t) {
|
|
5126
|
-
const [o, e] =
|
|
5127
|
-
return
|
|
5137
|
+
const [o, e] = Y(() => Zi(t));
|
|
5138
|
+
return q(() => {
|
|
5128
5139
|
if (!Oo(t)) {
|
|
5129
5140
|
e(!!t);
|
|
5130
5141
|
return;
|
|
@@ -5140,8 +5151,8 @@ function ft({
|
|
|
5140
5151
|
reducedMotion: r = "reduce",
|
|
5141
5152
|
children: n
|
|
5142
5153
|
}) {
|
|
5143
|
-
const s = Ji(t), [f, a] =
|
|
5144
|
-
if (
|
|
5154
|
+
const s = Ji(t), [f, a] = Y(s), [u, b] = Y(s ? "enter" : "idle"), h = r !== "never" && qi();
|
|
5155
|
+
if (q(() => {
|
|
5145
5156
|
if (fo(), s) {
|
|
5146
5157
|
a(!0), b(h ? "idle" : "enter");
|
|
5147
5158
|
return;
|
|
@@ -5224,7 +5235,7 @@ function hs({
|
|
|
5224
5235
|
className: e,
|
|
5225
5236
|
style: i
|
|
5226
5237
|
}) {
|
|
5227
|
-
const r = rr(t), [n, s] =
|
|
5238
|
+
const r = rr(t), [n, s] = Y(r), [f, a] = Y(null);
|
|
5228
5239
|
r !== n && (s(r), a(null));
|
|
5229
5240
|
const u = et(f ?? t), b = ro((m) => {
|
|
5230
5241
|
a(m);
|
|
@@ -5242,7 +5253,7 @@ function hs({
|
|
|
5242
5253
|
fontFamily: u.fontFamily,
|
|
5243
5254
|
...i
|
|
5244
5255
|
};
|
|
5245
|
-
return /* @__PURE__ */
|
|
5256
|
+
return /* @__PURE__ */ H(at.Provider, { value: h, children: /* @__PURE__ */ H("div", { className: d, "data-fibo-theme": u.name, style: x, children: o }) });
|
|
5246
5257
|
}
|
|
5247
5258
|
function ds() {
|
|
5248
5259
|
const t = Ro(at);
|
|
@@ -5449,7 +5460,7 @@ function vs() {
|
|
|
5449
5460
|
};
|
|
5450
5461
|
}
|
|
5451
5462
|
const cr = l.memo((t) => {
|
|
5452
|
-
const { sidebar: o, header: e, children: i, className: r, style: n, ...s } = t, [f, a] =
|
|
5463
|
+
const { sidebar: o, header: e, children: i, className: r, style: n, ...s } = t, [f, a] = Y(!1);
|
|
5453
5464
|
return l.createElement(
|
|
5454
5465
|
"div",
|
|
5455
5466
|
{
|
|
@@ -5534,7 +5545,7 @@ const ws = co(lr), ur = l.memo((t) => {
|
|
|
5534
5545
|
containerHeight: s = 500,
|
|
5535
5546
|
className: f,
|
|
5536
5547
|
style: a
|
|
5537
|
-
} = t, [u, b] =
|
|
5548
|
+
} = t, [u, b] = Y(0), h = U(null), d = U(/* @__PURE__ */ new Map()), x = U(/* @__PURE__ */ new Map()), m = o.length, p = e !== void 0, T = (S) => p ? e : x.current.get(S) ?? i, F = (S) => {
|
|
5538
5549
|
if (p)
|
|
5539
5550
|
return S * e;
|
|
5540
5551
|
let C = 0;
|
|
@@ -5548,39 +5559,39 @@ const ws = co(lr), ur = l.memo((t) => {
|
|
|
5548
5559
|
for (let C = 0; C < m; C++)
|
|
5549
5560
|
S += T(C);
|
|
5550
5561
|
return S;
|
|
5551
|
-
},
|
|
5562
|
+
}, B = Math.max(0, ((S) => {
|
|
5552
5563
|
if (p)
|
|
5553
5564
|
return Math.floor(S / e);
|
|
5554
5565
|
let C = 0, V = m - 1;
|
|
5555
5566
|
for (; C < V; ) {
|
|
5556
5567
|
const y = Math.floor((C + V) / 2);
|
|
5557
|
-
|
|
5568
|
+
F(y) < S ? C = y + 1 : V = y;
|
|
5558
5569
|
}
|
|
5559
5570
|
return Math.max(0, C - 1);
|
|
5560
5571
|
})(u) - n);
|
|
5561
5572
|
let D;
|
|
5562
5573
|
if (p) {
|
|
5563
5574
|
const S = Math.ceil(s / e);
|
|
5564
|
-
D = Math.min(m,
|
|
5575
|
+
D = Math.min(m, B + S + n * 2);
|
|
5565
5576
|
} else {
|
|
5566
|
-
let S =
|
|
5577
|
+
let S = F(B), C = B;
|
|
5567
5578
|
for (; S < u + s + n * i && C < m; )
|
|
5568
5579
|
S += T(C), C++;
|
|
5569
5580
|
D = Math.min(m, C);
|
|
5570
5581
|
}
|
|
5571
|
-
const I = o.slice(
|
|
5582
|
+
const I = o.slice(B, D), $ = F(B), g = M(), [z, O] = Y(0);
|
|
5572
5583
|
oe(() => {
|
|
5573
5584
|
if (!r || p) return;
|
|
5574
5585
|
let S = !1;
|
|
5575
5586
|
I.forEach((C, V) => {
|
|
5576
|
-
const y =
|
|
5577
|
-
if (
|
|
5578
|
-
const
|
|
5579
|
-
|
|
5587
|
+
const y = B + V, N = d.current.get(y);
|
|
5588
|
+
if (N) {
|
|
5589
|
+
const w = N.getBoundingClientRect().height;
|
|
5590
|
+
w > 0 && x.current.get(y) !== w && (x.current.set(y, w), S = !0);
|
|
5580
5591
|
}
|
|
5581
|
-
}), S &&
|
|
5582
|
-
}, [I,
|
|
5583
|
-
const
|
|
5592
|
+
}), S && O((C) => C + 1);
|
|
5593
|
+
}, [I, B, r, p, z]);
|
|
5594
|
+
const W = (S) => {
|
|
5584
5595
|
b(S.currentTarget.scrollTop);
|
|
5585
5596
|
};
|
|
5586
5597
|
return l.createElement(
|
|
@@ -5594,11 +5605,11 @@ const ws = co(lr), ur = l.memo((t) => {
|
|
|
5594
5605
|
position: "relative",
|
|
5595
5606
|
...a
|
|
5596
5607
|
},
|
|
5597
|
-
onScroll:
|
|
5608
|
+
onScroll: W
|
|
5598
5609
|
},
|
|
5599
5610
|
l.createElement("div", {
|
|
5600
5611
|
style: {
|
|
5601
|
-
height: `${
|
|
5612
|
+
height: `${g}px`,
|
|
5602
5613
|
width: "1px",
|
|
5603
5614
|
position: "absolute",
|
|
5604
5615
|
top: 0,
|
|
@@ -5611,12 +5622,12 @@ const ws = co(lr), ur = l.memo((t) => {
|
|
|
5611
5622
|
"div",
|
|
5612
5623
|
{
|
|
5613
5624
|
style: {
|
|
5614
|
-
transform: `translateY(${
|
|
5625
|
+
transform: `translateY(${$}px)`,
|
|
5615
5626
|
width: "100%"
|
|
5616
5627
|
}
|
|
5617
5628
|
},
|
|
5618
5629
|
I.map((S, C) => {
|
|
5619
|
-
const V =
|
|
5630
|
+
const V = B + C;
|
|
5620
5631
|
return l.createElement(
|
|
5621
5632
|
"div",
|
|
5622
5633
|
{
|
|
@@ -5919,26 +5930,26 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
5919
5930
|
a = b + (a.length > 0 ? " " + a : a);
|
|
5920
5931
|
continue;
|
|
5921
5932
|
}
|
|
5922
|
-
let T = !!p,
|
|
5923
|
-
if (
|
|
5933
|
+
let T = !!p, F = i(T ? m.substring(0, p) : m);
|
|
5934
|
+
if (!F) {
|
|
5924
5935
|
if (!T) {
|
|
5925
5936
|
a = b + (a.length > 0 ? " " + a : a);
|
|
5926
5937
|
continue;
|
|
5927
5938
|
}
|
|
5928
|
-
if (
|
|
5939
|
+
if (F = i(m), !F) {
|
|
5929
5940
|
a = b + (a.length > 0 ? " " + a : a);
|
|
5930
5941
|
continue;
|
|
5931
5942
|
}
|
|
5932
5943
|
T = !1;
|
|
5933
5944
|
}
|
|
5934
|
-
const M = d.length === 0 ? "" : d.length === 1 ? d[0] : n(d).join(":"),
|
|
5935
|
-
if (s.indexOf(
|
|
5945
|
+
const M = d.length === 0 ? "" : d.length === 1 ? d[0] : n(d).join(":"), R = x ? M + te : M, B = R + F;
|
|
5946
|
+
if (s.indexOf(B) > -1)
|
|
5936
5947
|
continue;
|
|
5937
|
-
s.push(
|
|
5938
|
-
const D = r(
|
|
5948
|
+
s.push(B);
|
|
5949
|
+
const D = r(F, T);
|
|
5939
5950
|
for (let I = 0; I < D.length; ++I) {
|
|
5940
|
-
const
|
|
5941
|
-
s.push(
|
|
5951
|
+
const $ = D[I];
|
|
5952
|
+
s.push(R + $);
|
|
5942
5953
|
}
|
|
5943
5954
|
a = b + (a.length > 0 ? " " + a : a);
|
|
5944
5955
|
}
|
|
@@ -5971,19 +5982,19 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
5971
5982
|
}, Lr = [], oo = (t) => {
|
|
5972
5983
|
const o = (e) => e[t] || Lr;
|
|
5973
5984
|
return o.isThemeGetter = !0, o;
|
|
5974
|
-
}, dt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, pt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pr = /^\d+\/\d+$/, Mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Or = /\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$/, Wr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Hr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Eo = (t) => Pr.test(t),
|
|
5985
|
+
}, dt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, pt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pr = /^\d+\/\d+$/, Mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Or = /\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$/, Wr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Hr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Eo = (t) => Pr.test(t), L = (t) => !!t && !Number.isNaN(Number(t)), xo = (t) => !!t && Number.isInteger(Number(t)), qo = (t) => t.endsWith("%") && L(t.slice(0, -1)), ho = (t) => Mr.test(t), jr = () => !0, Dr = (t) => (
|
|
5975
5986
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
5976
5987
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
5977
5988
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
5978
5989
|
Or.test(t) && !Wr.test(t)
|
|
5979
|
-
), xt = () => !1, Xr = (t) => Hr.test(t), Yr = (t) => Vr.test(t), Gr = (t) => !k(t) && !_(t), Ur = (t) => No(t, vt, xt), k = (t) => dt.test(t), vo = (t) => No(t, wt, Dr), Zo = (t) => No(t, Qr,
|
|
5990
|
+
), xt = () => !1, Xr = (t) => Hr.test(t), Yr = (t) => Vr.test(t), Gr = (t) => !k(t) && !_(t), Ur = (t) => No(t, vt, xt), k = (t) => dt.test(t), vo = (t) => No(t, wt, Dr), Zo = (t) => No(t, Qr, L), Ce = (t) => No(t, mt, xt), Kr = (t) => No(t, gt, Yr), Wo = (t) => No(t, yt, Xr), _ = (t) => pt.test(t), Lo = (t) => Bo(t, wt), qr = (t) => Bo(t, on), ze = (t) => Bo(t, mt), Zr = (t) => Bo(t, vt), Jr = (t) => Bo(t, gt), Ho = (t) => Bo(t, yt, !0), No = (t, o, e) => {
|
|
5980
5991
|
const i = dt.exec(t);
|
|
5981
5992
|
return i ? i[1] ? o(i[1]) : e(i[2]) : !1;
|
|
5982
5993
|
}, Bo = (t, o, e = !1) => {
|
|
5983
5994
|
const i = pt.exec(t);
|
|
5984
5995
|
return i ? i[1] ? o(i[1]) : e : !1;
|
|
5985
5996
|
}, mt = (t) => t === "position" || t === "percentage", gt = (t) => t === "image" || t === "url", vt = (t) => t === "length" || t === "size" || t === "bg-size", wt = (t) => t === "length", Qr = (t) => t === "number", on = (t) => t === "family-name", yt = (t) => t === "shadow", en = () => {
|
|
5986
|
-
const t = oo("color"), o = oo("font"), e = oo("text"), i = oo("font-weight"), r = oo("tracking"), n = oo("leading"), s = oo("breakpoint"), f = oo("container"), a = oo("spacing"), u = oo("radius"), b = oo("shadow"), h = oo("inset-shadow"), d = oo("text-shadow"), x = oo("drop-shadow"), m = oo("blur"), p = oo("perspective"), T = oo("aspect"),
|
|
5997
|
+
const t = oo("color"), o = oo("font"), e = oo("text"), i = oo("font-weight"), r = oo("tracking"), n = oo("leading"), s = oo("breakpoint"), f = oo("container"), a = oo("spacing"), u = oo("radius"), b = oo("shadow"), h = oo("inset-shadow"), d = oo("text-shadow"), x = oo("drop-shadow"), m = oo("blur"), p = oo("perspective"), T = oo("aspect"), F = oo("ease"), M = oo("animate"), R = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], B = () => [
|
|
5987
5998
|
"center",
|
|
5988
5999
|
"top",
|
|
5989
6000
|
"bottom",
|
|
@@ -6001,15 +6012,15 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6001
6012
|
"bottom-left",
|
|
6002
6013
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
6003
6014
|
"left-bottom"
|
|
6004
|
-
], D = () => [...
|
|
6015
|
+
], D = () => [...B(), _, k], I = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], g = () => [_, k, a], z = () => [Eo, "full", "auto", ...g()], O = () => [xo, "none", "subgrid", _, k], W = () => ["auto", {
|
|
6005
6016
|
span: ["full", xo, _, k]
|
|
6006
|
-
}, xo, _, k], S = () => [xo, "auto", _, k], C = () => ["auto", "min", "max", "fr", _, k], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"],
|
|
6017
|
+
}, xo, _, k], S = () => [xo, "auto", _, k], C = () => ["auto", "min", "max", "fr", _, k], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], N = () => ["auto", ...g()], G = () => [Eo, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], w = () => [t, _, k], Z = () => [...B(), ze, Ce, {
|
|
6007
6018
|
position: [_, k]
|
|
6008
|
-
}],
|
|
6019
|
+
}], v = () => ["no-repeat", {
|
|
6009
6020
|
repeat: ["", "x", "y", "space", "round"]
|
|
6010
|
-
}],
|
|
6021
|
+
}], A = () => ["auto", "cover", "contain", Zr, Ur, {
|
|
6011
6022
|
size: [_, k]
|
|
6012
|
-
}],
|
|
6023
|
+
}], K = () => [qo, Lo, vo], X = () => [
|
|
6013
6024
|
// Deprecated since Tailwind CSS v4.0.0
|
|
6014
6025
|
"",
|
|
6015
6026
|
"none",
|
|
@@ -6017,14 +6028,14 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6017
6028
|
u,
|
|
6018
6029
|
_,
|
|
6019
6030
|
k
|
|
6020
|
-
], to = () => ["",
|
|
6031
|
+
], to = () => ["", L, Lo, vo], ko = () => ["solid", "dashed", "dotted", "double"], Ao = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], J = () => [L, qo, ze, Ce], _o = () => [
|
|
6021
6032
|
// Deprecated since Tailwind CSS v4.0.0
|
|
6022
6033
|
"",
|
|
6023
6034
|
"none",
|
|
6024
6035
|
m,
|
|
6025
6036
|
_,
|
|
6026
6037
|
k
|
|
6027
|
-
], go = () => ["none",
|
|
6038
|
+
], go = () => ["none", L, _, k], io = () => ["none", L, _, k], So = () => [L, _, k], P = () => [Eo, "full", ...g()];
|
|
6028
6039
|
return {
|
|
6029
6040
|
cacheSize: 500,
|
|
6030
6041
|
theme: {
|
|
@@ -6043,7 +6054,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6043
6054
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
6044
6055
|
radius: [ho],
|
|
6045
6056
|
shadow: [ho],
|
|
6046
|
-
spacing: ["px",
|
|
6057
|
+
spacing: ["px", L],
|
|
6047
6058
|
text: [ho],
|
|
6048
6059
|
"text-shadow": [ho],
|
|
6049
6060
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -6070,21 +6081,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6070
6081
|
* @see https://tailwindcss.com/docs/columns
|
|
6071
6082
|
*/
|
|
6072
6083
|
columns: [{
|
|
6073
|
-
columns: [
|
|
6084
|
+
columns: [L, k, _, f]
|
|
6074
6085
|
}],
|
|
6075
6086
|
/**
|
|
6076
6087
|
* Break After
|
|
6077
6088
|
* @see https://tailwindcss.com/docs/break-after
|
|
6078
6089
|
*/
|
|
6079
6090
|
"break-after": [{
|
|
6080
|
-
"break-after":
|
|
6091
|
+
"break-after": R()
|
|
6081
6092
|
}],
|
|
6082
6093
|
/**
|
|
6083
6094
|
* Break Before
|
|
6084
6095
|
* @see https://tailwindcss.com/docs/break-before
|
|
6085
6096
|
*/
|
|
6086
6097
|
"break-before": [{
|
|
6087
|
-
"break-before":
|
|
6098
|
+
"break-before": R()
|
|
6088
6099
|
}],
|
|
6089
6100
|
/**
|
|
6090
6101
|
* Break Inside
|
|
@@ -6176,21 +6187,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6176
6187
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
6177
6188
|
*/
|
|
6178
6189
|
overscroll: [{
|
|
6179
|
-
overscroll:
|
|
6190
|
+
overscroll: $()
|
|
6180
6191
|
}],
|
|
6181
6192
|
/**
|
|
6182
6193
|
* Overscroll Behavior X
|
|
6183
6194
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
6184
6195
|
*/
|
|
6185
6196
|
"overscroll-x": [{
|
|
6186
|
-
"overscroll-x":
|
|
6197
|
+
"overscroll-x": $()
|
|
6187
6198
|
}],
|
|
6188
6199
|
/**
|
|
6189
6200
|
* Overscroll Behavior Y
|
|
6190
6201
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
6191
6202
|
*/
|
|
6192
6203
|
"overscroll-y": [{
|
|
6193
|
-
"overscroll-y":
|
|
6204
|
+
"overscroll-y": $()
|
|
6194
6205
|
}],
|
|
6195
6206
|
/**
|
|
6196
6207
|
* Position
|
|
@@ -6280,7 +6291,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6280
6291
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
6281
6292
|
*/
|
|
6282
6293
|
basis: [{
|
|
6283
|
-
basis: [Eo, "full", "auto", f, ...
|
|
6294
|
+
basis: [Eo, "full", "auto", f, ...g()]
|
|
6284
6295
|
}],
|
|
6285
6296
|
/**
|
|
6286
6297
|
* Flex Direction
|
|
@@ -6301,21 +6312,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6301
6312
|
* @see https://tailwindcss.com/docs/flex
|
|
6302
6313
|
*/
|
|
6303
6314
|
flex: [{
|
|
6304
|
-
flex: [
|
|
6315
|
+
flex: [L, Eo, "auto", "initial", "none", k]
|
|
6305
6316
|
}],
|
|
6306
6317
|
/**
|
|
6307
6318
|
* Flex Grow
|
|
6308
6319
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
6309
6320
|
*/
|
|
6310
6321
|
grow: [{
|
|
6311
|
-
grow: ["",
|
|
6322
|
+
grow: ["", L, _, k]
|
|
6312
6323
|
}],
|
|
6313
6324
|
/**
|
|
6314
6325
|
* Flex Shrink
|
|
6315
6326
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
6316
6327
|
*/
|
|
6317
6328
|
shrink: [{
|
|
6318
|
-
shrink: ["",
|
|
6329
|
+
shrink: ["", L, _, k]
|
|
6319
6330
|
}],
|
|
6320
6331
|
/**
|
|
6321
6332
|
* Order
|
|
@@ -6329,14 +6340,14 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6329
6340
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
6330
6341
|
*/
|
|
6331
6342
|
"grid-cols": [{
|
|
6332
|
-
"grid-cols":
|
|
6343
|
+
"grid-cols": O()
|
|
6333
6344
|
}],
|
|
6334
6345
|
/**
|
|
6335
6346
|
* Grid Column Start / End
|
|
6336
6347
|
* @see https://tailwindcss.com/docs/grid-column
|
|
6337
6348
|
*/
|
|
6338
6349
|
"col-start-end": [{
|
|
6339
|
-
col:
|
|
6350
|
+
col: W()
|
|
6340
6351
|
}],
|
|
6341
6352
|
/**
|
|
6342
6353
|
* Grid Column Start
|
|
@@ -6357,14 +6368,14 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6357
6368
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
6358
6369
|
*/
|
|
6359
6370
|
"grid-rows": [{
|
|
6360
|
-
"grid-rows":
|
|
6371
|
+
"grid-rows": O()
|
|
6361
6372
|
}],
|
|
6362
6373
|
/**
|
|
6363
6374
|
* Grid Row Start / End
|
|
6364
6375
|
* @see https://tailwindcss.com/docs/grid-row
|
|
6365
6376
|
*/
|
|
6366
6377
|
"row-start-end": [{
|
|
6367
|
-
row:
|
|
6378
|
+
row: W()
|
|
6368
6379
|
}],
|
|
6369
6380
|
/**
|
|
6370
6381
|
* Grid Row Start
|
|
@@ -6406,21 +6417,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6406
6417
|
* @see https://tailwindcss.com/docs/gap
|
|
6407
6418
|
*/
|
|
6408
6419
|
gap: [{
|
|
6409
|
-
gap:
|
|
6420
|
+
gap: g()
|
|
6410
6421
|
}],
|
|
6411
6422
|
/**
|
|
6412
6423
|
* Gap X
|
|
6413
6424
|
* @see https://tailwindcss.com/docs/gap
|
|
6414
6425
|
*/
|
|
6415
6426
|
"gap-x": [{
|
|
6416
|
-
"gap-x":
|
|
6427
|
+
"gap-x": g()
|
|
6417
6428
|
}],
|
|
6418
6429
|
/**
|
|
6419
6430
|
* Gap Y
|
|
6420
6431
|
* @see https://tailwindcss.com/docs/gap
|
|
6421
6432
|
*/
|
|
6422
6433
|
"gap-y": [{
|
|
6423
|
-
"gap-y":
|
|
6434
|
+
"gap-y": g()
|
|
6424
6435
|
}],
|
|
6425
6436
|
/**
|
|
6426
6437
|
* Justify Content
|
|
@@ -6495,133 +6506,133 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6495
6506
|
* @see https://tailwindcss.com/docs/padding
|
|
6496
6507
|
*/
|
|
6497
6508
|
p: [{
|
|
6498
|
-
p:
|
|
6509
|
+
p: g()
|
|
6499
6510
|
}],
|
|
6500
6511
|
/**
|
|
6501
6512
|
* Padding X
|
|
6502
6513
|
* @see https://tailwindcss.com/docs/padding
|
|
6503
6514
|
*/
|
|
6504
6515
|
px: [{
|
|
6505
|
-
px:
|
|
6516
|
+
px: g()
|
|
6506
6517
|
}],
|
|
6507
6518
|
/**
|
|
6508
6519
|
* Padding Y
|
|
6509
6520
|
* @see https://tailwindcss.com/docs/padding
|
|
6510
6521
|
*/
|
|
6511
6522
|
py: [{
|
|
6512
|
-
py:
|
|
6523
|
+
py: g()
|
|
6513
6524
|
}],
|
|
6514
6525
|
/**
|
|
6515
6526
|
* Padding Start
|
|
6516
6527
|
* @see https://tailwindcss.com/docs/padding
|
|
6517
6528
|
*/
|
|
6518
6529
|
ps: [{
|
|
6519
|
-
ps:
|
|
6530
|
+
ps: g()
|
|
6520
6531
|
}],
|
|
6521
6532
|
/**
|
|
6522
6533
|
* Padding End
|
|
6523
6534
|
* @see https://tailwindcss.com/docs/padding
|
|
6524
6535
|
*/
|
|
6525
6536
|
pe: [{
|
|
6526
|
-
pe:
|
|
6537
|
+
pe: g()
|
|
6527
6538
|
}],
|
|
6528
6539
|
/**
|
|
6529
6540
|
* Padding Top
|
|
6530
6541
|
* @see https://tailwindcss.com/docs/padding
|
|
6531
6542
|
*/
|
|
6532
6543
|
pt: [{
|
|
6533
|
-
pt:
|
|
6544
|
+
pt: g()
|
|
6534
6545
|
}],
|
|
6535
6546
|
/**
|
|
6536
6547
|
* Padding Right
|
|
6537
6548
|
* @see https://tailwindcss.com/docs/padding
|
|
6538
6549
|
*/
|
|
6539
6550
|
pr: [{
|
|
6540
|
-
pr:
|
|
6551
|
+
pr: g()
|
|
6541
6552
|
}],
|
|
6542
6553
|
/**
|
|
6543
6554
|
* Padding Bottom
|
|
6544
6555
|
* @see https://tailwindcss.com/docs/padding
|
|
6545
6556
|
*/
|
|
6546
6557
|
pb: [{
|
|
6547
|
-
pb:
|
|
6558
|
+
pb: g()
|
|
6548
6559
|
}],
|
|
6549
6560
|
/**
|
|
6550
6561
|
* Padding Left
|
|
6551
6562
|
* @see https://tailwindcss.com/docs/padding
|
|
6552
6563
|
*/
|
|
6553
6564
|
pl: [{
|
|
6554
|
-
pl:
|
|
6565
|
+
pl: g()
|
|
6555
6566
|
}],
|
|
6556
6567
|
/**
|
|
6557
6568
|
* Margin
|
|
6558
6569
|
* @see https://tailwindcss.com/docs/margin
|
|
6559
6570
|
*/
|
|
6560
6571
|
m: [{
|
|
6561
|
-
m:
|
|
6572
|
+
m: N()
|
|
6562
6573
|
}],
|
|
6563
6574
|
/**
|
|
6564
6575
|
* Margin X
|
|
6565
6576
|
* @see https://tailwindcss.com/docs/margin
|
|
6566
6577
|
*/
|
|
6567
6578
|
mx: [{
|
|
6568
|
-
mx:
|
|
6579
|
+
mx: N()
|
|
6569
6580
|
}],
|
|
6570
6581
|
/**
|
|
6571
6582
|
* Margin Y
|
|
6572
6583
|
* @see https://tailwindcss.com/docs/margin
|
|
6573
6584
|
*/
|
|
6574
6585
|
my: [{
|
|
6575
|
-
my:
|
|
6586
|
+
my: N()
|
|
6576
6587
|
}],
|
|
6577
6588
|
/**
|
|
6578
6589
|
* Margin Start
|
|
6579
6590
|
* @see https://tailwindcss.com/docs/margin
|
|
6580
6591
|
*/
|
|
6581
6592
|
ms: [{
|
|
6582
|
-
ms:
|
|
6593
|
+
ms: N()
|
|
6583
6594
|
}],
|
|
6584
6595
|
/**
|
|
6585
6596
|
* Margin End
|
|
6586
6597
|
* @see https://tailwindcss.com/docs/margin
|
|
6587
6598
|
*/
|
|
6588
6599
|
me: [{
|
|
6589
|
-
me:
|
|
6600
|
+
me: N()
|
|
6590
6601
|
}],
|
|
6591
6602
|
/**
|
|
6592
6603
|
* Margin Top
|
|
6593
6604
|
* @see https://tailwindcss.com/docs/margin
|
|
6594
6605
|
*/
|
|
6595
6606
|
mt: [{
|
|
6596
|
-
mt:
|
|
6607
|
+
mt: N()
|
|
6597
6608
|
}],
|
|
6598
6609
|
/**
|
|
6599
6610
|
* Margin Right
|
|
6600
6611
|
* @see https://tailwindcss.com/docs/margin
|
|
6601
6612
|
*/
|
|
6602
6613
|
mr: [{
|
|
6603
|
-
mr:
|
|
6614
|
+
mr: N()
|
|
6604
6615
|
}],
|
|
6605
6616
|
/**
|
|
6606
6617
|
* Margin Bottom
|
|
6607
6618
|
* @see https://tailwindcss.com/docs/margin
|
|
6608
6619
|
*/
|
|
6609
6620
|
mb: [{
|
|
6610
|
-
mb:
|
|
6621
|
+
mb: N()
|
|
6611
6622
|
}],
|
|
6612
6623
|
/**
|
|
6613
6624
|
* Margin Left
|
|
6614
6625
|
* @see https://tailwindcss.com/docs/margin
|
|
6615
6626
|
*/
|
|
6616
6627
|
ml: [{
|
|
6617
|
-
ml:
|
|
6628
|
+
ml: N()
|
|
6618
6629
|
}],
|
|
6619
6630
|
/**
|
|
6620
6631
|
* Space Between X
|
|
6621
6632
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
6622
6633
|
*/
|
|
6623
6634
|
"space-x": [{
|
|
6624
|
-
"space-x":
|
|
6635
|
+
"space-x": g()
|
|
6625
6636
|
}],
|
|
6626
6637
|
/**
|
|
6627
6638
|
* Space Between X Reverse
|
|
@@ -6633,7 +6644,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6633
6644
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
6634
6645
|
*/
|
|
6635
6646
|
"space-y": [{
|
|
6636
|
-
"space-y":
|
|
6647
|
+
"space-y": g()
|
|
6637
6648
|
}],
|
|
6638
6649
|
/**
|
|
6639
6650
|
* Space Between Y Reverse
|
|
@@ -6648,14 +6659,14 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6648
6659
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
6649
6660
|
*/
|
|
6650
6661
|
size: [{
|
|
6651
|
-
size:
|
|
6662
|
+
size: G()
|
|
6652
6663
|
}],
|
|
6653
6664
|
/**
|
|
6654
6665
|
* Width
|
|
6655
6666
|
* @see https://tailwindcss.com/docs/width
|
|
6656
6667
|
*/
|
|
6657
6668
|
w: [{
|
|
6658
|
-
w: [f, "screen", ...
|
|
6669
|
+
w: [f, "screen", ...G()]
|
|
6659
6670
|
}],
|
|
6660
6671
|
/**
|
|
6661
6672
|
* Min-Width
|
|
@@ -6667,7 +6678,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6667
6678
|
"screen",
|
|
6668
6679
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
6669
6680
|
"none",
|
|
6670
|
-
...
|
|
6681
|
+
...G()
|
|
6671
6682
|
]
|
|
6672
6683
|
}],
|
|
6673
6684
|
/**
|
|
@@ -6685,7 +6696,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6685
6696
|
{
|
|
6686
6697
|
screen: [s]
|
|
6687
6698
|
},
|
|
6688
|
-
...
|
|
6699
|
+
...G()
|
|
6689
6700
|
]
|
|
6690
6701
|
}],
|
|
6691
6702
|
/**
|
|
@@ -6693,21 +6704,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6693
6704
|
* @see https://tailwindcss.com/docs/height
|
|
6694
6705
|
*/
|
|
6695
6706
|
h: [{
|
|
6696
|
-
h: ["screen", "lh", ...
|
|
6707
|
+
h: ["screen", "lh", ...G()]
|
|
6697
6708
|
}],
|
|
6698
6709
|
/**
|
|
6699
6710
|
* Min-Height
|
|
6700
6711
|
* @see https://tailwindcss.com/docs/min-height
|
|
6701
6712
|
*/
|
|
6702
6713
|
"min-h": [{
|
|
6703
|
-
"min-h": ["screen", "lh", "none", ...
|
|
6714
|
+
"min-h": ["screen", "lh", "none", ...G()]
|
|
6704
6715
|
}],
|
|
6705
6716
|
/**
|
|
6706
6717
|
* Max-Height
|
|
6707
6718
|
* @see https://tailwindcss.com/docs/max-height
|
|
6708
6719
|
*/
|
|
6709
6720
|
"max-h": [{
|
|
6710
|
-
"max-h": ["screen", "lh", ...
|
|
6721
|
+
"max-h": ["screen", "lh", ...G()]
|
|
6711
6722
|
}],
|
|
6712
6723
|
// ------------------
|
|
6713
6724
|
// --- Typography ---
|
|
@@ -6792,7 +6803,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6792
6803
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
6793
6804
|
*/
|
|
6794
6805
|
"line-clamp": [{
|
|
6795
|
-
"line-clamp": [
|
|
6806
|
+
"line-clamp": [L, "none", _, Zo]
|
|
6796
6807
|
}],
|
|
6797
6808
|
/**
|
|
6798
6809
|
* Line Height
|
|
@@ -6802,7 +6813,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6802
6813
|
leading: [
|
|
6803
6814
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
6804
6815
|
n,
|
|
6805
|
-
...
|
|
6816
|
+
...g()
|
|
6806
6817
|
]
|
|
6807
6818
|
}],
|
|
6808
6819
|
/**
|
|
@@ -6839,14 +6850,14 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6839
6850
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
6840
6851
|
*/
|
|
6841
6852
|
"placeholder-color": [{
|
|
6842
|
-
placeholder:
|
|
6853
|
+
placeholder: w()
|
|
6843
6854
|
}],
|
|
6844
6855
|
/**
|
|
6845
6856
|
* Text Color
|
|
6846
6857
|
* @see https://tailwindcss.com/docs/text-color
|
|
6847
6858
|
*/
|
|
6848
6859
|
"text-color": [{
|
|
6849
|
-
text:
|
|
6860
|
+
text: w()
|
|
6850
6861
|
}],
|
|
6851
6862
|
/**
|
|
6852
6863
|
* Text Decoration
|
|
@@ -6865,21 +6876,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6865
6876
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
6866
6877
|
*/
|
|
6867
6878
|
"text-decoration-thickness": [{
|
|
6868
|
-
decoration: [
|
|
6879
|
+
decoration: [L, "from-font", "auto", _, vo]
|
|
6869
6880
|
}],
|
|
6870
6881
|
/**
|
|
6871
6882
|
* Text Decoration Color
|
|
6872
6883
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
6873
6884
|
*/
|
|
6874
6885
|
"text-decoration-color": [{
|
|
6875
|
-
decoration:
|
|
6886
|
+
decoration: w()
|
|
6876
6887
|
}],
|
|
6877
6888
|
/**
|
|
6878
6889
|
* Text Underline Offset
|
|
6879
6890
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
6880
6891
|
*/
|
|
6881
6892
|
"underline-offset": [{
|
|
6882
|
-
"underline-offset": [
|
|
6893
|
+
"underline-offset": [L, "auto", _, k]
|
|
6883
6894
|
}],
|
|
6884
6895
|
/**
|
|
6885
6896
|
* Text Transform
|
|
@@ -6903,7 +6914,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6903
6914
|
* @see https://tailwindcss.com/docs/text-indent
|
|
6904
6915
|
*/
|
|
6905
6916
|
indent: [{
|
|
6906
|
-
indent:
|
|
6917
|
+
indent: g()
|
|
6907
6918
|
}],
|
|
6908
6919
|
/**
|
|
6909
6920
|
* Vertical Alignment
|
|
@@ -6976,21 +6987,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6976
6987
|
* @see https://tailwindcss.com/docs/background-position
|
|
6977
6988
|
*/
|
|
6978
6989
|
"bg-position": [{
|
|
6979
|
-
bg:
|
|
6990
|
+
bg: Z()
|
|
6980
6991
|
}],
|
|
6981
6992
|
/**
|
|
6982
6993
|
* Background Repeat
|
|
6983
6994
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
6984
6995
|
*/
|
|
6985
6996
|
"bg-repeat": [{
|
|
6986
|
-
bg:
|
|
6997
|
+
bg: v()
|
|
6987
6998
|
}],
|
|
6988
6999
|
/**
|
|
6989
7000
|
* Background Size
|
|
6990
7001
|
* @see https://tailwindcss.com/docs/background-size
|
|
6991
7002
|
*/
|
|
6992
7003
|
"bg-size": [{
|
|
6993
|
-
bg:
|
|
7004
|
+
bg: A()
|
|
6994
7005
|
}],
|
|
6995
7006
|
/**
|
|
6996
7007
|
* Background Image
|
|
@@ -7010,49 +7021,49 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7010
7021
|
* @see https://tailwindcss.com/docs/background-color
|
|
7011
7022
|
*/
|
|
7012
7023
|
"bg-color": [{
|
|
7013
|
-
bg:
|
|
7024
|
+
bg: w()
|
|
7014
7025
|
}],
|
|
7015
7026
|
/**
|
|
7016
7027
|
* Gradient Color Stops From Position
|
|
7017
7028
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7018
7029
|
*/
|
|
7019
7030
|
"gradient-from-pos": [{
|
|
7020
|
-
from:
|
|
7031
|
+
from: K()
|
|
7021
7032
|
}],
|
|
7022
7033
|
/**
|
|
7023
7034
|
* Gradient Color Stops Via Position
|
|
7024
7035
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7025
7036
|
*/
|
|
7026
7037
|
"gradient-via-pos": [{
|
|
7027
|
-
via:
|
|
7038
|
+
via: K()
|
|
7028
7039
|
}],
|
|
7029
7040
|
/**
|
|
7030
7041
|
* Gradient Color Stops To Position
|
|
7031
7042
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7032
7043
|
*/
|
|
7033
7044
|
"gradient-to-pos": [{
|
|
7034
|
-
to:
|
|
7045
|
+
to: K()
|
|
7035
7046
|
}],
|
|
7036
7047
|
/**
|
|
7037
7048
|
* Gradient Color Stops From
|
|
7038
7049
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7039
7050
|
*/
|
|
7040
7051
|
"gradient-from": [{
|
|
7041
|
-
from:
|
|
7052
|
+
from: w()
|
|
7042
7053
|
}],
|
|
7043
7054
|
/**
|
|
7044
7055
|
* Gradient Color Stops Via
|
|
7045
7056
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7046
7057
|
*/
|
|
7047
7058
|
"gradient-via": [{
|
|
7048
|
-
via:
|
|
7059
|
+
via: w()
|
|
7049
7060
|
}],
|
|
7050
7061
|
/**
|
|
7051
7062
|
* Gradient Color Stops To
|
|
7052
7063
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7053
7064
|
*/
|
|
7054
7065
|
"gradient-to": [{
|
|
7055
|
-
to:
|
|
7066
|
+
to: w()
|
|
7056
7067
|
}],
|
|
7057
7068
|
// ---------------
|
|
7058
7069
|
// --- Borders ---
|
|
@@ -7062,105 +7073,105 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7062
7073
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7063
7074
|
*/
|
|
7064
7075
|
rounded: [{
|
|
7065
|
-
rounded:
|
|
7076
|
+
rounded: X()
|
|
7066
7077
|
}],
|
|
7067
7078
|
/**
|
|
7068
7079
|
* Border Radius Start
|
|
7069
7080
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7070
7081
|
*/
|
|
7071
7082
|
"rounded-s": [{
|
|
7072
|
-
"rounded-s":
|
|
7083
|
+
"rounded-s": X()
|
|
7073
7084
|
}],
|
|
7074
7085
|
/**
|
|
7075
7086
|
* Border Radius End
|
|
7076
7087
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7077
7088
|
*/
|
|
7078
7089
|
"rounded-e": [{
|
|
7079
|
-
"rounded-e":
|
|
7090
|
+
"rounded-e": X()
|
|
7080
7091
|
}],
|
|
7081
7092
|
/**
|
|
7082
7093
|
* Border Radius Top
|
|
7083
7094
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7084
7095
|
*/
|
|
7085
7096
|
"rounded-t": [{
|
|
7086
|
-
"rounded-t":
|
|
7097
|
+
"rounded-t": X()
|
|
7087
7098
|
}],
|
|
7088
7099
|
/**
|
|
7089
7100
|
* Border Radius Right
|
|
7090
7101
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7091
7102
|
*/
|
|
7092
7103
|
"rounded-r": [{
|
|
7093
|
-
"rounded-r":
|
|
7104
|
+
"rounded-r": X()
|
|
7094
7105
|
}],
|
|
7095
7106
|
/**
|
|
7096
7107
|
* Border Radius Bottom
|
|
7097
7108
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7098
7109
|
*/
|
|
7099
7110
|
"rounded-b": [{
|
|
7100
|
-
"rounded-b":
|
|
7111
|
+
"rounded-b": X()
|
|
7101
7112
|
}],
|
|
7102
7113
|
/**
|
|
7103
7114
|
* Border Radius Left
|
|
7104
7115
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7105
7116
|
*/
|
|
7106
7117
|
"rounded-l": [{
|
|
7107
|
-
"rounded-l":
|
|
7118
|
+
"rounded-l": X()
|
|
7108
7119
|
}],
|
|
7109
7120
|
/**
|
|
7110
7121
|
* Border Radius Start Start
|
|
7111
7122
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7112
7123
|
*/
|
|
7113
7124
|
"rounded-ss": [{
|
|
7114
|
-
"rounded-ss":
|
|
7125
|
+
"rounded-ss": X()
|
|
7115
7126
|
}],
|
|
7116
7127
|
/**
|
|
7117
7128
|
* Border Radius Start End
|
|
7118
7129
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7119
7130
|
*/
|
|
7120
7131
|
"rounded-se": [{
|
|
7121
|
-
"rounded-se":
|
|
7132
|
+
"rounded-se": X()
|
|
7122
7133
|
}],
|
|
7123
7134
|
/**
|
|
7124
7135
|
* Border Radius End End
|
|
7125
7136
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7126
7137
|
*/
|
|
7127
7138
|
"rounded-ee": [{
|
|
7128
|
-
"rounded-ee":
|
|
7139
|
+
"rounded-ee": X()
|
|
7129
7140
|
}],
|
|
7130
7141
|
/**
|
|
7131
7142
|
* Border Radius End Start
|
|
7132
7143
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7133
7144
|
*/
|
|
7134
7145
|
"rounded-es": [{
|
|
7135
|
-
"rounded-es":
|
|
7146
|
+
"rounded-es": X()
|
|
7136
7147
|
}],
|
|
7137
7148
|
/**
|
|
7138
7149
|
* Border Radius Top Left
|
|
7139
7150
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7140
7151
|
*/
|
|
7141
7152
|
"rounded-tl": [{
|
|
7142
|
-
"rounded-tl":
|
|
7153
|
+
"rounded-tl": X()
|
|
7143
7154
|
}],
|
|
7144
7155
|
/**
|
|
7145
7156
|
* Border Radius Top Right
|
|
7146
7157
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7147
7158
|
*/
|
|
7148
7159
|
"rounded-tr": [{
|
|
7149
|
-
"rounded-tr":
|
|
7160
|
+
"rounded-tr": X()
|
|
7150
7161
|
}],
|
|
7151
7162
|
/**
|
|
7152
7163
|
* Border Radius Bottom Right
|
|
7153
7164
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7154
7165
|
*/
|
|
7155
7166
|
"rounded-br": [{
|
|
7156
|
-
"rounded-br":
|
|
7167
|
+
"rounded-br": X()
|
|
7157
7168
|
}],
|
|
7158
7169
|
/**
|
|
7159
7170
|
* Border Radius Bottom Left
|
|
7160
7171
|
* @see https://tailwindcss.com/docs/border-radius
|
|
7161
7172
|
*/
|
|
7162
7173
|
"rounded-bl": [{
|
|
7163
|
-
"rounded-bl":
|
|
7174
|
+
"rounded-bl": X()
|
|
7164
7175
|
}],
|
|
7165
7176
|
/**
|
|
7166
7177
|
* Border Width
|
|
@@ -7268,70 +7279,70 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7268
7279
|
* @see https://tailwindcss.com/docs/border-color
|
|
7269
7280
|
*/
|
|
7270
7281
|
"border-color": [{
|
|
7271
|
-
border:
|
|
7282
|
+
border: w()
|
|
7272
7283
|
}],
|
|
7273
7284
|
/**
|
|
7274
7285
|
* Border Color X
|
|
7275
7286
|
* @see https://tailwindcss.com/docs/border-color
|
|
7276
7287
|
*/
|
|
7277
7288
|
"border-color-x": [{
|
|
7278
|
-
"border-x":
|
|
7289
|
+
"border-x": w()
|
|
7279
7290
|
}],
|
|
7280
7291
|
/**
|
|
7281
7292
|
* Border Color Y
|
|
7282
7293
|
* @see https://tailwindcss.com/docs/border-color
|
|
7283
7294
|
*/
|
|
7284
7295
|
"border-color-y": [{
|
|
7285
|
-
"border-y":
|
|
7296
|
+
"border-y": w()
|
|
7286
7297
|
}],
|
|
7287
7298
|
/**
|
|
7288
7299
|
* Border Color S
|
|
7289
7300
|
* @see https://tailwindcss.com/docs/border-color
|
|
7290
7301
|
*/
|
|
7291
7302
|
"border-color-s": [{
|
|
7292
|
-
"border-s":
|
|
7303
|
+
"border-s": w()
|
|
7293
7304
|
}],
|
|
7294
7305
|
/**
|
|
7295
7306
|
* Border Color E
|
|
7296
7307
|
* @see https://tailwindcss.com/docs/border-color
|
|
7297
7308
|
*/
|
|
7298
7309
|
"border-color-e": [{
|
|
7299
|
-
"border-e":
|
|
7310
|
+
"border-e": w()
|
|
7300
7311
|
}],
|
|
7301
7312
|
/**
|
|
7302
7313
|
* Border Color Top
|
|
7303
7314
|
* @see https://tailwindcss.com/docs/border-color
|
|
7304
7315
|
*/
|
|
7305
7316
|
"border-color-t": [{
|
|
7306
|
-
"border-t":
|
|
7317
|
+
"border-t": w()
|
|
7307
7318
|
}],
|
|
7308
7319
|
/**
|
|
7309
7320
|
* Border Color Right
|
|
7310
7321
|
* @see https://tailwindcss.com/docs/border-color
|
|
7311
7322
|
*/
|
|
7312
7323
|
"border-color-r": [{
|
|
7313
|
-
"border-r":
|
|
7324
|
+
"border-r": w()
|
|
7314
7325
|
}],
|
|
7315
7326
|
/**
|
|
7316
7327
|
* Border Color Bottom
|
|
7317
7328
|
* @see https://tailwindcss.com/docs/border-color
|
|
7318
7329
|
*/
|
|
7319
7330
|
"border-color-b": [{
|
|
7320
|
-
"border-b":
|
|
7331
|
+
"border-b": w()
|
|
7321
7332
|
}],
|
|
7322
7333
|
/**
|
|
7323
7334
|
* Border Color Left
|
|
7324
7335
|
* @see https://tailwindcss.com/docs/border-color
|
|
7325
7336
|
*/
|
|
7326
7337
|
"border-color-l": [{
|
|
7327
|
-
"border-l":
|
|
7338
|
+
"border-l": w()
|
|
7328
7339
|
}],
|
|
7329
7340
|
/**
|
|
7330
7341
|
* Divide Color
|
|
7331
7342
|
* @see https://tailwindcss.com/docs/divide-color
|
|
7332
7343
|
*/
|
|
7333
7344
|
"divide-color": [{
|
|
7334
|
-
divide:
|
|
7345
|
+
divide: w()
|
|
7335
7346
|
}],
|
|
7336
7347
|
/**
|
|
7337
7348
|
* Outline Style
|
|
@@ -7345,21 +7356,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7345
7356
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
7346
7357
|
*/
|
|
7347
7358
|
"outline-offset": [{
|
|
7348
|
-
"outline-offset": [
|
|
7359
|
+
"outline-offset": [L, _, k]
|
|
7349
7360
|
}],
|
|
7350
7361
|
/**
|
|
7351
7362
|
* Outline Width
|
|
7352
7363
|
* @see https://tailwindcss.com/docs/outline-width
|
|
7353
7364
|
*/
|
|
7354
7365
|
"outline-w": [{
|
|
7355
|
-
outline: ["",
|
|
7366
|
+
outline: ["", L, Lo, vo]
|
|
7356
7367
|
}],
|
|
7357
7368
|
/**
|
|
7358
7369
|
* Outline Color
|
|
7359
7370
|
* @see https://tailwindcss.com/docs/outline-color
|
|
7360
7371
|
*/
|
|
7361
7372
|
"outline-color": [{
|
|
7362
|
-
outline:
|
|
7373
|
+
outline: w()
|
|
7363
7374
|
}],
|
|
7364
7375
|
// ---------------
|
|
7365
7376
|
// --- Effects ---
|
|
@@ -7383,7 +7394,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7383
7394
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
7384
7395
|
*/
|
|
7385
7396
|
"shadow-color": [{
|
|
7386
|
-
shadow:
|
|
7397
|
+
shadow: w()
|
|
7387
7398
|
}],
|
|
7388
7399
|
/**
|
|
7389
7400
|
* Inset Box Shadow
|
|
@@ -7397,7 +7408,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7397
7408
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
7398
7409
|
*/
|
|
7399
7410
|
"inset-shadow-color": [{
|
|
7400
|
-
"inset-shadow":
|
|
7411
|
+
"inset-shadow": w()
|
|
7401
7412
|
}],
|
|
7402
7413
|
/**
|
|
7403
7414
|
* Ring Width
|
|
@@ -7418,7 +7429,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7418
7429
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
7419
7430
|
*/
|
|
7420
7431
|
"ring-color": [{
|
|
7421
|
-
ring:
|
|
7432
|
+
ring: w()
|
|
7422
7433
|
}],
|
|
7423
7434
|
/**
|
|
7424
7435
|
* Ring Offset Width
|
|
@@ -7427,7 +7438,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7427
7438
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
7428
7439
|
*/
|
|
7429
7440
|
"ring-offset-w": [{
|
|
7430
|
-
"ring-offset": [
|
|
7441
|
+
"ring-offset": [L, vo]
|
|
7431
7442
|
}],
|
|
7432
7443
|
/**
|
|
7433
7444
|
* Ring Offset Color
|
|
@@ -7436,7 +7447,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7436
7447
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
7437
7448
|
*/
|
|
7438
7449
|
"ring-offset-color": [{
|
|
7439
|
-
"ring-offset":
|
|
7450
|
+
"ring-offset": w()
|
|
7440
7451
|
}],
|
|
7441
7452
|
/**
|
|
7442
7453
|
* Inset Ring Width
|
|
@@ -7450,7 +7461,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7450
7461
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
7451
7462
|
*/
|
|
7452
7463
|
"inset-ring-color": [{
|
|
7453
|
-
"inset-ring":
|
|
7464
|
+
"inset-ring": w()
|
|
7454
7465
|
}],
|
|
7455
7466
|
/**
|
|
7456
7467
|
* Text Shadow
|
|
@@ -7464,14 +7475,14 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7464
7475
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
7465
7476
|
*/
|
|
7466
7477
|
"text-shadow-color": [{
|
|
7467
|
-
"text-shadow":
|
|
7478
|
+
"text-shadow": w()
|
|
7468
7479
|
}],
|
|
7469
7480
|
/**
|
|
7470
7481
|
* Opacity
|
|
7471
7482
|
* @see https://tailwindcss.com/docs/opacity
|
|
7472
7483
|
*/
|
|
7473
7484
|
opacity: [{
|
|
7474
|
-
opacity: [
|
|
7485
|
+
opacity: [L, _, k]
|
|
7475
7486
|
}],
|
|
7476
7487
|
/**
|
|
7477
7488
|
* Mix Blend Mode
|
|
@@ -7506,7 +7517,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7506
7517
|
* @see https://tailwindcss.com/docs/mask-image
|
|
7507
7518
|
*/
|
|
7508
7519
|
"mask-image-linear-pos": [{
|
|
7509
|
-
"mask-linear": [
|
|
7520
|
+
"mask-linear": [L]
|
|
7510
7521
|
}],
|
|
7511
7522
|
"mask-image-linear-from-pos": [{
|
|
7512
7523
|
"mask-linear-from": J()
|
|
@@ -7515,10 +7526,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7515
7526
|
"mask-linear-to": J()
|
|
7516
7527
|
}],
|
|
7517
7528
|
"mask-image-linear-from-color": [{
|
|
7518
|
-
"mask-linear-from":
|
|
7529
|
+
"mask-linear-from": w()
|
|
7519
7530
|
}],
|
|
7520
7531
|
"mask-image-linear-to-color": [{
|
|
7521
|
-
"mask-linear-to":
|
|
7532
|
+
"mask-linear-to": w()
|
|
7522
7533
|
}],
|
|
7523
7534
|
"mask-image-t-from-pos": [{
|
|
7524
7535
|
"mask-t-from": J()
|
|
@@ -7527,10 +7538,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7527
7538
|
"mask-t-to": J()
|
|
7528
7539
|
}],
|
|
7529
7540
|
"mask-image-t-from-color": [{
|
|
7530
|
-
"mask-t-from":
|
|
7541
|
+
"mask-t-from": w()
|
|
7531
7542
|
}],
|
|
7532
7543
|
"mask-image-t-to-color": [{
|
|
7533
|
-
"mask-t-to":
|
|
7544
|
+
"mask-t-to": w()
|
|
7534
7545
|
}],
|
|
7535
7546
|
"mask-image-r-from-pos": [{
|
|
7536
7547
|
"mask-r-from": J()
|
|
@@ -7539,10 +7550,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7539
7550
|
"mask-r-to": J()
|
|
7540
7551
|
}],
|
|
7541
7552
|
"mask-image-r-from-color": [{
|
|
7542
|
-
"mask-r-from":
|
|
7553
|
+
"mask-r-from": w()
|
|
7543
7554
|
}],
|
|
7544
7555
|
"mask-image-r-to-color": [{
|
|
7545
|
-
"mask-r-to":
|
|
7556
|
+
"mask-r-to": w()
|
|
7546
7557
|
}],
|
|
7547
7558
|
"mask-image-b-from-pos": [{
|
|
7548
7559
|
"mask-b-from": J()
|
|
@@ -7551,10 +7562,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7551
7562
|
"mask-b-to": J()
|
|
7552
7563
|
}],
|
|
7553
7564
|
"mask-image-b-from-color": [{
|
|
7554
|
-
"mask-b-from":
|
|
7565
|
+
"mask-b-from": w()
|
|
7555
7566
|
}],
|
|
7556
7567
|
"mask-image-b-to-color": [{
|
|
7557
|
-
"mask-b-to":
|
|
7568
|
+
"mask-b-to": w()
|
|
7558
7569
|
}],
|
|
7559
7570
|
"mask-image-l-from-pos": [{
|
|
7560
7571
|
"mask-l-from": J()
|
|
@@ -7563,10 +7574,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7563
7574
|
"mask-l-to": J()
|
|
7564
7575
|
}],
|
|
7565
7576
|
"mask-image-l-from-color": [{
|
|
7566
|
-
"mask-l-from":
|
|
7577
|
+
"mask-l-from": w()
|
|
7567
7578
|
}],
|
|
7568
7579
|
"mask-image-l-to-color": [{
|
|
7569
|
-
"mask-l-to":
|
|
7580
|
+
"mask-l-to": w()
|
|
7570
7581
|
}],
|
|
7571
7582
|
"mask-image-x-from-pos": [{
|
|
7572
7583
|
"mask-x-from": J()
|
|
@@ -7575,10 +7586,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7575
7586
|
"mask-x-to": J()
|
|
7576
7587
|
}],
|
|
7577
7588
|
"mask-image-x-from-color": [{
|
|
7578
|
-
"mask-x-from":
|
|
7589
|
+
"mask-x-from": w()
|
|
7579
7590
|
}],
|
|
7580
7591
|
"mask-image-x-to-color": [{
|
|
7581
|
-
"mask-x-to":
|
|
7592
|
+
"mask-x-to": w()
|
|
7582
7593
|
}],
|
|
7583
7594
|
"mask-image-y-from-pos": [{
|
|
7584
7595
|
"mask-y-from": J()
|
|
@@ -7587,10 +7598,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7587
7598
|
"mask-y-to": J()
|
|
7588
7599
|
}],
|
|
7589
7600
|
"mask-image-y-from-color": [{
|
|
7590
|
-
"mask-y-from":
|
|
7601
|
+
"mask-y-from": w()
|
|
7591
7602
|
}],
|
|
7592
7603
|
"mask-image-y-to-color": [{
|
|
7593
|
-
"mask-y-to":
|
|
7604
|
+
"mask-y-to": w()
|
|
7594
7605
|
}],
|
|
7595
7606
|
"mask-image-radial": [{
|
|
7596
7607
|
"mask-radial": [_, k]
|
|
@@ -7602,10 +7613,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7602
7613
|
"mask-radial-to": J()
|
|
7603
7614
|
}],
|
|
7604
7615
|
"mask-image-radial-from-color": [{
|
|
7605
|
-
"mask-radial-from":
|
|
7616
|
+
"mask-radial-from": w()
|
|
7606
7617
|
}],
|
|
7607
7618
|
"mask-image-radial-to-color": [{
|
|
7608
|
-
"mask-radial-to":
|
|
7619
|
+
"mask-radial-to": w()
|
|
7609
7620
|
}],
|
|
7610
7621
|
"mask-image-radial-shape": [{
|
|
7611
7622
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -7617,10 +7628,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7617
7628
|
}]
|
|
7618
7629
|
}],
|
|
7619
7630
|
"mask-image-radial-pos": [{
|
|
7620
|
-
"mask-radial-at":
|
|
7631
|
+
"mask-radial-at": B()
|
|
7621
7632
|
}],
|
|
7622
7633
|
"mask-image-conic-pos": [{
|
|
7623
|
-
"mask-conic": [
|
|
7634
|
+
"mask-conic": [L]
|
|
7624
7635
|
}],
|
|
7625
7636
|
"mask-image-conic-from-pos": [{
|
|
7626
7637
|
"mask-conic-from": J()
|
|
@@ -7629,10 +7640,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7629
7640
|
"mask-conic-to": J()
|
|
7630
7641
|
}],
|
|
7631
7642
|
"mask-image-conic-from-color": [{
|
|
7632
|
-
"mask-conic-from":
|
|
7643
|
+
"mask-conic-from": w()
|
|
7633
7644
|
}],
|
|
7634
7645
|
"mask-image-conic-to-color": [{
|
|
7635
|
-
"mask-conic-to":
|
|
7646
|
+
"mask-conic-to": w()
|
|
7636
7647
|
}],
|
|
7637
7648
|
/**
|
|
7638
7649
|
* Mask Mode
|
|
@@ -7653,21 +7664,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7653
7664
|
* @see https://tailwindcss.com/docs/mask-position
|
|
7654
7665
|
*/
|
|
7655
7666
|
"mask-position": [{
|
|
7656
|
-
mask:
|
|
7667
|
+
mask: Z()
|
|
7657
7668
|
}],
|
|
7658
7669
|
/**
|
|
7659
7670
|
* Mask Repeat
|
|
7660
7671
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
7661
7672
|
*/
|
|
7662
7673
|
"mask-repeat": [{
|
|
7663
|
-
mask:
|
|
7674
|
+
mask: v()
|
|
7664
7675
|
}],
|
|
7665
7676
|
/**
|
|
7666
7677
|
* Mask Size
|
|
7667
7678
|
* @see https://tailwindcss.com/docs/mask-size
|
|
7668
7679
|
*/
|
|
7669
7680
|
"mask-size": [{
|
|
7670
|
-
mask:
|
|
7681
|
+
mask: A()
|
|
7671
7682
|
}],
|
|
7672
7683
|
/**
|
|
7673
7684
|
* Mask Type
|
|
@@ -7711,14 +7722,14 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7711
7722
|
* @see https://tailwindcss.com/docs/brightness
|
|
7712
7723
|
*/
|
|
7713
7724
|
brightness: [{
|
|
7714
|
-
brightness: [
|
|
7725
|
+
brightness: [L, _, k]
|
|
7715
7726
|
}],
|
|
7716
7727
|
/**
|
|
7717
7728
|
* Contrast
|
|
7718
7729
|
* @see https://tailwindcss.com/docs/contrast
|
|
7719
7730
|
*/
|
|
7720
7731
|
contrast: [{
|
|
7721
|
-
contrast: [
|
|
7732
|
+
contrast: [L, _, k]
|
|
7722
7733
|
}],
|
|
7723
7734
|
/**
|
|
7724
7735
|
* Drop Shadow
|
|
@@ -7739,42 +7750,42 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7739
7750
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
7740
7751
|
*/
|
|
7741
7752
|
"drop-shadow-color": [{
|
|
7742
|
-
"drop-shadow":
|
|
7753
|
+
"drop-shadow": w()
|
|
7743
7754
|
}],
|
|
7744
7755
|
/**
|
|
7745
7756
|
* Grayscale
|
|
7746
7757
|
* @see https://tailwindcss.com/docs/grayscale
|
|
7747
7758
|
*/
|
|
7748
7759
|
grayscale: [{
|
|
7749
|
-
grayscale: ["",
|
|
7760
|
+
grayscale: ["", L, _, k]
|
|
7750
7761
|
}],
|
|
7751
7762
|
/**
|
|
7752
7763
|
* Hue Rotate
|
|
7753
7764
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
7754
7765
|
*/
|
|
7755
7766
|
"hue-rotate": [{
|
|
7756
|
-
"hue-rotate": [
|
|
7767
|
+
"hue-rotate": [L, _, k]
|
|
7757
7768
|
}],
|
|
7758
7769
|
/**
|
|
7759
7770
|
* Invert
|
|
7760
7771
|
* @see https://tailwindcss.com/docs/invert
|
|
7761
7772
|
*/
|
|
7762
7773
|
invert: [{
|
|
7763
|
-
invert: ["",
|
|
7774
|
+
invert: ["", L, _, k]
|
|
7764
7775
|
}],
|
|
7765
7776
|
/**
|
|
7766
7777
|
* Saturate
|
|
7767
7778
|
* @see https://tailwindcss.com/docs/saturate
|
|
7768
7779
|
*/
|
|
7769
7780
|
saturate: [{
|
|
7770
|
-
saturate: [
|
|
7781
|
+
saturate: [L, _, k]
|
|
7771
7782
|
}],
|
|
7772
7783
|
/**
|
|
7773
7784
|
* Sepia
|
|
7774
7785
|
* @see https://tailwindcss.com/docs/sepia
|
|
7775
7786
|
*/
|
|
7776
7787
|
sepia: [{
|
|
7777
|
-
sepia: ["",
|
|
7788
|
+
sepia: ["", L, _, k]
|
|
7778
7789
|
}],
|
|
7779
7790
|
/**
|
|
7780
7791
|
* Backdrop Filter
|
|
@@ -7801,56 +7812,56 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7801
7812
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
7802
7813
|
*/
|
|
7803
7814
|
"backdrop-brightness": [{
|
|
7804
|
-
"backdrop-brightness": [
|
|
7815
|
+
"backdrop-brightness": [L, _, k]
|
|
7805
7816
|
}],
|
|
7806
7817
|
/**
|
|
7807
7818
|
* Backdrop Contrast
|
|
7808
7819
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
7809
7820
|
*/
|
|
7810
7821
|
"backdrop-contrast": [{
|
|
7811
|
-
"backdrop-contrast": [
|
|
7822
|
+
"backdrop-contrast": [L, _, k]
|
|
7812
7823
|
}],
|
|
7813
7824
|
/**
|
|
7814
7825
|
* Backdrop Grayscale
|
|
7815
7826
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
7816
7827
|
*/
|
|
7817
7828
|
"backdrop-grayscale": [{
|
|
7818
|
-
"backdrop-grayscale": ["",
|
|
7829
|
+
"backdrop-grayscale": ["", L, _, k]
|
|
7819
7830
|
}],
|
|
7820
7831
|
/**
|
|
7821
7832
|
* Backdrop Hue Rotate
|
|
7822
7833
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
7823
7834
|
*/
|
|
7824
7835
|
"backdrop-hue-rotate": [{
|
|
7825
|
-
"backdrop-hue-rotate": [
|
|
7836
|
+
"backdrop-hue-rotate": [L, _, k]
|
|
7826
7837
|
}],
|
|
7827
7838
|
/**
|
|
7828
7839
|
* Backdrop Invert
|
|
7829
7840
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
7830
7841
|
*/
|
|
7831
7842
|
"backdrop-invert": [{
|
|
7832
|
-
"backdrop-invert": ["",
|
|
7843
|
+
"backdrop-invert": ["", L, _, k]
|
|
7833
7844
|
}],
|
|
7834
7845
|
/**
|
|
7835
7846
|
* Backdrop Opacity
|
|
7836
7847
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
7837
7848
|
*/
|
|
7838
7849
|
"backdrop-opacity": [{
|
|
7839
|
-
"backdrop-opacity": [
|
|
7850
|
+
"backdrop-opacity": [L, _, k]
|
|
7840
7851
|
}],
|
|
7841
7852
|
/**
|
|
7842
7853
|
* Backdrop Saturate
|
|
7843
7854
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
7844
7855
|
*/
|
|
7845
7856
|
"backdrop-saturate": [{
|
|
7846
|
-
"backdrop-saturate": [
|
|
7857
|
+
"backdrop-saturate": [L, _, k]
|
|
7847
7858
|
}],
|
|
7848
7859
|
/**
|
|
7849
7860
|
* Backdrop Sepia
|
|
7850
7861
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
7851
7862
|
*/
|
|
7852
7863
|
"backdrop-sepia": [{
|
|
7853
|
-
"backdrop-sepia": ["",
|
|
7864
|
+
"backdrop-sepia": ["", L, _, k]
|
|
7854
7865
|
}],
|
|
7855
7866
|
// --------------
|
|
7856
7867
|
// --- Tables ---
|
|
@@ -7867,21 +7878,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7867
7878
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
7868
7879
|
*/
|
|
7869
7880
|
"border-spacing": [{
|
|
7870
|
-
"border-spacing":
|
|
7881
|
+
"border-spacing": g()
|
|
7871
7882
|
}],
|
|
7872
7883
|
/**
|
|
7873
7884
|
* Border Spacing X
|
|
7874
7885
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
7875
7886
|
*/
|
|
7876
7887
|
"border-spacing-x": [{
|
|
7877
|
-
"border-spacing-x":
|
|
7888
|
+
"border-spacing-x": g()
|
|
7878
7889
|
}],
|
|
7879
7890
|
/**
|
|
7880
7891
|
* Border Spacing Y
|
|
7881
7892
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
7882
7893
|
*/
|
|
7883
7894
|
"border-spacing-y": [{
|
|
7884
|
-
"border-spacing-y":
|
|
7895
|
+
"border-spacing-y": g()
|
|
7885
7896
|
}],
|
|
7886
7897
|
/**
|
|
7887
7898
|
* Table Layout
|
|
@@ -7919,21 +7930,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7919
7930
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
7920
7931
|
*/
|
|
7921
7932
|
duration: [{
|
|
7922
|
-
duration: [
|
|
7933
|
+
duration: [L, "initial", _, k]
|
|
7923
7934
|
}],
|
|
7924
7935
|
/**
|
|
7925
7936
|
* Transition Timing Function
|
|
7926
7937
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
7927
7938
|
*/
|
|
7928
7939
|
ease: [{
|
|
7929
|
-
ease: ["linear", "initial",
|
|
7940
|
+
ease: ["linear", "initial", F, _, k]
|
|
7930
7941
|
}],
|
|
7931
7942
|
/**
|
|
7932
7943
|
* Transition Delay
|
|
7933
7944
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
7934
7945
|
*/
|
|
7935
7946
|
delay: [{
|
|
7936
|
-
delay: [
|
|
7947
|
+
delay: [L, _, k]
|
|
7937
7948
|
}],
|
|
7938
7949
|
/**
|
|
7939
7950
|
* Animation
|
|
@@ -8074,28 +8085,28 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8074
8085
|
* @see https://tailwindcss.com/docs/translate
|
|
8075
8086
|
*/
|
|
8076
8087
|
translate: [{
|
|
8077
|
-
translate:
|
|
8088
|
+
translate: P()
|
|
8078
8089
|
}],
|
|
8079
8090
|
/**
|
|
8080
8091
|
* Translate X
|
|
8081
8092
|
* @see https://tailwindcss.com/docs/translate
|
|
8082
8093
|
*/
|
|
8083
8094
|
"translate-x": [{
|
|
8084
|
-
"translate-x":
|
|
8095
|
+
"translate-x": P()
|
|
8085
8096
|
}],
|
|
8086
8097
|
/**
|
|
8087
8098
|
* Translate Y
|
|
8088
8099
|
* @see https://tailwindcss.com/docs/translate
|
|
8089
8100
|
*/
|
|
8090
8101
|
"translate-y": [{
|
|
8091
|
-
"translate-y":
|
|
8102
|
+
"translate-y": P()
|
|
8092
8103
|
}],
|
|
8093
8104
|
/**
|
|
8094
8105
|
* Translate Z
|
|
8095
8106
|
* @see https://tailwindcss.com/docs/translate
|
|
8096
8107
|
*/
|
|
8097
8108
|
"translate-z": [{
|
|
8098
|
-
"translate-z":
|
|
8109
|
+
"translate-z": P()
|
|
8099
8110
|
}],
|
|
8100
8111
|
/**
|
|
8101
8112
|
* Translate None
|
|
@@ -8110,7 +8121,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8110
8121
|
* @see https://tailwindcss.com/docs/accent-color
|
|
8111
8122
|
*/
|
|
8112
8123
|
accent: [{
|
|
8113
|
-
accent:
|
|
8124
|
+
accent: w()
|
|
8114
8125
|
}],
|
|
8115
8126
|
/**
|
|
8116
8127
|
* Appearance
|
|
@@ -8124,7 +8135,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8124
8135
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
8125
8136
|
*/
|
|
8126
8137
|
"caret-color": [{
|
|
8127
|
-
caret:
|
|
8138
|
+
caret: w()
|
|
8128
8139
|
}],
|
|
8129
8140
|
/**
|
|
8130
8141
|
* Color Scheme
|
|
@@ -8173,126 +8184,126 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8173
8184
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8174
8185
|
*/
|
|
8175
8186
|
"scroll-m": [{
|
|
8176
|
-
"scroll-m":
|
|
8187
|
+
"scroll-m": g()
|
|
8177
8188
|
}],
|
|
8178
8189
|
/**
|
|
8179
8190
|
* Scroll Margin X
|
|
8180
8191
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8181
8192
|
*/
|
|
8182
8193
|
"scroll-mx": [{
|
|
8183
|
-
"scroll-mx":
|
|
8194
|
+
"scroll-mx": g()
|
|
8184
8195
|
}],
|
|
8185
8196
|
/**
|
|
8186
8197
|
* Scroll Margin Y
|
|
8187
8198
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8188
8199
|
*/
|
|
8189
8200
|
"scroll-my": [{
|
|
8190
|
-
"scroll-my":
|
|
8201
|
+
"scroll-my": g()
|
|
8191
8202
|
}],
|
|
8192
8203
|
/**
|
|
8193
8204
|
* Scroll Margin Start
|
|
8194
8205
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8195
8206
|
*/
|
|
8196
8207
|
"scroll-ms": [{
|
|
8197
|
-
"scroll-ms":
|
|
8208
|
+
"scroll-ms": g()
|
|
8198
8209
|
}],
|
|
8199
8210
|
/**
|
|
8200
8211
|
* Scroll Margin End
|
|
8201
8212
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8202
8213
|
*/
|
|
8203
8214
|
"scroll-me": [{
|
|
8204
|
-
"scroll-me":
|
|
8215
|
+
"scroll-me": g()
|
|
8205
8216
|
}],
|
|
8206
8217
|
/**
|
|
8207
8218
|
* Scroll Margin Top
|
|
8208
8219
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8209
8220
|
*/
|
|
8210
8221
|
"scroll-mt": [{
|
|
8211
|
-
"scroll-mt":
|
|
8222
|
+
"scroll-mt": g()
|
|
8212
8223
|
}],
|
|
8213
8224
|
/**
|
|
8214
8225
|
* Scroll Margin Right
|
|
8215
8226
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8216
8227
|
*/
|
|
8217
8228
|
"scroll-mr": [{
|
|
8218
|
-
"scroll-mr":
|
|
8229
|
+
"scroll-mr": g()
|
|
8219
8230
|
}],
|
|
8220
8231
|
/**
|
|
8221
8232
|
* Scroll Margin Bottom
|
|
8222
8233
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8223
8234
|
*/
|
|
8224
8235
|
"scroll-mb": [{
|
|
8225
|
-
"scroll-mb":
|
|
8236
|
+
"scroll-mb": g()
|
|
8226
8237
|
}],
|
|
8227
8238
|
/**
|
|
8228
8239
|
* Scroll Margin Left
|
|
8229
8240
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8230
8241
|
*/
|
|
8231
8242
|
"scroll-ml": [{
|
|
8232
|
-
"scroll-ml":
|
|
8243
|
+
"scroll-ml": g()
|
|
8233
8244
|
}],
|
|
8234
8245
|
/**
|
|
8235
8246
|
* Scroll Padding
|
|
8236
8247
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8237
8248
|
*/
|
|
8238
8249
|
"scroll-p": [{
|
|
8239
|
-
"scroll-p":
|
|
8250
|
+
"scroll-p": g()
|
|
8240
8251
|
}],
|
|
8241
8252
|
/**
|
|
8242
8253
|
* Scroll Padding X
|
|
8243
8254
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8244
8255
|
*/
|
|
8245
8256
|
"scroll-px": [{
|
|
8246
|
-
"scroll-px":
|
|
8257
|
+
"scroll-px": g()
|
|
8247
8258
|
}],
|
|
8248
8259
|
/**
|
|
8249
8260
|
* Scroll Padding Y
|
|
8250
8261
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8251
8262
|
*/
|
|
8252
8263
|
"scroll-py": [{
|
|
8253
|
-
"scroll-py":
|
|
8264
|
+
"scroll-py": g()
|
|
8254
8265
|
}],
|
|
8255
8266
|
/**
|
|
8256
8267
|
* Scroll Padding Start
|
|
8257
8268
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8258
8269
|
*/
|
|
8259
8270
|
"scroll-ps": [{
|
|
8260
|
-
"scroll-ps":
|
|
8271
|
+
"scroll-ps": g()
|
|
8261
8272
|
}],
|
|
8262
8273
|
/**
|
|
8263
8274
|
* Scroll Padding End
|
|
8264
8275
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8265
8276
|
*/
|
|
8266
8277
|
"scroll-pe": [{
|
|
8267
|
-
"scroll-pe":
|
|
8278
|
+
"scroll-pe": g()
|
|
8268
8279
|
}],
|
|
8269
8280
|
/**
|
|
8270
8281
|
* Scroll Padding Top
|
|
8271
8282
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8272
8283
|
*/
|
|
8273
8284
|
"scroll-pt": [{
|
|
8274
|
-
"scroll-pt":
|
|
8285
|
+
"scroll-pt": g()
|
|
8275
8286
|
}],
|
|
8276
8287
|
/**
|
|
8277
8288
|
* Scroll Padding Right
|
|
8278
8289
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8279
8290
|
*/
|
|
8280
8291
|
"scroll-pr": [{
|
|
8281
|
-
"scroll-pr":
|
|
8292
|
+
"scroll-pr": g()
|
|
8282
8293
|
}],
|
|
8283
8294
|
/**
|
|
8284
8295
|
* Scroll Padding Bottom
|
|
8285
8296
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8286
8297
|
*/
|
|
8287
8298
|
"scroll-pb": [{
|
|
8288
|
-
"scroll-pb":
|
|
8299
|
+
"scroll-pb": g()
|
|
8289
8300
|
}],
|
|
8290
8301
|
/**
|
|
8291
8302
|
* Scroll Padding Left
|
|
8292
8303
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8293
8304
|
*/
|
|
8294
8305
|
"scroll-pl": [{
|
|
8295
|
-
"scroll-pl":
|
|
8306
|
+
"scroll-pl": g()
|
|
8296
8307
|
}],
|
|
8297
8308
|
/**
|
|
8298
8309
|
* Scroll Snap Align
|
|
@@ -8370,21 +8381,21 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8370
8381
|
* @see https://tailwindcss.com/docs/fill
|
|
8371
8382
|
*/
|
|
8372
8383
|
fill: [{
|
|
8373
|
-
fill: ["none", ...
|
|
8384
|
+
fill: ["none", ...w()]
|
|
8374
8385
|
}],
|
|
8375
8386
|
/**
|
|
8376
8387
|
* Stroke Width
|
|
8377
8388
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
8378
8389
|
*/
|
|
8379
8390
|
"stroke-w": [{
|
|
8380
|
-
stroke: [
|
|
8391
|
+
stroke: [L, Lo, vo, Zo]
|
|
8381
8392
|
}],
|
|
8382
8393
|
/**
|
|
8383
8394
|
* Stroke
|
|
8384
8395
|
* @see https://tailwindcss.com/docs/stroke
|
|
8385
8396
|
*/
|
|
8386
8397
|
stroke: [{
|
|
8387
|
-
stroke: ["none", ...
|
|
8398
|
+
stroke: ["none", ...w()]
|
|
8388
8399
|
}],
|
|
8389
8400
|
// ---------------------
|
|
8390
8401
|
// --- Accessibility ---
|
|
@@ -8471,81 +8482,82 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8471
8482
|
value: m,
|
|
8472
8483
|
controlled: p,
|
|
8473
8484
|
rules: T,
|
|
8474
|
-
onChange:
|
|
8485
|
+
onChange: F,
|
|
8475
8486
|
onCommit: M,
|
|
8476
|
-
leadingIcon:
|
|
8477
|
-
trailingIcon:
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8487
|
+
leadingIcon: R,
|
|
8488
|
+
trailingIcon: B,
|
|
8489
|
+
bare: D,
|
|
8490
|
+
...I
|
|
8491
|
+
} = t, $ = m instanceof To, g = typeof m == "string" ? m : $ ? m.value : "", [z, O] = Y(g);
|
|
8492
|
+
q(() => {
|
|
8481
8493
|
if (p) {
|
|
8482
|
-
if (
|
|
8483
|
-
return m.subscribe(
|
|
8484
|
-
|
|
8494
|
+
if ($)
|
|
8495
|
+
return m.subscribe(O);
|
|
8496
|
+
O(typeof m == "string" ? m : "");
|
|
8485
8497
|
}
|
|
8486
|
-
}, [p, m,
|
|
8498
|
+
}, [p, m, $]), q(() => p || !$ ? void 0 : m.subscribe((v) => {
|
|
8487
8499
|
if (s.current) return;
|
|
8488
|
-
const
|
|
8489
|
-
|
|
8490
|
-
}), [m,
|
|
8491
|
-
const
|
|
8492
|
-
if (!
|
|
8493
|
-
T && (
|
|
8494
|
-
const
|
|
8495
|
-
|
|
8496
|
-
|
|
8500
|
+
const A = n.current;
|
|
8501
|
+
A && A.value !== v && (A.value = v);
|
|
8502
|
+
}), [m, $, p]), l.useEffect(() => {
|
|
8503
|
+
const Z = n.current;
|
|
8504
|
+
if (!Z) return;
|
|
8505
|
+
T && (Z.__fiboRules = T);
|
|
8506
|
+
const v = Z.closest(".fibo-textfield-container"), A = v == null ? void 0 : v.querySelector(".fibo-field-error");
|
|
8507
|
+
v && (v.__fiboShowError = (K) => {
|
|
8508
|
+
A && (A.textContent = K ?? "", A.style.display = K ? "" : "none");
|
|
8497
8509
|
});
|
|
8498
8510
|
}, [T]);
|
|
8499
|
-
const
|
|
8511
|
+
const W = x === "password", S = W && i ? "text" : x, C = (Z) => d ? tn(Z, d) : Z, w = {
|
|
8500
8512
|
key: "input",
|
|
8501
8513
|
ref: n,
|
|
8502
8514
|
id: e,
|
|
8503
|
-
className: "fibo-textfield-input w-full h-full bg-transparent outline-none py-2.5 text-sm",
|
|
8504
|
-
style: { paddingLeft:
|
|
8505
|
-
type:
|
|
8506
|
-
onChange: (
|
|
8507
|
-
let
|
|
8508
|
-
d &&
|
|
8515
|
+
className: D ? "fibo-textfield-input w-full bg-transparent outline-none" : "fibo-textfield-input w-full h-full bg-transparent outline-none py-2.5 text-sm",
|
|
8516
|
+
style: { paddingLeft: D ? 0 : R ? "2.75rem" : "1rem", paddingRight: D ? 0 : B || W ? "2.75rem" : "1rem" },
|
|
8517
|
+
type: S,
|
|
8518
|
+
onChange: (Z) => {
|
|
8519
|
+
let v = C(Z.target.value);
|
|
8520
|
+
d && Z.target.value !== v && (Z.target.value = v), p && O(v), $ && (s.current = !0, m.value = v, s.current = !1), F == null || F(v);
|
|
8509
8521
|
},
|
|
8510
|
-
onBlur: (
|
|
8511
|
-
var
|
|
8512
|
-
M == null || M(
|
|
8522
|
+
onBlur: (Z) => {
|
|
8523
|
+
var v;
|
|
8524
|
+
M == null || M(C(Z.target.value)), (v = I.onBlur) == null || v.call(I, Z);
|
|
8513
8525
|
},
|
|
8514
|
-
...
|
|
8526
|
+
...I
|
|
8515
8527
|
};
|
|
8516
|
-
return p ?
|
|
8528
|
+
return p ? w.value = z : w.defaultValue = g, l.createElement(
|
|
8517
8529
|
"div",
|
|
8518
8530
|
{ className: f, style: a },
|
|
8519
8531
|
l.createElement(
|
|
8520
8532
|
"div",
|
|
8521
8533
|
{ className: u || "relative w-full h-14 flex items-center" },
|
|
8522
8534
|
[
|
|
8523
|
-
|
|
8535
|
+
R && l.createElement(
|
|
8524
8536
|
"div",
|
|
8525
8537
|
{
|
|
8526
8538
|
key: "leading-icon",
|
|
8527
8539
|
className: "absolute left-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center pointer-events-none z-10"
|
|
8528
8540
|
},
|
|
8529
|
-
|
|
8541
|
+
R
|
|
8530
8542
|
),
|
|
8531
|
-
l.createElement("input",
|
|
8543
|
+
l.createElement("input", w),
|
|
8532
8544
|
b && l.createElement(
|
|
8533
8545
|
"label",
|
|
8534
8546
|
{
|
|
8535
8547
|
key: "label",
|
|
8536
8548
|
htmlFor: e,
|
|
8537
8549
|
className: "fibo-textfield-label",
|
|
8538
|
-
style: { left:
|
|
8550
|
+
style: { left: D ? 0 : R ? "2.75rem" : "1rem" }
|
|
8539
8551
|
},
|
|
8540
8552
|
b
|
|
8541
8553
|
),
|
|
8542
|
-
(
|
|
8554
|
+
(B || W) && l.createElement(
|
|
8543
8555
|
"div",
|
|
8544
8556
|
{
|
|
8545
8557
|
key: "trailing-icon",
|
|
8546
8558
|
className: "absolute right-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center z-10"
|
|
8547
8559
|
},
|
|
8548
|
-
|
|
8560
|
+
W ? l.createElement(
|
|
8549
8561
|
"button",
|
|
8550
8562
|
{
|
|
8551
8563
|
type: "button",
|
|
@@ -8586,7 +8598,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8586
8598
|
}),
|
|
8587
8599
|
l.createElement("circle", { cx: 12, cy: 12, r: 3 })
|
|
8588
8600
|
)
|
|
8589
|
-
) :
|
|
8601
|
+
) : B
|
|
8590
8602
|
)
|
|
8591
8603
|
]
|
|
8592
8604
|
),
|
|
@@ -8677,14 +8689,15 @@ class nn extends ao {
|
|
|
8677
8689
|
return this._variant = e, this;
|
|
8678
8690
|
}
|
|
8679
8691
|
build() {
|
|
8680
|
-
let e = "relative w-full h-14 flex items-center";
|
|
8681
|
-
this._variant === "outlined" ? e += " border border-[var(--fibo-outline)] rounded-[4px] bg-transparent" : e += " bg-[var(--fibo-surface-variant)] rounded-t-[4px] border-b border-[var(--fibo-outline)]";
|
|
8692
|
+
let e = this.isReset() ? "relative w-full flex items-center" : "relative w-full h-14 flex items-center";
|
|
8693
|
+
this.isReset() || (this._variant === "outlined" ? e += " border border-[var(--fibo-outline)] rounded-[4px] bg-transparent" : e += " bg-[var(--fibo-surface-variant)] rounded-t-[4px] border-b border-[var(--fibo-outline)]");
|
|
8682
8694
|
const r = {
|
|
8683
8695
|
containerClass: Fo(
|
|
8684
8696
|
"fibo-textfield-container w-full flex flex-col",
|
|
8685
8697
|
...this._classNames
|
|
8686
8698
|
),
|
|
8687
8699
|
fieldClass: e,
|
|
8700
|
+
bare: this.isReset(),
|
|
8688
8701
|
containerStyle: this.getStyle(),
|
|
8689
8702
|
label: this._label,
|
|
8690
8703
|
error: this._error,
|
|
@@ -8720,37 +8733,37 @@ const ks = co(nn), sn = l.memo((t) => {
|
|
|
8720
8733
|
className: h,
|
|
8721
8734
|
style: d,
|
|
8722
8735
|
id: x
|
|
8723
|
-
} = t, m = U(null), p = U(null), T = o, [
|
|
8724
|
-
|
|
8736
|
+
} = t, m = U(null), p = U(null), T = o, [F, M] = Y(T), R = e ? !!o : F, B = R || s;
|
|
8737
|
+
q(() => {
|
|
8725
8738
|
m.current && (m.current.indeterminate = !!s);
|
|
8726
|
-
}, [s]),
|
|
8739
|
+
}, [s]), q(() => {
|
|
8727
8740
|
if (e) return;
|
|
8728
|
-
const
|
|
8729
|
-
if (!
|
|
8730
|
-
const z = () => M(
|
|
8741
|
+
const g = m.current;
|
|
8742
|
+
if (!g) return;
|
|
8743
|
+
const z = () => M(g.checked), O = () => {
|
|
8731
8744
|
requestAnimationFrame(z);
|
|
8732
8745
|
};
|
|
8733
|
-
|
|
8734
|
-
const
|
|
8735
|
-
return
|
|
8736
|
-
|
|
8746
|
+
g.addEventListener("fibo-sync", z);
|
|
8747
|
+
const W = g.closest("form");
|
|
8748
|
+
return W == null || W.addEventListener("reset", O), () => {
|
|
8749
|
+
g.removeEventListener("fibo-sync", z), W == null || W.removeEventListener("reset", O);
|
|
8737
8750
|
};
|
|
8738
|
-
}, [e]),
|
|
8739
|
-
const
|
|
8740
|
-
if (!
|
|
8741
|
-
u && (
|
|
8742
|
-
const
|
|
8743
|
-
z && (z.__fiboShowError = (
|
|
8744
|
-
|
|
8751
|
+
}, [e]), q(() => {
|
|
8752
|
+
const g = m.current, z = p.current;
|
|
8753
|
+
if (!g) return;
|
|
8754
|
+
u && (g.__fiboRules = u);
|
|
8755
|
+
const O = z == null ? void 0 : z.querySelector(".fibo-field-error");
|
|
8756
|
+
z && (z.__fiboShowError = (W) => {
|
|
8757
|
+
O && (O.textContent = W ?? "", O.style.display = W ? "" : "none");
|
|
8745
8758
|
});
|
|
8746
8759
|
}, [u]);
|
|
8747
|
-
const D = (
|
|
8760
|
+
const D = (g) => {
|
|
8748
8761
|
if (n) return;
|
|
8749
|
-
const z =
|
|
8762
|
+
const z = g.target.checked;
|
|
8750
8763
|
e || M(z), i == null || i(z);
|
|
8751
8764
|
};
|
|
8752
8765
|
let I = null;
|
|
8753
|
-
s ? I = l.createElement("div", { className: "w-[10px] h-[2px] bg-white rounded-[1px]" }) :
|
|
8766
|
+
s ? I = l.createElement("div", { className: "w-[10px] h-[2px] bg-white rounded-[1px]" }) : R && (I = l.createElement(
|
|
8754
8767
|
"svg",
|
|
8755
8768
|
{
|
|
8756
8769
|
width: "12",
|
|
@@ -8768,7 +8781,7 @@ const ks = co(nn), sn = l.memo((t) => {
|
|
|
8768
8781
|
strokeLinejoin: "round"
|
|
8769
8782
|
})
|
|
8770
8783
|
));
|
|
8771
|
-
const
|
|
8784
|
+
const $ = {
|
|
8772
8785
|
ref: m,
|
|
8773
8786
|
id: x,
|
|
8774
8787
|
type: "checkbox",
|
|
@@ -8778,7 +8791,7 @@ const ks = co(nn), sn = l.memo((t) => {
|
|
|
8778
8791
|
className: "sr-only",
|
|
8779
8792
|
onChange: D
|
|
8780
8793
|
};
|
|
8781
|
-
return e ?
|
|
8794
|
+
return e ? $.checked = !!o : $.defaultChecked = T, l.createElement(
|
|
8782
8795
|
"div",
|
|
8783
8796
|
{
|
|
8784
8797
|
ref: p,
|
|
@@ -8795,7 +8808,7 @@ const ks = co(nn), sn = l.memo((t) => {
|
|
|
8795
8808
|
className: Fo(
|
|
8796
8809
|
"fibo-checkbox-box w-5 h-5 rounded-[6px] border-2 flex items-center justify-center transition-all duration-200",
|
|
8797
8810
|
n ? "cursor-not-allowed opacity-50" : "cursor-pointer",
|
|
8798
|
-
|
|
8811
|
+
B ? "border-transparent bg-[var(--fibo-primary,#3B82F6)]" : "border-gray-300 bg-transparent"
|
|
8799
8812
|
),
|
|
8800
8813
|
style: d,
|
|
8801
8814
|
"aria-hidden": !0
|
|
@@ -8803,7 +8816,7 @@ const ks = co(nn), sn = l.memo((t) => {
|
|
|
8803
8816
|
I
|
|
8804
8817
|
),
|
|
8805
8818
|
r && l.createElement("span", { className: "text-sm text-gray-700 select-none" }, r),
|
|
8806
|
-
l.createElement("input",
|
|
8819
|
+
l.createElement("input", $)
|
|
8807
8820
|
),
|
|
8808
8821
|
l.createElement(
|
|
8809
8822
|
"span",
|
|
@@ -8889,7 +8902,7 @@ function an(t) {
|
|
|
8889
8902
|
return Array.isArray(t) ? t.join(",") : t ?? "";
|
|
8890
8903
|
}
|
|
8891
8904
|
const cn = l.memo((t) => {
|
|
8892
|
-
const o = l.useId(), e = t.id || o, i = `${e}-listbox`, [r, n] =
|
|
8905
|
+
const o = l.useId(), e = t.id || o, i = `${e}-listbox`, [r, n] = Y(!1), [s, f] = Y(0), a = U(null), u = U(null), {
|
|
8893
8906
|
containerClass: b,
|
|
8894
8907
|
containerStyle: h,
|
|
8895
8908
|
label: d,
|
|
@@ -8897,48 +8910,48 @@ const cn = l.memo((t) => {
|
|
|
8897
8910
|
value: m,
|
|
8898
8911
|
options: p = [],
|
|
8899
8912
|
placeholder: T,
|
|
8900
|
-
onChange:
|
|
8913
|
+
onChange: F,
|
|
8901
8914
|
disabled: M,
|
|
8902
|
-
multiple:
|
|
8903
|
-
name:
|
|
8915
|
+
multiple: R,
|
|
8916
|
+
name: B,
|
|
8904
8917
|
controlled: D = !1,
|
|
8905
8918
|
rules: I
|
|
8906
|
-
} = t, [
|
|
8907
|
-
() => m ?? (
|
|
8908
|
-
), z = D ? m ?? (
|
|
8909
|
-
|
|
8910
|
-
const y = (
|
|
8911
|
-
a.current && !a.current.contains(
|
|
8919
|
+
} = t, [$, g] = Y(
|
|
8920
|
+
() => m ?? (R ? [] : "")
|
|
8921
|
+
), z = D ? m ?? (R ? [] : "") : $;
|
|
8922
|
+
q(() => {
|
|
8923
|
+
const y = (N) => {
|
|
8924
|
+
a.current && !a.current.contains(N.target) && n(!1);
|
|
8912
8925
|
};
|
|
8913
8926
|
return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
|
|
8914
|
-
}, []),
|
|
8927
|
+
}, []), q(() => {
|
|
8915
8928
|
const y = u.current;
|
|
8916
8929
|
if (!y) return;
|
|
8917
8930
|
I && (y.__fiboRules = I);
|
|
8918
|
-
const
|
|
8919
|
-
|
|
8920
|
-
|
|
8931
|
+
const N = y.closest(".fibo-textfield-container"), G = N == null ? void 0 : N.querySelector(".fibo-field-error");
|
|
8932
|
+
N && (N.__fiboShowError = (w) => {
|
|
8933
|
+
G && (G.textContent = w ?? "", G.style.display = w ? "" : "none");
|
|
8921
8934
|
});
|
|
8922
8935
|
}, [I]);
|
|
8923
|
-
const
|
|
8924
|
-
let
|
|
8925
|
-
if (
|
|
8926
|
-
Array.isArray(z) && z.length > 0 && (
|
|
8936
|
+
const O = (y) => R ? Array.isArray(z) && z.includes(y) : z === y;
|
|
8937
|
+
let W = "";
|
|
8938
|
+
if (R)
|
|
8939
|
+
Array.isArray(z) && z.length > 0 && (W = p.filter((y) => z.includes(y.value)).map((y) => y.label).join(", "));
|
|
8927
8940
|
else {
|
|
8928
|
-
const y = p.find((
|
|
8929
|
-
|
|
8941
|
+
const y = p.find((N) => N.value === z);
|
|
8942
|
+
W = y ? y.label : "";
|
|
8930
8943
|
}
|
|
8931
8944
|
const S = (y) => {
|
|
8932
8945
|
if (M) return;
|
|
8933
|
-
let
|
|
8934
|
-
if (
|
|
8935
|
-
const
|
|
8936
|
-
|
|
8946
|
+
let N;
|
|
8947
|
+
if (R) {
|
|
8948
|
+
const G = Array.isArray(z) ? [...z] : [], w = G.indexOf(y);
|
|
8949
|
+
w > -1 ? G.splice(w, 1) : G.push(y), N = G;
|
|
8937
8950
|
} else
|
|
8938
|
-
|
|
8939
|
-
D ||
|
|
8951
|
+
N = y, n(!1);
|
|
8952
|
+
D || g(N), F == null || F(N);
|
|
8940
8953
|
}, C = (y) => {
|
|
8941
|
-
p.length !== 0 && f((
|
|
8954
|
+
p.length !== 0 && f((N) => (N + y + p.length) % p.length);
|
|
8942
8955
|
}, V = (y) => {
|
|
8943
8956
|
if (!M)
|
|
8944
8957
|
switch (y.key) {
|
|
@@ -8971,11 +8984,11 @@ const cn = l.memo((t) => {
|
|
|
8971
8984
|
style: h
|
|
8972
8985
|
},
|
|
8973
8986
|
l.createElement("div", { className: "relative w-full h-full" }, [
|
|
8974
|
-
|
|
8987
|
+
B ? l.createElement("input", {
|
|
8975
8988
|
key: "hidden",
|
|
8976
8989
|
ref: u,
|
|
8977
8990
|
type: "hidden",
|
|
8978
|
-
name:
|
|
8991
|
+
name: B,
|
|
8979
8992
|
value: an(z)
|
|
8980
8993
|
}) : null,
|
|
8981
8994
|
l.createElement("button", {
|
|
@@ -8988,11 +9001,11 @@ const cn = l.memo((t) => {
|
|
|
8988
9001
|
"aria-controls": i,
|
|
8989
9002
|
"aria-activedescendant": r && p[s] ? `${i}-opt-${p[s].value}` : void 0,
|
|
8990
9003
|
disabled: M,
|
|
8991
|
-
className: `fibo-textfield-input text-left w-full flex items-center justify-between ${
|
|
9004
|
+
className: `fibo-textfield-input text-left w-full flex items-center justify-between ${W ? "" : "text-gray-400"}`,
|
|
8992
9005
|
onClick: () => !M && n(!r),
|
|
8993
9006
|
onKeyDown: V
|
|
8994
9007
|
}, [
|
|
8995
|
-
l.createElement("span", { key: "text", className: "truncate" },
|
|
9008
|
+
l.createElement("span", { key: "text", className: "truncate" }, W || T || " "),
|
|
8996
9009
|
l.createElement("svg", {
|
|
8997
9010
|
key: "icon",
|
|
8998
9011
|
className: `w-4 h-4 transition-transform ${r ? "rotate-180" : ""}`,
|
|
@@ -9015,21 +9028,21 @@ const cn = l.memo((t) => {
|
|
|
9015
9028
|
key: "dropdown",
|
|
9016
9029
|
id: i,
|
|
9017
9030
|
role: "listbox",
|
|
9018
|
-
"aria-multiselectable":
|
|
9031
|
+
"aria-multiselectable": R || void 0,
|
|
9019
9032
|
className: "absolute z-50 w-full mt-1 bg-[var(--fibo-surface)] border border-[var(--fibo-outline)] rounded-md shadow-lg max-h-60 overflow-auto focus:outline-none"
|
|
9020
|
-
}, p.map((y,
|
|
9021
|
-
const
|
|
9033
|
+
}, p.map((y, N) => {
|
|
9034
|
+
const G = O(y.value), w = N === s;
|
|
9022
9035
|
return l.createElement("div", {
|
|
9023
9036
|
key: y.value,
|
|
9024
9037
|
id: `${i}-opt-${y.value}`,
|
|
9025
9038
|
role: "option",
|
|
9026
|
-
"aria-selected":
|
|
9027
|
-
className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] flex items-center justify-between ${
|
|
9039
|
+
"aria-selected": G,
|
|
9040
|
+
className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] flex items-center justify-between ${G || w ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"}`,
|
|
9028
9041
|
onClick: () => S(y.value),
|
|
9029
|
-
onMouseEnter: () => f(
|
|
9042
|
+
onMouseEnter: () => f(N)
|
|
9030
9043
|
}, [
|
|
9031
9044
|
l.createElement("span", { key: "label" }, y.label),
|
|
9032
|
-
|
|
9045
|
+
G && l.createElement("svg", {
|
|
9033
9046
|
key: "check",
|
|
9034
9047
|
className: "w-4 h-4 text-[var(--fibo-primary)]",
|
|
9035
9048
|
viewBox: "0 0 20 20",
|
|
@@ -9129,84 +9142,84 @@ function un(t) {
|
|
|
9129
9142
|
return Array.isArray(t) ? t.join(",") : t ?? "";
|
|
9130
9143
|
}
|
|
9131
9144
|
const bn = l.memo((t) => {
|
|
9132
|
-
const o = l.useId(), e = t.id || o, i = `${e}-listbox`, [r, n] =
|
|
9145
|
+
const o = l.useId(), e = t.id || o, i = `${e}-listbox`, [r, n] = Y(!1), [s, f] = Y(""), [a, u] = Y(0), b = U(null), h = U(null), {
|
|
9133
9146
|
containerClass: d,
|
|
9134
9147
|
containerStyle: x,
|
|
9135
9148
|
label: m,
|
|
9136
9149
|
error: p,
|
|
9137
9150
|
value: T,
|
|
9138
|
-
options:
|
|
9151
|
+
options: F = [],
|
|
9139
9152
|
placeholder: M,
|
|
9140
|
-
onChange:
|
|
9141
|
-
onAdd:
|
|
9153
|
+
onChange: R,
|
|
9154
|
+
onAdd: B,
|
|
9142
9155
|
disabled: D,
|
|
9143
9156
|
multiple: I,
|
|
9144
|
-
name:
|
|
9145
|
-
controlled:
|
|
9157
|
+
name: $,
|
|
9158
|
+
controlled: g = !1,
|
|
9146
9159
|
rules: z
|
|
9147
|
-
} = t, [
|
|
9160
|
+
} = t, [O, W] = Y(
|
|
9148
9161
|
() => T ?? (I ? [] : "")
|
|
9149
|
-
), S =
|
|
9150
|
-
|
|
9162
|
+
), S = g ? T ?? (I ? [] : "") : O;
|
|
9163
|
+
q(() => {
|
|
9151
9164
|
if (!I) {
|
|
9152
|
-
const
|
|
9153
|
-
|
|
9165
|
+
const v = F.find((A) => A.value === S);
|
|
9166
|
+
v && !r && s !== v.label && f(v.label);
|
|
9154
9167
|
}
|
|
9155
|
-
}, [S,
|
|
9156
|
-
const C =
|
|
9157
|
-
(
|
|
9168
|
+
}, [S, F, r, I]);
|
|
9169
|
+
const C = F.filter(
|
|
9170
|
+
(v) => v.label.toLowerCase().includes(s.toLowerCase())
|
|
9158
9171
|
);
|
|
9159
|
-
|
|
9172
|
+
q(() => {
|
|
9160
9173
|
u(0);
|
|
9161
|
-
}, [s, r]),
|
|
9162
|
-
const
|
|
9163
|
-
if (b.current && !b.current.contains(
|
|
9174
|
+
}, [s, r]), q(() => {
|
|
9175
|
+
const v = (A) => {
|
|
9176
|
+
if (b.current && !b.current.contains(A.target))
|
|
9164
9177
|
if (n(!1), I)
|
|
9165
9178
|
f("");
|
|
9166
9179
|
else {
|
|
9167
|
-
const
|
|
9168
|
-
f(
|
|
9180
|
+
const K = F.find((X) => X.value === S);
|
|
9181
|
+
f(K ? K.label : "");
|
|
9169
9182
|
}
|
|
9170
9183
|
};
|
|
9171
|
-
return document.addEventListener("mousedown",
|
|
9172
|
-
}, [S,
|
|
9173
|
-
const
|
|
9174
|
-
if (!
|
|
9175
|
-
z && (
|
|
9176
|
-
const
|
|
9177
|
-
|
|
9178
|
-
|
|
9184
|
+
return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
|
|
9185
|
+
}, [S, F, I]), q(() => {
|
|
9186
|
+
const v = h.current;
|
|
9187
|
+
if (!v) return;
|
|
9188
|
+
z && (v.__fiboRules = z);
|
|
9189
|
+
const A = v.closest(".fibo-textfield-container"), K = A == null ? void 0 : A.querySelector(".fibo-field-error");
|
|
9190
|
+
A && (A.__fiboShowError = (X) => {
|
|
9191
|
+
K && (K.textContent = X ?? "", K.style.display = X ? "" : "none");
|
|
9179
9192
|
});
|
|
9180
9193
|
}, [z]);
|
|
9181
|
-
const V = (
|
|
9182
|
-
|
|
9183
|
-
}, y = (
|
|
9194
|
+
const V = (v) => {
|
|
9195
|
+
g || W(v), R == null || R(v);
|
|
9196
|
+
}, y = (v) => {
|
|
9184
9197
|
if (I) {
|
|
9185
|
-
const
|
|
9186
|
-
|
|
9198
|
+
const A = Array.isArray(S) ? [...S] : [];
|
|
9199
|
+
A.includes(v.value) || (A.push(v.value), V(A)), f("");
|
|
9187
9200
|
} else
|
|
9188
|
-
f(
|
|
9189
|
-
},
|
|
9201
|
+
f(v.label), V(v.value), n(!1);
|
|
9202
|
+
}, N = (v) => {
|
|
9190
9203
|
if (I && Array.isArray(S)) {
|
|
9191
|
-
const
|
|
9192
|
-
V(
|
|
9204
|
+
const A = S.filter((K) => K !== v);
|
|
9205
|
+
V(A);
|
|
9193
9206
|
}
|
|
9194
|
-
},
|
|
9195
|
-
|
|
9196
|
-
},
|
|
9207
|
+
}, G = () => {
|
|
9208
|
+
B == null || B(s), I ? f("") : n(!1);
|
|
9209
|
+
}, w = (v) => I ? Array.isArray(S) && S.includes(v) : S === v, Z = (v) => {
|
|
9197
9210
|
if (!D)
|
|
9198
|
-
switch (
|
|
9211
|
+
switch (v.key) {
|
|
9199
9212
|
case "ArrowDown":
|
|
9200
|
-
|
|
9213
|
+
v.preventDefault(), r ? C.length && u((A) => (A + 1) % C.length) : n(!0);
|
|
9201
9214
|
break;
|
|
9202
9215
|
case "ArrowUp":
|
|
9203
|
-
|
|
9216
|
+
v.preventDefault(), r ? C.length && u((A) => (A - 1 + C.length) % C.length) : n(!0);
|
|
9204
9217
|
break;
|
|
9205
9218
|
case "Enter":
|
|
9206
|
-
|
|
9219
|
+
v.preventDefault(), C[a] ? y(C[a]) : s && B && G();
|
|
9207
9220
|
break;
|
|
9208
9221
|
case "Escape":
|
|
9209
|
-
|
|
9222
|
+
v.preventDefault(), n(!1);
|
|
9210
9223
|
break;
|
|
9211
9224
|
}
|
|
9212
9225
|
};
|
|
@@ -9218,11 +9231,11 @@ const bn = l.memo((t) => {
|
|
|
9218
9231
|
style: x
|
|
9219
9232
|
},
|
|
9220
9233
|
l.createElement("div", { className: "relative w-full h-full" }, [
|
|
9221
|
-
|
|
9234
|
+
$ ? l.createElement("input", {
|
|
9222
9235
|
key: "hidden",
|
|
9223
9236
|
ref: h,
|
|
9224
9237
|
type: "hidden",
|
|
9225
|
-
name:
|
|
9238
|
+
name: $,
|
|
9226
9239
|
value: un(S)
|
|
9227
9240
|
}) : null,
|
|
9228
9241
|
l.createElement("div", {
|
|
@@ -9230,19 +9243,19 @@ const bn = l.memo((t) => {
|
|
|
9230
9243
|
className: `fibo-textfield-input flex flex-wrap items-center gap-1 ${r ? "ring-2 ring-[var(--fibo-primary-container)] border-[var(--fibo-primary)]" : ""}`,
|
|
9231
9244
|
style: { minHeight: "42px", padding: "4px 8px" }
|
|
9232
9245
|
}, [
|
|
9233
|
-
I && Array.isArray(S) && S.map((
|
|
9234
|
-
const
|
|
9246
|
+
I && Array.isArray(S) && S.map((v) => {
|
|
9247
|
+
const A = F.find((X) => X.value === v), K = A ? A.label : v;
|
|
9235
9248
|
return l.createElement("span", {
|
|
9236
|
-
key:
|
|
9249
|
+
key: v,
|
|
9237
9250
|
className: "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] text-xs font-medium px-2 py-1 rounded-md flex items-center"
|
|
9238
9251
|
}, [
|
|
9239
|
-
|
|
9252
|
+
K,
|
|
9240
9253
|
l.createElement("button", {
|
|
9241
9254
|
type: "button",
|
|
9242
9255
|
className: "ml-1 hover:text-[var(--fibo-primary)] focus:outline-none",
|
|
9243
|
-
"aria-label": `Remove ${
|
|
9244
|
-
onClick: (
|
|
9245
|
-
|
|
9256
|
+
"aria-label": `Remove ${K}`,
|
|
9257
|
+
onClick: (X) => {
|
|
9258
|
+
X.stopPropagation(), N(v);
|
|
9246
9259
|
}
|
|
9247
9260
|
}, "×")
|
|
9248
9261
|
]);
|
|
@@ -9259,11 +9272,11 @@ const bn = l.memo((t) => {
|
|
|
9259
9272
|
value: s,
|
|
9260
9273
|
placeholder: I && Array.isArray(S) && S.length > 0 ? "" : M || " ",
|
|
9261
9274
|
disabled: D,
|
|
9262
|
-
onChange: (
|
|
9263
|
-
f(
|
|
9275
|
+
onChange: (v) => {
|
|
9276
|
+
f(v.target.value), r || n(!0);
|
|
9264
9277
|
},
|
|
9265
9278
|
onFocus: () => n(!0),
|
|
9266
|
-
onKeyDown:
|
|
9279
|
+
onKeyDown: Z
|
|
9267
9280
|
})
|
|
9268
9281
|
]),
|
|
9269
9282
|
m && l.createElement(
|
|
@@ -9282,24 +9295,24 @@ const bn = l.memo((t) => {
|
|
|
9282
9295
|
"aria-multiselectable": I || void 0,
|
|
9283
9296
|
className: "absolute z-50 w-full mt-1 bg-[var(--fibo-surface)] border border-[var(--fibo-outline)] rounded-md shadow-lg max-h-60 overflow-auto focus:outline-none left-0"
|
|
9284
9297
|
}, [
|
|
9285
|
-
...C.length > 0 ? C.map((
|
|
9286
|
-
const
|
|
9298
|
+
...C.length > 0 ? C.map((v, A) => {
|
|
9299
|
+
const K = w(v.value), X = A === a;
|
|
9287
9300
|
return l.createElement("div", {
|
|
9288
|
-
key:
|
|
9289
|
-
id: `${i}-opt-${
|
|
9301
|
+
key: v.value,
|
|
9302
|
+
id: `${i}-opt-${v.value}`,
|
|
9290
9303
|
role: "option",
|
|
9291
|
-
"aria-selected":
|
|
9292
|
-
className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] ${
|
|
9293
|
-
onClick: () => !
|
|
9294
|
-
onMouseEnter: () => u(
|
|
9295
|
-
},
|
|
9304
|
+
"aria-selected": K,
|
|
9305
|
+
className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] ${K || X ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"} ${K ? "opacity-50" : ""}`,
|
|
9306
|
+
onClick: () => !K && y(v),
|
|
9307
|
+
onMouseEnter: () => u(A)
|
|
9308
|
+
}, v.label);
|
|
9296
9309
|
}) : [l.createElement("div", { key: "empty", className: "px-4 py-2 text-sm text-gray-500" }, "No results found.")],
|
|
9297
|
-
s && !C.some((
|
|
9310
|
+
s && !C.some((v) => v.label.toLowerCase() === s.toLowerCase()) && B ? l.createElement("div", {
|
|
9298
9311
|
key: "add-new",
|
|
9299
9312
|
role: "option",
|
|
9300
9313
|
"aria-selected": !1,
|
|
9301
9314
|
className: "border-t border-[var(--fibo-outline)] px-4 py-2 cursor-pointer text-sm text-[var(--fibo-primary)] hover:bg-[var(--fibo-primary-container)] font-medium flex items-center",
|
|
9302
|
-
onClick:
|
|
9315
|
+
onClick: G
|
|
9303
9316
|
}, [
|
|
9304
9317
|
l.createElement("span", { key: "plus", className: "mr-1" }, "+"),
|
|
9305
9318
|
`Add "${s}"`
|
|
@@ -9535,70 +9548,70 @@ const vn = l.memo((t) => {
|
|
|
9535
9548
|
customItemActive: m,
|
|
9536
9549
|
customItemFocus: p,
|
|
9537
9550
|
itemStyle: T
|
|
9538
|
-
} = t, M = l.useId().replace(/:/g, ""),
|
|
9551
|
+
} = t, M = l.useId().replace(/:/g, ""), R = `fibo-list-${M}`, B = `fibo-list-custom-styles-${M}`, [D, I] = Y(0), [$, g] = Y(0), z = U(null), O = U(/* @__PURE__ */ new Map()), W = U(/* @__PURE__ */ new Map()), S = U(null), C = d === "horizontal", V = o.length, y = V > gn, N = (P) => W.current.get(P) ?? Ie, G = (P) => {
|
|
9539
9552
|
let j = 0;
|
|
9540
|
-
for (let eo = 0; eo <
|
|
9541
|
-
j +=
|
|
9553
|
+
for (let eo = 0; eo < P; eo++)
|
|
9554
|
+
j += N(eo);
|
|
9542
9555
|
return j;
|
|
9543
|
-
},
|
|
9544
|
-
let
|
|
9556
|
+
}, w = () => {
|
|
9557
|
+
let P = 0;
|
|
9545
9558
|
for (let j = 0; j < V; j++)
|
|
9546
|
-
|
|
9547
|
-
return
|
|
9548
|
-
},
|
|
9559
|
+
P += N(j);
|
|
9560
|
+
return P;
|
|
9561
|
+
}, Z = (P) => {
|
|
9549
9562
|
let j = 0, eo = V - 1;
|
|
9550
9563
|
for (; j < eo; ) {
|
|
9551
9564
|
const so = Math.floor((j + eo) / 2);
|
|
9552
|
-
|
|
9565
|
+
G(so) < P ? j = so + 1 : eo = so;
|
|
9553
9566
|
}
|
|
9554
9567
|
return Math.max(0, j - 1);
|
|
9555
9568
|
};
|
|
9556
|
-
let
|
|
9569
|
+
let v = 0, A = V, K = 0, X = 0;
|
|
9557
9570
|
if (y) {
|
|
9558
|
-
|
|
9559
|
-
let
|
|
9560
|
-
for (;
|
|
9561
|
-
|
|
9562
|
-
|
|
9571
|
+
v = Math.max(0, Z(D) - $e);
|
|
9572
|
+
let P = G(v), j = v;
|
|
9573
|
+
for (; P < D + b + $e * Ie && j < V; )
|
|
9574
|
+
P += N(j), j++;
|
|
9575
|
+
A = Math.min(V, j), K = G(v), X = w();
|
|
9563
9576
|
}
|
|
9564
|
-
const to = o.slice(
|
|
9577
|
+
const to = o.slice(v, A);
|
|
9565
9578
|
oe(() => {
|
|
9566
9579
|
if (!y) return;
|
|
9567
|
-
let
|
|
9580
|
+
let P = !1;
|
|
9568
9581
|
to.forEach((j, eo) => {
|
|
9569
|
-
const so =
|
|
9582
|
+
const so = v + eo, Co = O.current.get(so);
|
|
9570
9583
|
if (Co) {
|
|
9571
9584
|
const ce = Co.getBoundingClientRect(), Uo = C ? ce.width : ce.height;
|
|
9572
|
-
Uo > 0 &&
|
|
9585
|
+
Uo > 0 && W.current.get(so) !== Uo && (W.current.set(so, Uo), P = !0);
|
|
9573
9586
|
}
|
|
9574
|
-
}),
|
|
9575
|
-
}, [to,
|
|
9587
|
+
}), P && g((j) => j + 1);
|
|
9588
|
+
}, [to, v, y, C, $]), oe(() => {
|
|
9576
9589
|
if (!f || n) return;
|
|
9577
|
-
const
|
|
9590
|
+
const P = new IntersectionObserver(
|
|
9578
9591
|
(j) => {
|
|
9579
9592
|
j[0].isIntersecting && (f == null || f());
|
|
9580
9593
|
},
|
|
9581
9594
|
{ threshold: s }
|
|
9582
9595
|
);
|
|
9583
|
-
return S.current &&
|
|
9596
|
+
return S.current && P.observe(S.current), () => P.disconnect();
|
|
9584
9597
|
}, [n, o.length, f, s]);
|
|
9585
|
-
const ko = (
|
|
9586
|
-
y && I(C ?
|
|
9598
|
+
const ko = (P) => {
|
|
9599
|
+
y && I(C ? P.currentTarget.scrollLeft : P.currentTarget.scrollTop);
|
|
9587
9600
|
};
|
|
9588
|
-
|
|
9601
|
+
q(() => {
|
|
9589
9602
|
if (typeof document > "u" || !x && !m && !p) return;
|
|
9590
|
-
let
|
|
9591
|
-
|
|
9603
|
+
let P = document.getElementById(B);
|
|
9604
|
+
P || (P = document.createElement("style"), P.id = B, document.head.appendChild(P));
|
|
9592
9605
|
let j = "";
|
|
9593
|
-
const eo = `.${
|
|
9606
|
+
const eo = `.${R}`;
|
|
9594
9607
|
return x && (j += `${eo} .fibo-list-item-custom-hover:hover { ${Qo(x)} }
|
|
9595
9608
|
`), m && (j += `${eo} .fibo-list-item-custom-active:active { ${Qo(m)} }
|
|
9596
9609
|
`), p && (j += `${eo} .fibo-list-item-custom-focus:focus-within { ${Qo(p)} }
|
|
9597
|
-
`),
|
|
9598
|
-
const so = document.getElementById(
|
|
9610
|
+
`), P.textContent = j, () => {
|
|
9611
|
+
const so = document.getElementById(B);
|
|
9599
9612
|
so && so.remove();
|
|
9600
9613
|
};
|
|
9601
|
-
}, [x, m, p,
|
|
9614
|
+
}, [x, m, p, R, B]);
|
|
9602
9615
|
const Ao = {
|
|
9603
9616
|
default: { gap: "0px" },
|
|
9604
9617
|
card: { gap: "12px" },
|
|
@@ -9643,7 +9656,7 @@ const vn = l.memo((t) => {
|
|
|
9643
9656
|
"div",
|
|
9644
9657
|
{
|
|
9645
9658
|
ref: z,
|
|
9646
|
-
className: `fibo-list fibo-list-virtualized ${
|
|
9659
|
+
className: `fibo-list fibo-list-virtualized ${R} ${a || ""}`,
|
|
9647
9660
|
style: {
|
|
9648
9661
|
height: C ? void 0 : `${b}px`,
|
|
9649
9662
|
width: C ? `${b}px` : void 0,
|
|
@@ -9659,8 +9672,8 @@ const vn = l.memo((t) => {
|
|
|
9659
9672
|
},
|
|
9660
9673
|
l.createElement("div", {
|
|
9661
9674
|
style: {
|
|
9662
|
-
height: C ? "1px" : `${
|
|
9663
|
-
width: C ? `${
|
|
9675
|
+
height: C ? "1px" : `${X}px`,
|
|
9676
|
+
width: C ? `${X}px` : "1px",
|
|
9664
9677
|
position: "absolute",
|
|
9665
9678
|
top: 0,
|
|
9666
9679
|
left: 0,
|
|
@@ -9672,21 +9685,21 @@ const vn = l.memo((t) => {
|
|
|
9672
9685
|
"div",
|
|
9673
9686
|
{
|
|
9674
9687
|
style: {
|
|
9675
|
-
transform: C ? `translateX(${
|
|
9688
|
+
transform: C ? `translateX(${K}px)` : `translateY(${K}px)`,
|
|
9676
9689
|
width: C ? "auto" : "100%",
|
|
9677
9690
|
height: C ? "100%" : void 0,
|
|
9678
9691
|
display: C ? "flex" : void 0,
|
|
9679
9692
|
flexDirection: C ? "row" : void 0
|
|
9680
9693
|
}
|
|
9681
9694
|
},
|
|
9682
|
-
to.map((
|
|
9683
|
-
const eo =
|
|
9695
|
+
to.map((P, j) => {
|
|
9696
|
+
const eo = v + j, so = Te(P, eo, e);
|
|
9684
9697
|
return l.cloneElement(
|
|
9685
9698
|
Io().style(go[i]).classNames(So[i]).children(so).build(),
|
|
9686
9699
|
{
|
|
9687
|
-
key: Ee(
|
|
9700
|
+
key: Ee(P, eo),
|
|
9688
9701
|
ref: (Co) => {
|
|
9689
|
-
Co ?
|
|
9702
|
+
Co ? O.current.set(eo, Co) : O.current.delete(eo);
|
|
9690
9703
|
}
|
|
9691
9704
|
}
|
|
9692
9705
|
);
|
|
@@ -9696,15 +9709,15 @@ const vn = l.memo((t) => {
|
|
|
9696
9709
|
ref: S,
|
|
9697
9710
|
className: "py-4 flex justify-center w-full"
|
|
9698
9711
|
}, n ? l.createElement("div", { className: "animate-spin rounded-full h-5 w-5 border-2 border-gray-300 border-b-blue-600" }) : l.createElement("div", { style: { height: "20px" } }))
|
|
9699
|
-
) : Io().className(a).classNames(["fibo-list",
|
|
9712
|
+
) : Io().className(a).classNames(["fibo-list", R, "flex", d === "horizontal" ? "flex-row" : "flex-col", "w-full"]).style({
|
|
9700
9713
|
...Ao[i],
|
|
9701
9714
|
...u
|
|
9702
9715
|
}).children(
|
|
9703
9716
|
l.createElement(l.Fragment, {}, [
|
|
9704
9717
|
...o.map(
|
|
9705
|
-
(
|
|
9706
|
-
Io().style(go[i]).classNames(So[i]).children(Te(
|
|
9707
|
-
{ key: Ee(
|
|
9718
|
+
(P, j) => l.cloneElement(
|
|
9719
|
+
Io().style(go[i]).classNames(So[i]).children(Te(P, j, e)).build(),
|
|
9720
|
+
{ key: Ee(P, j) }
|
|
9708
9721
|
)
|
|
9709
9722
|
),
|
|
9710
9723
|
f && l.createElement("div", {
|
|
@@ -10049,7 +10062,7 @@ class Sn extends ao {
|
|
|
10049
10062
|
}
|
|
10050
10063
|
}
|
|
10051
10064
|
const Cn = l.memo(({ builder: t }) => {
|
|
10052
|
-
const o = l.useId(), e = `${o}-content`, i = t._expanded !== void 0, [r, n] =
|
|
10065
|
+
const o = l.useId(), e = `${o}-content`, i = t._expanded !== void 0, [r, n] = Y(t._defaultExpanded), s = i ? t._expanded : r, f = () => {
|
|
10053
10066
|
i || n(!s), t._onToggle && t._onToggle(!s);
|
|
10054
10067
|
};
|
|
10055
10068
|
return Io().classNames(["w-full", "border", "border-gray-200", "rounded-xl", "overflow-hidden", "bg-white", "transition-all", "duration-300"]).className(t.getClassName()).style(t.getStyle()).children([
|
|
@@ -10159,8 +10172,8 @@ class En extends zt {
|
|
|
10159
10172
|
if (this.state.hasError && this.state.error) {
|
|
10160
10173
|
const { fallback: e } = this.props;
|
|
10161
10174
|
return typeof e == "function" ? e(this.state.error, this.state.errorInfo) : e || /* @__PURE__ */ Po("div", { style: { padding: "2rem", textAlign: "center" }, children: [
|
|
10162
|
-
/* @__PURE__ */
|
|
10163
|
-
/* @__PURE__ */
|
|
10175
|
+
/* @__PURE__ */ H("h1", { children: "Something went wrong" }),
|
|
10176
|
+
/* @__PURE__ */ H("p", { children: this.state.error.message })
|
|
10164
10177
|
] });
|
|
10165
10178
|
}
|
|
10166
10179
|
return this.props.children;
|
|
@@ -10172,7 +10185,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10172
10185
|
}, i = () => {
|
|
10173
10186
|
window.location.reload();
|
|
10174
10187
|
};
|
|
10175
|
-
return /* @__PURE__ */
|
|
10188
|
+
return /* @__PURE__ */ H(
|
|
10176
10189
|
"div",
|
|
10177
10190
|
{
|
|
10178
10191
|
style: {
|
|
@@ -10198,7 +10211,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10198
10211
|
textAlign: "center"
|
|
10199
10212
|
},
|
|
10200
10213
|
children: [
|
|
10201
|
-
/* @__PURE__ */
|
|
10214
|
+
/* @__PURE__ */ H(
|
|
10202
10215
|
"div",
|
|
10203
10216
|
{
|
|
10204
10217
|
style: {
|
|
@@ -10223,15 +10236,15 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10223
10236
|
strokeLinecap: "round",
|
|
10224
10237
|
strokeLinejoin: "round",
|
|
10225
10238
|
children: [
|
|
10226
|
-
/* @__PURE__ */
|
|
10227
|
-
/* @__PURE__ */
|
|
10228
|
-
/* @__PURE__ */
|
|
10239
|
+
/* @__PURE__ */ H("circle", { cx: "12", cy: "12", r: "10" }),
|
|
10240
|
+
/* @__PURE__ */ H("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
|
|
10241
|
+
/* @__PURE__ */ H("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
|
|
10229
10242
|
]
|
|
10230
10243
|
}
|
|
10231
10244
|
)
|
|
10232
10245
|
}
|
|
10233
10246
|
),
|
|
10234
|
-
/* @__PURE__ */
|
|
10247
|
+
/* @__PURE__ */ H(
|
|
10235
10248
|
"h1",
|
|
10236
10249
|
{
|
|
10237
10250
|
style: {
|
|
@@ -10243,7 +10256,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10243
10256
|
children: "Oops! Something went wrong"
|
|
10244
10257
|
}
|
|
10245
10258
|
),
|
|
10246
|
-
t && /* @__PURE__ */
|
|
10259
|
+
t && /* @__PURE__ */ H(
|
|
10247
10260
|
"div",
|
|
10248
10261
|
{
|
|
10249
10262
|
style: {
|
|
@@ -10253,7 +10266,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10253
10266
|
borderRadius: "8px",
|
|
10254
10267
|
border: "1px solid #fecaca"
|
|
10255
10268
|
},
|
|
10256
|
-
children: /* @__PURE__ */
|
|
10269
|
+
children: /* @__PURE__ */ H(
|
|
10257
10270
|
"p",
|
|
10258
10271
|
{
|
|
10259
10272
|
style: {
|
|
@@ -10268,7 +10281,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10268
10281
|
)
|
|
10269
10282
|
}
|
|
10270
10283
|
),
|
|
10271
|
-
/* @__PURE__ */
|
|
10284
|
+
/* @__PURE__ */ H(
|
|
10272
10285
|
"p",
|
|
10273
10286
|
{
|
|
10274
10287
|
style: {
|
|
@@ -10290,7 +10303,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10290
10303
|
flexWrap: "wrap"
|
|
10291
10304
|
},
|
|
10292
10305
|
children: [
|
|
10293
|
-
o && /* @__PURE__ */
|
|
10306
|
+
o && /* @__PURE__ */ H(
|
|
10294
10307
|
"button",
|
|
10295
10308
|
{
|
|
10296
10309
|
onClick: o,
|
|
@@ -10314,7 +10327,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10314
10327
|
children: "Try Again"
|
|
10315
10328
|
}
|
|
10316
10329
|
),
|
|
10317
|
-
/* @__PURE__ */
|
|
10330
|
+
/* @__PURE__ */ H(
|
|
10318
10331
|
"button",
|
|
10319
10332
|
{
|
|
10320
10333
|
onClick: i,
|
|
@@ -10338,7 +10351,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10338
10351
|
children: "Reload Page"
|
|
10339
10352
|
}
|
|
10340
10353
|
),
|
|
10341
|
-
/* @__PURE__ */
|
|
10354
|
+
/* @__PURE__ */ H(
|
|
10342
10355
|
"button",
|
|
10343
10356
|
{
|
|
10344
10357
|
onClick: e,
|
|
@@ -10373,7 +10386,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10373
10386
|
textAlign: "left"
|
|
10374
10387
|
},
|
|
10375
10388
|
children: [
|
|
10376
|
-
/* @__PURE__ */
|
|
10389
|
+
/* @__PURE__ */ H(
|
|
10377
10390
|
"summary",
|
|
10378
10391
|
{
|
|
10379
10392
|
style: {
|
|
@@ -10385,7 +10398,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10385
10398
|
children: "Stack Trace"
|
|
10386
10399
|
}
|
|
10387
10400
|
),
|
|
10388
|
-
/* @__PURE__ */
|
|
10401
|
+
/* @__PURE__ */ H(
|
|
10389
10402
|
"pre",
|
|
10390
10403
|
{
|
|
10391
10404
|
style: {
|
|
@@ -10430,60 +10443,60 @@ const Fn = yo(null), Is = ({
|
|
|
10430
10443
|
errorBoundary: f,
|
|
10431
10444
|
onError: a
|
|
10432
10445
|
}) => {
|
|
10433
|
-
const [u, b] =
|
|
10434
|
-
|
|
10435
|
-
const M = ro(async (
|
|
10436
|
-
const z =
|
|
10437
|
-
if (z != null && z.beforeLeave &&
|
|
10438
|
-
const S = await z.beforeLeave(
|
|
10446
|
+
const [u, b] = Y(() => Fe(r, i)), [h, d] = Y(() => new URLSearchParams(In(n))), [x, m] = Y(() => $n(s)), { route: p, params: T } = ie(t, u), F = l.useRef(p);
|
|
10447
|
+
F.current = p;
|
|
10448
|
+
const M = ro(async ($, g = {}) => {
|
|
10449
|
+
const z = F.current, { route: O } = ie(t, $);
|
|
10450
|
+
if (z != null && z.beforeLeave && O) {
|
|
10451
|
+
const S = await z.beforeLeave(O, z);
|
|
10439
10452
|
if (S === !1)
|
|
10440
10453
|
return;
|
|
10441
10454
|
if (typeof S == "string")
|
|
10442
|
-
return M(S,
|
|
10455
|
+
return M(S, g);
|
|
10443
10456
|
}
|
|
10444
|
-
if (
|
|
10445
|
-
const S = await
|
|
10457
|
+
if (O != null && O.beforeEnter) {
|
|
10458
|
+
const S = await O.beforeEnter(O, z);
|
|
10446
10459
|
if (S === !1)
|
|
10447
10460
|
return;
|
|
10448
|
-
typeof S == "string" && (
|
|
10461
|
+
typeof S == "string" && ($ = S);
|
|
10449
10462
|
}
|
|
10450
|
-
const
|
|
10451
|
-
typeof window < "u" && (
|
|
10452
|
-
}, [i, t]),
|
|
10463
|
+
const W = i + $;
|
|
10464
|
+
typeof window < "u" && (g.replace ? window.history.replaceState(g.state || {}, "", W) : window.history.pushState(g.state || {}, "", W), d(new URLSearchParams(window.location.search))), b($);
|
|
10465
|
+
}, [i, t]), R = ro(() => {
|
|
10453
10466
|
typeof window < "u" && window.history.back();
|
|
10454
|
-
}, []),
|
|
10455
|
-
M(
|
|
10467
|
+
}, []), B = ro(($) => {
|
|
10468
|
+
M($, { replace: !0 });
|
|
10456
10469
|
}, [M]);
|
|
10457
|
-
|
|
10470
|
+
q(() => {
|
|
10458
10471
|
if (typeof window > "u") return;
|
|
10459
|
-
const
|
|
10472
|
+
const $ = () => {
|
|
10460
10473
|
b(Fe(window.location.pathname, i)), d(new URLSearchParams(window.location.search)), m(window.location.hash || "");
|
|
10461
10474
|
};
|
|
10462
|
-
return
|
|
10475
|
+
return $(), window.addEventListener("popstate", $), () => window.removeEventListener("popstate", $);
|
|
10463
10476
|
}, [i]);
|
|
10464
10477
|
const D = {
|
|
10465
10478
|
currentPath: u,
|
|
10466
10479
|
basename: i,
|
|
10467
10480
|
navigate: M,
|
|
10468
|
-
goBack:
|
|
10469
|
-
replace:
|
|
10481
|
+
goBack: R,
|
|
10482
|
+
replace: B,
|
|
10470
10483
|
params: T,
|
|
10471
10484
|
query: h,
|
|
10472
10485
|
hash: x
|
|
10473
10486
|
}, I = () => {
|
|
10474
10487
|
if (!p)
|
|
10475
|
-
return o ? /* @__PURE__ */
|
|
10476
|
-
const
|
|
10477
|
-
return /* @__PURE__ */
|
|
10488
|
+
return o ? /* @__PURE__ */ H(o, {}) : /* @__PURE__ */ H("div", { children: "404 - Page Not Found" });
|
|
10489
|
+
const $ = p.component, g = /* @__PURE__ */ H(Fn.Provider, { value: p, children: /* @__PURE__ */ H($, {}) });
|
|
10490
|
+
return /* @__PURE__ */ H(
|
|
10478
10491
|
En,
|
|
10479
10492
|
{
|
|
10480
|
-
fallback: f || /* @__PURE__ */
|
|
10493
|
+
fallback: f || /* @__PURE__ */ H(Tn, {}),
|
|
10481
10494
|
onError: a,
|
|
10482
|
-
children:
|
|
10495
|
+
children: g
|
|
10483
10496
|
}
|
|
10484
10497
|
);
|
|
10485
10498
|
};
|
|
10486
|
-
return /* @__PURE__ */
|
|
10499
|
+
return /* @__PURE__ */ H(fe.Provider, { value: D, children: e ? /* @__PURE__ */ H(Et, { fallback: e, children: I() }) : I() });
|
|
10487
10500
|
};
|
|
10488
10501
|
export {
|
|
10489
10502
|
ar as $,
|