fiboui 2.2.0 → 2.2.3

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,19 +1,19 @@
1
1
  "use client";
2
- var ae = Object.defineProperty;
3
- var le = (n, s, e) => s in n ? ae(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
2
+ var oe = Object.defineProperty;
3
+ var le = (n, s, e) => s in n ? oe(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
4
4
  var i = (n, s, e) => le(n, typeof s != "symbol" ? s + "" : s, e);
5
- import t, { useState as D, useRef as L, useLayoutEffect as q, useEffect as oe } from "react";
6
- import { v as w, F as I, B as T } from "./builder-KLTu7nAI.js";
7
- import { B as C } from "./index-CYnY7jAX.js";
8
- import { t as ce } from "./bundle-mjs-wppB-TKB.js";
9
- import { T as de } from "./index-DhPBYTPt.js";
10
- const me = t.memo((n) => {
11
- const { text: s, subtitle: e, number: r, color: d, className: p, style: o, children: u, ...g } = n;
5
+ import t, { useState as D, useRef as L, useLayoutEffect as Z, useEffect as ce } from "react";
6
+ import { w, x as I, G as T, H as q } from "./builder-3Bc2PfP9.js";
7
+ import { B as C } from "./index-BlciuWzU.js";
8
+ import { t as de } from "./bundle-mjs-wppB-TKB.js";
9
+ import { T as me } from "./index-BObp1JkM.js";
10
+ const he = t.memo((n) => {
11
+ const { text: s, subtitle: e, number: r, color: d, className: p, style: c, children: u, ...g } = n;
12
12
  return t.createElement(
13
13
  "div",
14
14
  {
15
15
  className: `rounded-[24px] shadow-[0_8px_30px_rgb(0,0,0,0.04)] hover:shadow-[0_8px_30px_rgb(0,0,0,0.08)] transition-shadow duration-300 border-none p-4 ${p || ""}`,
16
- style: { backgroundColor: "#ffffff", ...o },
16
+ style: { backgroundColor: "#ffffff", ...c },
17
17
  ...g
18
18
  },
19
19
  t.createElement(
@@ -44,7 +44,7 @@ const me = t.memo((n) => {
44
44
  )
45
45
  );
46
46
  });
47
- class he extends I {
47
+ class ue extends I {
48
48
  constructor() {
49
49
  super(...arguments);
50
50
  i(this, "_text", "");
@@ -85,10 +85,10 @@ class he extends I {
85
85
  children: this.processChildren(),
86
86
  ...this._props
87
87
  };
88
- return t.createElement(me, d);
88
+ return t.createElement(he, d);
89
89
  }
90
90
  }
91
- const je = w(he);
91
+ const Ge = w(ue);
92
92
  class V {
93
93
  constructor() {
94
94
  i(this, "styles", /* @__PURE__ */ new Map());
@@ -132,34 +132,34 @@ class V {
132
132
  }), s.join("; ") + ";";
133
133
  }
134
134
  }
135
- const ue = 100, J = 60, K = 5, pe = t.memo((n) => {
135
+ const pe = 100, J = 60, Q = 5, fe = t.memo((n) => {
136
136
  const {
137
137
  items: s,
138
138
  renderItem: e,
139
139
  variant: r,
140
140
  separator: d,
141
141
  loading: p,
142
- threshold: o,
142
+ threshold: c,
143
143
  onEndReached: u,
144
144
  className: g,
145
145
  style: x,
146
146
  containerHeight: v = 500,
147
147
  resetItemStyles: m = !1,
148
148
  direction: a = "vertical",
149
- customItemHover: c,
149
+ customItemHover: o,
150
150
  customItemActive: _,
151
151
  customItemFocus: y
152
- } = n, [H, Q] = D(0), [ee, te] = D(0), se = L(null), R = L(/* @__PURE__ */ new Map()), O = L(/* @__PURE__ */ new Map()), F = L(null), b = a === "horizontal", $ = s.length, B = $ > ue, A = (h) => O.current.get(h) ?? J, j = (h) => {
152
+ } = n, [H, ee] = D(0), [te, se] = D(0), re = L(null), R = L(/* @__PURE__ */ new Map()), O = L(/* @__PURE__ */ new Map()), F = L(null), b = a === "horizontal", $ = s.length, B = $ > pe, A = (h) => O.current.get(h) ?? J, j = (h) => {
153
153
  let l = 0;
154
154
  for (let f = 0; f < h; f++)
155
155
  l += A(f);
156
156
  return l;
157
- }, re = () => {
157
+ }, ie = () => {
158
158
  let h = 0;
159
159
  for (let l = 0; l < $; l++)
160
160
  h += A(l);
161
161
  return h;
162
- }, ie = (h) => {
162
+ }, ne = (h) => {
163
163
  let l = 0, f = $ - 1;
164
164
  for (; l < f; ) {
165
165
  const N = Math.floor((l + f) / 2);
@@ -169,48 +169,48 @@ const ue = 100, J = 60, K = 5, pe = t.memo((n) => {
169
169
  };
170
170
  let S = 0, X = $, G = 0, M = 0;
171
171
  if (B) {
172
- S = Math.max(0, ie(H) - K);
172
+ S = Math.max(0, ne(H) - Q);
173
173
  let h = j(S), l = S;
174
- for (; h < H + v + K * J && l < $; )
174
+ for (; h < H + v + Q * J && l < $; )
175
175
  h += A(l), l++;
176
- X = Math.min($, l), G = j(S), M = re();
176
+ X = Math.min($, l), G = j(S), M = ie();
177
177
  }
178
178
  const P = s.slice(S, X);
179
- q(() => {
179
+ Z(() => {
180
180
  if (!B) return;
181
181
  let h = !1;
182
182
  P.forEach((l, f) => {
183
183
  const N = S + f, k = R.current.get(N);
184
184
  if (k) {
185
- const Z = k.getBoundingClientRect(), z = b ? Z.width : Z.height;
185
+ const K = k.getBoundingClientRect(), z = b ? K.width : K.height;
186
186
  z > 0 && O.current.get(N) !== z && (O.current.set(N, z), h = !0);
187
187
  }
188
- }), h && te((l) => l + 1);
189
- }, [P, S, B, b, ee]), q(() => {
188
+ }), h && se((l) => l + 1);
189
+ }, [P, S, B, b, te]), Z(() => {
190
190
  if (!u || p) return;
191
191
  const h = new IntersectionObserver(
192
192
  (l) => {
193
193
  l[0].isIntersecting && (u == null || u());
194
194
  },
195
- { threshold: o }
195
+ { threshold: c }
196
196
  );
197
197
  return F.current && h.observe(F.current), () => h.disconnect();
198
- }, [p, s.length, u, o]);
199
- const ne = (h) => {
200
- B && Q(b ? h.currentTarget.scrollLeft : h.currentTarget.scrollTop);
198
+ }, [p, s.length, u, c]);
199
+ const ae = (h) => {
200
+ B && ee(b ? h.currentTarget.scrollLeft : h.currentTarget.scrollTop);
201
201
  };
202
- oe(() => {
203
- if (typeof document > "u" || !c && !_ && !y) return;
202
+ ce(() => {
203
+ if (typeof document > "u" || !o && !_ && !y) return;
204
204
  const h = "fibo-list-custom-styles";
205
205
  let l = document.getElementById(h);
206
206
  l || (l = document.createElement("style"), l.id = h, document.head.appendChild(l));
207
207
  let f = "";
208
- return c && (f += `.fibo-list-item-custom-hover:hover { ${c} }
208
+ return o && (f += `.fibo-list-item-custom-hover:hover { ${o} }
209
209
  `), _ && (f += `.fibo-list-item-custom-active:active { ${_} }
210
210
  `), y && (f += `.fibo-list-item-custom-focus:focus { ${y} }
211
211
  `), l.textContent = f, () => {
212
212
  };
213
- }, [c, _, y]);
213
+ }, [o, _, y]);
214
214
  const Y = {
215
215
  default: { gap: "0px" },
216
216
  card: { gap: "12px" },
@@ -241,7 +241,7 @@ const ue = 100, J = 60, K = 5, pe = t.memo((n) => {
241
241
  transition: "background-color 0.2s"
242
242
  }
243
243
  }, E = [];
244
- c && E.push("fibo-list-item-custom-hover"), _ && E.push("fibo-list-item-custom-active"), y && E.push("fibo-list-item-custom-focus");
244
+ o && E.push("fibo-list-item-custom-hover"), _ && E.push("fibo-list-item-custom-active"), y && E.push("fibo-list-item-custom-focus");
245
245
  const U = m ? {
246
246
  default: [...E],
247
247
  card: [...E],
@@ -254,7 +254,7 @@ const ue = 100, J = 60, K = 5, pe = t.memo((n) => {
254
254
  return B ? t.createElement(
255
255
  "div",
256
256
  {
257
- ref: se,
257
+ ref: re,
258
258
  className: `fibo-list fibo-list-virtualized ${g || ""}`,
259
259
  style: {
260
260
  height: b ? void 0 : `${v}px`,
@@ -267,7 +267,7 @@ const ue = 100, J = 60, K = 5, pe = t.memo((n) => {
267
267
  ...Y[r],
268
268
  ...x
269
269
  },
270
- onScroll: ne
270
+ onScroll: ae
271
271
  },
272
272
  t.createElement("div", {
273
273
  style: {
@@ -328,7 +328,7 @@ const ue = 100, J = 60, K = 5, pe = t.memo((n) => {
328
328
  ])
329
329
  ).build();
330
330
  });
331
- class fe extends I {
331
+ class ge extends I {
332
332
  constructor() {
333
333
  super(...arguments);
334
334
  i(this, "_items", []);
@@ -420,10 +420,10 @@ class fe extends I {
420
420
  className: this.getClassName(),
421
421
  style: this.getStyle()
422
422
  };
423
- return t.createElement(pe, e);
423
+ return t.createElement(fe, e);
424
424
  }
425
425
  }
426
- const Ge = w(fe), ge = () => t.createElement(
426
+ const Me = w(ge), _e = () => t.createElement(
427
427
  "svg",
428
428
  {
429
429
  width: 12,
@@ -435,20 +435,20 @@ const Ge = w(fe), ge = () => t.createElement(
435
435
  "aria-hidden": !0
436
436
  },
437
437
  t.createElement("path", { d: "M9 5l7 7-7 7" })
438
- ), _e = t.memo((n) => {
438
+ ), be = t.memo((n) => {
439
439
  const {
440
440
  leading: s,
441
441
  title: e,
442
442
  subtitle: r,
443
443
  trailing: d,
444
444
  chevron: p,
445
- divider: o,
445
+ divider: c,
446
446
  dividerColor: u,
447
447
  onPress: g,
448
448
  className: x,
449
449
  style: v,
450
450
  ...m
451
- } = n, a = v || {}, c = a.padding ?? "14px 0", _ = typeof e == "string" ? t.createElement(
451
+ } = n, a = v || {}, o = a.padding ?? "14px 0", _ = typeof e == "string" ? t.createElement(
452
452
  "span",
453
453
  {
454
454
  className: "fibo-list-tile-title",
@@ -472,10 +472,10 @@ const Ge = w(fe), ge = () => t.createElement(
472
472
  return t.createElement(
473
473
  "div",
474
474
  {
475
- className: ce("fibo-list-tile flex flex-row items-center w-full", x),
475
+ className: de("fibo-list-tile flex flex-row items-center w-full", x),
476
476
  style: {
477
- padding: c,
478
- borderBottom: o ? `1px solid ${u || "#3b3b3b"}` : "none",
477
+ padding: o,
478
+ borderBottom: c ? `1px solid ${u || "#3b3b3b"}` : "none",
479
479
  cursor: g ? "pointer" : void 0,
480
480
  ...a
481
481
  },
@@ -517,11 +517,11 @@ const Ge = w(fe), ge = () => t.createElement(
517
517
  className: "fibo-list-tile-chevron shrink-0 flex items-center",
518
518
  style: { color: "#9a9a9a", marginLeft: d ? 8 : 0 }
519
519
  },
520
- t.createElement(ge)
520
+ t.createElement(_e)
521
521
  ) : null
522
522
  );
523
523
  });
524
- class be extends I {
524
+ class ye extends I {
525
525
  constructor() {
526
526
  super(...arguments);
527
527
  i(this, "_leading");
@@ -558,7 +558,7 @@ class be extends I {
558
558
  return this._onPress = e, this;
559
559
  }
560
560
  build() {
561
- return t.createElement(_e, {
561
+ return t.createElement(be, {
562
562
  leading: this._leading,
563
563
  title: this._title,
564
564
  subtitle: this._subtitle,
@@ -573,14 +573,14 @@ class be extends I {
573
573
  });
574
574
  }
575
575
  }
576
- const Me = w(be), ye = t.memo((n) => {
576
+ const Pe = w(ye), xe = t.memo((n) => {
577
577
  const {
578
578
  data: s,
579
579
  columns: e,
580
580
  variant: r,
581
581
  density: d,
582
582
  striped: p,
583
- width: o,
583
+ width: c,
584
584
  className: u,
585
585
  style: g
586
586
  } = n, x = {
@@ -589,7 +589,7 @@ const Me = w(be), ye = t.memo((n) => {
589
589
  borderSpacing: "0",
590
590
  ...g
591
591
  };
592
- o && (x.width = typeof o == "number" ? `${o}px` : o);
592
+ c && (x.width = typeof c == "number" ? `${c}px` : c);
593
593
  const v = r === "clean" ? ["bg-white", "rounded-2xl", "border", "border-gray-100", "overflow-hidden", "shadow-sm"] : [], a = {
594
594
  compact: "10px 16px",
595
595
  standard: "16px 24px",
@@ -604,16 +604,16 @@ const Me = w(be), ye = t.memo((n) => {
604
604
  "tr",
605
605
  {},
606
606
  e.map(
607
- (c, _) => t.createElement("th", {
608
- key: String(c.accessor ?? c.header ?? _),
607
+ (o, _) => t.createElement("th", {
608
+ key: String(o.accessor ?? o.header ?? _),
609
609
  scope: "col",
610
610
  style: {
611
- textAlign: c.align || "left",
611
+ textAlign: o.align || "left",
612
612
  padding: a,
613
- width: c.width
613
+ width: o.width
614
614
  },
615
615
  className: "text-xs font-bold text-gray-400 uppercase tracking-widest"
616
- }, c.header)
616
+ }, o.header)
617
617
  )
618
618
  )
619
619
  ),
@@ -621,10 +621,10 @@ const Me = w(be), ye = t.memo((n) => {
621
621
  "tbody",
622
622
  { key: "tbody" },
623
623
  s.map(
624
- (c, _) => t.createElement(
624
+ (o, _) => t.createElement(
625
625
  "tr",
626
626
  {
627
- key: (c == null ? void 0 : c.id) ?? (c == null ? void 0 : c.key) ?? _,
627
+ key: (o == null ? void 0 : o.id) ?? (o == null ? void 0 : o.key) ?? _,
628
628
  className: `group transition-all duration-200 border-b border-gray-50 last:border-b-0 ${p && _ % 2 !== 0 ? "bg-gray-50/30" : "bg-transparent"} ${r === "clean" ? "hover:bg-white hover:shadow-md hover:scale-[1.002] hover:z-10 relative" : "hover:bg-gray-50/50"}`
629
629
  },
630
630
  e.map(
@@ -639,7 +639,7 @@ const Me = w(be), ye = t.memo((n) => {
639
639
  },
640
640
  className: "text-sm text-gray-900 font-medium"
641
641
  },
642
- y.render ? y.render(c) : y.accessor ? c[y.accessor] : null
642
+ y.render ? y.render(o) : y.accessor ? o[y.accessor] : null
643
643
  )
644
644
  )
645
645
  )
@@ -648,7 +648,7 @@ const Me = w(be), ye = t.memo((n) => {
648
648
  ])
649
649
  ).build();
650
650
  });
651
- class xe extends I {
651
+ class ve extends I {
652
652
  constructor() {
653
653
  super(...arguments);
654
654
  i(this, "_data", []);
@@ -687,18 +687,18 @@ class xe extends I {
687
687
  className: this.getClassName(),
688
688
  style: this.getStyle()
689
689
  };
690
- return t.createElement(ye, e);
690
+ return t.createElement(xe, e);
691
691
  }
692
692
  }
693
- const Pe = w(xe), ve = t.memo((n) => {
693
+ const ze = w(ve), Ee = t.memo((n) => {
694
694
  const { items: s, className: e, style: r, ...d } = n, p = s.map(
695
- (o, u) => t.createElement(
695
+ (c, u) => t.createElement(
696
696
  "span",
697
697
  {
698
- key: o.title ? `${o.title}-${u}` : `tag-${u}`,
698
+ key: c.title ? `${c.title}-${u}` : `tag-${u}`,
699
699
  className: "fibo-tag"
700
700
  },
701
- o.title
701
+ c.title
702
702
  )
703
703
  );
704
704
  return t.createElement(
@@ -711,7 +711,7 @@ const Pe = w(xe), ve = t.memo((n) => {
711
711
  ...p
712
712
  );
713
713
  });
714
- class Ee extends I {
714
+ class Ne extends I {
715
715
  constructor(e = []) {
716
716
  super();
717
717
  i(this, "_items", []);
@@ -727,17 +727,17 @@ class Ee extends I {
727
727
  style: this.getStyle(),
728
728
  ...this._props
729
729
  };
730
- return t.createElement(ve, r);
730
+ return t.createElement(Ee, r);
731
731
  }
732
732
  }
733
- const ze = w(Ee), Ne = t.memo((n) => {
734
- const { status: s, title: e, subtitle: r, className: d, style: p, ...o } = n;
733
+ const Ve = w(Ne), we = t.memo((n) => {
734
+ const { status: s, title: e, subtitle: r, className: d, style: p, ...c } = n;
735
735
  return t.createElement(
736
736
  "div",
737
737
  {
738
738
  className: d,
739
739
  style: p,
740
- ...o
740
+ ...c
741
741
  },
742
742
  t.createElement(
743
743
  "div",
@@ -759,7 +759,7 @@ const ze = w(Ee), Ne = t.memo((n) => {
759
759
  )
760
760
  );
761
761
  });
762
- class we extends I {
762
+ class Ie extends I {
763
763
  constructor(e = "") {
764
764
  super();
765
765
  i(this, "_status", "info");
@@ -789,11 +789,11 @@ class we extends I {
789
789
  style: this.getStyle(),
790
790
  ...this._props
791
791
  };
792
- return t.createElement(Ne, d);
792
+ return t.createElement(we, d);
793
793
  }
794
794
  }
795
- const Ve = w(we);
796
- class Ie extends I {
795
+ const De = w(Ie);
796
+ class Se extends I {
797
797
  constructor() {
798
798
  super(...arguments);
799
799
  i(this, "_title", "");
@@ -818,22 +818,22 @@ class Ie extends I {
818
818
  return this._onToggle = e, this;
819
819
  }
820
820
  build() {
821
- return t.createElement(Se, {
821
+ return t.createElement(Ce, {
822
822
  builder: this,
823
823
  ...this._props
824
824
  });
825
825
  }
826
826
  }
827
- const Se = t.memo(({ builder: n }) => {
828
- const s = t.useId(), e = `${s}-content`, r = n._expanded !== void 0, [d, p] = D(n._defaultExpanded), o = r ? n._expanded : d, u = () => {
829
- r || p(!o), n._onToggle && n._onToggle(!o);
827
+ const Ce = t.memo(({ builder: n }) => {
828
+ const s = t.useId(), e = `${s}-content`, r = n._expanded !== void 0, [d, p] = D(n._defaultExpanded), c = r ? n._expanded : d, u = () => {
829
+ r || p(!c), n._onToggle && n._onToggle(!c);
830
830
  };
831
831
  return C().classNames(["w-full", "border", "border-gray-200", "rounded-xl", "overflow-hidden", "bg-white", "transition-all", "duration-300"]).className(n.getClassName()).style(n.getStyle()).children([
832
832
  t.createElement("button", {
833
833
  key: "header",
834
834
  type: "button",
835
835
  id: s,
836
- "aria-expanded": o,
836
+ "aria-expanded": c,
837
837
  "aria-controls": e,
838
838
  className: "w-full flex items-center justify-between p-4 cursor-pointer hover:bg-gray-50 transition-colors select-none text-left bg-transparent border-0",
839
839
  onClick: u
@@ -841,12 +841,12 @@ const Se = t.memo(({ builder: n }) => {
841
841
  t.createElement(
842
842
  t.Fragment,
843
843
  { key: "title" },
844
- typeof n._title == "string" ? de(n._title).fontWeight(600).fontSize(15).color("#1F2937").build() : n._title
844
+ typeof n._title == "string" ? me(n._title).fontWeight(600).fontSize(15).color("#1F2937").build() : n._title
845
845
  ),
846
846
  t.createElement("span", {
847
847
  key: "chevron",
848
848
  className: "transition-transform duration-300",
849
- style: { transform: o ? "rotate(180deg)" : "rotate(0deg)" },
849
+ style: { transform: c ? "rotate(180deg)" : "rotate(0deg)" },
850
850
  "aria-hidden": !0
851
851
  }, t.createElement("svg", {
852
852
  width: "20",
@@ -864,22 +864,22 @@ const Se = t.memo(({ builder: n }) => {
864
864
  id: e,
865
865
  role: "region",
866
866
  "aria-labelledby": s,
867
- hidden: !o || void 0
867
+ hidden: !c || void 0
868
868
  }).classNames(["transition-all", "duration-300", "ease-in-out", "overflow-hidden"]).style({
869
- maxHeight: o ? "500px" : "0px",
870
- opacity: o ? 1 : 0
869
+ maxHeight: c ? "500px" : "0px",
870
+ opacity: c ? 1 : 0
871
871
  }).children(
872
872
  C().classNames(["p-4", "pt-0", "text-gray-600", "text-sm"]).children(n._content).build()
873
873
  ).build()
874
874
  ]).build();
875
- }), De = w(Ie), Ce = t.memo((n) => {
875
+ }), Xe = w(Se), $e = t.memo((n) => {
876
876
  const {
877
877
  children: s,
878
878
  variant: e = "standard",
879
879
  columns: r = 1,
880
880
  gap: d = "md",
881
881
  className: p,
882
- style: o,
882
+ style: c,
883
883
  ...u
884
884
  } = n, g = (m) => typeof m == "number" ? "" : {
885
885
  none: "gap-0",
@@ -907,15 +907,15 @@ const Se = t.memo(({ builder: n }) => {
907
907
  style: {
908
908
  gap: x(d),
909
909
  gridAutoFlow: "dense",
910
- ...o
910
+ ...c
911
911
  },
912
912
  ...u
913
- }, t.Children.map(s, (a, c) => {
913
+ }, t.Children.map(s, (a, o) => {
914
914
  if (t.isValidElement(a) && typeof a.props.className == "string" && a.props.className.includes("col-span"))
915
915
  return a;
916
- const _ = m[c % m.length];
916
+ const _ = m[o % m.length];
917
917
  return t.createElement("div", {
918
- key: t.isValidElement(a) && a.key != null ? a.key : c,
918
+ key: q(a, o),
919
919
  style: { gridColumn: `span ${_.col}`, gridRow: `span ${_.row}` }
920
920
  }, a);
921
921
  }));
@@ -923,41 +923,44 @@ const Se = t.memo(({ builder: n }) => {
923
923
  if (e === "masonry") {
924
924
  const m = (a) => {
925
925
  if (typeof a == "number") return `columns-${a}`;
926
- let c = [];
927
- return a.sm && c.push(`sm:columns-${a.sm}`), a.md && c.push(`md:columns-${a.md}`), a.lg && c.push(`lg:columns-${a.lg}`), a.xl && c.push(`xl:columns-${a.xl}`), c.join(" ") || "columns-1";
926
+ let o = [];
927
+ return a.sm && o.push(`sm:columns-${a.sm}`), a.md && o.push(`md:columns-${a.md}`), a.lg && o.push(`lg:columns-${a.lg}`), a.xl && o.push(`xl:columns-${a.xl}`), o.join(" ") || "columns-1";
928
928
  };
929
929
  return t.createElement("div", {
930
930
  className: `${m(r)} ${g(d)} space-y-4 ${p}`,
931
931
  style: {
932
932
  columnGap: x(d),
933
- ...o
933
+ ...c
934
934
  },
935
935
  ...u
936
936
  }, t.Children.map(
937
937
  s,
938
- (a) => t.createElement("div", { className: "break-inside-avoid mb-4" }, a)
938
+ (a, o) => t.createElement("div", {
939
+ key: q(a, o),
940
+ className: "break-inside-avoid mb-4"
941
+ }, a)
939
942
  ));
940
943
  }
941
944
  return t.createElement("div", {
942
945
  className: `grid ${v(r)} ${g(d)} ${p}`,
943
946
  style: {
944
947
  gap: x(d),
945
- ...o
948
+ ...c
946
949
  },
947
950
  ...u
948
951
  }, s);
949
- }), $e = t.memo((n) => {
950
- const { children: s, colSpan: e, rowSpan: r, className: d, style: p, ...o } = n, u = () => {
952
+ }), ke = t.memo((n) => {
953
+ const { children: s, colSpan: e, rowSpan: r, className: d, style: p, ...c } = n, u = () => {
951
954
  let g = [];
952
955
  return e && g.push(`col-span-${e}`), r && g.push(`row-span-${r}`), g.join(" ");
953
956
  };
954
957
  return t.createElement("div", {
955
958
  className: `${u()} ${d}`,
956
959
  style: p,
957
- ...o
960
+ ...c
958
961
  }, s);
959
962
  });
960
- class ke extends I {
963
+ class Be extends I {
961
964
  constructor() {
962
965
  super(...arguments);
963
966
  i(this, "_variant", "standard");
@@ -983,10 +986,10 @@ class ke extends I {
983
986
  style: this.getStyle(),
984
987
  ...this._props
985
988
  };
986
- return t.createElement(Ce, e);
989
+ return t.createElement($e, e);
987
990
  }
988
991
  }
989
- class Be extends I {
992
+ class Te extends I {
990
993
  constructor() {
991
994
  super(...arguments);
992
995
  i(this, "_colSpan");
@@ -1007,18 +1010,18 @@ class Be extends I {
1007
1010
  style: this.getStyle(),
1008
1011
  ...this._props
1009
1012
  };
1010
- return t.createElement($e, e);
1013
+ return t.createElement(ke, e);
1011
1014
  }
1012
1015
  }
1013
- const Xe = w(ke), Ye = w(Be);
1016
+ const Ye = w(Be), We = w(Te);
1014
1017
  export {
1015
- Ve as B,
1016
- je as C,
1017
- Xe as G,
1018
- Ge as L,
1019
- Pe as T,
1020
- Me as a,
1021
- ze as b,
1022
- De as c,
1023
- Ye as d
1018
+ De as B,
1019
+ Ge as C,
1020
+ Ye as G,
1021
+ Me as L,
1022
+ ze as T,
1023
+ Pe as a,
1024
+ Ve as b,
1025
+ Xe as c,
1026
+ We as d
1024
1027
  };