fiboui 2.8.4 → 2.9.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 +89 -0
- package/dist/{client-DOrZXJAN.js → client-3NdKI2xE.js} +9527 -6843
- package/dist/content.d.ts +1535 -1
- package/dist/content.js +3 -3
- package/dist/core.d.ts +1897 -2
- package/dist/core.js +52 -46
- package/dist/{icons-DujcjAOD.js → icons-DS8J4SFk.js} +83 -75
- package/dist/{index-rNMzRy8Y.js → index-B6F3yf3H.js} +8 -8
- package/dist/{index-C0qI47Zw.js → index-BLEG6Nql.js} +5 -5
- package/dist/{index-uks8jtfK.js → index-BaTO66yA.js} +561 -492
- package/dist/index-FuD1J3Qo.js +785 -0
- package/dist/{index-19mPjg_D.js → index-I-MXiId0.js} +10 -10
- package/dist/index.d.ts +2218 -117983
- package/dist/index.js +1155 -1070
- package/dist/interactive.d.ts +1702 -2
- package/dist/interactive.js +15 -15
- package/dist/layout.d.ts +1680 -1
- package/dist/layout.js +20 -16
- package/dist/{metadata-9Bpw89m2.js → metadata-B2MRlDTz.js} +19 -19
- package/dist/navigation.d.ts +88 -1
- package/dist/navigation.js +6 -6
- package/dist/page-xwU8SnoZ.js +263 -0
- package/dist/server.d.ts +1729 -2
- package/dist/server.js +3795 -2401
- package/dist/structure.d.ts +1697 -1
- package/dist/structure.js +8 -8
- package/dist/style.css +1 -1
- package/dist/theme.d.ts +149 -2
- package/dist/theme.js +3 -3
- package/package.json +5 -3
- package/dist/index-CYMoWJMX.js +0 -839
- package/dist/page-BOQJIKa5.js +0 -184
package/dist/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e, E as t,
|
|
2
|
-
import { a as
|
|
1
|
+
import { C as e, E as t, X as r, a6 as i, a3 as o, a4 as n, _ as l, F as u, T as S, L as c, Q as p, Z as g, O as T, n as b, B as v, P as F, R as E, D as d, G as C, S as R, a8 as f, t as m, q as I, d as P, c as y, b as O, a as x, a2 as M, Y as N, e as _, f as w, a0 as A, g as B, $ as V, a1 as D, V as L, W as U, i as h, l as q, a5 as z, U as G, o as K, h as W, N as X, r as j, H as k, s as H, M as J, I as Q, K as Y, J as Z, a7 as $, m as ss, y as as, k as es, z as ts, p as rs, j as is, A as os, u as ns, w as ls, x as us, v as Ss } from "./client-3NdKI2xE.js";
|
|
2
|
+
import { F as ps, P as gs, T as Ts, U as bs, a as vs, c as Fs, p as Es, w as ds } from "./page-xwU8SnoZ.js";
|
|
3
3
|
export {
|
|
4
4
|
e as ComputedSignal,
|
|
5
5
|
t as Easing,
|
|
@@ -9,61 +9,67 @@ export {
|
|
|
9
9
|
n as FiboAppBuilder,
|
|
10
10
|
l as FiboStyles,
|
|
11
11
|
u as FineGrainText,
|
|
12
|
-
|
|
13
|
-
S as
|
|
12
|
+
ps as Format,
|
|
13
|
+
S as INTERACTION_EFFECTS,
|
|
14
|
+
c as ListSignal,
|
|
14
15
|
p as MOTION_PRESETS,
|
|
15
16
|
g as MotionStyles,
|
|
16
17
|
T as Observable,
|
|
17
18
|
b as Observer,
|
|
19
|
+
gs as Plural,
|
|
18
20
|
v as Presence,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
F as ProviderWrapper,
|
|
22
|
+
E as ReactivityRoot,
|
|
23
|
+
d as Reveal,
|
|
24
|
+
C as ScrollProgress,
|
|
25
|
+
R as Signal,
|
|
26
|
+
Ts as Transform,
|
|
27
|
+
bs as Unit,
|
|
28
|
+
f as ValueBuilder,
|
|
29
|
+
m as applyResponsiveStyles,
|
|
30
|
+
I as bindText,
|
|
31
|
+
P as collection,
|
|
32
|
+
y as computed,
|
|
33
|
+
vs as createPage,
|
|
34
|
+
O as createReactivityRoot,
|
|
31
35
|
x as createStore,
|
|
32
|
-
|
|
36
|
+
Fs as cssCurve,
|
|
33
37
|
M as endSsrRequest,
|
|
34
38
|
N as ensureInteractionFxCss,
|
|
35
39
|
_ as ensureListId,
|
|
36
|
-
w as
|
|
37
|
-
A as
|
|
38
|
-
B as
|
|
39
|
-
V as
|
|
40
|
+
w as fiboDevStats,
|
|
41
|
+
A as getCss,
|
|
42
|
+
B as getCurrentScope,
|
|
43
|
+
V as getMotionCss,
|
|
44
|
+
D as getStyleTag,
|
|
40
45
|
L as interactionEffectClass,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
U as interactionEffectKebab,
|
|
47
|
+
h as interp,
|
|
48
|
+
q as listSignal,
|
|
49
|
+
z as mount,
|
|
50
|
+
G as normalizeInteractionEffect,
|
|
51
|
+
K as observable,
|
|
52
|
+
Es as page,
|
|
53
|
+
W as resetFiboDevStats,
|
|
48
54
|
X as resolveCssEase,
|
|
49
55
|
j as runInScope,
|
|
50
56
|
k as scrollTo,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
57
|
+
H as signal,
|
|
58
|
+
J as springEase,
|
|
59
|
+
Q as startViewTransition,
|
|
60
|
+
Y as supportsScrollTimeline,
|
|
61
|
+
Z as supportsViewTimeline,
|
|
62
|
+
$ as toElement,
|
|
63
|
+
ss as useBuilderState,
|
|
64
|
+
as as useMountTransition,
|
|
65
|
+
es as useObservable,
|
|
66
|
+
ts as usePrefersReducedMotion,
|
|
67
|
+
rs as useProvider,
|
|
68
|
+
is as useReactiveStore,
|
|
69
|
+
os as useScrollProgress,
|
|
70
|
+
ns as useSignal,
|
|
71
|
+
ls as useSpring,
|
|
72
|
+
us as useStagger,
|
|
73
|
+
Ss as useTransition,
|
|
74
|
+
ds as withFiboStyles
|
|
69
75
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var L = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var i = (t, r, e) =>
|
|
2
|
+
var j = (t, r, e) => r in t ? L(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
|
+
var i = (t, r, e) => j(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import h from "react";
|
|
5
|
-
import {
|
|
5
|
+
import { b2 as w, b3 as E, aF as y, bc as I, a9 as R, aj as H, bd as M, b6 as N, b9 as D, b7 as $ } from "./client-3NdKI2xE.js";
|
|
6
6
|
import { jsx as s, jsxs as v } from "react/jsx-runtime";
|
|
7
|
-
function
|
|
7
|
+
function V(t) {
|
|
8
8
|
if (typeof t != "string") return "";
|
|
9
9
|
const r = t.trim();
|
|
10
10
|
return !r || I(r) ? "" : r;
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const q = ({ size: t }) => h.createElement(
|
|
13
13
|
"svg",
|
|
14
14
|
{
|
|
15
15
|
width: t,
|
|
@@ -25,16 +25,16 @@ const V = ({ size: t }) => h.createElement(
|
|
|
25
25
|
fill: "#6a6a6a"
|
|
26
26
|
})
|
|
27
27
|
), U = h.memo((t) => {
|
|
28
|
-
const { image: r, size: e, border: u, shape:
|
|
28
|
+
const { image: r, size: e, border: u, shape: f, status: d, initials: b, icon: p, alt: x, className: a, style: o, ...n } = t, c = V(r), _ = typeof e == "number" ? `${e}px` : e, l = typeof e == "number" ? e : 40, F = {
|
|
29
29
|
circle: "50%",
|
|
30
30
|
rounded: "24%",
|
|
31
31
|
square: "0"
|
|
32
|
-
},
|
|
32
|
+
}, C = {
|
|
33
33
|
none: "transparent",
|
|
34
34
|
online: "#10B981",
|
|
35
35
|
offline: "#9CA3AF",
|
|
36
36
|
busy: "#EF4444"
|
|
37
|
-
},
|
|
37
|
+
}, S = d !== "none" ? y().style({
|
|
38
38
|
position: "absolute",
|
|
39
39
|
bottom: "-2%",
|
|
40
40
|
right: "-2%",
|
|
@@ -42,16 +42,16 @@ const V = ({ size: t }) => h.createElement(
|
|
|
42
42
|
height: "28%",
|
|
43
43
|
minWidth: "10px",
|
|
44
44
|
minHeight: "10px",
|
|
45
|
-
backgroundColor:
|
|
45
|
+
backgroundColor: C[d],
|
|
46
46
|
borderRadius: "50%",
|
|
47
47
|
border: "3px solid #ffffff",
|
|
48
48
|
boxSizing: "content-box"
|
|
49
|
-
}).build() : null,
|
|
49
|
+
}).build() : null, g = typeof b == "string" ? b.trim().slice(0, 2).toUpperCase() : "", B = c ? null : g || (p === "user" ? h.createElement(q, { size: _ }) : p || null), W = typeof x == "string" && x.trim() || g || "Avatar", A = y().style({
|
|
50
50
|
width: "100%",
|
|
51
51
|
height: "100%",
|
|
52
|
-
borderRadius: F[
|
|
52
|
+
borderRadius: F[f],
|
|
53
53
|
backgroundImage: c ? `url(${JSON.stringify(c)})` : void 0,
|
|
54
|
-
backgroundColor: c ? void 0 : (o == null ? void 0 : o.backgroundColor) || (
|
|
54
|
+
backgroundColor: c ? void 0 : (o == null ? void 0 : o.backgroundColor) || (g ? "#ddd" : "transparent"),
|
|
55
55
|
backgroundSize: "cover",
|
|
56
56
|
backgroundPosition: "center",
|
|
57
57
|
border: u,
|
|
@@ -61,23 +61,23 @@ const V = ({ size: t }) => h.createElement(
|
|
|
61
61
|
justifyContent: "center",
|
|
62
62
|
overflow: "hidden",
|
|
63
63
|
color: (o == null ? void 0 : o.color) || "#555",
|
|
64
|
-
fontSize:
|
|
64
|
+
fontSize: l * 0.42,
|
|
65
65
|
fontWeight: 500,
|
|
66
66
|
lineHeight: 1
|
|
67
|
-
}).children([
|
|
68
|
-
return y().className(`fibo-avatar ${
|
|
69
|
-
...
|
|
67
|
+
}).children([B]).build();
|
|
68
|
+
return y().className(`fibo-avatar ${a || ""}`).props({
|
|
69
|
+
...n,
|
|
70
70
|
role: "img",
|
|
71
|
-
"aria-label":
|
|
71
|
+
"aria-label": W
|
|
72
72
|
}).style({
|
|
73
73
|
position: "relative",
|
|
74
74
|
width: _,
|
|
75
75
|
height: _,
|
|
76
76
|
...o,
|
|
77
77
|
overflow: "visible"
|
|
78
|
-
}).children([A,
|
|
78
|
+
}).children([A, S]).build();
|
|
79
79
|
});
|
|
80
|
-
class
|
|
80
|
+
class T extends E {
|
|
81
81
|
constructor() {
|
|
82
82
|
super(...arguments);
|
|
83
83
|
i(this, "_image", "");
|
|
@@ -134,25 +134,25 @@ class q extends E {
|
|
|
134
134
|
return h.createElement(U, e);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
const
|
|
138
|
-
function
|
|
137
|
+
const ie = w(T);
|
|
138
|
+
function P(t) {
|
|
139
139
|
return t === "success" || t === "warning" || t === "error" || t === "info" ? t : "none";
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function G(t) {
|
|
142
142
|
return t === "accent" || t === "outline" || t === "glass" || t === "solid" || t === "dot" || t === "neutral" ? t : "neutral";
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function J(t) {
|
|
145
145
|
return t === "pill" ? "pill" : "rounded";
|
|
146
146
|
}
|
|
147
|
-
const
|
|
148
|
-
const { text: r, icon: e, variant: u, intent:
|
|
147
|
+
const O = h.memo((t) => {
|
|
148
|
+
const { text: r, icon: e, variant: u, intent: f, shape: d, className: b, style: p, ...x } = t, a = P(f), o = G(u), n = J(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" },
|
|
152
152
|
error: { bg: "#FFF1F2", text: "#E11D48", border: "transparent" },
|
|
153
153
|
info: { bg: "#EFF6FF", text: "#2563EB", border: "transparent" }
|
|
154
154
|
};
|
|
155
|
-
let
|
|
155
|
+
let l = { ...{
|
|
156
156
|
neutral: { backgroundColor: "#F9FAFB", color: "#6B7280", border: "1px solid #E5E7EB" },
|
|
157
157
|
accent: { backgroundColor: "#EFF6FF", color: "#3B82F6", border: "none" },
|
|
158
158
|
outline: { backgroundColor: "transparent", color: "#FFFFFF", border: "1px solid rgba(255,255,255,0.3)" },
|
|
@@ -165,29 +165,29 @@ const J = h.memo((t) => {
|
|
|
165
165
|
solid: { backgroundColor: "#111827", color: "#FFFFFF", border: "none" },
|
|
166
166
|
dot: { backgroundColor: "transparent", color: "#6B7280", border: "1px solid #E5E7EB", padding: "4px 10px" }
|
|
167
167
|
}[o] };
|
|
168
|
-
if (
|
|
169
|
-
const
|
|
168
|
+
if (a !== "none") {
|
|
169
|
+
const g = c[a];
|
|
170
170
|
if (o === "solid") {
|
|
171
|
-
const
|
|
171
|
+
const B = {
|
|
172
172
|
none: "#111827",
|
|
173
173
|
success: "#059669",
|
|
174
174
|
warning: "#D97706",
|
|
175
175
|
error: "#E11D48",
|
|
176
176
|
info: "#2563EB"
|
|
177
177
|
};
|
|
178
|
-
|
|
179
|
-
} else o === "dot" ? (
|
|
178
|
+
l.backgroundColor = B[a], l.color = "#FFFFFF";
|
|
179
|
+
} else o === "dot" ? (l.color = "#374151", l.borderColor = "#E5E7EB") : (l.backgroundColor = g.bg, l.color = g.text, g.border ? l.border = `1px solid ${g.border}` : l.border = "none");
|
|
180
180
|
}
|
|
181
181
|
const F = {
|
|
182
182
|
pill: "9999px",
|
|
183
183
|
rounded: "8px"
|
|
184
|
-
},
|
|
185
|
-
role:
|
|
186
|
-
"aria-live":
|
|
184
|
+
}, C = a === "error" || a === "warning", S = a === "none" ? {} : {
|
|
185
|
+
role: C ? "alert" : "status",
|
|
186
|
+
"aria-live": C ? "assertive" : "polite"
|
|
187
187
|
};
|
|
188
188
|
return y().className(b).style({
|
|
189
|
-
...
|
|
190
|
-
borderRadius: F[
|
|
189
|
+
...l,
|
|
190
|
+
borderRadius: F[n],
|
|
191
191
|
padding: o === "dot" ? "4px 8px" : "4px 10px",
|
|
192
192
|
display: "inline-flex",
|
|
193
193
|
alignItems: "center",
|
|
@@ -199,22 +199,22 @@ const J = h.memo((t) => {
|
|
|
199
199
|
...p
|
|
200
200
|
}).props({
|
|
201
201
|
...x,
|
|
202
|
-
...
|
|
202
|
+
...S
|
|
203
203
|
}).children(
|
|
204
|
-
|
|
205
|
-
o === "dot" &&
|
|
204
|
+
R().gap(6).alignItems("center").children([
|
|
205
|
+
o === "dot" && a !== "none" ? y().style({
|
|
206
206
|
width: "6px",
|
|
207
207
|
height: "6px",
|
|
208
208
|
borderRadius: "50%",
|
|
209
|
-
backgroundColor: c[
|
|
210
|
-
boxShadow: `0 0 6px ${c[
|
|
209
|
+
backgroundColor: c[a].text,
|
|
210
|
+
boxShadow: `0 0 6px ${c[a].text}66`
|
|
211
211
|
}).props({ "aria-hidden": !0 }).build() : null,
|
|
212
212
|
e ? y().classNames(["flex", "items-center"]).children(e).build() : null,
|
|
213
213
|
H(r).fontSize(12).fontWeight(600).style({ color: "inherit" }).build()
|
|
214
214
|
]).build()
|
|
215
215
|
).build();
|
|
216
216
|
});
|
|
217
|
-
class
|
|
217
|
+
class K extends E {
|
|
218
218
|
constructor() {
|
|
219
219
|
super(...arguments);
|
|
220
220
|
i(this, "_text", "");
|
|
@@ -249,56 +249,58 @@ class O extends E {
|
|
|
249
249
|
style: this.getStyle(),
|
|
250
250
|
...this._props
|
|
251
251
|
};
|
|
252
|
-
return h.createElement(
|
|
252
|
+
return h.createElement(O, e);
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
const
|
|
255
|
+
const se = w(K);
|
|
256
256
|
function z(t, r) {
|
|
257
|
-
if (!(typeof r != "string" || !
|
|
258
|
-
for (const e of
|
|
257
|
+
if (!(typeof r != "string" || !N(r)))
|
|
258
|
+
for (const e of D(r))
|
|
259
259
|
t.bindSignal(e);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
return typeof t != "string" ? "" :
|
|
261
|
+
function k(t) {
|
|
262
|
+
return typeof t != "string" ? "" : N(t) ? $(t) : t;
|
|
263
263
|
}
|
|
264
|
-
const
|
|
264
|
+
const Q = {
|
|
265
265
|
circle: "50%",
|
|
266
266
|
rounded: "8px",
|
|
267
267
|
square: "0px"
|
|
268
|
-
},
|
|
268
|
+
}, X = h.memo((t) => {
|
|
269
269
|
const {
|
|
270
270
|
src: r,
|
|
271
271
|
alt: e,
|
|
272
272
|
fit: u,
|
|
273
|
-
resizable:
|
|
273
|
+
resizable: f,
|
|
274
274
|
clipShape: d,
|
|
275
275
|
frameWidth: b,
|
|
276
276
|
frameHeight: p,
|
|
277
277
|
className: x,
|
|
278
|
-
style:
|
|
278
|
+
style: a,
|
|
279
279
|
...o
|
|
280
|
-
} = t,
|
|
281
|
-
if (u && (
|
|
280
|
+
} = t, n = { ...a };
|
|
281
|
+
if (n.display = n.display ?? "block", u && (n.objectFit = u), b && (n.width = `${b}px`), p && (n.height = `${p}px`), f && (n.maxWidth = "100%", p || (n.height = "auto")), d === "circle" || d === "rounded" || d === "square") {
|
|
282
282
|
const F = d;
|
|
283
|
-
|
|
283
|
+
n.overflow = "hidden", n.borderRadius = Q[F];
|
|
284
284
|
}
|
|
285
|
-
const c =
|
|
285
|
+
const c = k(typeof r == "string" ? r : ""), _ = c && !I(c) ? c : void 0, l = k(typeof e == "string" ? e : "");
|
|
286
286
|
return h.createElement("img", {
|
|
287
287
|
...o,
|
|
288
288
|
src: _,
|
|
289
|
-
alt:
|
|
289
|
+
alt: l,
|
|
290
290
|
className: x,
|
|
291
|
-
style:
|
|
291
|
+
style: n
|
|
292
292
|
});
|
|
293
293
|
});
|
|
294
|
-
class
|
|
294
|
+
class Y extends E {
|
|
295
295
|
constructor(e = "") {
|
|
296
296
|
super();
|
|
297
297
|
i(this, "_src", "");
|
|
298
298
|
i(this, "_alt", "");
|
|
299
299
|
i(this, "_fit", "cover");
|
|
300
300
|
i(this, "_resizable", !1);
|
|
301
|
-
|
|
301
|
+
/** Image-native clip (Tailwind / borderRadius on `<img>`). Distinct from
|
|
302
|
+
* {@link FiboBuilder.clipShape} chrome wrapper. */
|
|
303
|
+
i(this, "_imageClipShape");
|
|
302
304
|
i(this, "_frameWidth");
|
|
303
305
|
i(this, "_frameHeight");
|
|
304
306
|
i(this, "_foregroundStyle");
|
|
@@ -319,36 +321,42 @@ class K extends E {
|
|
|
319
321
|
scaledToFill() {
|
|
320
322
|
return this._fit = "cover", this;
|
|
321
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* Fixed numeric `{ width, height }` still paints on the `<img>` (tests +
|
|
326
|
+
* object-fit). Any flexible SwiftUI frame (`maxWidth: Size.infinity`, …)
|
|
327
|
+
* goes through {@link FiboBuilder.frame} (wrapper).
|
|
328
|
+
*/
|
|
322
329
|
frame(e) {
|
|
323
|
-
return this._frameWidth = e.width, this._frameHeight = e.height, this;
|
|
330
|
+
return M(e) ? (this._frameWidth = e.width, this._frameHeight = e.height, this) : super.frame(e);
|
|
324
331
|
}
|
|
332
|
+
/** Named shapes paint on `<img>`; other radii use base chrome wrapper. */
|
|
325
333
|
clipShape(e) {
|
|
326
|
-
return this.
|
|
334
|
+
return e === "circle" || e === "rounded" || e === "square" ? (this._imageClipShape = e, this) : super.clipShape(e);
|
|
327
335
|
}
|
|
328
336
|
foregroundStyle(e) {
|
|
329
337
|
return this._foregroundStyle = e, this;
|
|
330
338
|
}
|
|
331
339
|
build() {
|
|
332
340
|
const e = ["fibo-image", ...this._classNames];
|
|
333
|
-
this.
|
|
334
|
-
const u = e.filter(Boolean).join(" "),
|
|
335
|
-
this._foregroundStyle && (
|
|
341
|
+
this._imageClipShape === "circle" ? e.push("rounded-full") : this._imageClipShape === "rounded" && e.push("rounded-lg");
|
|
342
|
+
const u = e.filter(Boolean).join(" "), f = this.getStyle();
|
|
343
|
+
this._foregroundStyle && (f.color = this._foregroundStyle);
|
|
336
344
|
const d = {
|
|
337
345
|
...this._props,
|
|
338
|
-
src:
|
|
339
|
-
alt:
|
|
346
|
+
src: k(this._src),
|
|
347
|
+
alt: k(this._alt),
|
|
340
348
|
fit: this._fit,
|
|
341
349
|
resizable: this._resizable,
|
|
342
|
-
clipShape: this.
|
|
350
|
+
clipShape: this._imageClipShape,
|
|
343
351
|
frameWidth: this._frameWidth,
|
|
344
352
|
frameHeight: this._frameHeight,
|
|
345
353
|
className: u,
|
|
346
|
-
style:
|
|
354
|
+
style: f
|
|
347
355
|
};
|
|
348
|
-
return h.createElement(
|
|
356
|
+
return h.createElement(X, d);
|
|
349
357
|
}
|
|
350
358
|
}
|
|
351
|
-
const
|
|
359
|
+
const oe = w(Y), m = { "aria-hidden": !0, focusable: "false" }, ne = {
|
|
352
360
|
Heart: /* @__PURE__ */ s("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...m, children: /* @__PURE__ */ s("path", { d: "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" }) }),
|
|
353
361
|
Eth: /* @__PURE__ */ s("svg", { width: "14", height: "24", viewBox: "0 0 32 32", fill: "currentColor", ...m, children: /* @__PURE__ */ s("path", { d: "M15.925 23.96l-9.815-5.8 9.815 13.84 9.825-13.84-9.825 5.8zm0-23.96l-9.815 16.275 9.815 5.675 9.825-5.675-9.825-16.275zm0 20.3l-8.915-5.265 8.915-12.42 8.925 12.42-8.925 5.265z" }) }),
|
|
354
362
|
Verify: /* @__PURE__ */ s("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "#3B82F6", stroke: "none", role: "img", "aria-label": "Verified", "aria-hidden": !1, focusable: "false", children: /* @__PURE__ */ s("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" }) }),
|
|
@@ -376,8 +384,8 @@ const se = C(K), m = { "aria-hidden": !0, focusable: "false" }, oe = {
|
|
|
376
384
|
] })
|
|
377
385
|
};
|
|
378
386
|
export {
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
387
|
+
ie as A,
|
|
388
|
+
se as B,
|
|
389
|
+
oe as I,
|
|
390
|
+
ne as a
|
|
383
391
|
};
|
|
@@ -2,8 +2,8 @@ var ae = Object.defineProperty;
|
|
|
2
2
|
var ie = (s, r, e) => r in s ? ae(s, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[r] = e;
|
|
3
3
|
var i = (s, r, e) => ie(s, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import t from "react";
|
|
5
|
-
import {
|
|
6
|
-
import { a as F } from "./icons-
|
|
5
|
+
import { b2 as I, b3 as $, b6 as z, b9 as R, b7 as q, z as le, bc as Z, bA as oe } from "./client-3NdKI2xE.js";
|
|
6
|
+
import { a as F } from "./icons-DS8J4SFk.js";
|
|
7
7
|
function ce(s, r) {
|
|
8
8
|
if (!(typeof r != "string" || !z(r)))
|
|
9
9
|
for (const e of R(r))
|
|
@@ -303,7 +303,7 @@ function H(s, r) {
|
|
|
303
303
|
for (const e of R(r))
|
|
304
304
|
s.bindSignal(e);
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function K(s) {
|
|
307
307
|
return typeof s != "string" ? s : z(s) ? q(s) : s;
|
|
308
308
|
}
|
|
309
309
|
const _e = {
|
|
@@ -432,8 +432,8 @@ class $e extends $ {
|
|
|
432
432
|
}
|
|
433
433
|
build() {
|
|
434
434
|
const e = {
|
|
435
|
-
title:
|
|
436
|
-
description:
|
|
435
|
+
title: K(this._title),
|
|
436
|
+
description: K(this._description),
|
|
437
437
|
intent: this._intent,
|
|
438
438
|
className: this.getClassName(),
|
|
439
439
|
style: this.getStyle(),
|
|
@@ -443,7 +443,7 @@ class $e extends $ {
|
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
445
|
const Ue = I($e);
|
|
446
|
-
function
|
|
446
|
+
function X(s, r) {
|
|
447
447
|
if (!(typeof r != "string" || !z(r)))
|
|
448
448
|
for (const e of R(r))
|
|
449
449
|
s.bindSignal(e);
|
|
@@ -804,10 +804,10 @@ class Le extends $ {
|
|
|
804
804
|
return this._variant = e, this;
|
|
805
805
|
}
|
|
806
806
|
label(e) {
|
|
807
|
-
return this._label = e,
|
|
807
|
+
return this._label = e, X(this, e), this;
|
|
808
808
|
}
|
|
809
809
|
subLabel(e) {
|
|
810
|
-
return this._subLabel = e,
|
|
810
|
+
return this._subLabel = e, X(this, e), this;
|
|
811
811
|
}
|
|
812
812
|
items(e) {
|
|
813
813
|
return this._items = e, this;
|
|
@@ -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 { b2 as g, b3 as d, ba as N, bb as C, b7 as j, b6 as _, b9 as z } from "./client-3NdKI2xE.js";
|
|
6
6
|
function B(s, e) {
|
|
7
7
|
if (!(typeof e != "string" || !_(e)))
|
|
8
8
|
for (const t of z(e))
|
|
@@ -107,7 +107,7 @@ class $ extends d {
|
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const R = g($);
|
|
111
111
|
function f(s) {
|
|
112
112
|
return typeof s == "number" ? `${s}px` : s;
|
|
113
113
|
}
|
|
@@ -151,8 +151,8 @@ class H extends d {
|
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
const
|
|
154
|
+
const T = g(H);
|
|
155
155
|
export {
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
R as C,
|
|
157
|
+
T as S
|
|
158
158
|
};
|