fiboui 2.7.1 → 2.8.0
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/README.md +4 -0
- package/dist/{client-Bydlscpe.js → client-BxtRoL1i.js} +5957 -5458
- package/dist/content.js +3 -3
- package/dist/core.js +2 -2
- package/dist/{icons-B9HMYLtE.js → icons-BKXx-EqO.js} +1 -1
- package/dist/{index-B7eVMy2M.js → index-B0FFbOUi.js} +32 -24
- package/dist/{index-CXQSA8WJ.js → index-DD-zM-WX.js} +2 -2
- package/dist/{index-DBeyafKI.js → index-DF6X_GZs.js} +1 -1
- package/dist/{index-C9I92HPE.js → index-DUohJXW2.js} +1 -1
- package/dist/{index-D4JzwKSP.js → index-E-wbUFLi.js} +22 -22
- package/dist/index.d.ts +2061 -19
- package/dist/index.js +1991 -1730
- package/dist/interactive.js +2 -2
- package/dist/layout.js +3 -3
- package/dist/{metadata-BbFwNwNa.js → metadata-YreqtxtK.js} +11 -11
- package/dist/navigation.js +2 -2
- package/dist/{page-BJoj7vSk.js → page-BiOQBd4k.js} +7 -7
- package/dist/server.js +2120 -1851
- package/dist/structure.js +2 -2
- package/dist/style.css +1 -1
- package/dist/theme.js +1 -1
- package/package.json +2 -2
package/dist/interactive.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as e } from "./index-
|
|
2
|
-
import { ap as r, at as t, ab as m, aq as i, as as l, ao as n, aa as x, ar as u, ag as h, an as p, ac as b, am as c, aj as d, af as f, ai as g, ae as T, ah as q, ad as k, ak as B, al as C } from "./client-
|
|
1
|
+
import { B as e } from "./index-DUohJXW2.js";
|
|
2
|
+
import { ap as r, at as t, ab as m, aq as i, as as l, ao as n, aa as x, ar as u, ag as h, an as p, ac as b, am as c, aj as d, af as f, ai as g, ae as T, ah as q, ad as k, ak as B, al as C } from "./client-BxtRoL1i.js";
|
|
3
3
|
export {
|
|
4
4
|
e as Button,
|
|
5
5
|
r as Checkbox,
|
package/dist/layout.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as r, a as s, H as e, L as l, b as t, S, Z as n } from "./index-
|
|
2
|
-
import { C as c, S as f } from "./index-
|
|
3
|
-
import { a6 as m, a3 as d, a4 as p, a5 as u, a7 as b } from "./client-
|
|
1
|
+
import { C as r, a as s, H as e, L as l, b as t, S, Z as n } from "./index-DF6X_GZs.js";
|
|
2
|
+
import { C as c, S as f } from "./index-B0FFbOUi.js";
|
|
3
|
+
import { a6 as m, a3 as d, a4 as p, a5 as u, a7 as b } from "./client-BxtRoL1i.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Center,
|
|
6
6
|
c as Column,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { b2 as v, b1 as x, b3 as E, b4 as k, b5 as R, b6 as D, b7 as O, b8 as g, b9 as P, ba as $, bb as z, aD as A, aE as K } from "./client-BxtRoL1i.js";
|
|
3
3
|
import { useState as M, useMemo as N, lazy as S, Suspense as B } from "react";
|
|
4
|
-
function
|
|
4
|
+
function b(e) {
|
|
5
5
|
const t = (typeof e == "string" ? e.trim() : "").split(/[?#]/, 1)[0];
|
|
6
6
|
return !t || t === "/" ? "/" : t.startsWith("/") ? t : `/${t}`;
|
|
7
7
|
}
|
|
@@ -13,12 +13,12 @@ function H(e) {
|
|
|
13
13
|
return { search: s >= 0 ? t.slice(s) : "", hash: r };
|
|
14
14
|
}
|
|
15
15
|
function I(e, n) {
|
|
16
|
-
const { search: t, hash: r } = H(n), a = R(
|
|
17
|
-
return `${
|
|
16
|
+
const { search: t, hash: r } = H(n), a = R(b(n), e);
|
|
17
|
+
return `${D(e, a)}${t}${r}`;
|
|
18
18
|
}
|
|
19
19
|
function j(e, n, t, r = "") {
|
|
20
|
-
const a = R(
|
|
21
|
-
return a === "/" ? s === "/" :
|
|
20
|
+
const a = R(b(n), r), s = b(e);
|
|
21
|
+
return a === "/" ? s === "/" : O(s, a, t).match;
|
|
22
22
|
}
|
|
23
23
|
const W = ({
|
|
24
24
|
to: e,
|
|
@@ -33,7 +33,7 @@ const W = ({
|
|
|
33
33
|
rel: h,
|
|
34
34
|
...p
|
|
35
35
|
}) => {
|
|
36
|
-
const l =
|
|
36
|
+
const l = v(), m = x(e), y = !m && E(e), C = m ? void 0 : y ? e.trim() : I((l == null ? void 0 : l.basename) ?? "", e), w = i && String(i).toLowerCase() === "_blank" ? k(h, "noopener noreferrer") : h;
|
|
37
37
|
return /* @__PURE__ */ c(
|
|
38
38
|
"a",
|
|
39
39
|
{
|
|
@@ -66,7 +66,7 @@ const W = ({
|
|
|
66
66
|
exact: f = !1,
|
|
67
67
|
...i
|
|
68
68
|
}) => {
|
|
69
|
-
const o =
|
|
69
|
+
const o = v(), h = !!o && j(
|
|
70
70
|
o.currentPath,
|
|
71
71
|
e,
|
|
72
72
|
f,
|
|
@@ -84,14 +84,14 @@ const W = ({
|
|
|
84
84
|
}
|
|
85
85
|
);
|
|
86
86
|
}, J = () => {
|
|
87
|
-
const e =
|
|
87
|
+
const e = v(), n = g();
|
|
88
88
|
if (!e || !n || !n.children || n.children.length === 0)
|
|
89
89
|
return null;
|
|
90
|
-
const { route: t } =
|
|
90
|
+
const { route: t } = P(n.children, e.currentPath);
|
|
91
91
|
if (!t)
|
|
92
92
|
return null;
|
|
93
93
|
const r = t.component;
|
|
94
|
-
return /* @__PURE__ */ c(
|
|
94
|
+
return /* @__PURE__ */ c($.Provider, { value: t, children: /* @__PURE__ */ c(r, {}) });
|
|
95
95
|
}, d = /* @__PURE__ */ new WeakMap();
|
|
96
96
|
function _(e) {
|
|
97
97
|
return e instanceof Error ? e : typeof e == "string" && e.trim() ? new Error(e) : new Error("Failed to load route");
|
package/dist/navigation.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aE as s, aD as u, ax as o, aB as t, az as r, aA as l, aC as L, ay as R } from "./client-
|
|
2
|
-
import { L as i, N as p, O as m, l as n, p as x, u as y } from "./metadata-
|
|
1
|
+
import { aE as s, aD as u, ax as o, aB as t, az as r, aA as l, aC as L, ay as R } from "./client-BxtRoL1i.js";
|
|
2
|
+
import { L as i, N as p, O as m, l as n, p as x, u as y } from "./metadata-YreqtxtK.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DefaultErrorPage,
|
|
5
5
|
u as DefaultLoader,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var O = Object.defineProperty;
|
|
2
2
|
var k = (e, t, r) => t in e ? O(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var h = (e, t, r) => k(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { S as v, c as E, i as $, H as L,
|
|
4
|
+
import { S as v, c as E, i as $, H as L, b0 as A, U as I } from "./client-BxtRoL1i.js";
|
|
5
5
|
import c from "react";
|
|
6
6
|
function U() {
|
|
7
7
|
return typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : `lst_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 10)}`;
|
|
@@ -192,12 +192,12 @@ v.prototype.animate = function(e, t = {}) {
|
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
194
|
if (t.curve === "spring") {
|
|
195
|
-
const g = typeof t.stiffness == "number" && Number.isFinite(t.stiffness) && t.stiffness > 0 ? t.stiffness : 170,
|
|
195
|
+
const g = typeof t.stiffness == "number" && Number.isFinite(t.stiffness) && t.stiffness > 0 ? t.stiffness : 170, p = typeof t.damping == "number" && Number.isFinite(t.damping) && t.damping >= 0 ? t.damping : 26, _ = typeof t.mass == "number" && Number.isFinite(t.mass) && t.mass > 0 ? t.mass : 1;
|
|
196
196
|
let o = r, d = typeof t.velocity == "number" && Number.isFinite(t.velocity) ? t.velocity : 0;
|
|
197
197
|
const w = 1 / 60, M = () => {
|
|
198
198
|
var x, C;
|
|
199
|
-
const S = -g * (o - n) -
|
|
200
|
-
if (d += S /
|
|
199
|
+
const S = -g * (o - n) - p * d;
|
|
200
|
+
if (d += S / _ * w, o += d * w, !Number.isFinite(o) || !Number.isFinite(d)) {
|
|
201
201
|
this.value = n, a.delete(this), (x = t.onComplete) == null || x.call(t);
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
@@ -214,10 +214,10 @@ v.prototype.animate = function(e, t = {}) {
|
|
|
214
214
|
const u = q[t.curve || "easeOut"] ?? q.easeOut;
|
|
215
215
|
let l = null;
|
|
216
216
|
const m = (g) => {
|
|
217
|
-
var
|
|
217
|
+
var _;
|
|
218
218
|
l || (l = g);
|
|
219
|
-
const
|
|
220
|
-
this.value = B(r, n, u(
|
|
219
|
+
const p = Math.min((g - l) / s, 1);
|
|
220
|
+
this.value = B(r, n, u(p)), p < 1 ? a.set(this, requestAnimationFrame(m)) : (a.delete(this), (_ = t.onComplete) == null || _.call(t));
|
|
221
221
|
};
|
|
222
222
|
a.set(this, requestAnimationFrame(m));
|
|
223
223
|
};
|