fiboui 2.6.3 → 2.6.4
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-l2KUUUg4.js → Link-YjcbA4af.js} +1 -1
- package/dist/{client-BtHxgLa_.js → client-DzQ13khL.js} +84 -81
- package/dist/content.js +3 -3
- package/dist/core.js +2 -2
- package/dist/{index-D50CTdE9.js → index-B-cCNvV4.js} +1 -1
- package/dist/{index-DjwLjHe1.js → index-Bj-IMHC8.js} +1 -1
- package/dist/{index-D5Ru-8kF.js → index-CWyBsVAL.js} +1 -1
- package/dist/{index-Bhq7-OrE.js → index-CYisDyI8.js} +3 -3
- package/dist/{index-CZJqskaC.js → index-Dil2ZG0X.js} +2 -2
- package/dist/index.js +227 -226
- package/dist/interactive.js +2 -2
- package/dist/layout.js +3 -3
- package/dist/{mount-yYCj33dL.js → mount-CDwiTTXM.js} +1 -1
- package/dist/navigation.js +2 -2
- package/dist/structure.js +2 -2
- package/dist/style.css +1 -1
- package/dist/theme.js +1 -1
- package/package.json +1 -1
|
@@ -911,12 +911,12 @@ function ni(t) {
|
|
|
911
911
|
const o = t.match(/oklch\(\s*([\d.]+)\s+([\d.]+)\s+([\d.]+)\s*\)/);
|
|
912
912
|
if (!o)
|
|
913
913
|
return t;
|
|
914
|
-
const [, e, i, r] = o, n = parseFloat(e), s = parseFloat(i), f = parseFloat(r), a = s * Math.cos(f * Math.PI / 180), u = s * Math.sin(f * Math.PI / 180), b = n + 0.3963377774 * a + 0.2158037573 * u, h = n - 0.1055613458 * a - 0.0638541728 * u, d = n - 0.0894841775 * a - 1.291485548 * u, x = b * b * b, m = h * h * h, p = d * d * d, T = 4.0767416621 * x - 3.3077115913 * m + 0.2309699292 * p, F = -1.2684380046 * x + 2.6097574011 * m - 0.3413193965 * p, M = -0.0041960863 * x - 0.7034186147 * m + 1.707614701 * p, R = (g) => g >= 31308e-7 ? 1.055 * g ** (1 / 2.4) - 0.055 : 12.92 * g, B = Math.max(0, Math.min(1, R(T))),
|
|
914
|
+
const [, e, i, r] = o, n = parseFloat(e), s = parseFloat(i), f = parseFloat(r), a = s * Math.cos(f * Math.PI / 180), u = s * Math.sin(f * Math.PI / 180), b = n + 0.3963377774 * a + 0.2158037573 * u, h = n - 0.1055613458 * a - 0.0638541728 * u, d = n - 0.0894841775 * a - 1.291485548 * u, x = b * b * b, m = h * h * h, p = d * d * d, T = 4.0767416621 * x - 3.3077115913 * m + 0.2309699292 * p, F = -1.2684380046 * x + 2.6097574011 * m - 0.3413193965 * p, M = -0.0041960863 * x - 0.7034186147 * m + 1.707614701 * p, R = (g) => g >= 31308e-7 ? 1.055 * g ** (1 / 2.4) - 0.055 : 12.92 * g, B = Math.max(0, Math.min(1, R(T))), V = Math.max(0, Math.min(1, R(F))), I = Math.max(0, Math.min(1, R(M))), $ = (g) => {
|
|
915
915
|
var O;
|
|
916
916
|
const z = (O = Math.round(g * 255).toString(16)) == null ? void 0 : O.toUpperCase();
|
|
917
917
|
return z.length === 1 ? `0${z}` : z;
|
|
918
918
|
};
|
|
919
|
-
return `#${$(B)}${$(
|
|
919
|
+
return `#${$(B)}${$(V)}${$(I)}`;
|
|
920
920
|
}
|
|
921
921
|
function si(t) {
|
|
922
922
|
const o = {}, e = {}, i = t.split(`
|
|
@@ -5549,8 +5549,8 @@ const ws = co(lr), ur = l.memo((t) => {
|
|
|
5549
5549
|
if (p)
|
|
5550
5550
|
return S * e;
|
|
5551
5551
|
let C = 0;
|
|
5552
|
-
for (let
|
|
5553
|
-
C += T(
|
|
5552
|
+
for (let j = 0; j < S; j++)
|
|
5553
|
+
C += T(j);
|
|
5554
5554
|
return C;
|
|
5555
5555
|
}, M = () => {
|
|
5556
5556
|
if (p)
|
|
@@ -5562,29 +5562,29 @@ const ws = co(lr), ur = l.memo((t) => {
|
|
|
5562
5562
|
}, B = Math.max(0, ((S) => {
|
|
5563
5563
|
if (p)
|
|
5564
5564
|
return Math.floor(S / e);
|
|
5565
|
-
let C = 0,
|
|
5566
|
-
for (; C <
|
|
5567
|
-
const y = Math.floor((C +
|
|
5568
|
-
F(y) < S ? C = y + 1 :
|
|
5565
|
+
let C = 0, j = m - 1;
|
|
5566
|
+
for (; C < j; ) {
|
|
5567
|
+
const y = Math.floor((C + j) / 2);
|
|
5568
|
+
F(y) < S ? C = y + 1 : j = y;
|
|
5569
5569
|
}
|
|
5570
5570
|
return Math.max(0, C - 1);
|
|
5571
5571
|
})(u) - n);
|
|
5572
|
-
let
|
|
5572
|
+
let V;
|
|
5573
5573
|
if (p) {
|
|
5574
5574
|
const S = Math.ceil(s / e);
|
|
5575
|
-
|
|
5575
|
+
V = Math.min(m, B + S + n * 2);
|
|
5576
5576
|
} else {
|
|
5577
5577
|
let S = F(B), C = B;
|
|
5578
5578
|
for (; S < u + s + n * i && C < m; )
|
|
5579
5579
|
S += T(C), C++;
|
|
5580
|
-
|
|
5580
|
+
V = Math.min(m, C);
|
|
5581
5581
|
}
|
|
5582
|
-
const I = o.slice(B,
|
|
5582
|
+
const I = o.slice(B, V), $ = F(B), g = M(), [z, O] = Y(0);
|
|
5583
5583
|
oe(() => {
|
|
5584
5584
|
if (!r || p) return;
|
|
5585
5585
|
let S = !1;
|
|
5586
|
-
I.forEach((C,
|
|
5587
|
-
const y = B +
|
|
5586
|
+
I.forEach((C, j) => {
|
|
5587
|
+
const y = B + j, N = d.current.get(y);
|
|
5588
5588
|
if (N) {
|
|
5589
5589
|
const w = N.getBoundingClientRect().height;
|
|
5590
5590
|
w > 0 && x.current.get(y) !== w && (x.current.set(y, w), S = !0);
|
|
@@ -5627,13 +5627,13 @@ const ws = co(lr), ur = l.memo((t) => {
|
|
|
5627
5627
|
}
|
|
5628
5628
|
},
|
|
5629
5629
|
I.map((S, C) => {
|
|
5630
|
-
const
|
|
5630
|
+
const j = B + C;
|
|
5631
5631
|
return l.createElement(
|
|
5632
5632
|
"div",
|
|
5633
5633
|
{
|
|
5634
|
-
key:
|
|
5634
|
+
key: j,
|
|
5635
5635
|
ref: (y) => {
|
|
5636
|
-
y && r && !p ? d.current.set(
|
|
5636
|
+
y && r && !p ? d.current.set(j, y) : y || d.current.delete(j);
|
|
5637
5637
|
},
|
|
5638
5638
|
style: { width: "100%" }
|
|
5639
5639
|
},
|
|
@@ -5946,9 +5946,9 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
5946
5946
|
if (s.indexOf(B) > -1)
|
|
5947
5947
|
continue;
|
|
5948
5948
|
s.push(B);
|
|
5949
|
-
const
|
|
5950
|
-
for (let I = 0; I <
|
|
5951
|
-
const $ =
|
|
5949
|
+
const V = r(F, T);
|
|
5950
|
+
for (let I = 0; I < V.length; ++I) {
|
|
5951
|
+
const $ = V[I];
|
|
5952
5952
|
s.push(R + $);
|
|
5953
5953
|
}
|
|
5954
5954
|
a = b + (a.length > 0 ? " " + a : a);
|
|
@@ -6012,9 +6012,9 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6012
6012
|
"bottom-left",
|
|
6013
6013
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
6014
6014
|
"left-bottom"
|
|
6015
|
-
],
|
|
6015
|
+
], V = () => [...B(), _, k], I = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], g = () => [_, k, a], z = () => [Eo, "full", "auto", ...g()], O = () => [xo, "none", "subgrid", _, k], W = () => ["auto", {
|
|
6016
6016
|
span: ["full", xo, _, k]
|
|
6017
|
-
}, xo, _, k], S = () => [xo, "auto", _, k], C = () => ["auto", "min", "max", "fr", _, k],
|
|
6017
|
+
}, xo, _, k], S = () => [xo, "auto", _, k], C = () => ["auto", "min", "max", "fr", _, k], j = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], N = () => ["auto", ...g()], G = () => [Eo, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], w = () => [t, _, k], Z = () => [...B(), ze, Ce, {
|
|
6018
6018
|
position: [_, k]
|
|
6019
6019
|
}], v = () => ["no-repeat", {
|
|
6020
6020
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -6159,7 +6159,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6159
6159
|
* @see https://tailwindcss.com/docs/object-position
|
|
6160
6160
|
*/
|
|
6161
6161
|
"object-position": [{
|
|
6162
|
-
object:
|
|
6162
|
+
object: V()
|
|
6163
6163
|
}],
|
|
6164
6164
|
/**
|
|
6165
6165
|
* Overflow
|
|
@@ -6438,7 +6438,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6438
6438
|
* @see https://tailwindcss.com/docs/justify-content
|
|
6439
6439
|
*/
|
|
6440
6440
|
"justify-content": [{
|
|
6441
|
-
justify: [...
|
|
6441
|
+
justify: [...j(), "normal"]
|
|
6442
6442
|
}],
|
|
6443
6443
|
/**
|
|
6444
6444
|
* Justify Items
|
|
@@ -6459,7 +6459,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6459
6459
|
* @see https://tailwindcss.com/docs/align-content
|
|
6460
6460
|
*/
|
|
6461
6461
|
"align-content": [{
|
|
6462
|
-
content: ["normal", ...
|
|
6462
|
+
content: ["normal", ...j()]
|
|
6463
6463
|
}],
|
|
6464
6464
|
/**
|
|
6465
6465
|
* Align Items
|
|
@@ -6484,7 +6484,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
6484
6484
|
* @see https://tailwindcss.com/docs/place-content
|
|
6485
6485
|
*/
|
|
6486
6486
|
"place-content": [{
|
|
6487
|
-
"place-content":
|
|
6487
|
+
"place-content": j()
|
|
6488
6488
|
}],
|
|
6489
6489
|
/**
|
|
6490
6490
|
* Place Items
|
|
@@ -7975,7 +7975,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
7975
7975
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
7976
7976
|
*/
|
|
7977
7977
|
"perspective-origin": [{
|
|
7978
|
-
"perspective-origin":
|
|
7978
|
+
"perspective-origin": V()
|
|
7979
7979
|
}],
|
|
7980
7980
|
/**
|
|
7981
7981
|
* Rotate
|
|
@@ -8071,7 +8071,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8071
8071
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
8072
8072
|
*/
|
|
8073
8073
|
"transform-origin": [{
|
|
8074
|
-
origin:
|
|
8074
|
+
origin: V()
|
|
8075
8075
|
}],
|
|
8076
8076
|
/**
|
|
8077
8077
|
* Transform Style
|
|
@@ -8486,7 +8486,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8486
8486
|
onCommit: M,
|
|
8487
8487
|
leadingIcon: R,
|
|
8488
8488
|
trailingIcon: B,
|
|
8489
|
-
bare:
|
|
8489
|
+
bare: V,
|
|
8490
8490
|
...I
|
|
8491
8491
|
} = t, $ = m instanceof To, g = typeof m == "string" ? m : $ ? m.value : "", [z, O] = Y(g);
|
|
8492
8492
|
q(() => {
|
|
@@ -8512,8 +8512,8 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8512
8512
|
key: "input",
|
|
8513
8513
|
ref: n,
|
|
8514
8514
|
id: e,
|
|
8515
|
-
className:
|
|
8516
|
-
style: { paddingLeft:
|
|
8515
|
+
className: V ? "fibo-textfield-input w-full bg-transparent outline-none" : "fibo-textfield-input w-full h-full bg-transparent outline-none py-2.5 text-sm",
|
|
8516
|
+
style: V ? { padding: 0, display: "block", width: "100%", height: "1lh", lineHeight: "inherit" } : { paddingLeft: V ? 0 : R ? "2.75rem" : "1rem", paddingRight: V ? 0 : B || W ? "2.75rem" : "1rem" },
|
|
8517
8517
|
type: S,
|
|
8518
8518
|
onChange: (Z) => {
|
|
8519
8519
|
let v = C(Z.target.value);
|
|
@@ -8530,7 +8530,10 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8530
8530
|
{ className: f, style: a },
|
|
8531
8531
|
l.createElement(
|
|
8532
8532
|
"div",
|
|
8533
|
-
{
|
|
8533
|
+
{
|
|
8534
|
+
className: u || "relative w-full h-14 flex items-center",
|
|
8535
|
+
style: V ? { display: "block", width: "100%" } : void 0
|
|
8536
|
+
},
|
|
8534
8537
|
[
|
|
8535
8538
|
R && l.createElement(
|
|
8536
8539
|
"div",
|
|
@@ -8547,7 +8550,7 @@ const Io = co(dr), pr = (t, o) => {
|
|
|
8547
8550
|
key: "label",
|
|
8548
8551
|
htmlFor: e,
|
|
8549
8552
|
className: "fibo-textfield-label",
|
|
8550
|
-
style: { left:
|
|
8553
|
+
style: { left: V ? 0 : R ? "2.75rem" : "1rem" }
|
|
8551
8554
|
},
|
|
8552
8555
|
b
|
|
8553
8556
|
),
|
|
@@ -8698,7 +8701,7 @@ class nn extends ao {
|
|
|
8698
8701
|
),
|
|
8699
8702
|
fieldClass: e,
|
|
8700
8703
|
bare: this.isReset(),
|
|
8701
|
-
containerStyle: this.getStyle(),
|
|
8704
|
+
containerStyle: this.isReset() ? { height: "fit-content", ...this.getStyle() } : this.getStyle(),
|
|
8702
8705
|
label: this._label,
|
|
8703
8706
|
error: this._error,
|
|
8704
8707
|
leadingIcon: this._leadingIcon,
|
|
@@ -8757,7 +8760,7 @@ const ks = co(nn), sn = l.memo((t) => {
|
|
|
8757
8760
|
O && (O.textContent = W ?? "", O.style.display = W ? "" : "none");
|
|
8758
8761
|
});
|
|
8759
8762
|
}, [u]);
|
|
8760
|
-
const
|
|
8763
|
+
const V = (g) => {
|
|
8761
8764
|
if (n) return;
|
|
8762
8765
|
const z = g.target.checked;
|
|
8763
8766
|
e || M(z), i == null || i(z);
|
|
@@ -8789,7 +8792,7 @@ const ks = co(nn), sn = l.memo((t) => {
|
|
|
8789
8792
|
value: a,
|
|
8790
8793
|
disabled: n,
|
|
8791
8794
|
className: "sr-only",
|
|
8792
|
-
onChange:
|
|
8795
|
+
onChange: V
|
|
8793
8796
|
};
|
|
8794
8797
|
return e ? $.checked = !!o : $.defaultChecked = T, l.createElement(
|
|
8795
8798
|
"div",
|
|
@@ -8914,11 +8917,11 @@ const cn = l.memo((t) => {
|
|
|
8914
8917
|
disabled: M,
|
|
8915
8918
|
multiple: R,
|
|
8916
8919
|
name: B,
|
|
8917
|
-
controlled:
|
|
8920
|
+
controlled: V = !1,
|
|
8918
8921
|
rules: I
|
|
8919
8922
|
} = t, [$, g] = Y(
|
|
8920
8923
|
() => m ?? (R ? [] : "")
|
|
8921
|
-
), z =
|
|
8924
|
+
), z = V ? m ?? (R ? [] : "") : $;
|
|
8922
8925
|
q(() => {
|
|
8923
8926
|
const y = (N) => {
|
|
8924
8927
|
a.current && !a.current.contains(N.target) && n(!1);
|
|
@@ -8949,10 +8952,10 @@ const cn = l.memo((t) => {
|
|
|
8949
8952
|
w > -1 ? G.splice(w, 1) : G.push(y), N = G;
|
|
8950
8953
|
} else
|
|
8951
8954
|
N = y, n(!1);
|
|
8952
|
-
|
|
8955
|
+
V || g(N), F == null || F(N);
|
|
8953
8956
|
}, C = (y) => {
|
|
8954
8957
|
p.length !== 0 && f((N) => (N + y + p.length) % p.length);
|
|
8955
|
-
},
|
|
8958
|
+
}, j = (y) => {
|
|
8956
8959
|
if (!M)
|
|
8957
8960
|
switch (y.key) {
|
|
8958
8961
|
case "ArrowDown":
|
|
@@ -9003,7 +9006,7 @@ const cn = l.memo((t) => {
|
|
|
9003
9006
|
disabled: M,
|
|
9004
9007
|
className: `fibo-textfield-input text-left w-full flex items-center justify-between ${W ? "" : "text-gray-400"}`,
|
|
9005
9008
|
onClick: () => !M && n(!r),
|
|
9006
|
-
onKeyDown:
|
|
9009
|
+
onKeyDown: j
|
|
9007
9010
|
}, [
|
|
9008
9011
|
l.createElement("span", { key: "text", className: "truncate" }, W || T || " "),
|
|
9009
9012
|
l.createElement("svg", {
|
|
@@ -9152,7 +9155,7 @@ const bn = l.memo((t) => {
|
|
|
9152
9155
|
placeholder: M,
|
|
9153
9156
|
onChange: R,
|
|
9154
9157
|
onAdd: B,
|
|
9155
|
-
disabled:
|
|
9158
|
+
disabled: V,
|
|
9156
9159
|
multiple: I,
|
|
9157
9160
|
name: $,
|
|
9158
9161
|
controlled: g = !1,
|
|
@@ -9191,23 +9194,23 @@ const bn = l.memo((t) => {
|
|
|
9191
9194
|
K && (K.textContent = X ?? "", K.style.display = X ? "" : "none");
|
|
9192
9195
|
});
|
|
9193
9196
|
}, [z]);
|
|
9194
|
-
const
|
|
9197
|
+
const j = (v) => {
|
|
9195
9198
|
g || W(v), R == null || R(v);
|
|
9196
9199
|
}, y = (v) => {
|
|
9197
9200
|
if (I) {
|
|
9198
9201
|
const A = Array.isArray(S) ? [...S] : [];
|
|
9199
|
-
A.includes(v.value) || (A.push(v.value),
|
|
9202
|
+
A.includes(v.value) || (A.push(v.value), j(A)), f("");
|
|
9200
9203
|
} else
|
|
9201
|
-
f(v.label),
|
|
9204
|
+
f(v.label), j(v.value), n(!1);
|
|
9202
9205
|
}, N = (v) => {
|
|
9203
9206
|
if (I && Array.isArray(S)) {
|
|
9204
9207
|
const A = S.filter((K) => K !== v);
|
|
9205
|
-
|
|
9208
|
+
j(A);
|
|
9206
9209
|
}
|
|
9207
9210
|
}, G = () => {
|
|
9208
9211
|
B == null || B(s), I ? f("") : n(!1);
|
|
9209
9212
|
}, w = (v) => I ? Array.isArray(S) && S.includes(v) : S === v, Z = (v) => {
|
|
9210
|
-
if (!
|
|
9213
|
+
if (!V)
|
|
9211
9214
|
switch (v.key) {
|
|
9212
9215
|
case "ArrowDown":
|
|
9213
9216
|
v.preventDefault(), r ? C.length && u((A) => (A + 1) % C.length) : n(!0);
|
|
@@ -9271,7 +9274,7 @@ const bn = l.memo((t) => {
|
|
|
9271
9274
|
className: "bg-transparent outline-none flex-1 min-w-[60px] text-sm h-8",
|
|
9272
9275
|
value: s,
|
|
9273
9276
|
placeholder: I && Array.isArray(S) && S.length > 0 ? "" : M || " ",
|
|
9274
|
-
disabled:
|
|
9277
|
+
disabled: V,
|
|
9275
9278
|
onChange: (v) => {
|
|
9276
9279
|
f(v.target.value), r || n(!0);
|
|
9277
9280
|
},
|
|
@@ -9548,48 +9551,48 @@ const vn = l.memo((t) => {
|
|
|
9548
9551
|
customItemActive: m,
|
|
9549
9552
|
customItemFocus: p,
|
|
9550
9553
|
itemStyle: T
|
|
9551
|
-
} = t, M = l.useId().replace(/:/g, ""), R = `fibo-list-${M}`, B = `fibo-list-custom-styles-${M}`, [
|
|
9552
|
-
let
|
|
9554
|
+
} = t, M = l.useId().replace(/:/g, ""), R = `fibo-list-${M}`, B = `fibo-list-custom-styles-${M}`, [V, I] = Y(0), [$, g] = Y(0), z = U(null), O = U(/* @__PURE__ */ new Map()), W = U(/* @__PURE__ */ new Map()), S = U(null), C = d === "horizontal", j = o.length, y = j > gn, N = (P) => W.current.get(P) ?? Ie, G = (P) => {
|
|
9555
|
+
let D = 0;
|
|
9553
9556
|
for (let eo = 0; eo < P; eo++)
|
|
9554
|
-
|
|
9555
|
-
return
|
|
9557
|
+
D += N(eo);
|
|
9558
|
+
return D;
|
|
9556
9559
|
}, w = () => {
|
|
9557
9560
|
let P = 0;
|
|
9558
|
-
for (let
|
|
9559
|
-
P += N(
|
|
9561
|
+
for (let D = 0; D < j; D++)
|
|
9562
|
+
P += N(D);
|
|
9560
9563
|
return P;
|
|
9561
9564
|
}, Z = (P) => {
|
|
9562
|
-
let
|
|
9563
|
-
for (;
|
|
9564
|
-
const so = Math.floor((
|
|
9565
|
-
G(so) < P ?
|
|
9565
|
+
let D = 0, eo = j - 1;
|
|
9566
|
+
for (; D < eo; ) {
|
|
9567
|
+
const so = Math.floor((D + eo) / 2);
|
|
9568
|
+
G(so) < P ? D = so + 1 : eo = so;
|
|
9566
9569
|
}
|
|
9567
|
-
return Math.max(0,
|
|
9570
|
+
return Math.max(0, D - 1);
|
|
9568
9571
|
};
|
|
9569
|
-
let v = 0, A =
|
|
9572
|
+
let v = 0, A = j, K = 0, X = 0;
|
|
9570
9573
|
if (y) {
|
|
9571
|
-
v = Math.max(0, Z(
|
|
9572
|
-
let P = G(v),
|
|
9573
|
-
for (; P <
|
|
9574
|
-
P += N(
|
|
9575
|
-
A = Math.min(
|
|
9574
|
+
v = Math.max(0, Z(V) - $e);
|
|
9575
|
+
let P = G(v), D = v;
|
|
9576
|
+
for (; P < V + b + $e * Ie && D < j; )
|
|
9577
|
+
P += N(D), D++;
|
|
9578
|
+
A = Math.min(j, D), K = G(v), X = w();
|
|
9576
9579
|
}
|
|
9577
9580
|
const to = o.slice(v, A);
|
|
9578
9581
|
oe(() => {
|
|
9579
9582
|
if (!y) return;
|
|
9580
9583
|
let P = !1;
|
|
9581
|
-
to.forEach((
|
|
9584
|
+
to.forEach((D, eo) => {
|
|
9582
9585
|
const so = v + eo, Co = O.current.get(so);
|
|
9583
9586
|
if (Co) {
|
|
9584
9587
|
const ce = Co.getBoundingClientRect(), Uo = C ? ce.width : ce.height;
|
|
9585
9588
|
Uo > 0 && W.current.get(so) !== Uo && (W.current.set(so, Uo), P = !0);
|
|
9586
9589
|
}
|
|
9587
|
-
}), P && g((
|
|
9590
|
+
}), P && g((D) => D + 1);
|
|
9588
9591
|
}, [to, v, y, C, $]), oe(() => {
|
|
9589
9592
|
if (!f || n) return;
|
|
9590
9593
|
const P = new IntersectionObserver(
|
|
9591
|
-
(
|
|
9592
|
-
|
|
9594
|
+
(D) => {
|
|
9595
|
+
D[0].isIntersecting && (f == null || f());
|
|
9593
9596
|
},
|
|
9594
9597
|
{ threshold: s }
|
|
9595
9598
|
);
|
|
@@ -9602,12 +9605,12 @@ const vn = l.memo((t) => {
|
|
|
9602
9605
|
if (typeof document > "u" || !x && !m && !p) return;
|
|
9603
9606
|
let P = document.getElementById(B);
|
|
9604
9607
|
P || (P = document.createElement("style"), P.id = B, document.head.appendChild(P));
|
|
9605
|
-
let
|
|
9608
|
+
let D = "";
|
|
9606
9609
|
const eo = `.${R}`;
|
|
9607
|
-
return x && (
|
|
9608
|
-
`), m && (
|
|
9609
|
-
`), p && (
|
|
9610
|
-
`), P.textContent =
|
|
9610
|
+
return x && (D += `${eo} .fibo-list-item-custom-hover:hover { ${Qo(x)} }
|
|
9611
|
+
`), m && (D += `${eo} .fibo-list-item-custom-active:active { ${Qo(m)} }
|
|
9612
|
+
`), p && (D += `${eo} .fibo-list-item-custom-focus:focus-within { ${Qo(p)} }
|
|
9613
|
+
`), P.textContent = D, () => {
|
|
9611
9614
|
const so = document.getElementById(B);
|
|
9612
9615
|
so && so.remove();
|
|
9613
9616
|
};
|
|
@@ -9692,8 +9695,8 @@ const vn = l.memo((t) => {
|
|
|
9692
9695
|
flexDirection: C ? "row" : void 0
|
|
9693
9696
|
}
|
|
9694
9697
|
},
|
|
9695
|
-
to.map((P,
|
|
9696
|
-
const eo = v +
|
|
9698
|
+
to.map((P, D) => {
|
|
9699
|
+
const eo = v + D, so = Te(P, eo, e);
|
|
9697
9700
|
return l.cloneElement(
|
|
9698
9701
|
Io().style(go[i]).classNames(So[i]).children(so).build(),
|
|
9699
9702
|
{
|
|
@@ -9715,9 +9718,9 @@ const vn = l.memo((t) => {
|
|
|
9715
9718
|
}).children(
|
|
9716
9719
|
l.createElement(l.Fragment, {}, [
|
|
9717
9720
|
...o.map(
|
|
9718
|
-
(P,
|
|
9719
|
-
Io().style(go[i]).classNames(So[i]).children(Te(P,
|
|
9720
|
-
{ key: Ee(P,
|
|
9721
|
+
(P, D) => l.cloneElement(
|
|
9722
|
+
Io().style(go[i]).classNames(So[i]).children(Te(P, D, e)).build(),
|
|
9723
|
+
{ key: Ee(P, D) }
|
|
9721
9724
|
)
|
|
9722
9725
|
),
|
|
9723
9726
|
f && l.createElement("div", {
|
|
@@ -10474,7 +10477,7 @@ const Fn = yo(null), Is = ({
|
|
|
10474
10477
|
};
|
|
10475
10478
|
return $(), window.addEventListener("popstate", $), () => window.removeEventListener("popstate", $);
|
|
10476
10479
|
}, [i]);
|
|
10477
|
-
const
|
|
10480
|
+
const V = {
|
|
10478
10481
|
currentPath: u,
|
|
10479
10482
|
basename: i,
|
|
10480
10483
|
navigate: M,
|
|
@@ -10496,7 +10499,7 @@ const Fn = yo(null), Is = ({
|
|
|
10496
10499
|
}
|
|
10497
10500
|
);
|
|
10498
10501
|
};
|
|
10499
|
-
return /* @__PURE__ */ H(fe.Provider, { value:
|
|
10502
|
+
return /* @__PURE__ */ H(fe.Provider, { value: V, children: e ? /* @__PURE__ */ H(Et, { fallback: e, children: I() }) : I() });
|
|
10500
10503
|
};
|
|
10501
10504
|
export {
|
|
10502
10505
|
ar as $,
|
package/dist/content.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as s, A as r, B as o, I as t, c as n, L as I, P as g, a as m, S as p } from "./index-
|
|
2
|
-
import { $ as f } from "./client-
|
|
3
|
-
import { I as A } from "./index-
|
|
1
|
+
import { b as s, A as r, B as o, I as t, c as n, L as I, P as g, a as m, S as p } from "./index-Dil2ZG0X.js";
|
|
2
|
+
import { $ as f } from "./client-DzQ13khL.js";
|
|
3
|
+
import { I as A } from "./index-Bj-IMHC8.js";
|
|
4
4
|
export {
|
|
5
5
|
s as Alert,
|
|
6
6
|
r as Avatar,
|
package/dist/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as a, E as t, L as r, T as o, F as i, I as n, M as l, Q as u, O as S, h as c, v as p, P as g, R as b, w as T, x as v, S as E, Y as C, k as F, j as R, c as d, b as m, a as f, X as I, N as y, V as O, g as P, U as x, W as M, J as N, K as w, H as A, o as B, G as _, r as V, y as h, s as q, D as z, z as G, B as K, A as W, f as X, p as j, e as k, q as D, i as H, d as J, t as L, u as Q, m as U, n as Y, l as Z } from "./client-
|
|
2
|
-
import { b as ss, F as es, a as as, c as ts, m as rs, p as os, t as is, w as ns } from "./mount-
|
|
1
|
+
import { C as a, E as t, L as r, T as o, F as i, I as n, M as l, Q as u, O as S, h as c, v as p, P as g, R as b, w as T, x as v, S as E, Y as C, k as F, j as R, c as d, b as m, a as f, X as I, N as y, V as O, g as P, U as x, W as M, J as N, K as w, H as A, o as B, G as _, r as V, y as h, s as q, D as z, z as G, B as K, A as W, f as X, p as j, e as k, q as D, i as H, d as J, t as L, u as Q, m as U, n as Y, l as Z } from "./client-DzQ13khL.js";
|
|
2
|
+
import { b as ss, F as es, a as as, c as ts, m as rs, p as os, t as is, w as ns } from "./mount-CDwiTTXM.js";
|
|
3
3
|
export {
|
|
4
4
|
a as ComputedSignal,
|
|
5
5
|
t as Easing,
|
|
@@ -2,7 +2,7 @@ var v = Object.defineProperty;
|
|
|
2
2
|
var $ = (i, r, e) => r in i ? v(i, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[r] = e;
|
|
3
3
|
var o = (i, r, e) => $(i, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import t from "react";
|
|
5
|
-
import { at as b, au as _, a4 as E, az as x } from "./client-
|
|
5
|
+
import { at as b, au as _, a4 as E, az as x } from "./client-DzQ13khL.js";
|
|
6
6
|
const w = t.memo((i) => {
|
|
7
7
|
const { text: r, subtitle: e, number: n, color: c, className: m, style: d, children: p, ...u } = i;
|
|
8
8
|
return t.createElement(
|
|
@@ -2,7 +2,7 @@ var m = Object.defineProperty;
|
|
|
2
2
|
var p = (e, t, s) => t in e ? m(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
|
|
3
3
|
var r = (e, t, s) => p(e, typeof t != "symbol" ? t + "" : t, s);
|
|
4
4
|
import o from "react";
|
|
5
|
-
import { at as a, au as u } from "./client-
|
|
5
|
+
import { at as a, au as u } from "./client-DzQ13khL.js";
|
|
6
6
|
class g extends u {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(...arguments);
|
|
@@ -2,7 +2,7 @@ var A = Object.defineProperty;
|
|
|
2
2
|
var D = (a, n, e) => n in a ? A(a, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[n] = e;
|
|
3
3
|
var t = (a, n, e) => D(a, typeof n != "symbol" ? n + "" : n, e);
|
|
4
4
|
import s, { useRef as R, useState as I, useEffect as L } from "react";
|
|
5
|
-
import { at as F, au as q, ay as T, S as G } from "./client-
|
|
5
|
+
import { at as F, au as q, ay as T, S as G } from "./client-DzQ13khL.js";
|
|
6
6
|
const M = s.memo((a) => {
|
|
7
7
|
const {
|
|
8
8
|
text: n,
|
|
@@ -2,10 +2,10 @@ var V = Object.defineProperty;
|
|
|
2
2
|
var Z = (r, s, e) => s in r ? V(r, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[s] = e;
|
|
3
3
|
var o = (r, s, e) => Z(r, typeof s != "symbol" ? s + "" : s, e);
|
|
4
4
|
import i from "react";
|
|
5
|
-
import { at as u, au as m, aA as X, av as q, P as G, as as J, $ as K } from "./client-
|
|
5
|
+
import { at as u, au as m, aA as X, av as q, P as G, as as J, $ as K } from "./client-DzQ13khL.js";
|
|
6
6
|
import { P as M } from "./PluginManager-BRjgOLVa.js";
|
|
7
|
-
import { R as Q, I as U } from "./index-
|
|
8
|
-
import { L as ee } from "./Link-
|
|
7
|
+
import { R as Q, I as U } from "./index-Bj-IMHC8.js";
|
|
8
|
+
import { L as ee } from "./Link-YjcbA4af.js";
|
|
9
9
|
class te extends m {
|
|
10
10
|
build() {
|
|
11
11
|
const e = [
|
|
@@ -2,8 +2,8 @@ var U = Object.defineProperty;
|
|
|
2
2
|
var G = (n, s, e) => s in n ? U(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
|
|
3
3
|
var r = (n, s, e) => G(n, typeof s != "symbol" ? s + "" : s, e);
|
|
4
4
|
import t from "react";
|
|
5
|
-
import { at as C, au as F, a4 as j, $ as O } from "./client-
|
|
6
|
-
import { R as J } from "./index-
|
|
5
|
+
import { at as C, au as F, a4 as j, $ as O } from "./client-DzQ13khL.js";
|
|
6
|
+
import { R as J } from "./index-Bj-IMHC8.js";
|
|
7
7
|
import { jsxs as $, jsx as f } from "react/jsx-runtime";
|
|
8
8
|
const K = ({ size: n }) => t.createElement(
|
|
9
9
|
"svg",
|