fiboui 2.5.0 → 2.6.1
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-DU8XI2Na.js → Link-BIjIaYAb.js} +1 -1
- package/dist/{client-C5fy1-Lh.js → client-De3cGjVE.js} +1054 -1020
- package/dist/content.js +3 -3
- package/dist/core.js +2 -2
- package/dist/{index-BLBoIYdN.js → index-BOR_ChBS.js} +2 -2
- package/dist/{index-CL2Ecds4.js → index-CeAfi1Bb.js} +1 -1
- package/dist/{index-DVECnj1z.js → index-D37UAFfC.js} +98 -89
- package/dist/{index-CaDcYvIh.js → index-DJMMkBOg.js} +1 -1
- package/dist/{index-CaC2tQbt.js → index-DswwFrZn.js} +43 -39
- package/dist/index.d.ts +36 -6
- package/dist/index.js +668 -640
- package/dist/interactive.js +2 -2
- package/dist/layout.js +3 -3
- package/dist/{mount-jsbS9qm4.js → mount-BHYOA7Dg.js} +1 -1
- package/dist/navigation.js +2 -2
- package/dist/server.js +468 -431
- package/dist/structure.js +2 -2
- package/dist/style.css +1 -1
- package/dist/theme.js +1 -1
- package/package.json +1 -1
|
@@ -2,21 +2,21 @@
|
|
|
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
|
|
6
|
-
import { jsx as
|
|
7
|
-
class
|
|
5
|
+
import l, { useCallback as ro, useSyncExternalStore as uo, useRef as U, createContext as yo, useContext as Ro, useEffect as Z, useState as G, memo as Re, cloneElement as St, useMemo as Ct, useLayoutEffect as oe, Component as zt, Suspense as Et } from "react";
|
|
6
|
+
import { jsx as W, Fragment as re, jsxs as Po } from "react/jsx-runtime";
|
|
7
|
+
class Ne {
|
|
8
8
|
constructor() {
|
|
9
9
|
c(this, "activeEffect", null);
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
const Be = new
|
|
12
|
+
const Be = new Ne(), Vo = [Be];
|
|
13
13
|
function Ae() {
|
|
14
|
-
return new
|
|
14
|
+
return new Ne();
|
|
15
15
|
}
|
|
16
16
|
function Le() {
|
|
17
17
|
return Vo[Vo.length - 1] ?? Be;
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function Xo() {
|
|
20
20
|
return Le().activeEffect;
|
|
21
21
|
}
|
|
22
22
|
function Pe(t, o) {
|
|
@@ -27,7 +27,7 @@ function Pe(t, o) {
|
|
|
27
27
|
Vo.pop();
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function $o(t) {
|
|
31
31
|
const o = Le(), e = o.activeEffect;
|
|
32
32
|
return o.activeEffect = t, e;
|
|
33
33
|
}
|
|
@@ -38,11 +38,11 @@ class Me {
|
|
|
38
38
|
this.fn = o, this.run();
|
|
39
39
|
}
|
|
40
40
|
run() {
|
|
41
|
-
const o =
|
|
41
|
+
const o = $o(this);
|
|
42
42
|
try {
|
|
43
43
|
this.cleanup(), this.fn();
|
|
44
44
|
} finally {
|
|
45
|
-
|
|
45
|
+
$o(o);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
track(o) {
|
|
@@ -65,11 +65,11 @@ class Tt {
|
|
|
65
65
|
this._onInvalidate = o;
|
|
66
66
|
}
|
|
67
67
|
execute(o) {
|
|
68
|
-
const e =
|
|
68
|
+
const e = $o(this);
|
|
69
69
|
try {
|
|
70
70
|
return this.cleanup(), o();
|
|
71
71
|
} finally {
|
|
72
|
-
|
|
72
|
+
$o(e);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
track(o) {
|
|
@@ -93,7 +93,7 @@ class To {
|
|
|
93
93
|
this._value = o;
|
|
94
94
|
}
|
|
95
95
|
get value() {
|
|
96
|
-
const o =
|
|
96
|
+
const o = Xo();
|
|
97
97
|
return o && o.track(this), this._value;
|
|
98
98
|
}
|
|
99
99
|
set value(o) {
|
|
@@ -125,7 +125,7 @@ class To {
|
|
|
125
125
|
function Ln(t) {
|
|
126
126
|
return new To(t);
|
|
127
127
|
}
|
|
128
|
-
class
|
|
128
|
+
class It {
|
|
129
129
|
constructor(o) {
|
|
130
130
|
c(this, "listeners", /* @__PURE__ */ new Set());
|
|
131
131
|
c(this, "effects", /* @__PURE__ */ new Set());
|
|
@@ -138,13 +138,13 @@ class $t {
|
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
140
|
get value() {
|
|
141
|
-
const o =
|
|
141
|
+
const o = Xo();
|
|
142
142
|
if (o && o.track(this), this._dirty) {
|
|
143
|
-
const e =
|
|
143
|
+
const e = $o(this.internalEffect);
|
|
144
144
|
try {
|
|
145
145
|
this.internalEffect.cleanup(), this._value = this.fn(), this._dirty = !1;
|
|
146
146
|
} finally {
|
|
147
|
-
|
|
147
|
+
$o(e);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
return this._value;
|
|
@@ -173,16 +173,16 @@ class $t {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
function Pn(t) {
|
|
176
|
-
return new
|
|
176
|
+
return new It(t);
|
|
177
177
|
}
|
|
178
|
-
class
|
|
178
|
+
class $t {
|
|
179
179
|
constructor(o) {
|
|
180
180
|
c(this, "listeners", /* @__PURE__ */ new Set());
|
|
181
181
|
c(this, "effects", /* @__PURE__ */ new Set());
|
|
182
182
|
this._value = o;
|
|
183
183
|
}
|
|
184
184
|
get() {
|
|
185
|
-
const o =
|
|
185
|
+
const o = Xo();
|
|
186
186
|
return o && o.track(this), this._value;
|
|
187
187
|
}
|
|
188
188
|
set(o) {
|
|
@@ -202,16 +202,16 @@ class Nt {
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
function Mn(t) {
|
|
205
|
-
return new
|
|
205
|
+
return new $t(t);
|
|
206
206
|
}
|
|
207
|
-
class
|
|
207
|
+
class Ft {
|
|
208
208
|
constructor(o) {
|
|
209
209
|
c(this, "listeners", /* @__PURE__ */ new Set());
|
|
210
210
|
c(this, "effects", /* @__PURE__ */ new Set());
|
|
211
211
|
this.state = o;
|
|
212
212
|
}
|
|
213
213
|
getState() {
|
|
214
|
-
const o =
|
|
214
|
+
const o = Xo();
|
|
215
215
|
return o && o.track(this), this.state;
|
|
216
216
|
}
|
|
217
217
|
setState(o) {
|
|
@@ -232,12 +232,12 @@ class It {
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
function On(t) {
|
|
235
|
-
return new
|
|
235
|
+
return new Ft(t);
|
|
236
236
|
}
|
|
237
|
-
const Oe = "FIBO:",
|
|
238
|
-
function
|
|
237
|
+
const Oe = "FIBO:", Rt = "", We = /\uE000FIBO:(\d+)\uE001/g, jo = [];
|
|
238
|
+
function Nt(t) {
|
|
239
239
|
const o = jo.length;
|
|
240
|
-
return jo.push(t), `${Oe}${o}${
|
|
240
|
+
return jo.push(t), `${Oe}${o}${Rt}`;
|
|
241
241
|
}
|
|
242
242
|
function Bt(t) {
|
|
243
243
|
return t.includes(Oe);
|
|
@@ -264,7 +264,7 @@ class Pt {
|
|
|
264
264
|
this.signal = o;
|
|
265
265
|
}
|
|
266
266
|
toString() {
|
|
267
|
-
return
|
|
267
|
+
return Nt(this.signal);
|
|
268
268
|
}
|
|
269
269
|
valueOf() {
|
|
270
270
|
return this.toString();
|
|
@@ -296,11 +296,11 @@ function jn(t) {
|
|
|
296
296
|
}
|
|
297
297
|
const Ot = Ae(), He = yo(Ot);
|
|
298
298
|
function Ve() {
|
|
299
|
-
return
|
|
299
|
+
return Ro(He);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Dn({ children: t, scope: o }) {
|
|
302
302
|
const e = U(o ?? Ae()).current;
|
|
303
|
-
return /* @__PURE__ */
|
|
303
|
+
return /* @__PURE__ */ W(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), Z(() => () => {
|
|
314
314
|
var a;
|
|
315
315
|
(a = i.current) == null || a.dispose();
|
|
316
316
|
}, []);
|
|
@@ -321,11 +321,11 @@ function Wt({ children: t }) {
|
|
|
321
321
|
} catch {
|
|
322
322
|
f = null;
|
|
323
323
|
}
|
|
324
|
-
return /* @__PURE__ */
|
|
324
|
+
return /* @__PURE__ */ W(re, { children: f });
|
|
325
325
|
}
|
|
326
326
|
const Ht = yo(/* @__PURE__ */ new Map()), je = yo(null);
|
|
327
|
-
function
|
|
328
|
-
const o =
|
|
327
|
+
function Xn(t) {
|
|
328
|
+
const o = Ro(je);
|
|
329
329
|
if (!o)
|
|
330
330
|
throw new Error("useBuilderState must be used under a builder that called .state()");
|
|
331
331
|
return [o.get(t), (e) => o.set(t, e)];
|
|
@@ -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__ */ W(je.Provider, { value: r, children: /* @__PURE__ */ W(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,9 +354,9 @@ 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__ */ W(re, { children: typeof o == "function" ? o() : o });
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function Dt({ signals: t, children: o }) {
|
|
360
360
|
const e = U(0), i = ro((n) => {
|
|
361
361
|
const s = Array.from(t).map(
|
|
362
362
|
(f) => f.subscribe(() => {
|
|
@@ -365,17 +365,17 @@ function Xt({ 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__ */ W(re, { children: typeof o == "function" ? o() : o });
|
|
369
369
|
}
|
|
370
|
-
const
|
|
370
|
+
const De = yo(/* @__PURE__ */ new Map());
|
|
371
371
|
function Yn(t) {
|
|
372
|
-
const o =
|
|
372
|
+
const o = Ro(De);
|
|
373
373
|
return o == null ? void 0 : o.get(t);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
376
|
-
return /* @__PURE__ */
|
|
375
|
+
function Xt({ providers: t = /* @__PURE__ */ new Map(), children: o }) {
|
|
376
|
+
return /* @__PURE__ */ W(De.Provider, { value: t, children: o });
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function Xe({
|
|
379
379
|
compute: t,
|
|
380
380
|
as: o = "span",
|
|
381
381
|
className: e,
|
|
@@ -383,7 +383,7 @@ function De({
|
|
|
383
383
|
...r
|
|
384
384
|
}) {
|
|
385
385
|
const n = Ve(), s = U(null), f = t();
|
|
386
|
-
return
|
|
386
|
+
return Z(() => 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);
|
|
@@ -392,7 +392,7 @@ function De({
|
|
|
392
392
|
}), [t, n]), l.createElement(o, { ref: s, className: e, style: i, ...r }, f);
|
|
393
393
|
}
|
|
394
394
|
function Gn(t, o) {
|
|
395
|
-
return l.createElement(
|
|
395
|
+
return l.createElement(Xe, {
|
|
396
396
|
compute: () => String(t.value),
|
|
397
397
|
as: o
|
|
398
398
|
});
|
|
@@ -426,7 +426,7 @@ function Un(t, o, e) {
|
|
|
426
426
|
return i < 768 && o.mobile ? r = { ...r, ...o.mobile } : i >= 768 && i < 1024 && o.tablet ? r = { ...r, ...o.tablet } : i >= 1024 && o.desktop && (r = { ...r, ...o.desktop }), r;
|
|
427
427
|
}
|
|
428
428
|
function Kn(t, o) {
|
|
429
|
-
const e =
|
|
429
|
+
const e = Re(t, o);
|
|
430
430
|
return (i) => l.createElement(e, i);
|
|
431
431
|
}
|
|
432
432
|
const Kt = {
|
|
@@ -441,18 +441,18 @@ const Kt = {
|
|
|
441
441
|
};
|
|
442
442
|
function qn(t, o) {
|
|
443
443
|
const { duration: e = 300, delay: i = 0, easing: r = Kt.easeOut } = o || {}, [n, s] = G(t), f = U(), a = U(n);
|
|
444
|
-
return a.current = n,
|
|
444
|
+
return a.current = n, Z(() => {
|
|
445
445
|
f.current && cancelAnimationFrame(f.current);
|
|
446
446
|
let u = null;
|
|
447
447
|
const b = a.current, h = (d) => {
|
|
448
448
|
u || (u = d);
|
|
449
|
-
const
|
|
450
|
-
if (
|
|
449
|
+
const x = d - u - i;
|
|
450
|
+
if (x < 0) {
|
|
451
451
|
f.current = requestAnimationFrame(h);
|
|
452
452
|
return;
|
|
453
453
|
}
|
|
454
|
-
const
|
|
455
|
-
s(T),
|
|
454
|
+
const m = Math.min(x / e, 1), p = r(m), T = b + (t - b) * p;
|
|
455
|
+
s(T), m < 1 && (f.current = requestAnimationFrame(h));
|
|
456
456
|
};
|
|
457
457
|
return f.current = requestAnimationFrame(h), () => {
|
|
458
458
|
f.current && cancelAnimationFrame(f.current);
|
|
@@ -461,11 +461,11 @@ function qn(t, o) {
|
|
|
461
461
|
}
|
|
462
462
|
function Zn(t, o) {
|
|
463
463
|
const { stiffness: e = 170, damping: i = 26, mass: r = 1 } = o || {}, [n, s] = G(t), f = U(0), a = U();
|
|
464
|
-
return
|
|
464
|
+
return Z(() => {
|
|
465
465
|
let u = n, b = f.current;
|
|
466
466
|
const h = () => {
|
|
467
|
-
const d = -e * (u - t),
|
|
468
|
-
b +=
|
|
467
|
+
const d = -e * (u - t), x = -i * b, m = (d + x) / r;
|
|
468
|
+
b += m * (1 / 60), u += b * (1 / 60), s(u), f.current = b, (Math.abs(b) > 0.01 || Math.abs(u - t) > 0.01) && (a.current = requestAnimationFrame(h));
|
|
469
469
|
};
|
|
470
470
|
return a.current = requestAnimationFrame(h), () => {
|
|
471
471
|
a.current && cancelAnimationFrame(a.current);
|
|
@@ -476,7 +476,7 @@ function Jn(t, o = 300) {
|
|
|
476
476
|
const [e, i] = G(t), [r, n] = G(
|
|
477
477
|
t ? "entered" : "exited"
|
|
478
478
|
);
|
|
479
|
-
return
|
|
479
|
+
return Z(() => {
|
|
480
480
|
if (t) {
|
|
481
481
|
i(!0), n("entering");
|
|
482
482
|
const s = setTimeout(() => n("entered"), 50);
|
|
@@ -509,7 +509,7 @@ function os() {
|
|
|
509
509
|
}
|
|
510
510
|
function es() {
|
|
511
511
|
const [t, o] = G(0);
|
|
512
|
-
return
|
|
512
|
+
return Z(() => {
|
|
513
513
|
if (typeof window > "u") return;
|
|
514
514
|
const e = () => {
|
|
515
515
|
const i = document.documentElement.scrollHeight - window.innerHeight;
|
|
@@ -533,18 +533,18 @@ function Ye(t = {}) {
|
|
|
533
533
|
const s = 1 / 60, f = 1;
|
|
534
534
|
let a = 0, u = 0;
|
|
535
535
|
const b = [0];
|
|
536
|
-
for (let
|
|
536
|
+
for (let p = 0; p < 180; p += 1) {
|
|
537
537
|
const T = -o * (a - f) - e * u;
|
|
538
|
-
if (u += T / i * s, a += u * s, b.push(a),
|
|
538
|
+
if (u += T / i * s, a += u * s, b.push(a), p > 8 && Math.abs(a - f) < 2e-3 && Math.abs(u) < 2e-3) break;
|
|
539
539
|
}
|
|
540
540
|
b[b.length - 1] !== 1 && b.push(1);
|
|
541
|
-
const d = Math.max(1, Math.floor((b.length - 1) / 24)),
|
|
542
|
-
for (let
|
|
543
|
-
const T =
|
|
544
|
-
|
|
541
|
+
const d = Math.max(1, Math.floor((b.length - 1) / 24)), x = [];
|
|
542
|
+
for (let p = 0; p < b.length; p += d) {
|
|
543
|
+
const T = p / (b.length - 1), $ = Math.round(b[p] * 1e4) / 1e4;
|
|
544
|
+
x.push(p === 0 ? `${$}` : `${$} ${Math.round(T * 1e4) / 100}%`);
|
|
545
545
|
}
|
|
546
|
-
const
|
|
547
|
-
return ue.set(r,
|
|
546
|
+
const m = `linear(${x.join(", ")})`;
|
|
547
|
+
return ue.set(r, m), m;
|
|
548
548
|
}
|
|
549
549
|
function wo(t, o) {
|
|
550
550
|
return t === "spring" ? Ye(o) : Zt[t] ?? t;
|
|
@@ -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,
|
|
915
|
-
var
|
|
916
|
-
const
|
|
917
|
-
return
|
|
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, $ = -1.2684380046 * x + 2.6097574011 * m - 0.3413193965 * p, M = -0.0041960863 * x - 0.7034186147 * m + 1.707614701 * p, F = (v) => v >= 31308e-7 ? 1.055 * v ** (1 / 2.4) - 0.055 : 12.92 * v, N = Math.max(0, Math.min(1, F(T))), D = Math.max(0, Math.min(1, F($))), I = Math.max(0, Math.min(1, F(M))), A = (v) => {
|
|
915
|
+
var P;
|
|
916
|
+
const z = (P = Math.round(v * 255).toString(16)) == null ? void 0 : P.toUpperCase();
|
|
917
|
+
return z.length === 1 ? `0${z}` : z;
|
|
918
918
|
};
|
|
919
|
-
return `#${
|
|
919
|
+
return `#${A(N)}${A(D)}${A(I)}`;
|
|
920
920
|
}
|
|
921
921
|
function si(t) {
|
|
922
922
|
const o = {}, e = {}, i = t.split(`
|
|
@@ -1497,12 +1497,12 @@ function di({ animatedProps: t, animationConfig: o, children: e }) {
|
|
|
1497
1497
|
const [i, r] = G(
|
|
1498
1498
|
() => hi(t)
|
|
1499
1499
|
);
|
|
1500
|
-
|
|
1500
|
+
Z(() => {
|
|
1501
1501
|
const a = [];
|
|
1502
1502
|
return t.forEach((u, b) => {
|
|
1503
1503
|
const h = (d) => {
|
|
1504
|
-
r((
|
|
1505
|
-
...
|
|
1504
|
+
r((x) => ({
|
|
1505
|
+
...x,
|
|
1506
1506
|
[b]: d
|
|
1507
1507
|
}));
|
|
1508
1508
|
};
|
|
@@ -3176,7 +3176,7 @@ function se(t) {
|
|
|
3176
3176
|
const o = Ci[t];
|
|
3177
3177
|
return o ? [...o] : null;
|
|
3178
3178
|
}
|
|
3179
|
-
function
|
|
3179
|
+
function Q(t, o) {
|
|
3180
3180
|
if (o == null) return "";
|
|
3181
3181
|
if (typeof o == "boolean") return o ? "true" : "false";
|
|
3182
3182
|
if (typeof o == "number")
|
|
@@ -3192,7 +3192,7 @@ function Qe(t) {
|
|
|
3192
3192
|
if (r === "css")
|
|
3193
3193
|
return o((a, u) => {
|
|
3194
3194
|
const b = a.includes("-") ? Si(a) : a;
|
|
3195
|
-
t.setProp(b,
|
|
3195
|
+
t.setProp(b, Q(b, u));
|
|
3196
3196
|
});
|
|
3197
3197
|
if (r === "style")
|
|
3198
3198
|
return o((a) => t.mergeStyle(a));
|
|
@@ -3203,9 +3203,9 @@ function Qe(t) {
|
|
|
3203
3203
|
const f = se(r);
|
|
3204
3204
|
return o(f ? (a) => {
|
|
3205
3205
|
for (const u of f)
|
|
3206
|
-
t.setProp(u,
|
|
3206
|
+
t.setProp(u, Q(u, a));
|
|
3207
3207
|
} : (a) => {
|
|
3208
|
-
t.setProp(r,
|
|
3208
|
+
t.setProp(r, Q(r, a));
|
|
3209
3209
|
});
|
|
3210
3210
|
}
|
|
3211
3211
|
});
|
|
@@ -3224,15 +3224,15 @@ const zi = {
|
|
|
3224
3224
|
function Ei(t, o) {
|
|
3225
3225
|
const e = t[o];
|
|
3226
3226
|
if (e == null || e === "") return;
|
|
3227
|
-
const i = String(e).trim().split(/\s+/), [r, n = r, s = r, f = n] = i, a = r, u = i.length === 1 ? r : n, b = i.length <= 2 ? r : s, h = i.length === 1 ? r : i.length === 2 || i.length === 3 ? n : f, d = o === "padding" ? "padding" : "margin",
|
|
3227
|
+
const i = String(e).trim().split(/\s+/), [r, n = r, s = r, f = n] = i, a = r, u = i.length === 1 ? r : n, b = i.length <= 2 ? r : s, h = i.length === 1 ? r : i.length === 2 || i.length === 3 ? n : f, d = o === "padding" ? "padding" : "margin", x = [
|
|
3228
3228
|
[`${d}Top`, a],
|
|
3229
3229
|
[`${d}Right`, u],
|
|
3230
3230
|
[`${d}Bottom`, b],
|
|
3231
3231
|
[`${d}Left`, h]
|
|
3232
|
-
],
|
|
3233
|
-
for (const [
|
|
3234
|
-
|
|
3235
|
-
delete
|
|
3232
|
+
], m = t;
|
|
3233
|
+
for (const [p, T] of x)
|
|
3234
|
+
m[p] == null && (m[p] = T);
|
|
3235
|
+
delete m[o];
|
|
3236
3236
|
}
|
|
3237
3237
|
class ot {
|
|
3238
3238
|
constructor() {
|
|
@@ -3244,12 +3244,12 @@ class ot {
|
|
|
3244
3244
|
}
|
|
3245
3245
|
/** Flutter / RN: left + right. */
|
|
3246
3246
|
paddingHorizontal(o) {
|
|
3247
|
-
const e =
|
|
3247
|
+
const e = Q("paddingLeft", o);
|
|
3248
3248
|
return this.setProp("paddingLeft", e), this.setProp("paddingRight", e), this;
|
|
3249
3249
|
}
|
|
3250
3250
|
/** Flutter / RN: top + bottom. */
|
|
3251
3251
|
paddingVertical(o) {
|
|
3252
|
-
const e =
|
|
3252
|
+
const e = Q("paddingTop", o);
|
|
3253
3253
|
return this.setProp("paddingTop", e), this.setProp("paddingBottom", e), this;
|
|
3254
3254
|
}
|
|
3255
3255
|
paddingX(o) {
|
|
@@ -3259,11 +3259,11 @@ class ot {
|
|
|
3259
3259
|
return this.paddingVertical(o);
|
|
3260
3260
|
}
|
|
3261
3261
|
marginHorizontal(o) {
|
|
3262
|
-
const e =
|
|
3262
|
+
const e = Q("marginLeft", o);
|
|
3263
3263
|
return this.setProp("marginLeft", e), this.setProp("marginRight", e), this;
|
|
3264
3264
|
}
|
|
3265
3265
|
marginVertical(o) {
|
|
3266
|
-
const e =
|
|
3266
|
+
const e = Q("marginTop", o);
|
|
3267
3267
|
return this.setProp("marginTop", e), this.setProp("marginBottom", e), this;
|
|
3268
3268
|
}
|
|
3269
3269
|
marginX(o) {
|
|
@@ -3316,7 +3316,7 @@ class no {
|
|
|
3316
3316
|
return (u) => {
|
|
3317
3317
|
const h = se(f) ?? [f];
|
|
3318
3318
|
for (const d of h)
|
|
3319
|
-
r.set(Yo(d),
|
|
3319
|
+
r.set(Yo(d), Q(d, u));
|
|
3320
3320
|
return n;
|
|
3321
3321
|
};
|
|
3322
3322
|
}
|
|
@@ -3425,7 +3425,7 @@ class no {
|
|
|
3425
3425
|
return this.parentBuilder;
|
|
3426
3426
|
}
|
|
3427
3427
|
}
|
|
3428
|
-
function
|
|
3428
|
+
function Ii({
|
|
3429
3429
|
preset: t = "fadeUp",
|
|
3430
3430
|
once: o = !0,
|
|
3431
3431
|
rootMargin: e = "0px 0px -8% 0px",
|
|
@@ -3435,7 +3435,7 @@ function $i({
|
|
|
3435
3435
|
children: s
|
|
3436
3436
|
}) {
|
|
3437
3437
|
const f = U(null);
|
|
3438
|
-
|
|
3438
|
+
Z(() => {
|
|
3439
3439
|
fo();
|
|
3440
3440
|
const u = f.current;
|
|
3441
3441
|
if (!u) return;
|
|
@@ -3486,13 +3486,13 @@ function fs(t) {
|
|
|
3486
3486
|
function as() {
|
|
3487
3487
|
return typeof CSS > "u" || typeof CSS.supports != "function" ? !1 : CSS.supports("animation-timeline", "view()");
|
|
3488
3488
|
}
|
|
3489
|
-
function
|
|
3489
|
+
function $i() {
|
|
3490
3490
|
return typeof CSS > "u" || typeof CSS.supports != "function" ? !1 : CSS.supports("animation-timeline", "scroll()");
|
|
3491
3491
|
}
|
|
3492
|
-
function
|
|
3492
|
+
function Fi({ children: t }) {
|
|
3493
3493
|
const o = U(null);
|
|
3494
|
-
return
|
|
3495
|
-
if (fo(),
|
|
3494
|
+
return Z(() => {
|
|
3495
|
+
if (fo(), $i()) return;
|
|
3496
3496
|
const e = () => {
|
|
3497
3497
|
var n, s;
|
|
3498
3498
|
return ((n = o.current) == null ? void 0 : n.querySelector(".fibo-scroll-progress")) ?? ((s = o.current) == null ? void 0 : s.firstElementChild);
|
|
@@ -3511,7 +3511,7 @@ function Ii({ children: t }) {
|
|
|
3511
3511
|
t
|
|
3512
3512
|
);
|
|
3513
3513
|
}
|
|
3514
|
-
function
|
|
3514
|
+
function Ri({
|
|
3515
3515
|
signal: t,
|
|
3516
3516
|
builder: o,
|
|
3517
3517
|
loading: e,
|
|
@@ -3528,7 +3528,7 @@ function Fi({
|
|
|
3528
3528
|
), n = r == null ? void 0 : r.error;
|
|
3529
3529
|
return n && i ? i(n) : ((r == null ? void 0 : r.isLoading) || (r == null ? void 0 : r.loading)) === !0 && e ? e() : o ? o(r) : null;
|
|
3530
3530
|
}
|
|
3531
|
-
const
|
|
3531
|
+
const Ni = Re(Ri), Bi = {
|
|
3532
3532
|
name: "material",
|
|
3533
3533
|
colors: {
|
|
3534
3534
|
primary: "#6750A4",
|
|
@@ -4060,11 +4060,36 @@ class ao {
|
|
|
4060
4060
|
const e = typeof o == "number" ? `${o}px` : o, i = E.register("margin-top", e), r = E.register("margin-bottom", e);
|
|
4061
4061
|
return this._classNames.push(i, r), this;
|
|
4062
4062
|
}
|
|
4063
|
+
/** Inline layout wins over a host that hardcodes flex on the element (Form, Scaffold). */
|
|
4064
|
+
layoutStyle(o) {
|
|
4065
|
+
return this._style = { ...this._style, ...o }, this;
|
|
4066
|
+
}
|
|
4063
4067
|
flexDirection(o) {
|
|
4064
|
-
return this.
|
|
4068
|
+
return this.layoutStyle({ flexDirection: o });
|
|
4065
4069
|
}
|
|
4066
4070
|
alignItems(o) {
|
|
4067
|
-
|
|
4071
|
+
const e = {
|
|
4072
|
+
start: "flex-start",
|
|
4073
|
+
center: "center",
|
|
4074
|
+
end: "flex-end",
|
|
4075
|
+
stretch: "stretch",
|
|
4076
|
+
baseline: "baseline"
|
|
4077
|
+
};
|
|
4078
|
+
return this.layoutStyle({ alignItems: e[o] });
|
|
4079
|
+
}
|
|
4080
|
+
alignSelf(o) {
|
|
4081
|
+
const e = {
|
|
4082
|
+
auto: "auto",
|
|
4083
|
+
start: "flex-start",
|
|
4084
|
+
center: "center",
|
|
4085
|
+
end: "flex-end",
|
|
4086
|
+
stretch: "stretch",
|
|
4087
|
+
baseline: "baseline"
|
|
4088
|
+
};
|
|
4089
|
+
return this.layoutStyle({ alignSelf: e[o] });
|
|
4090
|
+
}
|
|
4091
|
+
flexWrap(o) {
|
|
4092
|
+
return this.layoutStyle({ flexWrap: o });
|
|
4068
4093
|
}
|
|
4069
4094
|
/**
|
|
4070
4095
|
* Main-axis distribution. Accepts Tailwind shortcuts (`between`) and CSS/Flutter
|
|
@@ -4072,73 +4097,78 @@ class ao {
|
|
|
4072
4097
|
*/
|
|
4073
4098
|
justifyContent(o) {
|
|
4074
4099
|
const e = {
|
|
4075
|
-
start: "
|
|
4076
|
-
center: "
|
|
4077
|
-
end: "
|
|
4078
|
-
between: "
|
|
4079
|
-
around: "
|
|
4080
|
-
evenly: "
|
|
4081
|
-
"space-between": "
|
|
4082
|
-
"space-around": "
|
|
4083
|
-
"space-evenly": "
|
|
4084
|
-
spaceBetween: "
|
|
4085
|
-
spaceAround: "
|
|
4086
|
-
spaceEvenly: "
|
|
4100
|
+
start: "flex-start",
|
|
4101
|
+
center: "center",
|
|
4102
|
+
end: "flex-end",
|
|
4103
|
+
between: "space-between",
|
|
4104
|
+
around: "space-around",
|
|
4105
|
+
evenly: "space-evenly",
|
|
4106
|
+
"space-between": "space-between",
|
|
4107
|
+
"space-around": "space-around",
|
|
4108
|
+
"space-evenly": "space-evenly",
|
|
4109
|
+
spaceBetween: "space-between",
|
|
4110
|
+
spaceAround: "space-around",
|
|
4111
|
+
spaceEvenly: "space-evenly"
|
|
4087
4112
|
};
|
|
4088
|
-
return this.
|
|
4113
|
+
return this.layoutStyle({ justifyContent: e[o] ?? o });
|
|
4089
4114
|
}
|
|
4090
4115
|
flex(o) {
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4116
|
+
const i = o === void 0 ? void 0 : typeof o == "number" ? String(o) : {
|
|
4117
|
+
1: "1 1 0%",
|
|
4118
|
+
auto: "1 1 auto",
|
|
4119
|
+
initial: "0 1 auto",
|
|
4120
|
+
none: "none"
|
|
4121
|
+
}[o] ?? o;
|
|
4122
|
+
return this.layoutStyle({ display: "flex", ...i !== void 0 ? { flex: i } : {} });
|
|
4097
4123
|
}
|
|
4098
4124
|
grid() {
|
|
4099
|
-
return this.
|
|
4125
|
+
return this.layoutStyle({ display: "grid" });
|
|
4100
4126
|
}
|
|
4101
4127
|
inlineFlex() {
|
|
4102
|
-
return this.
|
|
4128
|
+
return this.layoutStyle({ display: "inline-flex" });
|
|
4103
4129
|
}
|
|
4104
4130
|
inlineGrid() {
|
|
4105
|
-
return this.
|
|
4131
|
+
return this.layoutStyle({ display: "inline-grid" });
|
|
4106
4132
|
}
|
|
4107
4133
|
block() {
|
|
4108
|
-
return this.
|
|
4134
|
+
return this.layoutStyle({ display: "block" });
|
|
4109
4135
|
}
|
|
4110
4136
|
inlineBlock() {
|
|
4111
|
-
return this.
|
|
4137
|
+
return this.layoutStyle({ display: "inline-block" });
|
|
4112
4138
|
}
|
|
4113
4139
|
hidden() {
|
|
4114
|
-
return this.
|
|
4140
|
+
return this.layoutStyle({ display: "none" });
|
|
4115
4141
|
}
|
|
4116
4142
|
center() {
|
|
4117
|
-
return this.
|
|
4143
|
+
return this.layoutStyle({
|
|
4144
|
+
display: "flex",
|
|
4145
|
+
alignItems: "center",
|
|
4146
|
+
justifyContent: "center"
|
|
4147
|
+
});
|
|
4118
4148
|
}
|
|
4119
4149
|
centerX() {
|
|
4120
|
-
return this.
|
|
4150
|
+
return this.layoutStyle({ display: "flex", justifyContent: "center" });
|
|
4121
4151
|
}
|
|
4122
4152
|
centerY() {
|
|
4123
|
-
return this.
|
|
4153
|
+
return this.layoutStyle({ display: "flex", alignItems: "center" });
|
|
4124
4154
|
}
|
|
4125
4155
|
spaceBetween() {
|
|
4126
|
-
return this.
|
|
4156
|
+
return this.layoutStyle({ justifyContent: "space-between" });
|
|
4127
4157
|
}
|
|
4128
4158
|
spaceAround() {
|
|
4129
|
-
return this.
|
|
4159
|
+
return this.layoutStyle({ justifyContent: "space-around" });
|
|
4130
4160
|
}
|
|
4131
4161
|
spaceEvenly() {
|
|
4132
|
-
return this.
|
|
4162
|
+
return this.layoutStyle({ justifyContent: "space-evenly" });
|
|
4133
4163
|
}
|
|
4134
4164
|
fill() {
|
|
4135
|
-
return this.
|
|
4165
|
+
return this.layoutStyle({ width: "100%", height: "100%" });
|
|
4136
4166
|
}
|
|
4137
4167
|
fillWidth() {
|
|
4138
|
-
return this.
|
|
4168
|
+
return this.layoutStyle({ width: "100%" });
|
|
4139
4169
|
}
|
|
4140
4170
|
fillHeight() {
|
|
4141
|
-
return this.
|
|
4171
|
+
return this.layoutStyle({ height: "100%" });
|
|
4142
4172
|
}
|
|
4143
4173
|
square(o) {
|
|
4144
4174
|
const e = typeof o == "number" ? `${o}px` : o, i = E.register("width", e), r = E.register("height", e);
|
|
@@ -4242,10 +4272,10 @@ class ao {
|
|
|
4242
4272
|
}, i = (n) => n.startsWith("#") || n.startsWith("rgb") || n.startsWith("hsl") || ["red", "blue", "green", "yellow", "purple", "pink", "orange", "white", "black", "gray"].some((s) => n.includes(s)), r = (n, s, f, a) => {
|
|
4243
4273
|
let h = f || "rgba(0, 0, 0, " + (a ?? 0.1) + ")";
|
|
4244
4274
|
if (f && f.startsWith("#") && a !== void 0) {
|
|
4245
|
-
const
|
|
4246
|
-
h = `rgba(${
|
|
4275
|
+
const m = parseInt(f.slice(1, 3), 16), p = parseInt(f.slice(3, 5), 16), T = parseInt(f.slice(5, 7), 16);
|
|
4276
|
+
h = `rgba(${m}, ${p}, ${T}, ${a})`;
|
|
4247
4277
|
}
|
|
4248
|
-
const
|
|
4278
|
+
const x = {
|
|
4249
4279
|
sm: "2px",
|
|
4250
4280
|
md: "4px",
|
|
4251
4281
|
lg: "8px",
|
|
@@ -4254,19 +4284,19 @@ class ao {
|
|
|
4254
4284
|
}[s] || "4px";
|
|
4255
4285
|
switch (n) {
|
|
4256
4286
|
case "top":
|
|
4257
|
-
return `0 -${
|
|
4287
|
+
return `0 -${x} ${x} -1px ${h}`;
|
|
4258
4288
|
case "bottom":
|
|
4259
|
-
return `0 ${
|
|
4289
|
+
return `0 ${x} ${x} -1px ${h}`;
|
|
4260
4290
|
case "left":
|
|
4261
|
-
return `-${
|
|
4291
|
+
return `-${x} 0 ${x} -1px ${h}`;
|
|
4262
4292
|
case "right":
|
|
4263
|
-
return `${
|
|
4293
|
+
return `${x} 0 ${x} -1px ${h}`;
|
|
4264
4294
|
case "top-bottom":
|
|
4265
4295
|
case "vertical":
|
|
4266
|
-
return `0 -${
|
|
4296
|
+
return `0 -${x} ${x} -1px ${h}, 0 ${x} ${x} -1px ${h}`;
|
|
4267
4297
|
case "left-right":
|
|
4268
4298
|
case "horizontal":
|
|
4269
|
-
return `-${
|
|
4299
|
+
return `-${x} 0 ${x} -1px ${h}, ${x} 0 ${x} -1px ${h}`;
|
|
4270
4300
|
case "all":
|
|
4271
4301
|
default:
|
|
4272
4302
|
return e[s] || e.md;
|
|
@@ -4295,8 +4325,8 @@ class ao {
|
|
|
4295
4325
|
const h = r(u, "md", s, f), d = E.register("box-shadow", h);
|
|
4296
4326
|
return this._classNames.push(d), this;
|
|
4297
4327
|
} else {
|
|
4298
|
-
const d = r(u, s, f, a),
|
|
4299
|
-
return this._classNames.push(
|
|
4328
|
+
const d = r(u, s, f, a), x = E.register("box-shadow", d);
|
|
4329
|
+
return this._classNames.push(x), this;
|
|
4300
4330
|
}
|
|
4301
4331
|
}
|
|
4302
4332
|
return this;
|
|
@@ -4409,16 +4439,10 @@ class ao {
|
|
|
4409
4439
|
return this;
|
|
4410
4440
|
}
|
|
4411
4441
|
gap(o) {
|
|
4412
|
-
if (typeof o == "
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
this._classNames.push(o);
|
|
4417
|
-
else {
|
|
4418
|
-
const e = E.register("gap", o);
|
|
4419
|
-
this._classNames.push(e);
|
|
4420
|
-
}
|
|
4421
|
-
return this;
|
|
4442
|
+
if (typeof o == "string" && o.startsWith("gap-"))
|
|
4443
|
+
return this._classNames.push(o), this;
|
|
4444
|
+
const e = typeof o == "number" ? `${o}px` : o;
|
|
4445
|
+
return this.layoutStyle({ gap: e });
|
|
4422
4446
|
}
|
|
4423
4447
|
clean() {
|
|
4424
4448
|
return this._classNames.push(
|
|
@@ -4924,39 +4948,39 @@ const ji = /* @__PURE__ */ new Set([
|
|
|
4924
4948
|
"_debugTask",
|
|
4925
4949
|
"_debugInfo"
|
|
4926
4950
|
]);
|
|
4927
|
-
function
|
|
4951
|
+
function Di(t) {
|
|
4928
4952
|
var e;
|
|
4929
4953
|
const o = (e = t._props) == null ? void 0 : e.key;
|
|
4930
4954
|
if (!(o == null || o === ""))
|
|
4931
4955
|
return o;
|
|
4932
4956
|
}
|
|
4933
|
-
function
|
|
4934
|
-
const o = t._isObserver, e = t._signals, i = t._observers, r = t._state, n = t._providers, s =
|
|
4957
|
+
function Xi(t) {
|
|
4958
|
+
const o = t._isObserver, e = t._signals, i = t._observers, r = t._state, n = t._providers, s = Di(t), f = () => {
|
|
4935
4959
|
let d = t.build();
|
|
4936
|
-
const
|
|
4937
|
-
|
|
4960
|
+
const x = t._animatedProps, m = t._animationConfig;
|
|
4961
|
+
x && x.size > 0 && (d = l.createElement(di, {
|
|
4938
4962
|
key: s,
|
|
4939
|
-
animatedProps:
|
|
4940
|
-
animationConfig:
|
|
4963
|
+
animatedProps: x,
|
|
4964
|
+
animationConfig: m,
|
|
4941
4965
|
children: d
|
|
4942
4966
|
}));
|
|
4943
|
-
const
|
|
4944
|
-
if (
|
|
4945
|
-
const
|
|
4946
|
-
for (const
|
|
4947
|
-
F
|
|
4948
|
-
d = l.createElement(
|
|
4967
|
+
const p = t._reveal;
|
|
4968
|
+
if (p) {
|
|
4969
|
+
const $ = t._style || {}, M = {};
|
|
4970
|
+
for (const F of ["--fibo-dur", "--fibo-ease", "--fibo-delay", "--fibo-stagger", "--fibo-from"])
|
|
4971
|
+
$[F] != null && (M[F] = $[F]);
|
|
4972
|
+
d = l.createElement(Ii, {
|
|
4949
4973
|
key: s,
|
|
4950
|
-
preset:
|
|
4951
|
-
once:
|
|
4952
|
-
rootMargin:
|
|
4953
|
-
threshold:
|
|
4974
|
+
preset: p.preset,
|
|
4975
|
+
once: p.once,
|
|
4976
|
+
rootMargin: p.rootMargin,
|
|
4977
|
+
threshold: p.threshold,
|
|
4954
4978
|
forceMotion: t._reducedMotion === "never",
|
|
4955
4979
|
style: Object.keys(M).length > 0 ? M : void 0,
|
|
4956
4980
|
children: d
|
|
4957
4981
|
});
|
|
4958
4982
|
}
|
|
4959
|
-
t._scrollProgress && (d = l.createElement(
|
|
4983
|
+
t._scrollProgress && (d = l.createElement(Fi, { key: s, children: d })), t._usesCssMotion && (d = l.createElement(
|
|
4960
4984
|
l.Fragment,
|
|
4961
4985
|
{ key: s },
|
|
4962
4986
|
l.createElement(ei),
|
|
@@ -4969,7 +4993,7 @@ function Di(t) {
|
|
|
4969
4993
|
children: f
|
|
4970
4994
|
}) : null, b = () => u ?? f();
|
|
4971
4995
|
let h = b();
|
|
4972
|
-
return a && e && e.size > 0 ? h = l.createElement(
|
|
4996
|
+
return a && e && e.size > 0 ? h = l.createElement(Dt, {
|
|
4973
4997
|
key: s,
|
|
4974
4998
|
signals: e,
|
|
4975
4999
|
children: b
|
|
@@ -4981,7 +5005,7 @@ function Di(t) {
|
|
|
4981
5005
|
key: s,
|
|
4982
5006
|
stateMap: r,
|
|
4983
5007
|
children: h
|
|
4984
|
-
})), a && n && n.size > 0 && (h = l.createElement(
|
|
5008
|
+
})), a && n && n.size > 0 && (h = l.createElement(Xt, {
|
|
4985
5009
|
key: s,
|
|
4986
5010
|
providers: n,
|
|
4987
5011
|
children: h
|
|
@@ -5006,7 +5030,7 @@ function st(t, o, e) {
|
|
|
5006
5030
|
}
|
|
5007
5031
|
function co(t) {
|
|
5008
5032
|
return (...o) => {
|
|
5009
|
-
const e = new t(...o), i = t.name.replace(/Builder$/, "") || "Fibo", r = () =>
|
|
5033
|
+
const e = new t(...o), i = t.name.replace(/Builder$/, "") || "Fibo", r = () => Xi(e);
|
|
5010
5034
|
return st(e, r, i), new Proxy(e, {
|
|
5011
5035
|
get(n, s, f) {
|
|
5012
5036
|
var a, u;
|
|
@@ -5027,17 +5051,17 @@ function co(t) {
|
|
|
5027
5051
|
...n.__fiboElementProps ?? {},
|
|
5028
5052
|
...b != null && b !== "" ? { key: String(b) } : {}
|
|
5029
5053
|
}, d = Object.getPrototypeOf(n).props;
|
|
5030
|
-
return typeof d == "function" ? Object.assign((
|
|
5054
|
+
return typeof d == "function" ? Object.assign((m) => (d.call(n, m), f), h) : h;
|
|
5031
5055
|
}
|
|
5032
5056
|
if (s === "type") {
|
|
5033
5057
|
const b = Reflect.get(n, s), h = Object.getPrototypeOf(n), d = h != null ? h.type : void 0;
|
|
5034
|
-
return typeof d != "function" || typeof b != "function" ? b : (n.__fiboType || (n.__fiboType = (
|
|
5058
|
+
return typeof d != "function" || typeof b != "function" ? b : (n.__fiboType || (n.__fiboType = (x, m) => typeof x == "string" || typeof x == "number" ? (d.call(n, x), f) : b(x, m)), n.__fiboType);
|
|
5035
5059
|
}
|
|
5036
5060
|
return ji.has(s) || Reflect.has(n, s) ? Reflect.get(n, s, f) : (b) => {
|
|
5037
5061
|
const d = se(s) ?? [s];
|
|
5038
|
-
for (const
|
|
5039
|
-
const
|
|
5040
|
-
n.className(E.register(
|
|
5062
|
+
for (const x of d) {
|
|
5063
|
+
const m = Yo(x), p = Q(x, b);
|
|
5064
|
+
n.className(E.register(m, p));
|
|
5041
5065
|
}
|
|
5042
5066
|
return f;
|
|
5043
5067
|
};
|
|
@@ -5065,7 +5089,7 @@ class Yi {
|
|
|
5065
5089
|
return this._builder = o, this;
|
|
5066
5090
|
}
|
|
5067
5091
|
build() {
|
|
5068
|
-
return l.createElement(
|
|
5092
|
+
return l.createElement(Ni, {
|
|
5069
5093
|
signal: this._signal,
|
|
5070
5094
|
builder: this._builder,
|
|
5071
5095
|
loading: this._loading,
|
|
@@ -5100,7 +5124,7 @@ function Zi(t) {
|
|
|
5100
5124
|
}
|
|
5101
5125
|
function Ji(t) {
|
|
5102
5126
|
const [o, e] = G(() => Zi(t));
|
|
5103
|
-
return
|
|
5127
|
+
return Z(() => {
|
|
5104
5128
|
if (!Oo(t)) {
|
|
5105
5129
|
e(!!t);
|
|
5106
5130
|
return;
|
|
@@ -5117,7 +5141,7 @@ function ft({
|
|
|
5117
5141
|
children: n
|
|
5118
5142
|
}) {
|
|
5119
5143
|
const s = Ji(t), [f, a] = G(s), [u, b] = G(s ? "enter" : "idle"), h = r !== "never" && qi();
|
|
5120
|
-
if (
|
|
5144
|
+
if (Z(() => {
|
|
5121
5145
|
if (fo(), s) {
|
|
5122
5146
|
a(!0), b(h ? "idle" : "enter");
|
|
5123
5147
|
return;
|
|
@@ -5130,15 +5154,15 @@ function ft({
|
|
|
5130
5154
|
b("exit");
|
|
5131
5155
|
}
|
|
5132
5156
|
}, [s, h]), !f) return null;
|
|
5133
|
-
const d = u === "exit" ? e : u === "enter" ? o : void 0,
|
|
5157
|
+
const d = u === "exit" ? e : u === "enter" ? o : void 0, x = d && !h ? Ge(d) : void 0;
|
|
5134
5158
|
return l.createElement(
|
|
5135
5159
|
"div",
|
|
5136
5160
|
{
|
|
5137
|
-
className:
|
|
5138
|
-
style:
|
|
5161
|
+
className: x ? `fibo-anim fibo-anim-${x}` : void 0,
|
|
5162
|
+
style: x ? { "--fibo-dur": `${i}ms`, "--fibo-ease": "ease" } : void 0,
|
|
5139
5163
|
"data-fibo-presence": u,
|
|
5140
|
-
onAnimationEnd: (
|
|
5141
|
-
|
|
5164
|
+
onAnimationEnd: (m) => {
|
|
5165
|
+
m.target === m.currentTarget && (u === "exit" && a(!1), u === "enter" && b("idle"));
|
|
5142
5166
|
}
|
|
5143
5167
|
},
|
|
5144
5168
|
n
|
|
@@ -5202,8 +5226,8 @@ function hs({
|
|
|
5202
5226
|
}) {
|
|
5203
5227
|
const r = rr(t), [n, s] = G(r), [f, a] = G(null);
|
|
5204
5228
|
r !== n && (s(r), a(null));
|
|
5205
|
-
const u = et(f ?? t), b = ro((
|
|
5206
|
-
a(
|
|
5229
|
+
const u = et(f ?? t), b = ro((m) => {
|
|
5230
|
+
a(m);
|
|
5207
5231
|
}, []), h = Ct(
|
|
5208
5232
|
() => ({
|
|
5209
5233
|
theme: u,
|
|
@@ -5211,17 +5235,17 @@ function hs({
|
|
|
5211
5235
|
setTheme: b
|
|
5212
5236
|
}),
|
|
5213
5237
|
[u, b]
|
|
5214
|
-
), d = [rt(u), e].filter(Boolean).join(" "),
|
|
5238
|
+
), d = [rt(u), e].filter(Boolean).join(" "), x = {
|
|
5215
5239
|
...it(u),
|
|
5216
5240
|
backgroundColor: u.colors.background,
|
|
5217
5241
|
color: u.colors.onBackground,
|
|
5218
5242
|
fontFamily: u.fontFamily,
|
|
5219
5243
|
...i
|
|
5220
5244
|
};
|
|
5221
|
-
return /* @__PURE__ */
|
|
5245
|
+
return /* @__PURE__ */ W(at.Provider, { value: h, children: /* @__PURE__ */ W("div", { className: d, "data-fibo-theme": u.name, style: x, children: o }) });
|
|
5222
5246
|
}
|
|
5223
5247
|
function ds() {
|
|
5224
|
-
const t =
|
|
5248
|
+
const t = Ro(at);
|
|
5225
5249
|
if (!t)
|
|
5226
5250
|
throw new Error("useFiboTheme must be used within a FiboThemeProvider");
|
|
5227
5251
|
return t;
|
|
@@ -5375,7 +5399,7 @@ class fr extends ao {
|
|
|
5375
5399
|
};
|
|
5376
5400
|
if (typeof this._text == "function") {
|
|
5377
5401
|
const r = this._text;
|
|
5378
|
-
return l.createElement(
|
|
5402
|
+
return l.createElement(Xe, {
|
|
5379
5403
|
compute: r,
|
|
5380
5404
|
as: e[this._type],
|
|
5381
5405
|
className: `fibo-text fibo-text-${this._type} min-w-0 ${this.getClassName()}`,
|
|
@@ -5395,13 +5419,13 @@ class fr extends ao {
|
|
|
5395
5419
|
}
|
|
5396
5420
|
const ar = co(fr), fe = yo(null);
|
|
5397
5421
|
function Go() {
|
|
5398
|
-
const t =
|
|
5422
|
+
const t = Ro(fe);
|
|
5399
5423
|
if (!t)
|
|
5400
5424
|
throw new Error("useRouter must be used within a Router");
|
|
5401
5425
|
return t;
|
|
5402
5426
|
}
|
|
5403
5427
|
function ps() {
|
|
5404
|
-
return
|
|
5428
|
+
return Ro(fe);
|
|
5405
5429
|
}
|
|
5406
5430
|
function xs() {
|
|
5407
5431
|
const { navigate: t } = Go();
|
|
@@ -5510,54 +5534,54 @@ const ws = co(lr), ur = l.memo((t) => {
|
|
|
5510
5534
|
containerHeight: s = 500,
|
|
5511
5535
|
className: f,
|
|
5512
5536
|
style: a
|
|
5513
|
-
} = t, [u, b] = G(0), h = U(null), d = U(/* @__PURE__ */ new Map()),
|
|
5514
|
-
if (
|
|
5515
|
-
return
|
|
5516
|
-
let
|
|
5517
|
-
for (let
|
|
5518
|
-
|
|
5519
|
-
return
|
|
5537
|
+
} = t, [u, b] = G(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, $ = (S) => {
|
|
5538
|
+
if (p)
|
|
5539
|
+
return S * e;
|
|
5540
|
+
let C = 0;
|
|
5541
|
+
for (let V = 0; V < S; V++)
|
|
5542
|
+
C += T(V);
|
|
5543
|
+
return C;
|
|
5520
5544
|
}, M = () => {
|
|
5521
|
-
if (
|
|
5522
|
-
return
|
|
5523
|
-
let
|
|
5524
|
-
for (let
|
|
5525
|
-
|
|
5526
|
-
return
|
|
5527
|
-
},
|
|
5528
|
-
if (
|
|
5529
|
-
return Math.floor(
|
|
5530
|
-
let
|
|
5531
|
-
for (;
|
|
5532
|
-
const
|
|
5533
|
-
|
|
5545
|
+
if (p)
|
|
5546
|
+
return m * e;
|
|
5547
|
+
let S = 0;
|
|
5548
|
+
for (let C = 0; C < m; C++)
|
|
5549
|
+
S += T(C);
|
|
5550
|
+
return S;
|
|
5551
|
+
}, N = Math.max(0, ((S) => {
|
|
5552
|
+
if (p)
|
|
5553
|
+
return Math.floor(S / e);
|
|
5554
|
+
let C = 0, V = m - 1;
|
|
5555
|
+
for (; C < V; ) {
|
|
5556
|
+
const y = Math.floor((C + V) / 2);
|
|
5557
|
+
$(y) < S ? C = y + 1 : V = y;
|
|
5534
5558
|
}
|
|
5535
|
-
return Math.max(0,
|
|
5559
|
+
return Math.max(0, C - 1);
|
|
5536
5560
|
})(u) - n);
|
|
5537
|
-
let
|
|
5538
|
-
if (
|
|
5539
|
-
const
|
|
5540
|
-
|
|
5561
|
+
let D;
|
|
5562
|
+
if (p) {
|
|
5563
|
+
const S = Math.ceil(s / e);
|
|
5564
|
+
D = Math.min(m, N + S + n * 2);
|
|
5541
5565
|
} else {
|
|
5542
|
-
let
|
|
5543
|
-
for (;
|
|
5544
|
-
|
|
5545
|
-
|
|
5566
|
+
let S = $(N), C = N;
|
|
5567
|
+
for (; S < u + s + n * i && C < m; )
|
|
5568
|
+
S += T(C), C++;
|
|
5569
|
+
D = Math.min(m, C);
|
|
5546
5570
|
}
|
|
5547
|
-
const
|
|
5571
|
+
const I = o.slice(N, D), A = $(N), v = M(), [z, P] = G(0);
|
|
5548
5572
|
oe(() => {
|
|
5549
|
-
if (!r ||
|
|
5550
|
-
let
|
|
5551
|
-
|
|
5552
|
-
const
|
|
5553
|
-
if (
|
|
5554
|
-
const
|
|
5555
|
-
|
|
5573
|
+
if (!r || p) return;
|
|
5574
|
+
let S = !1;
|
|
5575
|
+
I.forEach((C, V) => {
|
|
5576
|
+
const y = N + V, R = d.current.get(y);
|
|
5577
|
+
if (R) {
|
|
5578
|
+
const g = R.getBoundingClientRect().height;
|
|
5579
|
+
g > 0 && x.current.get(y) !== g && (x.current.set(y, g), S = !0);
|
|
5556
5580
|
}
|
|
5557
|
-
}),
|
|
5558
|
-
}, [
|
|
5559
|
-
const
|
|
5560
|
-
b(
|
|
5581
|
+
}), S && P((C) => C + 1);
|
|
5582
|
+
}, [I, N, r, p, z]);
|
|
5583
|
+
const X = (S) => {
|
|
5584
|
+
b(S.currentTarget.scrollTop);
|
|
5561
5585
|
};
|
|
5562
5586
|
return l.createElement(
|
|
5563
5587
|
"div",
|
|
@@ -5570,11 +5594,11 @@ const ws = co(lr), ur = l.memo((t) => {
|
|
|
5570
5594
|
position: "relative",
|
|
5571
5595
|
...a
|
|
5572
5596
|
},
|
|
5573
|
-
onScroll:
|
|
5597
|
+
onScroll: X
|
|
5574
5598
|
},
|
|
5575
5599
|
l.createElement("div", {
|
|
5576
5600
|
style: {
|
|
5577
|
-
height: `${
|
|
5601
|
+
height: `${v}px`,
|
|
5578
5602
|
width: "1px",
|
|
5579
5603
|
position: "absolute",
|
|
5580
5604
|
top: 0,
|
|
@@ -5587,22 +5611,22 @@ const ws = co(lr), ur = l.memo((t) => {
|
|
|
5587
5611
|
"div",
|
|
5588
5612
|
{
|
|
5589
5613
|
style: {
|
|
5590
|
-
transform: `translateY(${
|
|
5614
|
+
transform: `translateY(${A}px)`,
|
|
5591
5615
|
width: "100%"
|
|
5592
5616
|
}
|
|
5593
5617
|
},
|
|
5594
|
-
|
|
5595
|
-
const
|
|
5618
|
+
I.map((S, C) => {
|
|
5619
|
+
const V = N + C;
|
|
5596
5620
|
return l.createElement(
|
|
5597
5621
|
"div",
|
|
5598
5622
|
{
|
|
5599
|
-
key:
|
|
5600
|
-
ref: (
|
|
5601
|
-
|
|
5623
|
+
key: V,
|
|
5624
|
+
ref: (y) => {
|
|
5625
|
+
y && r && !p ? d.current.set(V, y) : y || d.current.delete(V);
|
|
5602
5626
|
},
|
|
5603
5627
|
style: { width: "100%" }
|
|
5604
5628
|
},
|
|
5605
|
-
|
|
5629
|
+
S
|
|
5606
5630
|
);
|
|
5607
5631
|
})
|
|
5608
5632
|
)
|
|
@@ -5673,7 +5697,7 @@ class dr extends ao {
|
|
|
5673
5697
|
return l.createElement(hr, n);
|
|
5674
5698
|
}
|
|
5675
5699
|
}
|
|
5676
|
-
const
|
|
5700
|
+
const Io = co(dr), pr = (t, o) => {
|
|
5677
5701
|
const e = new Array(t.length + o.length);
|
|
5678
5702
|
for (let i = 0; i < t.length; i++)
|
|
5679
5703
|
e[i] = t[i];
|
|
@@ -5687,7 +5711,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
5687
5711
|
nextPart: t,
|
|
5688
5712
|
validators: o,
|
|
5689
5713
|
classGroupId: e
|
|
5690
|
-
}),
|
|
5714
|
+
}), Do = "-", ke = [], mr = "arbitrary..", gr = (t) => {
|
|
5691
5715
|
const o = wr(t), {
|
|
5692
5716
|
conflictingClassGroups: e,
|
|
5693
5717
|
conflictingClassGroupModifiers: i
|
|
@@ -5696,7 +5720,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
5696
5720
|
getClassGroupId: (s) => {
|
|
5697
5721
|
if (s.startsWith("[") && s.endsWith("]"))
|
|
5698
5722
|
return vr(s);
|
|
5699
|
-
const f = s.split(
|
|
5723
|
+
const f = s.split(Do), a = f[0] === "" && f.length > 1 ? 1 : 0;
|
|
5700
5724
|
return ut(f, a, o);
|
|
5701
5725
|
},
|
|
5702
5726
|
getConflictingClassGroupIds: (s, f) => {
|
|
@@ -5718,7 +5742,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
5718
5742
|
const s = e.validators;
|
|
5719
5743
|
if (s === null)
|
|
5720
5744
|
return;
|
|
5721
|
-
const f = o === 0 ? t.join(
|
|
5745
|
+
const f = o === 0 ? t.join(Do) : t.slice(o).join(Do), a = s.length;
|
|
5722
5746
|
for (let u = 0; u < a; u++) {
|
|
5723
5747
|
const b = s[u];
|
|
5724
5748
|
if (b.validator(f))
|
|
@@ -5773,7 +5797,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
5773
5797
|
}
|
|
5774
5798
|
}, bt = (t, o) => {
|
|
5775
5799
|
let e = t;
|
|
5776
|
-
const i = o.split(
|
|
5800
|
+
const i = o.split(Do), r = i.length;
|
|
5777
5801
|
for (let n = 0; n < r; n++) {
|
|
5778
5802
|
const s = i[n];
|
|
5779
5803
|
let f = e.nextPart.get(s);
|
|
@@ -5810,7 +5834,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
5810
5834
|
baseClassName: e,
|
|
5811
5835
|
maybePostfixModifierPosition: i,
|
|
5812
5836
|
isExternal: r
|
|
5813
|
-
}),
|
|
5837
|
+
}), Ir = (t) => {
|
|
5814
5838
|
const {
|
|
5815
5839
|
prefix: o,
|
|
5816
5840
|
experimentalParseClassName: e
|
|
@@ -5819,31 +5843,31 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
5819
5843
|
const n = [];
|
|
5820
5844
|
let s = 0, f = 0, a = 0, u;
|
|
5821
5845
|
const b = r.length;
|
|
5822
|
-
for (let
|
|
5823
|
-
const T = r[
|
|
5846
|
+
for (let p = 0; p < b; p++) {
|
|
5847
|
+
const T = r[p];
|
|
5824
5848
|
if (s === 0 && f === 0) {
|
|
5825
5849
|
if (T === _e) {
|
|
5826
|
-
n.push(r.slice(a,
|
|
5850
|
+
n.push(r.slice(a, p)), a = p + 1;
|
|
5827
5851
|
continue;
|
|
5828
5852
|
}
|
|
5829
5853
|
if (T === "/") {
|
|
5830
|
-
u =
|
|
5854
|
+
u = p;
|
|
5831
5855
|
continue;
|
|
5832
5856
|
}
|
|
5833
5857
|
}
|
|
5834
5858
|
T === "[" ? s++ : T === "]" ? s-- : T === "(" ? f++ : T === ")" && f--;
|
|
5835
5859
|
}
|
|
5836
5860
|
const h = n.length === 0 ? r : r.slice(a);
|
|
5837
|
-
let d = h,
|
|
5838
|
-
h.endsWith(te) ? (d = h.slice(0, -1),
|
|
5861
|
+
let d = h, x = !1;
|
|
5862
|
+
h.endsWith(te) ? (d = h.slice(0, -1), x = !0) : (
|
|
5839
5863
|
/**
|
|
5840
5864
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
5841
5865
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
5842
5866
|
*/
|
|
5843
|
-
h.startsWith(te) && (d = h.slice(1),
|
|
5867
|
+
h.startsWith(te) && (d = h.slice(1), x = !0)
|
|
5844
5868
|
);
|
|
5845
|
-
const
|
|
5846
|
-
return Se(n,
|
|
5869
|
+
const m = u && u > a ? u - a : void 0;
|
|
5870
|
+
return Se(n, x, d, m);
|
|
5847
5871
|
};
|
|
5848
5872
|
if (o) {
|
|
5849
5873
|
const r = o + _e, n = i;
|
|
@@ -5857,7 +5881,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
5857
5881
|
});
|
|
5858
5882
|
}
|
|
5859
5883
|
return i;
|
|
5860
|
-
},
|
|
5884
|
+
}, $r = (t) => {
|
|
5861
5885
|
const o = /* @__PURE__ */ new Map();
|
|
5862
5886
|
return t.orderSensitiveModifiers.forEach((e, i) => {
|
|
5863
5887
|
o.set(e, 1e6 + i);
|
|
@@ -5870,51 +5894,51 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
5870
5894
|
}
|
|
5871
5895
|
return r.length > 0 && (r.sort(), i.push(...r)), i;
|
|
5872
5896
|
};
|
|
5873
|
-
},
|
|
5897
|
+
}, Fr = (t) => ({
|
|
5874
5898
|
cache: Er(t.cacheSize),
|
|
5875
|
-
parseClassName:
|
|
5876
|
-
sortModifiers:
|
|
5899
|
+
parseClassName: Ir(t),
|
|
5900
|
+
sortModifiers: $r(t),
|
|
5877
5901
|
...gr(t)
|
|
5878
|
-
}),
|
|
5902
|
+
}), Rr = /\s+/, Nr = (t, o) => {
|
|
5879
5903
|
const {
|
|
5880
5904
|
parseClassName: e,
|
|
5881
5905
|
getClassGroupId: i,
|
|
5882
5906
|
getConflictingClassGroupIds: r,
|
|
5883
5907
|
sortModifiers: n
|
|
5884
|
-
} = o, s = [], f = t.trim().split(
|
|
5908
|
+
} = o, s = [], f = t.trim().split(Rr);
|
|
5885
5909
|
let a = "";
|
|
5886
5910
|
for (let u = f.length - 1; u >= 0; u -= 1) {
|
|
5887
5911
|
const b = f[u], {
|
|
5888
5912
|
isExternal: h,
|
|
5889
5913
|
modifiers: d,
|
|
5890
|
-
hasImportantModifier:
|
|
5891
|
-
baseClassName:
|
|
5892
|
-
maybePostfixModifierPosition:
|
|
5914
|
+
hasImportantModifier: x,
|
|
5915
|
+
baseClassName: m,
|
|
5916
|
+
maybePostfixModifierPosition: p
|
|
5893
5917
|
} = e(b);
|
|
5894
5918
|
if (h) {
|
|
5895
5919
|
a = b + (a.length > 0 ? " " + a : a);
|
|
5896
5920
|
continue;
|
|
5897
5921
|
}
|
|
5898
|
-
let T = !!
|
|
5899
|
-
if (
|
|
5922
|
+
let T = !!p, $ = i(T ? m.substring(0, p) : m);
|
|
5923
|
+
if (!$) {
|
|
5900
5924
|
if (!T) {
|
|
5901
5925
|
a = b + (a.length > 0 ? " " + a : a);
|
|
5902
5926
|
continue;
|
|
5903
5927
|
}
|
|
5904
|
-
if (
|
|
5928
|
+
if ($ = i(m), !$) {
|
|
5905
5929
|
a = b + (a.length > 0 ? " " + a : a);
|
|
5906
5930
|
continue;
|
|
5907
5931
|
}
|
|
5908
5932
|
T = !1;
|
|
5909
5933
|
}
|
|
5910
|
-
const M = d.length === 0 ? "" : d.length === 1 ? d[0] : n(d).join(":"),
|
|
5911
|
-
if (s.indexOf(
|
|
5934
|
+
const M = d.length === 0 ? "" : d.length === 1 ? d[0] : n(d).join(":"), F = x ? M + te : M, N = F + $;
|
|
5935
|
+
if (s.indexOf(N) > -1)
|
|
5912
5936
|
continue;
|
|
5913
|
-
s.push(
|
|
5914
|
-
const
|
|
5915
|
-
for (let
|
|
5916
|
-
const
|
|
5917
|
-
s.push(
|
|
5937
|
+
s.push(N);
|
|
5938
|
+
const D = r($, T);
|
|
5939
|
+
for (let I = 0; I < D.length; ++I) {
|
|
5940
|
+
const A = D[I];
|
|
5941
|
+
s.push(F + A);
|
|
5918
5942
|
}
|
|
5919
5943
|
a = b + (a.length > 0 ? " " + a : a);
|
|
5920
5944
|
}
|
|
@@ -5935,31 +5959,31 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
5935
5959
|
let e, i, r, n;
|
|
5936
5960
|
const s = (a) => {
|
|
5937
5961
|
const u = o.reduce((b, h) => h(b), t());
|
|
5938
|
-
return e =
|
|
5962
|
+
return e = Fr(u), i = e.cache.get, r = e.cache.set, n = f, f(a);
|
|
5939
5963
|
}, f = (a) => {
|
|
5940
5964
|
const u = i(a);
|
|
5941
5965
|
if (u)
|
|
5942
5966
|
return u;
|
|
5943
|
-
const b =
|
|
5967
|
+
const b = Nr(a, e);
|
|
5944
5968
|
return r(a, b), b;
|
|
5945
5969
|
};
|
|
5946
5970
|
return n = s, (...a) => n(Br(...a));
|
|
5947
|
-
}, Lr = [],
|
|
5971
|
+
}, Lr = [], oo = (t) => {
|
|
5948
5972
|
const o = (e) => e[t] || Lr;
|
|
5949
5973
|
return o.isThemeGetter = !0, o;
|
|
5950
|
-
}, 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),
|
|
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), B = (t) => !!t && !Number.isNaN(Number(t)), xo = (t) => !!t && Number.isInteger(Number(t)), qo = (t) => t.endsWith("%") && B(t.slice(0, -1)), ho = (t) => Mr.test(t), jr = () => !0, Dr = (t) => (
|
|
5951
5975
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
5952
5976
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
5953
5977
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
5954
5978
|
Or.test(t) && !Wr.test(t)
|
|
5955
|
-
), xt = () => !1,
|
|
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, B), 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) => {
|
|
5956
5980
|
const i = dt.exec(t);
|
|
5957
5981
|
return i ? i[1] ? o(i[1]) : e(i[2]) : !1;
|
|
5958
5982
|
}, Bo = (t, o, e = !1) => {
|
|
5959
5983
|
const i = pt.exec(t);
|
|
5960
5984
|
return i ? i[1] ? o(i[1]) : e : !1;
|
|
5961
5985
|
}, 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 = () => {
|
|
5962
|
-
const t =
|
|
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"), $ = oo("ease"), M = oo("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [
|
|
5963
5987
|
"center",
|
|
5964
5988
|
"top",
|
|
5965
5989
|
"bottom",
|
|
@@ -5977,30 +6001,30 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
5977
6001
|
"bottom-left",
|
|
5978
6002
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
5979
6003
|
"left-bottom"
|
|
5980
|
-
],
|
|
5981
|
-
span: ["full", xo,
|
|
5982
|
-
}, xo,
|
|
5983
|
-
position: [
|
|
5984
|
-
}],
|
|
6004
|
+
], D = () => [...N(), _, k], I = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], v = () => [_, k, a], z = () => [Eo, "full", "auto", ...v()], P = () => [xo, "none", "subgrid", _, k], X = () => ["auto", {
|
|
6005
|
+
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"], R = () => ["auto", ...v()], H = () => [Eo, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...v()], g = () => [t, _, k], K = () => [...N(), ze, Ce, {
|
|
6007
|
+
position: [_, k]
|
|
6008
|
+
}], w = () => ["no-repeat", {
|
|
5985
6009
|
repeat: ["", "x", "y", "space", "round"]
|
|
5986
|
-
}],
|
|
5987
|
-
size: [
|
|
5988
|
-
}],
|
|
6010
|
+
}], O = () => ["auto", "cover", "contain", Zr, Ur, {
|
|
6011
|
+
size: [_, k]
|
|
6012
|
+
}], q = () => [qo, Lo, vo], Y = () => [
|
|
5989
6013
|
// Deprecated since Tailwind CSS v4.0.0
|
|
5990
6014
|
"",
|
|
5991
6015
|
"none",
|
|
5992
6016
|
"full",
|
|
5993
6017
|
u,
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
],
|
|
6018
|
+
_,
|
|
6019
|
+
k
|
|
6020
|
+
], to = () => ["", B, 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 = () => [B, qo, ze, Ce], _o = () => [
|
|
5997
6021
|
// Deprecated since Tailwind CSS v4.0.0
|
|
5998
6022
|
"",
|
|
5999
6023
|
"none",
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
], go = () => ["none",
|
|
6024
|
+
m,
|
|
6025
|
+
_,
|
|
6026
|
+
k
|
|
6027
|
+
], go = () => ["none", B, _, k], io = () => ["none", B, _, k], So = () => [B, _, k], L = () => [Eo, "full", ...v()];
|
|
6004
6028
|
return {
|
|
6005
6029
|
cacheSize: 500,
|
|
6006
6030
|
theme: {
|
|
@@ -6019,7 +6043,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6019
6043
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
6020
6044
|
radius: [ho],
|
|
6021
6045
|
shadow: [ho],
|
|
6022
|
-
spacing: ["px",
|
|
6046
|
+
spacing: ["px", B],
|
|
6023
6047
|
text: [ho],
|
|
6024
6048
|
"text-shadow": [ho],
|
|
6025
6049
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -6033,7 +6057,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6033
6057
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
6034
6058
|
*/
|
|
6035
6059
|
aspect: [{
|
|
6036
|
-
aspect: ["auto", "square", Eo,
|
|
6060
|
+
aspect: ["auto", "square", Eo, k, _, T]
|
|
6037
6061
|
}],
|
|
6038
6062
|
/**
|
|
6039
6063
|
* Container
|
|
@@ -6046,21 +6070,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6046
6070
|
* @see https://tailwindcss.com/docs/columns
|
|
6047
6071
|
*/
|
|
6048
6072
|
columns: [{
|
|
6049
|
-
columns: [
|
|
6073
|
+
columns: [B, k, _, f]
|
|
6050
6074
|
}],
|
|
6051
6075
|
/**
|
|
6052
6076
|
* Break After
|
|
6053
6077
|
* @see https://tailwindcss.com/docs/break-after
|
|
6054
6078
|
*/
|
|
6055
6079
|
"break-after": [{
|
|
6056
|
-
"break-after":
|
|
6080
|
+
"break-after": F()
|
|
6057
6081
|
}],
|
|
6058
6082
|
/**
|
|
6059
6083
|
* Break Before
|
|
6060
6084
|
* @see https://tailwindcss.com/docs/break-before
|
|
6061
6085
|
*/
|
|
6062
6086
|
"break-before": [{
|
|
6063
|
-
"break-before":
|
|
6087
|
+
"break-before": F()
|
|
6064
6088
|
}],
|
|
6065
6089
|
/**
|
|
6066
6090
|
* Break Inside
|
|
@@ -6124,49 +6148,49 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6124
6148
|
* @see https://tailwindcss.com/docs/object-position
|
|
6125
6149
|
*/
|
|
6126
6150
|
"object-position": [{
|
|
6127
|
-
object:
|
|
6151
|
+
object: D()
|
|
6128
6152
|
}],
|
|
6129
6153
|
/**
|
|
6130
6154
|
* Overflow
|
|
6131
6155
|
* @see https://tailwindcss.com/docs/overflow
|
|
6132
6156
|
*/
|
|
6133
6157
|
overflow: [{
|
|
6134
|
-
overflow:
|
|
6158
|
+
overflow: I()
|
|
6135
6159
|
}],
|
|
6136
6160
|
/**
|
|
6137
6161
|
* Overflow X
|
|
6138
6162
|
* @see https://tailwindcss.com/docs/overflow
|
|
6139
6163
|
*/
|
|
6140
6164
|
"overflow-x": [{
|
|
6141
|
-
"overflow-x":
|
|
6165
|
+
"overflow-x": I()
|
|
6142
6166
|
}],
|
|
6143
6167
|
/**
|
|
6144
6168
|
* Overflow Y
|
|
6145
6169
|
* @see https://tailwindcss.com/docs/overflow
|
|
6146
6170
|
*/
|
|
6147
6171
|
"overflow-y": [{
|
|
6148
|
-
"overflow-y":
|
|
6172
|
+
"overflow-y": I()
|
|
6149
6173
|
}],
|
|
6150
6174
|
/**
|
|
6151
6175
|
* Overscroll Behavior
|
|
6152
6176
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
6153
6177
|
*/
|
|
6154
6178
|
overscroll: [{
|
|
6155
|
-
overscroll:
|
|
6179
|
+
overscroll: A()
|
|
6156
6180
|
}],
|
|
6157
6181
|
/**
|
|
6158
6182
|
* Overscroll Behavior X
|
|
6159
6183
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
6160
6184
|
*/
|
|
6161
6185
|
"overscroll-x": [{
|
|
6162
|
-
"overscroll-x":
|
|
6186
|
+
"overscroll-x": A()
|
|
6163
6187
|
}],
|
|
6164
6188
|
/**
|
|
6165
6189
|
* Overscroll Behavior Y
|
|
6166
6190
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
6167
6191
|
*/
|
|
6168
6192
|
"overscroll-y": [{
|
|
6169
|
-
"overscroll-y":
|
|
6193
|
+
"overscroll-y": A()
|
|
6170
6194
|
}],
|
|
6171
6195
|
/**
|
|
6172
6196
|
* Position
|
|
@@ -6178,63 +6202,63 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6178
6202
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
6179
6203
|
*/
|
|
6180
6204
|
inset: [{
|
|
6181
|
-
inset:
|
|
6205
|
+
inset: z()
|
|
6182
6206
|
}],
|
|
6183
6207
|
/**
|
|
6184
6208
|
* Right / Left
|
|
6185
6209
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
6186
6210
|
*/
|
|
6187
6211
|
"inset-x": [{
|
|
6188
|
-
"inset-x":
|
|
6212
|
+
"inset-x": z()
|
|
6189
6213
|
}],
|
|
6190
6214
|
/**
|
|
6191
6215
|
* Top / Bottom
|
|
6192
6216
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
6193
6217
|
*/
|
|
6194
6218
|
"inset-y": [{
|
|
6195
|
-
"inset-y":
|
|
6219
|
+
"inset-y": z()
|
|
6196
6220
|
}],
|
|
6197
6221
|
/**
|
|
6198
6222
|
* Start
|
|
6199
6223
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
6200
6224
|
*/
|
|
6201
6225
|
start: [{
|
|
6202
|
-
start:
|
|
6226
|
+
start: z()
|
|
6203
6227
|
}],
|
|
6204
6228
|
/**
|
|
6205
6229
|
* End
|
|
6206
6230
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
6207
6231
|
*/
|
|
6208
6232
|
end: [{
|
|
6209
|
-
end:
|
|
6233
|
+
end: z()
|
|
6210
6234
|
}],
|
|
6211
6235
|
/**
|
|
6212
6236
|
* Top
|
|
6213
6237
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
6214
6238
|
*/
|
|
6215
6239
|
top: [{
|
|
6216
|
-
top:
|
|
6240
|
+
top: z()
|
|
6217
6241
|
}],
|
|
6218
6242
|
/**
|
|
6219
6243
|
* Right
|
|
6220
6244
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
6221
6245
|
*/
|
|
6222
6246
|
right: [{
|
|
6223
|
-
right:
|
|
6247
|
+
right: z()
|
|
6224
6248
|
}],
|
|
6225
6249
|
/**
|
|
6226
6250
|
* Bottom
|
|
6227
6251
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
6228
6252
|
*/
|
|
6229
6253
|
bottom: [{
|
|
6230
|
-
bottom:
|
|
6254
|
+
bottom: z()
|
|
6231
6255
|
}],
|
|
6232
6256
|
/**
|
|
6233
6257
|
* Left
|
|
6234
6258
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
6235
6259
|
*/
|
|
6236
6260
|
left: [{
|
|
6237
|
-
left:
|
|
6261
|
+
left: z()
|
|
6238
6262
|
}],
|
|
6239
6263
|
/**
|
|
6240
6264
|
* Visibility
|
|
@@ -6246,7 +6270,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6246
6270
|
* @see https://tailwindcss.com/docs/z-index
|
|
6247
6271
|
*/
|
|
6248
6272
|
z: [{
|
|
6249
|
-
z: [xo, "auto",
|
|
6273
|
+
z: [xo, "auto", _, k]
|
|
6250
6274
|
}],
|
|
6251
6275
|
// ------------------------
|
|
6252
6276
|
// --- Flexbox and Grid ---
|
|
@@ -6256,7 +6280,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6256
6280
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
6257
6281
|
*/
|
|
6258
6282
|
basis: [{
|
|
6259
|
-
basis: [Eo, "full", "auto", f, ...
|
|
6283
|
+
basis: [Eo, "full", "auto", f, ...v()]
|
|
6260
6284
|
}],
|
|
6261
6285
|
/**
|
|
6262
6286
|
* Flex Direction
|
|
@@ -6277,84 +6301,84 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6277
6301
|
* @see https://tailwindcss.com/docs/flex
|
|
6278
6302
|
*/
|
|
6279
6303
|
flex: [{
|
|
6280
|
-
flex: [
|
|
6304
|
+
flex: [B, Eo, "auto", "initial", "none", k]
|
|
6281
6305
|
}],
|
|
6282
6306
|
/**
|
|
6283
6307
|
* Flex Grow
|
|
6284
6308
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
6285
6309
|
*/
|
|
6286
6310
|
grow: [{
|
|
6287
|
-
grow: ["",
|
|
6311
|
+
grow: ["", B, _, k]
|
|
6288
6312
|
}],
|
|
6289
6313
|
/**
|
|
6290
6314
|
* Flex Shrink
|
|
6291
6315
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
6292
6316
|
*/
|
|
6293
6317
|
shrink: [{
|
|
6294
|
-
shrink: ["",
|
|
6318
|
+
shrink: ["", B, _, k]
|
|
6295
6319
|
}],
|
|
6296
6320
|
/**
|
|
6297
6321
|
* Order
|
|
6298
6322
|
* @see https://tailwindcss.com/docs/order
|
|
6299
6323
|
*/
|
|
6300
6324
|
order: [{
|
|
6301
|
-
order: [xo, "first", "last", "none",
|
|
6325
|
+
order: [xo, "first", "last", "none", _, k]
|
|
6302
6326
|
}],
|
|
6303
6327
|
/**
|
|
6304
6328
|
* Grid Template Columns
|
|
6305
6329
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
6306
6330
|
*/
|
|
6307
6331
|
"grid-cols": [{
|
|
6308
|
-
"grid-cols":
|
|
6332
|
+
"grid-cols": P()
|
|
6309
6333
|
}],
|
|
6310
6334
|
/**
|
|
6311
6335
|
* Grid Column Start / End
|
|
6312
6336
|
* @see https://tailwindcss.com/docs/grid-column
|
|
6313
6337
|
*/
|
|
6314
6338
|
"col-start-end": [{
|
|
6315
|
-
col:
|
|
6339
|
+
col: X()
|
|
6316
6340
|
}],
|
|
6317
6341
|
/**
|
|
6318
6342
|
* Grid Column Start
|
|
6319
6343
|
* @see https://tailwindcss.com/docs/grid-column
|
|
6320
6344
|
*/
|
|
6321
6345
|
"col-start": [{
|
|
6322
|
-
"col-start":
|
|
6346
|
+
"col-start": S()
|
|
6323
6347
|
}],
|
|
6324
6348
|
/**
|
|
6325
6349
|
* Grid Column End
|
|
6326
6350
|
* @see https://tailwindcss.com/docs/grid-column
|
|
6327
6351
|
*/
|
|
6328
6352
|
"col-end": [{
|
|
6329
|
-
"col-end":
|
|
6353
|
+
"col-end": S()
|
|
6330
6354
|
}],
|
|
6331
6355
|
/**
|
|
6332
6356
|
* Grid Template Rows
|
|
6333
6357
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
6334
6358
|
*/
|
|
6335
6359
|
"grid-rows": [{
|
|
6336
|
-
"grid-rows":
|
|
6360
|
+
"grid-rows": P()
|
|
6337
6361
|
}],
|
|
6338
6362
|
/**
|
|
6339
6363
|
* Grid Row Start / End
|
|
6340
6364
|
* @see https://tailwindcss.com/docs/grid-row
|
|
6341
6365
|
*/
|
|
6342
6366
|
"row-start-end": [{
|
|
6343
|
-
row:
|
|
6367
|
+
row: X()
|
|
6344
6368
|
}],
|
|
6345
6369
|
/**
|
|
6346
6370
|
* Grid Row Start
|
|
6347
6371
|
* @see https://tailwindcss.com/docs/grid-row
|
|
6348
6372
|
*/
|
|
6349
6373
|
"row-start": [{
|
|
6350
|
-
"row-start":
|
|
6374
|
+
"row-start": S()
|
|
6351
6375
|
}],
|
|
6352
6376
|
/**
|
|
6353
6377
|
* Grid Row End
|
|
6354
6378
|
* @see https://tailwindcss.com/docs/grid-row
|
|
6355
6379
|
*/
|
|
6356
6380
|
"row-end": [{
|
|
6357
|
-
"row-end":
|
|
6381
|
+
"row-end": S()
|
|
6358
6382
|
}],
|
|
6359
6383
|
/**
|
|
6360
6384
|
* Grid Auto Flow
|
|
@@ -6368,70 +6392,70 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6368
6392
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
6369
6393
|
*/
|
|
6370
6394
|
"auto-cols": [{
|
|
6371
|
-
"auto-cols":
|
|
6395
|
+
"auto-cols": C()
|
|
6372
6396
|
}],
|
|
6373
6397
|
/**
|
|
6374
6398
|
* Grid Auto Rows
|
|
6375
6399
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
6376
6400
|
*/
|
|
6377
6401
|
"auto-rows": [{
|
|
6378
|
-
"auto-rows":
|
|
6402
|
+
"auto-rows": C()
|
|
6379
6403
|
}],
|
|
6380
6404
|
/**
|
|
6381
6405
|
* Gap
|
|
6382
6406
|
* @see https://tailwindcss.com/docs/gap
|
|
6383
6407
|
*/
|
|
6384
6408
|
gap: [{
|
|
6385
|
-
gap:
|
|
6409
|
+
gap: v()
|
|
6386
6410
|
}],
|
|
6387
6411
|
/**
|
|
6388
6412
|
* Gap X
|
|
6389
6413
|
* @see https://tailwindcss.com/docs/gap
|
|
6390
6414
|
*/
|
|
6391
6415
|
"gap-x": [{
|
|
6392
|
-
"gap-x":
|
|
6416
|
+
"gap-x": v()
|
|
6393
6417
|
}],
|
|
6394
6418
|
/**
|
|
6395
6419
|
* Gap Y
|
|
6396
6420
|
* @see https://tailwindcss.com/docs/gap
|
|
6397
6421
|
*/
|
|
6398
6422
|
"gap-y": [{
|
|
6399
|
-
"gap-y":
|
|
6423
|
+
"gap-y": v()
|
|
6400
6424
|
}],
|
|
6401
6425
|
/**
|
|
6402
6426
|
* Justify Content
|
|
6403
6427
|
* @see https://tailwindcss.com/docs/justify-content
|
|
6404
6428
|
*/
|
|
6405
6429
|
"justify-content": [{
|
|
6406
|
-
justify: [...
|
|
6430
|
+
justify: [...V(), "normal"]
|
|
6407
6431
|
}],
|
|
6408
6432
|
/**
|
|
6409
6433
|
* Justify Items
|
|
6410
6434
|
* @see https://tailwindcss.com/docs/justify-items
|
|
6411
6435
|
*/
|
|
6412
6436
|
"justify-items": [{
|
|
6413
|
-
"justify-items": [...
|
|
6437
|
+
"justify-items": [...y(), "normal"]
|
|
6414
6438
|
}],
|
|
6415
6439
|
/**
|
|
6416
6440
|
* Justify Self
|
|
6417
6441
|
* @see https://tailwindcss.com/docs/justify-self
|
|
6418
6442
|
*/
|
|
6419
6443
|
"justify-self": [{
|
|
6420
|
-
"justify-self": ["auto", ...
|
|
6444
|
+
"justify-self": ["auto", ...y()]
|
|
6421
6445
|
}],
|
|
6422
6446
|
/**
|
|
6423
6447
|
* Align Content
|
|
6424
6448
|
* @see https://tailwindcss.com/docs/align-content
|
|
6425
6449
|
*/
|
|
6426
6450
|
"align-content": [{
|
|
6427
|
-
content: ["normal", ...
|
|
6451
|
+
content: ["normal", ...V()]
|
|
6428
6452
|
}],
|
|
6429
6453
|
/**
|
|
6430
6454
|
* Align Items
|
|
6431
6455
|
* @see https://tailwindcss.com/docs/align-items
|
|
6432
6456
|
*/
|
|
6433
6457
|
"align-items": [{
|
|
6434
|
-
items: [...
|
|
6458
|
+
items: [...y(), {
|
|
6435
6459
|
baseline: ["", "last"]
|
|
6436
6460
|
}]
|
|
6437
6461
|
}],
|
|
@@ -6440,7 +6464,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6440
6464
|
* @see https://tailwindcss.com/docs/align-self
|
|
6441
6465
|
*/
|
|
6442
6466
|
"align-self": [{
|
|
6443
|
-
self: ["auto", ...
|
|
6467
|
+
self: ["auto", ...y(), {
|
|
6444
6468
|
baseline: ["", "last"]
|
|
6445
6469
|
}]
|
|
6446
6470
|
}],
|
|
@@ -6449,21 +6473,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6449
6473
|
* @see https://tailwindcss.com/docs/place-content
|
|
6450
6474
|
*/
|
|
6451
6475
|
"place-content": [{
|
|
6452
|
-
"place-content":
|
|
6476
|
+
"place-content": V()
|
|
6453
6477
|
}],
|
|
6454
6478
|
/**
|
|
6455
6479
|
* Place Items
|
|
6456
6480
|
* @see https://tailwindcss.com/docs/place-items
|
|
6457
6481
|
*/
|
|
6458
6482
|
"place-items": [{
|
|
6459
|
-
"place-items": [...
|
|
6483
|
+
"place-items": [...y(), "baseline"]
|
|
6460
6484
|
}],
|
|
6461
6485
|
/**
|
|
6462
6486
|
* Place Self
|
|
6463
6487
|
* @see https://tailwindcss.com/docs/place-self
|
|
6464
6488
|
*/
|
|
6465
6489
|
"place-self": [{
|
|
6466
|
-
"place-self": ["auto", ...
|
|
6490
|
+
"place-self": ["auto", ...y()]
|
|
6467
6491
|
}],
|
|
6468
6492
|
// Spacing
|
|
6469
6493
|
/**
|
|
@@ -6471,133 +6495,133 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6471
6495
|
* @see https://tailwindcss.com/docs/padding
|
|
6472
6496
|
*/
|
|
6473
6497
|
p: [{
|
|
6474
|
-
p:
|
|
6498
|
+
p: v()
|
|
6475
6499
|
}],
|
|
6476
6500
|
/**
|
|
6477
6501
|
* Padding X
|
|
6478
6502
|
* @see https://tailwindcss.com/docs/padding
|
|
6479
6503
|
*/
|
|
6480
6504
|
px: [{
|
|
6481
|
-
px:
|
|
6505
|
+
px: v()
|
|
6482
6506
|
}],
|
|
6483
6507
|
/**
|
|
6484
6508
|
* Padding Y
|
|
6485
6509
|
* @see https://tailwindcss.com/docs/padding
|
|
6486
6510
|
*/
|
|
6487
6511
|
py: [{
|
|
6488
|
-
py:
|
|
6512
|
+
py: v()
|
|
6489
6513
|
}],
|
|
6490
6514
|
/**
|
|
6491
6515
|
* Padding Start
|
|
6492
6516
|
* @see https://tailwindcss.com/docs/padding
|
|
6493
6517
|
*/
|
|
6494
6518
|
ps: [{
|
|
6495
|
-
ps:
|
|
6519
|
+
ps: v()
|
|
6496
6520
|
}],
|
|
6497
6521
|
/**
|
|
6498
6522
|
* Padding End
|
|
6499
6523
|
* @see https://tailwindcss.com/docs/padding
|
|
6500
6524
|
*/
|
|
6501
6525
|
pe: [{
|
|
6502
|
-
pe:
|
|
6526
|
+
pe: v()
|
|
6503
6527
|
}],
|
|
6504
6528
|
/**
|
|
6505
6529
|
* Padding Top
|
|
6506
6530
|
* @see https://tailwindcss.com/docs/padding
|
|
6507
6531
|
*/
|
|
6508
6532
|
pt: [{
|
|
6509
|
-
pt:
|
|
6533
|
+
pt: v()
|
|
6510
6534
|
}],
|
|
6511
6535
|
/**
|
|
6512
6536
|
* Padding Right
|
|
6513
6537
|
* @see https://tailwindcss.com/docs/padding
|
|
6514
6538
|
*/
|
|
6515
6539
|
pr: [{
|
|
6516
|
-
pr:
|
|
6540
|
+
pr: v()
|
|
6517
6541
|
}],
|
|
6518
6542
|
/**
|
|
6519
6543
|
* Padding Bottom
|
|
6520
6544
|
* @see https://tailwindcss.com/docs/padding
|
|
6521
6545
|
*/
|
|
6522
6546
|
pb: [{
|
|
6523
|
-
pb:
|
|
6547
|
+
pb: v()
|
|
6524
6548
|
}],
|
|
6525
6549
|
/**
|
|
6526
6550
|
* Padding Left
|
|
6527
6551
|
* @see https://tailwindcss.com/docs/padding
|
|
6528
6552
|
*/
|
|
6529
6553
|
pl: [{
|
|
6530
|
-
pl:
|
|
6554
|
+
pl: v()
|
|
6531
6555
|
}],
|
|
6532
6556
|
/**
|
|
6533
6557
|
* Margin
|
|
6534
6558
|
* @see https://tailwindcss.com/docs/margin
|
|
6535
6559
|
*/
|
|
6536
6560
|
m: [{
|
|
6537
|
-
m:
|
|
6561
|
+
m: R()
|
|
6538
6562
|
}],
|
|
6539
6563
|
/**
|
|
6540
6564
|
* Margin X
|
|
6541
6565
|
* @see https://tailwindcss.com/docs/margin
|
|
6542
6566
|
*/
|
|
6543
6567
|
mx: [{
|
|
6544
|
-
mx:
|
|
6568
|
+
mx: R()
|
|
6545
6569
|
}],
|
|
6546
6570
|
/**
|
|
6547
6571
|
* Margin Y
|
|
6548
6572
|
* @see https://tailwindcss.com/docs/margin
|
|
6549
6573
|
*/
|
|
6550
6574
|
my: [{
|
|
6551
|
-
my:
|
|
6575
|
+
my: R()
|
|
6552
6576
|
}],
|
|
6553
6577
|
/**
|
|
6554
6578
|
* Margin Start
|
|
6555
6579
|
* @see https://tailwindcss.com/docs/margin
|
|
6556
6580
|
*/
|
|
6557
6581
|
ms: [{
|
|
6558
|
-
ms:
|
|
6582
|
+
ms: R()
|
|
6559
6583
|
}],
|
|
6560
6584
|
/**
|
|
6561
6585
|
* Margin End
|
|
6562
6586
|
* @see https://tailwindcss.com/docs/margin
|
|
6563
6587
|
*/
|
|
6564
6588
|
me: [{
|
|
6565
|
-
me:
|
|
6589
|
+
me: R()
|
|
6566
6590
|
}],
|
|
6567
6591
|
/**
|
|
6568
6592
|
* Margin Top
|
|
6569
6593
|
* @see https://tailwindcss.com/docs/margin
|
|
6570
6594
|
*/
|
|
6571
6595
|
mt: [{
|
|
6572
|
-
mt:
|
|
6596
|
+
mt: R()
|
|
6573
6597
|
}],
|
|
6574
6598
|
/**
|
|
6575
6599
|
* Margin Right
|
|
6576
6600
|
* @see https://tailwindcss.com/docs/margin
|
|
6577
6601
|
*/
|
|
6578
6602
|
mr: [{
|
|
6579
|
-
mr:
|
|
6603
|
+
mr: R()
|
|
6580
6604
|
}],
|
|
6581
6605
|
/**
|
|
6582
6606
|
* Margin Bottom
|
|
6583
6607
|
* @see https://tailwindcss.com/docs/margin
|
|
6584
6608
|
*/
|
|
6585
6609
|
mb: [{
|
|
6586
|
-
mb:
|
|
6610
|
+
mb: R()
|
|
6587
6611
|
}],
|
|
6588
6612
|
/**
|
|
6589
6613
|
* Margin Left
|
|
6590
6614
|
* @see https://tailwindcss.com/docs/margin
|
|
6591
6615
|
*/
|
|
6592
6616
|
ml: [{
|
|
6593
|
-
ml:
|
|
6617
|
+
ml: R()
|
|
6594
6618
|
}],
|
|
6595
6619
|
/**
|
|
6596
6620
|
* Space Between X
|
|
6597
6621
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
6598
6622
|
*/
|
|
6599
6623
|
"space-x": [{
|
|
6600
|
-
"space-x":
|
|
6624
|
+
"space-x": v()
|
|
6601
6625
|
}],
|
|
6602
6626
|
/**
|
|
6603
6627
|
* Space Between X Reverse
|
|
@@ -6609,7 +6633,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6609
6633
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
6610
6634
|
*/
|
|
6611
6635
|
"space-y": [{
|
|
6612
|
-
"space-y":
|
|
6636
|
+
"space-y": v()
|
|
6613
6637
|
}],
|
|
6614
6638
|
/**
|
|
6615
6639
|
* Space Between Y Reverse
|
|
@@ -6624,14 +6648,14 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6624
6648
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
6625
6649
|
*/
|
|
6626
6650
|
size: [{
|
|
6627
|
-
size:
|
|
6651
|
+
size: H()
|
|
6628
6652
|
}],
|
|
6629
6653
|
/**
|
|
6630
6654
|
* Width
|
|
6631
6655
|
* @see https://tailwindcss.com/docs/width
|
|
6632
6656
|
*/
|
|
6633
6657
|
w: [{
|
|
6634
|
-
w: [f, "screen", ...
|
|
6658
|
+
w: [f, "screen", ...H()]
|
|
6635
6659
|
}],
|
|
6636
6660
|
/**
|
|
6637
6661
|
* Min-Width
|
|
@@ -6643,7 +6667,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6643
6667
|
"screen",
|
|
6644
6668
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
6645
6669
|
"none",
|
|
6646
|
-
...
|
|
6670
|
+
...H()
|
|
6647
6671
|
]
|
|
6648
6672
|
}],
|
|
6649
6673
|
/**
|
|
@@ -6661,7 +6685,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6661
6685
|
{
|
|
6662
6686
|
screen: [s]
|
|
6663
6687
|
},
|
|
6664
|
-
...
|
|
6688
|
+
...H()
|
|
6665
6689
|
]
|
|
6666
6690
|
}],
|
|
6667
6691
|
/**
|
|
@@ -6669,21 +6693,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6669
6693
|
* @see https://tailwindcss.com/docs/height
|
|
6670
6694
|
*/
|
|
6671
6695
|
h: [{
|
|
6672
|
-
h: ["screen", "lh", ...
|
|
6696
|
+
h: ["screen", "lh", ...H()]
|
|
6673
6697
|
}],
|
|
6674
6698
|
/**
|
|
6675
6699
|
* Min-Height
|
|
6676
6700
|
* @see https://tailwindcss.com/docs/min-height
|
|
6677
6701
|
*/
|
|
6678
6702
|
"min-h": [{
|
|
6679
|
-
"min-h": ["screen", "lh", "none", ...
|
|
6703
|
+
"min-h": ["screen", "lh", "none", ...H()]
|
|
6680
6704
|
}],
|
|
6681
6705
|
/**
|
|
6682
6706
|
* Max-Height
|
|
6683
6707
|
* @see https://tailwindcss.com/docs/max-height
|
|
6684
6708
|
*/
|
|
6685
6709
|
"max-h": [{
|
|
6686
|
-
"max-h": ["screen", "lh", ...
|
|
6710
|
+
"max-h": ["screen", "lh", ...H()]
|
|
6687
6711
|
}],
|
|
6688
6712
|
// ------------------
|
|
6689
6713
|
// --- Typography ---
|
|
@@ -6710,21 +6734,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6710
6734
|
* @see https://tailwindcss.com/docs/font-weight
|
|
6711
6735
|
*/
|
|
6712
6736
|
"font-weight": [{
|
|
6713
|
-
font: [i,
|
|
6737
|
+
font: [i, _, Zo]
|
|
6714
6738
|
}],
|
|
6715
6739
|
/**
|
|
6716
6740
|
* Font Stretch
|
|
6717
6741
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
6718
6742
|
*/
|
|
6719
6743
|
"font-stretch": [{
|
|
6720
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", qo,
|
|
6744
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", qo, k]
|
|
6721
6745
|
}],
|
|
6722
6746
|
/**
|
|
6723
6747
|
* Font Family
|
|
6724
6748
|
* @see https://tailwindcss.com/docs/font-family
|
|
6725
6749
|
*/
|
|
6726
6750
|
"font-family": [{
|
|
6727
|
-
font: [qr,
|
|
6751
|
+
font: [qr, k, o]
|
|
6728
6752
|
}],
|
|
6729
6753
|
/**
|
|
6730
6754
|
* Font Variant Numeric
|
|
@@ -6761,14 +6785,14 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6761
6785
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
6762
6786
|
*/
|
|
6763
6787
|
tracking: [{
|
|
6764
|
-
tracking: [r,
|
|
6788
|
+
tracking: [r, _, k]
|
|
6765
6789
|
}],
|
|
6766
6790
|
/**
|
|
6767
6791
|
* Line Clamp
|
|
6768
6792
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
6769
6793
|
*/
|
|
6770
6794
|
"line-clamp": [{
|
|
6771
|
-
"line-clamp": [
|
|
6795
|
+
"line-clamp": [B, "none", _, Zo]
|
|
6772
6796
|
}],
|
|
6773
6797
|
/**
|
|
6774
6798
|
* Line Height
|
|
@@ -6778,7 +6802,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6778
6802
|
leading: [
|
|
6779
6803
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
6780
6804
|
n,
|
|
6781
|
-
...
|
|
6805
|
+
...v()
|
|
6782
6806
|
]
|
|
6783
6807
|
}],
|
|
6784
6808
|
/**
|
|
@@ -6786,7 +6810,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6786
6810
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
6787
6811
|
*/
|
|
6788
6812
|
"list-image": [{
|
|
6789
|
-
"list-image": ["none",
|
|
6813
|
+
"list-image": ["none", _, k]
|
|
6790
6814
|
}],
|
|
6791
6815
|
/**
|
|
6792
6816
|
* List Style Position
|
|
@@ -6800,7 +6824,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6800
6824
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
6801
6825
|
*/
|
|
6802
6826
|
"list-style-type": [{
|
|
6803
|
-
list: ["disc", "decimal", "none",
|
|
6827
|
+
list: ["disc", "decimal", "none", _, k]
|
|
6804
6828
|
}],
|
|
6805
6829
|
/**
|
|
6806
6830
|
* Text Alignment
|
|
@@ -6815,14 +6839,14 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6815
6839
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
6816
6840
|
*/
|
|
6817
6841
|
"placeholder-color": [{
|
|
6818
|
-
placeholder:
|
|
6842
|
+
placeholder: g()
|
|
6819
6843
|
}],
|
|
6820
6844
|
/**
|
|
6821
6845
|
* Text Color
|
|
6822
6846
|
* @see https://tailwindcss.com/docs/text-color
|
|
6823
6847
|
*/
|
|
6824
6848
|
"text-color": [{
|
|
6825
|
-
text:
|
|
6849
|
+
text: g()
|
|
6826
6850
|
}],
|
|
6827
6851
|
/**
|
|
6828
6852
|
* Text Decoration
|
|
@@ -6841,21 +6865,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6841
6865
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
6842
6866
|
*/
|
|
6843
6867
|
"text-decoration-thickness": [{
|
|
6844
|
-
decoration: [
|
|
6868
|
+
decoration: [B, "from-font", "auto", _, vo]
|
|
6845
6869
|
}],
|
|
6846
6870
|
/**
|
|
6847
6871
|
* Text Decoration Color
|
|
6848
6872
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
6849
6873
|
*/
|
|
6850
6874
|
"text-decoration-color": [{
|
|
6851
|
-
decoration:
|
|
6875
|
+
decoration: g()
|
|
6852
6876
|
}],
|
|
6853
6877
|
/**
|
|
6854
6878
|
* Text Underline Offset
|
|
6855
6879
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
6856
6880
|
*/
|
|
6857
6881
|
"underline-offset": [{
|
|
6858
|
-
"underline-offset": [
|
|
6882
|
+
"underline-offset": [B, "auto", _, k]
|
|
6859
6883
|
}],
|
|
6860
6884
|
/**
|
|
6861
6885
|
* Text Transform
|
|
@@ -6879,14 +6903,14 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6879
6903
|
* @see https://tailwindcss.com/docs/text-indent
|
|
6880
6904
|
*/
|
|
6881
6905
|
indent: [{
|
|
6882
|
-
indent:
|
|
6906
|
+
indent: v()
|
|
6883
6907
|
}],
|
|
6884
6908
|
/**
|
|
6885
6909
|
* Vertical Alignment
|
|
6886
6910
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
6887
6911
|
*/
|
|
6888
6912
|
"vertical-align": [{
|
|
6889
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
6913
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", _, k]
|
|
6890
6914
|
}],
|
|
6891
6915
|
/**
|
|
6892
6916
|
* Whitespace
|
|
@@ -6921,7 +6945,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6921
6945
|
* @see https://tailwindcss.com/docs/content
|
|
6922
6946
|
*/
|
|
6923
6947
|
content: [{
|
|
6924
|
-
content: ["none",
|
|
6948
|
+
content: ["none", _, k]
|
|
6925
6949
|
}],
|
|
6926
6950
|
// -------------------
|
|
6927
6951
|
// --- Backgrounds ---
|
|
@@ -6952,21 +6976,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6952
6976
|
* @see https://tailwindcss.com/docs/background-position
|
|
6953
6977
|
*/
|
|
6954
6978
|
"bg-position": [{
|
|
6955
|
-
bg:
|
|
6979
|
+
bg: K()
|
|
6956
6980
|
}],
|
|
6957
6981
|
/**
|
|
6958
6982
|
* Background Repeat
|
|
6959
6983
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
6960
6984
|
*/
|
|
6961
6985
|
"bg-repeat": [{
|
|
6962
|
-
bg:
|
|
6986
|
+
bg: w()
|
|
6963
6987
|
}],
|
|
6964
6988
|
/**
|
|
6965
6989
|
* Background Size
|
|
6966
6990
|
* @see https://tailwindcss.com/docs/background-size
|
|
6967
6991
|
*/
|
|
6968
6992
|
"bg-size": [{
|
|
6969
|
-
bg:
|
|
6993
|
+
bg: O()
|
|
6970
6994
|
}],
|
|
6971
6995
|
/**
|
|
6972
6996
|
* Background Image
|
|
@@ -6976,9 +7000,9 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6976
7000
|
bg: ["none", {
|
|
6977
7001
|
linear: [{
|
|
6978
7002
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
6979
|
-
}, xo,
|
|
6980
|
-
radial: ["",
|
|
6981
|
-
conic: [xo,
|
|
7003
|
+
}, xo, _, k],
|
|
7004
|
+
radial: ["", _, k],
|
|
7005
|
+
conic: [xo, _, k]
|
|
6982
7006
|
}, Jr, Kr]
|
|
6983
7007
|
}],
|
|
6984
7008
|
/**
|
|
@@ -6986,49 +7010,49 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
6986
7010
|
* @see https://tailwindcss.com/docs/background-color
|
|
6987
7011
|
*/
|
|
6988
7012
|
"bg-color": [{
|
|
6989
|
-
bg:
|
|
7013
|
+
bg: g()
|
|
6990
7014
|
}],
|
|
6991
7015
|
/**
|
|
6992
7016
|
* Gradient Color Stops From Position
|
|
6993
7017
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
6994
7018
|
*/
|
|
6995
7019
|
"gradient-from-pos": [{
|
|
6996
|
-
from:
|
|
7020
|
+
from: q()
|
|
6997
7021
|
}],
|
|
6998
7022
|
/**
|
|
6999
7023
|
* Gradient Color Stops Via Position
|
|
7000
7024
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7001
7025
|
*/
|
|
7002
7026
|
"gradient-via-pos": [{
|
|
7003
|
-
via:
|
|
7027
|
+
via: q()
|
|
7004
7028
|
}],
|
|
7005
7029
|
/**
|
|
7006
7030
|
* Gradient Color Stops To Position
|
|
7007
7031
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7008
7032
|
*/
|
|
7009
7033
|
"gradient-to-pos": [{
|
|
7010
|
-
to:
|
|
7034
|
+
to: q()
|
|
7011
7035
|
}],
|
|
7012
7036
|
/**
|
|
7013
7037
|
* Gradient Color Stops From
|
|
7014
7038
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7015
7039
|
*/
|
|
7016
7040
|
"gradient-from": [{
|
|
7017
|
-
from:
|
|
7041
|
+
from: g()
|
|
7018
7042
|
}],
|
|
7019
7043
|
/**
|
|
7020
7044
|
* Gradient Color Stops Via
|
|
7021
7045
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7022
7046
|
*/
|
|
7023
7047
|
"gradient-via": [{
|
|
7024
|
-
via:
|
|
7048
|
+
via: g()
|
|
7025
7049
|
}],
|
|
7026
7050
|
/**
|
|
7027
7051
|
* Gradient Color Stops To
|
|
7028
7052
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
7029
7053
|
*/
|
|
7030
7054
|
"gradient-to": [{
|
|
7031
|
-
to:
|
|
7055
|
+
to: g()
|
|
7032
7056
|
}],
|
|
7033
7057
|
// ---------------
|
|
7034
7058
|
// --- Borders ---
|
|
@@ -7143,70 +7167,70 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7143
7167
|
* @see https://tailwindcss.com/docs/border-width
|
|
7144
7168
|
*/
|
|
7145
7169
|
"border-w": [{
|
|
7146
|
-
border:
|
|
7170
|
+
border: to()
|
|
7147
7171
|
}],
|
|
7148
7172
|
/**
|
|
7149
7173
|
* Border Width X
|
|
7150
7174
|
* @see https://tailwindcss.com/docs/border-width
|
|
7151
7175
|
*/
|
|
7152
7176
|
"border-w-x": [{
|
|
7153
|
-
"border-x":
|
|
7177
|
+
"border-x": to()
|
|
7154
7178
|
}],
|
|
7155
7179
|
/**
|
|
7156
7180
|
* Border Width Y
|
|
7157
7181
|
* @see https://tailwindcss.com/docs/border-width
|
|
7158
7182
|
*/
|
|
7159
7183
|
"border-w-y": [{
|
|
7160
|
-
"border-y":
|
|
7184
|
+
"border-y": to()
|
|
7161
7185
|
}],
|
|
7162
7186
|
/**
|
|
7163
7187
|
* Border Width Start
|
|
7164
7188
|
* @see https://tailwindcss.com/docs/border-width
|
|
7165
7189
|
*/
|
|
7166
7190
|
"border-w-s": [{
|
|
7167
|
-
"border-s":
|
|
7191
|
+
"border-s": to()
|
|
7168
7192
|
}],
|
|
7169
7193
|
/**
|
|
7170
7194
|
* Border Width End
|
|
7171
7195
|
* @see https://tailwindcss.com/docs/border-width
|
|
7172
7196
|
*/
|
|
7173
7197
|
"border-w-e": [{
|
|
7174
|
-
"border-e":
|
|
7198
|
+
"border-e": to()
|
|
7175
7199
|
}],
|
|
7176
7200
|
/**
|
|
7177
7201
|
* Border Width Top
|
|
7178
7202
|
* @see https://tailwindcss.com/docs/border-width
|
|
7179
7203
|
*/
|
|
7180
7204
|
"border-w-t": [{
|
|
7181
|
-
"border-t":
|
|
7205
|
+
"border-t": to()
|
|
7182
7206
|
}],
|
|
7183
7207
|
/**
|
|
7184
7208
|
* Border Width Right
|
|
7185
7209
|
* @see https://tailwindcss.com/docs/border-width
|
|
7186
7210
|
*/
|
|
7187
7211
|
"border-w-r": [{
|
|
7188
|
-
"border-r":
|
|
7212
|
+
"border-r": to()
|
|
7189
7213
|
}],
|
|
7190
7214
|
/**
|
|
7191
7215
|
* Border Width Bottom
|
|
7192
7216
|
* @see https://tailwindcss.com/docs/border-width
|
|
7193
7217
|
*/
|
|
7194
7218
|
"border-w-b": [{
|
|
7195
|
-
"border-b":
|
|
7219
|
+
"border-b": to()
|
|
7196
7220
|
}],
|
|
7197
7221
|
/**
|
|
7198
7222
|
* Border Width Left
|
|
7199
7223
|
* @see https://tailwindcss.com/docs/border-width
|
|
7200
7224
|
*/
|
|
7201
7225
|
"border-w-l": [{
|
|
7202
|
-
"border-l":
|
|
7226
|
+
"border-l": to()
|
|
7203
7227
|
}],
|
|
7204
7228
|
/**
|
|
7205
7229
|
* Divide Width X
|
|
7206
7230
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
7207
7231
|
*/
|
|
7208
7232
|
"divide-x": [{
|
|
7209
|
-
"divide-x":
|
|
7233
|
+
"divide-x": to()
|
|
7210
7234
|
}],
|
|
7211
7235
|
/**
|
|
7212
7236
|
* Divide Width X Reverse
|
|
@@ -7218,7 +7242,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7218
7242
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
7219
7243
|
*/
|
|
7220
7244
|
"divide-y": [{
|
|
7221
|
-
"divide-y":
|
|
7245
|
+
"divide-y": to()
|
|
7222
7246
|
}],
|
|
7223
7247
|
/**
|
|
7224
7248
|
* Divide Width Y Reverse
|
|
@@ -7244,70 +7268,70 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7244
7268
|
* @see https://tailwindcss.com/docs/border-color
|
|
7245
7269
|
*/
|
|
7246
7270
|
"border-color": [{
|
|
7247
|
-
border:
|
|
7271
|
+
border: g()
|
|
7248
7272
|
}],
|
|
7249
7273
|
/**
|
|
7250
7274
|
* Border Color X
|
|
7251
7275
|
* @see https://tailwindcss.com/docs/border-color
|
|
7252
7276
|
*/
|
|
7253
7277
|
"border-color-x": [{
|
|
7254
|
-
"border-x":
|
|
7278
|
+
"border-x": g()
|
|
7255
7279
|
}],
|
|
7256
7280
|
/**
|
|
7257
7281
|
* Border Color Y
|
|
7258
7282
|
* @see https://tailwindcss.com/docs/border-color
|
|
7259
7283
|
*/
|
|
7260
7284
|
"border-color-y": [{
|
|
7261
|
-
"border-y":
|
|
7285
|
+
"border-y": g()
|
|
7262
7286
|
}],
|
|
7263
7287
|
/**
|
|
7264
7288
|
* Border Color S
|
|
7265
7289
|
* @see https://tailwindcss.com/docs/border-color
|
|
7266
7290
|
*/
|
|
7267
7291
|
"border-color-s": [{
|
|
7268
|
-
"border-s":
|
|
7292
|
+
"border-s": g()
|
|
7269
7293
|
}],
|
|
7270
7294
|
/**
|
|
7271
7295
|
* Border Color E
|
|
7272
7296
|
* @see https://tailwindcss.com/docs/border-color
|
|
7273
7297
|
*/
|
|
7274
7298
|
"border-color-e": [{
|
|
7275
|
-
"border-e":
|
|
7299
|
+
"border-e": g()
|
|
7276
7300
|
}],
|
|
7277
7301
|
/**
|
|
7278
7302
|
* Border Color Top
|
|
7279
7303
|
* @see https://tailwindcss.com/docs/border-color
|
|
7280
7304
|
*/
|
|
7281
7305
|
"border-color-t": [{
|
|
7282
|
-
"border-t":
|
|
7306
|
+
"border-t": g()
|
|
7283
7307
|
}],
|
|
7284
7308
|
/**
|
|
7285
7309
|
* Border Color Right
|
|
7286
7310
|
* @see https://tailwindcss.com/docs/border-color
|
|
7287
7311
|
*/
|
|
7288
7312
|
"border-color-r": [{
|
|
7289
|
-
"border-r":
|
|
7313
|
+
"border-r": g()
|
|
7290
7314
|
}],
|
|
7291
7315
|
/**
|
|
7292
7316
|
* Border Color Bottom
|
|
7293
7317
|
* @see https://tailwindcss.com/docs/border-color
|
|
7294
7318
|
*/
|
|
7295
7319
|
"border-color-b": [{
|
|
7296
|
-
"border-b":
|
|
7320
|
+
"border-b": g()
|
|
7297
7321
|
}],
|
|
7298
7322
|
/**
|
|
7299
7323
|
* Border Color Left
|
|
7300
7324
|
* @see https://tailwindcss.com/docs/border-color
|
|
7301
7325
|
*/
|
|
7302
7326
|
"border-color-l": [{
|
|
7303
|
-
"border-l":
|
|
7327
|
+
"border-l": g()
|
|
7304
7328
|
}],
|
|
7305
7329
|
/**
|
|
7306
7330
|
* Divide Color
|
|
7307
7331
|
* @see https://tailwindcss.com/docs/divide-color
|
|
7308
7332
|
*/
|
|
7309
7333
|
"divide-color": [{
|
|
7310
|
-
divide:
|
|
7334
|
+
divide: g()
|
|
7311
7335
|
}],
|
|
7312
7336
|
/**
|
|
7313
7337
|
* Outline Style
|
|
@@ -7321,21 +7345,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7321
7345
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
7322
7346
|
*/
|
|
7323
7347
|
"outline-offset": [{
|
|
7324
|
-
"outline-offset": [
|
|
7348
|
+
"outline-offset": [B, _, k]
|
|
7325
7349
|
}],
|
|
7326
7350
|
/**
|
|
7327
7351
|
* Outline Width
|
|
7328
7352
|
* @see https://tailwindcss.com/docs/outline-width
|
|
7329
7353
|
*/
|
|
7330
7354
|
"outline-w": [{
|
|
7331
|
-
outline: ["",
|
|
7355
|
+
outline: ["", B, Lo, vo]
|
|
7332
7356
|
}],
|
|
7333
7357
|
/**
|
|
7334
7358
|
* Outline Color
|
|
7335
7359
|
* @see https://tailwindcss.com/docs/outline-color
|
|
7336
7360
|
*/
|
|
7337
7361
|
"outline-color": [{
|
|
7338
|
-
outline:
|
|
7362
|
+
outline: g()
|
|
7339
7363
|
}],
|
|
7340
7364
|
// ---------------
|
|
7341
7365
|
// --- Effects ---
|
|
@@ -7359,7 +7383,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7359
7383
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
7360
7384
|
*/
|
|
7361
7385
|
"shadow-color": [{
|
|
7362
|
-
shadow:
|
|
7386
|
+
shadow: g()
|
|
7363
7387
|
}],
|
|
7364
7388
|
/**
|
|
7365
7389
|
* Inset Box Shadow
|
|
@@ -7373,14 +7397,14 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7373
7397
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
7374
7398
|
*/
|
|
7375
7399
|
"inset-shadow-color": [{
|
|
7376
|
-
"inset-shadow":
|
|
7400
|
+
"inset-shadow": g()
|
|
7377
7401
|
}],
|
|
7378
7402
|
/**
|
|
7379
7403
|
* Ring Width
|
|
7380
7404
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
7381
7405
|
*/
|
|
7382
7406
|
"ring-w": [{
|
|
7383
|
-
ring:
|
|
7407
|
+
ring: to()
|
|
7384
7408
|
}],
|
|
7385
7409
|
/**
|
|
7386
7410
|
* Ring Width Inset
|
|
@@ -7394,7 +7418,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7394
7418
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
7395
7419
|
*/
|
|
7396
7420
|
"ring-color": [{
|
|
7397
|
-
ring:
|
|
7421
|
+
ring: g()
|
|
7398
7422
|
}],
|
|
7399
7423
|
/**
|
|
7400
7424
|
* Ring Offset Width
|
|
@@ -7403,7 +7427,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7403
7427
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
7404
7428
|
*/
|
|
7405
7429
|
"ring-offset-w": [{
|
|
7406
|
-
"ring-offset": [
|
|
7430
|
+
"ring-offset": [B, vo]
|
|
7407
7431
|
}],
|
|
7408
7432
|
/**
|
|
7409
7433
|
* Ring Offset Color
|
|
@@ -7412,21 +7436,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7412
7436
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
7413
7437
|
*/
|
|
7414
7438
|
"ring-offset-color": [{
|
|
7415
|
-
"ring-offset":
|
|
7439
|
+
"ring-offset": g()
|
|
7416
7440
|
}],
|
|
7417
7441
|
/**
|
|
7418
7442
|
* Inset Ring Width
|
|
7419
7443
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
7420
7444
|
*/
|
|
7421
7445
|
"inset-ring-w": [{
|
|
7422
|
-
"inset-ring":
|
|
7446
|
+
"inset-ring": to()
|
|
7423
7447
|
}],
|
|
7424
7448
|
/**
|
|
7425
7449
|
* Inset Ring Color
|
|
7426
7450
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
7427
7451
|
*/
|
|
7428
7452
|
"inset-ring-color": [{
|
|
7429
|
-
"inset-ring":
|
|
7453
|
+
"inset-ring": g()
|
|
7430
7454
|
}],
|
|
7431
7455
|
/**
|
|
7432
7456
|
* Text Shadow
|
|
@@ -7440,14 +7464,14 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7440
7464
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
7441
7465
|
*/
|
|
7442
7466
|
"text-shadow-color": [{
|
|
7443
|
-
"text-shadow":
|
|
7467
|
+
"text-shadow": g()
|
|
7444
7468
|
}],
|
|
7445
7469
|
/**
|
|
7446
7470
|
* Opacity
|
|
7447
7471
|
* @see https://tailwindcss.com/docs/opacity
|
|
7448
7472
|
*/
|
|
7449
7473
|
opacity: [{
|
|
7450
|
-
opacity: [
|
|
7474
|
+
opacity: [B, _, k]
|
|
7451
7475
|
}],
|
|
7452
7476
|
/**
|
|
7453
7477
|
* Mix Blend Mode
|
|
@@ -7482,106 +7506,106 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7482
7506
|
* @see https://tailwindcss.com/docs/mask-image
|
|
7483
7507
|
*/
|
|
7484
7508
|
"mask-image-linear-pos": [{
|
|
7485
|
-
"mask-linear": [
|
|
7509
|
+
"mask-linear": [B]
|
|
7486
7510
|
}],
|
|
7487
7511
|
"mask-image-linear-from-pos": [{
|
|
7488
|
-
"mask-linear-from":
|
|
7512
|
+
"mask-linear-from": J()
|
|
7489
7513
|
}],
|
|
7490
7514
|
"mask-image-linear-to-pos": [{
|
|
7491
|
-
"mask-linear-to":
|
|
7515
|
+
"mask-linear-to": J()
|
|
7492
7516
|
}],
|
|
7493
7517
|
"mask-image-linear-from-color": [{
|
|
7494
|
-
"mask-linear-from":
|
|
7518
|
+
"mask-linear-from": g()
|
|
7495
7519
|
}],
|
|
7496
7520
|
"mask-image-linear-to-color": [{
|
|
7497
|
-
"mask-linear-to":
|
|
7521
|
+
"mask-linear-to": g()
|
|
7498
7522
|
}],
|
|
7499
7523
|
"mask-image-t-from-pos": [{
|
|
7500
|
-
"mask-t-from":
|
|
7524
|
+
"mask-t-from": J()
|
|
7501
7525
|
}],
|
|
7502
7526
|
"mask-image-t-to-pos": [{
|
|
7503
|
-
"mask-t-to":
|
|
7527
|
+
"mask-t-to": J()
|
|
7504
7528
|
}],
|
|
7505
7529
|
"mask-image-t-from-color": [{
|
|
7506
|
-
"mask-t-from":
|
|
7530
|
+
"mask-t-from": g()
|
|
7507
7531
|
}],
|
|
7508
7532
|
"mask-image-t-to-color": [{
|
|
7509
|
-
"mask-t-to":
|
|
7533
|
+
"mask-t-to": g()
|
|
7510
7534
|
}],
|
|
7511
7535
|
"mask-image-r-from-pos": [{
|
|
7512
|
-
"mask-r-from":
|
|
7536
|
+
"mask-r-from": J()
|
|
7513
7537
|
}],
|
|
7514
7538
|
"mask-image-r-to-pos": [{
|
|
7515
|
-
"mask-r-to":
|
|
7539
|
+
"mask-r-to": J()
|
|
7516
7540
|
}],
|
|
7517
7541
|
"mask-image-r-from-color": [{
|
|
7518
|
-
"mask-r-from":
|
|
7542
|
+
"mask-r-from": g()
|
|
7519
7543
|
}],
|
|
7520
7544
|
"mask-image-r-to-color": [{
|
|
7521
|
-
"mask-r-to":
|
|
7545
|
+
"mask-r-to": g()
|
|
7522
7546
|
}],
|
|
7523
7547
|
"mask-image-b-from-pos": [{
|
|
7524
|
-
"mask-b-from":
|
|
7548
|
+
"mask-b-from": J()
|
|
7525
7549
|
}],
|
|
7526
7550
|
"mask-image-b-to-pos": [{
|
|
7527
|
-
"mask-b-to":
|
|
7551
|
+
"mask-b-to": J()
|
|
7528
7552
|
}],
|
|
7529
7553
|
"mask-image-b-from-color": [{
|
|
7530
|
-
"mask-b-from":
|
|
7554
|
+
"mask-b-from": g()
|
|
7531
7555
|
}],
|
|
7532
7556
|
"mask-image-b-to-color": [{
|
|
7533
|
-
"mask-b-to":
|
|
7557
|
+
"mask-b-to": g()
|
|
7534
7558
|
}],
|
|
7535
7559
|
"mask-image-l-from-pos": [{
|
|
7536
|
-
"mask-l-from":
|
|
7560
|
+
"mask-l-from": J()
|
|
7537
7561
|
}],
|
|
7538
7562
|
"mask-image-l-to-pos": [{
|
|
7539
|
-
"mask-l-to":
|
|
7563
|
+
"mask-l-to": J()
|
|
7540
7564
|
}],
|
|
7541
7565
|
"mask-image-l-from-color": [{
|
|
7542
|
-
"mask-l-from":
|
|
7566
|
+
"mask-l-from": g()
|
|
7543
7567
|
}],
|
|
7544
7568
|
"mask-image-l-to-color": [{
|
|
7545
|
-
"mask-l-to":
|
|
7569
|
+
"mask-l-to": g()
|
|
7546
7570
|
}],
|
|
7547
7571
|
"mask-image-x-from-pos": [{
|
|
7548
|
-
"mask-x-from":
|
|
7572
|
+
"mask-x-from": J()
|
|
7549
7573
|
}],
|
|
7550
7574
|
"mask-image-x-to-pos": [{
|
|
7551
|
-
"mask-x-to":
|
|
7575
|
+
"mask-x-to": J()
|
|
7552
7576
|
}],
|
|
7553
7577
|
"mask-image-x-from-color": [{
|
|
7554
|
-
"mask-x-from":
|
|
7578
|
+
"mask-x-from": g()
|
|
7555
7579
|
}],
|
|
7556
7580
|
"mask-image-x-to-color": [{
|
|
7557
|
-
"mask-x-to":
|
|
7581
|
+
"mask-x-to": g()
|
|
7558
7582
|
}],
|
|
7559
7583
|
"mask-image-y-from-pos": [{
|
|
7560
|
-
"mask-y-from":
|
|
7584
|
+
"mask-y-from": J()
|
|
7561
7585
|
}],
|
|
7562
7586
|
"mask-image-y-to-pos": [{
|
|
7563
|
-
"mask-y-to":
|
|
7587
|
+
"mask-y-to": J()
|
|
7564
7588
|
}],
|
|
7565
7589
|
"mask-image-y-from-color": [{
|
|
7566
|
-
"mask-y-from":
|
|
7590
|
+
"mask-y-from": g()
|
|
7567
7591
|
}],
|
|
7568
7592
|
"mask-image-y-to-color": [{
|
|
7569
|
-
"mask-y-to":
|
|
7593
|
+
"mask-y-to": g()
|
|
7570
7594
|
}],
|
|
7571
7595
|
"mask-image-radial": [{
|
|
7572
|
-
"mask-radial": [
|
|
7596
|
+
"mask-radial": [_, k]
|
|
7573
7597
|
}],
|
|
7574
7598
|
"mask-image-radial-from-pos": [{
|
|
7575
|
-
"mask-radial-from":
|
|
7599
|
+
"mask-radial-from": J()
|
|
7576
7600
|
}],
|
|
7577
7601
|
"mask-image-radial-to-pos": [{
|
|
7578
|
-
"mask-radial-to":
|
|
7602
|
+
"mask-radial-to": J()
|
|
7579
7603
|
}],
|
|
7580
7604
|
"mask-image-radial-from-color": [{
|
|
7581
|
-
"mask-radial-from":
|
|
7605
|
+
"mask-radial-from": g()
|
|
7582
7606
|
}],
|
|
7583
7607
|
"mask-image-radial-to-color": [{
|
|
7584
|
-
"mask-radial-to":
|
|
7608
|
+
"mask-radial-to": g()
|
|
7585
7609
|
}],
|
|
7586
7610
|
"mask-image-radial-shape": [{
|
|
7587
7611
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -7593,22 +7617,22 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7593
7617
|
}]
|
|
7594
7618
|
}],
|
|
7595
7619
|
"mask-image-radial-pos": [{
|
|
7596
|
-
"mask-radial-at":
|
|
7620
|
+
"mask-radial-at": N()
|
|
7597
7621
|
}],
|
|
7598
7622
|
"mask-image-conic-pos": [{
|
|
7599
|
-
"mask-conic": [
|
|
7623
|
+
"mask-conic": [B]
|
|
7600
7624
|
}],
|
|
7601
7625
|
"mask-image-conic-from-pos": [{
|
|
7602
|
-
"mask-conic-from":
|
|
7626
|
+
"mask-conic-from": J()
|
|
7603
7627
|
}],
|
|
7604
7628
|
"mask-image-conic-to-pos": [{
|
|
7605
|
-
"mask-conic-to":
|
|
7629
|
+
"mask-conic-to": J()
|
|
7606
7630
|
}],
|
|
7607
7631
|
"mask-image-conic-from-color": [{
|
|
7608
|
-
"mask-conic-from":
|
|
7632
|
+
"mask-conic-from": g()
|
|
7609
7633
|
}],
|
|
7610
7634
|
"mask-image-conic-to-color": [{
|
|
7611
|
-
"mask-conic-to":
|
|
7635
|
+
"mask-conic-to": g()
|
|
7612
7636
|
}],
|
|
7613
7637
|
/**
|
|
7614
7638
|
* Mask Mode
|
|
@@ -7629,21 +7653,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7629
7653
|
* @see https://tailwindcss.com/docs/mask-position
|
|
7630
7654
|
*/
|
|
7631
7655
|
"mask-position": [{
|
|
7632
|
-
mask:
|
|
7656
|
+
mask: K()
|
|
7633
7657
|
}],
|
|
7634
7658
|
/**
|
|
7635
7659
|
* Mask Repeat
|
|
7636
7660
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
7637
7661
|
*/
|
|
7638
7662
|
"mask-repeat": [{
|
|
7639
|
-
mask:
|
|
7663
|
+
mask: w()
|
|
7640
7664
|
}],
|
|
7641
7665
|
/**
|
|
7642
7666
|
* Mask Size
|
|
7643
7667
|
* @see https://tailwindcss.com/docs/mask-size
|
|
7644
7668
|
*/
|
|
7645
7669
|
"mask-size": [{
|
|
7646
|
-
mask:
|
|
7670
|
+
mask: O()
|
|
7647
7671
|
}],
|
|
7648
7672
|
/**
|
|
7649
7673
|
* Mask Type
|
|
@@ -7657,7 +7681,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7657
7681
|
* @see https://tailwindcss.com/docs/mask-image
|
|
7658
7682
|
*/
|
|
7659
7683
|
"mask-image": [{
|
|
7660
|
-
mask: ["none",
|
|
7684
|
+
mask: ["none", _, k]
|
|
7661
7685
|
}],
|
|
7662
7686
|
// ---------------
|
|
7663
7687
|
// --- Filters ---
|
|
@@ -7671,8 +7695,8 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7671
7695
|
// Deprecated since Tailwind CSS v3.0.0
|
|
7672
7696
|
"",
|
|
7673
7697
|
"none",
|
|
7674
|
-
|
|
7675
|
-
|
|
7698
|
+
_,
|
|
7699
|
+
k
|
|
7676
7700
|
]
|
|
7677
7701
|
}],
|
|
7678
7702
|
/**
|
|
@@ -7687,14 +7711,14 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7687
7711
|
* @see https://tailwindcss.com/docs/brightness
|
|
7688
7712
|
*/
|
|
7689
7713
|
brightness: [{
|
|
7690
|
-
brightness: [
|
|
7714
|
+
brightness: [B, _, k]
|
|
7691
7715
|
}],
|
|
7692
7716
|
/**
|
|
7693
7717
|
* Contrast
|
|
7694
7718
|
* @see https://tailwindcss.com/docs/contrast
|
|
7695
7719
|
*/
|
|
7696
7720
|
contrast: [{
|
|
7697
|
-
contrast: [
|
|
7721
|
+
contrast: [B, _, k]
|
|
7698
7722
|
}],
|
|
7699
7723
|
/**
|
|
7700
7724
|
* Drop Shadow
|
|
@@ -7705,7 +7729,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7705
7729
|
// Deprecated since Tailwind CSS v4.0.0
|
|
7706
7730
|
"",
|
|
7707
7731
|
"none",
|
|
7708
|
-
|
|
7732
|
+
x,
|
|
7709
7733
|
Ho,
|
|
7710
7734
|
Wo
|
|
7711
7735
|
]
|
|
@@ -7715,42 +7739,42 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7715
7739
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
7716
7740
|
*/
|
|
7717
7741
|
"drop-shadow-color": [{
|
|
7718
|
-
"drop-shadow":
|
|
7742
|
+
"drop-shadow": g()
|
|
7719
7743
|
}],
|
|
7720
7744
|
/**
|
|
7721
7745
|
* Grayscale
|
|
7722
7746
|
* @see https://tailwindcss.com/docs/grayscale
|
|
7723
7747
|
*/
|
|
7724
7748
|
grayscale: [{
|
|
7725
|
-
grayscale: ["",
|
|
7749
|
+
grayscale: ["", B, _, k]
|
|
7726
7750
|
}],
|
|
7727
7751
|
/**
|
|
7728
7752
|
* Hue Rotate
|
|
7729
7753
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
7730
7754
|
*/
|
|
7731
7755
|
"hue-rotate": [{
|
|
7732
|
-
"hue-rotate": [
|
|
7756
|
+
"hue-rotate": [B, _, k]
|
|
7733
7757
|
}],
|
|
7734
7758
|
/**
|
|
7735
7759
|
* Invert
|
|
7736
7760
|
* @see https://tailwindcss.com/docs/invert
|
|
7737
7761
|
*/
|
|
7738
7762
|
invert: [{
|
|
7739
|
-
invert: ["",
|
|
7763
|
+
invert: ["", B, _, k]
|
|
7740
7764
|
}],
|
|
7741
7765
|
/**
|
|
7742
7766
|
* Saturate
|
|
7743
7767
|
* @see https://tailwindcss.com/docs/saturate
|
|
7744
7768
|
*/
|
|
7745
7769
|
saturate: [{
|
|
7746
|
-
saturate: [
|
|
7770
|
+
saturate: [B, _, k]
|
|
7747
7771
|
}],
|
|
7748
7772
|
/**
|
|
7749
7773
|
* Sepia
|
|
7750
7774
|
* @see https://tailwindcss.com/docs/sepia
|
|
7751
7775
|
*/
|
|
7752
7776
|
sepia: [{
|
|
7753
|
-
sepia: ["",
|
|
7777
|
+
sepia: ["", B, _, k]
|
|
7754
7778
|
}],
|
|
7755
7779
|
/**
|
|
7756
7780
|
* Backdrop Filter
|
|
@@ -7761,8 +7785,8 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7761
7785
|
// Deprecated since Tailwind CSS v3.0.0
|
|
7762
7786
|
"",
|
|
7763
7787
|
"none",
|
|
7764
|
-
|
|
7765
|
-
|
|
7788
|
+
_,
|
|
7789
|
+
k
|
|
7766
7790
|
]
|
|
7767
7791
|
}],
|
|
7768
7792
|
/**
|
|
@@ -7777,56 +7801,56 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7777
7801
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
7778
7802
|
*/
|
|
7779
7803
|
"backdrop-brightness": [{
|
|
7780
|
-
"backdrop-brightness": [
|
|
7804
|
+
"backdrop-brightness": [B, _, k]
|
|
7781
7805
|
}],
|
|
7782
7806
|
/**
|
|
7783
7807
|
* Backdrop Contrast
|
|
7784
7808
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
7785
7809
|
*/
|
|
7786
7810
|
"backdrop-contrast": [{
|
|
7787
|
-
"backdrop-contrast": [
|
|
7811
|
+
"backdrop-contrast": [B, _, k]
|
|
7788
7812
|
}],
|
|
7789
7813
|
/**
|
|
7790
7814
|
* Backdrop Grayscale
|
|
7791
7815
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
7792
7816
|
*/
|
|
7793
7817
|
"backdrop-grayscale": [{
|
|
7794
|
-
"backdrop-grayscale": ["",
|
|
7818
|
+
"backdrop-grayscale": ["", B, _, k]
|
|
7795
7819
|
}],
|
|
7796
7820
|
/**
|
|
7797
7821
|
* Backdrop Hue Rotate
|
|
7798
7822
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
7799
7823
|
*/
|
|
7800
7824
|
"backdrop-hue-rotate": [{
|
|
7801
|
-
"backdrop-hue-rotate": [
|
|
7825
|
+
"backdrop-hue-rotate": [B, _, k]
|
|
7802
7826
|
}],
|
|
7803
7827
|
/**
|
|
7804
7828
|
* Backdrop Invert
|
|
7805
7829
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
7806
7830
|
*/
|
|
7807
7831
|
"backdrop-invert": [{
|
|
7808
|
-
"backdrop-invert": ["",
|
|
7832
|
+
"backdrop-invert": ["", B, _, k]
|
|
7809
7833
|
}],
|
|
7810
7834
|
/**
|
|
7811
7835
|
* Backdrop Opacity
|
|
7812
7836
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
7813
7837
|
*/
|
|
7814
7838
|
"backdrop-opacity": [{
|
|
7815
|
-
"backdrop-opacity": [
|
|
7839
|
+
"backdrop-opacity": [B, _, k]
|
|
7816
7840
|
}],
|
|
7817
7841
|
/**
|
|
7818
7842
|
* Backdrop Saturate
|
|
7819
7843
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
7820
7844
|
*/
|
|
7821
7845
|
"backdrop-saturate": [{
|
|
7822
|
-
"backdrop-saturate": [
|
|
7846
|
+
"backdrop-saturate": [B, _, k]
|
|
7823
7847
|
}],
|
|
7824
7848
|
/**
|
|
7825
7849
|
* Backdrop Sepia
|
|
7826
7850
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
7827
7851
|
*/
|
|
7828
7852
|
"backdrop-sepia": [{
|
|
7829
|
-
"backdrop-sepia": ["",
|
|
7853
|
+
"backdrop-sepia": ["", B, _, k]
|
|
7830
7854
|
}],
|
|
7831
7855
|
// --------------
|
|
7832
7856
|
// --- Tables ---
|
|
@@ -7843,21 +7867,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7843
7867
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
7844
7868
|
*/
|
|
7845
7869
|
"border-spacing": [{
|
|
7846
|
-
"border-spacing":
|
|
7870
|
+
"border-spacing": v()
|
|
7847
7871
|
}],
|
|
7848
7872
|
/**
|
|
7849
7873
|
* Border Spacing X
|
|
7850
7874
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
7851
7875
|
*/
|
|
7852
7876
|
"border-spacing-x": [{
|
|
7853
|
-
"border-spacing-x":
|
|
7877
|
+
"border-spacing-x": v()
|
|
7854
7878
|
}],
|
|
7855
7879
|
/**
|
|
7856
7880
|
* Border Spacing Y
|
|
7857
7881
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
7858
7882
|
*/
|
|
7859
7883
|
"border-spacing-y": [{
|
|
7860
|
-
"border-spacing-y":
|
|
7884
|
+
"border-spacing-y": v()
|
|
7861
7885
|
}],
|
|
7862
7886
|
/**
|
|
7863
7887
|
* Table Layout
|
|
@@ -7881,7 +7905,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7881
7905
|
* @see https://tailwindcss.com/docs/transition-property
|
|
7882
7906
|
*/
|
|
7883
7907
|
transition: [{
|
|
7884
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
7908
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", _, k]
|
|
7885
7909
|
}],
|
|
7886
7910
|
/**
|
|
7887
7911
|
* Transition Behavior
|
|
@@ -7895,28 +7919,28 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7895
7919
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
7896
7920
|
*/
|
|
7897
7921
|
duration: [{
|
|
7898
|
-
duration: [
|
|
7922
|
+
duration: [B, "initial", _, k]
|
|
7899
7923
|
}],
|
|
7900
7924
|
/**
|
|
7901
7925
|
* Transition Timing Function
|
|
7902
7926
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
7903
7927
|
*/
|
|
7904
7928
|
ease: [{
|
|
7905
|
-
ease: ["linear", "initial",
|
|
7929
|
+
ease: ["linear", "initial", $, _, k]
|
|
7906
7930
|
}],
|
|
7907
7931
|
/**
|
|
7908
7932
|
* Transition Delay
|
|
7909
7933
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
7910
7934
|
*/
|
|
7911
7935
|
delay: [{
|
|
7912
|
-
delay: [
|
|
7936
|
+
delay: [B, _, k]
|
|
7913
7937
|
}],
|
|
7914
7938
|
/**
|
|
7915
7939
|
* Animation
|
|
7916
7940
|
* @see https://tailwindcss.com/docs/animation
|
|
7917
7941
|
*/
|
|
7918
7942
|
animate: [{
|
|
7919
|
-
animate: ["none", M,
|
|
7943
|
+
animate: ["none", M, _, k]
|
|
7920
7944
|
}],
|
|
7921
7945
|
// ------------------
|
|
7922
7946
|
// --- Transforms ---
|
|
@@ -7933,14 +7957,14 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
7933
7957
|
* @see https://tailwindcss.com/docs/perspective
|
|
7934
7958
|
*/
|
|
7935
7959
|
perspective: [{
|
|
7936
|
-
perspective: [
|
|
7960
|
+
perspective: [p, _, k]
|
|
7937
7961
|
}],
|
|
7938
7962
|
/**
|
|
7939
7963
|
* Perspective Origin
|
|
7940
7964
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
7941
7965
|
*/
|
|
7942
7966
|
"perspective-origin": [{
|
|
7943
|
-
"perspective-origin":
|
|
7967
|
+
"perspective-origin": D()
|
|
7944
7968
|
}],
|
|
7945
7969
|
/**
|
|
7946
7970
|
* Rotate
|
|
@@ -8029,14 +8053,14 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
8029
8053
|
* @see https://tailwindcss.com/docs/transform
|
|
8030
8054
|
*/
|
|
8031
8055
|
transform: [{
|
|
8032
|
-
transform: [
|
|
8056
|
+
transform: [_, k, "", "none", "gpu", "cpu"]
|
|
8033
8057
|
}],
|
|
8034
8058
|
/**
|
|
8035
8059
|
* Transform Origin
|
|
8036
8060
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
8037
8061
|
*/
|
|
8038
8062
|
"transform-origin": [{
|
|
8039
|
-
origin:
|
|
8063
|
+
origin: D()
|
|
8040
8064
|
}],
|
|
8041
8065
|
/**
|
|
8042
8066
|
* Transform Style
|
|
@@ -8050,28 +8074,28 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
8050
8074
|
* @see https://tailwindcss.com/docs/translate
|
|
8051
8075
|
*/
|
|
8052
8076
|
translate: [{
|
|
8053
|
-
translate:
|
|
8077
|
+
translate: L()
|
|
8054
8078
|
}],
|
|
8055
8079
|
/**
|
|
8056
8080
|
* Translate X
|
|
8057
8081
|
* @see https://tailwindcss.com/docs/translate
|
|
8058
8082
|
*/
|
|
8059
8083
|
"translate-x": [{
|
|
8060
|
-
"translate-x":
|
|
8084
|
+
"translate-x": L()
|
|
8061
8085
|
}],
|
|
8062
8086
|
/**
|
|
8063
8087
|
* Translate Y
|
|
8064
8088
|
* @see https://tailwindcss.com/docs/translate
|
|
8065
8089
|
*/
|
|
8066
8090
|
"translate-y": [{
|
|
8067
|
-
"translate-y":
|
|
8091
|
+
"translate-y": L()
|
|
8068
8092
|
}],
|
|
8069
8093
|
/**
|
|
8070
8094
|
* Translate Z
|
|
8071
8095
|
* @see https://tailwindcss.com/docs/translate
|
|
8072
8096
|
*/
|
|
8073
8097
|
"translate-z": [{
|
|
8074
|
-
"translate-z":
|
|
8098
|
+
"translate-z": L()
|
|
8075
8099
|
}],
|
|
8076
8100
|
/**
|
|
8077
8101
|
* Translate None
|
|
@@ -8086,7 +8110,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
8086
8110
|
* @see https://tailwindcss.com/docs/accent-color
|
|
8087
8111
|
*/
|
|
8088
8112
|
accent: [{
|
|
8089
|
-
accent:
|
|
8113
|
+
accent: g()
|
|
8090
8114
|
}],
|
|
8091
8115
|
/**
|
|
8092
8116
|
* Appearance
|
|
@@ -8100,7 +8124,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
8100
8124
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
8101
8125
|
*/
|
|
8102
8126
|
"caret-color": [{
|
|
8103
|
-
caret:
|
|
8127
|
+
caret: g()
|
|
8104
8128
|
}],
|
|
8105
8129
|
/**
|
|
8106
8130
|
* Color Scheme
|
|
@@ -8114,7 +8138,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
8114
8138
|
* @see https://tailwindcss.com/docs/cursor
|
|
8115
8139
|
*/
|
|
8116
8140
|
cursor: [{
|
|
8117
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
8141
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", _, k]
|
|
8118
8142
|
}],
|
|
8119
8143
|
/**
|
|
8120
8144
|
* Field Sizing
|
|
@@ -8149,126 +8173,126 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
8149
8173
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8150
8174
|
*/
|
|
8151
8175
|
"scroll-m": [{
|
|
8152
|
-
"scroll-m":
|
|
8176
|
+
"scroll-m": v()
|
|
8153
8177
|
}],
|
|
8154
8178
|
/**
|
|
8155
8179
|
* Scroll Margin X
|
|
8156
8180
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8157
8181
|
*/
|
|
8158
8182
|
"scroll-mx": [{
|
|
8159
|
-
"scroll-mx":
|
|
8183
|
+
"scroll-mx": v()
|
|
8160
8184
|
}],
|
|
8161
8185
|
/**
|
|
8162
8186
|
* Scroll Margin Y
|
|
8163
8187
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8164
8188
|
*/
|
|
8165
8189
|
"scroll-my": [{
|
|
8166
|
-
"scroll-my":
|
|
8190
|
+
"scroll-my": v()
|
|
8167
8191
|
}],
|
|
8168
8192
|
/**
|
|
8169
8193
|
* Scroll Margin Start
|
|
8170
8194
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8171
8195
|
*/
|
|
8172
8196
|
"scroll-ms": [{
|
|
8173
|
-
"scroll-ms":
|
|
8197
|
+
"scroll-ms": v()
|
|
8174
8198
|
}],
|
|
8175
8199
|
/**
|
|
8176
8200
|
* Scroll Margin End
|
|
8177
8201
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8178
8202
|
*/
|
|
8179
8203
|
"scroll-me": [{
|
|
8180
|
-
"scroll-me":
|
|
8204
|
+
"scroll-me": v()
|
|
8181
8205
|
}],
|
|
8182
8206
|
/**
|
|
8183
8207
|
* Scroll Margin Top
|
|
8184
8208
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8185
8209
|
*/
|
|
8186
8210
|
"scroll-mt": [{
|
|
8187
|
-
"scroll-mt":
|
|
8211
|
+
"scroll-mt": v()
|
|
8188
8212
|
}],
|
|
8189
8213
|
/**
|
|
8190
8214
|
* Scroll Margin Right
|
|
8191
8215
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8192
8216
|
*/
|
|
8193
8217
|
"scroll-mr": [{
|
|
8194
|
-
"scroll-mr":
|
|
8218
|
+
"scroll-mr": v()
|
|
8195
8219
|
}],
|
|
8196
8220
|
/**
|
|
8197
8221
|
* Scroll Margin Bottom
|
|
8198
8222
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8199
8223
|
*/
|
|
8200
8224
|
"scroll-mb": [{
|
|
8201
|
-
"scroll-mb":
|
|
8225
|
+
"scroll-mb": v()
|
|
8202
8226
|
}],
|
|
8203
8227
|
/**
|
|
8204
8228
|
* Scroll Margin Left
|
|
8205
8229
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
8206
8230
|
*/
|
|
8207
8231
|
"scroll-ml": [{
|
|
8208
|
-
"scroll-ml":
|
|
8232
|
+
"scroll-ml": v()
|
|
8209
8233
|
}],
|
|
8210
8234
|
/**
|
|
8211
8235
|
* Scroll Padding
|
|
8212
8236
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8213
8237
|
*/
|
|
8214
8238
|
"scroll-p": [{
|
|
8215
|
-
"scroll-p":
|
|
8239
|
+
"scroll-p": v()
|
|
8216
8240
|
}],
|
|
8217
8241
|
/**
|
|
8218
8242
|
* Scroll Padding X
|
|
8219
8243
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8220
8244
|
*/
|
|
8221
8245
|
"scroll-px": [{
|
|
8222
|
-
"scroll-px":
|
|
8246
|
+
"scroll-px": v()
|
|
8223
8247
|
}],
|
|
8224
8248
|
/**
|
|
8225
8249
|
* Scroll Padding Y
|
|
8226
8250
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8227
8251
|
*/
|
|
8228
8252
|
"scroll-py": [{
|
|
8229
|
-
"scroll-py":
|
|
8253
|
+
"scroll-py": v()
|
|
8230
8254
|
}],
|
|
8231
8255
|
/**
|
|
8232
8256
|
* Scroll Padding Start
|
|
8233
8257
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8234
8258
|
*/
|
|
8235
8259
|
"scroll-ps": [{
|
|
8236
|
-
"scroll-ps":
|
|
8260
|
+
"scroll-ps": v()
|
|
8237
8261
|
}],
|
|
8238
8262
|
/**
|
|
8239
8263
|
* Scroll Padding End
|
|
8240
8264
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8241
8265
|
*/
|
|
8242
8266
|
"scroll-pe": [{
|
|
8243
|
-
"scroll-pe":
|
|
8267
|
+
"scroll-pe": v()
|
|
8244
8268
|
}],
|
|
8245
8269
|
/**
|
|
8246
8270
|
* Scroll Padding Top
|
|
8247
8271
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8248
8272
|
*/
|
|
8249
8273
|
"scroll-pt": [{
|
|
8250
|
-
"scroll-pt":
|
|
8274
|
+
"scroll-pt": v()
|
|
8251
8275
|
}],
|
|
8252
8276
|
/**
|
|
8253
8277
|
* Scroll Padding Right
|
|
8254
8278
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8255
8279
|
*/
|
|
8256
8280
|
"scroll-pr": [{
|
|
8257
|
-
"scroll-pr":
|
|
8281
|
+
"scroll-pr": v()
|
|
8258
8282
|
}],
|
|
8259
8283
|
/**
|
|
8260
8284
|
* Scroll Padding Bottom
|
|
8261
8285
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8262
8286
|
*/
|
|
8263
8287
|
"scroll-pb": [{
|
|
8264
|
-
"scroll-pb":
|
|
8288
|
+
"scroll-pb": v()
|
|
8265
8289
|
}],
|
|
8266
8290
|
/**
|
|
8267
8291
|
* Scroll Padding Left
|
|
8268
8292
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
8269
8293
|
*/
|
|
8270
8294
|
"scroll-pl": [{
|
|
8271
|
-
"scroll-pl":
|
|
8295
|
+
"scroll-pl": v()
|
|
8272
8296
|
}],
|
|
8273
8297
|
/**
|
|
8274
8298
|
* Scroll Snap Align
|
|
@@ -8336,7 +8360,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
8336
8360
|
* @see https://tailwindcss.com/docs/will-change
|
|
8337
8361
|
*/
|
|
8338
8362
|
"will-change": [{
|
|
8339
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
8363
|
+
"will-change": ["auto", "scroll", "contents", "transform", _, k]
|
|
8340
8364
|
}],
|
|
8341
8365
|
// -----------
|
|
8342
8366
|
// --- SVG ---
|
|
@@ -8346,21 +8370,21 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
8346
8370
|
* @see https://tailwindcss.com/docs/fill
|
|
8347
8371
|
*/
|
|
8348
8372
|
fill: [{
|
|
8349
|
-
fill: ["none", ...
|
|
8373
|
+
fill: ["none", ...g()]
|
|
8350
8374
|
}],
|
|
8351
8375
|
/**
|
|
8352
8376
|
* Stroke Width
|
|
8353
8377
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
8354
8378
|
*/
|
|
8355
8379
|
"stroke-w": [{
|
|
8356
|
-
stroke: [
|
|
8380
|
+
stroke: [B, Lo, vo, Zo]
|
|
8357
8381
|
}],
|
|
8358
8382
|
/**
|
|
8359
8383
|
* Stroke
|
|
8360
8384
|
* @see https://tailwindcss.com/docs/stroke
|
|
8361
8385
|
*/
|
|
8362
8386
|
stroke: [{
|
|
8363
|
-
stroke: ["none", ...
|
|
8387
|
+
stroke: ["none", ...g()]
|
|
8364
8388
|
}],
|
|
8365
8389
|
// ---------------------
|
|
8366
8390
|
// --- Accessibility ---
|
|
@@ -8428,7 +8452,7 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
8428
8452
|
},
|
|
8429
8453
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
8430
8454
|
};
|
|
8431
|
-
},
|
|
8455
|
+
}, Fo = /* @__PURE__ */ Ar(en), tn = (t, o) => {
|
|
8432
8456
|
let e = 0;
|
|
8433
8457
|
const i = t.replace(/\D/g, "").split("");
|
|
8434
8458
|
let r = "";
|
|
@@ -8439,136 +8463,142 @@ const $o = co(dr), pr = (t, o) => {
|
|
|
8439
8463
|
const o = l.useId(), e = t.id || o, [i, r] = l.useState(!1), n = U(null), s = U(!1), {
|
|
8440
8464
|
containerClass: f,
|
|
8441
8465
|
containerStyle: a,
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8455
|
-
|
|
8456
|
-
|
|
8457
|
-
|
|
8458
|
-
|
|
8459
|
-
|
|
8466
|
+
fieldClass: u,
|
|
8467
|
+
label: b,
|
|
8468
|
+
error: h,
|
|
8469
|
+
mask: d,
|
|
8470
|
+
type: x,
|
|
8471
|
+
value: m,
|
|
8472
|
+
controlled: p,
|
|
8473
|
+
rules: T,
|
|
8474
|
+
onChange: $,
|
|
8475
|
+
onCommit: M,
|
|
8476
|
+
leadingIcon: F,
|
|
8477
|
+
trailingIcon: N,
|
|
8478
|
+
...D
|
|
8479
|
+
} = t, I = m instanceof To, A = typeof m == "string" ? m : I ? m.value : "", [v, z] = G(A);
|
|
8480
|
+
Z(() => {
|
|
8481
|
+
if (p) {
|
|
8482
|
+
if (I)
|
|
8483
|
+
return m.subscribe(z);
|
|
8484
|
+
z(typeof m == "string" ? m : "");
|
|
8460
8485
|
}
|
|
8461
|
-
}, [
|
|
8486
|
+
}, [p, m, I]), Z(() => p || !I ? void 0 : m.subscribe((K) => {
|
|
8462
8487
|
if (s.current) return;
|
|
8463
|
-
const
|
|
8464
|
-
|
|
8465
|
-
}), [
|
|
8466
|
-
const
|
|
8467
|
-
if (!
|
|
8468
|
-
|
|
8469
|
-
const
|
|
8470
|
-
|
|
8471
|
-
|
|
8488
|
+
const w = n.current;
|
|
8489
|
+
w && w.value !== K && (w.value = K);
|
|
8490
|
+
}), [m, I, p]), l.useEffect(() => {
|
|
8491
|
+
const g = n.current;
|
|
8492
|
+
if (!g) return;
|
|
8493
|
+
T && (g.__fiboRules = T);
|
|
8494
|
+
const K = g.closest(".fibo-textfield-container"), w = K == null ? void 0 : K.querySelector(".fibo-field-error");
|
|
8495
|
+
K && (K.__fiboShowError = (O) => {
|
|
8496
|
+
w && (w.textContent = O ?? "", w.style.display = O ? "" : "none");
|
|
8472
8497
|
});
|
|
8473
|
-
}, [
|
|
8474
|
-
const
|
|
8498
|
+
}, [T]);
|
|
8499
|
+
const P = x === "password", X = P && i ? "text" : x, S = (g) => d ? tn(g, d) : g, H = {
|
|
8475
8500
|
key: "input",
|
|
8476
8501
|
ref: n,
|
|
8477
8502
|
id: e,
|
|
8478
8503
|
className: "fibo-textfield-input w-full h-full bg-transparent outline-none py-2.5 text-sm",
|
|
8479
|
-
style: { paddingLeft:
|
|
8480
|
-
type:
|
|
8481
|
-
onChange: (
|
|
8482
|
-
let
|
|
8483
|
-
|
|
8504
|
+
style: { paddingLeft: F ? "2.75rem" : "1rem", paddingRight: N || P ? "2.75rem" : "1rem" },
|
|
8505
|
+
type: X,
|
|
8506
|
+
onChange: (g) => {
|
|
8507
|
+
let K = S(g.target.value);
|
|
8508
|
+
d && g.target.value !== K && (g.target.value = K), p && z(K), I && (s.current = !0, m.value = K, s.current = !1), $ == null || $(K);
|
|
8484
8509
|
},
|
|
8485
|
-
onBlur: (
|
|
8486
|
-
var
|
|
8487
|
-
|
|
8510
|
+
onBlur: (g) => {
|
|
8511
|
+
var K;
|
|
8512
|
+
M == null || M(S(g.target.value)), (K = D.onBlur) == null || K.call(D, g);
|
|
8488
8513
|
},
|
|
8489
|
-
...
|
|
8514
|
+
...D
|
|
8490
8515
|
};
|
|
8491
|
-
return
|
|
8516
|
+
return p ? H.value = v : H.defaultValue = A, l.createElement(
|
|
8492
8517
|
"div",
|
|
8493
8518
|
{ className: f, style: a },
|
|
8494
|
-
l.createElement(
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
},
|
|
8501
|
-
M
|
|
8502
|
-
),
|
|
8503
|
-
l.createElement("input", N),
|
|
8504
|
-
u && l.createElement(
|
|
8505
|
-
"label",
|
|
8506
|
-
{
|
|
8507
|
-
key: "label",
|
|
8508
|
-
htmlFor: e,
|
|
8509
|
-
className: "fibo-textfield-label",
|
|
8510
|
-
style: { left: M ? "2.75rem" : "1rem" }
|
|
8511
|
-
},
|
|
8512
|
-
u
|
|
8513
|
-
),
|
|
8514
|
-
(B || C) && l.createElement(
|
|
8515
|
-
"div",
|
|
8516
|
-
{
|
|
8517
|
-
key: "trailing-icon",
|
|
8518
|
-
className: "absolute right-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center z-10"
|
|
8519
|
-
},
|
|
8520
|
-
C ? l.createElement(
|
|
8521
|
-
"button",
|
|
8519
|
+
l.createElement(
|
|
8520
|
+
"div",
|
|
8521
|
+
{ className: u || "relative w-full h-14 flex items-center" },
|
|
8522
|
+
[
|
|
8523
|
+
F && l.createElement(
|
|
8524
|
+
"div",
|
|
8522
8525
|
{
|
|
8523
|
-
|
|
8524
|
-
className: "
|
|
8525
|
-
onClick: () => r(!i),
|
|
8526
|
-
tabIndex: -1
|
|
8526
|
+
key: "leading-icon",
|
|
8527
|
+
className: "absolute left-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center pointer-events-none z-10"
|
|
8527
8528
|
},
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
"
|
|
8529
|
+
F
|
|
8530
|
+
),
|
|
8531
|
+
l.createElement("input", H),
|
|
8532
|
+
b && l.createElement(
|
|
8533
|
+
"label",
|
|
8534
|
+
{
|
|
8535
|
+
key: "label",
|
|
8536
|
+
htmlFor: e,
|
|
8537
|
+
className: "fibo-textfield-label",
|
|
8538
|
+
style: { left: F ? "2.75rem" : "1rem" }
|
|
8539
|
+
},
|
|
8540
|
+
b
|
|
8541
|
+
),
|
|
8542
|
+
(N || P) && l.createElement(
|
|
8543
|
+
"div",
|
|
8544
|
+
{
|
|
8545
|
+
key: "trailing-icon",
|
|
8546
|
+
className: "absolute right-3 top-1/2 transform -translate-y-1/2 flex items-center justify-center z-10"
|
|
8547
|
+
},
|
|
8548
|
+
P ? l.createElement(
|
|
8549
|
+
"button",
|
|
8546
8550
|
{
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
stroke: "currentColor",
|
|
8552
|
-
strokeWidth: 2,
|
|
8553
|
-
strokeLinecap: "round",
|
|
8554
|
-
strokeLinejoin: "round"
|
|
8551
|
+
type: "button",
|
|
8552
|
+
className: "text-gray-400 hover:text-gray-600 focus:outline-none",
|
|
8553
|
+
onClick: () => r(!i),
|
|
8554
|
+
tabIndex: -1
|
|
8555
8555
|
},
|
|
8556
|
-
l.createElement(
|
|
8557
|
-
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8556
|
+
i ? l.createElement(
|
|
8557
|
+
"svg",
|
|
8558
|
+
{
|
|
8559
|
+
width: 16,
|
|
8560
|
+
height: 16,
|
|
8561
|
+
viewBox: "0 0 24 24",
|
|
8562
|
+
fill: "none",
|
|
8563
|
+
stroke: "currentColor",
|
|
8564
|
+
strokeWidth: 2,
|
|
8565
|
+
strokeLinecap: "round",
|
|
8566
|
+
strokeLinejoin: "round"
|
|
8567
|
+
},
|
|
8568
|
+
l.createElement("path", {
|
|
8569
|
+
d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"
|
|
8570
|
+
}),
|
|
8571
|
+
l.createElement("line", { x1: 1, y1: 1, x2: 23, y2: 23 })
|
|
8572
|
+
) : l.createElement(
|
|
8573
|
+
"svg",
|
|
8574
|
+
{
|
|
8575
|
+
width: 16,
|
|
8576
|
+
height: 16,
|
|
8577
|
+
viewBox: "0 0 24 24",
|
|
8578
|
+
fill: "none",
|
|
8579
|
+
stroke: "currentColor",
|
|
8580
|
+
strokeWidth: 2,
|
|
8581
|
+
strokeLinecap: "round",
|
|
8582
|
+
strokeLinejoin: "round"
|
|
8583
|
+
},
|
|
8584
|
+
l.createElement("path", {
|
|
8585
|
+
d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"
|
|
8586
|
+
}),
|
|
8587
|
+
l.createElement("circle", { cx: 12, cy: 12, r: 3 })
|
|
8588
|
+
)
|
|
8589
|
+
) : N
|
|
8590
|
+
)
|
|
8591
|
+
]
|
|
8592
|
+
),
|
|
8564
8593
|
l.createElement(
|
|
8565
8594
|
"span",
|
|
8566
8595
|
{
|
|
8567
8596
|
id: t.name ? `fibo-err-${t.name}` : void 0,
|
|
8568
8597
|
className: "fibo-field-error text-[var(--fibo-error,#b91c1c)] text-xs mt-1 ml-1",
|
|
8569
|
-
|
|
8598
|
+
role: "alert",
|
|
8599
|
+
style: { display: h ? "" : "none" }
|
|
8570
8600
|
},
|
|
8571
|
-
|
|
8601
|
+
h || ""
|
|
8572
8602
|
)
|
|
8573
8603
|
);
|
|
8574
8604
|
});
|
|
@@ -8647,10 +8677,14 @@ class nn extends ao {
|
|
|
8647
8677
|
return this._variant = e, this;
|
|
8648
8678
|
}
|
|
8649
8679
|
build() {
|
|
8650
|
-
let e = "
|
|
8680
|
+
let e = "relative w-full h-14 flex items-center";
|
|
8651
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)]";
|
|
8652
8682
|
const r = {
|
|
8653
|
-
containerClass:
|
|
8683
|
+
containerClass: Fo(
|
|
8684
|
+
"fibo-textfield-container w-full flex flex-col",
|
|
8685
|
+
...this._classNames
|
|
8686
|
+
),
|
|
8687
|
+
fieldClass: e,
|
|
8654
8688
|
containerStyle: this.getStyle(),
|
|
8655
8689
|
label: this._label,
|
|
8656
8690
|
error: this._error,
|
|
@@ -8685,38 +8719,38 @@ const ks = co(nn), sn = l.memo((t) => {
|
|
|
8685
8719
|
error: b,
|
|
8686
8720
|
className: h,
|
|
8687
8721
|
style: d,
|
|
8688
|
-
id:
|
|
8689
|
-
} = t,
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
}, [s]),
|
|
8722
|
+
id: x
|
|
8723
|
+
} = t, m = U(null), p = U(null), T = o, [$, M] = G(T), F = e ? !!o : $, N = F || s;
|
|
8724
|
+
Z(() => {
|
|
8725
|
+
m.current && (m.current.indeterminate = !!s);
|
|
8726
|
+
}, [s]), Z(() => {
|
|
8693
8727
|
if (e) return;
|
|
8694
|
-
const
|
|
8695
|
-
if (!
|
|
8696
|
-
const
|
|
8697
|
-
requestAnimationFrame(
|
|
8728
|
+
const v = m.current;
|
|
8729
|
+
if (!v) return;
|
|
8730
|
+
const z = () => M(v.checked), P = () => {
|
|
8731
|
+
requestAnimationFrame(z);
|
|
8698
8732
|
};
|
|
8699
|
-
|
|
8700
|
-
const
|
|
8701
|
-
return
|
|
8702
|
-
|
|
8733
|
+
v.addEventListener("fibo-sync", z);
|
|
8734
|
+
const X = v.closest("form");
|
|
8735
|
+
return X == null || X.addEventListener("reset", P), () => {
|
|
8736
|
+
v.removeEventListener("fibo-sync", z), X == null || X.removeEventListener("reset", P);
|
|
8703
8737
|
};
|
|
8704
|
-
}, [e]),
|
|
8705
|
-
const
|
|
8706
|
-
if (!
|
|
8707
|
-
u && (
|
|
8708
|
-
const
|
|
8709
|
-
|
|
8710
|
-
|
|
8738
|
+
}, [e]), Z(() => {
|
|
8739
|
+
const v = m.current, z = p.current;
|
|
8740
|
+
if (!v) return;
|
|
8741
|
+
u && (v.__fiboRules = u);
|
|
8742
|
+
const P = z == null ? void 0 : z.querySelector(".fibo-field-error");
|
|
8743
|
+
z && (z.__fiboShowError = (X) => {
|
|
8744
|
+
P && (P.textContent = X ?? "", P.style.display = X ? "" : "none");
|
|
8711
8745
|
});
|
|
8712
8746
|
}, [u]);
|
|
8713
|
-
const
|
|
8747
|
+
const D = (v) => {
|
|
8714
8748
|
if (n) return;
|
|
8715
|
-
const
|
|
8716
|
-
e || M(
|
|
8749
|
+
const z = v.target.checked;
|
|
8750
|
+
e || M(z), i == null || i(z);
|
|
8717
8751
|
};
|
|
8718
|
-
let
|
|
8719
|
-
s ?
|
|
8752
|
+
let I = null;
|
|
8753
|
+
s ? I = l.createElement("div", { className: "w-[10px] h-[2px] bg-white rounded-[1px]" }) : F && (I = l.createElement(
|
|
8720
8754
|
"svg",
|
|
8721
8755
|
{
|
|
8722
8756
|
width: "12",
|
|
@@ -8734,21 +8768,21 @@ const ks = co(nn), sn = l.memo((t) => {
|
|
|
8734
8768
|
strokeLinejoin: "round"
|
|
8735
8769
|
})
|
|
8736
8770
|
));
|
|
8737
|
-
const
|
|
8738
|
-
ref:
|
|
8739
|
-
id:
|
|
8771
|
+
const A = {
|
|
8772
|
+
ref: m,
|
|
8773
|
+
id: x,
|
|
8740
8774
|
type: "checkbox",
|
|
8741
8775
|
name: f,
|
|
8742
8776
|
value: a,
|
|
8743
8777
|
disabled: n,
|
|
8744
8778
|
className: "sr-only",
|
|
8745
|
-
onChange:
|
|
8779
|
+
onChange: D
|
|
8746
8780
|
};
|
|
8747
|
-
return e ?
|
|
8781
|
+
return e ? A.checked = !!o : A.defaultChecked = T, l.createElement(
|
|
8748
8782
|
"div",
|
|
8749
8783
|
{
|
|
8750
|
-
ref:
|
|
8751
|
-
className:
|
|
8784
|
+
ref: p,
|
|
8785
|
+
className: Fo("fibo-checkbox-container", h)
|
|
8752
8786
|
},
|
|
8753
8787
|
l.createElement(
|
|
8754
8788
|
"label",
|
|
@@ -8758,18 +8792,18 @@ const ks = co(nn), sn = l.memo((t) => {
|
|
|
8758
8792
|
l.createElement(
|
|
8759
8793
|
"div",
|
|
8760
8794
|
{
|
|
8761
|
-
className:
|
|
8795
|
+
className: Fo(
|
|
8762
8796
|
"fibo-checkbox-box w-5 h-5 rounded-[6px] border-2 flex items-center justify-center transition-all duration-200",
|
|
8763
8797
|
n ? "cursor-not-allowed opacity-50" : "cursor-pointer",
|
|
8764
|
-
|
|
8798
|
+
N ? "border-transparent bg-[var(--fibo-primary,#3B82F6)]" : "border-gray-300 bg-transparent"
|
|
8765
8799
|
),
|
|
8766
8800
|
style: d,
|
|
8767
8801
|
"aria-hidden": !0
|
|
8768
8802
|
},
|
|
8769
|
-
|
|
8803
|
+
I
|
|
8770
8804
|
),
|
|
8771
8805
|
r && l.createElement("span", { className: "text-sm text-gray-700 select-none" }, r),
|
|
8772
|
-
l.createElement("input",
|
|
8806
|
+
l.createElement("input", A)
|
|
8773
8807
|
),
|
|
8774
8808
|
l.createElement(
|
|
8775
8809
|
"span",
|
|
@@ -8859,73 +8893,73 @@ const cn = l.memo((t) => {
|
|
|
8859
8893
|
containerClass: b,
|
|
8860
8894
|
containerStyle: h,
|
|
8861
8895
|
label: d,
|
|
8862
|
-
error:
|
|
8863
|
-
value:
|
|
8864
|
-
options:
|
|
8896
|
+
error: x,
|
|
8897
|
+
value: m,
|
|
8898
|
+
options: p = [],
|
|
8865
8899
|
placeholder: T,
|
|
8866
|
-
onChange:
|
|
8900
|
+
onChange: $,
|
|
8867
8901
|
disabled: M,
|
|
8868
|
-
multiple:
|
|
8869
|
-
name:
|
|
8870
|
-
controlled:
|
|
8871
|
-
rules:
|
|
8872
|
-
} = t, [
|
|
8873
|
-
() =>
|
|
8874
|
-
),
|
|
8875
|
-
|
|
8876
|
-
const
|
|
8877
|
-
a.current && !a.current.contains(
|
|
8902
|
+
multiple: F,
|
|
8903
|
+
name: N,
|
|
8904
|
+
controlled: D = !1,
|
|
8905
|
+
rules: I
|
|
8906
|
+
} = t, [A, v] = G(
|
|
8907
|
+
() => m ?? (F ? [] : "")
|
|
8908
|
+
), z = D ? m ?? (F ? [] : "") : A;
|
|
8909
|
+
Z(() => {
|
|
8910
|
+
const y = (R) => {
|
|
8911
|
+
a.current && !a.current.contains(R.target) && n(!1);
|
|
8878
8912
|
};
|
|
8879
|
-
return document.addEventListener("mousedown",
|
|
8880
|
-
}, []),
|
|
8881
|
-
const
|
|
8882
|
-
if (!
|
|
8883
|
-
|
|
8884
|
-
const
|
|
8885
|
-
|
|
8886
|
-
|
|
8913
|
+
return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
|
|
8914
|
+
}, []), Z(() => {
|
|
8915
|
+
const y = u.current;
|
|
8916
|
+
if (!y) return;
|
|
8917
|
+
I && (y.__fiboRules = I);
|
|
8918
|
+
const R = y.closest(".fibo-textfield-container"), H = R == null ? void 0 : R.querySelector(".fibo-field-error");
|
|
8919
|
+
R && (R.__fiboShowError = (g) => {
|
|
8920
|
+
H && (H.textContent = g ?? "", H.style.display = g ? "" : "none");
|
|
8887
8921
|
});
|
|
8888
|
-
}, [
|
|
8889
|
-
const
|
|
8890
|
-
let
|
|
8891
|
-
if (
|
|
8892
|
-
Array.isArray(
|
|
8922
|
+
}, [I]);
|
|
8923
|
+
const P = (y) => F ? Array.isArray(z) && z.includes(y) : z === y;
|
|
8924
|
+
let X = "";
|
|
8925
|
+
if (F)
|
|
8926
|
+
Array.isArray(z) && z.length > 0 && (X = p.filter((y) => z.includes(y.value)).map((y) => y.label).join(", "));
|
|
8893
8927
|
else {
|
|
8894
|
-
const
|
|
8895
|
-
|
|
8928
|
+
const y = p.find((R) => R.value === z);
|
|
8929
|
+
X = y ? y.label : "";
|
|
8896
8930
|
}
|
|
8897
|
-
const
|
|
8931
|
+
const S = (y) => {
|
|
8898
8932
|
if (M) return;
|
|
8899
|
-
let
|
|
8900
|
-
if (
|
|
8901
|
-
const
|
|
8902
|
-
|
|
8933
|
+
let R;
|
|
8934
|
+
if (F) {
|
|
8935
|
+
const H = Array.isArray(z) ? [...z] : [], g = H.indexOf(y);
|
|
8936
|
+
g > -1 ? H.splice(g, 1) : H.push(y), R = H;
|
|
8903
8937
|
} else
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
},
|
|
8907
|
-
|
|
8908
|
-
},
|
|
8938
|
+
R = y, n(!1);
|
|
8939
|
+
D || v(R), $ == null || $(R);
|
|
8940
|
+
}, C = (y) => {
|
|
8941
|
+
p.length !== 0 && f((R) => (R + y + p.length) % p.length);
|
|
8942
|
+
}, V = (y) => {
|
|
8909
8943
|
if (!M)
|
|
8910
|
-
switch (
|
|
8944
|
+
switch (y.key) {
|
|
8911
8945
|
case "ArrowDown":
|
|
8912
|
-
|
|
8946
|
+
y.preventDefault(), r ? C(1) : n(!0);
|
|
8913
8947
|
break;
|
|
8914
8948
|
case "ArrowUp":
|
|
8915
|
-
|
|
8949
|
+
y.preventDefault(), r ? C(-1) : n(!0);
|
|
8916
8950
|
break;
|
|
8917
8951
|
case "Home":
|
|
8918
|
-
|
|
8952
|
+
y.preventDefault(), f(0);
|
|
8919
8953
|
break;
|
|
8920
8954
|
case "End":
|
|
8921
|
-
|
|
8955
|
+
y.preventDefault(), f(Math.max(0, p.length - 1));
|
|
8922
8956
|
break;
|
|
8923
8957
|
case "Enter":
|
|
8924
8958
|
case " ":
|
|
8925
|
-
|
|
8959
|
+
y.preventDefault(), r ? p[s] && S(p[s].value) : n(!0);
|
|
8926
8960
|
break;
|
|
8927
8961
|
case "Escape":
|
|
8928
|
-
|
|
8962
|
+
y.preventDefault(), n(!1);
|
|
8929
8963
|
break;
|
|
8930
8964
|
}
|
|
8931
8965
|
};
|
|
@@ -8937,12 +8971,12 @@ const cn = l.memo((t) => {
|
|
|
8937
8971
|
style: h
|
|
8938
8972
|
},
|
|
8939
8973
|
l.createElement("div", { className: "relative w-full h-full" }, [
|
|
8940
|
-
|
|
8974
|
+
N ? l.createElement("input", {
|
|
8941
8975
|
key: "hidden",
|
|
8942
8976
|
ref: u,
|
|
8943
8977
|
type: "hidden",
|
|
8944
|
-
name:
|
|
8945
|
-
value: an(
|
|
8978
|
+
name: N,
|
|
8979
|
+
value: an(z)
|
|
8946
8980
|
}) : null,
|
|
8947
8981
|
l.createElement("button", {
|
|
8948
8982
|
key: "trigger",
|
|
@@ -8952,13 +8986,13 @@ const cn = l.memo((t) => {
|
|
|
8952
8986
|
"aria-expanded": r,
|
|
8953
8987
|
"aria-haspopup": "listbox",
|
|
8954
8988
|
"aria-controls": i,
|
|
8955
|
-
"aria-activedescendant": r &&
|
|
8989
|
+
"aria-activedescendant": r && p[s] ? `${i}-opt-${p[s].value}` : void 0,
|
|
8956
8990
|
disabled: M,
|
|
8957
|
-
className: `fibo-textfield-input text-left w-full flex items-center justify-between ${
|
|
8991
|
+
className: `fibo-textfield-input text-left w-full flex items-center justify-between ${X ? "" : "text-gray-400"}`,
|
|
8958
8992
|
onClick: () => !M && n(!r),
|
|
8959
|
-
onKeyDown:
|
|
8993
|
+
onKeyDown: V
|
|
8960
8994
|
}, [
|
|
8961
|
-
l.createElement("span", { key: "text", className: "truncate" },
|
|
8995
|
+
l.createElement("span", { key: "text", className: "truncate" }, X || T || " "),
|
|
8962
8996
|
l.createElement("svg", {
|
|
8963
8997
|
key: "icon",
|
|
8964
8998
|
className: `w-4 h-4 transition-transform ${r ? "rotate-180" : ""}`,
|
|
@@ -8981,21 +9015,21 @@ const cn = l.memo((t) => {
|
|
|
8981
9015
|
key: "dropdown",
|
|
8982
9016
|
id: i,
|
|
8983
9017
|
role: "listbox",
|
|
8984
|
-
"aria-multiselectable":
|
|
9018
|
+
"aria-multiselectable": F || void 0,
|
|
8985
9019
|
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"
|
|
8986
|
-
},
|
|
8987
|
-
const
|
|
9020
|
+
}, p.map((y, R) => {
|
|
9021
|
+
const H = P(y.value), g = R === s;
|
|
8988
9022
|
return l.createElement("div", {
|
|
8989
|
-
key:
|
|
8990
|
-
id: `${i}-opt-${
|
|
9023
|
+
key: y.value,
|
|
9024
|
+
id: `${i}-opt-${y.value}`,
|
|
8991
9025
|
role: "option",
|
|
8992
|
-
"aria-selected":
|
|
8993
|
-
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 ${
|
|
8994
|
-
onClick: () =>
|
|
8995
|
-
onMouseEnter: () => f(
|
|
9026
|
+
"aria-selected": H,
|
|
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 ${H || g ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"}`,
|
|
9028
|
+
onClick: () => S(y.value),
|
|
9029
|
+
onMouseEnter: () => f(R)
|
|
8996
9030
|
}, [
|
|
8997
|
-
l.createElement("span", { key: "label" },
|
|
8998
|
-
|
|
9031
|
+
l.createElement("span", { key: "label" }, y.label),
|
|
9032
|
+
H && l.createElement("svg", {
|
|
8999
9033
|
key: "check",
|
|
9000
9034
|
className: "w-4 h-4 text-[var(--fibo-primary)]",
|
|
9001
9035
|
viewBox: "0 0 20 20",
|
|
@@ -9009,10 +9043,10 @@ const cn = l.memo((t) => {
|
|
|
9009
9043
|
"span",
|
|
9010
9044
|
{
|
|
9011
9045
|
className: "fibo-field-error text-[var(--fibo-error)] text-xs mt-1 ml-1",
|
|
9012
|
-
style: { display:
|
|
9046
|
+
style: { display: x ? "" : "none" },
|
|
9013
9047
|
role: "alert"
|
|
9014
9048
|
},
|
|
9015
|
-
|
|
9049
|
+
x || ""
|
|
9016
9050
|
)
|
|
9017
9051
|
);
|
|
9018
9052
|
});
|
|
@@ -9072,7 +9106,7 @@ class ln extends ao {
|
|
|
9072
9106
|
}
|
|
9073
9107
|
build() {
|
|
9074
9108
|
const i = {
|
|
9075
|
-
containerClass:
|
|
9109
|
+
containerClass: Fo("fibo-textfield-container relative", ...this._classNames),
|
|
9076
9110
|
containerStyle: this.getStyle(),
|
|
9077
9111
|
label: this._label,
|
|
9078
9112
|
error: this._error,
|
|
@@ -9097,82 +9131,82 @@ function un(t) {
|
|
|
9097
9131
|
const bn = l.memo((t) => {
|
|
9098
9132
|
const o = l.useId(), e = t.id || o, i = `${e}-listbox`, [r, n] = G(!1), [s, f] = G(""), [a, u] = G(0), b = U(null), h = U(null), {
|
|
9099
9133
|
containerClass: d,
|
|
9100
|
-
containerStyle:
|
|
9101
|
-
label:
|
|
9102
|
-
error:
|
|
9134
|
+
containerStyle: x,
|
|
9135
|
+
label: m,
|
|
9136
|
+
error: p,
|
|
9103
9137
|
value: T,
|
|
9104
|
-
options:
|
|
9138
|
+
options: $ = [],
|
|
9105
9139
|
placeholder: M,
|
|
9106
|
-
onChange:
|
|
9107
|
-
onAdd:
|
|
9108
|
-
disabled:
|
|
9109
|
-
multiple:
|
|
9110
|
-
name:
|
|
9111
|
-
controlled:
|
|
9112
|
-
rules:
|
|
9113
|
-
} = t, [
|
|
9114
|
-
() => T ?? (
|
|
9115
|
-
),
|
|
9116
|
-
|
|
9117
|
-
if (
|
|
9118
|
-
const
|
|
9119
|
-
|
|
9140
|
+
onChange: F,
|
|
9141
|
+
onAdd: N,
|
|
9142
|
+
disabled: D,
|
|
9143
|
+
multiple: I,
|
|
9144
|
+
name: A,
|
|
9145
|
+
controlled: v = !1,
|
|
9146
|
+
rules: z
|
|
9147
|
+
} = t, [P, X] = G(
|
|
9148
|
+
() => T ?? (I ? [] : "")
|
|
9149
|
+
), S = v ? T ?? (I ? [] : "") : P;
|
|
9150
|
+
Z(() => {
|
|
9151
|
+
if (!I) {
|
|
9152
|
+
const w = $.find((O) => O.value === S);
|
|
9153
|
+
w && !r && s !== w.label && f(w.label);
|
|
9120
9154
|
}
|
|
9121
|
-
}, [
|
|
9122
|
-
const
|
|
9123
|
-
(
|
|
9155
|
+
}, [S, $, r, I]);
|
|
9156
|
+
const C = $.filter(
|
|
9157
|
+
(w) => w.label.toLowerCase().includes(s.toLowerCase())
|
|
9124
9158
|
);
|
|
9125
|
-
|
|
9159
|
+
Z(() => {
|
|
9126
9160
|
u(0);
|
|
9127
|
-
}, [s, r]),
|
|
9128
|
-
const
|
|
9129
|
-
if (b.current && !b.current.contains(
|
|
9130
|
-
if (n(!1),
|
|
9161
|
+
}, [s, r]), Z(() => {
|
|
9162
|
+
const w = (O) => {
|
|
9163
|
+
if (b.current && !b.current.contains(O.target))
|
|
9164
|
+
if (n(!1), I)
|
|
9131
9165
|
f("");
|
|
9132
9166
|
else {
|
|
9133
|
-
const
|
|
9134
|
-
f(
|
|
9167
|
+
const q = $.find((Y) => Y.value === S);
|
|
9168
|
+
f(q ? q.label : "");
|
|
9135
9169
|
}
|
|
9136
9170
|
};
|
|
9137
|
-
return document.addEventListener("mousedown",
|
|
9138
|
-
}, [
|
|
9139
|
-
const
|
|
9140
|
-
if (!
|
|
9141
|
-
|
|
9142
|
-
const
|
|
9143
|
-
|
|
9144
|
-
|
|
9171
|
+
return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
|
|
9172
|
+
}, [S, $, I]), Z(() => {
|
|
9173
|
+
const w = h.current;
|
|
9174
|
+
if (!w) return;
|
|
9175
|
+
z && (w.__fiboRules = z);
|
|
9176
|
+
const O = w.closest(".fibo-textfield-container"), q = O == null ? void 0 : O.querySelector(".fibo-field-error");
|
|
9177
|
+
O && (O.__fiboShowError = (Y) => {
|
|
9178
|
+
q && (q.textContent = Y ?? "", q.style.display = Y ? "" : "none");
|
|
9145
9179
|
});
|
|
9146
|
-
}, [
|
|
9147
|
-
const
|
|
9148
|
-
|
|
9149
|
-
},
|
|
9150
|
-
if (
|
|
9151
|
-
const
|
|
9152
|
-
|
|
9180
|
+
}, [z]);
|
|
9181
|
+
const V = (w) => {
|
|
9182
|
+
v || X(w), F == null || F(w);
|
|
9183
|
+
}, y = (w) => {
|
|
9184
|
+
if (I) {
|
|
9185
|
+
const O = Array.isArray(S) ? [...S] : [];
|
|
9186
|
+
O.includes(w.value) || (O.push(w.value), V(O)), f("");
|
|
9153
9187
|
} else
|
|
9154
|
-
f(
|
|
9155
|
-
},
|
|
9156
|
-
if (
|
|
9157
|
-
const
|
|
9158
|
-
|
|
9188
|
+
f(w.label), V(w.value), n(!1);
|
|
9189
|
+
}, R = (w) => {
|
|
9190
|
+
if (I && Array.isArray(S)) {
|
|
9191
|
+
const O = S.filter((q) => q !== w);
|
|
9192
|
+
V(O);
|
|
9159
9193
|
}
|
|
9160
|
-
},
|
|
9161
|
-
|
|
9162
|
-
},
|
|
9163
|
-
if (!
|
|
9164
|
-
switch (
|
|
9194
|
+
}, H = () => {
|
|
9195
|
+
N == null || N(s), I ? f("") : n(!1);
|
|
9196
|
+
}, g = (w) => I ? Array.isArray(S) && S.includes(w) : S === w, K = (w) => {
|
|
9197
|
+
if (!D)
|
|
9198
|
+
switch (w.key) {
|
|
9165
9199
|
case "ArrowDown":
|
|
9166
|
-
|
|
9200
|
+
w.preventDefault(), r ? C.length && u((O) => (O + 1) % C.length) : n(!0);
|
|
9167
9201
|
break;
|
|
9168
9202
|
case "ArrowUp":
|
|
9169
|
-
|
|
9203
|
+
w.preventDefault(), r ? C.length && u((O) => (O - 1 + C.length) % C.length) : n(!0);
|
|
9170
9204
|
break;
|
|
9171
9205
|
case "Enter":
|
|
9172
|
-
|
|
9206
|
+
w.preventDefault(), C[a] ? y(C[a]) : s && N && H();
|
|
9173
9207
|
break;
|
|
9174
9208
|
case "Escape":
|
|
9175
|
-
|
|
9209
|
+
w.preventDefault(), n(!1);
|
|
9176
9210
|
break;
|
|
9177
9211
|
}
|
|
9178
9212
|
};
|
|
@@ -9181,34 +9215,34 @@ const bn = l.memo((t) => {
|
|
|
9181
9215
|
{
|
|
9182
9216
|
ref: b,
|
|
9183
9217
|
className: d,
|
|
9184
|
-
style:
|
|
9218
|
+
style: x
|
|
9185
9219
|
},
|
|
9186
9220
|
l.createElement("div", { className: "relative w-full h-full" }, [
|
|
9187
|
-
|
|
9221
|
+
A ? l.createElement("input", {
|
|
9188
9222
|
key: "hidden",
|
|
9189
9223
|
ref: h,
|
|
9190
9224
|
type: "hidden",
|
|
9191
|
-
name:
|
|
9192
|
-
value: un(
|
|
9225
|
+
name: A,
|
|
9226
|
+
value: un(S)
|
|
9193
9227
|
}) : null,
|
|
9194
9228
|
l.createElement("div", {
|
|
9195
9229
|
key: "field",
|
|
9196
9230
|
className: `fibo-textfield-input flex flex-wrap items-center gap-1 ${r ? "ring-2 ring-[var(--fibo-primary-container)] border-[var(--fibo-primary)]" : ""}`,
|
|
9197
9231
|
style: { minHeight: "42px", padding: "4px 8px" }
|
|
9198
9232
|
}, [
|
|
9199
|
-
|
|
9200
|
-
const
|
|
9233
|
+
I && Array.isArray(S) && S.map((w) => {
|
|
9234
|
+
const O = $.find((Y) => Y.value === w), q = O ? O.label : w;
|
|
9201
9235
|
return l.createElement("span", {
|
|
9202
|
-
key:
|
|
9236
|
+
key: w,
|
|
9203
9237
|
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"
|
|
9204
9238
|
}, [
|
|
9205
|
-
|
|
9239
|
+
q,
|
|
9206
9240
|
l.createElement("button", {
|
|
9207
9241
|
type: "button",
|
|
9208
9242
|
className: "ml-1 hover:text-[var(--fibo-primary)] focus:outline-none",
|
|
9209
|
-
"aria-label": `Remove ${
|
|
9243
|
+
"aria-label": `Remove ${q}`,
|
|
9210
9244
|
onClick: (Y) => {
|
|
9211
|
-
Y.stopPropagation(),
|
|
9245
|
+
Y.stopPropagation(), R(w);
|
|
9212
9246
|
}
|
|
9213
9247
|
}, "×")
|
|
9214
9248
|
]);
|
|
@@ -9220,52 +9254,52 @@ const bn = l.memo((t) => {
|
|
|
9220
9254
|
"aria-expanded": r,
|
|
9221
9255
|
"aria-controls": i,
|
|
9222
9256
|
"aria-autocomplete": "list",
|
|
9223
|
-
"aria-activedescendant": r &&
|
|
9257
|
+
"aria-activedescendant": r && C[a] ? `${i}-opt-${C[a].value}` : void 0,
|
|
9224
9258
|
className: "bg-transparent outline-none flex-1 min-w-[60px] text-sm h-8",
|
|
9225
9259
|
value: s,
|
|
9226
|
-
placeholder:
|
|
9227
|
-
disabled:
|
|
9228
|
-
onChange: (
|
|
9229
|
-
f(
|
|
9260
|
+
placeholder: I && Array.isArray(S) && S.length > 0 ? "" : M || " ",
|
|
9261
|
+
disabled: D,
|
|
9262
|
+
onChange: (w) => {
|
|
9263
|
+
f(w.target.value), r || n(!0);
|
|
9230
9264
|
},
|
|
9231
9265
|
onFocus: () => n(!0),
|
|
9232
|
-
onKeyDown:
|
|
9266
|
+
onKeyDown: K
|
|
9233
9267
|
})
|
|
9234
9268
|
]),
|
|
9235
|
-
|
|
9269
|
+
m && l.createElement(
|
|
9236
9270
|
"label",
|
|
9237
9271
|
{
|
|
9238
9272
|
key: "label",
|
|
9239
9273
|
htmlFor: e,
|
|
9240
9274
|
className: "fibo-textfield-label"
|
|
9241
9275
|
},
|
|
9242
|
-
|
|
9276
|
+
m
|
|
9243
9277
|
),
|
|
9244
9278
|
r && l.createElement("div", {
|
|
9245
9279
|
key: "dropdown",
|
|
9246
9280
|
id: i,
|
|
9247
9281
|
role: "listbox",
|
|
9248
|
-
"aria-multiselectable":
|
|
9282
|
+
"aria-multiselectable": I || void 0,
|
|
9249
9283
|
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"
|
|
9250
9284
|
}, [
|
|
9251
|
-
...
|
|
9252
|
-
const
|
|
9285
|
+
...C.length > 0 ? C.map((w, O) => {
|
|
9286
|
+
const q = g(w.value), Y = O === a;
|
|
9253
9287
|
return l.createElement("div", {
|
|
9254
|
-
key:
|
|
9255
|
-
id: `${i}-opt-${
|
|
9288
|
+
key: w.value,
|
|
9289
|
+
id: `${i}-opt-${w.value}`,
|
|
9256
9290
|
role: "option",
|
|
9257
|
-
"aria-selected":
|
|
9258
|
-
className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] ${
|
|
9259
|
-
onClick: () => !
|
|
9260
|
-
onMouseEnter: () => u(
|
|
9261
|
-
},
|
|
9291
|
+
"aria-selected": q,
|
|
9292
|
+
className: `px-4 py-2 cursor-pointer text-sm hover:bg-[var(--fibo-primary-container)] hover:text-[var(--fibo-on-primary-container)] ${q || Y ? "bg-[var(--fibo-primary-container)] text-[var(--fibo-on-primary-container)] font-medium" : "text-[var(--fibo-on-surface)]"} ${q ? "opacity-50" : ""}`,
|
|
9293
|
+
onClick: () => !q && y(w),
|
|
9294
|
+
onMouseEnter: () => u(O)
|
|
9295
|
+
}, w.label);
|
|
9262
9296
|
}) : [l.createElement("div", { key: "empty", className: "px-4 py-2 text-sm text-gray-500" }, "No results found.")],
|
|
9263
|
-
s && !
|
|
9297
|
+
s && !C.some((w) => w.label.toLowerCase() === s.toLowerCase()) && N ? l.createElement("div", {
|
|
9264
9298
|
key: "add-new",
|
|
9265
9299
|
role: "option",
|
|
9266
9300
|
"aria-selected": !1,
|
|
9267
9301
|
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",
|
|
9268
|
-
onClick:
|
|
9302
|
+
onClick: H
|
|
9269
9303
|
}, [
|
|
9270
9304
|
l.createElement("span", { key: "plus", className: "mr-1" }, "+"),
|
|
9271
9305
|
`Add "${s}"`
|
|
@@ -9276,10 +9310,10 @@ const bn = l.memo((t) => {
|
|
|
9276
9310
|
"span",
|
|
9277
9311
|
{
|
|
9278
9312
|
className: "fibo-field-error text-[var(--fibo-error)] text-xs mt-1 ml-1",
|
|
9279
|
-
style: { display:
|
|
9313
|
+
style: { display: p ? "" : "none" },
|
|
9280
9314
|
role: "alert"
|
|
9281
9315
|
},
|
|
9282
|
-
|
|
9316
|
+
p || ""
|
|
9283
9317
|
)
|
|
9284
9318
|
);
|
|
9285
9319
|
});
|
|
@@ -9343,7 +9377,7 @@ class hn extends ao {
|
|
|
9343
9377
|
}
|
|
9344
9378
|
build() {
|
|
9345
9379
|
const i = {
|
|
9346
|
-
containerClass:
|
|
9380
|
+
containerClass: Fo("fibo-textfield-container relative", ...this._classNames),
|
|
9347
9381
|
containerStyle: this.getStyle(),
|
|
9348
9382
|
label: this._label,
|
|
9349
9383
|
error: this._error,
|
|
@@ -9371,7 +9405,7 @@ class dn extends ot {
|
|
|
9371
9405
|
return this.setProp("color", o), this;
|
|
9372
9406
|
}
|
|
9373
9407
|
opacity(o) {
|
|
9374
|
-
return this.setProp("opacity",
|
|
9408
|
+
return this.setProp("opacity", Q("opacity", o)), this;
|
|
9375
9409
|
}
|
|
9376
9410
|
borderColor(o) {
|
|
9377
9411
|
return this.setProp("borderColor", o), this;
|
|
@@ -9391,14 +9425,14 @@ class dn extends ot {
|
|
|
9391
9425
|
return this.setProp("transform", `translateY(${e})`), this;
|
|
9392
9426
|
}
|
|
9393
9427
|
shadow(o) {
|
|
9394
|
-
return this.setProp("boxShadow",
|
|
9428
|
+
return this.setProp("boxShadow", Q("boxShadow", o)), this;
|
|
9395
9429
|
}
|
|
9396
9430
|
boxShadow(o) {
|
|
9397
9431
|
return this.shadow(o);
|
|
9398
9432
|
}
|
|
9399
9433
|
css(o, e) {
|
|
9400
9434
|
const i = o.includes("-") ? o.replace(/-([a-z])/g, (r, n) => n.toUpperCase()) : o;
|
|
9401
|
-
return this.setProp(i,
|
|
9435
|
+
return this.setProp(i, Q(i, e)), this;
|
|
9402
9436
|
}
|
|
9403
9437
|
}
|
|
9404
9438
|
function Jo() {
|
|
@@ -9407,14 +9441,14 @@ function Jo() {
|
|
|
9407
9441
|
}
|
|
9408
9442
|
class pn extends ot {
|
|
9409
9443
|
padding(o) {
|
|
9410
|
-
return this.setProp("padding",
|
|
9444
|
+
return this.setProp("padding", Q("padding", o)), this;
|
|
9411
9445
|
}
|
|
9412
9446
|
paddingX(o) {
|
|
9413
|
-
const e =
|
|
9447
|
+
const e = Q("paddingLeft", o);
|
|
9414
9448
|
return this.setProp("paddingLeft", e), this.setProp("paddingRight", e), this;
|
|
9415
9449
|
}
|
|
9416
9450
|
paddingY(o) {
|
|
9417
|
-
const e =
|
|
9451
|
+
const e = Q("paddingTop", o);
|
|
9418
9452
|
return this.setProp("paddingTop", e), this.setProp("paddingBottom", e), this;
|
|
9419
9453
|
}
|
|
9420
9454
|
/** SwiftUI-ish: `listRowInsets` */
|
|
@@ -9432,31 +9466,31 @@ class pn extends ot {
|
|
|
9432
9466
|
return this.setProp("color", o), this;
|
|
9433
9467
|
}
|
|
9434
9468
|
rounded(o = 8) {
|
|
9435
|
-
return this.setProp("borderRadius",
|
|
9469
|
+
return this.setProp("borderRadius", Q("borderRadius", o)), this;
|
|
9436
9470
|
}
|
|
9437
9471
|
border(o) {
|
|
9438
|
-
return this.setProp("border",
|
|
9472
|
+
return this.setProp("border", Q("border", o)), this;
|
|
9439
9473
|
}
|
|
9440
9474
|
borderBottom(o) {
|
|
9441
9475
|
return this.setProp("borderBottom", o), this;
|
|
9442
9476
|
}
|
|
9443
9477
|
/** Alias of `.boxShadow(...)` — full CSS `box-shadow` string or `0` → `none`. */
|
|
9444
9478
|
shadow(o) {
|
|
9445
|
-
return this.setProp("boxShadow",
|
|
9479
|
+
return this.setProp("boxShadow", Q("boxShadow", o)), this;
|
|
9446
9480
|
}
|
|
9447
9481
|
boxShadow(o) {
|
|
9448
9482
|
return this.shadow(o);
|
|
9449
9483
|
}
|
|
9450
9484
|
opacity(o) {
|
|
9451
|
-
return this.setProp("opacity",
|
|
9485
|
+
return this.setProp("opacity", Q("opacity", o)), this;
|
|
9452
9486
|
}
|
|
9453
9487
|
/** Space after each row. */
|
|
9454
9488
|
spacing(o) {
|
|
9455
|
-
return this.setProp("marginBottom",
|
|
9489
|
+
return this.setProp("marginBottom", Q("marginBottom", o)), this;
|
|
9456
9490
|
}
|
|
9457
9491
|
css(o, e) {
|
|
9458
9492
|
const i = o.includes("-") ? o.replace(/-([a-z])/g, (r, n) => n.toUpperCase()) : o;
|
|
9459
|
-
return this.setProp(i,
|
|
9493
|
+
return this.setProp(i, Q(i, e)), this;
|
|
9460
9494
|
}
|
|
9461
9495
|
style(o) {
|
|
9462
9496
|
return this.mergeStyle(o), this;
|
|
@@ -9479,7 +9513,7 @@ function Ee(t, o) {
|
|
|
9479
9513
|
function Te(t, o, e) {
|
|
9480
9514
|
return lo(e ? e(t, o) : t);
|
|
9481
9515
|
}
|
|
9482
|
-
const gn = 100,
|
|
9516
|
+
const gn = 100, Ie = 60, $e = 5;
|
|
9483
9517
|
function Qo(t) {
|
|
9484
9518
|
return t.split(";").map((o) => o.trim()).filter(Boolean).map((o) => /\s!important\s*$/i.test(o) ? o : `${o} !important`).join("; ");
|
|
9485
9519
|
}
|
|
@@ -9497,79 +9531,79 @@ const vn = l.memo((t) => {
|
|
|
9497
9531
|
containerHeight: b = 500,
|
|
9498
9532
|
resetItemStyles: h = !1,
|
|
9499
9533
|
direction: d = "vertical",
|
|
9500
|
-
customItemHover:
|
|
9501
|
-
customItemActive:
|
|
9502
|
-
customItemFocus:
|
|
9534
|
+
customItemHover: x,
|
|
9535
|
+
customItemActive: m,
|
|
9536
|
+
customItemFocus: p,
|
|
9503
9537
|
itemStyle: T
|
|
9504
|
-
} = t, M = l.useId().replace(/:/g, ""),
|
|
9505
|
-
let
|
|
9506
|
-
for (let
|
|
9507
|
-
|
|
9508
|
-
return
|
|
9509
|
-
},
|
|
9510
|
-
let
|
|
9511
|
-
for (let
|
|
9512
|
-
|
|
9513
|
-
return
|
|
9514
|
-
},
|
|
9515
|
-
let
|
|
9516
|
-
for (;
|
|
9517
|
-
const so = Math.floor((
|
|
9518
|
-
|
|
9538
|
+
} = t, M = l.useId().replace(/:/g, ""), F = `fibo-list-${M}`, N = `fibo-list-custom-styles-${M}`, [D, I] = G(0), [A, v] = G(0), z = U(null), P = U(/* @__PURE__ */ new Map()), X = U(/* @__PURE__ */ new Map()), S = U(null), C = d === "horizontal", V = o.length, y = V > gn, R = (L) => X.current.get(L) ?? Ie, H = (L) => {
|
|
9539
|
+
let j = 0;
|
|
9540
|
+
for (let eo = 0; eo < L; eo++)
|
|
9541
|
+
j += R(eo);
|
|
9542
|
+
return j;
|
|
9543
|
+
}, g = () => {
|
|
9544
|
+
let L = 0;
|
|
9545
|
+
for (let j = 0; j < V; j++)
|
|
9546
|
+
L += R(j);
|
|
9547
|
+
return L;
|
|
9548
|
+
}, K = (L) => {
|
|
9549
|
+
let j = 0, eo = V - 1;
|
|
9550
|
+
for (; j < eo; ) {
|
|
9551
|
+
const so = Math.floor((j + eo) / 2);
|
|
9552
|
+
H(so) < L ? j = so + 1 : eo = so;
|
|
9519
9553
|
}
|
|
9520
|
-
return Math.max(0,
|
|
9554
|
+
return Math.max(0, j - 1);
|
|
9521
9555
|
};
|
|
9522
|
-
let
|
|
9523
|
-
if (
|
|
9524
|
-
|
|
9525
|
-
let
|
|
9526
|
-
for (;
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
}
|
|
9530
|
-
const
|
|
9556
|
+
let w = 0, O = V, q = 0, Y = 0;
|
|
9557
|
+
if (y) {
|
|
9558
|
+
w = Math.max(0, K(D) - $e);
|
|
9559
|
+
let L = H(w), j = w;
|
|
9560
|
+
for (; L < D + b + $e * Ie && j < V; )
|
|
9561
|
+
L += R(j), j++;
|
|
9562
|
+
O = Math.min(V, j), q = H(w), Y = g();
|
|
9563
|
+
}
|
|
9564
|
+
const to = o.slice(w, O);
|
|
9531
9565
|
oe(() => {
|
|
9532
|
-
if (!
|
|
9533
|
-
let
|
|
9534
|
-
|
|
9535
|
-
const so =
|
|
9566
|
+
if (!y) return;
|
|
9567
|
+
let L = !1;
|
|
9568
|
+
to.forEach((j, eo) => {
|
|
9569
|
+
const so = w + eo, Co = P.current.get(so);
|
|
9536
9570
|
if (Co) {
|
|
9537
|
-
const ce = Co.getBoundingClientRect(), Uo =
|
|
9538
|
-
Uo > 0 &&
|
|
9571
|
+
const ce = Co.getBoundingClientRect(), Uo = C ? ce.width : ce.height;
|
|
9572
|
+
Uo > 0 && X.current.get(so) !== Uo && (X.current.set(so, Uo), L = !0);
|
|
9539
9573
|
}
|
|
9540
|
-
}),
|
|
9541
|
-
}, [
|
|
9574
|
+
}), L && v((j) => j + 1);
|
|
9575
|
+
}, [to, w, y, C, A]), oe(() => {
|
|
9542
9576
|
if (!f || n) return;
|
|
9543
|
-
const
|
|
9544
|
-
(
|
|
9545
|
-
|
|
9577
|
+
const L = new IntersectionObserver(
|
|
9578
|
+
(j) => {
|
|
9579
|
+
j[0].isIntersecting && (f == null || f());
|
|
9546
9580
|
},
|
|
9547
9581
|
{ threshold: s }
|
|
9548
9582
|
);
|
|
9549
|
-
return
|
|
9583
|
+
return S.current && L.observe(S.current), () => L.disconnect();
|
|
9550
9584
|
}, [n, o.length, f, s]);
|
|
9551
|
-
const ko = (
|
|
9552
|
-
|
|
9585
|
+
const ko = (L) => {
|
|
9586
|
+
y && I(C ? L.currentTarget.scrollLeft : L.currentTarget.scrollTop);
|
|
9553
9587
|
};
|
|
9554
|
-
|
|
9555
|
-
if (typeof document > "u" || !
|
|
9556
|
-
let
|
|
9557
|
-
|
|
9558
|
-
let
|
|
9559
|
-
const
|
|
9560
|
-
return
|
|
9561
|
-
`),
|
|
9562
|
-
`),
|
|
9563
|
-
`),
|
|
9564
|
-
const so = document.getElementById(
|
|
9588
|
+
Z(() => {
|
|
9589
|
+
if (typeof document > "u" || !x && !m && !p) return;
|
|
9590
|
+
let L = document.getElementById(N);
|
|
9591
|
+
L || (L = document.createElement("style"), L.id = N, document.head.appendChild(L));
|
|
9592
|
+
let j = "";
|
|
9593
|
+
const eo = `.${F}`;
|
|
9594
|
+
return x && (j += `${eo} .fibo-list-item-custom-hover:hover { ${Qo(x)} }
|
|
9595
|
+
`), m && (j += `${eo} .fibo-list-item-custom-active:active { ${Qo(m)} }
|
|
9596
|
+
`), p && (j += `${eo} .fibo-list-item-custom-focus:focus-within { ${Qo(p)} }
|
|
9597
|
+
`), L.textContent = j, () => {
|
|
9598
|
+
const so = document.getElementById(N);
|
|
9565
9599
|
so && so.remove();
|
|
9566
9600
|
};
|
|
9567
|
-
}, [
|
|
9601
|
+
}, [x, m, p, F, N]);
|
|
9568
9602
|
const Ao = {
|
|
9569
9603
|
default: { gap: "0px" },
|
|
9570
9604
|
card: { gap: "12px" },
|
|
9571
9605
|
floating: { gap: "8px" }
|
|
9572
|
-
},
|
|
9606
|
+
}, J = T || {}, _o = h ? { default: {}, card: {}, floating: {} } : {
|
|
9573
9607
|
default: {
|
|
9574
9608
|
padding: "12px 16px",
|
|
9575
9609
|
borderBottom: r ? "1px solid #F3F4F6" : "none",
|
|
@@ -9591,11 +9625,11 @@ const vn = l.memo((t) => {
|
|
|
9591
9625
|
transition: "background-color 0.2s ease-out, box-shadow 0.2s ease-out"
|
|
9592
9626
|
}
|
|
9593
9627
|
}, go = {
|
|
9594
|
-
default: { ..._o.default, ...
|
|
9595
|
-
card: { ..._o.card, ...
|
|
9596
|
-
floating: { ..._o.floating, ...
|
|
9628
|
+
default: { ..._o.default, ...J },
|
|
9629
|
+
card: { ..._o.card, ...J },
|
|
9630
|
+
floating: { ..._o.floating, ...J }
|
|
9597
9631
|
}, io = [];
|
|
9598
|
-
|
|
9632
|
+
x && io.push("fibo-list-item-custom-hover"), m && io.push("fibo-list-item-custom-active"), p && io.push("fibo-list-item-custom-focus");
|
|
9599
9633
|
const So = h ? {
|
|
9600
9634
|
default: [...io],
|
|
9601
9635
|
card: [...io],
|
|
@@ -9605,19 +9639,19 @@ const vn = l.memo((t) => {
|
|
|
9605
9639
|
card: ["hover:-translate-y-0.5", "hover:shadow-md", ...io],
|
|
9606
9640
|
floating: ["hover:bg-white", "hover:shadow-sm", ...io]
|
|
9607
9641
|
};
|
|
9608
|
-
return
|
|
9642
|
+
return y ? l.createElement(
|
|
9609
9643
|
"div",
|
|
9610
9644
|
{
|
|
9611
|
-
ref:
|
|
9612
|
-
className: `fibo-list fibo-list-virtualized ${
|
|
9645
|
+
ref: z,
|
|
9646
|
+
className: `fibo-list fibo-list-virtualized ${F} ${a || ""}`,
|
|
9613
9647
|
style: {
|
|
9614
|
-
height:
|
|
9615
|
-
width:
|
|
9616
|
-
overflowY:
|
|
9617
|
-
overflowX:
|
|
9648
|
+
height: C ? void 0 : `${b}px`,
|
|
9649
|
+
width: C ? `${b}px` : void 0,
|
|
9650
|
+
overflowY: C ? "hidden" : "auto",
|
|
9651
|
+
overflowX: C ? "auto" : "hidden",
|
|
9618
9652
|
position: "relative",
|
|
9619
9653
|
display: "flex",
|
|
9620
|
-
flexDirection:
|
|
9654
|
+
flexDirection: C ? "row" : "column",
|
|
9621
9655
|
...Ao[i],
|
|
9622
9656
|
...u
|
|
9623
9657
|
},
|
|
@@ -9625,8 +9659,8 @@ const vn = l.memo((t) => {
|
|
|
9625
9659
|
},
|
|
9626
9660
|
l.createElement("div", {
|
|
9627
9661
|
style: {
|
|
9628
|
-
height:
|
|
9629
|
-
width:
|
|
9662
|
+
height: C ? "1px" : `${Y}px`,
|
|
9663
|
+
width: C ? `${Y}px` : "1px",
|
|
9630
9664
|
position: "absolute",
|
|
9631
9665
|
top: 0,
|
|
9632
9666
|
left: 0,
|
|
@@ -9638,43 +9672,43 @@ const vn = l.memo((t) => {
|
|
|
9638
9672
|
"div",
|
|
9639
9673
|
{
|
|
9640
9674
|
style: {
|
|
9641
|
-
transform:
|
|
9642
|
-
width:
|
|
9643
|
-
height:
|
|
9644
|
-
display:
|
|
9645
|
-
flexDirection:
|
|
9675
|
+
transform: C ? `translateX(${q}px)` : `translateY(${q}px)`,
|
|
9676
|
+
width: C ? "auto" : "100%",
|
|
9677
|
+
height: C ? "100%" : void 0,
|
|
9678
|
+
display: C ? "flex" : void 0,
|
|
9679
|
+
flexDirection: C ? "row" : void 0
|
|
9646
9680
|
}
|
|
9647
9681
|
},
|
|
9648
|
-
|
|
9649
|
-
const
|
|
9682
|
+
to.map((L, j) => {
|
|
9683
|
+
const eo = w + j, so = Te(L, eo, e);
|
|
9650
9684
|
return l.cloneElement(
|
|
9651
|
-
|
|
9685
|
+
Io().style(go[i]).classNames(So[i]).children(so).build(),
|
|
9652
9686
|
{
|
|
9653
|
-
key: Ee(
|
|
9687
|
+
key: Ee(L, eo),
|
|
9654
9688
|
ref: (Co) => {
|
|
9655
|
-
Co ?
|
|
9689
|
+
Co ? P.current.set(eo, Co) : P.current.delete(eo);
|
|
9656
9690
|
}
|
|
9657
9691
|
}
|
|
9658
9692
|
);
|
|
9659
9693
|
})
|
|
9660
9694
|
),
|
|
9661
9695
|
f && l.createElement("div", {
|
|
9662
|
-
ref:
|
|
9696
|
+
ref: S,
|
|
9663
9697
|
className: "py-4 flex justify-center w-full"
|
|
9664
9698
|
}, 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" } }))
|
|
9665
|
-
) :
|
|
9699
|
+
) : Io().className(a).classNames(["fibo-list", F, "flex", d === "horizontal" ? "flex-row" : "flex-col", "w-full"]).style({
|
|
9666
9700
|
...Ao[i],
|
|
9667
9701
|
...u
|
|
9668
9702
|
}).children(
|
|
9669
9703
|
l.createElement(l.Fragment, {}, [
|
|
9670
9704
|
...o.map(
|
|
9671
|
-
(
|
|
9672
|
-
|
|
9673
|
-
{ key: Ee(
|
|
9705
|
+
(L, j) => l.cloneElement(
|
|
9706
|
+
Io().style(go[i]).classNames(So[i]).children(Te(L, j, e)).build(),
|
|
9707
|
+
{ key: Ee(L, j) }
|
|
9674
9708
|
)
|
|
9675
9709
|
),
|
|
9676
9710
|
f && l.createElement("div", {
|
|
9677
|
-
ref:
|
|
9711
|
+
ref: S,
|
|
9678
9712
|
className: "py-4 flex justify-center w-full"
|
|
9679
9713
|
}, 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" } }))
|
|
9680
9714
|
])
|
|
@@ -9857,14 +9891,14 @@ const zs = co(wn), yn = () => l.createElement(
|
|
|
9857
9891
|
className: u,
|
|
9858
9892
|
style: b,
|
|
9859
9893
|
...h
|
|
9860
|
-
} = t, d = b || {},
|
|
9894
|
+
} = t, d = b || {}, x = d.padding ?? "14px 0", m = typeof e == "string" ? l.createElement(
|
|
9861
9895
|
"span",
|
|
9862
9896
|
{
|
|
9863
9897
|
className: "fibo-list-tile-title",
|
|
9864
9898
|
style: { fontSize: 11, letterSpacing: "0.06em", lineHeight: 1.3, margin: 0 }
|
|
9865
9899
|
},
|
|
9866
9900
|
e
|
|
9867
|
-
) : e,
|
|
9901
|
+
) : e, p = typeof i == "string" ? l.createElement(
|
|
9868
9902
|
"span",
|
|
9869
9903
|
{
|
|
9870
9904
|
className: "fibo-list-tile-subtitle",
|
|
@@ -9881,9 +9915,9 @@ const zs = co(wn), yn = () => l.createElement(
|
|
|
9881
9915
|
return l.createElement(
|
|
9882
9916
|
"div",
|
|
9883
9917
|
{
|
|
9884
|
-
className:
|
|
9918
|
+
className: Fo("fibo-list-tile flex flex-row items-center w-full", u),
|
|
9885
9919
|
style: {
|
|
9886
|
-
padding:
|
|
9920
|
+
padding: x,
|
|
9887
9921
|
borderBottom: s ? `1px solid ${f || "#3b3b3b"}` : "none",
|
|
9888
9922
|
cursor: a ? "pointer" : void 0,
|
|
9889
9923
|
...d
|
|
@@ -9907,8 +9941,8 @@ const zs = co(wn), yn = () => l.createElement(
|
|
|
9907
9941
|
key: "body",
|
|
9908
9942
|
className: "fibo-list-tile-body flex-1 min-w-0 flex flex-col justify-center"
|
|
9909
9943
|
},
|
|
9910
|
-
|
|
9911
|
-
|
|
9944
|
+
m,
|
|
9945
|
+
p
|
|
9912
9946
|
),
|
|
9913
9947
|
r ? l.createElement(
|
|
9914
9948
|
"div",
|
|
@@ -10018,7 +10052,7 @@ const Cn = l.memo(({ builder: t }) => {
|
|
|
10018
10052
|
const o = l.useId(), e = `${o}-content`, i = t._expanded !== void 0, [r, n] = G(t._defaultExpanded), s = i ? t._expanded : r, f = () => {
|
|
10019
10053
|
i || n(!s), t._onToggle && t._onToggle(!s);
|
|
10020
10054
|
};
|
|
10021
|
-
return
|
|
10055
|
+
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([
|
|
10022
10056
|
l.createElement("button", {
|
|
10023
10057
|
key: "header",
|
|
10024
10058
|
type: "button",
|
|
@@ -10050,7 +10084,7 @@ const Cn = l.memo(({ builder: t }) => {
|
|
|
10050
10084
|
className: "text-gray-400"
|
|
10051
10085
|
}, l.createElement("polyline", { points: "6 9 12 15 18 9" })))
|
|
10052
10086
|
]),
|
|
10053
|
-
|
|
10087
|
+
Io().props({
|
|
10054
10088
|
id: e,
|
|
10055
10089
|
role: "region",
|
|
10056
10090
|
"aria-labelledby": o,
|
|
@@ -10059,7 +10093,7 @@ const Cn = l.memo(({ builder: t }) => {
|
|
|
10059
10093
|
maxHeight: s ? "500px" : "0px",
|
|
10060
10094
|
opacity: s ? 1 : 0
|
|
10061
10095
|
}).children(
|
|
10062
|
-
|
|
10096
|
+
Io().classNames(["p-4", "pt-0", "text-gray-600", "text-sm"]).children(t._content).build()
|
|
10063
10097
|
).build()
|
|
10064
10098
|
]).build();
|
|
10065
10099
|
}), Ts = co(Sn);
|
|
@@ -10125,8 +10159,8 @@ class En extends zt {
|
|
|
10125
10159
|
if (this.state.hasError && this.state.error) {
|
|
10126
10160
|
const { fallback: e } = this.props;
|
|
10127
10161
|
return typeof e == "function" ? e(this.state.error, this.state.errorInfo) : e || /* @__PURE__ */ Po("div", { style: { padding: "2rem", textAlign: "center" }, children: [
|
|
10128
|
-
/* @__PURE__ */
|
|
10129
|
-
/* @__PURE__ */
|
|
10162
|
+
/* @__PURE__ */ W("h1", { children: "Something went wrong" }),
|
|
10163
|
+
/* @__PURE__ */ W("p", { children: this.state.error.message })
|
|
10130
10164
|
] });
|
|
10131
10165
|
}
|
|
10132
10166
|
return this.props.children;
|
|
@@ -10138,7 +10172,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10138
10172
|
}, i = () => {
|
|
10139
10173
|
window.location.reload();
|
|
10140
10174
|
};
|
|
10141
|
-
return /* @__PURE__ */
|
|
10175
|
+
return /* @__PURE__ */ W(
|
|
10142
10176
|
"div",
|
|
10143
10177
|
{
|
|
10144
10178
|
style: {
|
|
@@ -10164,7 +10198,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10164
10198
|
textAlign: "center"
|
|
10165
10199
|
},
|
|
10166
10200
|
children: [
|
|
10167
|
-
/* @__PURE__ */
|
|
10201
|
+
/* @__PURE__ */ W(
|
|
10168
10202
|
"div",
|
|
10169
10203
|
{
|
|
10170
10204
|
style: {
|
|
@@ -10189,15 +10223,15 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10189
10223
|
strokeLinecap: "round",
|
|
10190
10224
|
strokeLinejoin: "round",
|
|
10191
10225
|
children: [
|
|
10192
|
-
/* @__PURE__ */
|
|
10193
|
-
/* @__PURE__ */
|
|
10194
|
-
/* @__PURE__ */
|
|
10226
|
+
/* @__PURE__ */ W("circle", { cx: "12", cy: "12", r: "10" }),
|
|
10227
|
+
/* @__PURE__ */ W("line", { x1: "12", y1: "8", x2: "12", y2: "12" }),
|
|
10228
|
+
/* @__PURE__ */ W("line", { x1: "12", y1: "16", x2: "12.01", y2: "16" })
|
|
10195
10229
|
]
|
|
10196
10230
|
}
|
|
10197
10231
|
)
|
|
10198
10232
|
}
|
|
10199
10233
|
),
|
|
10200
|
-
/* @__PURE__ */
|
|
10234
|
+
/* @__PURE__ */ W(
|
|
10201
10235
|
"h1",
|
|
10202
10236
|
{
|
|
10203
10237
|
style: {
|
|
@@ -10209,7 +10243,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10209
10243
|
children: "Oops! Something went wrong"
|
|
10210
10244
|
}
|
|
10211
10245
|
),
|
|
10212
|
-
t && /* @__PURE__ */
|
|
10246
|
+
t && /* @__PURE__ */ W(
|
|
10213
10247
|
"div",
|
|
10214
10248
|
{
|
|
10215
10249
|
style: {
|
|
@@ -10219,7 +10253,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10219
10253
|
borderRadius: "8px",
|
|
10220
10254
|
border: "1px solid #fecaca"
|
|
10221
10255
|
},
|
|
10222
|
-
children: /* @__PURE__ */
|
|
10256
|
+
children: /* @__PURE__ */ W(
|
|
10223
10257
|
"p",
|
|
10224
10258
|
{
|
|
10225
10259
|
style: {
|
|
@@ -10234,7 +10268,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10234
10268
|
)
|
|
10235
10269
|
}
|
|
10236
10270
|
),
|
|
10237
|
-
/* @__PURE__ */
|
|
10271
|
+
/* @__PURE__ */ W(
|
|
10238
10272
|
"p",
|
|
10239
10273
|
{
|
|
10240
10274
|
style: {
|
|
@@ -10256,7 +10290,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10256
10290
|
flexWrap: "wrap"
|
|
10257
10291
|
},
|
|
10258
10292
|
children: [
|
|
10259
|
-
o && /* @__PURE__ */
|
|
10293
|
+
o && /* @__PURE__ */ W(
|
|
10260
10294
|
"button",
|
|
10261
10295
|
{
|
|
10262
10296
|
onClick: o,
|
|
@@ -10280,7 +10314,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10280
10314
|
children: "Try Again"
|
|
10281
10315
|
}
|
|
10282
10316
|
),
|
|
10283
|
-
/* @__PURE__ */
|
|
10317
|
+
/* @__PURE__ */ W(
|
|
10284
10318
|
"button",
|
|
10285
10319
|
{
|
|
10286
10320
|
onClick: i,
|
|
@@ -10304,7 +10338,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10304
10338
|
children: "Reload Page"
|
|
10305
10339
|
}
|
|
10306
10340
|
),
|
|
10307
|
-
/* @__PURE__ */
|
|
10341
|
+
/* @__PURE__ */ W(
|
|
10308
10342
|
"button",
|
|
10309
10343
|
{
|
|
10310
10344
|
onClick: e,
|
|
@@ -10339,7 +10373,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10339
10373
|
textAlign: "left"
|
|
10340
10374
|
},
|
|
10341
10375
|
children: [
|
|
10342
|
-
/* @__PURE__ */
|
|
10376
|
+
/* @__PURE__ */ W(
|
|
10343
10377
|
"summary",
|
|
10344
10378
|
{
|
|
10345
10379
|
style: {
|
|
@@ -10351,7 +10385,7 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10351
10385
|
children: "Stack Trace"
|
|
10352
10386
|
}
|
|
10353
10387
|
),
|
|
10354
|
-
/* @__PURE__ */
|
|
10388
|
+
/* @__PURE__ */ W(
|
|
10355
10389
|
"pre",
|
|
10356
10390
|
{
|
|
10357
10391
|
style: {
|
|
@@ -10376,16 +10410,16 @@ const Tn = ({ error: t, onReset: o }) => {
|
|
|
10376
10410
|
}
|
|
10377
10411
|
);
|
|
10378
10412
|
};
|
|
10379
|
-
function
|
|
10413
|
+
function Fe(t, o) {
|
|
10380
10414
|
return o && t.startsWith(o) ? t.slice(o.length) || "/" : t || "/";
|
|
10381
10415
|
}
|
|
10382
|
-
function
|
|
10416
|
+
function In(t) {
|
|
10383
10417
|
return t ? t.startsWith("?") ? t.slice(1) : t : "";
|
|
10384
10418
|
}
|
|
10385
|
-
function
|
|
10419
|
+
function $n(t) {
|
|
10386
10420
|
return t ? t.startsWith("#") ? t : `#${t}` : "";
|
|
10387
10421
|
}
|
|
10388
|
-
const
|
|
10422
|
+
const Fn = yo(null), Is = ({
|
|
10389
10423
|
routes: t,
|
|
10390
10424
|
fallback: o,
|
|
10391
10425
|
loading: e,
|
|
@@ -10396,69 +10430,69 @@ const In = yo(null), $s = ({
|
|
|
10396
10430
|
errorBoundary: f,
|
|
10397
10431
|
onError: a
|
|
10398
10432
|
}) => {
|
|
10399
|
-
const [u, b] = G(() =>
|
|
10400
|
-
|
|
10401
|
-
const M = ro(async (
|
|
10402
|
-
const
|
|
10403
|
-
if (
|
|
10404
|
-
const
|
|
10405
|
-
if (
|
|
10433
|
+
const [u, b] = G(() => Fe(r, i)), [h, d] = G(() => new URLSearchParams(In(n))), [x, m] = G(() => $n(s)), { route: p, params: T } = ie(t, u), $ = l.useRef(p);
|
|
10434
|
+
$.current = p;
|
|
10435
|
+
const M = ro(async (A, v = {}) => {
|
|
10436
|
+
const z = $.current, { route: P } = ie(t, A);
|
|
10437
|
+
if (z != null && z.beforeLeave && P) {
|
|
10438
|
+
const S = await z.beforeLeave(P, z);
|
|
10439
|
+
if (S === !1)
|
|
10406
10440
|
return;
|
|
10407
|
-
if (typeof
|
|
10408
|
-
return M(
|
|
10441
|
+
if (typeof S == "string")
|
|
10442
|
+
return M(S, v);
|
|
10409
10443
|
}
|
|
10410
|
-
if (
|
|
10411
|
-
const
|
|
10412
|
-
if (
|
|
10444
|
+
if (P != null && P.beforeEnter) {
|
|
10445
|
+
const S = await P.beforeEnter(P, z);
|
|
10446
|
+
if (S === !1)
|
|
10413
10447
|
return;
|
|
10414
|
-
typeof
|
|
10448
|
+
typeof S == "string" && (A = S);
|
|
10415
10449
|
}
|
|
10416
|
-
const
|
|
10417
|
-
typeof window < "u" && (
|
|
10418
|
-
}, [i, t]),
|
|
10450
|
+
const X = i + A;
|
|
10451
|
+
typeof window < "u" && (v.replace ? window.history.replaceState(v.state || {}, "", X) : window.history.pushState(v.state || {}, "", X), d(new URLSearchParams(window.location.search))), b(A);
|
|
10452
|
+
}, [i, t]), F = ro(() => {
|
|
10419
10453
|
typeof window < "u" && window.history.back();
|
|
10420
|
-
}, []),
|
|
10421
|
-
M(
|
|
10454
|
+
}, []), N = ro((A) => {
|
|
10455
|
+
M(A, { replace: !0 });
|
|
10422
10456
|
}, [M]);
|
|
10423
|
-
|
|
10457
|
+
Z(() => {
|
|
10424
10458
|
if (typeof window > "u") return;
|
|
10425
|
-
const
|
|
10426
|
-
b(
|
|
10459
|
+
const A = () => {
|
|
10460
|
+
b(Fe(window.location.pathname, i)), d(new URLSearchParams(window.location.search)), m(window.location.hash || "");
|
|
10427
10461
|
};
|
|
10428
|
-
return
|
|
10462
|
+
return A(), window.addEventListener("popstate", A), () => window.removeEventListener("popstate", A);
|
|
10429
10463
|
}, [i]);
|
|
10430
|
-
const
|
|
10464
|
+
const D = {
|
|
10431
10465
|
currentPath: u,
|
|
10432
10466
|
basename: i,
|
|
10433
10467
|
navigate: M,
|
|
10434
|
-
goBack:
|
|
10435
|
-
replace:
|
|
10468
|
+
goBack: F,
|
|
10469
|
+
replace: N,
|
|
10436
10470
|
params: T,
|
|
10437
10471
|
query: h,
|
|
10438
|
-
hash:
|
|
10439
|
-
},
|
|
10440
|
-
if (!
|
|
10441
|
-
return o ? /* @__PURE__ */
|
|
10442
|
-
const
|
|
10443
|
-
return /* @__PURE__ */
|
|
10472
|
+
hash: x
|
|
10473
|
+
}, I = () => {
|
|
10474
|
+
if (!p)
|
|
10475
|
+
return o ? /* @__PURE__ */ W(o, {}) : /* @__PURE__ */ W("div", { children: "404 - Page Not Found" });
|
|
10476
|
+
const A = p.component, v = /* @__PURE__ */ W(Fn.Provider, { value: p, children: /* @__PURE__ */ W(A, {}) });
|
|
10477
|
+
return /* @__PURE__ */ W(
|
|
10444
10478
|
En,
|
|
10445
10479
|
{
|
|
10446
|
-
fallback: f || /* @__PURE__ */
|
|
10480
|
+
fallback: f || /* @__PURE__ */ W(Tn, {}),
|
|
10447
10481
|
onError: a,
|
|
10448
|
-
children:
|
|
10482
|
+
children: v
|
|
10449
10483
|
}
|
|
10450
10484
|
);
|
|
10451
10485
|
};
|
|
10452
|
-
return /* @__PURE__ */
|
|
10486
|
+
return /* @__PURE__ */ W(fe.Provider, { value: D, children: e ? /* @__PURE__ */ W(Et, { fallback: e, children: I() }) : I() });
|
|
10453
10487
|
};
|
|
10454
10488
|
export {
|
|
10455
10489
|
ar as $,
|
|
10456
10490
|
as as A,
|
|
10457
|
-
|
|
10458
|
-
|
|
10491
|
+
$i as B,
|
|
10492
|
+
It as C,
|
|
10459
10493
|
Ye as D,
|
|
10460
10494
|
Kt as E,
|
|
10461
|
-
|
|
10495
|
+
Xe as F,
|
|
10462
10496
|
wo as G,
|
|
10463
10497
|
xi as H,
|
|
10464
10498
|
Je as I,
|
|
@@ -10467,10 +10501,10 @@ export {
|
|
|
10467
10501
|
vi as L,
|
|
10468
10502
|
be as M,
|
|
10469
10503
|
wi as N,
|
|
10470
|
-
|
|
10471
|
-
|
|
10504
|
+
$t as O,
|
|
10505
|
+
Xt as P,
|
|
10472
10506
|
ei as Q,
|
|
10473
|
-
|
|
10507
|
+
Dn as R,
|
|
10474
10508
|
To as S,
|
|
10475
10509
|
ns as T,
|
|
10476
10510
|
ts as U,
|
|
@@ -10485,11 +10519,11 @@ export {
|
|
|
10485
10519
|
_s as a1,
|
|
10486
10520
|
Ss as a2,
|
|
10487
10521
|
Cs as a3,
|
|
10488
|
-
|
|
10522
|
+
Io as a4,
|
|
10489
10523
|
zs as a5,
|
|
10490
10524
|
Es as a6,
|
|
10491
10525
|
Ts as a7,
|
|
10492
|
-
|
|
10526
|
+
Is as a8,
|
|
10493
10527
|
Go as a9,
|
|
10494
10528
|
le as aA,
|
|
10495
10529
|
Wn as aB,
|
|
@@ -10525,13 +10559,13 @@ export {
|
|
|
10525
10559
|
lo as av,
|
|
10526
10560
|
Vt as aw,
|
|
10527
10561
|
Yt as ax,
|
|
10528
|
-
|
|
10562
|
+
Fo as ay,
|
|
10529
10563
|
Gt as az,
|
|
10530
10564
|
Ae as b,
|
|
10531
10565
|
Pn as c,
|
|
10532
10566
|
Vn as d,
|
|
10533
10567
|
jn as e,
|
|
10534
|
-
|
|
10568
|
+
Xn as f,
|
|
10535
10569
|
Le as g,
|
|
10536
10570
|
Wt as h,
|
|
10537
10571
|
Yn as i,
|
|
@@ -10548,8 +10582,8 @@ export {
|
|
|
10548
10582
|
es as t,
|
|
10549
10583
|
Hn as u,
|
|
10550
10584
|
er as v,
|
|
10551
|
-
|
|
10552
|
-
|
|
10585
|
+
Ii as w,
|
|
10586
|
+
Fi as x,
|
|
10553
10587
|
ss as y,
|
|
10554
10588
|
fs as z
|
|
10555
10589
|
};
|