fiboui 2.9.6 → 2.9.15
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-DspTEDnT.js → client-CNrWulRU.js} +1604 -1525
- package/dist/content.d.ts +14 -1
- package/dist/content.js +10 -10
- package/dist/core.d.ts +32 -1
- package/dist/core.js +56 -54
- package/dist/{icons-uTGNZEj2.js → icons-CUjbVN8n.js} +126 -112
- package/dist/{index-BK9NhRgp.js → index-BBa7p7cv.js} +6 -6
- package/dist/{index-CE3dybe8.js → index-Bcf-s8v0.js} +145 -138
- package/dist/{index-vSLH4ZkD.js → index-COE2gXjP.js} +1 -1
- package/dist/{index-B7vkEz57.js → index-CpUz5DNt.js} +39 -39
- package/dist/{index-pxNM6-DO.js → index-Dm9qGQyL.js} +2 -2
- package/dist/index.d.ts +51 -2
- package/dist/index.js +1303 -1170
- package/dist/interactive.d.ts +2 -0
- package/dist/interactive.js +6 -6
- package/dist/layout.d.ts +2 -0
- package/dist/layout.js +3 -3
- package/dist/{metadata-BqVnmMLq.js → metadata-CElV09j3.js} +20 -20
- package/dist/navigation.js +2 -2
- package/dist/{page-CQCVouvN.js → page-LLSMLaL2.js} +81 -82
- package/dist/server.d.ts +2 -0
- package/dist/server.js +2346 -2897
- package/dist/structure.d.ts +2 -0
- package/dist/structure.js +8 -8
- package/dist/style.css +1 -1
- package/dist/theme.js +3 -3
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var i = (t, r, e) =>
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { jsx as
|
|
1
|
+
var A = Object.defineProperty;
|
|
2
|
+
var L = (t, r, e) => r in t ? A(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
|
+
var i = (t, r, e) => L(t, typeof r != "symbol" ? r + "" : r, e);
|
|
4
|
+
import c from "react";
|
|
5
|
+
import { b4 as w, b5 as E, aH as y, bf as I, ab as P, al as H, bg as R, bh as M, b8 as j, bb as D, b9 as $ } from "./client-CNrWulRU.js";
|
|
6
|
+
import { jsx as o, jsxs as k } from "react/jsx-runtime";
|
|
7
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 q = ({ size: t }) =>
|
|
12
|
+
const q = ({ size: t }) => c.createElement(
|
|
13
13
|
"svg",
|
|
14
14
|
{
|
|
15
15
|
width: t,
|
|
@@ -18,23 +18,23 @@ const q = ({ size: t }) => h.createElement(
|
|
|
18
18
|
"aria-hidden": !0,
|
|
19
19
|
className: "fibo-avatar-user"
|
|
20
20
|
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
c.createElement("circle", { cx: 12, cy: 12, r: 12, fill: "#f2f2f2" }),
|
|
22
|
+
c.createElement("circle", { cx: 12, cy: 9.4, r: 3.6, fill: "#6a6a6a" }),
|
|
23
|
+
c.createElement("path", {
|
|
24
24
|
d: "M5.6 19.2c.9-3.1 3.4-5 6.4-5s5.5 1.9 6.4 5C16.6 20.6 14.4 21.4 12 21.4s-4.6-.8-6.4-2.2z",
|
|
25
25
|
fill: "#6a6a6a"
|
|
26
26
|
})
|
|
27
|
-
), U =
|
|
28
|
-
const { image: r, size: e, border:
|
|
27
|
+
), U = c.memo((t) => {
|
|
28
|
+
const { image: r, size: e, border: h, shape: d, status: f, initials: u, icon: g, alt: b, className: a, style: n, ...F } = t, s = V(r), m = typeof e == "number" ? `${e}px` : e, l = typeof e == "number" ? e : 40, v = {
|
|
29
29
|
circle: "50%",
|
|
30
30
|
rounded: "24%",
|
|
31
31
|
square: "0"
|
|
32
|
-
},
|
|
32
|
+
}, _ = {
|
|
33
33
|
none: "transparent",
|
|
34
34
|
online: "#10B981",
|
|
35
35
|
offline: "#9CA3AF",
|
|
36
36
|
busy: "#EF4444"
|
|
37
|
-
}, S =
|
|
37
|
+
}, S = f !== "none" ? y().style({
|
|
38
38
|
position: "absolute",
|
|
39
39
|
bottom: "-2%",
|
|
40
40
|
right: "-2%",
|
|
@@ -42,40 +42,40 @@ const q = ({ size: t }) => h.createElement(
|
|
|
42
42
|
height: "28%",
|
|
43
43
|
minWidth: "10px",
|
|
44
44
|
minHeight: "10px",
|
|
45
|
-
backgroundColor:
|
|
45
|
+
backgroundColor: _[f],
|
|
46
46
|
borderRadius: "50%",
|
|
47
47
|
border: "3px solid #ffffff",
|
|
48
48
|
boxSizing: "content-box"
|
|
49
|
-
}).build() : null,
|
|
49
|
+
}).build() : null, p = typeof u == "string" ? u.trim().slice(0, 2).toUpperCase() : "", B = s ? null : p || (g === "user" ? c.createElement(q, { size: m }) : g || null), N = typeof b == "string" && b.trim() || p || "Avatar", W = y().style({
|
|
50
50
|
width: "100%",
|
|
51
51
|
height: "100%",
|
|
52
|
-
borderRadius:
|
|
53
|
-
backgroundImage:
|
|
54
|
-
backgroundColor:
|
|
52
|
+
borderRadius: v[d],
|
|
53
|
+
backgroundImage: s ? `url(${JSON.stringify(s)})` : void 0,
|
|
54
|
+
backgroundColor: s ? void 0 : (n == null ? void 0 : n.backgroundColor) || (p ? "#ddd" : "transparent"),
|
|
55
55
|
backgroundSize: "cover",
|
|
56
56
|
backgroundPosition: "center",
|
|
57
|
-
border:
|
|
58
|
-
boxShadow:
|
|
57
|
+
border: h,
|
|
58
|
+
boxShadow: h !== "none" ? "0 2px 8px rgba(0,0,0,0.05)" : "none",
|
|
59
59
|
display: "flex",
|
|
60
60
|
alignItems: "center",
|
|
61
61
|
justifyContent: "center",
|
|
62
62
|
overflow: "hidden",
|
|
63
|
-
color: (
|
|
63
|
+
color: (n == null ? void 0 : n.color) || "#555",
|
|
64
64
|
fontSize: l * 0.42,
|
|
65
65
|
fontWeight: 500,
|
|
66
66
|
lineHeight: 1
|
|
67
67
|
}).children([B]).build();
|
|
68
68
|
return y().className(`fibo-avatar ${a || ""}`).props({
|
|
69
|
-
...
|
|
69
|
+
...F,
|
|
70
70
|
role: "img",
|
|
71
|
-
"aria-label":
|
|
71
|
+
"aria-label": N
|
|
72
72
|
}).style({
|
|
73
73
|
position: "relative",
|
|
74
|
-
width:
|
|
75
|
-
height:
|
|
76
|
-
...
|
|
74
|
+
width: m,
|
|
75
|
+
height: m,
|
|
76
|
+
...n,
|
|
77
77
|
overflow: "visible"
|
|
78
|
-
}).children([
|
|
78
|
+
}).children([W, S]).build();
|
|
79
79
|
});
|
|
80
80
|
class T extends E {
|
|
81
81
|
constructor() {
|
|
@@ -131,11 +131,11 @@ class T extends E {
|
|
|
131
131
|
className: this.getClassName(),
|
|
132
132
|
style: this.getStyle()
|
|
133
133
|
};
|
|
134
|
-
return
|
|
134
|
+
return c.createElement(U, e);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
const
|
|
138
|
-
function
|
|
137
|
+
const se = w(T);
|
|
138
|
+
function O(t) {
|
|
139
139
|
return t === "success" || t === "warning" || t === "error" || t === "info" ? t : "none";
|
|
140
140
|
}
|
|
141
141
|
function G(t) {
|
|
@@ -144,8 +144,8 @@ function G(t) {
|
|
|
144
144
|
function J(t) {
|
|
145
145
|
return t === "pill" ? "pill" : "rounded";
|
|
146
146
|
}
|
|
147
|
-
const
|
|
148
|
-
const { text: r, icon: e, variant:
|
|
147
|
+
const K = c.memo((t) => {
|
|
148
|
+
const { text: r, icon: e, variant: h, intent: d, shape: f, className: u, style: g, ...b } = t, a = O(d), n = G(h), F = J(f), s = {
|
|
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" },
|
|
@@ -164,10 +164,10 @@ const O = h.memo((t) => {
|
|
|
164
164
|
},
|
|
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
|
+
}[n] };
|
|
168
168
|
if (a !== "none") {
|
|
169
|
-
const
|
|
170
|
-
if (
|
|
169
|
+
const p = s[a];
|
|
170
|
+
if (n === "solid") {
|
|
171
171
|
const B = {
|
|
172
172
|
none: "#111827",
|
|
173
173
|
success: "#059669",
|
|
@@ -176,19 +176,19 @@ const O = h.memo((t) => {
|
|
|
176
176
|
info: "#2563EB"
|
|
177
177
|
};
|
|
178
178
|
l.backgroundColor = B[a], l.color = "#FFFFFF";
|
|
179
|
-
} else
|
|
179
|
+
} else n === "dot" ? (l.color = "#374151", l.borderColor = "#E5E7EB") : (l.backgroundColor = p.bg, l.color = p.text, p.border ? l.border = `1px solid ${p.border}` : l.border = "none");
|
|
180
180
|
}
|
|
181
|
-
const
|
|
181
|
+
const v = {
|
|
182
182
|
pill: "9999px",
|
|
183
183
|
rounded: "8px"
|
|
184
|
-
},
|
|
185
|
-
role:
|
|
186
|
-
"aria-live":
|
|
184
|
+
}, _ = a === "error" || a === "warning", S = a === "none" ? {} : {
|
|
185
|
+
role: _ ? "alert" : "status",
|
|
186
|
+
"aria-live": _ ? "assertive" : "polite"
|
|
187
187
|
};
|
|
188
|
-
return y().className(
|
|
188
|
+
return y().className(u).style({
|
|
189
189
|
...l,
|
|
190
|
-
borderRadius: F
|
|
191
|
-
padding:
|
|
190
|
+
borderRadius: v[F],
|
|
191
|
+
padding: n === "dot" ? "4px 8px" : "4px 10px",
|
|
192
192
|
display: "inline-flex",
|
|
193
193
|
alignItems: "center",
|
|
194
194
|
justifyContent: "center",
|
|
@@ -196,25 +196,25 @@ const O = h.memo((t) => {
|
|
|
196
196
|
fontSize: "11px",
|
|
197
197
|
lineHeight: "1",
|
|
198
198
|
fontWeight: 600,
|
|
199
|
-
...
|
|
199
|
+
...g
|
|
200
200
|
}).props({
|
|
201
|
-
...
|
|
201
|
+
...b,
|
|
202
202
|
...S
|
|
203
203
|
}).children(
|
|
204
|
-
|
|
205
|
-
|
|
204
|
+
P().gap(6).alignItems("center").children([
|
|
205
|
+
n === "dot" && a !== "none" ? y().style({
|
|
206
206
|
width: "6px",
|
|
207
207
|
height: "6px",
|
|
208
208
|
borderRadius: "50%",
|
|
209
|
-
backgroundColor:
|
|
210
|
-
boxShadow: `0 0 6px ${
|
|
209
|
+
backgroundColor: s[a].text,
|
|
210
|
+
boxShadow: `0 0 6px ${s[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 Q extends E {
|
|
218
218
|
constructor() {
|
|
219
219
|
super(...arguments);
|
|
220
220
|
i(this, "_text", "");
|
|
@@ -249,54 +249,56 @@ class K extends E {
|
|
|
249
249
|
style: this.getStyle(),
|
|
250
250
|
...this._props
|
|
251
251
|
};
|
|
252
|
-
return
|
|
252
|
+
return c.createElement(K, e);
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
const
|
|
255
|
+
const oe = w(Q);
|
|
256
256
|
function z(t, r) {
|
|
257
|
-
if (!(typeof r != "string" || !
|
|
257
|
+
if (!(typeof r != "string" || !j(r)))
|
|
258
258
|
for (const e of D(r))
|
|
259
259
|
t.bindSignal(e);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
return typeof t != "string" ? "" :
|
|
261
|
+
function C(t) {
|
|
262
|
+
return typeof t != "string" ? "" : j(t) ? $(t) : t;
|
|
263
263
|
}
|
|
264
|
-
const
|
|
264
|
+
const X = {
|
|
265
265
|
circle: "50%",
|
|
266
266
|
rounded: "8px",
|
|
267
267
|
square: "0px"
|
|
268
|
-
},
|
|
268
|
+
}, Y = c.memo((t) => {
|
|
269
269
|
const {
|
|
270
270
|
src: r,
|
|
271
271
|
alt: e,
|
|
272
|
-
fit:
|
|
272
|
+
fit: h,
|
|
273
|
+
objectPosition: d,
|
|
273
274
|
resizable: f,
|
|
274
|
-
clipShape:
|
|
275
|
-
frameWidth:
|
|
276
|
-
frameHeight:
|
|
277
|
-
className:
|
|
278
|
-
style:
|
|
279
|
-
...
|
|
280
|
-
} = t,
|
|
281
|
-
if (
|
|
282
|
-
const
|
|
283
|
-
|
|
275
|
+
clipShape: u,
|
|
276
|
+
frameWidth: g,
|
|
277
|
+
frameHeight: b,
|
|
278
|
+
className: a,
|
|
279
|
+
style: n,
|
|
280
|
+
...F
|
|
281
|
+
} = t, s = { ...n };
|
|
282
|
+
if (s.display = s.display ?? "block", h && (s.objectFit = h), d && (s.objectPosition = d), g && (s.width = `${g}px`), b && (s.height = `${b}px`), f && (s.maxWidth = "100%", b || (s.height = "auto")), u === "circle" || u === "rounded" || u === "square") {
|
|
283
|
+
const _ = u;
|
|
284
|
+
s.overflow = "hidden", s.borderRadius = X[_];
|
|
284
285
|
}
|
|
285
|
-
const
|
|
286
|
-
return
|
|
287
|
-
...
|
|
288
|
-
src:
|
|
289
|
-
alt:
|
|
290
|
-
className:
|
|
291
|
-
style:
|
|
286
|
+
const m = C(typeof r == "string" ? r : ""), l = m && !I(m) ? m : void 0, v = C(typeof e == "string" ? e : "");
|
|
287
|
+
return c.createElement("img", {
|
|
288
|
+
...F,
|
|
289
|
+
src: l,
|
|
290
|
+
alt: v,
|
|
291
|
+
className: a,
|
|
292
|
+
style: s
|
|
292
293
|
});
|
|
293
294
|
});
|
|
294
|
-
class
|
|
295
|
+
class Z extends E {
|
|
295
296
|
constructor(e = "") {
|
|
296
297
|
super();
|
|
297
298
|
i(this, "_src", "");
|
|
298
299
|
i(this, "_alt", "");
|
|
299
300
|
i(this, "_fit", "cover");
|
|
301
|
+
i(this, "_objectPosition");
|
|
300
302
|
i(this, "_resizable", !1);
|
|
301
303
|
/** Image-native clip (Tailwind / borderRadius on `<img>`). Distinct from
|
|
302
304
|
* {@link FiboBuilder.clipShape} chrome wrapper. */
|
|
@@ -318,8 +320,19 @@ class Y extends E {
|
|
|
318
320
|
scaledToFit() {
|
|
319
321
|
return this._fit = "contain", this;
|
|
320
322
|
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
+
/**
|
|
324
|
+
* Cover the frame (`object-fit: cover`). Optional alignment biases the crop
|
|
325
|
+
* — e.g. `scaledToFill(StackAlign.top)` keeps faces in a wide short hero.
|
|
326
|
+
*/
|
|
327
|
+
scaledToFill(e) {
|
|
328
|
+
return this._fit = "cover", e != null && this.objectPosition(e), this;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* CSS `object-position` for cover/contain crops.
|
|
332
|
+
* Accepts {@link StackAlign} (`top`, `topLeft`, …) or a raw CSS value (`'50% 20%'`).
|
|
333
|
+
*/
|
|
334
|
+
objectPosition(e) {
|
|
335
|
+
return this._objectPosition = R(e), this;
|
|
323
336
|
}
|
|
324
337
|
/**
|
|
325
338
|
* Fixed numeric `{ width, height }` still paints on the `<img>` (tests +
|
|
@@ -339,53 +352,54 @@ class Y extends E {
|
|
|
339
352
|
build() {
|
|
340
353
|
const e = ["fibo-image", ...this._classNames];
|
|
341
354
|
this._imageClipShape === "circle" ? e.push("rounded-full") : this._imageClipShape === "rounded" && e.push("rounded-lg");
|
|
342
|
-
const
|
|
343
|
-
this._foregroundStyle && (
|
|
344
|
-
const
|
|
355
|
+
const h = e.filter(Boolean).join(" "), d = this.getStyle();
|
|
356
|
+
this._foregroundStyle && (d.color = this._foregroundStyle);
|
|
357
|
+
const f = {
|
|
345
358
|
...this._props,
|
|
346
|
-
src:
|
|
347
|
-
alt:
|
|
359
|
+
src: C(this._src),
|
|
360
|
+
alt: C(this._alt),
|
|
348
361
|
fit: this._fit,
|
|
362
|
+
objectPosition: this._objectPosition,
|
|
349
363
|
resizable: this._resizable,
|
|
350
364
|
clipShape: this._imageClipShape,
|
|
351
365
|
frameWidth: this._frameWidth,
|
|
352
366
|
frameHeight: this._frameHeight,
|
|
353
|
-
className:
|
|
354
|
-
style:
|
|
367
|
+
className: h,
|
|
368
|
+
style: d
|
|
355
369
|
};
|
|
356
|
-
return
|
|
370
|
+
return c.createElement(Y, f);
|
|
357
371
|
}
|
|
358
372
|
}
|
|
359
|
-
const
|
|
360
|
-
Heart: /* @__PURE__ */
|
|
361
|
-
Eth: /* @__PURE__ */
|
|
362
|
-
Verify: /* @__PURE__ */
|
|
363
|
-
More: /* @__PURE__ */
|
|
364
|
-
/* @__PURE__ */
|
|
365
|
-
/* @__PURE__ */
|
|
366
|
-
/* @__PURE__ */
|
|
373
|
+
const ne = w(Z), x = { "aria-hidden": !0, focusable: "false" }, ae = {
|
|
374
|
+
Heart: /* @__PURE__ */ o("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...x, children: /* @__PURE__ */ o("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" }) }),
|
|
375
|
+
Eth: /* @__PURE__ */ o("svg", { width: "14", height: "24", viewBox: "0 0 32 32", fill: "currentColor", ...x, children: /* @__PURE__ */ o("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" }) }),
|
|
376
|
+
Verify: /* @__PURE__ */ o("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__ */ o("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" }) }),
|
|
377
|
+
More: /* @__PURE__ */ k("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...x, children: [
|
|
378
|
+
/* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "1" }),
|
|
379
|
+
/* @__PURE__ */ o("circle", { cx: "19", cy: "12", r: "1" }),
|
|
380
|
+
/* @__PURE__ */ o("circle", { cx: "5", cy: "12", r: "1" })
|
|
367
381
|
] }),
|
|
368
|
-
Clock: /* @__PURE__ */
|
|
369
|
-
/* @__PURE__ */
|
|
370
|
-
/* @__PURE__ */
|
|
382
|
+
Clock: /* @__PURE__ */ k("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...x, children: [
|
|
383
|
+
/* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "10" }),
|
|
384
|
+
/* @__PURE__ */ o("polyline", { points: "12 6 12 12 16 14" })
|
|
371
385
|
] }),
|
|
372
|
-
Info: /* @__PURE__ */
|
|
373
|
-
/* @__PURE__ */
|
|
374
|
-
/* @__PURE__ */
|
|
375
|
-
/* @__PURE__ */
|
|
386
|
+
Info: /* @__PURE__ */ k("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...x, children: [
|
|
387
|
+
/* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "10" }),
|
|
388
|
+
/* @__PURE__ */ o("line", { x1: "12", y1: "16", x2: "12", y2: "12" }),
|
|
389
|
+
/* @__PURE__ */ o("line", { x1: "12", y1: "8", x2: "12.01", y2: "8" })
|
|
376
390
|
] }),
|
|
377
|
-
Check: /* @__PURE__ */
|
|
378
|
-
/* @__PURE__ */
|
|
379
|
-
/* @__PURE__ */
|
|
391
|
+
Check: /* @__PURE__ */ k("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...x, children: [
|
|
392
|
+
/* @__PURE__ */ o("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
|
|
393
|
+
/* @__PURE__ */ o("polyline", { points: "22 4 12 14.01 9 11.01" })
|
|
380
394
|
] }),
|
|
381
|
-
Close: /* @__PURE__ */
|
|
382
|
-
/* @__PURE__ */
|
|
383
|
-
/* @__PURE__ */
|
|
395
|
+
Close: /* @__PURE__ */ k("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...x, children: [
|
|
396
|
+
/* @__PURE__ */ o("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
397
|
+
/* @__PURE__ */ o("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
384
398
|
] })
|
|
385
399
|
};
|
|
386
400
|
export {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
401
|
+
se as A,
|
|
402
|
+
oe as B,
|
|
403
|
+
ne as I,
|
|
404
|
+
ae as a
|
|
391
405
|
};
|
|
@@ -2,7 +2,7 @@ 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 { b4 as d, b5 as y, b6 as b, b7 as n, b8 as o, b9 as l, ba as x, bb as v } from "./client-CNrWulRU.js";
|
|
6
6
|
function p(s, e) {
|
|
7
7
|
if (!(typeof e != "string" || !o(e)))
|
|
8
8
|
for (const t of v(e))
|
|
@@ -24,7 +24,7 @@ function h(s, e) {
|
|
|
24
24
|
for (const t of e) h(s, t);
|
|
25
25
|
}
|
|
26
26
|
function T(s) {
|
|
27
|
-
return typeof s == "string" && o(s) ?
|
|
27
|
+
return typeof s == "string" && o(s) ? l(s) : s;
|
|
28
28
|
}
|
|
29
29
|
class g extends y {
|
|
30
30
|
constructor(t = "") {
|
|
@@ -112,8 +112,8 @@ class g extends y {
|
|
|
112
112
|
return this._htmlTypeExplicit ? n(this._htmlType) : n(((t = this._props) == null ? void 0 : t.type) ?? this._htmlType);
|
|
113
113
|
}
|
|
114
114
|
build() {
|
|
115
|
-
const t = this.getClassName(), r = typeof this._text == "function" ? this._text() : this._text,
|
|
116
|
-
text: typeof r == "string" && o(r) ?
|
|
115
|
+
const t = this.getClassName(), r = typeof this._text == "function" ? this._text() : this._text, a = {
|
|
116
|
+
text: typeof r == "string" && o(r) ? l(r) : r,
|
|
117
117
|
variant: this._variant,
|
|
118
118
|
size: this._size,
|
|
119
119
|
onPress: this._onPress,
|
|
@@ -134,11 +134,11 @@ class g extends y {
|
|
|
134
134
|
};
|
|
135
135
|
if (this._live) {
|
|
136
136
|
const _ = this._live;
|
|
137
|
-
|
|
137
|
+
a.liveRef = (u) => {
|
|
138
138
|
_.node = u;
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
return m.createElement(x,
|
|
141
|
+
return m.createElement(x, a);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
const I = d(g);
|