@clasing/ui 0.0.49 → 0.0.51

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/index.d.ts CHANGED
@@ -29,7 +29,7 @@ declare const buttonStyles: (props?: ({
29
29
  weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
30
30
  } & ClassProp) | undefined) => string;
31
31
 
32
- export declare const Card: ({ className, intent, children, ...props }: ICardProps) => JSX_2.Element;
32
+ export declare const Card: ({ className, intent, shadow, children, ...props }: ICardProps) => JSX_2.Element;
33
33
 
34
34
  declare const cardStyles: (props?: ({
35
35
  intent?: "outline" | "default" | null | undefined;
package/dist/index.es.js CHANGED
@@ -15,8 +15,8 @@ function Gt() {
15
15
  if (Qe)
16
16
  return ce;
17
17
  Qe = 1;
18
- var t = at, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, c = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
19
- function l(u, f, d) {
18
+ var t = at, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ function c(u, f, d) {
20
20
  var g, h = {}, S = null, P = null;
21
21
  d !== void 0 && (S = "" + d), f.key !== void 0 && (S = "" + f.key), f.ref !== void 0 && (P = f.ref);
22
22
  for (g in f)
@@ -24,9 +24,9 @@ function Gt() {
24
24
  if (u && u.defaultProps)
25
25
  for (g in f = u.defaultProps, f)
26
26
  h[g] === void 0 && (h[g] = f[g]);
27
- return { $$typeof: r, type: u, key: S, ref: P, props: h, _owner: c.current };
27
+ return { $$typeof: r, type: u, key: S, ref: P, props: h, _owner: l.current };
28
28
  }
29
- return ce.Fragment = n, ce.jsx = l, ce.jsxs = l, ce;
29
+ return ce.Fragment = n, ce.jsx = c, ce.jsxs = c, ce;
30
30
  }
31
31
  var ue = {};
32
32
  /**
@@ -41,7 +41,7 @@ var ue = {};
41
41
  var et;
42
42
  function Bt() {
43
43
  return et || (et = 1, process.env.NODE_ENV !== "production" && function() {
44
- var t = at, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), V = Symbol.iterator, R = "@@iterator";
44
+ var t = at, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), V = Symbol.iterator, R = "@@iterator";
45
45
  function j(e) {
46
46
  if (e === null || typeof e != "object")
47
47
  return null;
@@ -69,7 +69,7 @@ function Bt() {
69
69
  var re = !1, ge = !1, pe = !1, me = !1, ve = !1, H;
70
70
  H = Symbol.for("react.module.reference");
71
71
  function ne(e) {
72
- return !!(typeof e == "string" || typeof e == "function" || e === o || e === a || ve || e === c || e === d || e === g || me || e === P || re || ge || pe || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === h || e.$$typeof === l || e.$$typeof === u || e.$$typeof === f || // This needs to include all possible module reference object
72
+ return !!(typeof e == "string" || typeof e == "function" || e === o || e === a || ve || e === l || e === d || e === g || me || e === P || re || ge || pe || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === h || e.$$typeof === c || e.$$typeof === u || e.$$typeof === f || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
@@ -99,7 +99,7 @@ function Bt() {
99
99
  return "Portal";
100
100
  case a:
101
101
  return "Profiler";
102
- case c:
102
+ case l:
103
103
  return "StrictMode";
104
104
  case d:
105
105
  return "Suspense";
@@ -111,7 +111,7 @@ function Bt() {
111
111
  case u:
112
112
  var i = e;
113
113
  return y(i) + ".Consumer";
114
- case l:
114
+ case c:
115
115
  var s = e;
116
116
  return y(s._context) + ".Provider";
117
117
  case f:
@@ -640,8 +640,8 @@ function st(t) {
640
640
  o += t;
641
641
  else if (typeof t == "object")
642
642
  if (Array.isArray(t)) {
643
- var c = t.length;
644
- for (r = 0; r < c; r++)
643
+ var l = t.length;
644
+ for (r = 0; r < l; r++)
645
645
  t[r] && (n = st(t[r])) && (o && (o += " "), o += n);
646
646
  } else
647
647
  for (n in t)
@@ -649,7 +649,7 @@ function st(t) {
649
649
  return o;
650
650
  }
651
651
  function Yt() {
652
- for (var t, r, n = 0, o = "", c = arguments.length; n < c; n++)
652
+ for (var t, r, n = 0, o = "", l = arguments.length; n < l; n++)
653
653
  (t = arguments[n]) && (r = st(t)) && (o && (o += " "), o += r);
654
654
  return o;
655
655
  }
@@ -659,32 +659,32 @@ function Ut(t) {
659
659
  conflictingClassGroups: n,
660
660
  conflictingClassGroupModifiers: o
661
661
  } = t;
662
- function c(l) {
663
- const u = l.split(Ie);
664
- return u[0] === "" && u.length !== 1 && u.shift(), lt(u, r) || Lt(l);
662
+ function l(c) {
663
+ const u = c.split(Ie);
664
+ return u[0] === "" && u.length !== 1 && u.shift(), lt(u, r) || Lt(c);
665
665
  }
666
- function a(l, u) {
667
- const f = n[l] || [];
668
- return u && o[l] ? [...f, ...o[l]] : f;
666
+ function a(c, u) {
667
+ const f = n[c] || [];
668
+ return u && o[c] ? [...f, ...o[c]] : f;
669
669
  }
670
670
  return {
671
- getClassGroupId: c,
671
+ getClassGroupId: l,
672
672
  getConflictingClassGroupIds: a
673
673
  };
674
674
  }
675
675
  function lt(t, r) {
676
- var l;
676
+ var c;
677
677
  if (t.length === 0)
678
678
  return r.classGroupId;
679
- const n = t[0], o = r.nextPart.get(n), c = o ? lt(t.slice(1), o) : void 0;
680
- if (c)
681
- return c;
679
+ const n = t[0], o = r.nextPart.get(n), l = o ? lt(t.slice(1), o) : void 0;
680
+ if (l)
681
+ return l;
682
682
  if (r.validators.length === 0)
683
683
  return;
684
684
  const a = t.join(Ie);
685
- return (l = r.validators.find(({
685
+ return (c = r.validators.find(({
686
686
  validator: u
687
- }) => u(a))) == null ? void 0 : l.classGroupId;
687
+ }) => u(a))) == null ? void 0 : c.classGroupId;
688
688
  }
689
689
  const tt = /^\[(.+)\]$/;
690
690
  function Lt(t) {
@@ -702,30 +702,30 @@ function qt(t) {
702
702
  nextPart: /* @__PURE__ */ new Map(),
703
703
  validators: []
704
704
  };
705
- return Kt(Object.entries(t.classGroups), n).forEach(([a, l]) => {
706
- ze(l, o, a, r);
705
+ return Kt(Object.entries(t.classGroups), n).forEach(([a, c]) => {
706
+ ze(c, o, a, r);
707
707
  }), o;
708
708
  }
709
709
  function ze(t, r, n, o) {
710
- t.forEach((c) => {
711
- if (typeof c == "string") {
712
- const a = c === "" ? r : rt(r, c);
710
+ t.forEach((l) => {
711
+ if (typeof l == "string") {
712
+ const a = l === "" ? r : rt(r, l);
713
713
  a.classGroupId = n;
714
714
  return;
715
715
  }
716
- if (typeof c == "function") {
717
- if (Jt(c)) {
718
- ze(c(o), r, n, o);
716
+ if (typeof l == "function") {
717
+ if (Jt(l)) {
718
+ ze(l(o), r, n, o);
719
719
  return;
720
720
  }
721
721
  r.validators.push({
722
- validator: c,
722
+ validator: l,
723
723
  classGroupId: n
724
724
  });
725
725
  return;
726
726
  }
727
- Object.entries(c).forEach(([a, l]) => {
728
- ze(l, rt(r, a), n, o);
727
+ Object.entries(l).forEach(([a, c]) => {
728
+ ze(c, rt(r, a), n, o);
729
729
  });
730
730
  });
731
731
  }
@@ -743,8 +743,8 @@ function Jt(t) {
743
743
  }
744
744
  function Kt(t, r) {
745
745
  return r ? t.map(([n, o]) => {
746
- const c = o.map((a) => typeof a == "string" ? r + a : typeof a == "object" ? Object.fromEntries(Object.entries(a).map(([l, u]) => [r + l, u])) : a);
747
- return [n, c];
746
+ const l = o.map((a) => typeof a == "string" ? r + a : typeof a == "object" ? Object.fromEntries(Object.entries(a).map(([c, u]) => [r + c, u])) : a);
747
+ return [n, l];
748
748
  }) : t;
749
749
  }
750
750
  function Xt(t) {
@@ -756,33 +756,33 @@ function Xt(t) {
756
756
  }
757
757
  };
758
758
  let r = 0, n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
759
- function c(a, l) {
760
- n.set(a, l), r++, r > t && (r = 0, o = n, n = /* @__PURE__ */ new Map());
759
+ function l(a, c) {
760
+ n.set(a, c), r++, r > t && (r = 0, o = n, n = /* @__PURE__ */ new Map());
761
761
  }
762
762
  return {
763
763
  get(a) {
764
- let l = n.get(a);
765
- if (l !== void 0)
766
- return l;
767
- if ((l = o.get(a)) !== void 0)
768
- return c(a, l), l;
764
+ let c = n.get(a);
765
+ if (c !== void 0)
766
+ return c;
767
+ if ((c = o.get(a)) !== void 0)
768
+ return l(a, c), c;
769
769
  },
770
- set(a, l) {
771
- n.has(a) ? n.set(a, l) : c(a, l);
770
+ set(a, c) {
771
+ n.has(a) ? n.set(a, c) : l(a, c);
772
772
  }
773
773
  };
774
774
  }
775
775
  const ct = "!";
776
776
  function Ht(t) {
777
- const r = t.separator, n = r.length === 1, o = r[0], c = r.length;
778
- return function(l) {
777
+ const r = t.separator, n = r.length === 1, o = r[0], l = r.length;
778
+ return function(c) {
779
779
  const u = [];
780
780
  let f = 0, d = 0, g;
781
- for (let R = 0; R < l.length; R++) {
782
- let j = l[R];
781
+ for (let R = 0; R < c.length; R++) {
782
+ let j = c[R];
783
783
  if (f === 0) {
784
- if (j === o && (n || l.slice(R, R + c) === r)) {
785
- u.push(l.slice(d, R)), d = R + c;
784
+ if (j === o && (n || c.slice(R, R + l) === r)) {
785
+ u.push(c.slice(d, R)), d = R + l;
786
786
  continue;
787
787
  }
788
788
  if (j === "/") {
@@ -792,7 +792,7 @@ function Ht(t) {
792
792
  }
793
793
  j === "[" ? f++ : j === "]" && f--;
794
794
  }
795
- const h = u.length === 0 ? l : l.substring(d), S = h.startsWith(ct), P = S ? h.substring(1) : h, V = g && g > d ? g - d : void 0;
795
+ const h = u.length === 0 ? c : c.substring(d), S = h.startsWith(ct), P = S ? h.substring(1) : h, V = g && g > d ? g - d : void 0;
796
796
  return {
797
797
  modifiers: u,
798
798
  hasImportantModifier: S,
@@ -822,26 +822,26 @@ function tr(t, r) {
822
822
  const {
823
823
  splitModifiers: n,
824
824
  getClassGroupId: o,
825
- getConflictingClassGroupIds: c
825
+ getConflictingClassGroupIds: l
826
826
  } = r, a = /* @__PURE__ */ new Set();
827
- return t.trim().split(er).map((l) => {
827
+ return t.trim().split(er).map((c) => {
828
828
  const {
829
829
  modifiers: u,
830
830
  hasImportantModifier: f,
831
831
  baseClassName: d,
832
832
  maybePostfixModifierPosition: g
833
- } = n(l);
833
+ } = n(c);
834
834
  let h = o(g ? d.substring(0, g) : d), S = !!g;
835
835
  if (!h) {
836
836
  if (!g)
837
837
  return {
838
838
  isTailwindClass: !1,
839
- originalClassName: l
839
+ originalClassName: c
840
840
  };
841
841
  if (h = o(d), !h)
842
842
  return {
843
843
  isTailwindClass: !1,
844
- originalClassName: l
844
+ originalClassName: c
845
845
  };
846
846
  S = !1;
847
847
  }
@@ -850,19 +850,19 @@ function tr(t, r) {
850
850
  isTailwindClass: !0,
851
851
  modifierId: f ? P + ct : P,
852
852
  classGroupId: h,
853
- originalClassName: l,
853
+ originalClassName: c,
854
854
  hasPostfixModifier: S
855
855
  };
856
- }).reverse().filter((l) => {
857
- if (!l.isTailwindClass)
856
+ }).reverse().filter((c) => {
857
+ if (!c.isTailwindClass)
858
858
  return !0;
859
859
  const {
860
860
  modifierId: u,
861
861
  classGroupId: f,
862
862
  hasPostfixModifier: d
863
- } = l, g = u + f;
864
- return a.has(g) ? !1 : (a.add(g), c(f, d).forEach((h) => a.add(u + h)), !0);
865
- }).reverse().map((l) => l.originalClassName).join(" ");
863
+ } = c, g = u + f;
864
+ return a.has(g) ? !1 : (a.add(g), l(f, d).forEach((h) => a.add(u + h)), !0);
865
+ }).reverse().map((c) => c.originalClassName).join(" ");
866
866
  }
867
867
  function rr() {
868
868
  let t = 0, r, n, o = "";
@@ -879,17 +879,17 @@ function ut(t) {
879
879
  return n;
880
880
  }
881
881
  function nr(t, ...r) {
882
- let n, o, c, a = l;
883
- function l(f) {
882
+ let n, o, l, a = c;
883
+ function c(f) {
884
884
  const d = r.reduce((g, h) => h(g), t());
885
- return n = Qt(d), o = n.cache.get, c = n.cache.set, a = u, u(f);
885
+ return n = Qt(d), o = n.cache.get, l = n.cache.set, a = u, u(f);
886
886
  }
887
887
  function u(f) {
888
888
  const d = o(f);
889
889
  if (d)
890
890
  return d;
891
891
  const g = tr(f, n);
892
- return c(f, g), g;
892
+ return l(f, g), g;
893
893
  }
894
894
  return function() {
895
895
  return a(rr.apply(null, arguments));
@@ -958,7 +958,7 @@ function yr(t) {
958
958
  return ur.test(t);
959
959
  }
960
960
  function wr() {
961
- const t = E("colors"), r = E("spacing"), n = E("blur"), o = E("brightness"), c = E("borderColor"), a = E("borderRadius"), l = E("borderSpacing"), u = E("borderWidth"), f = E("contrast"), d = E("grayscale"), g = E("hueRotate"), h = E("invert"), S = E("gap"), P = E("gradientColorStops"), V = E("gradientColorStopPositions"), R = E("inset"), j = E("margin"), O = E("opacity"), k = E("padding"), fe = E("saturate"), re = E("scale"), ge = E("sepia"), pe = E("skew"), me = E("space"), ve = E("translate"), H = () => ["auto", "contain", "none"], ne = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", p, r], y = () => [p, r], I = () => ["", $, B], N = () => ["auto", J, p], W = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], U = () => ["solid", "dashed", "dotted", "double", "none"], ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], D = () => ["", "0", p], ae = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [J, ke], L = () => [J, p];
961
+ const t = E("colors"), r = E("spacing"), n = E("blur"), o = E("brightness"), l = E("borderColor"), a = E("borderRadius"), c = E("borderSpacing"), u = E("borderWidth"), f = E("contrast"), d = E("grayscale"), g = E("hueRotate"), h = E("invert"), S = E("gap"), P = E("gradientColorStops"), V = E("gradientColorStopPositions"), R = E("inset"), j = E("margin"), O = E("opacity"), k = E("padding"), fe = E("saturate"), re = E("scale"), ge = E("sepia"), pe = E("skew"), me = E("space"), ve = E("translate"), H = () => ["auto", "contain", "none"], ne = () => ["auto", "hidden", "clip", "visible", "scroll"], oe = () => ["auto", p, r], y = () => [p, r], I = () => ["", $, B], N = () => ["auto", J, p], W = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], U = () => ["solid", "dashed", "dotted", "double", "none"], ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], D = () => ["", "0", p], ae = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [J, ke], L = () => [J, p];
962
962
  return {
963
963
  cacheSize: 500,
964
964
  separator: ":",
@@ -2192,56 +2192,56 @@ function wr() {
2192
2192
  * @see https://tailwindcss.com/docs/border-color
2193
2193
  */
2194
2194
  "border-color": [{
2195
- border: [c]
2195
+ border: [l]
2196
2196
  }],
2197
2197
  /**
2198
2198
  * Border Color X
2199
2199
  * @see https://tailwindcss.com/docs/border-color
2200
2200
  */
2201
2201
  "border-color-x": [{
2202
- "border-x": [c]
2202
+ "border-x": [l]
2203
2203
  }],
2204
2204
  /**
2205
2205
  * Border Color Y
2206
2206
  * @see https://tailwindcss.com/docs/border-color
2207
2207
  */
2208
2208
  "border-color-y": [{
2209
- "border-y": [c]
2209
+ "border-y": [l]
2210
2210
  }],
2211
2211
  /**
2212
2212
  * Border Color Top
2213
2213
  * @see https://tailwindcss.com/docs/border-color
2214
2214
  */
2215
2215
  "border-color-t": [{
2216
- "border-t": [c]
2216
+ "border-t": [l]
2217
2217
  }],
2218
2218
  /**
2219
2219
  * Border Color Right
2220
2220
  * @see https://tailwindcss.com/docs/border-color
2221
2221
  */
2222
2222
  "border-color-r": [{
2223
- "border-r": [c]
2223
+ "border-r": [l]
2224
2224
  }],
2225
2225
  /**
2226
2226
  * Border Color Bottom
2227
2227
  * @see https://tailwindcss.com/docs/border-color
2228
2228
  */
2229
2229
  "border-color-b": [{
2230
- "border-b": [c]
2230
+ "border-b": [l]
2231
2231
  }],
2232
2232
  /**
2233
2233
  * Border Color Left
2234
2234
  * @see https://tailwindcss.com/docs/border-color
2235
2235
  */
2236
2236
  "border-color-l": [{
2237
- "border-l": [c]
2237
+ "border-l": [l]
2238
2238
  }],
2239
2239
  /**
2240
2240
  * Divide Color
2241
2241
  * @see https://tailwindcss.com/docs/divide-color
2242
2242
  */
2243
2243
  "divide-color": [{
2244
- divide: [c]
2244
+ divide: [l]
2245
2245
  }],
2246
2246
  /**
2247
2247
  * Outline Style
@@ -2503,21 +2503,21 @@ function wr() {
2503
2503
  * @see https://tailwindcss.com/docs/border-spacing
2504
2504
  */
2505
2505
  "border-spacing": [{
2506
- "border-spacing": [l]
2506
+ "border-spacing": [c]
2507
2507
  }],
2508
2508
  /**
2509
2509
  * Border Spacing X
2510
2510
  * @see https://tailwindcss.com/docs/border-spacing
2511
2511
  */
2512
2512
  "border-spacing-x": [{
2513
- "border-spacing-x": [l]
2513
+ "border-spacing-x": [c]
2514
2514
  }],
2515
2515
  /**
2516
2516
  * Border Spacing Y
2517
2517
  * @see https://tailwindcss.com/docs/border-spacing
2518
2518
  */
2519
2519
  "border-spacing-y": [{
2520
- "border-spacing-y": [l]
2520
+ "border-spacing-y": [c]
2521
2521
  }],
2522
2522
  /**
2523
2523
  * Table Layout
@@ -2996,12 +2996,12 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
2996
2996
  var o;
2997
2997
  if ((r == null ? void 0 : r.variants) == null)
2998
2998
  return ot(t, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
2999
- const { variants: c, defaultVariants: a } = r, l = Object.keys(c).map((d) => {
2999
+ const { variants: l, defaultVariants: a } = r, c = Object.keys(l).map((d) => {
3000
3000
  const g = n == null ? void 0 : n[d], h = a == null ? void 0 : a[d];
3001
3001
  if (g === null)
3002
3002
  return null;
3003
3003
  const S = nt(g) || nt(h);
3004
- return c[d][S];
3004
+ return l[d][S];
3005
3005
  }), u = n && Object.entries(n).reduce((d, g) => {
3006
3006
  let [h, S] = g;
3007
3007
  return S === void 0 || (d[h] = S), d;
@@ -3022,7 +3022,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3022
3022
  S
3023
3023
  ] : d;
3024
3024
  }, []);
3025
- return ot(t, l, f, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3025
+ return ot(t, c, f, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3026
3026
  }, X = ({ iconName: t, ...r }) => {
3027
3027
  if (Ze[t]) {
3028
3028
  const n = Ze[t];
@@ -3089,9 +3089,9 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3089
3089
  iconLeft: r,
3090
3090
  iconRight: n,
3091
3091
  status: o,
3092
- intent: c,
3092
+ intent: l,
3093
3093
  size: a = "medium",
3094
- rounded: l = "rectangle",
3094
+ rounded: c = "rectangle",
3095
3095
  className: u,
3096
3096
  ...f
3097
3097
  }) => {
@@ -3100,11 +3100,11 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3100
3100
  small: "h-4",
3101
3101
  medium: "h-4",
3102
3102
  large: "h-5"
3103
- }, g = o ? { status: o } : { intent: c };
3103
+ }, g = o ? { status: o } : { intent: l };
3104
3104
  return /* @__PURE__ */ C.jsxs(
3105
3105
  "span",
3106
3106
  {
3107
- className: K(Rr({ ...g, size: a, rounded: l, className: u })),
3107
+ className: K(Rr({ ...g, size: a, rounded: c, className: u })),
3108
3108
  ...f,
3109
3109
  children: [
3110
3110
  r && /* @__PURE__ */ C.jsx(
@@ -3469,13 +3469,13 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3469
3469
  intent: r,
3470
3470
  size: n,
3471
3471
  children: o,
3472
- iconLeft: c,
3472
+ iconLeft: l,
3473
3473
  iconRight: a,
3474
- isLoading: l,
3474
+ isLoading: c,
3475
3475
  disabled: u,
3476
3476
  ...f
3477
3477
  }) => {
3478
- typeof c == "string" && (c = { name: c }), typeof a == "string" && (a = { name: a });
3478
+ typeof l == "string" && (l = { name: l }), typeof a == "string" && (a = { name: a });
3479
3479
  const d = {
3480
3480
  small: "h-5",
3481
3481
  medium: "h-5",
@@ -3485,16 +3485,16 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3485
3485
  "button",
3486
3486
  {
3487
3487
  className: K(
3488
- l ? _r({ intent: r, size: n, className: t }) : u ? jr({ intent: r, size: n, className: t }) : Cr({ intent: r, size: n, className: t })
3488
+ c ? _r({ intent: r, size: n, className: t }) : u ? jr({ intent: r, size: n, className: t }) : Cr({ intent: r, size: n, className: t })
3489
3489
  ),
3490
- disabled: u || l,
3490
+ disabled: u || c,
3491
3491
  ...f,
3492
- children: l ? /* @__PURE__ */ C.jsx(gt, { className: d[n || "medium"] }) : /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
3493
- c && /* @__PURE__ */ C.jsx(
3492
+ children: c ? /* @__PURE__ */ C.jsx(gt, { className: d[n || "medium"] }) : /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
3493
+ l && /* @__PURE__ */ C.jsx(
3494
3494
  X,
3495
3495
  {
3496
- iconName: c.name,
3497
- stroke: c.stroke,
3496
+ iconName: l.name,
3497
+ stroke: l.stroke,
3498
3498
  className: d[n || "medium"]
3499
3499
  }
3500
3500
  ),
@@ -3635,9 +3635,9 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3635
3635
  className: r,
3636
3636
  intent: n = "fill",
3637
3637
  size: o = "medium",
3638
- rounded: c,
3638
+ rounded: l,
3639
3639
  disabled: a,
3640
- isLoading: l,
3640
+ isLoading: c,
3641
3641
  notification: u,
3642
3642
  ...f
3643
3643
  }) => {
@@ -3651,19 +3651,19 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3651
3651
  "button",
3652
3652
  {
3653
3653
  className: K(
3654
- l ? Pr({ intent: n, size: o, rounded: c, className: r }) : a ? Or({ intent: n, size: o, rounded: c, className: r }) : Tr({ intent: n, size: o, rounded: c, className: r })
3654
+ c ? Pr({ intent: n, size: o, rounded: l, className: r }) : a ? Or({ intent: n, size: o, rounded: l, className: r }) : Tr({ intent: n, size: o, rounded: l, className: r })
3655
3655
  ),
3656
- disabled: a || l,
3656
+ disabled: a || c,
3657
3657
  ...f,
3658
3658
  children: [
3659
- u && !l && /* @__PURE__ */ C.jsx(
3659
+ u && !c && /* @__PURE__ */ C.jsx(
3660
3660
  X,
3661
3661
  {
3662
3662
  iconName: "IconCircleFilled",
3663
- className: `absolute ${c === "full" ? "right-2 top-2" : "right-1 top-1"} h-[6px] w-[6px] ${n === "fill" ? "text-button-primary-content-pressed" : "text-button-primary-background-enabled"}`
3663
+ className: `absolute ${l === "full" ? "right-2 top-2" : "right-1 top-1"} h-[6px] w-[6px] ${n === "fill" ? "text-button-primary-content-pressed" : "text-button-primary-background-enabled"}`
3664
3664
  }
3665
3665
  ),
3666
- l ? /* @__PURE__ */ C.jsx(gt, { className: d[o || "medium"] }) : /* @__PURE__ */ C.jsx(C.Fragment, { children: t && /* @__PURE__ */ C.jsx(
3666
+ c ? /* @__PURE__ */ C.jsx(gt, { className: d[o || "medium"] }) : /* @__PURE__ */ C.jsx(C.Fragment, { children: t && /* @__PURE__ */ C.jsx(
3667
3667
  X,
3668
3668
  {
3669
3669
  iconName: t.name,
@@ -3674,7 +3674,7 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3674
3674
  ]
3675
3675
  }
3676
3676
  );
3677
- }, Ar = "flex flex-col gap-3 p-4 rounded-lg", zr = F(Ar, {
3677
+ }, Ar = "flex flex-col gap-3 p-3 rounded-lg", zr = F(Ar, {
3678
3678
  variants: {
3679
3679
  intent: {
3680
3680
  default: "text-content-primary bg-bg-white",
@@ -3694,7 +3694,13 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3694
3694
  intent: "default",
3695
3695
  shadow: "none"
3696
3696
  }
3697
- }), Dr = ({ className: t, intent: r, children: n, ...o }) => /* @__PURE__ */ C.jsx("div", { className: K(zr({ intent: r, className: t })), ...o, children: n }), Ir = "transition-all ease-out duration-500 relative overflow-hidden w-full", it = F(Ir, {
3697
+ }), Dr = ({
3698
+ className: t,
3699
+ intent: r,
3700
+ shadow: n,
3701
+ children: o,
3702
+ ...l
3703
+ }) => /* @__PURE__ */ C.jsx("div", { className: K(zr({ intent: r, shadow: n, className: t })), ...l, children: o }), Ir = "transition-all ease-out duration-500 relative overflow-hidden w-full", it = F(Ir, {
3698
3704
  variants: {
3699
3705
  intent: {
3700
3706
  primary: "bg-bg-brand",
@@ -3728,10 +3734,10 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3728
3734
  className: r,
3729
3735
  intent: n = "primary",
3730
3736
  size: o = "medium",
3731
- rounded: c = "full",
3737
+ rounded: l = "full",
3732
3738
  ...a
3733
3739
  }) => {
3734
- const l = {
3740
+ const c = {
3735
3741
  small: "text-2xs",
3736
3742
  medium: "text-sm",
3737
3743
  large: "text-base"
@@ -3740,19 +3746,19 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3740
3746
  "div",
3741
3747
  {
3742
3748
  className: K(
3743
- it({ size: o, rounded: c, className: r }),
3749
+ it({ size: o, rounded: l, className: r }),
3744
3750
  "relative bg-bg-accent-gray-subtle-hover"
3745
3751
  ),
3746
3752
  ...a,
3747
3753
  children: /* @__PURE__ */ C.jsx(
3748
3754
  "div",
3749
3755
  {
3750
- className: K(it({ intent: n, size: o, rounded: c })),
3756
+ className: K(it({ intent: n, size: o, rounded: l })),
3751
3757
  style: { width: `${t}%` },
3752
3758
  children: /* @__PURE__ */ C.jsxs(
3753
3759
  "span",
3754
3760
  {
3755
- className: `absolute -right-2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-content-text-inverse ${l[o || "medium"]}`,
3761
+ className: `absolute -right-2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-content-text-inverse ${c[o || "medium"]}`,
3756
3762
  children: [
3757
3763
  t,
3758
3764
  "%"
@@ -3803,14 +3809,14 @@ const nt = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, ot =
3803
3809
  intent: r,
3804
3810
  className: n,
3805
3811
  weight: o,
3806
- ...c
3812
+ ...l
3807
3813
  }) => {
3808
3814
  const a = t;
3809
3815
  return /* @__PURE__ */ C.jsx(
3810
3816
  a,
3811
3817
  {
3812
3818
  className: K(Mr({ intent: r, weight: o, className: n })),
3813
- ...c
3819
+ ...l
3814
3820
  }
3815
3821
  );
3816
3822
  };