@livechat/design-system-react-components 1.22.0 → 1.22.1

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
@@ -24,7 +24,7 @@ import * as e from "react";
24
24
  import { useReducer as Or, useRef as Hr, useEffect as nt, useCallback as Bt, useMemo as Pt } from "react";
25
25
  import { Check as qt, Close as Pe, ChevronDown as Tt, Info as Pa, Warning as ur, CheckCircle as mr, Block as pr, Person as zr, ChevronUp as Yt, DoubleArrowLeft as Gr, ChevronLeft as Ur, ChevronRight as gr, DoubleArrowRight as Wr, VisibilityOn as Vr, VisibilityOff as qr, Search as Yr, LockBlackFilled as Kr, Refresh as Jr, Error as Xr } from "@livechat/design-system-icons";
26
26
  import u from "clsx";
27
- import { useFloating as Kt, offset as Jt, flip as Xt, autoUpdate as Qt, useClick as jt, useDismiss as Zt, useRole as ea, useInteractions as ta, useTransitionStyles as br, shift as Aa, arrow as Qr, useHover as jr, safePolygon as Zr, useFocus as e_, useTransitionStatus as t_, FloatingPortal as fr, FloatingOverlay as a_, FloatingFocusManager as Ca, useFloatingNodeId as vr, size as r_, useListNavigation as __, FloatingNode as hr, useFloatingParentNodeId as o_, FloatingTree as l_ } from "@floating-ui/react";
27
+ import { useFloating as Kt, offset as Jt, flip as Xt, autoUpdate as Qt, useClick as jt, useDismiss as Zt, useRole as ea, useInteractions as ta, useTransitionStyles as br, shift as Aa, arrow as Qr, useHover as jr, safePolygon as Zr, useFocus as e_, useTransitionStatus as t_, FloatingPortal as fr, FloatingOverlay as a_, FloatingFocusManager as Na, useFloatingNodeId as vr, size as r_, useListNavigation as __, FloatingNode as hr, useFloatingParentNodeId as o_, FloatingTree as l_ } from "@floating-ui/react";
28
28
  import kr from "lodash.debounce";
29
29
  import { getContrast as Ia } from "polished";
30
30
  import c_ from "react-day-picker";
@@ -376,10 +376,14 @@ const _c = {
376
376
  SurfaceAvatar9: "--surface-avatar-9",
377
377
  SurfaceAvatar10: "--surface-avatar-10",
378
378
  NavbarBackground: "--navbar-background",
379
+ TooltipBackgroundBasic: "--tooltip-background-basic",
380
+ TooltipBackgroundInvert: "--tooltip-background-invert",
379
381
  TooltipBorder: "--tooltip-border",
380
382
  AnimatedGradientValue1: "--animated-gradient-value-1",
381
383
  AnimatedGradientValue2: "--animated-gradient-value-2",
382
- AnimatedGradientValue3: "--animated-gradient-value-3"
384
+ AnimatedGradientValue3: "--animated-gradient-value-3",
385
+ ContentBasicInternalNote: "--content-basic-internal-note",
386
+ ContentBasicBot: "--content-basic-bot"
383
387
  }, oc = {
384
388
  Spacing0: "--spacing-0",
385
389
  Spacing05: "--spacing-05",
@@ -417,7 +421,11 @@ const _c = {
417
421
  DividerTopLeft: "--shadow-divider-top-left",
418
422
  DividerTopRight: "--shadow-divider-top-right",
419
423
  DividerBottomRight: "--shadow-divider-bottom-right",
420
- MessageBox: "--shadow-message-box"
424
+ MessageBox: "--shadow-message-box",
425
+ FixedRight: "--shadow-fixed-right",
426
+ FixedLeft: "--shadow-fixed-left",
427
+ FixedTop: "--shadow-fixed-top",
428
+ FixedBottom: "--shadow-fixed-bottom"
421
429
  }, cc = {
422
430
  Radius0: "--radius-0",
423
431
  Radius1: "--radius-1",
@@ -705,9 +713,9 @@ const _c = {
705
713
  "selectedOptions",
706
714
  "footer"
707
715
  ]);
708
- const k = i !== void 0, [y, E] = e.useState(l), $ = e.useRef(-1), N = e.useRef(null), w = k ? i : y, S = () => {
716
+ const k = i !== void 0, [y, E] = e.useState(l), $ = e.useRef(-1), C = e.useRef(null), w = k ? i : y, S = () => {
709
717
  w ? (d == null || d(), !k && E(!1)) : (s == null || s(), !k && E(!0));
710
- }, { x: C, y: M, strategy: X, refs: D, context: L } = Kt({
718
+ }, { x: N, y: M, strategy: X, refs: D, context: L } = Kt({
711
719
  middleware: [Jt(4), Xt(n)],
712
720
  placement: o,
713
721
  open: w,
@@ -745,7 +753,7 @@ const _c = {
745
753
  }, Je = (F) => {
746
754
  var Le, Oe;
747
755
  $.current = Me(F);
748
- const Y = (Le = N.current) == null ? void 0 : Le.children, U = Y && ((Oe = Y[$.current]) == null ? void 0 : Oe.children[0]);
756
+ const Y = (Le = C.current) == null ? void 0 : Le.children, U = Y && ((Oe = Y[$.current]) == null ? void 0 : Oe.children[0]);
749
757
  return U == null ? void 0 : U.focus();
750
758
  }, Xe = (F) => {
751
759
  F.key === re.arrowUp && $.current > 0 && (F.preventDefault(), Je(-1)), F.key === re.arrowDown && $.current + 1 < r.length && (F.preventDefault(), Je(1));
@@ -801,7 +809,7 @@ const _c = {
801
809
  style: v({
802
810
  position: X,
803
811
  top: M != null ? M : "",
804
- left: C != null ? C : ""
812
+ left: N != null ? N : ""
805
813
  }, Ae)
806
814
  }, oe()),
807
815
  r.length > 0 && /* @__PURE__ */ e.createElement(
@@ -815,7 +823,7 @@ const _c = {
815
823
  t
816
824
  ),
817
825
  role: "menu",
818
- ref: N
826
+ ref: C
819
827
  }),
820
828
  r.map(at)
821
829
  ),
@@ -846,13 +854,13 @@ const _c = {
846
854
  "loader__spinner-circle": "lc-Loader-module__loader__spinner-circle___ApBUO",
847
855
  rotate: b_,
848
856
  loader__label: f_
849
- }, Nr = "loader", qa = `${Nr}__spinner`, Fa = ({
857
+ }, Cr = "loader", qa = `${Cr}__spinner`, Fa = ({
850
858
  primaryColor: t,
851
859
  secondaryColor: a,
852
860
  label: r,
853
861
  className: _,
854
862
  size: o = "medium"
855
- }) => /* @__PURE__ */ e.createElement("div", { className: u(ut[Nr], _) }, /* @__PURE__ */ e.createElement(
863
+ }) => /* @__PURE__ */ e.createElement("div", { className: u(ut[Cr], _) }, /* @__PURE__ */ e.createElement(
856
864
  "div",
857
865
  {
858
866
  className: u(ut[qa], ut[`${qa}--${o}`])
@@ -940,7 +948,7 @@ const _c = {
940
948
  "href",
941
949
  "onClick"
942
950
  ]);
943
- const k = t || a, y = !s && c, E = ["text", "link", "link-light"].includes(o), $ = m ? "a" : "button", N = u(
951
+ const k = t || a, y = !s && c, E = ["text", "link", "link-light"].includes(o), $ = m ? "a" : "button", C = u(
944
952
  d,
945
953
  me[pe],
946
954
  me[`${pe}--${o}`],
@@ -958,7 +966,7 @@ const _c = {
958
966
  $,
959
967
  v(v({
960
968
  ref: b,
961
- className: N,
969
+ className: C,
962
970
  "aria-disabled": k,
963
971
  type: r,
964
972
  disabled: k
@@ -983,7 +991,7 @@ const _c = {
983
991
  );
984
992
  }
985
993
  );
986
- function Cr(t) {
994
+ function Nr(t) {
987
995
  switch (t) {
988
996
  case "invert":
989
997
  return "inverted";
@@ -1001,12 +1009,12 @@ function E_(t, a, r, _) {
1001
1009
  left: a ? _ + a : _
1002
1010
  };
1003
1011
  }
1004
- const w_ = "lc-Tooltip-module__tooltip___QOOAr", $_ = "lc-Tooltip-module__tooltip__arrow___Ov1YW", N_ = "lc-Tooltip-module__tooltip__interactive___0JawB", T = {
1012
+ const w_ = "lc-Tooltip-module__tooltip___QOOAr", $_ = "lc-Tooltip-module__tooltip__arrow___Ov1YW", C_ = "lc-Tooltip-module__tooltip__interactive___0JawB", T = {
1005
1013
  tooltip: w_,
1006
1014
  tooltip__arrow: $_,
1007
1015
  "tooltip--invert": "lc-Tooltip-module__tooltip--invert___PVjhE",
1008
1016
  "tooltip--important": "lc-Tooltip-module__tooltip--important___X-IMK",
1009
- tooltip__interactive: N_,
1017
+ tooltip__interactive: C_,
1010
1018
  "tooltip__user-guide-step": "lc-Tooltip-module__tooltip__user-guide-step___evexI",
1011
1019
  "tooltip--full-space": "lc-Tooltip-module__tooltip--full-space___wmbaw",
1012
1020
  "tooltip-header": "lc-Tooltip-module__tooltip-header___QV0Vd",
@@ -1053,10 +1061,10 @@ const w_ = "lc-Tooltip-module__tooltip___QOOAr", $_ = "lc-Tooltip-module__toolti
1053
1061
  triggerOnClick: y = !1,
1054
1062
  offsetMainAxis: E = 8,
1055
1063
  referenceElement: $,
1056
- activationThreshold: N = 0,
1064
+ activationThreshold: C = 0,
1057
1065
  useDismissHookProps: w,
1058
1066
  useClickHookProps: S,
1059
- hoverOutDelayTimeout: C = 100,
1067
+ hoverOutDelayTimeout: N = 100,
1060
1068
  arrowOffsetY: M,
1061
1069
  arrowOffsetX: X,
1062
1070
  closeOnTriggerBlur: D = !1,
@@ -1089,10 +1097,10 @@ const w_ = "lc-Tooltip-module__tooltip___QOOAr", $_ = "lc-Tooltip-module__toolti
1089
1097
  whileElementsMounted: Qt
1090
1098
  }), _a = jr(U, {
1091
1099
  move: !1,
1092
- restMs: N,
1100
+ restMs: C,
1093
1101
  delay: {
1094
1102
  open: at(f),
1095
- close: at(k || C)
1103
+ close: at(k || N)
1096
1104
  },
1097
1105
  enabled: !y,
1098
1106
  handleClose: D ? null : Zr()
@@ -1151,7 +1159,7 @@ const w_ = "lc-Tooltip-module__tooltip___QOOAr", $_ = "lc-Tooltip-module__toolti
1151
1159
  className: T[`${mt}-close`],
1152
1160
  onClick: l
1153
1161
  },
1154
- /* @__PURE__ */ e.createElement(P, { source: Pe, kind: o ? Cr(o) : "primary" })
1162
+ /* @__PURE__ */ e.createElement(P, { source: Pe, kind: o ? Nr(o) : "primary" })
1155
1163
  ), a && /* @__PURE__ */ e.createElement(
1156
1164
  Be,
1157
1165
  {
@@ -1192,7 +1200,7 @@ const w_ = "lc-Tooltip-module__tooltip___QOOAr", $_ = "lc-Tooltip-module__toolti
1192
1200
  className: T[`${Re}-close`],
1193
1201
  onClick: l
1194
1202
  },
1195
- /* @__PURE__ */ e.createElement(P, { source: Pe, kind: o ? Cr(o) : "primary" })
1203
+ /* @__PURE__ */ e.createElement(P, { source: Pe, kind: o ? Nr(o) : "primary" })
1196
1204
  ), r && /* @__PURE__ */ e.createElement("div", { className: T[`${Re}-image-container`] }, /* @__PURE__ */ e.createElement(
1197
1205
  "img",
1198
1206
  {
@@ -1228,7 +1236,7 @@ const w_ = "lc-Tooltip-module__tooltip___QOOAr", $_ = "lc-Tooltip-module__toolti
1228
1236
  n.label
1229
1237
  )
1230
1238
  ));
1231
- }, Z = "guide-tooltip", C_ = ({
1239
+ }, Z = "guide-tooltip", N_ = ({
1232
1240
  gap: t,
1233
1241
  isVisible: a,
1234
1242
  slide: r,
@@ -1378,7 +1386,7 @@ const Ya = 8, Ka = "guide-tooltip", Ja = (t, a) => new S_(t, a), bc = (t) => {
1378
1386
  ).getBoundingClientRect()
1379
1387
  ), s(!0);
1380
1388
  }, [l]), l && _ && n ? /* @__PURE__ */ e.createElement(fr, null, /* @__PURE__ */ e.createElement(
1381
- C_,
1389
+ N_,
1382
1390
  {
1383
1391
  gap: n,
1384
1392
  isVisible: _,
@@ -1503,44 +1511,44 @@ const Ya = 8, Ka = "guide-tooltip", Ja = (t, a) => new S_(t, a), bc = (t) => {
1503
1511
  e.useEffect(() => {
1504
1512
  if (g)
1505
1513
  return;
1506
- const N = 44, w = 4, S = _.length, C = n.length, X = (S - C) * N + w;
1514
+ const C = 44, w = 4, S = _.length, N = n.length, X = (S - N) * C + w;
1507
1515
  s(X);
1508
1516
  }, [n, _, g]);
1509
- const k = (N) => {
1510
- N.map((w) => {
1517
+ const k = (C) => {
1518
+ C.map((w) => {
1511
1519
  const S = n.includes(w.target.id);
1512
1520
  if (!w.isIntersecting) {
1513
- w.target.setAttribute("tabindex", "-1"), S || i((C) => [
1514
- ...C,
1521
+ w.target.setAttribute("tabindex", "-1"), S || i((N) => [
1522
+ ...N,
1515
1523
  w.target.id
1516
1524
  ]);
1517
1525
  return;
1518
1526
  }
1519
- w.target.removeAttribute("tabindex"), S && i(n.filter((C) => C !== w.target.id));
1527
+ w.target.removeAttribute("tabindex"), S && i(n.filter((N) => N !== w.target.id));
1520
1528
  });
1521
1529
  };
1522
1530
  e.useEffect(() => {
1523
- const N = !!window.IntersectionObserver;
1524
- if (!g && N) {
1531
+ const C = !!window.IntersectionObserver;
1532
+ if (!g && C) {
1525
1533
  const w = document.querySelectorAll(
1526
1534
  `button[data-actionBarId='${a}']`
1527
1535
  ), S = new IntersectionObserver(
1528
1536
  k,
1529
1537
  h
1530
1538
  );
1531
- return w.forEach((C) => S.observe(C)), () => S.disconnect();
1539
+ return w.forEach((N) => S.observe(N)), () => S.disconnect();
1532
1540
  }
1533
1541
  }, [n, g]);
1534
- const y = (N) => _.filter(
1535
- (S) => N.find((C) => C === S.key && !S.hideInMenu)
1542
+ const y = (C) => _.filter(
1543
+ (S) => C.find((N) => N === S.key && !S.hideInMenu)
1536
1544
  ).map((S) => ({
1537
1545
  key: S.key,
1538
1546
  element: /* @__PURE__ */ e.createElement(m_, { leftNode: S.element }, S.label),
1539
1547
  onClick: S.onClick
1540
- })), E = _.filter((N) => n.find((w) => w === N.key)).find((N) => N.key === o), $ = (N, w) => w ? {
1541
- top: N
1548
+ })), E = _.filter((C) => n.find((w) => w === C.key)).find((C) => C.key === o), $ = (C, w) => w ? {
1549
+ top: C
1542
1550
  } : {
1543
- left: N
1551
+ left: C
1544
1552
  };
1545
1553
  return /* @__PURE__ */ e.createElement("div", { id: a, className: b }, /* @__PURE__ */ e.createElement(
1546
1554
  "div",
@@ -1550,13 +1558,13 @@ const Ya = 8, Ka = "guide-tooltip", Ja = (t, a) => new S_(t, a), bc = (t) => {
1550
1558
  [W[`${bt}__items--with-menu`]]: f
1551
1559
  })
1552
1560
  },
1553
- _.map((N) => /* @__PURE__ */ e.createElement(
1561
+ _.map((C) => /* @__PURE__ */ e.createElement(
1554
1562
  x_,
1555
1563
  {
1556
1564
  id: a,
1557
- option: N,
1565
+ option: C,
1558
1566
  menuItemsKeys: n,
1559
- isActive: N.key === o,
1567
+ isActive: C.key === o,
1560
1568
  vertical: l
1561
1569
  }
1562
1570
  ))
@@ -1813,7 +1821,7 @@ const H_ = "lc-Avatar-module__avatar___1zTCE", z_ = "lc-Avatar-module__avatar__s
1813
1821
  "type",
1814
1822
  "withRim"
1815
1823
  ]);
1816
- const g = i === "image" && !l, [b, h] = e.useState(g), f = i === "image" && !!l && !b, k = i === "text", y = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, E = L_(n, y), $ = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(o), N = r || M_(n), w = N ? O_(N) : void 0, S = k ? { backgroundColor: N } : {}, C = u(v({
1824
+ const g = i === "image" && !l, [b, h] = e.useState(g), f = i === "image" && !!l && !b, k = i === "text", y = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, E = L_(n, y), $ = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(o), C = r || M_(n), w = C ? O_(C) : void 0, S = k ? { backgroundColor: C } : {}, N = u(v({
1817
1825
  [ge[j]]: !0,
1818
1826
  [ge[`${j}--${_}`]]: !0,
1819
1827
  [ge[`${j}--${o}`]]: !0,
@@ -1832,7 +1840,7 @@ const H_ = "lc-Avatar-module__avatar___1zTCE", z_ = "lc-Avatar-module__avatar__s
1832
1840
  ), L = (_e) => $ ? "2xs" : ["medium"].includes(_e) ? "xs" : ["large", "xlarge"].includes(_e) ? "sm" : ["xxlarge"].includes(_e) ? "lg" : "xl", O = e.useCallback(() => h(!0), []);
1833
1841
  return e.useEffect(() => {
1834
1842
  h(g);
1835
- }, [g]), /* @__PURE__ */ e.createElement("div", v({ className: C, style: S }, s), d && /* @__PURE__ */ e.createElement(
1843
+ }, [g]), /* @__PURE__ */ e.createElement("div", v({ className: N, style: S }, s), d && /* @__PURE__ */ e.createElement(
1836
1844
  "div",
1837
1845
  {
1838
1846
  "data-testid": `${j}__rim`,
@@ -1948,8 +1956,8 @@ const X_ = "lc-SegmentedControl-module__btn___tfsvL", Rt = {
1948
1956
  kind: "secondary",
1949
1957
  icon: k,
1950
1958
  className: u(Rt.btn, Rt[`btn--${t}`], E),
1951
- onClick: (N) => {
1952
- m(g, N);
1959
+ onClick: (C) => {
1960
+ m(g, C);
1953
1961
  }
1954
1962
  },
1955
1963
  b
@@ -2007,7 +2015,7 @@ const X_ = "lc-SegmentedControl-module__btn___tfsvL", Rt = {
2007
2015
  },
2008
2016
  l
2009
2017
  ), k && /* @__PURE__ */ e.createElement("div", { className: be[Mt] }, /* @__PURE__ */ e.createElement("div", { className: be[`${Mt}__line`] }), /* @__PURE__ */ e.createElement("div", { className: be[`${Mt}__buttons`] }, h && a.map(
2010
- ({ kind: N, onClick: w, children: S }) => /* @__PURE__ */ e.createElement(V, { size: "compact", kind: N, onClick: w }, S)
2018
+ ({ kind: C, onClick: w, children: S }) => /* @__PURE__ */ e.createElement(V, { size: "compact", kind: C, onClick: w }, S)
2011
2019
  ), f && /* @__PURE__ */ e.createElement(
2012
2020
  V,
2013
2021
  {
@@ -2201,14 +2209,14 @@ const X_ = "lc-SegmentedControl-module__btn___tfsvL", Rt = {
2201
2209
  }) : _ < 0 ? x(v({}, r), {
2202
2210
  [B[`${R}__day--start`]]: a
2203
2211
  }) : r;
2204
- }, Nt = (t, a) => {
2212
+ }, Ct = (t, a) => {
2205
2213
  const r = a.find((_) => _.id === t);
2206
2214
  return r || void 0;
2207
2215
  }, ja = (t, a) => !!(!t || t && a), Eo = (t) => {
2208
2216
  const a = {};
2209
2217
  if (!t.initialSelectedItemKey)
2210
2218
  return a;
2211
- const r = Nt(
2219
+ const r = Ct(
2212
2220
  t.initialSelectedItemKey,
2213
2221
  t.options
2214
2222
  );
@@ -2251,7 +2259,7 @@ const X_ = "lc-SegmentedControl-module__btn___tfsvL", Rt = {
2251
2259
  }, a), Za = "date-picker", $o = (t) => {
2252
2260
  const a = t.getDate();
2253
2261
  return /* @__PURE__ */ e.createElement("div", { className: B[`${Za}__day-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: B[`${Za}__day-content`] }, a));
2254
- }, No = (t) => {
2262
+ }, Co = (t) => {
2255
2263
  const k = t, {
2256
2264
  classNames: a,
2257
2265
  range: r,
@@ -2320,10 +2328,10 @@ const X_ = "lc-SegmentedControl-module__btn___tfsvL", Rt = {
2320
2328
  renderDay: d || $o
2321
2329
  }, m)
2322
2330
  );
2323
- }, Co = e.forwardRef(
2324
- (t, a) => /* @__PURE__ */ e.createElement(No, v({ innerRef: a }, t))
2331
+ }, No = e.forwardRef(
2332
+ (t, a) => /* @__PURE__ */ e.createElement(Co, v({ innerRef: a }, t))
2325
2333
  );
2326
- Co.displayName = "DatePicker";
2334
+ No.displayName = "DatePicker";
2327
2335
  var q = /* @__PURE__ */ ((t) => (t.NEW_SELECTED_ITEM = "NEW_SELECTED_ITEM", t.NEW_TEMPORARY_TO_VALUE = "NEW_TEMPORARY_TO_VALUE", t.CLEAR = "CLEAR", t.SET_FROM = "SET_FROM", t.SET_TO = "SET_TO", t.SELECT_FIRST_DAY = "SELECT_FIRST_DAY", t.SELECT_SECOND_DAY_AS_FROM = "SELECT_SECOND_DAY_AS_FROM", t.SELECT_SECOND_DAY_AS_TO = "SELECT_SECOND_DAY_AS_TO", t.CURRENT_MONTH_CHANGE = "CURRENT_MONTH_CHANGE", t))(q || {});
2328
2336
  const So = (t) => {
2329
2337
  const a = Dr(
@@ -2429,7 +2437,7 @@ const So = (t) => {
2429
2437
  const { from: h, selectedItem: f, to: k } = i;
2430
2438
  if (!(h && k))
2431
2439
  return;
2432
- const y = Nt(f, t);
2440
+ const y = Ct(f, t);
2433
2441
  y && (l == null || l(x(v({}, y), {
2434
2442
  value: {
2435
2443
  from: h,
@@ -2444,7 +2452,7 @@ const So = (t) => {
2444
2452
  l(null);
2445
2453
  return;
2446
2454
  }
2447
- if (!Nt(h, t))
2455
+ if (!Ct(h, t))
2448
2456
  return;
2449
2457
  const k = t.reduce(
2450
2458
  (y, E) => x(v({}, y), { [E.id]: E }),
@@ -2485,7 +2493,7 @@ const So = (t) => {
2485
2493
  });
2486
2494
  return;
2487
2495
  }
2488
- Nt(h, t) && d({
2496
+ Ct(h, t) && d({
2489
2497
  type: q.NEW_SELECTED_ITEM,
2490
2498
  payload: { selectedItem: h }
2491
2499
  });
@@ -2501,7 +2509,7 @@ const So = (t) => {
2501
2509
  const { currentMonth: h, from: f, selectedItem: k, temporaryTo: y, to: E } = i, $ = Pt(
2502
2510
  () => yo(f, y),
2503
2511
  [f, y]
2504
- ), N = Pt(() => Nt(k, t), [t, k]), w = Pt(() => [f, { from: f, to: y }], [f, y]), S = Pt(() => o ? { after: o } : void 0, [o]);
2512
+ ), C = Pt(() => Ct(k, t), [t, k]), w = Pt(() => [f, { from: f, to: y }], [f, y]), S = Pt(() => o ? { after: o } : void 0, [o]);
2505
2513
  return {
2506
2514
  select: {
2507
2515
  onItemSelect: p,
@@ -2524,7 +2532,7 @@ const So = (t) => {
2524
2532
  onDayMouseEnter: s,
2525
2533
  onMonthChange: g
2526
2534
  },
2527
- selectedOption: N
2535
+ selectedOption: C
2528
2536
  };
2529
2537
  })());
2530
2538
  };
@@ -2705,7 +2713,7 @@ const Ec = (t) => {
2705
2713
  "field-group": "lc-FieldGroup-module__field-group___gy8lp",
2706
2714
  "field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
2707
2715
  "field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
2708
- }, ka = "field-group", Nc = (n) => {
2716
+ }, ka = "field-group", Cc = (n) => {
2709
2717
  var i = n, {
2710
2718
  className: t = "",
2711
2719
  children: a,
@@ -2732,7 +2740,7 @@ const Ec = (t) => {
2732
2740
  form__footer: Bo,
2733
2741
  form__label: Po,
2734
2742
  form__helper: Ao
2735
- }, vt = "form", Cc = (c) => {
2743
+ }, vt = "form", Nc = (c) => {
2736
2744
  var n = c, {
2737
2745
  className: t,
2738
2746
  children: a,
@@ -2945,9 +2953,9 @@ const Ec = (t) => {
2945
2953
  [Te[`${De}--crop`]]: l,
2946
2954
  [Te[`${De}--read-only`]]: c.readOnly
2947
2955
  }
2948
- ), E = r ? "var(--content-disabled)" : "var(--content-default)", $ = g ? Vr : qr, N = _ && _.place === "left", w = _ && h !== "password" && _.place === "right", S = () => {
2949
- var C;
2950
- (C = s.current) == null || C.focus();
2956
+ ), E = r ? "var(--content-disabled)" : "var(--content-default)", $ = g ? Vr : qr, C = _ && _.place === "left", w = _ && h !== "password" && _.place === "right", S = () => {
2957
+ var N;
2958
+ (N = s.current) == null || N.focus();
2951
2959
  };
2952
2960
  return /* @__PURE__ */ e.createElement(
2953
2961
  A,
@@ -2958,16 +2966,16 @@ const Ec = (t) => {
2958
2966
  "tab-index": "0",
2959
2967
  onClick: S
2960
2968
  },
2961
- N && ar(_, r),
2969
+ C && ar(_, r),
2962
2970
  /* @__PURE__ */ e.createElement(
2963
2971
  "input",
2964
2972
  x(v({}, c), {
2965
2973
  ref: s,
2966
- onFocus: (C) => {
2967
- p(!0), f == null || f(C);
2974
+ onFocus: (N) => {
2975
+ p(!0), f == null || f(N);
2968
2976
  },
2969
- onBlur: (C) => {
2970
- p(!1), k == null || k(C);
2977
+ onBlur: (N) => {
2978
+ p(!1), k == null || k(N);
2971
2979
  },
2972
2980
  disabled: r,
2973
2981
  type: h && !g ? h : "text"
@@ -2981,7 +2989,7 @@ const Ec = (t) => {
2981
2989
  kind: "text",
2982
2990
  size: "compact",
2983
2991
  icon: /* @__PURE__ */ e.createElement(P, { customColor: E, source: $ }),
2984
- onClick: () => b((C) => !C),
2992
+ onClick: () => b((N) => !N),
2985
2993
  className: Te[`${De}__visibility-button`]
2986
2994
  }
2987
2995
  )
@@ -3258,12 +3266,12 @@ const Ec = (t) => {
3258
3266
  );
3259
3267
  if (S === "" || S === "-")
3260
3268
  return b(S);
3261
- const C = parseInt(S, 10);
3262
- return b(h(C));
3269
+ const N = parseInt(S, 10);
3270
+ return b(h(N));
3263
3271
  }, $ = () => {
3264
3272
  var w;
3265
3273
  return (w = p.current) == null || w.focus(), f(1);
3266
- }, N = () => {
3274
+ }, C = () => {
3267
3275
  var w;
3268
3276
  return (w = p.current) == null || w.focus(), f(-1);
3269
3277
  };
@@ -3305,7 +3313,7 @@ const Ec = (t) => {
3305
3313
  disabled: l || y(r, o),
3306
3314
  "aria-label": "Decrement value",
3307
3315
  className: rt[`${_t}__decrement`],
3308
- onClick: N,
3316
+ onClick: C,
3309
3317
  type: "button"
3310
3318
  },
3311
3319
  /* @__PURE__ */ e.createElement(
@@ -3467,24 +3475,24 @@ const xt = "select-all", Uo = (t, a) => {
3467
3475
  listClassName: f,
3468
3476
  virtuosoProps: k
3469
3477
  }) => {
3470
- const y = e.useRef(null), [E, $] = e.useState(_), N = o.length;
3478
+ const y = e.useRef(null), [E, $] = e.useState(_), C = o.length;
3471
3479
  e.useLayoutEffect(() => {
3472
- var C;
3473
- l && !c && n !== null && ((C = y.current) == null || C.focus({ preventScroll: !0 }));
3480
+ var N;
3481
+ l && !c && n !== null && ((N = y.current) == null || N.focus({ preventScroll: !0 }));
3474
3482
  }, [l, n, c, y]);
3475
3483
  const w = e.useCallback(
3476
- (C) => {
3477
- C !== E && (C < _ ? $(C + (N - 1) * zo) : $(_));
3484
+ (N) => {
3485
+ N !== E && (N < _ ? $(N + (C - 1) * zo) : $(_));
3478
3486
  },
3479
- [N]
3487
+ [C]
3480
3488
  );
3481
3489
  if (nt(() => {
3482
3490
  d.current = new Array(o.length);
3483
3491
  }, [o.length]), o.length === 0) {
3484
- const C = u(ot[cr], {
3492
+ const N = u(ot[cr], {
3485
3493
  [ot[`${cr}__no-results`]]: o.length === 0
3486
3494
  });
3487
- return /* @__PURE__ */ e.createElement(Ca, { context: t, modal: !1, initialFocus: -1 }, /* @__PURE__ */ e.createElement(
3495
+ return /* @__PURE__ */ e.createElement(Na, { context: t, modal: !1, initialFocus: -1 }, /* @__PURE__ */ e.createElement(
3488
3496
  "div",
3489
3497
  {
3490
3498
  className: u(ot.listbox, ot["no-results"]),
@@ -3492,11 +3500,11 @@ const xt = "select-all", Uo = (t, a) => {
3492
3500
  tabIndex: -1,
3493
3501
  style: r
3494
3502
  },
3495
- /* @__PURE__ */ e.createElement("div", { className: C }, b)
3503
+ /* @__PURE__ */ e.createElement("div", { className: N }, b)
3496
3504
  ));
3497
3505
  }
3498
- const S = (C) => i.includes(C) || C === xt && i.length === Da(o).length;
3499
- return /* @__PURE__ */ e.createElement(Ca, { context: t, modal: !1, initialFocus: -1 }, /* @__PURE__ */ e.createElement(
3506
+ const S = (N) => i.includes(N) || N === xt && i.length === Da(o).length;
3507
+ return /* @__PURE__ */ e.createElement(Na, { context: t, modal: !1, initialFocus: -1 }, /* @__PURE__ */ e.createElement(
3500
3508
  "div",
3501
3509
  {
3502
3510
  ref: a,
@@ -3514,11 +3522,11 @@ const xt = "select-all", Uo = (t, a) => {
3514
3522
  className: ot["listbox-wrapper"],
3515
3523
  ref: y
3516
3524
  }, p({
3517
- onKeyDown(C) {
3518
- s(!1), C.key === "Enter" && n !== null && m(o[n].key), C.key === " " && C.preventDefault();
3525
+ onKeyDown(N) {
3526
+ s(!1), N.key === "Enter" && n !== null && m(o[n].key), N.key === " " && N.preventDefault();
3519
3527
  },
3520
- onKeyUp(C) {
3521
- C.key === " " && n !== null && m(o[n].key);
3528
+ onKeyUp(N) {
3529
+ N.key === " " && n !== null && m(o[n].key);
3522
3530
  },
3523
3531
  onPointerMove() {
3524
3532
  s(!0);
@@ -3533,17 +3541,17 @@ const xt = "select-all", Uo = (t, a) => {
3533
3541
  data: o,
3534
3542
  increaseViewportBy: 200
3535
3543
  }, k), {
3536
- itemContent: (C, M) => /* @__PURE__ */ e.createElement(
3544
+ itemContent: (N, M) => /* @__PURE__ */ e.createElement(
3537
3545
  Wo,
3538
3546
  {
3539
- index: C,
3547
+ index: N,
3540
3548
  getItemProps: g,
3541
3549
  listElementsRef: d,
3542
- isActive: n === C,
3550
+ isActive: n === N,
3543
3551
  isSelected: S(M.key),
3544
3552
  onSelect: m,
3545
3553
  item: M,
3546
- numberOfItems: N
3554
+ numberOfItems: C
3547
3555
  }
3548
3556
  )
3549
3557
  })
@@ -3720,7 +3728,7 @@ const xt = "select-all", Uo = (t, a) => {
3720
3728
  [fe[`${ve}--icon-only`]]: p,
3721
3729
  [fe[`${ve}--dismissible-on-hover`]]: k
3722
3730
  }
3723
- ), E = l === "small" ? "small" : "medium", $ = l === "small" ? "sm" : "md", N = () => m ? i ? {
3731
+ ), E = l === "small" ? "small" : "medium", $ = l === "small" ? "sm" : "md", C = () => m ? i ? {
3724
3732
  style: {
3725
3733
  backgroundColor: "transparent",
3726
3734
  color: m,
@@ -3734,7 +3742,7 @@ const xt = "select-all", Uo = (t, a) => {
3734
3742
  A,
3735
3743
  x(v(v({
3736
3744
  className: y
3737
- }, b), N()), {
3745
+ }, b), C()), {
3738
3746
  as: "div",
3739
3747
  size: $
3740
3748
  }),
@@ -3829,8 +3837,8 @@ const xt = "select-all", Uo = (t, a) => {
3829
3837
  className: ce[`${ne}__item__avatar`]
3830
3838
  }
3831
3839
  ), /* @__PURE__ */ e.createElement("div", { className: ce[`${ne}__item__content`] }, E.name)), f = (E) => s(E.target.value), k = (E) => {
3832
- var $, N;
3833
- ($ = p.current) != null && $.id && E.key === "Enter" && d((N = p.current) == null ? void 0 : N.id), l === "multi" && (E.key === "Backspace" || E.key === "Delete") && !m && o && (o == null ? void 0 : o.length) > 0 && i(o[o.length - 1].key);
3840
+ var $, C;
3841
+ ($ = p.current) != null && $.id && E.key === "Enter" && d((C = p.current) == null ? void 0 : C.id), l === "multi" && (E.key === "Backspace" || E.key === "Delete") && !m && o && (o == null ? void 0 : o.length) > 0 && i(o[o.length - 1].key);
3834
3842
  }, y = () => /* @__PURE__ */ e.createElement(
3835
3843
  "input",
3836
3844
  {
@@ -3890,7 +3898,7 @@ const xt = "select-all", Uo = (t, a) => {
3890
3898
  isOpen: n,
3891
3899
  onVisibilityChange: i
3892
3900
  }) => {
3893
- const d = vr(), [s, m] = e.useState(!1), [p, g] = e.useState(null), [b, h] = e.useState(_), f = e.useRef([]), k = e.useRef(null), { refs: y, floatingStyles: E, context: $, isPositioned: N } = Kt({
3901
+ const d = vr(), [s, m] = e.useState(!1), [p, g] = e.useState(null), [b, h] = e.useState(_), f = e.useRef([]), k = e.useRef(null), { refs: y, floatingStyles: E, context: $, isPositioned: C } = Kt({
3894
3902
  nodeId: d,
3895
3903
  open: n,
3896
3904
  strategy: o,
@@ -3916,7 +3924,7 @@ const xt = "select-all", Uo = (t, a) => {
3916
3924
  enabled: !t,
3917
3925
  keyboardHandlers: !1,
3918
3926
  toggle: !1
3919
- }, c)), S = ea($, { role: "listbox" }), C = Zt($, l), M = __($, {
3927
+ }, c)), S = ea($, { role: "listbox" }), N = Zt($, l), M = __($, {
3920
3928
  enabled: a.length > 0 && !t,
3921
3929
  listRef: f,
3922
3930
  activeIndex: p,
@@ -3928,7 +3936,7 @@ const xt = "select-all", Uo = (t, a) => {
3928
3936
  (O) => !!O.disabled || !!O.groupHeader
3929
3937
  )
3930
3938
  }), { getReferenceProps: X, getFloatingProps: D, getItemProps: L } = ta(
3931
- [w, C, S, M]
3939
+ [w, N, S, M]
3932
3940
  );
3933
3941
  return !n && s && m(!1), {
3934
3942
  getReferenceProps: X,
@@ -3936,7 +3944,7 @@ const xt = "select-all", Uo = (t, a) => {
3936
3944
  getItemProps: L,
3937
3945
  setReference: y.setReference,
3938
3946
  floatingStyles: E,
3939
- isPositioned: N,
3947
+ isPositioned: C,
3940
3948
  context: $,
3941
3949
  nodeId: d,
3942
3950
  setFloating: y.setFloating,
@@ -3984,11 +3992,11 @@ const xt = "select-all", Uo = (t, a) => {
3984
3992
  });
3985
3993
  else if (i) {
3986
3994
  const E = (t == null ? void 0 : t.map(ya)) || [], $ = lr(E, k);
3987
- o(a.filter(({ key: N }) => $.includes(N)));
3995
+ o(a.filter(({ key: C }) => $.includes(C)));
3988
3996
  } else
3989
3997
  n((E) => {
3990
3998
  const $ = lr(E, k);
3991
- return o(a.filter(({ key: N }) => $.includes(N))), $;
3999
+ return o(a.filter(({ key: C }) => $.includes(C))), $;
3992
4000
  });
3993
4001
  };
3994
4002
  return {
@@ -4027,10 +4035,10 @@ const xt = "select-all", Uo = (t, a) => {
4027
4035
  onClose: y,
4028
4036
  openedOnInit: E = !1,
4029
4037
  clearSearchAfterSelection: $,
4030
- onSelect: N,
4038
+ onSelect: C,
4031
4039
  placement: w,
4032
4040
  floatingStrategy: S,
4033
- useDismissHookProps: C,
4041
+ useDismissHookProps: N,
4034
4042
  useClickHookProps: M,
4035
4043
  virtuosoProps: X
4036
4044
  } = O, D = I(O, [
@@ -4077,7 +4085,7 @@ const xt = "select-all", Uo = (t, a) => {
4077
4085
  options: c,
4078
4086
  type: g,
4079
4087
  selectAllOptionText: p,
4080
- onSelect: N,
4088
+ onSelect: C,
4081
4089
  setOpen: Ae
4082
4090
  }), {
4083
4091
  context: U,
@@ -4103,7 +4111,7 @@ const xt = "select-all", Uo = (t, a) => {
4103
4111
  maxListHeight: _,
4104
4112
  floatingStrategy: S,
4105
4113
  useClickHookProps: M,
4106
- useDismissHookProps: C,
4114
+ useDismissHookProps: N,
4107
4115
  isOpen: oe,
4108
4116
  onVisibilityChange: Ae
4109
4117
  });
@@ -4183,9 +4191,9 @@ const xt = "select-all", Uo = (t, a) => {
4183
4191
  useClickHookProps: g,
4184
4192
  floatingStrategy: b
4185
4193
  }) => {
4186
- const [h, f] = e.useState(s), k = o_(), y = vr(), E = d !== void 0, $ = E ? d : h, N = typeof _ == "string", w = typeof t == "function", S = (Ae, Me) => {
4194
+ const [h, f] = e.useState(s), k = o_(), y = vr(), E = d !== void 0, $ = E ? d : h, C = typeof _ == "string", w = typeof t == "function", S = (Ae, Me) => {
4187
4195
  Ae ? r == null || r(Me) : a == null || a(Me), !E && f(Ae);
4188
- }, { refs: C, context: M, floatingStyles: X } = Kt({
4196
+ }, { refs: N, context: M, floatingStyles: X } = Kt({
4189
4197
  nodeId: y,
4190
4198
  open: $,
4191
4199
  onOpenChange: S,
@@ -4203,19 +4211,19 @@ const xt = "select-all", Uo = (t, a) => {
4203
4211
  "div",
4204
4212
  x(v({
4205
4213
  "data-testid": "popover-trigger-button",
4206
- ref: C.setReference
4214
+ ref: N.setReference
4207
4215
  }, _e()), {
4208
4216
  className: l
4209
4217
  }),
4210
4218
  w ? t() : t
4211
- ), /* @__PURE__ */ e.createElement(hr, { id: y }, $ && /* @__PURE__ */ e.createElement(Ca, { context: M, modal: !1 }, /* @__PURE__ */ e.createElement(
4219
+ ), /* @__PURE__ */ e.createElement(hr, { id: y }, $ && /* @__PURE__ */ e.createElement(Na, { context: M, modal: !1 }, /* @__PURE__ */ e.createElement(
4212
4220
  "div",
4213
4221
  v({
4214
4222
  className: we,
4215
- ref: C.setFloating,
4223
+ ref: N.setFloating,
4216
4224
  style: X
4217
4225
  }, Ee()),
4218
- N ? /* @__PURE__ */ e.createElement(A, { as: "div" }, _) : _
4226
+ C ? /* @__PURE__ */ e.createElement(A, { as: "div" }, _) : _
4219
4227
  ))));
4220
4228
  return k === null ? /* @__PURE__ */ e.createElement(l_, null, oe) : oe;
4221
4229
  }, ll = [
@@ -4362,7 +4370,7 @@ const Et = {
4362
4370
  "promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
4363
4371
  "promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
4364
4372
  "promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
4365
- }, ul = 400, ml = 800, pl = 500, Ne = "promo-banner", Mc = ({
4373
+ }, ul = 400, ml = 800, pl = 500, Ce = "promo-banner", Mc = ({
4366
4374
  className: t,
4367
4375
  buttonText: a,
4368
4376
  children: r,
@@ -4375,11 +4383,11 @@ const Et = {
4375
4383
  onLinkClick: d
4376
4384
  }) => {
4377
4385
  const s = e.useRef(null), [m, p] = e.useState("medium"), g = u(
4378
- $e[Ne],
4386
+ $e[Ce],
4379
4387
  {
4380
- [$e[`${Ne}--light`]]: l,
4381
- [$e[`${Ne}--small`]]: m === "small",
4382
- [$e[`${Ne}--large`]]: m === "large"
4388
+ [$e[`${Ce}--light`]]: l,
4389
+ [$e[`${Ce}--small`]]: m === "small",
4390
+ [$e[`${Ce}--large`]]: m === "large"
4383
4391
  },
4384
4392
  t
4385
4393
  );
@@ -4392,21 +4400,21 @@ const Et = {
4392
4400
  f.cancel(), window.removeEventListener("resize", f);
4393
4401
  };
4394
4402
  }, []);
4395
- const b = /* @__PURE__ */ e.createElement("div", { className: $e[`${Ne}__footer`] }, a && /* @__PURE__ */ e.createElement(
4403
+ const b = /* @__PURE__ */ e.createElement("div", { className: $e[`${Ce}__footer`] }, a && /* @__PURE__ */ e.createElement(
4396
4404
  V,
4397
4405
  {
4398
4406
  kind: "primary",
4399
4407
  size: "compact",
4400
4408
  onClick: n,
4401
- className: $e[`${Ne}__button-text`]
4409
+ className: $e[`${Ce}__button-text`]
4402
4410
  },
4403
4411
  a
4404
4412
  ), c && /* @__PURE__ */ e.createElement(V, { size: "compact", kind: "text", onClick: d }, c));
4405
- return /* @__PURE__ */ e.createElement("div", { ref: s, className: g }, /* @__PURE__ */ e.createElement("div", { className: $e[`${Ne}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: $e[`${Ne}__img`] }), /* @__PURE__ */ e.createElement("div", { className: $e[`${Ne}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: $e[`${Ne}__header`] }, _), /* @__PURE__ */ e.createElement(A, { as: "div" }, r), m !== "large" && b), m === "large" && b), i && /* @__PURE__ */ e.createElement(
4413
+ return /* @__PURE__ */ e.createElement("div", { ref: s, className: g }, /* @__PURE__ */ e.createElement("div", { className: $e[`${Ce}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: $e[`${Ce}__img`] }), /* @__PURE__ */ e.createElement("div", { className: $e[`${Ce}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: $e[`${Ce}__header`] }, _), /* @__PURE__ */ e.createElement(A, { as: "div" }, r), m !== "large" && b), m === "large" && b), i && /* @__PURE__ */ e.createElement(
4406
4414
  "button",
4407
4415
  {
4408
4416
  type: "button",
4409
- className: $e[`${Ne}__close-icon`],
4417
+ className: $e[`${Ce}__close-icon`],
4410
4418
  onClick: i
4411
4419
  },
4412
4420
  /* @__PURE__ */ e.createElement(P, { source: Pe, size: "large", kind: "primary" })
@@ -4506,7 +4514,7 @@ const Et = {
4506
4514
  })
4507
4515
  )), t && /* @__PURE__ */ e.createElement(A, { as: "div", size: "md", className: Ge[`${Ue}__text`] }, t)), r && /* @__PURE__ */ e.createElement(aa, { className: Ge[`${Ue}__helper`] }, r));
4508
4516
  }
4509
- ), Ce = {
4517
+ ), Ne = {
4510
4518
  "search-input": "lc-Search-module__search-input___FsbCk",
4511
4519
  "search-input--compact": "lc-Search-module__search-input--compact___498To",
4512
4520
  "search-input--medium": "lc-Search-module__search-input--medium___Hwteg",
@@ -4533,19 +4541,19 @@ const Et = {
4533
4541
  }) => {
4534
4542
  const [d, s] = e.useState(!0), [m, p] = e.useState(!1), g = e.useRef(null), b = !!l && !a && !r, h = t && !d && "true", f = u(
4535
4543
  c,
4536
- Ce[xe],
4537
- Ce[`${xe}--${o}`],
4538
- m && Ce[`${xe}--focused`],
4539
- a && Ce[`${xe}--disabled`],
4540
- t && Ce[`${xe}--collapsable`],
4541
- !d && Ce[`${xe}--collapsable--open`]
4544
+ Ne[xe],
4545
+ Ne[`${xe}--${o}`],
4546
+ m && Ne[`${xe}--focused`],
4547
+ a && Ne[`${xe}--disabled`],
4548
+ t && Ne[`${xe}--collapsable`],
4549
+ !d && Ne[`${xe}--collapsable--open`]
4542
4550
  );
4543
4551
  e.useEffect(() => {
4544
4552
  t && l && s(!1);
4545
4553
  }, [t]);
4546
4554
  const k = (S) => {
4547
- const C = S.currentTarget.value;
4548
- i(C);
4555
+ const N = S.currentTarget.value;
4556
+ i(N);
4549
4557
  }, y = () => {
4550
4558
  i("");
4551
4559
  }, E = () => {
@@ -4553,7 +4561,7 @@ const Et = {
4553
4561
  (S = g.current) == null || S.focus();
4554
4562
  }, $ = () => {
4555
4563
  t && s(!1), p(!0);
4556
- }, N = () => {
4564
+ }, C = () => {
4557
4565
  t && !l && s(!0), p(!1);
4558
4566
  }, w = (S) => {
4559
4567
  S.key === re.enter && (S.preventDefault(), i(l));
@@ -4569,7 +4577,7 @@ const Et = {
4569
4577
  /* @__PURE__ */ e.createElement(
4570
4578
  P,
4571
4579
  {
4572
- className: Ce[`${xe}__search-icon`],
4580
+ className: Ne[`${xe}__search-icon`],
4573
4581
  source: Yr,
4574
4582
  disabled: a,
4575
4583
  kind: "primary"
@@ -4580,8 +4588,8 @@ const Et = {
4580
4588
  {
4581
4589
  as: "div",
4582
4590
  className: u(
4583
- Ce[nr],
4584
- n && Ce[`${nr}--crop`]
4591
+ Ne[nr],
4592
+ n && Ne[`${nr}--crop`]
4585
4593
  )
4586
4594
  },
4587
4595
  /* @__PURE__ */ e.createElement(
@@ -4593,7 +4601,7 @@ const Et = {
4593
4601
  value: l,
4594
4602
  placeholder: _,
4595
4603
  onChange: k,
4596
- onBlur: N,
4604
+ onBlur: C,
4597
4605
  onFocus: $,
4598
4606
  onKeyDown: w,
4599
4607
  disabled: a
@@ -4605,7 +4613,7 @@ const Et = {
4605
4613
  {
4606
4614
  "aria-label": "Clear search",
4607
4615
  title: "Clear search",
4608
- className: Ce[`${xe}__clear-icon`],
4616
+ className: Ne[`${xe}__clear-icon`],
4609
4617
  onClick: y,
4610
4618
  icon: /* @__PURE__ */ e.createElement(P, { source: Pe, kind: "primary" }),
4611
4619
  kind: "text",
@@ -4616,7 +4624,7 @@ const Et = {
4616
4624
  "div",
4617
4625
  {
4618
4626
  "data-testid": `${xe}-loader`,
4619
- className: Ce[`${xe}__loader`]
4627
+ className: Ne[`${xe}__loader`]
4620
4628
  },
4621
4629
  /* @__PURE__ */ e.createElement(Fa, { size: "small" })
4622
4630
  )
@@ -4737,11 +4745,11 @@ const Et = {
4737
4745
  ]);
4738
4746
  const g = o !== void 0, [b, h] = e.useState(
4739
4747
  () => g ? o : a
4740
- ), f = g ? o : b, k = n === "loading", y = n === "locked", E = c === "large" ? "small" : "xsmall", $ = f ? "on" : "off", N = r || k || y, w = N ? "disabled" : "enabled", S = u(
4748
+ ), f = g ? o : b, k = n === "loading", y = n === "locked", E = c === "large" ? "small" : "xsmall", $ = f ? "on" : "off", C = r || k || y, w = C ? "disabled" : "enabled", S = u(
4741
4749
  se[ae],
4742
4750
  se[`${ae}--${c}`],
4743
4751
  t
4744
- ), C = (M) => {
4752
+ ), N = (M) => {
4745
4753
  l == null || l(M, !f), g || (M.stopPropagation(), h((X) => !X));
4746
4754
  };
4747
4755
  return /* @__PURE__ */ e.createElement("span", { className: S }, /* @__PURE__ */ e.createElement(
@@ -4752,11 +4760,11 @@ const Et = {
4752
4760
  se[`${ae}__input`],
4753
4761
  se[`${ae}__input--${w}`]
4754
4762
  ),
4755
- onChange: C,
4763
+ onChange: N,
4756
4764
  checked: f,
4757
4765
  name: _,
4758
4766
  ref: i,
4759
- disabled: N,
4767
+ disabled: C,
4760
4768
  "aria-label": d
4761
4769
  }, s)
4762
4770
  ), /* @__PURE__ */ e.createElement("span", { className: se[`${ae}__container`] }, /* @__PURE__ */ e.createElement(
@@ -4849,16 +4857,16 @@ const Et = {
4849
4857
  }
4850
4858
  )
4851
4859
  );
4852
- }, Nl = "lc-TabsWrapper-module__tabs___Y2xyD", Cl = "lc-TabsWrapper-module__tabs__list___i6tVO", Ir = {
4853
- tabs: Nl,
4854
- tabs__list: Cl
4860
+ }, Cl = "lc-TabsWrapper-module__tabs___Y2xyD", Nl = "lc-TabsWrapper-module__tabs__list___i6tVO", Ir = {
4861
+ tabs: Cl,
4862
+ tabs__list: Nl
4855
4863
  }, Fr = "tabs", qc = ({
4856
4864
  className: t,
4857
4865
  children: a
4858
4866
  }) => /* @__PURE__ */ e.createElement("div", { className: u(Ir[Fr], t) }, a), Yc = ({
4859
4867
  className: t,
4860
4868
  children: a
4861
- }) => /* @__PURE__ */ e.createElement("div", { className: u(Ir[`${Fr}__list`], t) }, a), Ct = {
4869
+ }) => /* @__PURE__ */ e.createElement("div", { className: u(Ir[`${Fr}__list`], t) }, a), Nt = {
4862
4870
  "tag-input": "lc-TagInput-module__tag-input___CLVY-",
4863
4871
  "tag-input--error": "lc-TagInput-module__tag-input--error___RP0SB",
4864
4872
  "tag-input__input": "lc-TagInput-module__tag-input__input___dgEYB",
@@ -4927,7 +4935,7 @@ const Et = {
4927
4935
  value: t,
4928
4936
  inputRef: o,
4929
4937
  innerEditableRef: d,
4930
- className: Ct[`${xl}__content`],
4938
+ className: Nt[`${xl}__content`],
4931
4939
  change: (p) => l(a, p),
4932
4940
  remove: s,
4933
4941
  validator: _
@@ -4966,21 +4974,21 @@ const Et = {
4966
4974
  "addOnBlur"
4967
4975
  ]);
4968
4976
  const b = u(
4969
- Ct[Gt],
4977
+ Nt[Gt],
4970
4978
  {
4971
- [Ct[`${Gt}--error`]]: o
4979
+ [Nt[`${Gt}--error`]]: o
4972
4980
  },
4973
4981
  n
4974
4982
  ), h = u(
4975
4983
  i,
4976
- Ct[`${Gt}__input`],
4977
- Ct[`${Gt}__input--${c}`]
4984
+ Nt[`${Gt}__input`],
4985
+ Nt[`${Gt}__input--${c}`]
4978
4986
  ), [f, k] = e.useState(""), y = e.useRef(null), E = (D) => {
4979
4987
  D.trim() !== "" && (r([...a || [], D]), k(""));
4980
4988
  }, $ = (D) => {
4981
4989
  const L = [...a || []];
4982
4990
  L.splice(D, 1), r(L);
4983
- }, N = (D) => k(D.target.value), w = (D) => {
4991
+ }, C = (D) => k(D.target.value), w = (D) => {
4984
4992
  if (Tl.includes(D.key)) {
4985
4993
  if (D.preventDefault(), f === "")
4986
4994
  return;
@@ -4992,7 +5000,7 @@ const Et = {
4992
5000
  }
4993
5001
  }, S = (D) => {
4994
5002
  s && E(f), d == null || d(D);
4995
- }, C = (D, L) => {
5003
+ }, N = (D, L) => {
4996
5004
  const O = [...a || []];
4997
5005
  O.reduce(
4998
5006
  (Ee, we, oe) => Ee + (we === L && oe !== D ? 1 : 0),
@@ -5007,7 +5015,7 @@ const Et = {
5007
5015
  {
5008
5016
  index: L,
5009
5017
  key: `${L}${D}`,
5010
- update: C,
5018
+ update: N,
5011
5019
  remove: $,
5012
5020
  inputRef: y,
5013
5021
  validator: _,
@@ -5019,7 +5027,7 @@ const Et = {
5019
5027
  {
5020
5028
  index: L,
5021
5029
  key: `${L}${D.children}`,
5022
- update: C,
5030
+ update: N,
5023
5031
  remove: $,
5024
5032
  inputRef: y,
5025
5033
  validator: _,
@@ -5036,7 +5044,7 @@ const Et = {
5036
5044
  className: h,
5037
5045
  placeholder: l,
5038
5046
  value: f,
5039
- onChange: N,
5047
+ onChange: C,
5040
5048
  onKeyDown: w,
5041
5049
  onPaste: M,
5042
5050
  onBlur: S
@@ -5235,7 +5243,7 @@ const Et = {
5235
5243
  "file-upload-progress__wrapper__header__title": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title___2IVuv",
5236
5244
  "file-upload-progress__wrapper__header__title--success": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--success___E6DQl",
5237
5245
  "file-upload-progress__wrapper__header__title--error": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--error___5BPpI"
5238
- }, We = "file-upload-progress", Na = `${We}__wrapper__header__title`, Ul = e.forwardRef(
5246
+ }, We = "file-upload-progress", Ca = `${We}__wrapper__header__title`, Ul = e.forwardRef(
5239
5247
  ({
5240
5248
  actionsVisibility: t = "hidden",
5241
5249
  className: a,
@@ -5265,9 +5273,9 @@ const Et = {
5265
5273
  /* @__PURE__ */ e.createElement("div", { className: Se[`${We}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
5266
5274
  "div",
5267
5275
  {
5268
- className: u(Se[Na], {
5269
- [Se[`${Na}--success`]]: c === "success",
5270
- [Se[`${Na}--error`]]: c === "error"
5276
+ className: u(Se[Ca], {
5277
+ [Se[`${Ca}--success`]]: c === "success",
5278
+ [Se[`${Ca}--error`]]: c === "error"
5271
5279
  })
5272
5280
  },
5273
5281
  /* @__PURE__ */ e.createElement(A, { size: "sm", as: "div" }, _),
@@ -5409,7 +5417,7 @@ export {
5409
5417
  V as Button,
5410
5418
  yc as Card,
5411
5419
  ho as Checkbox,
5412
- Co as DatePicker,
5420
+ No as DatePicker,
5413
5421
  Ec as DatePickerRangeCalendarsWrapper,
5414
5422
  _c as DesignToken,
5415
5423
  wc as DetailsCard,
@@ -5418,10 +5426,10 @@ export {
5418
5426
  Kc as EmailTagInput,
5419
5427
  aa as FieldDescription,
5420
5428
  Ra as FieldError,
5421
- Nc as FieldGroup,
5429
+ Cc as FieldGroup,
5422
5430
  Ul as FileUploadProgress,
5423
5431
  Ba as FileUploadProgressActions,
5424
- Cc as Form,
5432
+ Nc as Form,
5425
5433
  Sc as FormField,
5426
5434
  xc as FormGroup,
5427
5435
  Be as Heading,