@livechat/design-system-react-components 1.0.0-beta.8 → 1.0.0-beta.9

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/dsrc.es.js CHANGED
@@ -31,7 +31,7 @@ import { Close as Oa, DoubleArrowLeft as mr, ChevronLeft as pr, ChevronRight as
31
31
  import za from "lodash.debounce";
32
32
  import { getContrast as ra } from "polished";
33
33
  import br from "react-day-picker";
34
- import { subMonths as je, differenceInCalendarMonths as na, addMonths as sa, isSameMonth as Jt, isSameDay as jt, isAfter as Kt, differenceInCalendarDays as Ha } from "date-fns";
34
+ import { subMonths as Ke, differenceInCalendarMonths as na, addMonths as sa, isSameMonth as Jt, isSameDay as Kt, isAfter as jt, differenceInCalendarDays as Ha } from "date-fns";
35
35
  import * as vr from "react-dom";
36
36
  import ia from "lodash.escape";
37
37
  const dl = {
@@ -363,7 +363,7 @@ const dl = {
363
363
  md: "h3",
364
364
  sm: "h4",
365
365
  xs: "h5"
366
- }, Ke = (l) => {
366
+ }, je = (l) => {
367
367
  var c = l, {
368
368
  as: t,
369
369
  size: a = "md",
@@ -466,18 +466,18 @@ const dl = {
466
466
  }, [n]), e.useEffect(() => {
467
467
  a && m.current !== d && !d && a(), m.current = d;
468
468
  }, [d]), e.useEffect(() => {
469
- const S = (V) => {
469
+ const x = (V) => {
470
470
  s && V.key === "Escape" && i(!1);
471
471
  };
472
- return document.addEventListener("keydown", S), () => {
473
- document.removeEventListener("keydown", S);
472
+ return document.addEventListener("keydown", x), () => {
473
+ document.removeEventListener("keydown", x);
474
474
  };
475
475
  }, [s]), e.useEffect(() => {
476
476
  if (!(!h.reference.current || !h.floating.current))
477
477
  return Ma(h.reference.current, h.floating.current, E);
478
478
  }, [h.reference, h.floating, E, N, d]);
479
- function $(S) {
480
- h.floating.current && h.floating.current.contains(S.target) || (h.reference.current && h.reference.current.contains(S.target) ? i((V) => !V) : i(!1));
479
+ function $(x) {
480
+ h.floating.current && h.floating.current.contains(x.target) || (h.reference.current && h.reference.current.contains(x.target) ? i((V) => !V) : i(!1));
481
481
  }
482
482
  e.useEffect(() => (document.addEventListener("mousedown", $), () => {
483
483
  document.removeEventListener("mousedown", $);
@@ -837,7 +837,7 @@ const dl = {
837
837
  /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__content`] }, i)
838
838
  );
839
839
  }
840
- ), Fr = "lc-Tooltip-module__tooltip___QOOAr", Rr = "lc-Tooltip-module__tooltip__wrapper___dmjmW", Mr = "lc-Tooltip-module__tooltip__interactive___0JawB", Lr = "lc-Tooltip-module__tooltip__arrow___Ov1YW", x = {
840
+ ), Fr = "lc-Tooltip-module__tooltip___QOOAr", Rr = "lc-Tooltip-module__tooltip__wrapper___dmjmW", Mr = "lc-Tooltip-module__tooltip__interactive___0JawB", Lr = "lc-Tooltip-module__tooltip__arrow___Ov1YW", S = {
841
841
  tooltip: Fr,
842
842
  tooltip__wrapper: Rr,
843
843
  tooltip__interactive: Mr,
@@ -895,19 +895,19 @@ const dl = {
895
895
  strategy: $,
896
896
  update: k,
897
897
  refs: C,
898
- placement: S,
898
+ placement: x,
899
899
  middlewareData: { arrow: { x: V, y: ee } = {} }
900
900
  } = a;
901
901
  e.useEffect(() => {
902
902
  if (!(!C.reference.current || !C.floating.current))
903
903
  return Ma(C.reference.current, C.floating.current, k);
904
- }, [C.reference, C.floating, k, S, t]), e.useEffect(() => {
904
+ }, [C.reference, C.floating, k, x, t]), e.useEffect(() => {
905
905
  r && E(r);
906
906
  }, [E, r]);
907
- const Se = _ && ee ? ee + _ : ee, Ge = o && V ? V + o : V, Be = g(x[l], c, {
908
- [x[`${l}--invert`]]: n === "invert",
909
- [x[`${l}--important`]]: n === "important",
910
- [x[`${l}--full-space`]]: p
907
+ const Se = _ && ee ? ee + _ : ee, Ge = o && V ? V + o : V, Be = g(S[l], c, {
908
+ [S[`${l}--invert`]]: n === "invert",
909
+ [S[`${l}--important`]]: n === "important",
910
+ [S[`${l}--full-space`]]: p
911
911
  }), Pe = /* @__PURE__ */ e.createElement(
912
912
  "div",
913
913
  {
@@ -929,8 +929,8 @@ const dl = {
929
929
  "div",
930
930
  {
931
931
  ref: v,
932
- className: g([x[`${l}__arrow`]]),
933
- "data-arrow-placement": S,
932
+ className: g([S[`${l}__arrow`]]),
933
+ "data-arrow-placement": x,
934
934
  style: { top: Se, left: Ge }
935
935
  }
936
936
  )
@@ -1005,7 +1005,7 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1005
1005
  fullSpaceContent: p,
1006
1006
  onOpen: y,
1007
1007
  onClose: h
1008
- } = t, E = e.useRef(!0), N = n !== void 0, $ = e.useRef(null), [k, C] = e.useState(n), S = e.useRef(!1), V = Pa({
1008
+ } = t, E = e.useRef(!0), N = n !== void 0, $ = e.useRef(null), [k, C] = e.useState(n), x = e.useRef(!1), V = Pa({
1009
1009
  middleware: [
1010
1010
  Fa({ mainAxis: u }),
1011
1011
  dr({ element: $ }),
@@ -1025,10 +1025,10 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1025
1025
  document.removeEventListener("keydown", Be);
1026
1026
  }), []);
1027
1027
  const Se = () => {
1028
- f || N || (S.current = !0, ee(!0));
1028
+ f || N || (x.current = !0, ee(!0));
1029
1029
  }, Ge = () => {
1030
- f || N || (S.current = !1, zr(m).then(() => {
1031
- S.current || ee(!1);
1030
+ f || N || (x.current = !1, zr(m).then(() => {
1031
+ x.current || ee(!1);
1032
1032
  }));
1033
1033
  }, Be = (ge) => {
1034
1034
  (ge instanceof KeyboardEvent && ge.key === "Escape" || ge.type === "click") && ee(!1);
@@ -1070,7 +1070,7 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1070
1070
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1071
1071
  "div",
1072
1072
  w({
1073
- className: x[`${pa}__wrapper`],
1073
+ className: S[`${pa}__wrapper`],
1074
1074
  ref: V.reference
1075
1075
  }, Ee()),
1076
1076
  a()
@@ -1080,7 +1080,7 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1080
1080
  {
1081
1081
  size: "compact",
1082
1082
  kind: "plain",
1083
- className: x[`${rt}-close`],
1083
+ className: S[`${rt}-close`],
1084
1084
  onClick: _,
1085
1085
  icon: /* @__PURE__ */ e.createElement(
1086
1086
  D,
@@ -1094,8 +1094,8 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1094
1094
  "div",
1095
1095
  {
1096
1096
  className: g(
1097
- x[`${rt}-header`],
1098
- x[`${rt}-header--info`]
1097
+ S[`${rt}-header`],
1098
+ S[`${rt}-header--info`]
1099
1099
  )
1100
1100
  },
1101
1101
  t
@@ -1103,8 +1103,8 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1103
1103
  "div",
1104
1104
  {
1105
1105
  className: g(
1106
- x[`${rt}-text`],
1107
- x[`${rt}-text--info`]
1106
+ S[`${rt}-text`],
1107
+ S[`${rt}-text--info`]
1108
1108
  )
1109
1109
  },
1110
1110
  a
@@ -1119,10 +1119,10 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1119
1119
  secondaryButton: n
1120
1120
  }) => {
1121
1121
  const s = (d) => d === "invert" ? "secondary" : "high-contrast";
1122
- return /* @__PURE__ */ e.createElement("div", { className: x[`${fe}__interactive`] }, o && /* @__PURE__ */ e.createElement(
1122
+ return /* @__PURE__ */ e.createElement("div", { className: S[`${fe}__interactive`] }, o && /* @__PURE__ */ e.createElement(
1123
1123
  M,
1124
1124
  {
1125
- className: x[`${fe}-close`],
1125
+ className: S[`${fe}-close`],
1126
1126
  size: "compact",
1127
1127
  kind: "plain",
1128
1128
  onClick: l,
@@ -1134,19 +1134,19 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1134
1134
  }
1135
1135
  )
1136
1136
  }
1137
- ), r && /* @__PURE__ */ e.createElement("div", { className: x[`${fe}-image-container`] }, /* @__PURE__ */ e.createElement(
1137
+ ), r && /* @__PURE__ */ e.createElement("div", { className: S[`${fe}-image-container`] }, /* @__PURE__ */ e.createElement(
1138
1138
  "img",
1139
1139
  {
1140
- className: x[`${fe}-image`],
1140
+ className: S[`${fe}-image`],
1141
1141
  src: r.src,
1142
1142
  alt: r.alt
1143
1143
  }
1144
- )), t && /* @__PURE__ */ e.createElement("div", { className: x[`${fe}-header`] }, t), /* @__PURE__ */ e.createElement("div", { className: x[`${fe}-text`] }, a), /* @__PURE__ */ e.createElement(
1144
+ )), t && /* @__PURE__ */ e.createElement("div", { className: S[`${fe}-header`] }, t), /* @__PURE__ */ e.createElement("div", { className: S[`${fe}-text`] }, a), /* @__PURE__ */ e.createElement(
1145
1145
  "div",
1146
1146
  {
1147
1147
  className: g(
1148
- x[`${fe}-footer`],
1149
- x[`${fe}-footer--interactive`]
1148
+ S[`${fe}-footer`],
1149
+ S[`${fe}-footer--interactive`]
1150
1150
  )
1151
1151
  },
1152
1152
  /* @__PURE__ */ e.createElement(
@@ -1160,8 +1160,8 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1160
1160
  /* @__PURE__ */ e.createElement(
1161
1161
  M,
1162
1162
  {
1163
- className: g(x[`${fe}-footer-secondary`], {
1164
- [x[`${fe}-footer-secondary-invert`]]: _ === "invert"
1163
+ className: g(S[`${fe}-footer-secondary`], {
1164
+ [S[`${fe}-footer-secondary-invert`]]: _ === "invert"
1165
1165
  }),
1166
1166
  kind: n.kind || "text",
1167
1167
  onClick: n.handleClick
@@ -1208,9 +1208,9 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1208
1208
  "div",
1209
1209
  {
1210
1210
  className: g({
1211
- [x[`${q}__overlay`]]: !0,
1212
- [x[`${q}__overlay--visible`]]: a,
1213
- [x[`${q}__overlay--slide`]]: r
1211
+ [S[`${q}__overlay`]]: !0,
1212
+ [S[`${q}__overlay--visible`]]: a,
1213
+ [S[`${q}__overlay--slide`]]: r
1214
1214
  }),
1215
1215
  style: _
1216
1216
  }
@@ -1218,9 +1218,9 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1218
1218
  "div",
1219
1219
  {
1220
1220
  className: g({
1221
- [x[`${q}__overlay`]]: !0,
1222
- [x[`${q}__overlay--visible`]]: a,
1223
- [x[`${q}__overlay--slide`]]: r
1221
+ [S[`${q}__overlay`]]: !0,
1222
+ [S[`${q}__overlay--visible`]]: a,
1223
+ [S[`${q}__overlay--slide`]]: r
1224
1224
  }),
1225
1225
  style: c
1226
1226
  }
@@ -1228,9 +1228,9 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1228
1228
  "div",
1229
1229
  {
1230
1230
  className: g({
1231
- [x[`${q}__overlay`]]: !0,
1232
- [x[`${q}__overlay--visible`]]: a,
1233
- [x[`${q}__overlay--slide`]]: r
1231
+ [S[`${q}__overlay`]]: !0,
1232
+ [S[`${q}__overlay--visible`]]: a,
1233
+ [S[`${q}__overlay--slide`]]: r
1234
1234
  }),
1235
1235
  style: l
1236
1236
  }
@@ -1238,9 +1238,9 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1238
1238
  "div",
1239
1239
  {
1240
1240
  className: g({
1241
- [x[`${q}__overlay`]]: !0,
1242
- [x[`${q}__overlay--visible`]]: a,
1243
- [x[`${q}__overlay--slide`]]: r
1241
+ [S[`${q}__overlay`]]: !0,
1242
+ [S[`${q}__overlay--visible`]]: a,
1243
+ [S[`${q}__overlay--slide`]]: r
1244
1244
  }),
1245
1245
  style: n
1246
1246
  }
@@ -1248,9 +1248,9 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1248
1248
  "div",
1249
1249
  {
1250
1250
  className: g({
1251
- [x[`${q}__overlay`]]: !0,
1252
- [x[`${q}__overlay--visible`]]: a,
1253
- [x[`${q}__overlay--slide`]]: r
1251
+ [S[`${q}__overlay`]]: !0,
1252
+ [S[`${q}__overlay--visible`]]: a,
1253
+ [S[`${q}__overlay--slide`]]: r
1254
1254
  }),
1255
1255
  style: s
1256
1256
  }
@@ -1335,8 +1335,8 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), hl = (t) => {
1335
1335
  },
1336
1336
  arrowOffsetY: 25,
1337
1337
  className: g({
1338
- [x[fa]]: !0,
1339
- [x[`${fa}--slide`]]: d,
1338
+ [S[fa]]: !0,
1339
+ [S[`${fa}--slide`]]: d,
1340
1340
  className: a
1341
1341
  })
1342
1342
  }),
@@ -1346,15 +1346,15 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), hl = (t) => {
1346
1346
  title: t,
1347
1347
  description: a,
1348
1348
  children: r
1349
- }) => /* @__PURE__ */ e.createElement("div", { className: x[_t] }, /* @__PURE__ */ e.createElement("div", { className: x[`${_t}__heading`] }, /* @__PURE__ */ e.createElement(P, { as: "div", className: x[`${_t}__heading__title`] }, t), /* @__PURE__ */ e.createElement(
1349
+ }) => /* @__PURE__ */ e.createElement("div", { className: S[_t] }, /* @__PURE__ */ e.createElement("div", { className: S[`${_t}__heading`] }, /* @__PURE__ */ e.createElement(P, { as: "div", className: S[`${_t}__heading__title`] }, t), /* @__PURE__ */ e.createElement(
1350
1350
  P,
1351
1351
  {
1352
1352
  as: "div",
1353
1353
  size: "xs",
1354
- className: x[`${_t}__heading__description`]
1354
+ className: S[`${_t}__heading__description`]
1355
1355
  },
1356
1356
  a
1357
- )), /* @__PURE__ */ e.createElement("div", { className: x[`${_t}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div" }, r))), Ae = {
1357
+ )), /* @__PURE__ */ e.createElement("div", { className: S[`${_t}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div" }, r))), Ae = {
1358
1358
  "action-bar": "lc-ActionBar-module__action-bar___TJitF",
1359
1359
  "action-bar__items": "lc-ActionBar-module__action-bar__items___uhoQA",
1360
1360
  "action-bar__items--scroll": "lc-ActionBar-module__action-bar__items--scroll___f--dN",
@@ -1475,13 +1475,13 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), hl = (t) => {
1475
1475
  triggerRenderer: /* @__PURE__ */ e.createElement(D, { source: ft, kind: "primary" })
1476
1476
  }
1477
1477
  )));
1478
- }, Wr = "lc-Alert-module__alert___HBTns", Vr = "lc-Alert-module__alert__icon___8TaAH", Yr = "lc-Alert-module__alert__content___9nZdf", qr = "lc-Alert-module__alert__content__text___7nx1p", Jr = "lc-Alert-module__alert__content__cta___gTWPt", jr = "lc-Alert-module__alert__content__cta__link___D976B", be = {
1478
+ }, Wr = "lc-Alert-module__alert___HBTns", Vr = "lc-Alert-module__alert__icon___8TaAH", Yr = "lc-Alert-module__alert__content___9nZdf", qr = "lc-Alert-module__alert__content__text___7nx1p", Jr = "lc-Alert-module__alert__content__cta___gTWPt", Kr = "lc-Alert-module__alert__content__cta__link___D976B", be = {
1479
1479
  alert: Wr,
1480
1480
  alert__icon: Vr,
1481
1481
  alert__content: Yr,
1482
1482
  alert__content__text: qr,
1483
1483
  alert__content__cta: Jr,
1484
- alert__content__cta__link: jr,
1484
+ alert__content__cta__link: Kr,
1485
1485
  "alert__close-icon": "lc-Alert-module__alert__close-icon___rYxVy",
1486
1486
  "alert--small": "lc-Alert-module__alert--small___Fyk-v",
1487
1487
  "alert--medium": "lc-Alert-module__alert--medium___ItZWT",
@@ -1489,7 +1489,7 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), hl = (t) => {
1489
1489
  "alert--warning": "lc-Alert-module__alert--warning___MubhD",
1490
1490
  "alert--success": "lc-Alert-module__alert--success___fPtlZ",
1491
1491
  "alert--error": "lc-Alert-module__alert--error___DKPo0"
1492
- }, Kr = {
1492
+ }, jr = {
1493
1493
  info: {
1494
1494
  source: ea,
1495
1495
  kind: "link"
@@ -1536,7 +1536,7 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), hl = (t) => {
1536
1536
  return window.addEventListener("resize", v), f(), () => window.removeEventListener("resize", v);
1537
1537
  }), /* @__PURE__ */ e.createElement("div", w({ ref: d, className: u }, c), /* @__PURE__ */ e.createElement(
1538
1538
  D,
1539
- A(w({}, Kr[_]), {
1539
+ A(w({}, jr[_]), {
1540
1540
  size: "large",
1541
1541
  className: be[`${ve}__icon`]
1542
1542
  })
@@ -1649,36 +1649,36 @@ const e_ = "lc-Avatar-module__avatar___1zTCE", t_ = "lc-Avatar-module__avatar__s
1649
1649
  type: s,
1650
1650
  withRim: d = !1
1651
1651
  }) => {
1652
- const i = s === "image" && !l, [m, u] = e.useState(i), f = s === "image" && !!l && !m, v = s === "text", b = ["xxxsmall", "xxsmall", "xsmall"].includes(_) ? 1 : 2, p = Qr(n, b), y = r || Zr(p), h = y && Xr(y), E = g(w({
1652
+ const i = s === "image" && !l, [m, u] = e.useState(i), f = s === "image" && !!l && !m, v = s === "text", b = ["xxxsmall", "xxsmall", "xsmall"].includes(_) ? 1 : 2, p = Qr(n, b), y = r || Zr(n), h = y ? Xr(y) : void 0, E = v ? { backgroundColor: y } : {}, N = g(w({
1653
1653
  [ae[Y]]: !0,
1654
1654
  [ae[`${Y}--${o}`]]: !0,
1655
1655
  [ae[`${Y}--${_}`]]: !0,
1656
1656
  [ae[`${Y}--with-rim`]]: d
1657
- }, a ? { [`${a}`]: a } : {})), N = g(
1657
+ }, a ? { [`${a}`]: a } : {})), $ = g(
1658
1658
  ae[`${Y}__status`],
1659
1659
  ae[`${Y}__status--${o}`],
1660
1660
  ae[`${Y}__status--${_}`],
1661
1661
  ...c ? [ae[`${Y}__status--${c}`]] : []
1662
- ), $ = g(
1662
+ ), k = g(
1663
1663
  ae[`${Y}__icon`],
1664
1664
  ae[`${Y}__icon--${_}`]
1665
- ), k = g(
1665
+ ), C = g(
1666
1666
  ae[`${Y}__rim`],
1667
1667
  ae[`${Y}__rim--${_}`]
1668
- ), C = e.useCallback(() => u(!0), []);
1668
+ ), x = e.useCallback(() => u(!0), []);
1669
1669
  return e.useEffect(() => {
1670
1670
  u(i);
1671
- }, [i]), /* @__PURE__ */ e.createElement("div", { className: E, style: { backgroundColor: y } }, d && /* @__PURE__ */ e.createElement(
1671
+ }, [i]), /* @__PURE__ */ e.createElement("div", { className: N, style: E }, d && /* @__PURE__ */ e.createElement(
1672
1672
  "div",
1673
1673
  {
1674
1674
  "data-testid": `${Y}__rim`,
1675
- className: k
1675
+ className: C
1676
1676
  }
1677
1677
  ), c && /* @__PURE__ */ e.createElement(
1678
1678
  "div",
1679
1679
  {
1680
1680
  "data-testid": `${Y}__status`,
1681
- className: N
1681
+ className: $
1682
1682
  }
1683
1683
  ), f && /* @__PURE__ */ e.createElement(
1684
1684
  "img",
@@ -1686,13 +1686,13 @@ const e_ = "lc-Avatar-module__avatar___1zTCE", t_ = "lc-Avatar-module__avatar__s
1686
1686
  className: ae[`${Y}__image`],
1687
1687
  src: l,
1688
1688
  alt: t,
1689
- onError: C
1689
+ onError: x
1690
1690
  }
1691
1691
  ), v && /* @__PURE__ */ e.createElement("span", { style: { color: h } }, p), m && /* @__PURE__ */ e.createElement(
1692
1692
  D,
1693
1693
  {
1694
1694
  "data-testid": `${Y}__icon`,
1695
- className: $,
1695
+ className: k,
1696
1696
  source: _r
1697
1697
  }
1698
1698
  ));
@@ -1824,7 +1824,7 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1824
1824
  className: re[`${Pt}__image`],
1825
1825
  src: c
1826
1826
  }
1827
- ), /* @__PURE__ */ e.createElement("div", { className: re[Gt] }, /* @__PURE__ */ e.createElement(Ke, { size: "sm", className: re[`${Gt}__title`] }, n), /* @__PURE__ */ e.createElement(P, { size: "sm", className: re[`${Gt}__description`] }, _))), /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: re[`${gt}__content`] }, r), m && /* @__PURE__ */ e.createElement(
1827
+ ), /* @__PURE__ */ e.createElement("div", { className: re[Gt] }, /* @__PURE__ */ e.createElement(je, { size: "sm", className: re[`${Gt}__title`] }, n), /* @__PURE__ */ e.createElement(P, { size: "sm", className: re[`${Gt}__description`] }, _))), /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: re[`${gt}__content`] }, r), m && /* @__PURE__ */ e.createElement(
1828
1828
  P,
1829
1829
  {
1830
1830
  as: "div",
@@ -1945,10 +1945,10 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1945
1945
  typeof o == "function" && o();
1946
1946
  }, v = () => {
1947
1947
  if (!i) {
1948
- const h = je(d, 12);
1948
+ const h = Ke(d, 12);
1949
1949
  return r(h);
1950
1950
  }
1951
- const p = Math.abs(na(d, i)), y = je(
1951
+ const p = Math.abs(na(d, i)), y = Ke(
1952
1952
  d,
1953
1953
  !Number.isNaN(p) && p > 12 ? 12 : p
1954
1954
  );
@@ -1962,7 +1962,7 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1962
1962
  d,
1963
1963
  !Number.isNaN(p) && p > 12 ? 12 : p
1964
1964
  );
1965
- return s === 2 && Jt(y, m) ? r(je(y, 1)) : r(y);
1965
+ return s === 2 && Jt(y, m) ? r(Ke(y, 1)) : r(y);
1966
1966
  };
1967
1967
  return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement("div", { className: T[`${ha}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1968
1968
  "button",
@@ -2011,8 +2011,8 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
2011
2011
  )));
2012
2012
  }, I = "date-picker", Va = (t, a) => {
2013
2013
  const { from: r, to: o } = a;
2014
- return !(o && !jt(t, o) && Kt(t, o) || r && !jt(t, r) && !Kt(t, r));
2015
- }, Ya = (t, a, r) => a ? t && !Jt(t, a) || r && Jt(a, r) ? je(a, 1) : a : je(r || /* @__PURE__ */ new Date(), 1), I_ = (t, a) => {
2014
+ return !(o && !Kt(t, o) && jt(t, o) || r && !Kt(t, r) && !jt(t, r));
2015
+ }, Ya = (t, a, r) => a ? t && !Jt(t, a) || r && Jt(a, r) ? Ke(a, 1) : a : Ke(r || /* @__PURE__ */ new Date(), 1), I_ = (t, a) => {
2016
2016
  const r = {
2017
2017
  [T[`${I}__day--monday`]]: { daysOfWeek: [1] },
2018
2018
  [T[`${I}__day--sunday`]]: { daysOfWeek: [0] },
@@ -2293,7 +2293,7 @@ const M_ = (t) => {
2293
2293
  Va(b, { to: _ }) && (ka(p, y) ? d({
2294
2294
  type: O.SELECT_FIRST_DAY,
2295
2295
  payload: { date: b }
2296
- }) : p && jt(b, p) || p && Kt(b, p) ? d({
2296
+ }) : p && Kt(b, p) || p && jt(b, p) ? d({
2297
2297
  type: O.SELECT_SECOND_DAY_AS_TO,
2298
2298
  payload: { date: b }
2299
2299
  }) : d({
@@ -2344,7 +2344,7 @@ const M_ = (t) => {
2344
2344
  onDayClick: m,
2345
2345
  selectedDays: k,
2346
2346
  modifiers: N,
2347
- initialMonth: _ && je(_, 1),
2347
+ initialMonth: _ && Ke(_, 1),
2348
2348
  toMonth: _,
2349
2349
  disabledDays: C,
2350
2350
  onDayMouseEnter: i,
@@ -2432,7 +2432,7 @@ const Ea = {
2432
2432
  "helperText",
2433
2433
  "formFooter"
2434
2434
  ]);
2435
- return /* @__PURE__ */ e.createElement("form", w({ className: g(lt[ct], t) }, l), (r || o) && /* @__PURE__ */ e.createElement("div", { className: lt[`${ct}__header`] }, r && /* @__PURE__ */ e.createElement(Ke, { size: "sm", className: lt[`${ct}__label`] }, r), o && /* @__PURE__ */ e.createElement(P, { as: "p", size: "sm", className: lt[`${ct}__helper`] }, o)), a, _ && /* @__PURE__ */ e.createElement("div", { className: lt[`${ct}__footer`] }, _));
2435
+ return /* @__PURE__ */ e.createElement("form", w({ className: g(lt[ct], t) }, l), (r || o) && /* @__PURE__ */ e.createElement("div", { className: lt[`${ct}__header`] }, r && /* @__PURE__ */ e.createElement(je, { size: "sm", className: lt[`${ct}__label`] }, r), o && /* @__PURE__ */ e.createElement(P, { as: "p", size: "sm", className: lt[`${ct}__helper`] }, o)), a, _ && /* @__PURE__ */ e.createElement("div", { className: lt[`${ct}__footer`] }, _));
2436
2436
  }, z = {
2437
2437
  "form-field": "lc-FormField-module__form-field___JqnX6",
2438
2438
  "form-field--inline": "lc-FormField-module__form-field--inline___4DgIq",
@@ -2562,7 +2562,7 @@ const Ea = {
2562
2562
  }), r && { "aria-label": r }), {
2563
2563
  className: n
2564
2564
  }),
2565
- /* @__PURE__ */ e.createElement("div", { className: Nt[`${xt}__header`] }, /* @__PURE__ */ e.createElement(Ke, { as: "div", size: "sm", className: Nt[`${xt}__label`] }, r), o && /* @__PURE__ */ e.createElement(P, { as: "div", size: "sm", className: Nt[`${xt}__helper`] }, o)),
2565
+ /* @__PURE__ */ e.createElement("div", { className: Nt[`${xt}__header`] }, /* @__PURE__ */ e.createElement(je, { as: "div", size: "sm", className: Nt[`${xt}__label`] }, r), o && /* @__PURE__ */ e.createElement(P, { as: "div", size: "sm", className: Nt[`${xt}__helper`] }, o)),
2566
2566
  a
2567
2567
  );
2568
2568
  }, W_ = "lc-Input-module__input___qeMAQ", ke = {
@@ -2662,7 +2662,7 @@ const Ea = {
2662
2662
  )
2663
2663
  }, r)
2664
2664
  );
2665
- }, Y_ = "lc-Modal-module__modal__body___M-jmN", q_ = "lc-Modal-module__modal__header___Fp5VE", J_ = "lc-Modal-module__modal__heading___G9KVK", j_ = "lc-Modal-module__modal__footer___2LYdc", X = {
2665
+ }, Y_ = "lc-Modal-module__modal__body___M-jmN", q_ = "lc-Modal-module__modal__header___Fp5VE", J_ = "lc-Modal-module__modal__heading___G9KVK", K_ = "lc-Modal-module__modal__footer___2LYdc", X = {
2666
2666
  "modal-base": "lc-Modal-module__modal-base___hbL1U",
2667
2667
  "modal-base--full-space": "lc-Modal-module__modal-base--full-space___KcGFL",
2668
2668
  "modal-base__overlay": "lc-Modal-module__modal-base__overlay___kCQ8t",
@@ -2674,8 +2674,8 @@ const Ea = {
2674
2674
  "modal__label-header": "lc-Modal-module__modal__label-header___ZPtEy",
2675
2675
  modal__heading: J_,
2676
2676
  "modal__label-heading": "lc-Modal-module__modal__label-heading___WnYcF",
2677
- modal__footer: j_
2678
- }, St = "modal-base", K_ = (n) => {
2677
+ modal__footer: K_
2678
+ }, St = "modal-base", j_ = (n) => {
2679
2679
  var s = n, {
2680
2680
  children: t,
2681
2681
  className: a = "",
@@ -2767,14 +2767,14 @@ const Ea = {
2767
2767
  v.preventDefault(), v.stopPropagation(), c();
2768
2768
  };
2769
2769
  return /* @__PURE__ */ e.createElement(
2770
- K_,
2770
+ j_,
2771
2771
  w({
2772
2772
  className: m,
2773
2773
  fullSpaceContent: _,
2774
2774
  onClose: c
2775
2775
  }, s),
2776
2776
  o && /* @__PURE__ */ e.createElement("div", { className: X[`${Te}__label-header`] }, /* @__PURE__ */ e.createElement(
2777
- Ke,
2777
+ je,
2778
2778
  {
2779
2779
  size: "md",
2780
2780
  as: "div",
@@ -2790,7 +2790,7 @@ const Ea = {
2790
2790
  }
2791
2791
  )),
2792
2792
  !o && r && /* @__PURE__ */ e.createElement("div", { className: X[`${Te}__header`] }, /* @__PURE__ */ e.createElement(
2793
- Ke,
2793
+ je,
2794
2794
  {
2795
2795
  size: "md",
2796
2796
  as: "div",
@@ -2840,7 +2840,7 @@ const Ea = {
2840
2840
  }) => {
2841
2841
  const _ = ur(nt[st], o);
2842
2842
  return /* @__PURE__ */ e.createElement("div", { className: _ }, a && /* @__PURE__ */ e.createElement(D, w({ className: nt[`${st}__heading-icon`] }, a)), /* @__PURE__ */ e.createElement("div", { className: nt[`${st}__heading-body`] }, /* @__PURE__ */ e.createElement(
2843
- Ke,
2843
+ je,
2844
2844
  {
2845
2845
  as: "div",
2846
2846
  size: "md",
@@ -2905,8 +2905,8 @@ const Ea = {
2905
2905
  );
2906
2906
  if (C === "" || C === "-")
2907
2907
  return v(C);
2908
- const S = parseInt(C, 10);
2909
- return v(b(S));
2908
+ const x = parseInt(C, 10);
2909
+ return v(b(x));
2910
2910
  }, N = () => {
2911
2911
  var k;
2912
2912
  return (k = u.current) == null || k.focus(), p(1);
@@ -2995,43 +2995,43 @@ const U = {
2995
2995
  "picker-list__item__label-container": "lc-PickerList-module__picker-list__item__label-container___yZXW5",
2996
2996
  "picker-list__item__main-label": "lc-PickerList-module__picker-list__item__main-label___uRgQw",
2997
2997
  "picker-list__item__secondary-label": "lc-PickerList-module__picker-list__item__secondary-label___lpkFW"
2998
- }, le = "picker-list__item", Q_ = ({
2998
+ }, ne = "picker-list__item", Q_ = ({
2999
2999
  item: t,
3000
3000
  isItemSelected: a,
3001
3001
  currentItemKey: r,
3002
3002
  isAdjacentStyleApplied: o,
3003
3003
  onSelect: _
3004
3004
  }) => {
3005
- const l = (n) => n != null && n.customElement ? /* @__PURE__ */ e.createElement("div", { className: U[`${le}__custom`] }, n.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, n.showCheckbox && /* @__PURE__ */ e.createElement(
3005
+ const l = (n) => n != null && n.customElement ? /* @__PURE__ */ e.createElement("div", { className: U[`${ne}__custom`] }, n.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, n.showCheckbox && /* @__PURE__ */ e.createElement(
3006
3006
  "input",
3007
3007
  {
3008
3008
  type: "checkbox",
3009
- className: U[`${le}__checkbox`],
3009
+ className: U[`${ne}__checkbox`],
3010
3010
  checked: a
3011
3011
  }
3012
3012
  ), n.icon && /* @__PURE__ */ e.createElement(
3013
3013
  D,
3014
3014
  {
3015
- className: U[`${le}__icon`],
3015
+ className: U[`${ne}__icon`],
3016
3016
  kind: "link",
3017
3017
  source: n.icon
3018
3018
  }
3019
3019
  ), n.avatarSrc && /* @__PURE__ */ e.createElement(
3020
3020
  "img",
3021
3021
  {
3022
- className: g(U[`${le}__avatar`]),
3022
+ className: g(U[`${ne}__avatar`]),
3023
3023
  src: n.avatarSrc,
3024
3024
  alt: n.name
3025
3025
  }
3026
- ), /* @__PURE__ */ e.createElement("div", { className: U[`${le}__label-container`] }, /* @__PURE__ */ e.createElement(
3026
+ ), /* @__PURE__ */ e.createElement("div", { className: U[`${ne}__label-container`] }, /* @__PURE__ */ e.createElement(
3027
3027
  "span",
3028
3028
  {
3029
3029
  className: g({
3030
- [U[`${le}__main-label`]]: n.secondaryText
3030
+ [U[`${ne}__main-label`]]: n.secondaryText
3031
3031
  })
3032
3032
  },
3033
3033
  n.name
3034
- ), n.secondaryText && /* @__PURE__ */ e.createElement("span", { className: U[`${le}__secondary-label`] }, n.secondaryText))), c = (n) => {
3034
+ ), n.secondaryText && /* @__PURE__ */ e.createElement("span", { className: U[`${ne}__secondary-label`] }, n.secondaryText))), c = (n) => {
3035
3035
  !n.disabled && _(n);
3036
3036
  };
3037
3037
  return t.groupHeader ? /* @__PURE__ */ e.createElement(
@@ -3039,7 +3039,7 @@ const U = {
3039
3039
  {
3040
3040
  role: "option",
3041
3041
  key: t.key,
3042
- className: U[`${le}__header`]
3042
+ className: U[`${ne}__header`]
3043
3043
  },
3044
3044
  t.name
3045
3045
  ) : /* @__PURE__ */ e.createElement(
@@ -3056,12 +3056,12 @@ const U = {
3056
3056
  id: t.key,
3057
3057
  key: t.key,
3058
3058
  "data-adjacent": o,
3059
- className: g(U[le], {
3060
- [U[`${le}__custom`]]: t == null ? void 0 : t.customElement
3059
+ className: g(U[ne], {
3060
+ [U[`${ne}__custom`]]: t == null ? void 0 : t.customElement
3061
3061
  }),
3062
3062
  onClick: () => c(t)
3063
3063
  },
3064
- /* @__PURE__ */ e.createElement("div", { className: U[`${le}__content`] }, l(t)),
3064
+ /* @__PURE__ */ e.createElement("div", { className: U[`${ne}__content`] }, l(t)),
3065
3065
  a && !t.showCheckbox && /* @__PURE__ */ e.createElement(
3066
3066
  D,
3067
3067
  {
@@ -3086,9 +3086,9 @@ const U = {
3086
3086
  [U[`${Qt}__no-results`]]: a.length === 0
3087
3087
  }), [i, m] = e.useState(
3088
3088
  null
3089
- ), u = e.useRef(-1), f = e.useRef(0), v = e.useRef(null), [b, p] = e.useState({}), y = (S) => {
3090
- if (S.key === L.esc && (S.preventDefault(), c()), S.key === L.arrowUp && u.current > 0 && (S.preventDefault(), u.current = E(), m(a[u.current].key)), S.key === L.arrowDown && u.current + 1 < a.length && (S.preventDefault(), u.current = N(), m(a[u.current].key)), S.key === L.enter && !a[u.current].disabled) {
3091
- if (S.preventDefault(), a[u.current].key === qe)
3089
+ ), u = e.useRef(-1), f = e.useRef(0), v = e.useRef(null), [b, p] = e.useState({}), y = (x) => {
3090
+ if (x.key === L.esc && (x.preventDefault(), c()), x.key === L.arrowUp && u.current > 0 && (x.preventDefault(), u.current = E(), m(a[u.current].key)), x.key === L.arrowDown && u.current + 1 < a.length && (x.preventDefault(), u.current = N(), m(a[u.current].key)), x.key === L.enter && !a[u.current].disabled) {
3091
+ if (x.preventDefault(), a[u.current].key === qe)
3092
3092
  return s();
3093
3093
  n(a[u.current]);
3094
3094
  }
@@ -3100,7 +3100,7 @@ const U = {
3100
3100
  }, [a, t, y]), e.useEffect(() => {
3101
3101
  p(Z_(a, r));
3102
3102
  }, [r, a]);
3103
- const h = (S) => !!a[S] && (a[S].disabled || a[S].groupHeader), E = () => {
3103
+ const h = (x) => !!a[x] && (a[x].disabled || a[x].groupHeader), E = () => {
3104
3104
  for (u.current = u.current - 1; h(u.current) && (u.current = u.current - 1, !!h(u.current)); )
3105
3105
  ;
3106
3106
  return f.current = u.current, u.current;
@@ -3114,11 +3114,11 @@ const U = {
3114
3114
  break;
3115
3115
  }
3116
3116
  return f.current = u.current, u.current;
3117
- }, $ = () => s(), k = (S) => r ? r.includes(S) : !1, C = () => !l || l && !_ ? null : /* @__PURE__ */ e.createElement(
3117
+ }, $ = () => s(), k = (x) => r ? r.includes(x) : !1, C = () => !l || l && !_ ? null : /* @__PURE__ */ e.createElement(
3118
3118
  "li",
3119
3119
  {
3120
- ref: (S) => {
3121
- i === qe && (S == null || S.scrollIntoView({ block: "nearest" }));
3120
+ ref: (x) => {
3121
+ i === qe && (x == null || x.scrollIntoView({ block: "nearest" }));
3122
3122
  },
3123
3123
  role: "option",
3124
3124
  "aria-current": i === qe,
@@ -3141,18 +3141,18 @@ const U = {
3141
3141
  tabIndex: -1
3142
3142
  },
3143
3143
  C(),
3144
- a.map((S) => /* @__PURE__ */ e.createElement(
3144
+ a.map((x) => /* @__PURE__ */ e.createElement(
3145
3145
  Q_,
3146
3146
  {
3147
- item: S,
3148
- isItemSelected: k(S.key),
3149
- isAdjacentStyleApplied: b[S.key],
3147
+ item: x,
3148
+ isItemSelected: k(x.key),
3149
+ isAdjacentStyleApplied: b[x.key],
3150
3150
  currentItemKey: i,
3151
3151
  onSelect: n
3152
3152
  }
3153
3153
  ))
3154
3154
  )) : null;
3155
- }, K = {
3155
+ }, j = {
3156
3156
  "picker-trigger": "lc-Trigger-module__picker-trigger___BIvTx",
3157
3157
  "picker-trigger--multi-select": "lc-Trigger-module__picker-trigger--multi-select___rLpTy",
3158
3158
  "picker-trigger--multi-select--with-items": "lc-Trigger-module__picker-trigger--multi-select--with-items___QFhY2",
@@ -3185,13 +3185,13 @@ const U = {
3185
3185
  testId: u
3186
3186
  }) => {
3187
3187
  const f = e.useRef(null), v = g(
3188
- K[J],
3189
- K[`${J}--${s}`],
3190
- n && K[`${J}--multi-select`],
3191
- n && _ && K[`${J}--multi-select--with-items`],
3192
- r && K[`${J}--disabled`],
3193
- l && K[`${J}--focused`],
3194
- o && K[`${J}--error`]
3188
+ j[J],
3189
+ j[`${J}--${s}`],
3190
+ n && j[`${J}--multi-select`],
3191
+ n && _ && j[`${J}--multi-select--with-items`],
3192
+ r && j[`${J}--disabled`],
3193
+ l && j[`${J}--focused`],
3194
+ o && j[`${J}--error`]
3195
3195
  );
3196
3196
  e.useEffect(() => {
3197
3197
  const h = (E) => {
@@ -3219,9 +3219,9 @@ const U = {
3219
3219
  "div",
3220
3220
  {
3221
3221
  className: g(
3222
- K[`${J}__content`],
3223
- K[`${J}__content--${s}`],
3224
- n && _ && K[`${J}__content--with-items`]
3222
+ j[`${J}__content`],
3223
+ j[`${J}__content--${s}`],
3224
+ n && _ && j[`${J}__content--with-items`]
3225
3225
  )
3226
3226
  },
3227
3227
  t
@@ -3230,15 +3230,15 @@ const U = {
3230
3230
  "div",
3231
3231
  {
3232
3232
  className: g(
3233
- K[`${J}__controls`],
3234
- K[`${J}__controls--${s}`]
3233
+ j[`${J}__controls`],
3234
+ j[`${J}__controls--${s}`]
3235
3235
  )
3236
3236
  },
3237
3237
  y && /* @__PURE__ */ e.createElement(
3238
3238
  "div",
3239
3239
  {
3240
3240
  "data-testid": `${J}__clear-icon`,
3241
- className: K[`${J}__clear-icon`],
3241
+ className: j[`${J}__clear-icon`],
3242
3242
  onClick: p
3243
3243
  },
3244
3244
  /* @__PURE__ */ e.createElement(D, { kind: "primary", size: "small", source: xe })
@@ -3246,7 +3246,7 @@ const U = {
3246
3246
  /* @__PURE__ */ e.createElement(
3247
3247
  D,
3248
3248
  {
3249
- className: K[`${J}__chevron-icon`],
3249
+ className: j[`${J}__chevron-icon`],
3250
3250
  source: l ? Ft : ft,
3251
3251
  size: "medium",
3252
3252
  disabled: r
@@ -3254,7 +3254,7 @@ const U = {
3254
3254
  )
3255
3255
  )
3256
3256
  );
3257
- }, to = "lc-Tag-module__tag___1QRVY", ao = "lc-Tag-module__tag__remove___UmtrW", ro = "lc-Tag-module__icon___2Z-35", _o = "lc-Tag-module__tag__node___rZTzB", oo = "lc-Tag-module__tag__content___q6vKK", ce = {
3257
+ }, to = "lc-Tag-module__tag___1QRVY", ao = "lc-Tag-module__tag__remove___UmtrW", ro = "lc-Tag-module__icon___2Z-35", _o = "lc-Tag-module__tag__node___rZTzB", oo = "lc-Tag-module__tag__content___q6vKK", se = {
3258
3258
  tag: to,
3259
3259
  "tag--success": "lc-Tag-module__tag--success___P2hXQ",
3260
3260
  tag__remove: ao,
@@ -3275,7 +3275,7 @@ const U = {
3275
3275
  tag__node: _o,
3276
3276
  "tag__node--right": "lc-Tag-module__tag__node--right___pGYuU",
3277
3277
  tag__content: oo
3278
- }, ne = "tag", lo = (t) => t ? ra(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", qa = (u) => {
3278
+ }, ie = "tag", lo = (t) => t ? ra(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", qa = (u) => {
3279
3279
  var f = u, {
3280
3280
  className: t = "",
3281
3281
  children: a,
@@ -3302,15 +3302,15 @@ const U = {
3302
3302
  "customColor"
3303
3303
  ]);
3304
3304
  const v = g(
3305
- ce[ne],
3305
+ se[ie],
3306
3306
  t,
3307
- ce[`${ne}--${o}`],
3308
- ce[`${ne}--${l}`],
3307
+ se[`${ie}--${o}`],
3308
+ se[`${ie}--${l}`],
3309
3309
  {
3310
- [ce[`${ne}--dismissible`]]: r,
3311
- [ce[`${ne}--outline`]]: n,
3312
- [ce[`${ne}--with-node`]]: !!s || !!d,
3313
- [ce[`${ne}--${lo(i)}`]]: !!i
3310
+ [se[`${ie}--dismissible`]]: r,
3311
+ [se[`${ie}--outline`]]: n,
3312
+ [se[`${ie}--with-node`]]: !!s || !!d,
3313
+ [se[`${ie}--${lo(i)}`]]: !!i
3314
3314
  }
3315
3315
  ), b = () => i ? n ? {
3316
3316
  style: {
@@ -3334,17 +3334,17 @@ const U = {
3334
3334
  "div",
3335
3335
  {
3336
3336
  "data-testid": "lc-tag-left-node",
3337
- className: ce[`${ne}__node`],
3337
+ className: se[`${ie}__node`],
3338
3338
  style: { color: p() }
3339
3339
  },
3340
3340
  s
3341
3341
  ),
3342
- /* @__PURE__ */ e.createElement("div", { className: ce[`${ne}__content`] }, a),
3342
+ /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__content`] }, a),
3343
3343
  d && /* @__PURE__ */ e.createElement(
3344
3344
  "div",
3345
3345
  {
3346
3346
  "data-testid": "lc-tag-right-node",
3347
- className: g(ce[`${ne}__node--right`]),
3347
+ className: g(se[`${ie}__node--right`]),
3348
3348
  style: { color: p() }
3349
3349
  },
3350
3350
  d
@@ -3355,7 +3355,7 @@ const U = {
3355
3355
  title: "Remove",
3356
3356
  onClick: c,
3357
3357
  type: "button",
3358
- className: ce[`${ne}__remove`]
3358
+ className: se[`${ie}__remove`]
3359
3359
  },
3360
3360
  /* @__PURE__ */ e.createElement(
3361
3361
  D,
@@ -3368,8 +3368,9 @@ const U = {
3368
3368
  )
3369
3369
  )
3370
3370
  );
3371
- }, se = {
3371
+ }, le = {
3372
3372
  "picker-trigger-body": "lc-TriggerBody-module__picker-trigger-body___ZWjX9",
3373
+ "picker-trigger-body--single": "lc-TriggerBody-module__picker-trigger-body--single___KNWtO",
3373
3374
  "picker-trigger-body__item-container": "lc-TriggerBody-module__picker-trigger-body__item-container___l2NTQ",
3374
3375
  "picker-trigger-body__item": "lc-TriggerBody-module__picker-trigger-body__item___0DBg1",
3375
3376
  "picker-trigger-body__item__content": "lc-TriggerBody-module__picker-trigger-body__item__content___VhhV-",
@@ -3383,7 +3384,7 @@ const U = {
3383
3384
  "picker-trigger-body__tag--compact": "lc-TriggerBody-module__picker-trigger-body__tag--compact___X-oAF",
3384
3385
  "picker-trigger-body__tag--medium": "lc-TriggerBody-module__picker-trigger-body__tag--medium___Ptkd5",
3385
3386
  "picker-trigger-body__tag--large": "lc-TriggerBody-module__picker-trigger-body__tag--large___Saoy1"
3386
- }, ie = "picker-trigger-body", co = ({
3387
+ }, ce = "picker-trigger-body", co = ({
3387
3388
  isOpen: t,
3388
3389
  isSearchDisabled: a,
3389
3390
  isDisabled: r,
@@ -3400,48 +3401,57 @@ const U = {
3400
3401
  e.useEffect(() => {
3401
3402
  n && (i(""), u.current && (u.current.value = "", u.current.focus()));
3402
3403
  }, [_, n]);
3403
- const f = (p) => l === "single" && t && !a ? null : p != null && p.customElement ? /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__item`] }, p.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__item`] }, p.icon && /* @__PURE__ */ e.createElement(
3404
+ const f = (p) => l === "single" && t && !a ? null : p != null && p.customElement ? /* @__PURE__ */ e.createElement("div", { className: le[`${ce}__item`] }, p.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: le[`${ce}__item`] }, p.icon && /* @__PURE__ */ e.createElement(
3404
3405
  D,
3405
3406
  {
3406
3407
  source: p.icon,
3407
- className: se[`${ie}__item__icon`]
3408
+ className: le[`${ce}__item__icon`]
3408
3409
  }
3409
3410
  ), p.avatarSrc && /* @__PURE__ */ e.createElement(
3410
3411
  "img",
3411
3412
  {
3412
3413
  src: p.avatarSrc,
3413
3414
  alt: "",
3414
- className: se[`${ie}__item__avatar`]
3415
+ className: le[`${ce}__item__avatar`]
3415
3416
  }
3416
- ), /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__item__content`] }, p.name)), v = (p) => {
3417
+ ), /* @__PURE__ */ e.createElement("div", { className: le[`${ce}__item__content`] }, p.name)), v = (p) => {
3417
3418
  i(p.target.value);
3418
3419
  }, b = () => /* @__PURE__ */ e.createElement(
3419
3420
  "input",
3420
3421
  {
3421
3422
  ref: u,
3422
3423
  className: g(
3423
- se[`${ie}__input`],
3424
- se[`${ie}__input--${s}`]
3424
+ le[`${ce}__input`],
3425
+ le[`${ce}__input--${s}`]
3425
3426
  ),
3426
3427
  placeholder: "Select option",
3427
3428
  onChange: v,
3428
3429
  autoFocus: !0
3429
3430
  }
3430
3431
  );
3431
- return !_ || _.length === 0 ? m ? b() : /* @__PURE__ */ e.createElement("div", null, o) : /* @__PURE__ */ e.createElement("div", { className: se[ie] }, /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__item-container`] }, l === "single" ? f(_[0]) : _.map((p) => /* @__PURE__ */ e.createElement(
3432
- qa,
3432
+ return !_ || _.length === 0 ? m ? b() : /* @__PURE__ */ e.createElement("div", null, o) : /* @__PURE__ */ e.createElement(
3433
+ "div",
3433
3434
  {
3434
- key: p.name,
3435
- className: g(
3436
- se[`${ie}__tag`],
3437
- se[`${ie}__tag--${s}`]
3438
- ),
3439
- iconSize: c,
3440
- dismissible: !r,
3441
- onRemove: () => d(p)
3435
+ className: g(le[ce], {
3436
+ [le[`${ce}--single`]]: l === "single"
3437
+ })
3442
3438
  },
3443
- f(p)
3444
- ))), m && b());
3439
+ /* @__PURE__ */ e.createElement("div", { className: le[`${ce}__item-container`] }, l === "single" ? f(_[0]) : _.map((p) => /* @__PURE__ */ e.createElement(
3440
+ qa,
3441
+ {
3442
+ key: p.name,
3443
+ className: g(
3444
+ le[`${ce}__tag`],
3445
+ le[`${ce}__tag--${s}`]
3446
+ ),
3447
+ iconSize: c,
3448
+ dismissible: !r,
3449
+ onRemove: () => d(p)
3450
+ },
3451
+ f(p)
3452
+ ))),
3453
+ m && b()
3454
+ );
3445
3455
  }, no = "lc-Picker-module__picker___GRj9W", so = "lc-Picker-module__picker__container___s0PUc", Ta = {
3446
3456
  picker: no,
3447
3457
  picker__container: so
@@ -3483,12 +3493,12 @@ const U = {
3483
3493
  "clearSearchAfterSelection",
3484
3494
  "onSelect"
3485
3495
  ]);
3486
- const [N, $] = e.useState(v), [k, C] = e.useState(null), S = e.useRef(null), V = g(Ta[Da], t);
3496
+ const [N, $] = e.useState(v), [k, C] = e.useState(null), x = e.useRef(null), V = g(Ta[Da], t);
3487
3497
  e.useEffect(() => {
3488
3498
  if (N) {
3489
3499
  const F = (te) => {
3490
3500
  var Fe;
3491
- (Fe = S.current) != null && Fe.contains(te.target) || $(!1);
3501
+ (Fe = x.current) != null && Fe.contains(te.target) || $(!1);
3492
3502
  }, G = (te) => {
3493
3503
  te.key === L.tab && $(!1);
3494
3504
  };
@@ -3535,7 +3545,7 @@ const U = {
3535
3545
  const G = k.toLowerCase();
3536
3546
  return F.name.toLowerCase().includes(G);
3537
3547
  }) : o, [k, o]), vt = e.useMemo(() => _ ? _.map((F) => F.key) : null, [_]);
3538
- return /* @__PURE__ */ e.createElement("div", { ref: S, className: V, id: y.id }, /* @__PURE__ */ e.createElement("div", { className: Ta[`${Da}__container`] }, /* @__PURE__ */ e.createElement(
3548
+ return /* @__PURE__ */ e.createElement("div", { ref: x, className: V, id: y.id }, /* @__PURE__ */ e.createElement("div", { className: Ta[`${Da}__container`] }, /* @__PURE__ */ e.createElement(
3539
3549
  eo,
3540
3550
  {
3541
3551
  testId: y["data-testid"],
@@ -3589,7 +3599,7 @@ const U = {
3589
3599
  function Ja(t, a = 0) {
3590
3600
  return t === "error" ? 0 : uo(parseInt(a.toString(), 10));
3591
3601
  }
3592
- function ja(t, a) {
3602
+ function Ka(t, a) {
3593
3603
  return !io.includes(t) && a >= 100 ? "normal" : t || "normal";
3594
3604
  }
3595
3605
  const it = {
@@ -3624,7 +3634,7 @@ const it = {
3624
3634
  "className",
3625
3635
  "size"
3626
3636
  ]);
3627
- const s = ja(t, a), d = Ja(s, a), i = mo[o], m = po[o], u = g(
3637
+ const s = Ka(t, a), d = Ja(s, a), i = mo[o], m = po[o], u = g(
3628
3638
  it[dt],
3629
3639
  {
3630
3640
  [it[`${dt}--${o}`]]: o,
@@ -3689,7 +3699,7 @@ const it = {
3689
3699
  "size",
3690
3700
  "className"
3691
3701
  ]);
3692
- const s = ja(t, a), d = Ja(s, a), i = g(
3702
+ const s = Ka(t, a), d = Ja(s, a), i = g(
3693
3703
  Tt[Dt],
3694
3704
  {
3695
3705
  [Tt[`${Dt}--${r}`]]: r,
@@ -3977,12 +3987,12 @@ const it = {
3977
3987
  "switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
3978
3988
  "switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
3979
3989
  switch__icon: No
3980
- }, j = "switch", Gl = (m) => {
3990
+ }, K = "switch", Gl = (m) => {
3981
3991
  var u = m, {
3982
3992
  className: t = "",
3983
3993
  defaultOn: a = !1,
3984
3994
  disabled: r = !1,
3985
- name: o = j,
3995
+ name: o = K,
3986
3996
  on: _,
3987
3997
  onChange: l = Zt,
3988
3998
  size: c = "large",
@@ -4008,8 +4018,8 @@ const it = {
4008
4018
  _ !== void 0 && v(_);
4009
4019
  }, [_]);
4010
4020
  const b = n === "loading", p = n === "locked", y = c === "large" ? "small" : "xsmall", h = f ? "on" : "off", E = r || b || p, N = E ? "disabled" : "enabled", $ = g(
4011
- Z[j],
4012
- Z[`${j}--${c}`],
4021
+ Z[K],
4022
+ Z[`${K}--${c}`],
4013
4023
  t
4014
4024
  ), k = (C) => {
4015
4025
  if (l !== Zt) {
@@ -4023,8 +4033,8 @@ const it = {
4023
4033
  w({
4024
4034
  type: "checkbox",
4025
4035
  className: g(
4026
- Z[`${j}__input`],
4027
- Z[`${j}__input--${N}`]
4036
+ Z[`${K}__input`],
4037
+ Z[`${K}__input--${N}`]
4028
4038
  ),
4029
4039
  onChange: k,
4030
4040
  checked: f,
@@ -4033,37 +4043,37 @@ const it = {
4033
4043
  disabled: E,
4034
4044
  "aria-label": d
4035
4045
  }, i)
4036
- ), /* @__PURE__ */ e.createElement("span", { className: Z[`${j}__container`] }, /* @__PURE__ */ e.createElement(
4046
+ ), /* @__PURE__ */ e.createElement("span", { className: Z[`${K}__container`] }, /* @__PURE__ */ e.createElement(
4037
4047
  "span",
4038
4048
  {
4039
4049
  className: g(
4040
- Z[`${j}__track`],
4041
- Z[`${j}__track--${h}`],
4042
- Z[`${j}__track--${N}`]
4050
+ Z[`${K}__track`],
4051
+ Z[`${K}__track--${h}`],
4052
+ Z[`${K}__track--${N}`]
4043
4053
  )
4044
4054
  }
4045
4055
  ), /* @__PURE__ */ e.createElement(
4046
4056
  "span",
4047
4057
  {
4048
4058
  className: g(
4049
- Z[`${j}__slider`],
4050
- Z[`${j}__slider--${c}`],
4051
- Z[`${j}__slider--${c}--${h}`]
4059
+ Z[`${K}__slider`],
4060
+ Z[`${K}__slider--${c}`],
4061
+ Z[`${K}__slider--${c}--${h}`]
4052
4062
  )
4053
4063
  },
4054
4064
  b && /* @__PURE__ */ e.createElement(
4055
4065
  _a,
4056
4066
  {
4057
4067
  className: g(
4058
- Z[`${j}__loader`],
4059
- Z[`${j}__loader--${c}`]
4068
+ Z[`${K}__loader`],
4069
+ Z[`${K}__loader--${c}`]
4060
4070
  )
4061
4071
  }
4062
4072
  ),
4063
4073
  p && /* @__PURE__ */ e.createElement(
4064
4074
  D,
4065
4075
  {
4066
- className: Z[`${j}__icon`],
4076
+ className: Z[`${K}__icon`],
4067
4077
  "data-testid": "lock-icon",
4068
4078
  size: y,
4069
4079
  source: nr,
@@ -4123,16 +4133,16 @@ const it = {
4123
4133
  }
4124
4134
  )
4125
4135
  );
4126
- }, Do = "lc-TabsWrapper-module__tabs___Y2xyD", Io = "lc-TabsWrapper-module__tabs__list___i6tVO", Ka = {
4136
+ }, Do = "lc-TabsWrapper-module__tabs___Y2xyD", Io = "lc-TabsWrapper-module__tabs__list___i6tVO", ja = {
4127
4137
  tabs: Do,
4128
4138
  tabs__list: Io
4129
4139
  }, Za = "tabs", Wl = ({
4130
4140
  className: t,
4131
4141
  children: a
4132
- }) => /* @__PURE__ */ e.createElement("div", { className: g(Ka[Za], t) }, a), Vl = ({
4142
+ }) => /* @__PURE__ */ e.createElement("div", { className: g(ja[Za], t) }, a), Vl = ({
4133
4143
  className: t,
4134
4144
  children: a
4135
- }) => /* @__PURE__ */ e.createElement("div", { className: g(Ka[`${Za}__list`], t) }, a), Ao = ({
4145
+ }) => /* @__PURE__ */ e.createElement("div", { className: g(ja[`${Za}__list`], t) }, a), Ao = ({
4136
4146
  className: t = "",
4137
4147
  innerEditableRef: a,
4138
4148
  inputRef: r,
@@ -4501,7 +4511,7 @@ const it = {
4501
4511
  "file-upload-progress__wrapper__header__title": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title___2IVuv",
4502
4512
  "file-upload-progress__wrapper__header__title--success": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--success___E6DQl",
4503
4513
  "file-upload-progress__wrapper__header__title--error": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--error___5BPpI"
4504
- }, Ce = "file-upload-progress", qt = `${Ce}__wrapper__header__title`, jo = e.forwardRef(
4514
+ }, Ce = "file-upload-progress", qt = `${Ce}__wrapper__header__title`, Ko = e.forwardRef(
4505
4515
  ({
4506
4516
  actionsVisibility: t = "hidden",
4507
4517
  className: a,
@@ -4586,14 +4596,14 @@ const it = {
4586
4596
  "upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
4587
4597
  "upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
4588
4598
  "upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
4589
- }, Q = "upload-bar", Ne = `${Q}__wrapper__header`, Ko = 300, Zo = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}__success-icon`] }, /* @__PURE__ */ e.createElement(D, { source: ta })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}__error-icon`] }, /* @__PURE__ */ e.createElement(D, { source: ir })) : /* @__PURE__ */ e.createElement(
4599
+ }, Q = "upload-bar", Ne = `${Q}__wrapper__header`, jo = 300, Zo = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}__success-icon`] }, /* @__PURE__ */ e.createElement(D, { source: ta })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}__error-icon`] }, /* @__PURE__ */ e.createElement(D, { source: ir })) : /* @__PURE__ */ e.createElement(
4590
4600
  go,
4591
4601
  {
4592
4602
  className: R[`${Ne}__loader`],
4593
4603
  status: t,
4594
4604
  progressValue: a
4595
4605
  }
4596
- ), jl = ({
4606
+ ), Kl = ({
4597
4607
  children: t,
4598
4608
  className: a,
4599
4609
  progressValue: r,
@@ -4612,7 +4622,7 @@ const it = {
4612
4622
  [R[`${Q}--success`]]: b
4613
4623
  }), y = !(v && (m || i)), h = () => f(!u);
4614
4624
  return d === "single" ? /* @__PURE__ */ e.createElement("div", { className: p }, /* @__PURE__ */ e.createElement("div", { className: R[`${Q}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}`] }, /* @__PURE__ */ e.createElement(
4615
- jo,
4625
+ Ko,
4616
4626
  {
4617
4627
  title: v && l || o,
4618
4628
  progressValue: r,
@@ -4652,7 +4662,7 @@ const it = {
4652
4662
  ), /* @__PURE__ */ e.createElement(La, { component: null }, u && /* @__PURE__ */ e.createElement(
4653
4663
  aa,
4654
4664
  {
4655
- timeout: Ko,
4665
+ timeout: jo,
4656
4666
  classNames: {
4657
4667
  enter: R[`${Q}__files--enter`],
4658
4668
  enterActive: R[`${Q}__files--enter-active`],
@@ -4682,12 +4692,12 @@ export {
4682
4692
  Rt as FieldDescription,
4683
4693
  oa as FieldError,
4684
4694
  xl as FieldGroup,
4685
- jo as FileUploadProgress,
4695
+ Ko as FileUploadProgress,
4686
4696
  Xt as FileUploadProgressActions,
4687
4697
  Sl as Form,
4688
4698
  Tl as FormField,
4689
4699
  Dl as FormGroup,
4690
- Ke as Heading,
4700
+ je as Heading,
4691
4701
  D as Icon,
4692
4702
  bl as Info,
4693
4703
  Il as Input,
@@ -4695,7 +4705,7 @@ export {
4695
4705
  Al as Link,
4696
4706
  _a as Loader,
4697
4707
  Bl as Modal,
4698
- K_ as ModalBase,
4708
+ j_ as ModalBase,
4699
4709
  xa as ModalCloseButton,
4700
4710
  Fl as ModalHeader,
4701
4711
  Pl as ModalPortal,
@@ -4727,6 +4737,6 @@ export {
4727
4737
  Yo as Toast,
4728
4738
  ql as ToastWrapper,
4729
4739
  Wa as Tooltip,
4730
- jl as UploadBar,
4740
+ Kl as UploadBar,
4731
4741
  hl as UserGuide
4732
4742
  };