fiboui 2.8.3 → 2.8.5

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,11 +1,11 @@
1
1
  var tt = Object.defineProperty;
2
2
  var it = (e, i, t) => i in e ? tt(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t;
3
- var f = (e, i, t) => it(e, typeof i != "symbol" ? i + "" : i, t);
3
+ var h = (e, i, t) => it(e, typeof i != "symbol" ? i + "" : i, t);
4
4
  import d from "react";
5
- import { aT as v, aU as T, aY as C, aX as g, a_ as $, bh as w, bi as O, bj as S, bk as et, b1 as nt } from "./client-8KCOzRhg.js";
5
+ import { aZ as v, a_ as $, b2 as C, b1 as g, b4 as T, bp as w, bq as O, br as S, bs as et, bk as nt } from "./client-BzMPiV64.js";
6
6
  function rt(e, i) {
7
7
  if (!(typeof i != "string" || !g(i)))
8
- for (const t of $(i))
8
+ for (const t of T(i))
9
9
  e.bindSignal(t);
10
10
  }
11
11
  function I(e, i) {
@@ -36,7 +36,7 @@ function at(e, i) {
36
36
  const { children: t, ...n } = i, r = t !== void 0 ? t : e;
37
37
  return { nodes: r == null ? [] : Array.isArray(r) ? r : [r], rest: n };
38
38
  }
39
- class ct extends T {
39
+ class ct extends $ {
40
40
  children(i) {
41
41
  return I(this, i), super.children(i);
42
42
  }
@@ -53,11 +53,11 @@ class ct extends T {
53
53
  // instead of clipping overflowing children.
54
54
  this.isHug() ? "w-auto self-auto" : "w-full min-w-0 min-h-0 self-stretch",
55
55
  ...this._classNames
56
- ], { nodes: t, rest: n } = at(this.processChildren(), this._props), { className: r, style: s, ...o } = n, l = [...i, r].filter(Boolean).join(" "), a = t.map(st), h = { ...this.getStyle(), ...ot(s) };
57
- return lt(h), d.createElement(
56
+ ], { nodes: t, rest: n } = at(this.processChildren(), this._props), { className: r, style: s, ...o } = n, l = [...i, r].filter(Boolean).join(" "), a = t.map(st), f = { ...this.getStyle(), ...ot(s) };
57
+ return lt(f), d.createElement(
58
58
  "div",
59
59
  {
60
- style: h,
60
+ style: f,
61
61
  ...o,
62
62
  className: l
63
63
  },
@@ -66,27 +66,27 @@ class ct extends T {
66
66
  }
67
67
  }
68
68
  const Zt = v(ct);
69
- function ht(e, i) {
69
+ function ft(e, i) {
70
70
  if (!(typeof i != "string" || !g(i)))
71
- for (const t of $(i))
71
+ for (const t of T(i))
72
72
  e.bindSignal(t);
73
73
  }
74
- function j(e, i) {
74
+ function L(e, i) {
75
75
  if (typeof i == "function") {
76
76
  try {
77
- j(e, i());
77
+ L(e, i());
78
78
  } catch {
79
79
  }
80
80
  return;
81
81
  }
82
82
  if (typeof i == "string") {
83
- ht(e, i);
83
+ ft(e, i);
84
84
  return;
85
85
  }
86
86
  if (Array.isArray(i))
87
- for (const t of i) j(e, t);
87
+ for (const t of i) L(e, t);
88
88
  }
89
- function ft(e) {
89
+ function ht(e) {
90
90
  return typeof e == "string" && g(e) ? C(e) : e;
91
91
  }
92
92
  function dt(e, i) {
@@ -145,10 +145,10 @@ function yt(e, i) {
145
145
  for (const r of ["padding", "margin"]) {
146
146
  const s = n[r];
147
147
  if (s == null || s === "") continue;
148
- const o = `${r}Top`, l = `${r}Right`, a = `${r}Bottom`, h = `${r}Left`;
149
- if (!(n[o] != null || n[l] != null || n[a] != null || n[h] != null || i.has(`${r}-top`) || i.has(`${r}-right`) || i.has(`${r}-bottom`) || i.has(`${r}-left`))) continue;
148
+ const o = `${r}Top`, l = `${r}Right`, a = `${r}Bottom`, f = `${r}Left`;
149
+ if (!(n[o] != null || n[l] != null || n[a] != null || n[f] != null || i.has(`${r}-top`) || i.has(`${r}-right`) || i.has(`${r}-bottom`) || i.has(`${r}-left`))) continue;
150
150
  const [m, c, y, b] = O(String(s));
151
- n[o] == null && !i.has(`${r}-top`) && (n[o] = m), n[l] == null && !i.has(`${r}-right`) && (n[l] = c), n[a] == null && !i.has(`${r}-bottom`) && (n[a] = y), n[h] == null && !i.has(`${r}-left`) && (n[h] = b), delete n[r];
151
+ n[o] == null && !i.has(`${r}-top`) && (n[o] = m), n[l] == null && !i.has(`${r}-right`) && (n[l] = c), n[a] == null && !i.has(`${r}-bottom`) && (n[a] = y), n[f] == null && !i.has(`${r}-left`) && (n[f] = b), delete n[r];
152
152
  }
153
153
  return t;
154
154
  }
@@ -176,16 +176,16 @@ function St(e, i, t, n, r, s, o) {
176
176
  const l = i ? et({ ...e, ...i }) : { ...e }, a = yt(l, s);
177
177
  return !(a.maxWidth != null || B(r, "max-width") || s.has("max-width")) && t != null && t !== "" && (a.maxWidth = w("maxWidth", t)), _t(a, n, r, s), bt(a, o), a;
178
178
  }
179
- class wt extends T {
179
+ class wt extends $ {
180
180
  constructor() {
181
181
  super(...arguments);
182
- f(this, "_userPad", {});
182
+ h(this, "_userPad", {});
183
183
  }
184
184
  children(t) {
185
- return j(this, t), super.children(t);
185
+ return L(this, t), super.children(t);
186
186
  }
187
187
  props(t) {
188
- return t && "children" in t && j(this, t.children), super.props(t);
188
+ return t && "children" in t && L(this, t.children), super.props(t);
189
189
  }
190
190
  padding(t) {
191
191
  const n = w("padding", t), [r, s, o, l] = O(n);
@@ -224,8 +224,8 @@ class wt extends T {
224
224
  tag: o,
225
225
  dangerouslySetInnerHTML: l,
226
226
  maxWidth: a,
227
- ...h
228
- } = this._props, p = this.isHug(), m = dt(this.processChildren(), t).map(ft), c = St(
227
+ ...f
228
+ } = this._props, p = this.isHug(), m = dt(this.processChildren(), t).map(ht), c = St(
229
229
  this.getStyle(),
230
230
  r,
231
231
  a,
@@ -248,7 +248,7 @@ class wt extends T {
248
248
  return d.createElement(
249
249
  E,
250
250
  {
251
- ...h,
251
+ ...f,
252
252
  className: b,
253
253
  style: c
254
254
  },
@@ -259,7 +259,7 @@ class wt extends T {
259
259
  const Ut = v(wt);
260
260
  function xt(e, i) {
261
261
  if (!(typeof i != "string" || !g(i)))
262
- for (const t of $(i))
262
+ for (const t of T(i))
263
263
  e.bindSignal(t);
264
264
  }
265
265
  function _(e, i) {
@@ -297,7 +297,7 @@ const vt = d.memo((e) => {
297
297
  leading: o,
298
298
  trailing: l,
299
299
  title: a,
300
- role: h,
300
+ role: f,
301
301
  ...p
302
302
  } = e, m = Array.isArray(s) ? s : s == null ? [] : [s], c = o == null || o === !1 ? null : o, y = l == null || l === !1 ? null : l, b = a == null || a === !1 ? null : a;
303
303
  return d.createElement(
@@ -310,7 +310,7 @@ const vt = d.memo((e) => {
310
310
  n || ""
311
311
  ].filter(Boolean).join(" "),
312
312
  style: { height: i, minHeight: i, ...r },
313
- role: h ?? "banner"
313
+ role: f ?? "banner"
314
314
  },
315
315
  c != null ? d.createElement(
316
316
  "div",
@@ -329,16 +329,16 @@ const vt = d.memo((e) => {
329
329
  y
330
330
  ) : null
331
331
  );
332
- }), N = class N extends T {
332
+ }), N = class N extends $ {
333
333
  constructor() {
334
334
  super(...arguments);
335
- f(this, "_height", 64);
336
- f(this, "_sticky", !1);
337
- f(this, "_stickyTop", 0);
338
- f(this, "_stickyStamp", []);
339
- f(this, "_leading");
340
- f(this, "_trailing");
341
- f(this, "_title");
335
+ h(this, "_height", 64);
336
+ h(this, "_sticky", !1);
337
+ h(this, "_stickyTop", 0);
338
+ h(this, "_stickyStamp", []);
339
+ h(this, "_leading");
340
+ h(this, "_trailing");
341
+ h(this, "_title");
342
342
  }
343
343
  children(t) {
344
344
  return _(this, t), super.children(t);
@@ -392,12 +392,12 @@ const vt = d.memo((e) => {
392
392
  trailing: o,
393
393
  title: l,
394
394
  ...a
395
- } = this._props, h = [this.getClassName(), t].filter(Boolean).join(" "), p = r ? { ...this.getStyle(), ...r } : this.getStyle();
395
+ } = this._props, f = [this.getClassName(), t].filter(Boolean).join(" "), p = r ? { ...this.getStyle(), ...r } : this.getStyle();
396
396
  return d.createElement(vt, {
397
397
  ...a,
398
398
  height: this._height,
399
399
  sticky: this._sticky,
400
- className: h,
400
+ className: f,
401
401
  style: p,
402
402
  leading: H(this._leading ?? s),
403
403
  trailing: H(this._trailing ?? o),
@@ -406,46 +406,46 @@ const vt = d.memo((e) => {
406
406
  });
407
407
  }
408
408
  };
409
- f(N, "unstickSeq", 0);
409
+ h(N, "unstickSeq", 0);
410
410
  let W = N;
411
411
  const Jt = v(W);
412
- function Tt(e, i) {
412
+ function $t(e, i) {
413
413
  if (!(typeof i != "string" || !g(i)))
414
- for (const t of $(i))
414
+ for (const t of T(i))
415
415
  e.bindSignal(t);
416
416
  }
417
- function L(e, i) {
417
+ function j(e, i) {
418
418
  if (typeof i == "function") {
419
419
  try {
420
- L(e, i());
420
+ j(e, i());
421
421
  } catch {
422
422
  }
423
423
  return;
424
424
  }
425
425
  if (typeof i == "string") {
426
- Tt(e, i);
426
+ $t(e, i);
427
427
  return;
428
428
  }
429
429
  if (Array.isArray(i))
430
- for (const t of i) L(e, t);
430
+ for (const t of i) j(e, t);
431
431
  }
432
- function $t(e) {
432
+ function Tt(e) {
433
433
  return typeof e == "string" && g(e) ? C(e) : e;
434
434
  }
435
435
  function Nt(e, i) {
436
436
  const { children: t, ...n } = i, r = t !== void 0 ? t : e;
437
437
  return { nodes: r == null ? [] : Array.isArray(r) ? r : [r], rest: n };
438
438
  }
439
- class At extends T {
439
+ class At extends $ {
440
440
  constructor() {
441
441
  super(...arguments);
442
- f(this, "_alignment", "center");
442
+ h(this, "_alignment", "center");
443
443
  }
444
444
  children(t) {
445
- return L(this, t), super.children(t);
445
+ return j(this, t), super.children(t);
446
446
  }
447
447
  props(t) {
448
- return t && "children" in t && L(this, t.children), super.props(t);
448
+ return t && "children" in t && j(this, t.children), super.props(t);
449
449
  }
450
450
  alignment(t) {
451
451
  return this._alignment = t, this;
@@ -478,13 +478,13 @@ class At extends T {
478
478
  this.isHug() ? "w-auto self-auto" : "w-full min-w-0 min-h-0 self-stretch",
479
479
  t[this._alignment] || "items-center justify-items-center",
480
480
  ...this._classNames
481
- ], r = this.getStyle(), { nodes: s, rest: o } = Nt(this.processChildren(), this._props), { className: l, ...a } = o, h = [...n, l].filter(Boolean).join(" "), p = s.map($t);
481
+ ], r = this.getStyle(), { nodes: s, rest: o } = Nt(this.processChildren(), this._props), { className: l, ...a } = o, f = [...n, l].filter(Boolean).join(" "), p = s.map(Tt);
482
482
  return d.createElement(
483
483
  "div",
484
484
  {
485
485
  style: r,
486
486
  ...a,
487
- className: h
487
+ className: f
488
488
  },
489
489
  ...p
490
490
  );
@@ -493,7 +493,7 @@ class At extends T {
493
493
  const Qt = v(At);
494
494
  function Bt(e, i) {
495
495
  if (!(typeof i != "string" || !g(i)))
496
- for (const t of $(i))
496
+ for (const t of T(i))
497
497
  e.bindSignal(t);
498
498
  }
499
499
  function z(e, i) {
@@ -514,10 +514,10 @@ function z(e, i) {
514
514
  function It(e) {
515
515
  return typeof e == "string" && g(e) ? C(e) : e;
516
516
  }
517
- function jt(e) {
517
+ function Lt(e) {
518
518
  return e && typeof e == "object" && !Array.isArray(e) ? e : {};
519
519
  }
520
- function Lt(e, i) {
520
+ function jt(e, i) {
521
521
  return e === !0 || e === "true" ? !0 : i === "none" || i === "presentation";
522
522
  }
523
523
  function zt(e) {
@@ -527,10 +527,10 @@ function Rt(e, i) {
527
527
  const { children: t, ...n } = i, r = t !== void 0 ? t : e;
528
528
  return { nodes: r == null ? [] : Array.isArray(r) ? r : [r], rest: n };
529
529
  }
530
- class Et extends T {
530
+ class Et extends $ {
531
531
  constructor() {
532
532
  super(...arguments);
533
- f(this, "_sizeHeight");
533
+ h(this, "_sizeHeight");
534
534
  }
535
535
  children(t) {
536
536
  return z(this, t), super.children(t);
@@ -546,10 +546,10 @@ class Et extends T {
546
546
  return this.flexDirection(t === "vertical" ? "column" : "row");
547
547
  }
548
548
  build() {
549
- const { nodes: t, rest: n } = Rt(this.processChildren(), this._props), { className: r, style: s, ...o } = n, l = { ...this.getStyle(), ...jt(s) };
549
+ const { nodes: t, rest: n } = Rt(this.processChildren(), this._props), { className: r, style: s, ...o } = n, l = { ...this.getStyle(), ...Lt(s) };
550
550
  this._sizeHeight && (l.height = this._sizeHeight);
551
- const a = t.map(It), h = zt(l), p = Lt(o["aria-hidden"], o.role), m = ["fibo-line", ...this._classNames, r].filter(Boolean).join(" ");
552
- if (h && a.length === 0)
551
+ const a = t.map(It), f = zt(l), p = jt(o["aria-hidden"], o.role), m = ["fibo-line", ...this._classNames, r].filter(Boolean).join(" ");
552
+ if (f && a.length === 0)
553
553
  return l.width = l.width ?? "1px", l.alignSelf = l.alignSelf ?? "stretch", l.height == null && (l.height = "100%"), p ? d.createElement("div", {
554
554
  ...o,
555
555
  role: "none",
@@ -582,7 +582,7 @@ class Et extends T {
582
582
  const c = [
583
583
  "fibo-line",
584
584
  "flex",
585
- h ? "flex-col" : "flex-row",
585
+ f ? "flex-col" : "flex-row",
586
586
  "min-w-0",
587
587
  ...this._classNames,
588
588
  r
@@ -601,7 +601,7 @@ class Et extends T {
601
601
  const ti = v(Et);
602
602
  class Ht {
603
603
  constructor() {
604
- f(this, "_node", null);
604
+ h(this, "_node", null);
605
605
  }
606
606
  /** @internal Attached by ScrollView on mount. */
607
607
  attach(i) {
@@ -669,7 +669,7 @@ function Wt(e) {
669
669
  }
670
670
  function Ot(e, i) {
671
671
  if (!(typeof i != "string" || !g(i)))
672
- for (const t of $(i))
672
+ for (const t of T(i))
673
673
  e.bindSignal(t);
674
674
  }
675
675
  function R(e, i) {
@@ -703,10 +703,10 @@ function Vt(...e) {
703
703
  function Gt(e) {
704
704
  return e === "horizontal" || e === "vertical" || e === "both";
705
705
  }
706
- function Xt(e) {
706
+ function Kt(e) {
707
707
  return e === "hidden" || e === "visible" || e === "auto";
708
708
  }
709
- function Yt(e) {
709
+ function Mt(e) {
710
710
  const i = { ...e }, t = i.overflow;
711
711
  if (t == null || t === "")
712
712
  return delete i.overflow, i;
@@ -716,14 +716,14 @@ function Yt(e) {
716
716
  const r = n[0], s = n[1] ?? n[0];
717
717
  return i.overflowX == null && (i.overflowX = r), i.overflowY == null && (i.overflowY = s), delete i.overflow, i;
718
718
  }
719
- class Kt extends T {
719
+ class Xt extends $ {
720
720
  constructor() {
721
721
  super(...arguments);
722
- f(this, "_direction", "vertical");
723
- f(this, "_scrollbar", "auto");
724
- f(this, "_controller");
725
- f(this, "_anchor");
726
- f(this, "_refresh");
722
+ h(this, "_direction", "vertical");
723
+ h(this, "_scrollbar", "auto");
724
+ h(this, "_controller");
725
+ h(this, "_anchor");
726
+ h(this, "_refresh");
727
727
  }
728
728
  children(t) {
729
729
  return R(this, t), super.children(t);
@@ -763,10 +763,10 @@ class Kt extends T {
763
763
  style: o,
764
764
  controller: l,
765
765
  direction: a,
766
- scrollbar: h,
766
+ scrollbar: f,
767
767
  onScroll: p,
768
768
  ...m
769
- } = n, c = Gt(a) ? a : this._direction, y = Xt(h) ? h : this._scrollbar, b = this._controller ?? (l instanceof Ht ? l : void 0), E = c === "horizontal" || c === "both", Y = c === "vertical" || c === "both", K = this.getStyle(), { gap: D, rowGap: P, columnGap: V, ...M } = K, F = E ? "auto" : "hidden", q = Y ? "auto" : "hidden", u = {
769
+ } = n, c = Gt(a) ? a : this._direction, y = Kt(f) ? f : this._scrollbar, b = this._controller ?? (l instanceof Ht ? l : void 0), E = c === "horizontal" || c === "both", M = c === "vertical" || c === "both", X = this.getStyle(), { gap: D, rowGap: P, columnGap: V, ...Y } = X, q = E ? "auto" : "hidden", F = M ? "auto" : "hidden", u = {
770
770
  display: "flex",
771
771
  flexDirection: c === "horizontal" ? "row" : "column",
772
772
  flexWrap: "nowrap",
@@ -777,8 +777,8 @@ class Kt extends T {
777
777
  "fibo-scrollview",
778
778
  ...this.getClassName().split(" ").filter(Boolean),
779
779
  s
780
- ], Z = Yt({
781
- ...M,
780
+ ], Z = Mt({
781
+ ...Y,
782
782
  ...o && typeof o == "object" ? o : {}
783
783
  }), x = {
784
784
  WebkitOverflowScrolling: "touch",
@@ -788,8 +788,8 @@ class Kt extends T {
788
788
  flexDirection: c === "horizontal" ? "row" : "column",
789
789
  ...Z,
790
790
  // Direction overflow must survive `.props({ style })` replacing the object.
791
- overflowX: F,
792
- overflowY: q
791
+ overflowX: q,
792
+ overflowY: F
793
793
  };
794
794
  if (y === "hidden" && (G.push("scrollbar-hide"), x.scrollbarWidth = "none", x.msOverflowStyle = "none"), this._anchor) {
795
795
  x.scrollSnapAlign = this._anchor;
@@ -801,10 +801,10 @@ class Kt extends T {
801
801
  b == null || b.attach(A);
802
802
  },
803
803
  r
804
- ), X = this._refresh, J = X ? [
804
+ ), K = this._refresh, J = K ? [
805
805
  d.createElement(
806
806
  "button",
807
- { type: "button", onClick: () => X() },
807
+ { type: "button", onClick: () => K() },
808
808
  "Refresh"
809
809
  ),
810
810
  ...t
@@ -827,7 +827,7 @@ class Kt extends T {
827
827
  );
828
828
  }
829
829
  }
830
- const ii = v(Kt);
830
+ const ii = v(Xt);
831
831
  export {
832
832
  Zt as C,
833
833
  Jt as H,
@@ -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 { aT as g, aU as d, a$ as N, b0 as C, aY as j, aX as _, a_ as z } from "./client-8KCOzRhg.js";
5
+ import { aZ as g, a_ as d, b5 as N, b6 as C, b2 as j, b1 as _, b4 as z } from "./client-BzMPiV64.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, a = t !== void 0 ? t : s;
31
- return { nodes: a == null ? [] : Array.isArray(a) ? a : [a], rest: r };
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
- }, a = {
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 ? a[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), o = {
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" ? o.gap = `${this._spacing}px` : isNaN(Number(this._spacing)) ? o.gap = this._spacing : o.gap = `${Number(this._spacing) * 4}px`), m.createElement(
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: o,
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 X = g($);
110
+ const R = 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, ...a } = this._props, i = { ...this.getStyle(), ...E(r) }, h = this._height != null || this._width != null, c = this._expand ?? !h;
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
- ...a,
147
+ ...o,
148
148
  style: i,
149
149
  className: p,
150
150
  "aria-hidden": !0
151
151
  });
152
152
  }
153
153
  }
154
- const Y = g(H);
154
+ const T = g(H);
155
155
  export {
156
- X as C,
157
- Y as S
156
+ R as C,
157
+ T as S
158
158
  };
@@ -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 { aT as d, aU as y, aV as x, aW as n, aX as o, aY as l, aZ as T, a_ as v } from "./client-8KCOzRhg.js";
5
+ import { aZ as d, a_ as y, a$ as x, b0 as n, b1 as o, b2 as l, b3 as b, b4 as v } from "./client-BzMPiV64.js";
6
6
  function p(s, e) {
7
7
  if (!(typeof e != "string" || !o(e)))
8
8
  for (const t of v(e))
@@ -23,7 +23,7 @@ function h(s, e) {
23
23
  if (Array.isArray(e))
24
24
  for (const t of e) h(s, t);
25
25
  }
26
- function b(s) {
26
+ function T(s) {
27
27
  return typeof s == "string" && o(s) ? l(s) : s;
28
28
  }
29
29
  class g extends y {
@@ -127,7 +127,7 @@ class g extends y {
127
127
  expand: this._expand,
128
128
  className: t,
129
129
  style: this.getStyle(),
130
- children: this.processChildren().map(b),
130
+ children: this.processChildren().map(T),
131
131
  ...this._props,
132
132
  type: this.resolvedHtmlType(),
133
133
  bare: this.isReset()
@@ -138,7 +138,7 @@ class g extends y {
138
138
  _.node = u;
139
139
  };
140
140
  }
141
- return m.createElement(T, a);
141
+ return m.createElement(b, a);
142
142
  }
143
143
  }
144
144
  const I = d(g);