@akad/design-system 1.0.0-alpha.1 → 1.0.0-alpha.2

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.
Files changed (57) hide show
  1. package/css/core.css +1 -1
  2. package/package.json +1 -1
  3. package/react/react-lib.js +141 -218
  4. package/react/react-lib.umd.cjs +1 -1
  5. package/react/src/components/atoms/Button/Button.d.ts +1 -1
  6. package/react/src/components/atoms/Button/Button.stories.d.ts +3 -3
  7. package/react/src/components/atoms/Caption/Caption.d.ts +1 -1
  8. package/react/src/components/atoms/Caption/Caption.stories.d.ts +2 -2
  9. package/react/src/components/atoms/Card/Card.stories.d.ts +4 -4
  10. package/react/src/components/atoms/Checkbox/Checkbox.d.ts +1 -1
  11. package/react/src/components/atoms/Checkbox/Checkbox.stories.d.ts +4 -4
  12. package/react/src/components/atoms/Heading/Heading.d.ts +1 -1
  13. package/react/src/components/atoms/Heading/Heading.stories.d.ts +9 -9
  14. package/react/src/components/atoms/HorizontalRule/HorizontalRule.stories.d.ts +2 -2
  15. package/react/src/components/atoms/Icon/Icon.d.ts +1 -1
  16. package/react/src/components/atoms/Icon/Icon.stories.d.ts +3 -3
  17. package/react/src/components/atoms/Input/Input.stories.d.ts +2 -2
  18. package/react/src/components/atoms/Loading/Loading.stories.d.ts +2 -2
  19. package/react/src/components/atoms/Option/Option.d.ts +1 -1
  20. package/react/src/components/atoms/Option/Option.stories.d.ts +2 -2
  21. package/react/src/components/atoms/Paragraph/Paragraph.d.ts +1 -1
  22. package/react/src/components/atoms/Paragraph/Paragraph.stories.d.ts +4 -4
  23. package/react/src/components/atoms/Progress/Progress.stories.d.ts +2 -2
  24. package/react/src/components/atoms/Select/Select.d.ts +1 -1
  25. package/react/src/components/atoms/Select/Select.stories.d.ts +2 -2
  26. package/react/src/components/atoms/Subtitle/Subtitle.stories.d.ts +4 -4
  27. package/react/src/components/atoms/TextArea/TextArea.stories.d.ts +3 -3
  28. package/react/src/components/atoms/Tooltip/Tooltip.d.ts +1 -1
  29. package/react/src/components/atoms/Tooltip/Tooltip.stories.d.ts +7 -7
  30. package/react/src/components/bosons/Container/Container.d.ts +1 -1
  31. package/react/src/components/bosons/Container/Container.stories.d.ts +3 -3
  32. package/react/src/components/bosons/FlexLayout/FlexLayout.stories.d.ts +4 -4
  33. package/react/src/components/bosons/GridLayout/GridLayout.stories.d.ts +3 -3
  34. package/react/src/components/bosons/Spacer/Spacer.stories.d.ts +2 -2
  35. package/react/src/components/bosons/Wrapper/Wrapper.stories.d.ts +3 -3
  36. package/react/src/components/molecules/Accordion/Accordion.d.ts +1 -1
  37. package/react/src/components/molecules/Accordion/Accordion.stories.d.ts +2 -2
  38. package/react/src/components/molecules/ActiveTags/ActiveTags.stories.d.ts +2 -2
  39. package/react/src/components/molecules/EditableSelect/EditableSelect.stories.d.ts +3 -3
  40. package/react/src/components/molecules/Indicator/Indicator.stories.d.ts +2 -2
  41. package/react/src/components/molecules/InlineEditable/InlineEditable.d.ts +1 -1
  42. package/react/src/components/molecules/InlineEditable/InlineEditable.stories.d.ts +8 -8
  43. package/react/src/components/molecules/Modal/Modal.d.ts +1 -1
  44. package/react/src/components/molecules/Modal/Modal.stories.d.ts +5 -5
  45. package/react/src/components/molecules/Notification/Notification.stories.d.ts +52 -52
  46. package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +3 -3
  47. package/react/src/components/molecules/Stepper/Stepper.stories.d.ts +2 -2
  48. package/react/src/components/molecules/Table/Table.stories.d.ts +2 -2
  49. package/react/src/components/molecules/Tabs/Tab.d.ts +1 -1
  50. package/react/src/components/molecules/Tabs/Tabs.stories.d.ts +2 -2
  51. package/react/src/components/molecules/ThemeProvider/ThemeProvider.d.ts +1 -1
  52. package/react/src/components/organisms/NotificationList/NotificationList.d.ts +1 -1
  53. package/react/src/components/organisms/NotificationList/NotificationList.stories.d.ts +2 -2
  54. package/scss/core/components/molecules/accordion.scss +1 -1
  55. package/scss/core/components/molecules/notification.scss +1 -1
  56. package/scss/core/helpers/borders.scss +21 -3
  57. package/scss/core/helpers/colors.scss +33 -6
@@ -14,8 +14,7 @@ var Tt = { exports: {} }, st = { exports: {} }, z = {};
14
14
  */
15
15
  var jt;
16
16
  function Sn() {
17
- if (jt)
18
- return z;
17
+ if (jt) return z;
19
18
  jt = 1;
20
19
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, r = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, _ = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, E = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, m = t ? Symbol.for("react.fundamental") : 60117, F = t ? Symbol.for("react.responder") : 60118, j = t ? Symbol.for("react.scope") : 60119;
21
20
  function A(p) {
@@ -182,8 +181,7 @@ object-assign
182
181
  */
183
182
  var vt, Ut;
184
183
  function xn() {
185
- if (Ut)
186
- return vt;
184
+ if (Ut) return vt;
187
185
  Ut = 1;
188
186
  var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, s = Object.prototype.propertyIsEnumerable;
189
187
  function n(a) {
@@ -229,8 +227,7 @@ function xn() {
229
227
  }
230
228
  var _t, zt;
231
229
  function Rt() {
232
- if (zt)
233
- return _t;
230
+ if (zt) return _t;
234
231
  zt = 1;
235
232
  var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
236
233
  return _t = t, _t;
@@ -241,8 +238,7 @@ function ns() {
241
238
  }
242
239
  var kt, Wt;
243
240
  function wn() {
244
- if (Wt)
245
- return kt;
241
+ if (Wt) return kt;
246
242
  Wt = 1;
247
243
  var t = function() {
248
244
  };
@@ -291,8 +287,7 @@ function wn() {
291
287
  }
292
288
  var bt, Yt;
293
289
  function An() {
294
- if (Yt)
295
- return bt;
290
+ if (Yt) return bt;
296
291
  Yt = 1;
297
292
  var t = ss(), e = xn(), s = Rt(), n = ns(), r = wn(), a = function() {
298
293
  };
@@ -613,8 +608,7 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
613
608
  }
614
609
  var Et, Xt;
615
610
  function Tn() {
616
- if (Xt)
617
- return Et;
611
+ if (Xt) return Et;
618
612
  Xt = 1;
619
613
  var t = Rt();
620
614
  function e() {
@@ -1056,7 +1050,7 @@ const ie = {
1056
1050
  label: r = ie.props.label.default,
1057
1051
  description: a = ie.props.description.default,
1058
1052
  checked: i = ie.props.checked.default,
1059
- disabled: l = ie.props.checked.default,
1053
+ disabled: l = ie.props.disabled.default,
1060
1054
  changeByChecked: u = ie.props.changeByChecked.default,
1061
1055
  onChangeHandler: d
1062
1056
  }, h) => {
@@ -1084,6 +1078,7 @@ const ie = {
1084
1078
  checked: y,
1085
1079
  className: `${ie.class}__input`,
1086
1080
  "data-testid": n,
1081
+ disabled: l,
1087
1082
  id: t || s,
1088
1083
  name: s,
1089
1084
  onChange: F,
@@ -1246,38 +1241,25 @@ function St(t) {
1246
1241
  return t.replace(/([.*+?^=!:${}()|[\]/\\])/g, "\\$1");
1247
1242
  }
1248
1243
  function ct(t, e) {
1249
- if (e === t)
1250
- return !0;
1244
+ if (e === t) return !0;
1251
1245
  const s = Array.isArray(e), n = Array.isArray(t);
1252
1246
  let r;
1253
1247
  if (s && n) {
1254
- if (e.length != t.length)
1255
- return !1;
1256
- for (r = 0; r < e.length; r++)
1257
- if (!ct(e[r], t[r]))
1258
- return !1;
1248
+ if (e.length != t.length) return !1;
1249
+ for (r = 0; r < e.length; r++) if (!ct(e[r], t[r])) return !1;
1259
1250
  return !0;
1260
1251
  }
1261
- if (s != n)
1262
- return !1;
1252
+ if (s != n) return !1;
1263
1253
  if (e && t && typeof e == "object" && typeof t == "object") {
1264
1254
  const a = e instanceof Date, i = t instanceof Date;
1265
- if (a && i)
1266
- return e.getTime() == t.getTime();
1267
- if (a != i)
1268
- return !1;
1255
+ if (a && i) return e.getTime() == t.getTime();
1256
+ if (a != i) return !1;
1269
1257
  const l = e instanceof RegExp, u = t instanceof RegExp;
1270
- if (l && u)
1271
- return e.toString() == t.toString();
1272
- if (l != u)
1273
- return !1;
1258
+ if (l && u) return e.toString() == t.toString();
1259
+ if (l != u) return !1;
1274
1260
  const d = Object.keys(e);
1275
- for (r = 0; r < d.length; r++)
1276
- if (!Object.prototype.hasOwnProperty.call(t, d[r]))
1277
- return !1;
1278
- for (r = 0; r < d.length; r++)
1279
- if (!ct(t[d[r]], e[d[r]]))
1280
- return !1;
1261
+ for (r = 0; r < d.length; r++) if (!Object.prototype.hasOwnProperty.call(t, d[r])) return !1;
1262
+ for (r = 0; r < d.length; r++) if (!ct(t[d[r]], e[d[r]])) return !1;
1281
1263
  return !0;
1282
1264
  } else if (e && t && typeof e == "function" && typeof t == "function")
1283
1265
  return e.toString() === t.toString();
@@ -1334,18 +1316,15 @@ function D(t, e) {
1334
1316
  return new D.InputMask(t, e);
1335
1317
  }
1336
1318
  function ks(t) {
1337
- if (t == null)
1338
- throw new Error("mask property should be defined");
1319
+ if (t == null) throw new Error("mask property should be defined");
1339
1320
  return t instanceof RegExp ? D.MaskedRegExp : $e(t) ? D.MaskedPattern : t === Date ? D.MaskedDate : t === Number ? D.MaskedNumber : Array.isArray(t) || t === Array ? D.MaskedDynamic : D.Masked && t.prototype instanceof D.Masked ? t : D.Masked && t instanceof D.Masked ? t.constructor : t instanceof Function ? D.MaskedFunction : (console.warn("Mask not found for mask", t), D.Masked);
1340
1321
  }
1341
1322
  function Je(t) {
1342
- if (!t)
1343
- throw new Error("Options in not defined");
1323
+ if (!t) throw new Error("Options in not defined");
1344
1324
  if (D.Masked) {
1345
- if (t.prototype instanceof D.Masked)
1346
- return {
1347
- mask: t
1348
- };
1325
+ if (t.prototype instanceof D.Masked) return {
1326
+ mask: t
1327
+ };
1349
1328
  const {
1350
1329
  mask: e = void 0,
1351
1330
  ...s
@@ -1369,11 +1348,9 @@ function Je(t) {
1369
1348
  };
1370
1349
  }
1371
1350
  function Ie(t) {
1372
- if (D.Masked && t instanceof D.Masked)
1373
- return t;
1351
+ if (D.Masked && t instanceof D.Masked) return t;
1374
1352
  const e = Je(t), s = ks(e.mask);
1375
- if (!s)
1376
- throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
1353
+ if (!s) throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
1377
1354
  return e.mask === s && delete e.mask, e._mask && (e.mask = e._mask, delete e._mask), new s(e);
1378
1355
  }
1379
1356
  D.createMask = Ie;
@@ -1497,8 +1474,7 @@ class bs extends ht {
1497
1474
  }
1498
1475
  /** Sets HTMLElement selection */
1499
1476
  _unsafeSelect(e, s) {
1500
- if (!this.rootElement.createRange)
1501
- return;
1477
+ if (!this.rootElement.createRange) return;
1502
1478
  const n = this.rootElement.createRange();
1503
1479
  n.setStart(this.input.firstChild || this.input, e), n.setEnd(this.input.lastChild || this.input, s);
1504
1480
  const r = this.rootElement, a = r.getSelection && r.getSelection();
@@ -1546,7 +1522,7 @@ class jn {
1546
1522
  */
1547
1523
  /** Internal {@link Masked} model */
1548
1524
  constructor(e, s) {
1549
- this.el = e instanceof Bt ? e : e.isContentEditable && e.tagName !== "INPUT" && e.tagName !== "TEXTAREA" ? new bs(e) : new Ln(e), this.masked = Ie(s), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new ft(), this._saveSelection = this._saveSelection.bind(this), this._onInput = this._onInput.bind(this), this._onChange = this._onChange.bind(this), this._onDrop = this._onDrop.bind(this), this._onFocus = this._onFocus.bind(this), this._onClick = this._onClick.bind(this), this._onUndo = this._onUndo.bind(this), this._onRedo = this._onRedo.bind(this), this.alignCursor = this.alignCursor.bind(this), this.alignCursorFriendly = this.alignCursorFriendly.bind(this), this._bindEvents(), this._onChange();
1525
+ this.el = e instanceof Bt ? e : e.isContentEditable && e.tagName !== "INPUT" && e.tagName !== "TEXTAREA" ? new bs(e) : new Ln(e), this.masked = Ie(s), this._listeners = {}, this._value = "", this._unmaskedValue = "", this._rawInputValue = "", this.history = new ft(), this._saveSelection = this._saveSelection.bind(this), this._onInput = this._onInput.bind(this), this._onChange = this._onChange.bind(this), this._onDrop = this._onDrop.bind(this), this._onFocus = this._onFocus.bind(this), this._onClick = this._onClick.bind(this), this._onUndo = this._onUndo.bind(this), this._onRedo = this._onRedo.bind(this), this.alignCursor = this.alignCursor.bind(this), this.alignCursorFriendly = this.alignCursorFriendly.bind(this), this._bindEvents(), this.updateValue(), this._onChange();
1550
1526
  }
1551
1527
  maskEquals(e) {
1552
1528
  var s;
@@ -1557,8 +1533,7 @@ class jn {
1557
1533
  return this.masked.mask;
1558
1534
  }
1559
1535
  set mask(e) {
1560
- if (this.maskEquals(e))
1561
- return;
1536
+ if (this.maskEquals(e)) return;
1562
1537
  if (!(e instanceof D.Masked) && this.masked.constructor === ks(e)) {
1563
1538
  this.masked.updateOptions({
1564
1539
  mask: e
@@ -1697,8 +1672,7 @@ class jn {
1697
1672
  }
1698
1673
  /** Removes custom event listener */
1699
1674
  off(e, s) {
1700
- if (!this._listeners[e])
1701
- return this;
1675
+ if (!this._listeners[e]) return this;
1702
1676
  if (!s)
1703
1677
  return delete this._listeners[e], this;
1704
1678
  const n = this._listeners[e].indexOf(s);
@@ -1813,14 +1787,12 @@ class we {
1813
1787
  Object.assign(this, e);
1814
1788
  }
1815
1789
  unshift(e) {
1816
- if (!this.value.length || e != null && this.from >= e)
1817
- return "";
1790
+ if (!this.value.length || e != null && this.from >= e) return "";
1818
1791
  const s = this.value[0];
1819
1792
  return this.value = this.value.slice(1), s;
1820
1793
  }
1821
1794
  shift() {
1822
- if (!this.value.length)
1823
- return "";
1795
+ if (!this.value.length) return "";
1824
1796
  const e = this.value[this.value.length - 1];
1825
1797
  return this.value = this.value.slice(0, -1), e;
1826
1798
  }
@@ -1983,16 +1955,14 @@ class re {
1983
1955
  }
1984
1956
  /** Appends symbols considering flags */
1985
1957
  append(e, s, n) {
1986
- if (!$e(e))
1987
- throw new Error("value should be string");
1958
+ if (!$e(e)) throw new Error("value should be string");
1988
1959
  const r = $e(n) ? new we(String(n)) : n;
1989
1960
  s != null && s.tail && (s._beforeTailState = this.state);
1990
1961
  let a;
1991
1962
  [e, a] = this.doPrepare(e, s);
1992
1963
  for (let i = 0; i < e.length; ++i) {
1993
1964
  const l = this._appendChar(e[i], s, r);
1994
- if (!l.rawInserted && !this.doSkipInvalid(e[i], s, r))
1995
- break;
1965
+ if (!l.rawInserted && !this.doSkipInvalid(e[i], s, r)) break;
1996
1966
  a.aggregate(l);
1997
1967
  }
1998
1968
  return (this.eager === !0 || this.eager === "append") && s != null && s.input && e && a.aggregate(this._appendEager()), r != null && (a.tailShift += this.appendTail(r).tailShift), a;
@@ -2002,15 +1972,13 @@ class re {
2002
1972
  }
2003
1973
  /** Calls function and reapplies current value */
2004
1974
  withValueRefresh(e) {
2005
- if (this._refreshing || !this._initialized)
2006
- return e();
1975
+ if (this._refreshing || !this._initialized) return e();
2007
1976
  this._refreshing = !0;
2008
1977
  const s = this.rawInputValue, n = this.value, r = e();
2009
1978
  return this.rawInputValue = s, this.value && this.value !== n && n.indexOf(this.value) === 0 && (this.append(n.slice(this.displayValue.length), {}, ""), this.doCommit()), delete this._refreshing, r;
2010
1979
  }
2011
1980
  runIsolated(e) {
2012
- if (this._isolated || !this._initialized)
2013
- return e(this);
1981
+ if (this._isolated || !this._initialized) return e(this);
2014
1982
  this._isolated = !0;
2015
1983
  const s = this.state, n = e(this);
2016
1984
  return this.state = s, delete this._isolated, n;
@@ -2052,8 +2020,7 @@ class re {
2052
2020
  f.aggregate(new M({
2053
2021
  tailShift: -1
2054
2022
  })).aggregate(this.remove(_ - 1));
2055
- } else
2056
- r === S.FORCE_RIGHT && l.unshift();
2023
+ } else r === S.FORCE_RIGHT && l.unshift();
2057
2024
  return f.aggregate(this.append(n, a, l));
2058
2025
  }
2059
2026
  maskEquals(e) {
@@ -2084,8 +2051,7 @@ class qe {
2084
2051
  return this.chunks.map(String).join("");
2085
2052
  }
2086
2053
  extend(e) {
2087
- if (!String(e))
2088
- return;
2054
+ if (!String(e)) return;
2089
2055
  e = $e(e) ? new we(String(e)) : e;
2090
2056
  const s = this.chunks[this.chunks.length - 1], n = s && // if stops are same or tail has no stop
2091
2057
  (s.stop === e.stop || e.stop == null) && // if tail chunk goes just after last chunk
@@ -2143,37 +2109,31 @@ class qe {
2143
2109
  });
2144
2110
  }
2145
2111
  unshift(e) {
2146
- if (!this.chunks.length || e != null && this.from >= e)
2147
- return "";
2112
+ if (!this.chunks.length || e != null && this.from >= e) return "";
2148
2113
  const s = e != null ? e - this.from : e;
2149
2114
  let n = 0;
2150
2115
  for (; n < this.chunks.length; ) {
2151
2116
  const r = this.chunks[n], a = r.unshift(s);
2152
2117
  if (r.toString()) {
2153
- if (!a)
2154
- break;
2118
+ if (!a) break;
2155
2119
  ++n;
2156
2120
  } else
2157
2121
  this.chunks.splice(n, 1);
2158
- if (a)
2159
- return a;
2122
+ if (a) return a;
2160
2123
  }
2161
2124
  return "";
2162
2125
  }
2163
2126
  shift() {
2164
- if (!this.chunks.length)
2165
- return "";
2127
+ if (!this.chunks.length) return "";
2166
2128
  let e = this.chunks.length - 1;
2167
2129
  for (; 0 <= e; ) {
2168
2130
  const s = this.chunks[e], n = s.shift();
2169
2131
  if (s.toString()) {
2170
- if (!n)
2171
- break;
2132
+ if (!n) break;
2172
2133
  --e;
2173
2134
  } else
2174
2135
  this.chunks.splice(e, 1);
2175
- if (n)
2176
- return n;
2136
+ if (n) return n;
2177
2137
  }
2178
2138
  return "";
2179
2139
  }
@@ -2228,15 +2188,13 @@ class Pn {
2228
2188
  _pushLeft(e) {
2229
2189
  for (this.pushState(), this.bindBlock(); 0 <= this.index; --this.index, this.offset = ((s = this.block) == null ? void 0 : s.displayValue.length) || 0) {
2230
2190
  var s;
2231
- if (e())
2232
- return this.ok = !0;
2191
+ if (e()) return this.ok = !0;
2233
2192
  }
2234
2193
  return this.ok = !1;
2235
2194
  }
2236
2195
  _pushRight(e) {
2237
2196
  for (this.pushState(), this.bindBlock(); this.index < this.masked._blocks.length; ++this.index, this.offset = 0)
2238
- if (e())
2239
- return this.ok = !0;
2197
+ if (e()) return this.ok = !0;
2240
2198
  return this.ok = !1;
2241
2199
  }
2242
2200
  pushLeftBeforeFilled() {
@@ -2331,8 +2289,7 @@ class Es {
2331
2289
  return !!this._value;
2332
2290
  }
2333
2291
  _appendChar(e, s) {
2334
- if (s === void 0 && (s = {}), this.isFilled)
2335
- return new M();
2292
+ if (s === void 0 && (s = {}), this.isFilled) return new M();
2336
2293
  const n = this.eager === !0 || this.eager === "append", a = this.char === e && (this.isUnmasking || s.input || s.raw) && (!s.raw || !n) && !s.tail, i = new M({
2337
2294
  inserted: this.char,
2338
2295
  rawInserted: a ? this.char : ""
@@ -2423,8 +2380,7 @@ class dt {
2423
2380
  return !!this.masked.value || this.isOptional;
2424
2381
  }
2425
2382
  _appendChar(e, s) {
2426
- if (s === void 0 && (s = {}), this.isFilled)
2427
- return new M();
2383
+ if (s === void 0 && (s = {}), this.isFilled) return new M();
2428
2384
  const n = this.masked.state;
2429
2385
  let r = this.masked._appendChar(e, this.currentMaskFlags(s));
2430
2386
  return r.inserted && this.doValidate(s) === !1 && (r = new M(), this.masked.state = n), !r.inserted && !this.isOptional && !this.lazy && !s.input && (r.inserted = this.placeholderChar), r.skip = !r.inserted && !this.isOptional, this.isFilled = !!r.inserted, r;
@@ -2543,8 +2499,7 @@ class ae extends re {
2543
2499
  const e = this.definitions;
2544
2500
  this._blocks = [], this.exposeBlock = void 0, this._stops = [], this._maskedBlocks = {};
2545
2501
  const s = this.mask;
2546
- if (!s || !e)
2547
- return;
2502
+ if (!s || !e) return;
2548
2503
  let n = !1, r = !1;
2549
2504
  for (let a = 0; a < s.length; ++a) {
2550
2505
  if (this.blocks) {
@@ -2588,8 +2543,7 @@ class ae extends re {
2588
2543
  continue;
2589
2544
  }
2590
2545
  if (i === ae.ESCAPE_CHAR) {
2591
- if (++a, i = s[a], !i)
2592
- break;
2546
+ if (++a, i = s[a], !i) break;
2593
2547
  l = !1;
2594
2548
  }
2595
2549
  const u = l ? new dt({
@@ -2650,8 +2604,7 @@ class ae extends re {
2650
2604
  if (this.exposeBlock) {
2651
2605
  const s = this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock)) + this.exposeBlock.displayValue.length);
2652
2606
  this.exposeBlock.unmaskedValue = e, this.appendTail(s), this.doCommit();
2653
- } else
2654
- super.unmaskedValue = e;
2607
+ } else super.unmaskedValue = e;
2655
2608
  }
2656
2609
  get value() {
2657
2610
  return this.exposeBlock ? this.exposeBlock.value : (
@@ -2663,8 +2616,7 @@ class ae extends re {
2663
2616
  if (this.exposeBlock) {
2664
2617
  const s = this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock)) + this.exposeBlock.displayValue.length);
2665
2618
  this.exposeBlock.value = e, this.appendTail(s), this.doCommit();
2666
- } else
2667
- super.value = e;
2619
+ } else super.value = e;
2668
2620
  }
2669
2621
  get typedValue() {
2670
2622
  return this.exposeBlock ? this.exposeBlock.typedValue : super.typedValue;
@@ -2673,8 +2625,7 @@ class ae extends re {
2673
2625
  if (this.exposeBlock) {
2674
2626
  const s = this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock)) + this.exposeBlock.displayValue.length);
2675
2627
  this.exposeBlock.typedValue = e, this.appendTail(s), this.doCommit();
2676
- } else
2677
- super.typedValue = e;
2628
+ } else super.typedValue = e;
2678
2629
  }
2679
2630
  get displayValue() {
2680
2631
  return this._blocks.reduce((e, s) => e += s.displayValue, "");
@@ -2686,13 +2637,11 @@ class ae extends re {
2686
2637
  var e;
2687
2638
  const s = new M();
2688
2639
  let n = (e = this._mapPosToBlock(this.displayValue.length)) == null ? void 0 : e.index;
2689
- if (n == null)
2690
- return s;
2640
+ if (n == null) return s;
2691
2641
  this._blocks[n].isFilled && ++n;
2692
2642
  for (let r = n; r < this._blocks.length; ++r) {
2693
2643
  const a = this._blocks[r]._appendEager();
2694
- if (!a.inserted)
2695
- break;
2644
+ if (!a.inserted) break;
2696
2645
  s.aggregate(a);
2697
2646
  }
2698
2647
  return s;
@@ -2700,16 +2649,14 @@ class ae extends re {
2700
2649
  _appendCharRaw(e, s) {
2701
2650
  s === void 0 && (s = {});
2702
2651
  const n = this._mapPosToBlock(this.displayValue.length), r = new M();
2703
- if (!n)
2704
- return r;
2652
+ if (!n) return r;
2705
2653
  for (let i = n.index, l; l = this._blocks[i]; ++i) {
2706
2654
  var a;
2707
2655
  const u = l._appendChar(e, {
2708
2656
  ...s,
2709
2657
  _beforeTailState: (a = s._beforeTailState) == null || (a = a._blocks) == null ? void 0 : a[i]
2710
2658
  });
2711
- if (r.aggregate(u), u.consumed)
2712
- break;
2659
+ if (r.aggregate(u), u.consumed) break;
2713
2660
  }
2714
2661
  return r;
2715
2662
  }
@@ -2722,8 +2669,7 @@ class ae extends re {
2722
2669
  }), n;
2723
2670
  }
2724
2671
  extractInput(e, s, n) {
2725
- if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), n === void 0 && (n = {}), e === s)
2726
- return "";
2672
+ if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), n === void 0 && (n = {}), e === s) return "";
2727
2673
  let r = "";
2728
2674
  return this._forEachBlocksInRange(e, s, (a, i, l, u) => {
2729
2675
  r += a.extractInput(l, u, n);
@@ -2733,21 +2679,17 @@ class ae extends re {
2733
2679
  let s;
2734
2680
  for (let n = 0; n < this._stops.length; ++n) {
2735
2681
  const r = this._stops[n];
2736
- if (r <= e)
2737
- s = r;
2738
- else
2739
- break;
2682
+ if (r <= e) s = r;
2683
+ else break;
2740
2684
  }
2741
2685
  return s;
2742
2686
  }
2743
2687
  /** Appends placeholder depending on laziness */
2744
2688
  _appendPlaceholder(e) {
2745
2689
  const s = new M();
2746
- if (this.lazy && e == null)
2747
- return s;
2690
+ if (this.lazy && e == null) return s;
2748
2691
  const n = this._mapPosToBlock(this.displayValue.length);
2749
- if (!n)
2750
- return s;
2692
+ if (!n) return s;
2751
2693
  const r = n.index, a = e ?? this._blocks.length;
2752
2694
  return this._blocks.slice(r, a).forEach((i) => {
2753
2695
  if (!i.lazy || e != null) {
@@ -2791,20 +2733,17 @@ class ae extends re {
2791
2733
  }), n;
2792
2734
  }
2793
2735
  nearestInputPos(e, s) {
2794
- if (s === void 0 && (s = S.NONE), !this._blocks.length)
2795
- return 0;
2736
+ if (s === void 0 && (s = S.NONE), !this._blocks.length) return 0;
2796
2737
  const n = new Pn(this, e);
2797
2738
  if (s === S.NONE)
2798
2739
  return n.pushRightBeforeInput() || (n.popState(), n.pushLeftBeforeInput()) ? n.pos : this.displayValue.length;
2799
2740
  if (s === S.LEFT || s === S.FORCE_LEFT) {
2800
2741
  if (s === S.LEFT) {
2801
- if (n.pushRightBeforeFilled(), n.ok && n.pos === e)
2802
- return e;
2742
+ if (n.pushRightBeforeFilled(), n.ok && n.pos === e) return e;
2803
2743
  n.popState();
2804
2744
  }
2805
2745
  if (n.pushLeftBeforeInput(), n.pushLeftBeforeRequired(), n.pushLeftBeforeFilled(), s === S.LEFT) {
2806
- if (n.pushRightBeforeInput(), n.pushRightBeforeRequired(), n.ok && n.pos <= e || (n.popState(), n.ok && n.pos <= e))
2807
- return n.pos;
2746
+ if (n.pushRightBeforeInput(), n.pushRightBeforeRequired(), n.ok && n.pos <= e || (n.popState(), n.ok && n.pos <= e)) return n.pos;
2808
2747
  n.popState();
2809
2748
  }
2810
2749
  return n.ok ? n.pos : s === S.FORCE_LEFT ? 0 : (n.popState(), n.ok || (n.popState(), n.ok) ? n.pos : 0);
@@ -2869,8 +2808,7 @@ class it extends ae {
2869
2808
  this.to = s, this.from = n, this.maxLength = Math.max(String(s).length, r), this.autofix = a;
2870
2809
  const l = String(this.from).padStart(this.maxLength, "0"), u = String(this.to).padStart(this.maxLength, "0");
2871
2810
  let d = 0;
2872
- for (; d < u.length && u[d] === l[d]; )
2873
- ++d;
2811
+ for (; d < u.length && u[d] === l[d]; ) ++d;
2874
2812
  i.mask = u.slice(0, d).replace(/0/g, "\\0") + "0".repeat(this.maxLength - d), super._update(i);
2875
2813
  }
2876
2814
  get isComplete() {
@@ -2887,22 +2825,19 @@ class it extends ae {
2887
2825
  return [e, n] = super.doPrepareChar(e.replace(/\D/g, ""), s), e || (n.skip = !this.isComplete), [e, n];
2888
2826
  }
2889
2827
  _appendCharRaw(e, s) {
2890
- if (s === void 0 && (s = {}), !this.autofix || this.value.length + 1 > this.maxLength)
2891
- return super._appendCharRaw(e, s);
2828
+ if (s === void 0 && (s = {}), !this.autofix || this.value.length + 1 > this.maxLength) return super._appendCharRaw(e, s);
2892
2829
  const n = String(this.from).padStart(this.maxLength, "0"), r = String(this.to).padStart(this.maxLength, "0"), [a, i] = this.boundaries(this.value + e);
2893
2830
  return Number(i) < this.from ? super._appendCharRaw(n[this.value.length], s) : Number(a) > this.to ? !s.tail && this.autofix === "pad" && this.value.length + 1 < this.maxLength ? super._appendCharRaw(n[this.value.length], s).aggregate(this._appendCharRaw(e, s)) : super._appendCharRaw(r[this.value.length], s) : super._appendCharRaw(e, s);
2894
2831
  }
2895
2832
  doValidate(e) {
2896
2833
  const s = this.value;
2897
- if (s.search(/[^0]/) === -1 && s.length <= this._matchFrom)
2898
- return !0;
2834
+ if (s.search(/[^0]/) === -1 && s.length <= this._matchFrom) return !0;
2899
2835
  const [r, a] = this.boundaries(s);
2900
2836
  return this.from <= Number(a) && Number(r) <= this.to && super.doValidate(e);
2901
2837
  }
2902
2838
  pad(e) {
2903
2839
  const s = new M();
2904
- if (this.value.length === this.maxLength)
2905
- return s;
2840
+ if (this.value.length === this.maxLength) return s;
2906
2841
  const n = this.value, r = this.maxLength - this.value.length;
2907
2842
  if (r) {
2908
2843
  this.reset();
@@ -2914,6 +2849,7 @@ class it extends ae {
2914
2849
  }
2915
2850
  }
2916
2851
  D.MaskedRange = it;
2852
+ const Un = "d{.}`m{.}`Y";
2917
2853
  class De extends ae {
2918
2854
  static extractPatternOptions(e) {
2919
2855
  const {
@@ -3006,10 +2942,9 @@ De.GET_DEFAULT_BLOCKS = () => ({
3006
2942
  De.DEFAULTS = {
3007
2943
  ...ae.DEFAULTS,
3008
2944
  mask: Date,
3009
- pattern: "d{.}`m{.}`Y",
2945
+ pattern: Un,
3010
2946
  format: (t, e) => {
3011
- if (!t)
3012
- return "";
2947
+ if (!t) return "";
3013
2948
  const s = String(t.getDate()).padStart(2, "0"), n = String(t.getMonth() + 1).padStart(2, "0"), r = t.getFullYear();
3014
2949
  return [s, n, r].join(".");
3015
2950
  },
@@ -3202,8 +3137,7 @@ class gt extends re {
3202
3137
  }
3203
3138
  maskEquals(e) {
3204
3139
  return Array.isArray(e) ? this.compiledMasks.every((s, n) => {
3205
- if (!e[n])
3206
- return;
3140
+ if (!e[n]) return;
3207
3141
  const {
3208
3142
  mask: r,
3209
3143
  ...a
@@ -3219,8 +3153,7 @@ class gt extends re {
3219
3153
  gt.DEFAULTS = {
3220
3154
  ...re.DEFAULTS,
3221
3155
  dispatch: (t, e, s, n) => {
3222
- if (!e.compiledMasks.length)
3223
- return;
3156
+ if (!e.compiledMasks.length) return;
3224
3157
  const r = e.rawInputValue, a = e.compiledMasks.map((i, l) => {
3225
3158
  const u = e.currentMask === i, d = u ? i.displayValue.length : i.nearestInputPos(i.displayValue.length, S.FORCE_LEFT);
3226
3159
  return i.rawInputValue !== r ? (i.reset(), i.append(r, {
@@ -3275,8 +3208,7 @@ class mt extends ae {
3275
3208
  return e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), new we("", e);
3276
3209
  }
3277
3210
  remove(e, s) {
3278
- if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), e === s)
3279
- return new M();
3211
+ if (e === void 0 && (e = 0), s === void 0 && (s = this.displayValue.length), e === s) return new M();
3280
3212
  const n = Math.min(super.nearestInputPos(0, S.FORCE_RIGHT), this.value.length);
3281
3213
  let r;
3282
3214
  for (r = e; r >= 0 && !(this.enum.filter((l) => this.matchValue(l, this.value.slice(n, r), n)).length > 1); --r)
@@ -3293,7 +3225,7 @@ mt.DEFAULTS = {
3293
3225
  matchValue: (t, e, s) => t.indexOf(e, s) === s
3294
3226
  };
3295
3227
  D.MaskedEnum = mt;
3296
- class Un extends re {
3228
+ class zn extends re {
3297
3229
  /** */
3298
3230
  /** Enable characters overwriting */
3299
3231
  /** */
@@ -3309,7 +3241,7 @@ class Un extends re {
3309
3241
  });
3310
3242
  }
3311
3243
  }
3312
- D.MaskedFunction = Un;
3244
+ D.MaskedFunction = zn;
3313
3245
  var Ss;
3314
3246
  class he extends re {
3315
3247
  /** Single char */
@@ -3399,8 +3331,7 @@ class he extends re {
3399
3331
  _findSeparatorAround(e) {
3400
3332
  if (this.thousandsSeparator) {
3401
3333
  const s = e - this.thousandsSeparator.length + 1, n = this.value.indexOf(this.thousandsSeparator, s);
3402
- if (n <= e)
3403
- return n;
3334
+ if (n <= e) return n;
3404
3335
  }
3405
3336
  return -1;
3406
3337
  }
@@ -3420,8 +3351,7 @@ class he extends re {
3420
3351
  });
3421
3352
  }
3422
3353
  nearestInputPos(e, s) {
3423
- if (!this.thousandsSeparator)
3424
- return e;
3354
+ if (!this.thousandsSeparator) return e;
3425
3355
  switch (s) {
3426
3356
  case S.NONE:
3427
3357
  case S.LEFT:
@@ -3458,8 +3388,7 @@ class he extends re {
3458
3388
  return s[0] = s[0].replace(/^(\D*)(0*)(\d*)/, (n, r, a, i) => r + i), e.length && !/\d$/.test(s[0]) && (s[0] = s[0] + "0"), s.length > 1 && (s[1] = s[1].replace(/0*$/, ""), s[1].length || (s.length = 1)), this._insertThousandsSeparators(s.join(this.radix));
3459
3389
  }
3460
3390
  _padFractionalZeros(e) {
3461
- if (!e)
3462
- return e;
3391
+ if (!e) return e;
3463
3392
  const s = e.split(this.radix);
3464
3393
  return s.length < 2 && s.push(""), s[1] = s[1].padEnd(this.scale, "0"), s.join(this.radix);
3465
3394
  }
@@ -3528,13 +3457,13 @@ function Cs(t, e, s) {
3528
3457
  const n = Ie(t);
3529
3458
  return (r) => n.runIsolated((a) => (a[e] = r, a[s]));
3530
3459
  }
3531
- function zn(t, e, s, n) {
3460
+ function Hn(t, e, s, n) {
3532
3461
  return Cs(e, s, n)(t);
3533
3462
  }
3534
3463
  D.PIPE_TYPE = Ot;
3535
3464
  D.createPipe = Cs;
3536
- D.pipe = zn;
3537
- class Hn extends ae {
3465
+ D.pipe = Hn;
3466
+ class Wn extends ae {
3538
3467
  get repeatFrom() {
3539
3468
  var e;
3540
3469
  return (e = Array.isArray(this.repeat) ? this.repeat[0] : this.repeat === 1 / 0 ? 0 : this.repeat) != null ? e : 0;
@@ -3571,8 +3500,7 @@ class Hn extends ae {
3571
3500
  });
3572
3501
  }
3573
3502
  _allocateBlock(e) {
3574
- if (e < this._blocks.length)
3575
- return this._blocks[e];
3503
+ if (e < this._blocks.length) return this._blocks[e];
3576
3504
  if (this.repeatTo === 1 / 0 || this._blocks.length < this.repeatTo)
3577
3505
  return this._blocks.push(Ie(this._blockOpts)), this.mask += "m", this._blocks[this._blocks.length - 1];
3578
3506
  }
@@ -3595,8 +3523,7 @@ class Hn extends ae {
3595
3523
  this._blocks.pop(), this.mask = this.mask.slice(1);
3596
3524
  break;
3597
3525
  }
3598
- if (n.aggregate(f), f.consumed)
3599
- break;
3526
+ if (n.aggregate(f), f.consumed) break;
3600
3527
  }
3601
3528
  return n;
3602
3529
  }
@@ -3629,7 +3556,7 @@ class Hn extends ae {
3629
3556
  this._blocks.length = e._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = e;
3630
3557
  }
3631
3558
  }
3632
- D.RepeatBlock = Hn;
3559
+ D.RepeatBlock = Wn;
3633
3560
  try {
3634
3561
  globalThis.IMask = D;
3635
3562
  } catch {
@@ -3681,8 +3608,8 @@ const xs = {
3681
3608
  inputRef: o.oneOfType([o.func, o.shape({
3682
3609
  current: o.object
3683
3610
  })])
3684
- }, ws = Object.keys(xs).filter((t) => t !== "value"), Wn = ["value", "unmask", "onAccept", "onComplete", "inputRef"], Yn = ws.filter((t) => Wn.indexOf(t) < 0);
3685
- function Xn(t) {
3611
+ }, ws = Object.keys(xs).filter((t) => t !== "value"), Yn = ["value", "unmask", "onAccept", "onComplete", "inputRef"], Xn = ws.filter((t) => Yn.indexOf(t) < 0);
3612
+ function Kn(t) {
3686
3613
  var e;
3687
3614
  const s = (e = class extends ke.Component {
3688
3615
  constructor(a) {
@@ -3716,7 +3643,7 @@ function Xn(t) {
3716
3643
  const {
3717
3644
  ...i
3718
3645
  } = a;
3719
- return Object.keys(i).filter((l) => Yn.indexOf(l) < 0).forEach((l) => {
3646
+ return Object.keys(i).filter((l) => Xn.indexOf(l) < 0).forEach((l) => {
3720
3647
  delete i[l];
3721
3648
  }), i;
3722
3649
  }
@@ -3752,7 +3679,7 @@ function Xn(t) {
3752
3679
  ref: a
3753
3680
  }));
3754
3681
  }
3755
- const Kn = Xn((t) => {
3682
+ const Gn = Kn((t) => {
3756
3683
  let {
3757
3684
  inputRef: e,
3758
3685
  ...s
@@ -3761,12 +3688,12 @@ const Kn = Xn((t) => {
3761
3688
  ...s,
3762
3689
  ref: e
3763
3690
  });
3764
- }), Gn = (t, e) => ke.createElement(Kn, {
3691
+ }), Zn = (t, e) => ke.createElement(Gn, {
3765
3692
  ...t,
3766
3693
  ref: e
3767
3694
  });
3768
- ke.forwardRef(Gn);
3769
- function Zn(t, e) {
3695
+ ke.forwardRef(Zn);
3696
+ function Qn(t, e) {
3770
3697
  let {
3771
3698
  onAccept: s,
3772
3699
  onComplete: n,
@@ -3809,13 +3736,11 @@ function Zn(t, e) {
3809
3736
  !N || v === void 0 || (p !== v && (N.typedValue = v, N.masked.typedValueEquals(v) || A()), h(x));
3810
3737
  }, [v]), Q(() => {
3811
3738
  const p = r.current;
3812
- if (!p || !(t != null && t.mask))
3813
- return F();
3739
+ if (!p || !(t != null && t.mask)) return F();
3814
3740
  const x = u.current;
3815
3741
  x ? x == null || x.updateOptions(t) : p && t != null && t.mask && (u.current = D(p, t), j(), a !== void 0 && _(a), i !== void 0 && E(i), l !== void 0 && m(l));
3816
3742
  }, [t, F, A]), Q(() => {
3817
- if (!u.current)
3818
- return;
3743
+ if (!u.current) return;
3819
3744
  const p = u.current;
3820
3745
  return p.on("accept", A), p.on("complete", C), () => {
3821
3746
  p.off("accept", A), p.off("complete", C);
@@ -4149,7 +4074,7 @@ const et = ke.forwardRef(
4149
4074
  min: u,
4150
4075
  max: d,
4151
4076
  lazy: !0
4152
- } : { mask: C || "", min: u, max: d, lazy: !0 }, [C]), { ref: ve, setUnmaskedValue: Te } = Zn(
4077
+ } : { mask: C || "", min: u, max: d, lazy: !0 }, [C]), { ref: ve, setUnmaskedValue: Te } = Qn(
4153
4078
  oe,
4154
4079
  {
4155
4080
  onAccept: Ve
@@ -4910,7 +4835,7 @@ const xt = {
4910
4835
  options: Object.values(Gs)
4911
4836
  }
4912
4837
  }
4913
- }, Qn = ({
4838
+ }, Jn = ({
4914
4839
  children: t,
4915
4840
  className: e,
4916
4841
  testId: s = "ds-subtitle-test",
@@ -4926,7 +4851,7 @@ const xt = {
4926
4851
  }
4927
4852
  );
4928
4853
  };
4929
- Qn.displayName = "DsSubtitle";
4854
+ Jn.displayName = "DsSubtitle";
4930
4855
  var Zs = /* @__PURE__ */ ((t) => (t.Small = "small", t.Medium = "medium", t.Large = "large", t))(Zs || {}), Qs = /* @__PURE__ */ ((t) => (t.Text = "text", t))(Qs || {}), Js = /* @__PURE__ */ ((t) => (t.None = "", t.Error = "error", t.Success = "success", t))(Js || {}), en = /* @__PURE__ */ ((t) => (t.None = "none", t.Both = "both", t.Horizontal = "horizontal", t.Vertical = "vertical", t.Block = "block", t.Inline = "inline", t))(en || {});
4931
4856
  const se = {
4932
4857
  name: "TextArea",
@@ -5227,7 +5152,7 @@ function es() {
5227
5152
  height: e
5228
5153
  };
5229
5154
  }
5230
- function Jn() {
5155
+ function er() {
5231
5156
  const [t, e] = P(
5232
5157
  es()
5233
5158
  );
@@ -5253,7 +5178,7 @@ const nn = ({
5253
5178
  (A) => A === a
5254
5179
  ) ? `${ee.class}--h-${a}` : null, _ = i && ee.props.verticalAlign.options.find(
5255
5180
  (A) => A === i
5256
- ) ? `${ee.class}--v-${i}` : null, { width: y } = Jn(), [E, v] = P("auto");
5181
+ ) ? `${ee.class}--v-${i}` : null, { width: y } = er(), [E, v] = P("auto");
5257
5182
  Q(() => {
5258
5183
  y <= 768 ? v("6") : v("12");
5259
5184
  }, [y]);
@@ -5296,7 +5221,7 @@ nn.propTypes = {
5296
5221
  verticalAlign: o.oneOf(ee.props.verticalAlign.options)
5297
5222
  };
5298
5223
  nn.displayName = "DsGridLayout";
5299
- const ts = () => typeof window < "u" && window.innerWidth ? window.innerWidth : 0, er = ({ children: t, grid: e }) => {
5224
+ const ts = () => typeof window < "u" && window.innerWidth ? window.innerWidth : 0, tr = ({ children: t, grid: e }) => {
5300
5225
  const { row: s, col: n, mobileRow: r, mobileCol: a } = e, [i, l] = P(ts());
5301
5226
  Q(() => {
5302
5227
  const d = () => {
@@ -5314,8 +5239,8 @@ const ts = () => typeof window < "u" && window.innerWidth ? window.innerWidth :
5314
5239
  }, [i, s, n, r, a]);
5315
5240
  return /* @__PURE__ */ c("div", { style: u, children: t });
5316
5241
  };
5317
- er.displayName = "DsGridElement";
5318
- const fr = {
5242
+ tr.displayName = "DsGridElement";
5243
+ const gr = {
5319
5244
  name: "Grid-Element",
5320
5245
  class: "ds-grid-element",
5321
5246
  props: {
@@ -5504,7 +5429,7 @@ rn.propTypes = {
5504
5429
  activeItem: o.number
5505
5430
  };
5506
5431
  rn.displayName = "DsAccordion";
5507
- const tr = ({
5432
+ const sr = ({
5508
5433
  title: t,
5509
5434
  activeTags: e,
5510
5435
  handleTagClose: s
@@ -5549,8 +5474,8 @@ const tr = ({
5549
5474
  `ds-tooltip-key-${n.id}-${n.text}`
5550
5475
  )) })
5551
5476
  ] }) });
5552
- tr.displayName = "DsActiveTags";
5553
- const gr = {
5477
+ sr.displayName = "DsActiveTags";
5478
+ const mr = {
5554
5479
  name: "ActiveTags",
5555
5480
  class: "ds-active-tags",
5556
5481
  props: {
@@ -5572,7 +5497,7 @@ const gr = {
5572
5497
  name: "Carousel",
5573
5498
  class: "ds-carousel",
5574
5499
  props: {}
5575
- }, sr = ({
5500
+ }, nr = ({
5576
5501
  slides: t,
5577
5502
  interval: e = 3e3,
5578
5503
  imageHeight: s = 100,
@@ -5623,7 +5548,7 @@ const gr = {
5623
5548
  }
5624
5549
  ),
5625
5550
  /* @__PURE__ */ c(ge, { vertical: "xxs" }),
5626
- /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Nt, { className: "color__primary--default", type: "heading-4", children: t[i].title }) }),
5551
+ /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Nt, { className: "color__primary", type: "heading-4", children: t[i].title }) }),
5627
5552
  /* @__PURE__ */ c("div", { children: /* @__PURE__ */ c(Re, { type: "large", children: t[i].description }) }),
5628
5553
  /* @__PURE__ */ c(ge, { vertical: "xxs" }),
5629
5554
  /* @__PURE__ */ c("div", { className: `${We.class}__dots`, children: /* @__PURE__ */ c("div", { className: `${We.class}__dots-wrapper`, children: t.map((y, E) => /* @__PURE__ */ c(
@@ -5639,7 +5564,7 @@ const gr = {
5639
5564
  }
5640
5565
  );
5641
5566
  };
5642
- sr.propTypes = {
5567
+ nr.propTypes = {
5643
5568
  slides: o.arrayOf(
5644
5569
  o.shape({
5645
5570
  title: o.string.isRequired,
@@ -5732,7 +5657,7 @@ const X = {
5732
5657
  }
5733
5658
  }
5734
5659
  }
5735
- }, nr = ({
5660
+ }, rr = ({
5736
5661
  label: t = X.props.label.default,
5737
5662
  name: e = X.props.name.default,
5738
5663
  testId: s = X.props.testId.default,
@@ -5822,7 +5747,7 @@ const X = {
5822
5747
  )
5823
5748
  ] });
5824
5749
  };
5825
- nr.displayName = "DsEditableSelect";
5750
+ rr.displayName = "DsEditableSelect";
5826
5751
  const Ye = {
5827
5752
  name: "DsIndicator",
5828
5753
  class: "ds-indicator",
@@ -5836,7 +5761,7 @@ const Ye = {
5836
5761
  required: !0
5837
5762
  }
5838
5763
  }
5839
- }, mr = ({
5764
+ }, vr = ({
5840
5765
  length: t,
5841
5766
  current: e = Ye.props.current.default
5842
5767
  }) => {
@@ -5857,7 +5782,7 @@ const Ye = {
5857
5782
  )
5858
5783
  );
5859
5784
  return /* @__PURE__ */ c("div", { className: Ye.class, children: a });
5860
- }, rr = {
5785
+ }, ar = {
5861
5786
  name: "DsInlineEditable",
5862
5787
  class: "ds-inline-editable",
5863
5788
  props: {
@@ -5916,7 +5841,7 @@ const Ye = {
5916
5841
  var m;
5917
5842
  await d(!0), (m = l.current) == null || m.focus();
5918
5843
  };
5919
- return /* @__PURE__ */ c("div", { className: rr.class, children: u ? /* @__PURE__ */ c(
5844
+ return /* @__PURE__ */ c("div", { className: ar.class, children: u ? /* @__PURE__ */ c(
5920
5845
  "input",
5921
5846
  {
5922
5847
  className: "ds-input__input",
@@ -5951,7 +5876,7 @@ on.propTypes = {
5951
5876
  value: o.string
5952
5877
  };
5953
5878
  on.displayName = "DsInlineEditable";
5954
- var ar = /* @__PURE__ */ ((t) => (t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(ar || {}), ln = /* @__PURE__ */ ((t) => (t.Squared = "squared", t.Rounded = "rounded", t))(ln || {});
5879
+ var ir = /* @__PURE__ */ ((t) => (t[t.Elevation1 = 1] = "Elevation1", t[t.Elevation2 = 2] = "Elevation2", t[t.Elevation3 = 3] = "Elevation3", t[t.Elevation4 = 4] = "Elevation4", t))(ir || {}), ln = /* @__PURE__ */ ((t) => (t.Squared = "squared", t.Rounded = "rounded", t))(ln || {});
5955
5880
  const fe = {
5956
5881
  name: "Modal",
5957
5882
  class: "ds-modal",
@@ -6390,7 +6315,7 @@ const ye = {
6390
6315
  default: 0
6391
6316
  }
6392
6317
  }
6393
- }, ir = ({
6318
+ }, or = ({
6394
6319
  steps: t,
6395
6320
  selectedStep: e = ye.props.selectedStep.default,
6396
6321
  onChange: s
@@ -6448,7 +6373,7 @@ const ye = {
6448
6373
  )) })
6449
6374
  ] });
6450
6375
  };
6451
- ir.displayName = "DsStepper";
6376
+ or.displayName = "DsStepper";
6452
6377
  const Ce = {
6453
6378
  name: "Table",
6454
6379
  class: "ds-table",
@@ -6481,7 +6406,7 @@ const Ce = {
6481
6406
  ) }, n);
6482
6407
  }) });
6483
6408
  gn.displayName = "DsTableRow";
6484
- const or = ({ columns: t, data: e, className: s }) => /* @__PURE__ */ c("div", { className: `${Ce.class}__wrapper`, children: /* @__PURE__ */ I(
6409
+ const lr = ({ columns: t, data: e, className: s }) => /* @__PURE__ */ c("div", { className: `${Ce.class}__wrapper`, children: /* @__PURE__ */ I(
6485
6410
  "table",
6486
6411
  {
6487
6412
  className: [`${Ce.class}`, s].filter((n) => n).join(" "),
@@ -6500,7 +6425,7 @@ const or = ({ columns: t, data: e, className: s }) => /* @__PURE__ */ c("div", {
6500
6425
  ]
6501
6426
  }
6502
6427
  ) });
6503
- or.displayName = "DsTable";
6428
+ lr.displayName = "DsTable";
6504
6429
  var mn = /* @__PURE__ */ ((t) => (t.None = "", t.Primary = "primary", t.Secondary = "secondary", t.Neutral = "neutral", t.Success = "success", t.Warning = "warning", t.Danger = "danger", t.Info = "info", t))(mn || {});
6505
6430
  const Be = {
6506
6431
  name: "DsTabs",
@@ -6529,7 +6454,7 @@ const Be = {
6529
6454
  }
6530
6455
  }
6531
6456
  }
6532
- }, lr = ({
6457
+ }, ur = ({
6533
6458
  active: t,
6534
6459
  className: e,
6535
6460
  color: s,
@@ -6558,7 +6483,7 @@ const Be = {
6558
6483
  children: i
6559
6484
  }
6560
6485
  );
6561
- }, vr = ({
6486
+ }, _r = ({
6562
6487
  tabs: t,
6563
6488
  color: e,
6564
6489
  selectedTab: s = Be.props.selectedTab.default,
@@ -6575,7 +6500,7 @@ const Be = {
6575
6500
  "data-testid": "ds-tabs",
6576
6501
  children: [
6577
6502
  /* @__PURE__ */ c("div", { className: `${Be.class}__header`, children: t.map((u, d) => /* @__PURE__ */ bn(
6578
- lr,
6503
+ ur,
6579
6504
  {
6580
6505
  ...u,
6581
6506
  active: a === d,
@@ -6590,10 +6515,10 @@ const Be = {
6590
6515
  }
6591
6516
  );
6592
6517
  };
6593
- function ur({ library: t, children: e, theme: s }) {
6518
+ function cr({ library: t, children: e, theme: s }) {
6594
6519
  return /* @__PURE__ */ c("div", { "data-library": t, "data-theme": s, children: /* @__PURE__ */ c("div", { className: "ds-theme", children: e }) });
6595
6520
  }
6596
- ur.propTypes = {
6521
+ cr.propTypes = {
6597
6522
  library: o.string,
6598
6523
  children: o.node.isRequired,
6599
6524
  theme: o.string
@@ -6659,10 +6584,8 @@ _n.propTypes = {
6659
6584
  };
6660
6585
  _n.displayName = "DsNotificationList";
6661
6586
  const Xe = {
6662
- name: "SplitLayout",
6663
- class: "ds-split-layout",
6664
- props: {}
6665
- }, cr = ({
6587
+ class: "ds-split-layout"
6588
+ }, dr = ({
6666
6589
  leftContent: t,
6667
6590
  rightContent: e,
6668
6591
  leftBackgroundColor: s,
@@ -6675,7 +6598,7 @@ const Xe = {
6675
6598
  /* @__PURE__ */ c("div", { className: h, children: e })
6676
6599
  ] });
6677
6600
  };
6678
- cr.displayName = "DsSplitLayout";
6601
+ dr.displayName = "DsSplitLayout";
6679
6602
  const at = {
6680
6603
  name: "TwoColumns",
6681
6604
  class: "ds-two-columns",
@@ -6721,22 +6644,22 @@ export {
6721
6644
  Bn as CardElevation,
6722
6645
  rn as DsAccordion,
6723
6646
  Vt as DsAccordionItem,
6724
- tr as DsActiveTags,
6647
+ sr as DsActiveTags,
6725
6648
  ut as DsButton,
6726
6649
  ps as DsCaption,
6727
6650
  hs as DsCard,
6728
- sr as DsCarousel,
6651
+ nr as DsCarousel,
6729
6652
  fs as DsCheckbox,
6730
6653
  Mt as DsContainer,
6731
- nr as DsEditableSelect,
6654
+ rr as DsEditableSelect,
6732
6655
  ne as DsFlexElement,
6733
6656
  Me as DsFlexLayout,
6734
- er as DsGridElement,
6657
+ tr as DsGridElement,
6735
6658
  nn as DsGridLayout,
6736
6659
  _s as DsHR,
6737
6660
  Nt as DsHeading,
6738
6661
  G as DsIcon,
6739
- mr as DsIndicator,
6662
+ vr as DsIndicator,
6740
6663
  on as DsInlineEditable,
6741
6664
  et as DsInput,
6742
6665
  $t as DsLoading,
@@ -6749,11 +6672,11 @@ export {
6749
6672
  zs as DsProgress,
6750
6673
  Ks as DsSelect,
6751
6674
  ge as DsSpacer,
6752
- cr as DsSplitLayout,
6753
- ir as DsStepper,
6754
- Qn as DsSubtitle,
6755
- or as DsTable,
6756
- vr as DsTabs,
6675
+ dr as DsSplitLayout,
6676
+ or as DsStepper,
6677
+ Jn as DsSubtitle,
6678
+ lr as DsTable,
6679
+ _r as DsTabs,
6757
6680
  tn as DsTextArea,
6758
6681
  He as DsTooltip,
6759
6682
  yn as DsTwoColumns,
@@ -6780,7 +6703,7 @@ export {
6780
6703
  As as InputType,
6781
6704
  Bs as LoadingBackgroundColor,
6782
6705
  Ns as LoadingSize,
6783
- ar as ModalElevation,
6706
+ ir as ModalElevation,
6784
6707
  ln as ModalVariant,
6785
6708
  vn as NotificationListPosition,
6786
6709
  cn as NotificationType,
@@ -6798,13 +6721,13 @@ export {
6798
6721
  Zs as TextAreaSize,
6799
6722
  Js as TextAreaStatus,
6800
6723
  Qs as TextAreaType,
6801
- ur as ThemeProvider,
6724
+ cr as ThemeProvider,
6802
6725
  Rs as TooltipPlacement,
6803
6726
  Is as TooltipPosition,
6804
6727
  ze as WrapperSpace,
6805
6728
  wt as accordionConfig,
6806
6729
  Ue as accordionItemConfig,
6807
- gr as activeTagsConfig,
6730
+ mr as activeTagsConfig,
6808
6731
  Y as buttonConfig,
6809
6732
  Nn as captionConfig,
6810
6733
  Oe as cardConfig,
@@ -6814,13 +6737,13 @@ export {
6814
6737
  X as editableSelectConfig,
6815
6738
  Ct as flexElementConfig,
6816
6739
  Le as flexLayoutConfig,
6817
- fr as gridElementConfig,
6740
+ gr as gridElementConfig,
6818
6741
  ee as gridLayoutConfig,
6819
6742
  Ke as headingConfig,
6820
6743
  Pe as horizontalRuleConfig,
6821
6744
  pe as iconConfig,
6822
6745
  Ye as indicatorConfig,
6823
- rr as inlineEditableConfig,
6746
+ ar as inlineEditableConfig,
6824
6747
  K as inputConfig,
6825
6748
  de as loadingConfig,
6826
6749
  fe as modalConfig,