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/dist/core.js CHANGED
@@ -1,5 +1,5 @@
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";
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
- c as INTERACTION_EFFECTS,
13
- S as ListSignal,
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
- 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,
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
- Ss as cssCurve,
36
+ Fs as cssCurve,
33
37
  M as endSsrRequest,
34
38
  N as ensureInteractionFxCss,
35
39
  _ as ensureListId,
36
- w as getCss,
37
- A as getCurrentScope,
38
- B as getMotionCss,
39
- V as getStyleTag,
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
- h as interactionEffectKebab,
42
- q as interp,
43
- z as listSignal,
44
- G as mount,
45
- K as normalizeInteractionEffect,
46
- W as observable,
47
- ps as page,
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
- 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
- gs as withFiboStyles
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 R = (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) => R(t, typeof r != "symbol" ? r + "" : 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 { 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";
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 $(t) {
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 V = ({ size: t }) => h.createElement(
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: g, status: d, initials: b, icon: p, alt: x, className: n, style: o, ...l } = t, c = $(r), _ = typeof e == "number" ? `${e}px` : e, a = typeof e == "number" ? e : 40, F = {
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
- }, k = {
32
+ }, C = {
33
33
  none: "transparent",
34
34
  online: "#10B981",
35
35
  offline: "#9CA3AF",
36
36
  busy: "#EF4444"
37
- }, B = d !== "none" ? y().style({
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: k[d],
45
+ backgroundColor: C[d],
46
46
  borderRadius: "50%",
47
47
  border: "3px solid #ffffff",
48
48
  boxSizing: "content-box"
49
- }).build() : null, f = typeof b == "string" ? b.trim().slice(0, 2).toUpperCase() : "", w = c ? null : f || (p === "user" ? h.createElement(V, { size: _ }) : p || null), N = typeof x == "string" && x.trim() || f || "Avatar", A = y().style({
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[g],
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) || (f ? "#ddd" : "transparent"),
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: a * 0.42,
64
+ fontSize: l * 0.42,
65
65
  fontWeight: 500,
66
66
  lineHeight: 1
67
- }).children([w]).build();
68
- return y().className(`fibo-avatar ${n || ""}`).props({
69
- ...l,
67
+ }).children([B]).build();
68
+ return y().className(`fibo-avatar ${a || ""}`).props({
69
+ ...n,
70
70
  role: "img",
71
- "aria-label": N
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, B]).build();
78
+ }).children([A, S]).build();
79
79
  });
80
- class q extends E {
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 re = C(q);
138
- function T(t) {
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 P(t) {
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 G(t) {
144
+ function J(t) {
145
145
  return t === "pill" ? "pill" : "rounded";
146
146
  }
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 = T(g), o = P(u), l = G(d), c = {
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 a = { ...{
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 (n !== "none") {
169
- const f = c[n];
168
+ if (a !== "none") {
169
+ const g = c[a];
170
170
  if (o === "solid") {
171
- const w = {
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
- a.backgroundColor = w[n], a.color = "#FFFFFF";
179
- } else o === "dot" ? (a.color = "#374151", a.borderColor = "#E5E7EB") : (a.backgroundColor = f.bg, a.color = f.text, f.border ? a.border = `1px solid ${f.border}` : a.border = "none");
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
- }, k = n === "error" || n === "warning", B = n === "none" ? {} : {
185
- role: k ? "alert" : "status",
186
- "aria-live": k ? "assertive" : "polite"
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
- ...a,
190
- borderRadius: F[l],
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
- ...B
202
+ ...S
203
203
  }).children(
204
- j().gap(6).alignItems("center").children([
205
- o === "dot" && n !== "none" ? y().style({
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[n].text,
210
- boxShadow: `0 0 6px ${c[n].text}66`
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 O extends E {
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(J, e);
252
+ return h.createElement(O, e);
253
253
  }
254
254
  }
255
- const ie = C(O);
255
+ const se = w(K);
256
256
  function z(t, r) {
257
- if (!(typeof r != "string" || !W(r)))
258
- for (const e of M(r))
257
+ if (!(typeof r != "string" || !N(r)))
258
+ for (const e of D(r))
259
259
  t.bindSignal(e);
260
260
  }
261
- function S(t) {
262
- return typeof t != "string" ? "" : W(t) ? D(t) : t;
261
+ function k(t) {
262
+ return typeof t != "string" ? "" : N(t) ? $(t) : t;
263
263
  }
264
- const X = {
264
+ const Q = {
265
265
  circle: "50%",
266
266
  rounded: "8px",
267
267
  square: "0px"
268
- }, Y = h.memo((t) => {
268
+ }, X = h.memo((t) => {
269
269
  const {
270
270
  src: r,
271
271
  alt: e,
272
272
  fit: u,
273
- resizable: g,
273
+ resizable: f,
274
274
  clipShape: d,
275
275
  frameWidth: b,
276
276
  frameHeight: p,
277
277
  className: x,
278
- style: n,
278
+ style: a,
279
279
  ...o
280
- } = t, l = { ...n };
281
- if (u && (l.objectFit = u), b && (l.width = `${b}px`), p && (l.height = `${p}px`), g && (l.maxWidth = "100%", p || (l.height = "auto")), d === "circle" || d === "rounded" || d === "square") {
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
- l.overflow = "hidden", l.borderRadius = X[F];
283
+ n.overflow = "hidden", n.borderRadius = Q[F];
284
284
  }
285
- const c = S(typeof r == "string" ? r : ""), _ = c && !I(c) ? c : void 0, a = S(typeof e == "string" ? e : "");
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: a,
289
+ alt: l,
290
290
  className: x,
291
- style: l
291
+ style: n
292
292
  });
293
293
  });
294
- class K extends E {
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
- i(this, "_clipShape");
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._clipShape = e, 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._clipShape === "circle" ? e.push("rounded-full") : this._clipShape === "rounded" && e.push("rounded-lg");
334
- const u = e.filter(Boolean).join(" "), g = this.getStyle();
335
- this._foregroundStyle && (g.color = 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: S(this._src),
339
- alt: S(this._alt),
346
+ src: k(this._src),
347
+ alt: k(this._alt),
340
348
  fit: this._fit,
341
349
  resizable: this._resizable,
342
- clipShape: this._clipShape,
350
+ clipShape: this._imageClipShape,
343
351
  frameWidth: this._frameWidth,
344
352
  frameHeight: this._frameHeight,
345
353
  className: u,
346
- style: g
354
+ style: f
347
355
  };
348
- return h.createElement(Y, d);
356
+ return h.createElement(X, d);
349
357
  }
350
358
  }
351
- const se = C(K), m = { "aria-hidden": !0, focusable: "false" }, oe = {
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
- re as A,
380
- ie as B,
381
- se as I,
382
- oe as a
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 { aX as I, aY as $, a$ as z, b2 as R, b0 as q, x as le, ba as Z, bl as oe } from "./client-DOrZXJAN.js";
6
- import { a as F } from "./icons-DujcjAOD.js";
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 X(s) {
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: X(this._title),
436
- description: X(this._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 K(s, r) {
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, K(this, e), this;
807
+ return this._label = e, X(this, e), this;
808
808
  }
809
809
  subLabel(e) {
810
- return this._subLabel = e, K(this, e), this;
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 { aX as g, aY as d, b8 as N, b9 as C, b0 as j, a$ as _, b2 as z } from "./client-DOrZXJAN.js";
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 Y = g($);
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 k = g(H);
154
+ const T = g(H);
155
155
  export {
156
- Y as C,
157
- k as S
156
+ R as C,
157
+ T as S
158
158
  };