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.
@@ -1,15 +1,15 @@
1
- var L = Object.defineProperty;
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
- import h from "react";
5
- import { b2 as w, b3 as E, aF as y, bd as I, a9 as R, aj as H, be as M, b6 as N, b9 as D, b7 as $ } from "./client-DspTEDnT.js";
6
- import { jsx as s, jsxs as v } from "react/jsx-runtime";
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 }) => h.createElement(
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
- h.createElement("circle", { cx: 12, cy: 12, r: 12, fill: "#f2f2f2" }),
22
- h.createElement("circle", { cx: 12, cy: 9.4, r: 3.6, fill: "#6a6a6a" }),
23
- h.createElement("path", {
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 = h.memo((t) => {
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 = {
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
- }, C = {
32
+ }, _ = {
33
33
  none: "transparent",
34
34
  online: "#10B981",
35
35
  offline: "#9CA3AF",
36
36
  busy: "#EF4444"
37
- }, S = d !== "none" ? y().style({
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: C[d],
45
+ backgroundColor: _[f],
46
46
  borderRadius: "50%",
47
47
  border: "3px solid #ffffff",
48
48
  boxSizing: "content-box"
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({
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: F[f],
53
- backgroundImage: c ? `url(${JSON.stringify(c)})` : void 0,
54
- backgroundColor: c ? void 0 : (o == null ? void 0 : o.backgroundColor) || (g ? "#ddd" : "transparent"),
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: u,
58
- boxShadow: u !== "none" ? "0 2px 8px rgba(0,0,0,0.05)" : "none",
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: (o == null ? void 0 : o.color) || "#555",
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
- ...n,
69
+ ...F,
70
70
  role: "img",
71
- "aria-label": W
71
+ "aria-label": N
72
72
  }).style({
73
73
  position: "relative",
74
- width: _,
75
- height: _,
76
- ...o,
74
+ width: m,
75
+ height: m,
76
+ ...n,
77
77
  overflow: "visible"
78
- }).children([A, S]).build();
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 h.createElement(U, e);
134
+ return c.createElement(U, e);
135
135
  }
136
136
  }
137
- const ie = w(T);
138
- function P(t) {
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 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 = {
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
- }[o] };
167
+ }[n] };
168
168
  if (a !== "none") {
169
- const g = c[a];
170
- if (o === "solid") {
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 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");
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 F = {
181
+ const v = {
182
182
  pill: "9999px",
183
183
  rounded: "8px"
184
- }, C = a === "error" || a === "warning", S = a === "none" ? {} : {
185
- role: C ? "alert" : "status",
186
- "aria-live": C ? "assertive" : "polite"
184
+ }, _ = a === "error" || a === "warning", S = a === "none" ? {} : {
185
+ role: _ ? "alert" : "status",
186
+ "aria-live": _ ? "assertive" : "polite"
187
187
  };
188
- return y().className(b).style({
188
+ return y().className(u).style({
189
189
  ...l,
190
- borderRadius: F[n],
191
- padding: o === "dot" ? "4px 8px" : "4px 10px",
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
- ...p
199
+ ...g
200
200
  }).props({
201
- ...x,
201
+ ...b,
202
202
  ...S
203
203
  }).children(
204
- R().gap(6).alignItems("center").children([
205
- o === "dot" && a !== "none" ? y().style({
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: c[a].text,
210
- boxShadow: `0 0 6px ${c[a].text}66`
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 K extends E {
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 h.createElement(O, e);
252
+ return c.createElement(K, e);
253
253
  }
254
254
  }
255
- const se = w(K);
255
+ const oe = w(Q);
256
256
  function z(t, r) {
257
- if (!(typeof r != "string" || !N(r)))
257
+ if (!(typeof r != "string" || !j(r)))
258
258
  for (const e of D(r))
259
259
  t.bindSignal(e);
260
260
  }
261
- function k(t) {
262
- return typeof t != "string" ? "" : N(t) ? $(t) : t;
261
+ function C(t) {
262
+ return typeof t != "string" ? "" : j(t) ? $(t) : t;
263
263
  }
264
- const Q = {
264
+ const X = {
265
265
  circle: "50%",
266
266
  rounded: "8px",
267
267
  square: "0px"
268
- }, X = h.memo((t) => {
268
+ }, Y = c.memo((t) => {
269
269
  const {
270
270
  src: r,
271
271
  alt: e,
272
- fit: u,
272
+ fit: h,
273
+ objectPosition: d,
273
274
  resizable: f,
274
- clipShape: d,
275
- frameWidth: b,
276
- frameHeight: p,
277
- className: x,
278
- style: a,
279
- ...o
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
- const F = d;
283
- n.overflow = "hidden", n.borderRadius = Q[F];
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 c = k(typeof r == "string" ? r : ""), _ = c && !I(c) ? c : void 0, l = k(typeof e == "string" ? e : "");
286
- return h.createElement("img", {
287
- ...o,
288
- src: _,
289
- alt: l,
290
- className: x,
291
- style: n
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 Y extends E {
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
- scaledToFill() {
322
- return this._fit = "cover", this;
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 u = e.filter(Boolean).join(" "), f = this.getStyle();
343
- this._foregroundStyle && (f.color = this._foregroundStyle);
344
- const d = {
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: k(this._src),
347
- alt: k(this._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: u,
354
- style: f
367
+ className: h,
368
+ style: d
355
369
  };
356
- return h.createElement(X, d);
370
+ return c.createElement(Y, f);
357
371
  }
358
372
  }
359
- const oe = w(Y), m = { "aria-hidden": !0, focusable: "false" }, ne = {
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" }) }),
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" }) }),
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" }) }),
363
- More: /* @__PURE__ */ v("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...m, children: [
364
- /* @__PURE__ */ s("circle", { cx: "12", cy: "12", r: "1" }),
365
- /* @__PURE__ */ s("circle", { cx: "19", cy: "12", r: "1" }),
366
- /* @__PURE__ */ s("circle", { cx: "5", cy: "12", r: "1" })
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__ */ v("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", ...m, children: [
369
- /* @__PURE__ */ s("circle", { cx: "12", cy: "12", r: "10" }),
370
- /* @__PURE__ */ s("polyline", { points: "12 6 12 12 16 14" })
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__ */ v("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...m, children: [
373
- /* @__PURE__ */ s("circle", { cx: "12", cy: "12", r: "10" }),
374
- /* @__PURE__ */ s("line", { x1: "12", y1: "16", x2: "12", y2: "12" }),
375
- /* @__PURE__ */ s("line", { x1: "12", y1: "8", x2: "12.01", y2: "8" })
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__ */ v("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...m, children: [
378
- /* @__PURE__ */ s("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
379
- /* @__PURE__ */ s("polyline", { points: "22 4 12 14.01 9 11.01" })
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__ */ v("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", ...m, children: [
382
- /* @__PURE__ */ s("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
383
- /* @__PURE__ */ s("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
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
- ie as A,
388
- se as B,
389
- oe as I,
390
- ne as a
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 { b2 as d, b3 as y, b4 as b, b5 as n, b6 as o, b7 as a, b8 as x, b9 as v } from "./client-DspTEDnT.js";
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) ? a(s) : 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, l = {
116
- text: typeof r == "string" && o(r) ? a(r) : 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
- l.liveRef = (u) => {
137
+ a.liveRef = (u) => {
138
138
  _.node = u;
139
139
  };
140
140
  }
141
- return m.createElement(x, l);
141
+ return m.createElement(x, a);
142
142
  }
143
143
  }
144
144
  const I = d(g);