fiboui 2.8.3 → 2.8.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/{client-8KCOzRhg.js → client-DOrZXJAN.js} +6831 -6231
- package/dist/content.js +3 -3
- package/dist/core.js +55 -55
- package/dist/{icons-7Xl0GDMW.js → icons-DujcjAOD.js} +5 -5
- package/dist/{index-CU0_oAGn.js → index-19mPjg_D.js} +3 -3
- package/dist/{index-C5TPsNMz.js → index-C0qI47Zw.js} +14 -14
- package/dist/{index-CFwY5hCL.js → index-CYMoWJMX.js} +78 -78
- package/dist/{index-CVy8N94v.js → index-rNMzRy8Y.js} +13 -13
- package/dist/{index-Bwb4FNoc.js → index-uks8jtfK.js} +30 -30
- package/dist/index.d.ts +308 -274
- package/dist/index.js +194 -194
- package/dist/interactive.js +13 -13
- package/dist/layout.js +7 -7
- package/dist/{metadata-BEmm6pe-.js → metadata-9Bpw89m2.js} +17 -17
- package/dist/navigation.js +4 -4
- package/dist/page-BOQJIKa5.js +184 -0
- package/dist/server.js +644 -620
- package/dist/structure.js +3 -3
- package/dist/theme.js +5 -5
- package/package.json +1 -1
- package/dist/page-FXW2hz2C.js +0 -302
package/dist/content.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as s, B as r, I as o } from "./icons-
|
|
2
|
-
import {
|
|
3
|
-
import { A as m, I as p, L as x, P as A, a as f, S as l } from "./index-
|
|
1
|
+
import { A as s, B as r, I as o } from "./icons-DujcjAOD.js";
|
|
2
|
+
import { ad as n, ac as I } from "./client-DOrZXJAN.js";
|
|
3
|
+
import { A as m, I as p, L as x, P as A, a as f, S as l } from "./index-rNMzRy8Y.js";
|
|
4
4
|
export {
|
|
5
5
|
m as Alert,
|
|
6
6
|
s as Avatar,
|
package/dist/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e, E as t,
|
|
2
|
-
import {
|
|
1
|
+
import { C as e, E as t, V as r, a4 as i, a1 as o, a2 as n, Y as l, F as u, N as c, L as S, M as p, X as g, O as T, k as b, z as v, P as E, R as d, A as C, B as R, S as F, a6 as I, p as f, n as m, d as y, c as O, b as P, a as x, a0 as M, W as N, e as _, _ as w, g as A, Z as B, $ as V, T as L, U as h, i as q, l as z, a3 as G, Q as K, o as W, K as X, r as j, D as k, s as D, J as H, G as J, I as Q, H as U, a5 as Y, j as Z, w as $, h as ss, x as as, m as es, f as ts, y as rs, u as is, t as os, v as ns, q as ls } from "./client-DOrZXJAN.js";
|
|
2
|
+
import { a as cs, c as Ss, p as ps, w as gs } from "./page-BOQJIKa5.js";
|
|
3
3
|
export {
|
|
4
4
|
e as ComputedSignal,
|
|
5
5
|
t as Easing,
|
|
@@ -10,60 +10,60 @@ export {
|
|
|
10
10
|
l as FiboStyles,
|
|
11
11
|
u as FineGrainText,
|
|
12
12
|
c as INTERACTION_EFFECTS,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
S as ListSignal,
|
|
14
|
+
p as MOTION_PRESETS,
|
|
15
|
+
g as MotionStyles,
|
|
16
|
+
T as Observable,
|
|
17
17
|
b as Observer,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
18
|
+
v as Presence,
|
|
19
|
+
E as ProviderWrapper,
|
|
20
|
+
d as ReactivityRoot,
|
|
21
|
+
C as Reveal,
|
|
22
|
+
R as ScrollProgress,
|
|
23
|
+
F as Signal,
|
|
24
|
+
I as ValueBuilder,
|
|
25
|
+
f as applyResponsiveStyles,
|
|
26
|
+
m as bindText,
|
|
27
|
+
y as collection,
|
|
28
|
+
O as computed,
|
|
29
|
+
cs as createPage,
|
|
30
|
+
P as createReactivityRoot,
|
|
31
|
+
x as createStore,
|
|
32
|
+
Ss as cssCurve,
|
|
33
|
+
M as endSsrRequest,
|
|
34
|
+
N as ensureInteractionFxCss,
|
|
35
|
+
_ as ensureListId,
|
|
36
|
+
w as getCss,
|
|
37
|
+
A as getCurrentScope,
|
|
38
|
+
B as getMotionCss,
|
|
39
|
+
V as getStyleTag,
|
|
40
|
+
L as interactionEffectClass,
|
|
41
|
+
h as interactionEffectKebab,
|
|
42
|
+
q as interp,
|
|
43
|
+
z as listSignal,
|
|
44
|
+
G as mount,
|
|
45
|
+
K as normalizeInteractionEffect,
|
|
46
|
+
W as observable,
|
|
47
47
|
ps as page,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
48
|
+
X as resolveCssEase,
|
|
49
|
+
j as runInScope,
|
|
50
|
+
k as scrollTo,
|
|
51
|
+
D as signal,
|
|
52
|
+
H as springEase,
|
|
53
|
+
J as startViewTransition,
|
|
54
|
+
Q as supportsScrollTimeline,
|
|
55
|
+
U as supportsViewTimeline,
|
|
56
|
+
Y as toElement,
|
|
57
|
+
Z as useBuilderState,
|
|
58
|
+
$ as useMountTransition,
|
|
59
|
+
ss as useObservable,
|
|
60
|
+
as as usePrefersReducedMotion,
|
|
61
|
+
es as useProvider,
|
|
62
|
+
ts as useReactiveStore,
|
|
63
|
+
rs as useScrollProgress,
|
|
64
|
+
is as useSignal,
|
|
65
|
+
os as useSpring,
|
|
66
|
+
ns as useStagger,
|
|
67
|
+
ls as useTransition,
|
|
68
68
|
gs as withFiboStyles
|
|
69
69
|
};
|
|
@@ -2,7 +2,7 @@ var L = Object.defineProperty;
|
|
|
2
2
|
var R = (t, r, e) => r in t ? L(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
3
|
var i = (t, r, e) => R(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import h from "react";
|
|
5
|
-
import {
|
|
5
|
+
import { aX as C, aY as E, ay as y, ba as I, a7 as j, ac as H, a$ as W, b2 as M, b0 as D } from "./client-DOrZXJAN.js";
|
|
6
6
|
import { jsx as s, jsxs as v } from "react/jsx-runtime";
|
|
7
7
|
function $(t) {
|
|
8
8
|
if (typeof t != "string") return "";
|
|
@@ -77,7 +77,7 @@ const V = ({ size: t }) => h.createElement(
|
|
|
77
77
|
overflow: "visible"
|
|
78
78
|
}).children([A, B]).build();
|
|
79
79
|
});
|
|
80
|
-
class
|
|
80
|
+
class q extends E {
|
|
81
81
|
constructor() {
|
|
82
82
|
super(...arguments);
|
|
83
83
|
i(this, "_image", "");
|
|
@@ -134,8 +134,8 @@ class T extends E {
|
|
|
134
134
|
return h.createElement(U, e);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
const re = C(
|
|
138
|
-
function
|
|
137
|
+
const re = C(q);
|
|
138
|
+
function T(t) {
|
|
139
139
|
return t === "success" || t === "warning" || t === "error" || t === "info" ? t : "none";
|
|
140
140
|
}
|
|
141
141
|
function P(t) {
|
|
@@ -145,7 +145,7 @@ function G(t) {
|
|
|
145
145
|
return t === "pill" ? "pill" : "rounded";
|
|
146
146
|
}
|
|
147
147
|
const J = h.memo((t) => {
|
|
148
|
-
const { text: r, icon: e, variant: u, intent: g, shape: d, className: b, style: p, ...x } = t, n =
|
|
148
|
+
const { text: r, icon: e, variant: u, intent: g, shape: d, className: b, style: p, ...x } = t, n = T(g), o = P(u), l = G(d), c = {
|
|
149
149
|
none: { bg: "#F9FAFB", text: "#6B7280", border: "#E5E7EB" },
|
|
150
150
|
success: { bg: "#ECFDF5", text: "#059669", border: "transparent" },
|
|
151
151
|
warning: { bg: "#FFFBEB", text: "#D97706", border: "transparent" },
|
|
@@ -2,10 +2,10 @@ var c = Object.defineProperty;
|
|
|
2
2
|
var f = (s, e, t) => e in s ? c(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
3
|
var i = (s, e, t) => f(s, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import m from "react";
|
|
5
|
-
import {
|
|
5
|
+
import { aX as d, aY as y, aZ as x, a_ as n, a$ as o, b0 as l, b1 as v, b2 as T } from "./client-DOrZXJAN.js";
|
|
6
6
|
function p(s, e) {
|
|
7
7
|
if (!(typeof e != "string" || !o(e)))
|
|
8
|
-
for (const t of
|
|
8
|
+
for (const t of T(e))
|
|
9
9
|
s.bindSignal(t);
|
|
10
10
|
}
|
|
11
11
|
function h(s, e) {
|
|
@@ -138,7 +138,7 @@ class g extends y {
|
|
|
138
138
|
_.node = u;
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
return m.createElement(
|
|
141
|
+
return m.createElement(v, a);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
const I = d(g);
|
|
@@ -2,7 +2,7 @@ var w = Object.defineProperty;
|
|
|
2
2
|
var S = (s, e, t) => e in s ? w(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
3
|
var n = (s, e, t) => S(s, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import m from "react";
|
|
5
|
-
import {
|
|
5
|
+
import { aX as g, aY as d, b8 as N, b9 as C, b0 as j, a$ as _, b2 as z } from "./client-DOrZXJAN.js";
|
|
6
6
|
function B(s, e) {
|
|
7
7
|
if (!(typeof e != "string" || !_(e)))
|
|
8
8
|
for (const t of z(e))
|
|
@@ -27,8 +27,8 @@ function I(s) {
|
|
|
27
27
|
return typeof s == "string" && _(s) ? j(s) : s;
|
|
28
28
|
}
|
|
29
29
|
function M(s, e) {
|
|
30
|
-
const { children: t, ...r } = e,
|
|
31
|
-
return { nodes:
|
|
30
|
+
const { children: t, ...r } = e, o = t !== void 0 ? t : s;
|
|
31
|
+
return { nodes: o == null ? [] : Array.isArray(o) ? o : [o], rest: r };
|
|
32
32
|
}
|
|
33
33
|
class $ extends d {
|
|
34
34
|
constructor() {
|
|
@@ -78,7 +78,7 @@ class $ extends d {
|
|
|
78
78
|
center: "items-center",
|
|
79
79
|
end: "items-end",
|
|
80
80
|
stretch: "items-stretch"
|
|
81
|
-
},
|
|
81
|
+
}, o = {
|
|
82
82
|
small: "flex-[0.3]",
|
|
83
83
|
medium: "flex-1",
|
|
84
84
|
large: "flex-[1.5]"
|
|
@@ -90,16 +90,16 @@ class $ extends d {
|
|
|
90
90
|
this.isHug() ? "w-auto self-auto" : "w-full min-w-0 min-h-0",
|
|
91
91
|
t[this._mainAxisAlignment],
|
|
92
92
|
r[this._crossAxisAlignment],
|
|
93
|
-
this._size ?
|
|
93
|
+
this._size ? o[this._size] : "",
|
|
94
94
|
...this._classNames
|
|
95
|
-
], h = this.getStyle(), { nodes: c, rest: p } = M(this.processChildren(), this._props), { className: x, style: u, ...y } = p, A = [...i, x].filter(Boolean).join(" "), b = c.map(I),
|
|
95
|
+
], h = this.getStyle(), { nodes: c, rest: p } = M(this.processChildren(), this._props), { className: x, style: u, ...y } = p, A = [...i, x].filter(Boolean).join(" "), b = c.map(I), a = {
|
|
96
96
|
...h,
|
|
97
97
|
...u && typeof u == "object" ? u : {}
|
|
98
98
|
};
|
|
99
|
-
return this._spacing != null && this._spacing !== "" && (typeof this._spacing == "number" ?
|
|
99
|
+
return this._spacing != null && this._spacing !== "" && (typeof this._spacing == "number" ? a.gap = `${this._spacing}px` : isNaN(Number(this._spacing)) ? a.gap = this._spacing : a.gap = `${Number(this._spacing) * 4}px`), m.createElement(
|
|
100
100
|
"div",
|
|
101
101
|
{
|
|
102
|
-
style:
|
|
102
|
+
style: a,
|
|
103
103
|
...y,
|
|
104
104
|
className: A
|
|
105
105
|
},
|
|
@@ -107,7 +107,7 @@ class $ extends d {
|
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const Y = g($);
|
|
111
111
|
function f(s) {
|
|
112
112
|
return typeof s == "number" ? `${s}px` : s;
|
|
113
113
|
}
|
|
@@ -140,19 +140,19 @@ class H extends d {
|
|
|
140
140
|
return this._grow = Number.isFinite(r) ? r : 1, this._expand = !0, this;
|
|
141
141
|
}
|
|
142
142
|
build() {
|
|
143
|
-
const { className: t, style: r, ...
|
|
143
|
+
const { className: t, style: r, ...o } = this._props, i = { ...this.getStyle(), ...E(r) }, h = this._height != null || this._width != null, c = this._expand ?? !h;
|
|
144
144
|
this._height != null && (i.height = f(this._height)), this._width != null && (i.width = f(this._width)), c ? (i.flex = `${this._grow ?? 1} 1 0%`, i.alignSelf = i.alignSelf ?? "stretch", i.minWidth = i.minWidth ?? 0, i.minHeight = i.minHeight ?? 0) : i.flex = "0 0 auto";
|
|
145
145
|
const p = ["fibo-spacer", this.getClassName(), t].filter(Boolean).join(" ");
|
|
146
146
|
return m.createElement("div", {
|
|
147
|
-
...
|
|
147
|
+
...o,
|
|
148
148
|
style: i,
|
|
149
149
|
className: p,
|
|
150
150
|
"aria-hidden": !0
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
const
|
|
154
|
+
const k = g(H);
|
|
155
155
|
export {
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
Y as C,
|
|
157
|
+
k as S
|
|
158
158
|
};
|