skillgrid 0.0.24-dev-31782-34252-avatar-and-badge.1159375 → 0.0.24-dev-40201-checkbox.1159985

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.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as Et from "react";
2
2
  import Lt, { forwardRef as Q, useState as De, useEffect as we, useRef as We, useCallback as Ce, Fragment as Mt, createContext as ra, useContext as sa, useLayoutEffect as na, useImperativeHandle as oa, useId as $t } from "react";
3
- import { clsx as q } from "clsx";
3
+ import { clsx as G } from "clsx";
4
4
  import './index.css';function ia(t) {
5
5
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
6
6
  }
@@ -130,14 +130,14 @@ function ca() {
130
130
  }
131
131
  return null;
132
132
  }
133
- var $ = Object.assign, B = 0, V, G, Z, te, ae, re, be;
133
+ var $ = Object.assign, B = 0, V, Z, q, te, ae, re, be;
134
134
  function se() {
135
135
  }
136
136
  se.__reactDisabledLog = !0;
137
137
  function ye() {
138
138
  {
139
139
  if (B === 0) {
140
- V = console.log, G = console.info, Z = console.warn, te = console.error, ae = console.group, re = console.groupCollapsed, be = console.groupEnd;
140
+ V = console.log, Z = console.info, q = console.warn, te = console.error, ae = console.group, re = console.groupCollapsed, be = console.groupEnd;
141
141
  var e = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
@@ -170,10 +170,10 @@ function ca() {
170
170
  value: V
171
171
  }),
172
172
  info: $({}, e, {
173
- value: G
173
+ value: Z
174
174
  }),
175
175
  warn: $({}, e, {
176
- value: Z
176
+ value: q
177
177
  }),
178
178
  error: $({}, e, {
179
179
  value: te
@@ -445,7 +445,7 @@ function ca() {
445
445
  value: I
446
446
  }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
447
447
  };
448
- function qt(e, l, u, v, I) {
448
+ function Gt(e, l, u, v, I) {
449
449
  {
450
450
  var k, L = {}, E = null, Y = null;
451
451
  u !== void 0 && (rt(u), E = "" + u), Pt(l) && (rt(l.key), E = "" + l.key), Ft(l) && (Y = l.ref, zt(l, I));
@@ -471,9 +471,9 @@ function ca() {
471
471
  } else
472
472
  it.setExtraStackFrame(null);
473
473
  }
474
- var qe;
475
- qe = !1;
476
- function Ge(e) {
474
+ var Ge;
475
+ Ge = !1;
476
+ function Ze(e) {
477
477
  return typeof e == "object" && e !== null && e.$$typeof === r;
478
478
  }
479
479
  function lt() {
@@ -488,11 +488,11 @@ Check the render method of \`` + e + "`.";
488
488
  return "";
489
489
  }
490
490
  }
491
- function Gt(e) {
491
+ function Zt(e) {
492
492
  return "";
493
493
  }
494
494
  var ct = {};
495
- function Zt(e) {
495
+ function qt(e) {
496
496
  {
497
497
  var l = lt();
498
498
  if (!l) {
@@ -509,7 +509,7 @@ Check the top-level render call using <` + u + ">.");
509
509
  if (!e._store || e._store.validated || e.key != null)
510
510
  return;
511
511
  e._store.validated = !0;
512
- var u = Zt(l);
512
+ var u = qt(l);
513
513
  if (ct[u])
514
514
  return;
515
515
  ct[u] = !0;
@@ -524,15 +524,15 @@ Check the top-level render call using <` + u + ">.");
524
524
  if (Ve(e))
525
525
  for (var u = 0; u < e.length; u++) {
526
526
  var v = e[u];
527
- Ge(v) && dt(v, l);
527
+ Ze(v) && dt(v, l);
528
528
  }
529
- else if (Ge(e))
529
+ else if (Ze(e))
530
530
  e._store && (e._store.validated = !0);
531
531
  else if (e) {
532
532
  var I = C(e);
533
533
  if (typeof I == "function" && I !== e.entries)
534
534
  for (var k = I.call(e), L; !(L = k.next()).done; )
535
- Ge(L.value) && dt(L.value, l);
535
+ Ze(L.value) && dt(L.value, l);
536
536
  }
537
537
  }
538
538
  }
@@ -553,8 +553,8 @@ Check the top-level render call using <` + u + ">.");
553
553
  if (u) {
554
554
  var v = O(l);
555
555
  Nt(u, e.props, "prop", v, e);
556
- } else if (l.PropTypes !== void 0 && !qe) {
557
- qe = !0;
556
+ } else if (l.PropTypes !== void 0 && !Ge) {
557
+ Ge = !0;
558
558
  var I = O(l);
559
559
  m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", I || "Unknown");
560
560
  }
@@ -580,12 +580,12 @@ Check the top-level render call using <` + u + ">.");
580
580
  if (!L) {
581
581
  var E = "";
582
582
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
- var Y = Gt();
583
+ var Y = Zt();
584
584
  Y ? E += Y : E += lt();
585
585
  var F;
586
586
  e === null ? F = "null" : Ve(e) ? F = "array" : e !== void 0 && e.$$typeof === r ? (F = "<" + (O(e.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : F = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, E);
587
587
  }
588
- var H = qt(e, l, u, I, k);
588
+ var H = Gt(e, l, u, I, k);
589
589
  if (H == null)
590
590
  return H;
591
591
  if (L) {
@@ -604,15 +604,15 @@ Check the top-level render call using <` + u + ">.");
604
604
  if (Re.call(l, "key")) {
605
605
  var ve = O(e), X = Object.keys(l).filter(function(aa) {
606
606
  return aa !== "key";
607
- }), Ze = X.length > 0 ? "{key: someKey, " + X.join(": ..., ") + ": ...}" : "{key: someKey}";
608
- if (!pt[ve + Ze]) {
607
+ }), qe = X.length > 0 ? "{key: someKey, " + X.join(": ..., ") + ": ...}" : "{key: someKey}";
608
+ if (!pt[ve + qe]) {
609
609
  var ta = X.length > 0 ? "{" + X.join(": ..., ") + ": ...}" : "{}";
610
610
  m(`A props object containing a "key" prop is being spread into JSX:
611
611
  let props = %s;
612
612
  <%s {...props} />
613
613
  React keys must be passed directly to JSX without using spread:
614
614
  let props = %s;
615
- <%s key={someKey} {...props} />`, Ze, ve, ta, ve), pt[ve + Ze] = !0;
615
+ <%s key={someKey} {...props} />`, qe, ve, ta, ve), pt[ve + qe] = !0;
616
616
  }
617
617
  }
618
618
  return e === s ? Jt(H) : Yt(H), H;
@@ -633,7 +633,7 @@ function da() {
633
633
  return ht || (ht = 1, process.env.NODE_ENV === "production" ? Be.exports = la() : Be.exports = ca()), Be.exports;
634
634
  }
635
635
  var o = da();
636
- const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button", _a = "_button_1abee_213", fa = "_disabled_1abee_237", ga = "_loading_1abee_237", ha = "_neutral_1abee_259", ba = "_accent_1abee_263", ya = "_positive_1abee_267", ma = "_negative_1abee_271", va = "_contrast_1abee_275", xa = "_special_1abee_279", Ca = "_primary_1abee_284", wa = "_secondary_1abee_285", Sa = "_tertiary_1abee_286", Ea = "_label_1abee_321", La = "_rightGroup_1abee_333", Ma = "_iconOnly_1abee_349", $a = "_large_1abee_357", ja = "_medium_1abee_361", Ia = "_small_1abee_365", Ra = "_spaceBetween_1abee_370", ka = "_stretched_1abee_384", Ta = "_icon_1abee_349", Aa = "_badge_1abee_705", Na = "_badgeMedium_1abee_721", Da = "_circular_1abee_738", Oa = "_badgeSmall_1abee_743", Ua = "_badgeExtraSmall_1abee_765", Ba = "_withSubcaption_1abee_784", Fa = "_subcaption_1abee_797", Pa = "_loader_1abee_804", za = "_spin_1abee_1", Wa = "_l_1abee_237", Va = "_m_1abee_361", Ha = "_s_1abee_279", qa = "_xs_1abee_869", P = {
636
+ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button", _a = "_button_1abee_213", fa = "_disabled_1abee_237", ga = "_loading_1abee_237", ha = "_neutral_1abee_259", ba = "_accent_1abee_263", ya = "_positive_1abee_267", ma = "_negative_1abee_271", va = "_contrast_1abee_275", xa = "_special_1abee_279", Ca = "_primary_1abee_284", wa = "_secondary_1abee_285", Sa = "_tertiary_1abee_286", Ea = "_label_1abee_321", La = "_rightGroup_1abee_333", Ma = "_iconOnly_1abee_349", $a = "_large_1abee_357", ja = "_medium_1abee_361", Ia = "_small_1abee_365", Ra = "_spaceBetween_1abee_370", ka = "_stretched_1abee_384", Ta = "_icon_1abee_349", Aa = "_badge_1abee_705", Na = "_badgeMedium_1abee_721", Da = "_circular_1abee_738", Oa = "_badgeSmall_1abee_743", Ua = "_badgeExtraSmall_1abee_765", Ba = "_withSubcaption_1abee_784", Fa = "_subcaption_1abee_797", Pa = "_loader_1abee_804", za = "_spin_1abee_1", Wa = "_l_1abee_237", Va = "_m_1abee_361", Ha = "_s_1abee_279", Ga = "_xs_1abee_869", P = {
637
637
  button: _a,
638
638
  disabled: fa,
639
639
  loading: ga,
@@ -667,7 +667,7 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
667
667
  l: Wa,
668
668
  m: Va,
669
669
  s: Ha,
670
- xs: qa
670
+ xs: Ga
671
671
  }, bt = ({
672
672
  isLoading: t,
673
673
  showBadge: r,
@@ -688,7 +688,7 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
688
688
  "span",
689
689
  {
690
690
  "data-testid": "button-badge",
691
- className: q(
691
+ className: G(
692
692
  P.badge,
693
693
  P[`badge${_ ? "ExtraSmall" : s === "medium" ? "Medium" : "Small"}`],
694
694
  { [P.circular]: h && !_ }
@@ -725,7 +725,7 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
725
725
  postfix: S,
726
726
  className: C,
727
727
  children: w
728
- } = t, m = c, j = n, T = !m && !j, N = !!y && !w, D = q(
728
+ } = t, m = c, j = n, T = !m && !j, N = !!y && !w, D = G(
729
729
  P.button,
730
730
  P[s],
731
731
  P[a],
@@ -762,8 +762,8 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
762
762
  disabled: $,
763
763
  showBadge: B,
764
764
  badgeSize: V,
765
- badgeValue: G,
766
- showSubcaption: Z,
765
+ badgeValue: Z,
766
+ showSubcaption: q,
767
767
  subcaption: te,
768
768
  stretched: ae,
769
769
  spaceBetween: re,
@@ -805,8 +805,8 @@ const ua = (t) => t.as === "a", pa = (t) => t.as === void 0 || t.as === "button"
805
805
  disabled: $,
806
806
  showBadge: B,
807
807
  badgeSize: V,
808
- badgeValue: G,
809
- showSubcaption: Z,
808
+ badgeValue: Z,
809
+ showSubcaption: q,
810
810
  subcaption: te,
811
811
  stretched: ae,
812
812
  spaceBetween: re,
@@ -847,7 +847,7 @@ var Ye = { exports: {} };
847
847
  http://jedwatson.github.io/classnames
848
848
  */
849
849
  var yt;
850
- function Ga() {
850
+ function Za() {
851
851
  return yt || (yt = 1, function(t) {
852
852
  (function() {
853
853
  var r = {}.hasOwnProperty;
@@ -879,8 +879,8 @@ function Ga() {
879
879
  })();
880
880
  }(Ye)), Ye.exports;
881
881
  }
882
- var Za = Ga();
883
- const Ie = /* @__PURE__ */ ia(Za), Ya = "_avatar_1kyiq_17", Ja = "_clickable_1kyiq_41", Ka = "_icon_1kyiq_58", Xa = "_disabled_1kyiq_63", Qa = "_loading_1kyiq_68", er = "_image_1kyiq_74", tr = "_name_1kyiq_74", de = {
882
+ var qa = Za();
883
+ const Ie = /* @__PURE__ */ ia(qa), Ya = "_avatar_1kyiq_17", Ja = "_clickable_1kyiq_41", Ka = "_icon_1kyiq_58", Xa = "_disabled_1kyiq_63", Qa = "_loading_1kyiq_68", er = "_image_1kyiq_74", tr = "_name_1kyiq_74", de = {
884
884
  avatar: Ya,
885
885
  clickable: Ja,
886
886
  icon: Ka,
@@ -1013,7 +1013,7 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1013
1013
  we(() => {
1014
1014
  _ && R(!1);
1015
1015
  }, [_]);
1016
- const U = _ && !D ? "image" : h ? "icon" : f ? "name" : "placeholder", A = y || U === "name" && sr(f) || "gray", z = lr(s), x = jt(s, c), W = q(
1016
+ const U = _ && !D ? "image" : h ? "icon" : f ? "name" : "placeholder", A = y || U === "name" && sr(f) || "gray", z = lr(s), x = jt(s, c), W = G(
1017
1017
  S,
1018
1018
  de.avatar,
1019
1019
  de[`variant-${p}`],
@@ -1060,8 +1060,8 @@ const cr = "data:image/svg+xml,%3csvg%20opacity='0.9'%20preserveAspectRatio='xMi
1060
1060
  alt: g || void 0,
1061
1061
  onLoad: () => R(!1),
1062
1062
  onError: (V) => {
1063
- var G;
1064
- R(!0), (G = b == null ? void 0 : b.onError) == null || G.call(b, V);
1063
+ var Z;
1064
+ R(!0), (Z = b == null ? void 0 : b.onError) == null || Z.call(b, V);
1065
1065
  }
1066
1066
  }
1067
1067
  )
@@ -1447,17 +1447,17 @@ const yr = 3, mr = (t) => {
1447
1447
  b && j.error,
1448
1448
  S && j.image
1449
1449
  ] });
1450
- }), qr = {}, Rt = ra({
1451
- locale: qr
1452
- }), Gr = () => {
1450
+ }), Gr = {}, Rt = ra({
1451
+ locale: Gr
1452
+ }), Zr = () => {
1453
1453
  const t = sa(Rt);
1454
1454
  if (!t)
1455
1455
  throw new Error("useConfig must be used within a ConfigProvider");
1456
1456
  return t;
1457
1457
  }, An = () => {
1458
- const { locale: t } = Gr();
1458
+ const { locale: t } = Zr();
1459
1459
  return t;
1460
- }, Zr = {}, Yr = {}, Jr = {}, Nn = ({
1460
+ }, qr = {}, Yr = {}, Jr = {}, Nn = ({
1461
1461
  locale: t = {},
1462
1462
  theme: r,
1463
1463
  children: a,
@@ -1474,7 +1474,7 @@ const yr = 3, mr = (t) => {
1474
1474
  "div",
1475
1475
  {
1476
1476
  "data-testid": "ConfigProvider-component",
1477
- className: q(Zr, Yr, Jr, s)
1477
+ className: G(qr, Yr, Jr, s)
1478
1478
  }
1479
1479
  ),
1480
1480
  /* @__PURE__ */ o.jsx(Rt.Provider, { value: { locale: t }, children: a })
@@ -1512,7 +1512,7 @@ const yr = 3, mr = (t) => {
1512
1512
  return /* @__PURE__ */ o.jsxs(
1513
1513
  "div",
1514
1514
  {
1515
- className: q(
1515
+ className: G(
1516
1516
  xe.tag,
1517
1517
  xe[n],
1518
1518
  xe[i],
@@ -1526,13 +1526,13 @@ const yr = 3, mr = (t) => {
1526
1526
  "data-testid": h || "tag-component",
1527
1527
  ref: r,
1528
1528
  children: [
1529
- d && /* @__PURE__ */ o.jsx("span", { className: q([xe.iconWrapper, b]), ...y, children: d }),
1530
- p && /* @__PURE__ */ o.jsx("span", { className: q([xe.label]), children: s }),
1531
- f && /* @__PURE__ */ o.jsx("span", { className: q([xe.iconWrapper, S]), ...C, children: f })
1529
+ d && /* @__PURE__ */ o.jsx("span", { className: G([xe.iconWrapper, b]), ...y, children: d }),
1530
+ p && /* @__PURE__ */ o.jsx("span", { className: G([xe.label]), children: s }),
1531
+ f && /* @__PURE__ */ o.jsx("span", { className: G([xe.iconWrapper, S]), ...C, children: f })
1532
1532
  ]
1533
1533
  }
1534
1534
  );
1535
- }), _s = "_checkbox_qo5f5_43", fs = "_input_qo5f5_59", gs = "_icon_qo5f5_67", hs = "_container_qo5f5_84", bs = "_error_qo5f5_135", ys = "_checkboxWrapper_qo5f5_147", ms = "_medium_qo5f5_201", vs = "_large_qo5f5_206", xs = "_label_qo5f5_247", ge = {
1535
+ }), _s = "_checkbox_15onj_43", fs = "_input_15onj_59", gs = "_icon_15onj_67", hs = "_container_15onj_84", bs = "_error_15onj_135", ys = "_checkboxWrapper_15onj_147", ms = "_medium_15onj_201", vs = "_large_15onj_206", xs = "_label_15onj_247", ge = {
1536
1536
  checkbox: _s,
1537
1537
  input: fs,
1538
1538
  icon: gs,
@@ -1634,7 +1634,7 @@ const yr = 3, mr = (t) => {
1634
1634
  tabIndex: S,
1635
1635
  onChange: C,
1636
1636
  "data-testid": w = "checkbox"
1637
- } = t, [m, j] = De(!1), T = s ?? m, N = d || c, D = !!p, R = T || n, U = q(ge.container, ge[i], f), A = q(
1637
+ } = t, [m, j] = De(!1), T = s ?? m, N = d || c, D = !!p, R = T || n, U = G(ge.container, ge[i], f), A = G(
1638
1638
  ge.checkbox,
1639
1639
  ge[i],
1640
1640
  {
@@ -1756,7 +1756,7 @@ const yr = 3, mr = (t) => {
1756
1756
  typographyStyle: f = "primary",
1757
1757
  ..._
1758
1758
  }, g) => {
1759
- const h = c || Os[a], b = q(
1759
+ const h = c || Os[a], b = G(
1760
1760
  je.typography,
1761
1761
  Ne[`typography-${t}-${a}-${p}`],
1762
1762
  je[f],
@@ -1782,7 +1782,7 @@ const yr = 3, mr = (t) => {
1782
1782
  typographyStyle: f = "primary",
1783
1783
  ..._
1784
1784
  }, g) => {
1785
- const h = c, b = q(
1785
+ const h = c, b = G(
1786
1786
  je.typography,
1787
1787
  Ne[`typography-${t}-${a}-${p}`],
1788
1788
  je[f],
@@ -1809,7 +1809,7 @@ const yr = 3, mr = (t) => {
1809
1809
  Subtitle: xt("subtitle"),
1810
1810
  Label: Ct("label"),
1811
1811
  Paragraph: Ct("paragraph")
1812
- }, Us = "_inputBase_1m6fe_85", Bs = "_wrapper_1m6fe_95", Fs = "_gripHandle_1m6fe_169", Ps = "_error_1m6fe_230", zs = "_tabFocused_1m6fe_237", Ws = "_disabled_1m6fe_262", Vs = "_loading_1m6fe_269", Hs = "_label_1m6fe_279", qs = "_small_1m6fe_292", Gs = "_large_1m6fe_299", Zs = "_leftSection_1m6fe_306", Ys = "_rightSection_1m6fe_315", Js = "_helper_1m6fe_351", Ks = "_floatingLabel_1m6fe_376", Xs = "_focused_1m6fe_434", Qs = "_filled_1m6fe_435", en = "_medium_1m6fe_469", tn = "_characterLimit_1m6fe_510", an = "_input_1m6fe_85", rn = "_textarea_1m6fe_109", sn = "_truncate_1m6fe_637", nn = "_hint_1m6fe_719", M = {
1812
+ }, Us = "_inputBase_1m6fe_85", Bs = "_wrapper_1m6fe_95", Fs = "_gripHandle_1m6fe_169", Ps = "_error_1m6fe_230", zs = "_tabFocused_1m6fe_237", Ws = "_disabled_1m6fe_262", Vs = "_loading_1m6fe_269", Hs = "_label_1m6fe_279", Gs = "_small_1m6fe_292", Zs = "_large_1m6fe_299", qs = "_leftSection_1m6fe_306", Ys = "_rightSection_1m6fe_315", Js = "_helper_1m6fe_351", Ks = "_floatingLabel_1m6fe_376", Xs = "_focused_1m6fe_434", Qs = "_filled_1m6fe_435", en = "_medium_1m6fe_469", tn = "_characterLimit_1m6fe_510", an = "_input_1m6fe_85", rn = "_textarea_1m6fe_109", sn = "_truncate_1m6fe_637", nn = "_hint_1m6fe_719", M = {
1813
1813
  inputBase: Us,
1814
1814
  wrapper: Bs,
1815
1815
  "textarea-wrapper": "_textarea-wrapper_1m6fe_109",
@@ -1819,9 +1819,9 @@ const yr = 3, mr = (t) => {
1819
1819
  disabled: Ws,
1820
1820
  loading: Vs,
1821
1821
  label: Hs,
1822
- small: qs,
1823
- large: Gs,
1824
- leftSection: Zs,
1822
+ small: Gs,
1823
+ large: Zs,
1824
+ leftSection: qs,
1825
1825
  rightSection: Ys,
1826
1826
  helper: Js,
1827
1827
  floatingLabel: Ks,
@@ -1981,7 +1981,7 @@ const yr = 3, mr = (t) => {
1981
1981
  onChange: d,
1982
1982
  onKeyUp: f,
1983
1983
  maxLength: _,
1984
- className: q(
1984
+ className: G(
1985
1985
  M.textarea,
1986
1986
  M[`size-${r}`],
1987
1987
  y && M["with-floating-label"],
@@ -2010,7 +2010,7 @@ const yr = 3, mr = (t) => {
2010
2010
  onChange: d,
2011
2011
  onKeyUp: f,
2012
2012
  maxLength: _,
2013
- className: q(
2013
+ className: G(
2014
2014
  M.input,
2015
2015
  M[`size-${r}`],
2016
2016
  y && M["with-floating-label"],
@@ -2063,14 +2063,14 @@ const yr = 3, mr = (t) => {
2063
2063
  showGrip: W = !1,
2064
2064
  ...O
2065
2065
  }, $) => {
2066
- const B = $t(), V = A || B, G = C && S && (R || w), Z = S && S.length > wt ? S.substring(0, wt) + "..." : S, te = q(
2066
+ const B = $t(), V = A || B, Z = C && S && (R || w), q = S && S.length > wt ? S.substring(0, wt) + "..." : S, te = G(
2067
2067
  M.wrapper,
2068
2068
  a && M.error,
2069
2069
  s && M.disabled,
2070
2070
  i && M.loading,
2071
- G && M["has-hint"],
2071
+ Z && M["has-hint"],
2072
2072
  n
2073
- ), ae = q(
2073
+ ), ae = G(
2074
2074
  M.floatingLabel,
2075
2075
  M[r],
2076
2076
  R && M.filled,
@@ -2110,12 +2110,12 @@ const yr = 3, mr = (t) => {
2110
2110
  children: /* @__PURE__ */ o.jsx(on, {})
2111
2111
  }
2112
2112
  ),
2113
- G && /* @__PURE__ */ o.jsx(
2113
+ Z && /* @__PURE__ */ o.jsx(
2114
2114
  "div",
2115
2115
  {
2116
- className: q(M.hint, R && M.truncate),
2116
+ className: G(M.hint, R && M.truncate),
2117
2117
  "data-disabled": s || i,
2118
- children: Z
2118
+ children: q
2119
2119
  }
2120
2120
  ),
2121
2121
  b && y && /* @__PURE__ */ o.jsxs("div", { className: M.characterLimit, children: [
@@ -2129,7 +2129,7 @@ const yr = 3, mr = (t) => {
2129
2129
  U && /* @__PURE__ */ o.jsx(
2130
2130
  "div",
2131
2131
  {
2132
- className: q(
2132
+ className: G(
2133
2133
  M.helper,
2134
2134
  a && M.error,
2135
2135
  (s || i) && M.disabled
@@ -2180,8 +2180,8 @@ const St = Object.assign(un, {
2180
2180
  showHintOnEmpty: $ = !1,
2181
2181
  truncate: B = !1,
2182
2182
  resize: V,
2183
- showGrip: G = !1,
2184
- ...Z
2183
+ showGrip: Z = !1,
2184
+ ...q
2185
2185
  }, te) => {
2186
2186
  const ae = $t(), re = h || ae, [be, se] = De(C), ye = C !== void 0 ? C : be, Se = (ye || "").length > 0, ue = p && (r === "large" || t === "textarea") && !_, ie = Ce(
2187
2187
  (K) => {
@@ -2237,7 +2237,7 @@ const St = Object.assign(un, {
2237
2237
  error: s,
2238
2238
  disabled: i || n,
2239
2239
  loading: n,
2240
- className: q(a, t === "textarea" && M["textarea-wrapper"]),
2240
+ className: G(a, t === "textarea" && M["textarea-wrapper"]),
2241
2241
  wrapperProps: w,
2242
2242
  wrapperStyles: m,
2243
2243
  floatingLabelStyles: j,
@@ -2259,9 +2259,9 @@ const St = Object.assign(un, {
2259
2259
  helper: f,
2260
2260
  id: re,
2261
2261
  value: ye,
2262
- showGrip: G,
2262
+ showGrip: Z,
2263
2263
  resize: V,
2264
- ...Z,
2264
+ ...q,
2265
2265
  children: /* @__PURE__ */ o.jsx(
2266
2266
  St,
2267
2267
  {
@@ -2428,7 +2428,7 @@ const St = Object.assign(un, {
2428
2428
  helperProps: W,
2429
2429
  ...O
2430
2430
  }, $) => {
2431
- const B = (t || "").length > 0, V = d === J.LARGE, G = !!y, Z = V && m && !y, te = C && B && !(g || h), ae = () => {
2431
+ const B = (t || "").length > 0, V = d === J.LARGE, Z = !!y, q = V && m && !y, te = C && B && !(g || h), ae = () => {
2432
2432
  r == null || r("");
2433
2433
  }, re = te ? /* @__PURE__ */ o.jsx(
2434
2434
  kt,
@@ -2445,7 +2445,7 @@ const St = Object.assign(un, {
2445
2445
  autoComplete: c,
2446
2446
  autoFocus: p,
2447
2447
  ...f
2448
- }, se = yn(d, Z, B, G);
2448
+ }, se = yn(d, q, B, Z);
2449
2449
  return /* @__PURE__ */ o.jsx(
2450
2450
  At,
2451
2451
  {
@@ -2457,7 +2457,7 @@ const St = Object.assign(un, {
2457
2457
  prefix: y,
2458
2458
  suffix: re,
2459
2459
  id: w,
2460
- showLabel: Z,
2460
+ showLabel: q,
2461
2461
  onFocus: j,
2462
2462
  onBlur: T,
2463
2463
  onChange: r,
@@ -2635,7 +2635,7 @@ const St = Object.assign(un, {
2635
2635
  }, W) => {
2636
2636
  const O = (t || "").length > 0, $ = S && !!a && (c === oe.SMALL || A !== 48), B = b && O && !(f || _), V = () => {
2637
2637
  r == null || r("");
2638
- }, G = B ? /* @__PURE__ */ o.jsx(
2638
+ }, Z = B ? /* @__PURE__ */ o.jsx(
2639
2639
  kt,
2640
2640
  {
2641
2641
  size: Sn(c),
@@ -2644,7 +2644,7 @@ const St = Object.assign(un, {
2644
2644
  style: { cursor: "pointer" },
2645
2645
  "data-testid": "x-icon"
2646
2646
  }
2647
- ) : h, Z = Ln(c, A, $ && O, z), te = wn(c, A), ae = {
2647
+ ) : h, q = Ln(c, A, $ && O, z), te = wn(c, A), ae = {
2648
2648
  rows: j,
2649
2649
  minLength: i,
2650
2650
  autoFocus: n,
@@ -2661,7 +2661,7 @@ const St = Object.assign(un, {
2661
2661
  disabled: f || _,
2662
2662
  loading: _,
2663
2663
  helper: g,
2664
- suffix: G,
2664
+ suffix: Z,
2665
2665
  id: y,
2666
2666
  showLabel: $,
2667
2667
  onFocus: C,
@@ -2671,10 +2671,10 @@ const St = Object.assign(un, {
2671
2671
  placeholder: a,
2672
2672
  className: m,
2673
2673
  "data-floating-label": $,
2674
- wrapperStyles: Z.wrapperStyles,
2675
- floatingLabelStyles: Z.floatingLabelStyles,
2676
- suffixStyles: Z.suffixStyles,
2677
- textareaStyles: Z.textareaStyles,
2674
+ wrapperStyles: q.wrapperStyles,
2675
+ floatingLabelStyles: q.floatingLabelStyles,
2676
+ suffixStyles: q.suffixStyles,
2677
+ textareaStyles: q.textareaStyles,
2678
2678
  wrapperProps: N,
2679
2679
  labelProps: D,
2680
2680
  helperProps: R,
@@ -2701,7 +2701,7 @@ const St = Object.assign(un, {
2701
2701
  "aria-label": c,
2702
2702
  "aria-describedby": p
2703
2703
  }) => {
2704
- const d = !!r, f = q(
2704
+ const d = !!r, f = G(
2705
2705
  Xe.helper,
2706
2706
  d && Xe["helper--error"],
2707
2707
  i && Xe["helper--disabled"],
@@ -2732,8 +2732,8 @@ export {
2732
2732
  Pn as TextArea,
2733
2733
  Fn as TextInput,
2734
2734
  Bn as Typography,
2735
- qr as enUS,
2735
+ Gr as enUS,
2736
2736
  Dn as ruRU,
2737
- Gr as useConfig,
2737
+ Zr as useConfig,
2738
2738
  An as useLocale
2739
2739
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillgrid",
3
- "version": "0.0.24-dev-31782-34252-avatar-and-badge.1159375",
3
+ "version": "0.0.24-dev-40201-checkbox.1159985",
4
4
  "description": "Skillgrid Components Library",
5
5
  "keywords": [
6
6
  "react",