@stihl-design-system/components 1.0.0-RC.25 → 1.0.0-RC.27

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 (164) hide show
  1. package/{accordion.Dw3qTPN8.js → accordion.CBaDU14g.js} +2 -2
  2. package/{actionbutton.wYg4A5a2.js → actionbutton.DEJsLxnQ.js} +2 -2
  3. package/{actionlink.BoWrs0Mo.js → actionlink.Cs6BTCA3.js} +2 -2
  4. package/{arialiveregions.DVsA5OTR.js → arialiveregions.Fgcshs5k.js} +1 -1
  5. package/assets/ActionButton.Ewi0i1hW.css +1 -0
  6. package/assets/ActionLink.BdPEvuGm.css +1 -0
  7. package/assets/CustomReactSelect.B9f_KYFg.css +1 -0
  8. package/assets/Icon.QeJ7TxZs.css +1 -0
  9. package/assets/InputFile.Dqjz53mb.css +1 -0
  10. package/assets/InputPassword.BuVQ9dRy.css +1 -0
  11. package/assets/InputSearch.Dwtb3Mhw.css +1 -0
  12. package/assets/InputStepper.CBt99L83.css +1 -0
  13. package/assets/Popover.BDTDsPAt.css +1 -0
  14. package/assets/Select.CghDnBUQ.css +1 -0
  15. package/assets/Textarea.BgtH-TTe.css +1 -0
  16. package/assets/banner.D9EiZqqR.css +1 -0
  17. package/assets/input.DFwunFjw.css +1 -0
  18. package/assets/radio.BCB51D_y.css +1 -0
  19. package/assets/scroller.Hszs1Yq4.css +1 -0
  20. package/banner.CgQdUb_c.js +55 -0
  21. package/banner.d.ts +2 -0
  22. package/{breadcrumb.C07HDyGp.js → breadcrumb.x78HJy5P.js} +3 -3
  23. package/{button.BBqDvwVm.js → button.BD_04tIG.js} +3 -3
  24. package/{buttonround.Vy1EygFm.js → buttonround.BT3OfowK.js} +2 -2
  25. package/{checkbox.CvWI1Jrx.js → checkbox.BktYXQmJ.js} +3 -3
  26. package/{checkboxgroup.BLpSLo9t.js → checkboxgroup.YK8H0YoX.js} +2 -2
  27. package/{chip.BsDriMfL.js → chip.BKtNbt4y.js} +2 -2
  28. package/chipgroup.BWpqUzXF.js +209 -0
  29. package/chunks/{Accordion.Cjc_1Bu1.js → Accordion.eVOD7J_8.js} +2 -2
  30. package/chunks/ActionButton.Ck1rGqgm.js +165 -0
  31. package/chunks/ActionLink.DnUNjoAT.js +138 -0
  32. package/chunks/{AriaLiveRegions.utils.zSFFD3SF.js → AriaLiveRegions.utils.Cb327d_2.js} +1 -1
  33. package/chunks/{Breadcrumb.QhD6byzd.js → Breadcrumb.B7g30dIO.js} +3 -3
  34. package/chunks/{Button.DZNUuPKC.js → Button.CC0qEsuR.js} +4 -4
  35. package/chunks/{Checkbox.Ch8DBzws.js → Checkbox.BIQAKBVy.js} +3 -3
  36. package/chunks/{CheckboxGroup.C8D6tjVI.js → CheckboxGroup.DHzpgOWp.js} +3 -3
  37. package/chunks/{Chip.CHy8cZJz.js → Chip.DifLxHH7.js} +3 -3
  38. package/chunks/{CustomReactSelect.hdDSE0ON.js → CustomReactSelect.BPnzhvw1.js} +1356 -1593
  39. package/chunks/{Dialog.DPeGj8-T.js → Dialog.BuEEJ199.js} +2 -2
  40. package/chunks/{Drawer.BMibxANc.js → Drawer.BXUGmpJI.js} +2 -2
  41. package/chunks/{Fieldset.DHccz6TP.js → Fieldset.BX46NuLh.js} +2 -2
  42. package/chunks/Header.Djs1adPW.js +361 -0
  43. package/chunks/{Icon.CAXZUNWo.js → Icon.C0161Glk.js} +70 -67
  44. package/chunks/{Input.utils.CCYTBWD_.js → Input.utils.Cnnzvuk4.js} +1 -1
  45. package/chunks/{InputFile.fltVIulD.js → InputFile.vkkg5Pab.js} +32 -32
  46. package/chunks/InputPassword.D42uUEGy.js +136 -0
  47. package/chunks/InputSearch.aIbUXVQU.js +174 -0
  48. package/chunks/InputStepper.DFEdUWm7.js +263 -0
  49. package/chunks/{LinkButton.DyTU9sfN.js → LinkButton.DmXVHeyZ.js} +3 -3
  50. package/chunks/{NavigationTabList.D2NVVTjK.js → NavigationTabList.IQM074Vb.js} +1 -1
  51. package/chunks/{NavigationTabs.TfdsA8GX.js → NavigationTabs.BofhX8bD.js} +2 -2
  52. package/chunks/{Notification.BRg1qlng.js → Notification.B-3dPVUE.js} +2 -2
  53. package/chunks/Popover.hXQTvwwd.js +1685 -0
  54. package/chunks/{RadioGroup.D9mECdMK.js → RadioGroup.c7YYJdUe.js} +3 -3
  55. package/chunks/{Select.DCxMPsCm.js → Select.B_EHpk22.js} +25 -25
  56. package/chunks/{Slider.Cljc14kS.js → Slider.DMSwmGwD.js} +2 -2
  57. package/chunks/{Tabs.GvcCCCFT.js → Tabs.Bl4K3Kjn.js} +2 -2
  58. package/chunks/{Text.TS4XdA9e.js → Text.DGWeWF1y.js} +1 -1
  59. package/chunks/{Textarea.Bs4-nzu8.js → Textarea.Ce26v6ht.js} +54 -54
  60. package/chunks/{Toast.DawJ9OSY.js → Toast.BHz0vlGz.js} +2 -2
  61. package/chunks/floating-ui.dom.C9TD1WpB.js +950 -0
  62. package/chunks/helpers.BbWkXTr3.js +37 -0
  63. package/chunks/is-animation-disabled.CUl4N3LI.js +20 -0
  64. package/{combobox.DW_ey38o.js → combobox.AaK6QjRl.js} +1 -1
  65. package/components/ActionButton/ActionButton.d.ts +9 -5
  66. package/components/ActionButton/ActionButton.utils.d.ts +4 -2
  67. package/components/ActionLink/ActionLink.d.ts +9 -5
  68. package/components/ActionLink/ActionLink.utils.d.ts +4 -2
  69. package/components/Banner/Banner.d.ts +32 -0
  70. package/components/Banner/Banner.utils.d.ts +2 -0
  71. package/components/Button/Button.utils.d.ts +1 -1
  72. package/components/Header/Header.utils.d.ts +0 -2
  73. package/components/Icon/Icon.d.ts +1 -1
  74. package/components/Icon/Icon.utils.d.ts +1 -1
  75. package/components/Popover/Popover.d.ts +40 -0
  76. package/components/Popover/Popover.test.d.ts +1 -0
  77. package/components/Popover/Popover.utils.d.ts +53 -0
  78. package/components/Popover/Popover.utils.test.d.ts +1 -0
  79. package/components/Scroller/Scroller.d.ts +20 -0
  80. package/components/Scroller/Scroller.utils.d.ts +3 -0
  81. package/components/Tabs/TabList/TabList.d.ts +1 -1
  82. package/components/Tabs/TabList/TabList.utils.d.ts +0 -4
  83. package/connected-icon.svg +1 -0
  84. package/{customreactselect.DcH7h1mb.js → customreactselect.Bu1i8wkh.js} +4 -4
  85. package/{dialog.D6d_WXOM.js → dialog.CGsUCqhR.js} +2 -2
  86. package/{drawer.BmQWFOuF.js → drawer.BcAo4TO0.js} +2 -2
  87. package/{fieldset.D6q9YXrO.js → fieldset.DM9ELUJa.js} +2 -2
  88. package/{filelist.Dnd5nOdw.js → filelist.Cj9U-Jx8.js} +3 -3
  89. package/{flag.BR312AU-.js → flag.BHaAfp6B.js} +1 -1
  90. package/{floatingactionbutton.Do6eNSHq.js → floatingactionbutton.DSZXUHB_.js} +2 -2
  91. package/{header.5iwPmK5V.js → header.WhQHSuB1.js} +2 -2
  92. package/{icon.HkVs68n_.js → icon.DwfGhFCd.js} +1 -1
  93. package/icon.svg +1 -1
  94. package/imow-icon.svg +1 -0
  95. package/index.d.ts +6 -0
  96. package/index.es.js +201 -188
  97. package/{input.mPceLGnf.js → input.DhxUW3zc.js} +37 -37
  98. package/{inputfile.CIpE9i-3.js → inputfile.Cmkxf4Vq.js} +6 -6
  99. package/{inputpassword.DkiyI-yo.js → inputpassword.CaJBCMA0.js} +3 -3
  100. package/{inputsearch.DcOp_VUd.js → inputsearch.B06DhYzo.js} +4 -4
  101. package/{inputstepper.D7TpDXst.js → inputstepper.DNY7nzP8.js} +4 -4
  102. package/{link.B5NZ1QKr.js → link.DGuYGfh2.js} +2 -2
  103. package/{linkbutton.CMVcQVxI.js → linkbutton.B3q0B_yb.js} +3 -3
  104. package/{logo.B9taqlZR.js → logo.C96KaG1P.js} +1 -1
  105. package/mystihl-icon.svg +1 -0
  106. package/{navigationtablist.BMJTC9qo.js → navigationtablist.CS9yEGdP.js} +2 -2
  107. package/{navigationtabs.BQeKKIFy.js → navigationtabs.DQ1kE-h4.js} +2 -2
  108. package/{notification.Bzli8Qlq.js → notification.D8BDaU5x.js} +3 -3
  109. package/{optioncheckbox.DYKRBTy0.js → optioncheckbox.CEEPAq0u.js} +1 -1
  110. package/package.json +4 -2
  111. package/partials/assets.const.js +2 -0
  112. package/partials/copyAssets.js +4 -2
  113. package/partials/index.js +109 -81
  114. package/partials/lib/partials.d.ts +1 -1
  115. package/popover.BFx99cHg.js +10 -0
  116. package/popover.d.ts +2 -0
  117. package/radio.Be4pFOLf.js +134 -0
  118. package/{radiogroup.BnMkpjvV.js → radiogroup.BRjwP01C.js} +3 -3
  119. package/scroller.CCA6kFR6.js +123 -0
  120. package/scroller.d.ts +2 -0
  121. package/{select.BSvjDIVC.js → select.3zE96eWc.js} +3 -3
  122. package/{skiptocontent.CQ4aARqd.js → skiptocontent.D1UkPmhD.js} +2 -2
  123. package/{slider.LRlFFlYL.js → slider.CTCf7Xdm.js} +2 -2
  124. package/{spinner.t5FHjIEK.js → spinner.CeGt8DxU.js} +1 -1
  125. package/{switch.QUUSE9ZF.js → switch.CtULjgZq.js} +2 -2
  126. package/{systemfeedback.BpKZEv4U.js → systemfeedback.CLQCbTF6.js} +1 -1
  127. package/tablist.Dzwe0_J4.js +256 -0
  128. package/{tabs.CXkSN2kd.js → tabs.yudjJk9d.js} +2 -2
  129. package/{text.CPwbk8Gy.js → text.ZOUuesnU.js} +2 -2
  130. package/{textarea.D0ADOdR6.js → textarea.B_3fPtmd.js} +3 -3
  131. package/{toast.CYYvK4DJ.js → toast.Bhpwj1NF.js} +3 -3
  132. package/{toastmanager.k9iGb7MN.js → toastmanager.BHk65ynQ.js} +3 -3
  133. package/topbar.2b8fjmA4.js +11 -0
  134. package/utils/get-rect.d.ts +4 -0
  135. package/utils/get-rect.test.d.ts +1 -0
  136. package/utils/helpers.d.ts +10 -0
  137. package/utils/index.d.ts +2 -1
  138. package/utils/is-animation-disabled.d.ts +14 -0
  139. package/utils/is-animation-disabled.test.d.ts +1 -0
  140. package/assets/ActionButton.DZVAnm-p.css +0 -1
  141. package/assets/ActionLink.DuklSL3c.css +0 -1
  142. package/assets/CustomReactSelect.B8l6al4B.css +0 -1
  143. package/assets/Icon.ZNrKuqgu.css +0 -1
  144. package/assets/InputFile.Dx_CULYq.css +0 -1
  145. package/assets/InputPassword.CkHF5zCh.css +0 -1
  146. package/assets/InputSearch.BV8Q2EUL.css +0 -1
  147. package/assets/InputStepper.DzzrAdma.css +0 -1
  148. package/assets/Select.e1fTfWmm.css +0 -1
  149. package/assets/Textarea.BGV7Z0Z9.css +0 -1
  150. package/assets/input.Cj4tF_F7.css +0 -1
  151. package/assets/radio.CqaNn1Gz.css +0 -1
  152. package/chipgroup.D1Km301k.js +0 -186
  153. package/chunks/ActionButton.DFI8P9-f.js +0 -159
  154. package/chunks/ActionLink.CLQ1yQZF.js +0 -132
  155. package/chunks/Header.DPafHEKw.js +0 -384
  156. package/chunks/InputPassword.C4QhwijC.js +0 -136
  157. package/chunks/InputSearch.DdWBmEmu.js +0 -174
  158. package/chunks/InputStepper.BRzbuEho.js +0 -263
  159. package/chunks/helpers.CcqWV-wZ.js +0 -8
  160. package/radio.Dm9bDBzM.js +0 -134
  161. package/tablist.DGGeFOi1.js +0 -266
  162. package/topbar.BPSDyH0N.js +0 -10
  163. package/utils/isAnimationDisabled.d.ts +0 -1
  164. /package/components/{Tabs/TabList/TabList.utils.test.d.ts → Banner/Banner.test.d.ts} +0 -0
@@ -3,9 +3,9 @@ import { jsx as F } from "react/jsx-runtime";
3
3
  import { d as $ } from "./index.CgTHIF3K.js";
4
4
  import { c as J } from "./index.CEyLAtio.js";
5
5
  import { forwardRef as K, useState as Q } from "react";
6
- import { D as W } from "./Fieldset.DHccz6TP.js";
7
- import { DSRadio as X } from "../radio.Dm9bDBzM.js";
8
- import { g as m, r as V } from "./helpers.CcqWV-wZ.js";
6
+ import { D as W } from "./Fieldset.BX46NuLh.js";
7
+ import { DSRadio as X } from "../radio.Be4pFOLf.js";
8
+ import { g as m, r as V } from "./helpers.BbWkXTr3.js";
9
9
  import '../assets/RadioGroup.CM2mYOzc.css';const Y = "ds-radio-group_root_12fot_1", Z = "ds-radio-group_root--horizontal_12fot_9", oo = "ds-radio-group_root--invalid_12fot_12", B = {
10
10
  root: Y,
11
11
  rootHorizontal: Z,
@@ -5,10 +5,10 @@ import { c as me } from "./index.CEyLAtio.js";
5
5
  import { forwardRef as Be, useRef as Fe, useState as Ie, useEffect as He } from "react";
6
6
  import { u as Re } from "./useBreakpoint.CMOR9ZOB.js";
7
7
  import { Asterisk as je } from "../asterisk.CR60hx8S.js";
8
- import { D as We } from "./Icon.CAXZUNWo.js";
9
- import { DSSystemFeedback as ze } from "../systemfeedback.BpKZEv4U.js";
10
- import { g as pe, r as Me } from "./helpers.CcqWV-wZ.js";
11
- import '../assets/Select.e1fTfWmm.css';const Te = "ds-select_root_1g7g9_1", Oe = "ds-select_hint_1g7g9_10", Ze = "ds-select_label_1g7g9_10", Je = "ds-select_label--hidden_1g7g9_100", Ke = "ds-select_label--disabled_1g7g9_113", Qe = "ds-select_feedback_1g7g9_133", Ue = "ds-select_select-wrapper_1g7g9_138", Xe = "ds-select_select_1g7g9_138", Ye = "ds-select_select--invalid_1g7g9_263", Ge = "ds-select_select--small_1g7g9_270", el = "ds-select_select--placeholder_1g7g9_372", ll = "ds-select_chevron_1g7g9_411", tl = "ds-select_chevron--small_1g7g9_415", sl = "ds-select_chevron--disabled_1g7g9_418", t = {
8
+ import { D as We } from "./Icon.C0161Glk.js";
9
+ import { DSSystemFeedback as ze } from "../systemfeedback.CLQCbTF6.js";
10
+ import { g as pe, r as Me } from "./helpers.BbWkXTr3.js";
11
+ import '../assets/Select.CghDnBUQ.css';const Te = "ds-select_root_1c9y3_1", Oe = "ds-select_hint_1c9y3_10", Ze = "ds-select_label_1c9y3_10", Je = "ds-select_label--hidden_1c9y3_100", Ke = "ds-select_label--disabled_1c9y3_113", Qe = "ds-select_feedback_1c9y3_133", Ue = "ds-select_select-wrapper_1c9y3_138", Xe = "ds-select_select_1c9y3_138", Ye = "ds-select_select--small_1c9y3_152", Ge = "ds-select_select--invalid_1c9y3_264", el = "ds-select_select--placeholder_1c9y3_379", ll = "ds-select_chevron_1c9y3_418", tl = "ds-select_chevron--small_1c9y3_422", sl = "ds-select_chevron--disabled_1c9y3_425", t = {
12
12
  root: Te,
13
13
  hint: Oe,
14
14
  label: Ze,
@@ -17,8 +17,8 @@ import '../assets/Select.e1fTfWmm.css';const Te = "ds-select_root_1g7g9_1", Oe =
17
17
  feedback: Qe,
18
18
  selectWrapper: Ue,
19
19
  select: Xe,
20
- selectInvalid: Ye,
21
- selectSmall: Ge,
20
+ selectSmall: Ye,
21
+ selectInvalid: Ge,
22
22
  selectPlaceholder: el,
23
23
  chevron: ll,
24
24
  chevronSmall: tl,
@@ -38,11 +38,11 @@ import '../assets/Select.e1fTfWmm.css';const Te = "ds-select_root_1g7g9_1", Oe =
38
38
  } else throw new Error(pe("DSSelect", Me("options", "DSSelect")));
39
39
  }, cl = (n, s, e) => n === "" || s !== void 0 && s !== "" ? !1 : !(e !== void 0 && e !== ""), ol = Be((n, s) => {
40
40
  const e = xe.c(127);
41
- let i, d, r, l, f, b, g, D, a, Z, J, K, Q, U, X, o;
41
+ let i, d, r, l, f, b, S, D, a, Z, J, K, Q, U, X, o;
42
42
  e[0] !== n ? ({
43
43
  id: l,
44
44
  label: f,
45
- options: g,
45
+ options: S,
46
46
  className: i,
47
47
  defaultValue: d,
48
48
  disabled: Z,
@@ -56,16 +56,16 @@ import '../assets/Select.e1fTfWmm.css';const Te = "ds-select_root_1g7g9_1", Oe =
56
56
  value: o,
57
57
  onChange: b,
58
58
  ...D
59
- } = n, e[0] = n, e[1] = i, e[2] = d, e[3] = r, e[4] = l, e[5] = f, e[6] = b, e[7] = g, e[8] = D, e[9] = a, e[10] = Z, e[11] = J, e[12] = K, e[13] = Q, e[14] = U, e[15] = X, e[16] = o) : (i = e[1], d = e[2], r = e[3], l = e[4], f = e[5], b = e[6], g = e[7], D = e[8], a = e[9], Z = e[10], J = e[11], K = e[12], Q = e[13], U = e[14], X = e[15], o = e[16]);
60
- const h = Z === void 0 ? !1 : Z, Pe = J === void 0 ? !1 : J, c = K === void 0 ? !1 : K, S = Q === void 0 ? "Select" : Q, y = U === void 0 ? !1 : U, le = X === void 0 ? "medium" : X;
59
+ } = n, e[0] = n, e[1] = i, e[2] = d, e[3] = r, e[4] = l, e[5] = f, e[6] = b, e[7] = S, e[8] = D, e[9] = a, e[10] = Z, e[11] = J, e[12] = K, e[13] = Q, e[14] = U, e[15] = X, e[16] = o) : (i = e[1], d = e[2], r = e[3], l = e[4], f = e[5], b = e[6], S = e[7], D = e[8], a = e[9], Z = e[10], J = e[11], K = e[12], Q = e[13], U = e[14], X = e[15], o = e[16]);
60
+ const h = Z === void 0 ? !1 : Z, Pe = J === void 0 ? !1 : J, c = K === void 0 ? !1 : K, y = Q === void 0 ? "Select" : Q, g = U === void 0 ? !1 : U, le = X === void 0 ? "medium" : X;
61
61
  process.env.NODE_ENV !== "production" && al({
62
62
  id: l,
63
63
  label: f,
64
- options: g
64
+ options: S
65
65
  });
66
66
  const qe = Fe(null), [ue, Ne] = Ie(o);
67
67
  let te;
68
- e[17] !== d || e[18] !== S || e[19] !== o ? (te = cl(S, d, o), e[17] = d, e[18] = S, e[19] = o, e[20] = te) : te = e[20];
68
+ e[17] !== d || e[18] !== y || e[19] !== o ? (te = cl(y, d, o), e[17] = d, e[18] = y, e[19] = o, e[20] = te) : te = e[20];
69
69
  const [Y, Ce] = Ie(te);
70
70
  let se, ae;
71
71
  e[21] !== o ? (se = () => {
@@ -78,10 +78,10 @@ import '../assets/Select.e1fTfWmm.css';const Te = "ds-select_root_1g7g9_1", Oe =
78
78
  const _e = ce, G = Re(Pe), w = `${l}-label`, m = `${l}-feedback`, N = `${l}-hint`, ve = r ? ` ${N}` : "";
79
79
  let oe;
80
80
  e[26] !== c || e[27] !== a || e[28] !== m ? (oe = [c && a && m].filter(Boolean).join(" ") || void 0, e[26] = c, e[27] = a, e[28] = m, e[29] = oe) : oe = e[29];
81
- const ge = oe;
81
+ const Se = oe;
82
82
  let k, E, I, P, q, C, $, L, V, A, x, B, F, H, R, j, p, u, _;
83
- if (e[30] !== ge || e[31] !== ve || e[32] !== i || e[33] !== d || e[34] !== h || e[35] !== _e || e[36] !== G || e[37] !== r || e[38] !== N || e[39] !== l || e[40] !== c || e[41] !== Y || e[42] !== f || e[43] !== b || e[44] !== g || e[45] !== S || e[46] !== y || e[47] !== D || e[48] !== w || e[49] !== ue || e[50] !== le || e[51] !== a || e[52] !== m) {
84
- const ee = (he) => [S && /* @__PURE__ */ v("option", { value: "", children: S }, `${l}-hidden-option-disabled-placeholder`), ...he.map((O) => {
83
+ if (e[30] !== Se || e[31] !== ve || e[32] !== i || e[33] !== d || e[34] !== h || e[35] !== _e || e[36] !== G || e[37] !== r || e[38] !== N || e[39] !== l || e[40] !== c || e[41] !== Y || e[42] !== f || e[43] !== b || e[44] !== S || e[45] !== y || e[46] !== g || e[47] !== D || e[48] !== w || e[49] !== ue || e[50] !== le || e[51] !== a || e[52] !== m) {
84
+ const ee = (he) => [y && /* @__PURE__ */ v("option", { value: "", children: y }, `${l}-hidden-option-disabled-placeholder`), ...he.map((O) => {
85
85
  if ("options" in O) {
86
86
  const {
87
87
  label: Ee,
@@ -93,25 +93,25 @@ import '../assets/Select.e1fTfWmm.css';const Te = "ds-select_root_1g7g9_1", Oe =
93
93
  })], ke = il;
94
94
  let re;
95
95
  e[72] !== i ? (re = me(t.root, i), e[72] = i, e[73] = re) : re = e[73];
96
- const $e = re, Se = le === "small";
96
+ const $e = re, ye = le === "small";
97
97
  let ne;
98
- e[74] !== c || e[75] !== Y || e[76] !== Se ? (ne = me(t.select, {
99
- [t.selectSmall]: Se,
98
+ e[74] !== c || e[75] !== Y || e[76] !== ye ? (ne = me(t.select, {
99
+ [t.selectSmall]: ye,
100
100
  [t.selectInvalid]: c,
101
101
  [t.selectPlaceholder]: Y
102
- }), e[74] = c, e[75] = Y, e[76] = Se, e[77] = ne) : ne = e[77];
102
+ }), e[74] = c, e[75] = Y, e[76] = ye, e[77] = ne) : ne = e[77];
103
103
  const Le = ne;
104
104
  let de;
105
105
  e[78] !== h || e[79] !== G ? (de = me(t.label, {
106
106
  [t.labelHidden]: G,
107
107
  [t.labelDisabled]: h
108
108
  }), e[78] = h, e[79] = G, e[80] = de) : de = e[80];
109
- const De = de, ye = le === "small";
109
+ const De = de, ge = le === "small";
110
110
  let fe;
111
- e[81] !== h || e[82] !== ye ? (fe = me(t.chevron, {
112
- [t.chevronSmall]: ye,
111
+ e[81] !== h || e[82] !== ge ? (fe = me(t.chevron, {
112
+ [t.chevronSmall]: ge,
113
113
  [t.chevronDisabled]: h
114
- }), e[81] = h, e[82] = ye, e[83] = fe) : fe = e[83], k = fe;
114
+ }), e[81] = h, e[82] = ge, e[83] = fe) : fe = e[83], k = fe;
115
115
  let be;
116
116
  e[84] !== b ? (be = (he) => {
117
117
  const {
@@ -122,10 +122,10 @@ import '../assets/Select.e1fTfWmm.css';const Te = "ds-select_root_1g7g9_1", Oe =
122
122
  const Ve = be;
123
123
  j = $e;
124
124
  let T;
125
- e[86] !== y ? (T = y && /* @__PURE__ */ v(je, {}), e[86] = y, e[87] = T) : T = e[87], e[88] !== l || e[89] !== f || e[90] !== De || e[91] !== w || e[92] !== T ? (p = /* @__PURE__ */ we("label", { className: De, id: w, htmlFor: l, children: [
125
+ e[86] !== g ? (T = g && /* @__PURE__ */ v(je, {}), e[86] = g, e[87] = T) : T = e[87], e[88] !== l || e[89] !== f || e[90] !== De || e[91] !== w || e[92] !== T ? (p = /* @__PURE__ */ we("label", { className: De, id: w, htmlFor: l, children: [
126
126
  f,
127
127
  T
128
- ] }), e[88] = l, e[89] = f, e[90] = De, e[91] = w, e[92] = T, e[93] = p) : p = e[93], e[94] !== r || e[95] !== N ? (u = r && /* @__PURE__ */ v("div", { className: t.hint, id: N, children: r }), e[94] = r, e[95] = N, e[96] = u) : u = e[96], e[97] !== c || e[98] !== a || e[99] !== m ? (_ = c && a && /* @__PURE__ */ v(ze, { className: t.feedback, message: a, type: "invalid", id: m, "aria-live": "assertive" }), e[97] = c, e[98] = a, e[99] = m, e[100] = _) : _ = e[100], R = t.selectWrapper, E = D, I = l, P = _e, q = Le, C = `${w}${ve}`, $ = ge, L = c, V = d, A = ue, x = h, B = y, F = Ve, H = ee(g), e[30] = ge, e[31] = ve, e[32] = i, e[33] = d, e[34] = h, e[35] = _e, e[36] = G, e[37] = r, e[38] = N, e[39] = l, e[40] = c, e[41] = Y, e[42] = f, e[43] = b, e[44] = g, e[45] = S, e[46] = y, e[47] = D, e[48] = w, e[49] = ue, e[50] = le, e[51] = a, e[52] = m, e[53] = k, e[54] = E, e[55] = I, e[56] = P, e[57] = q, e[58] = C, e[59] = $, e[60] = L, e[61] = V, e[62] = A, e[63] = x, e[64] = B, e[65] = F, e[66] = H, e[67] = R, e[68] = j, e[69] = p, e[70] = u, e[71] = _;
128
+ ] }), e[88] = l, e[89] = f, e[90] = De, e[91] = w, e[92] = T, e[93] = p) : p = e[93], e[94] !== r || e[95] !== N ? (u = r && /* @__PURE__ */ v("div", { className: t.hint, id: N, children: r }), e[94] = r, e[95] = N, e[96] = u) : u = e[96], e[97] !== c || e[98] !== a || e[99] !== m ? (_ = c && a && /* @__PURE__ */ v(ze, { className: t.feedback, message: a, type: "invalid", id: m, "aria-live": "assertive" }), e[97] = c, e[98] = a, e[99] = m, e[100] = _) : _ = e[100], R = t.selectWrapper, E = D, I = l, P = _e, q = Le, C = `${w}${ve}`, $ = Se, L = c, V = d, A = ue, x = h, B = g, F = Ve, H = ee(S), e[30] = Se, e[31] = ve, e[32] = i, e[33] = d, e[34] = h, e[35] = _e, e[36] = G, e[37] = r, e[38] = N, e[39] = l, e[40] = c, e[41] = Y, e[42] = f, e[43] = b, e[44] = S, e[45] = y, e[46] = g, e[47] = D, e[48] = w, e[49] = ue, e[50] = le, e[51] = a, e[52] = m, e[53] = k, e[54] = E, e[55] = I, e[56] = P, e[57] = q, e[58] = C, e[59] = $, e[60] = L, e[61] = V, e[62] = A, e[63] = x, e[64] = B, e[65] = F, e[66] = H, e[67] = R, e[68] = j, e[69] = p, e[70] = u, e[71] = _;
129
129
  } else
130
130
  k = e[53], E = e[54], I = e[55], P = e[56], q = e[57], C = e[58], $ = e[59], L = e[60], V = e[61], A = e[62], x = e[63], B = e[64], F = e[65], H = e[66], R = e[67], j = e[68], p = e[69], u = e[70], _ = e[71];
131
131
  let W;
@@ -4,8 +4,8 @@ import { d as nt } from "./index.CgTHIF3K.js";
4
4
  import { c as T } from "./index.CEyLAtio.js";
5
5
  import { forwardRef as ot, useState as Xe, useRef as ct } from "react";
6
6
  import { u as dt } from "./useBreakpoint.CMOR9ZOB.js";
7
- import { DSInput as ut } from "../input.mPceLGnf.js";
8
- import { g as Je } from "./helpers.CcqWV-wZ.js";
7
+ import { DSInput as ut } from "../input.DhxUW3zc.js";
8
+ import { g as Je } from "./helpers.BbWkXTr3.js";
9
9
  import '../assets/Slider.C8i4U4iT.css';const pt = "ds-slider_root_84q0h_1", mt = "ds-slider_hint_84q0h_10", bt = "ds-slider_label_84q0h_10", ht = "ds-slider_number-input_84q0h_13", ft = "ds-slider_label-hint-input-wrapper_84q0h_17", _t = "ds-slider_label--hidden_84q0h_37", Tt = "ds-slider_label--disabled_84q0h_50", xt = "ds-slider_number-input--small_84q0h_79", vt = "ds-slider_min-max-label-wrapper_84q0h_84", gt = "ds-slider_min-max-label-wrapper--disabled_84q0h_98", kt = "ds-slider_min-label_84q0h_103", Nt = "ds-slider_max-label_84q0h_107", St = "ds-slider_slider-wrapper_84q0h_111", yt = "ds-slider_slider_84q0h_111", Dt = "ds-slider_value-tooltip_84q0h_135", It = "ds-slider_proxy-thumb_84q0h_139", qt = "ds-slider_proxy-thumb--disabled_84q0h_206", Mt = "ds-slider_custom-track_84q0h_235", Lt = "ds-slider_custom-track--progress_84q0h_240", Vt = "ds-slider_custom-track--runnable_84q0h_252", wt = "ds-slider_custom-track--disabled_84q0h_266", Ct = "ds-slider_tick-wrapper_84q0h_286", Wt = "ds-slider_tick_84q0h_286", $t = "ds-slider_value-tooltip--visible_84q0h_358", Pt = "ds-slider_value-tooltip--disabled_84q0h_361", a = {
10
10
  root: pt,
11
11
  hint: mt,
@@ -2,10 +2,10 @@
2
2
  import { jsx as N, jsxs as L } from "react/jsx-runtime";
3
3
  import { d as M } from "./index.CgTHIF3K.js";
4
4
  import { useState as $ } from "react";
5
- import { TabList as j } from "../tablist.DGGeFOi1.js";
5
+ import { TabList as j } from "../tablist.Dzwe0_J4.js";
6
6
  import { TabPane as B } from "../tabpane.CB-eudyw.js";
7
7
  import { g as C } from "./TabPane.utils.DG16Y2uD.js";
8
- import { g, r as O } from "./helpers.CcqWV-wZ.js";
8
+ import { g, r as O } from "./helpers.BbWkXTr3.js";
9
9
  const J = ["left", "center"], K = ["prev", "next"], _ = ({
10
10
  id: T,
11
11
  tabs: e,
@@ -3,7 +3,7 @@ import { jsx as $ } from "react/jsx-runtime";
3
3
  import { d as z } from "./index.CgTHIF3K.js";
4
4
  import { c as C } from "./index.CEyLAtio.js";
5
5
  import { useRef as G, useEffect as H } from "react";
6
- import { a as v, g as y } from "./helpers.CcqWV-wZ.js";
6
+ import { a as v, g as y } from "./helpers.BbWkXTr3.js";
7
7
  import '../assets/Text.Dgpj61UP.css';const I = "ds-text_root_1mo26_6", P = "ds-text_root--large_1mo26_15", R = "ds-text_root--large-bold_1mo26_26", W = "ds-text_root--medium_1mo26_37", j = "ds-text_root--medium-bold_1mo26_48", q = "ds-text_root--small_1mo26_59", O = "ds-text_root--small-bold_1mo26_70", V = "ds-text_root--x-small_1mo26_81", Z = "ds-text_root--x-small-bold_1mo26_92", F = "ds-text_root--xx-small_1mo26_103", J = "ds-text_root--theme-dark_1mo26_197", o = {
8
8
  root: I,
9
9
  rootLarge: P,
@@ -1,34 +1,34 @@
1
1
  "use client";
2
- import { jsxs as d, jsx as h, Fragment as le } from "react/jsx-runtime";
2
+ import { jsxs as d, jsx as p, Fragment as le } from "react/jsx-runtime";
3
3
  import { c as A } from "./index.CEyLAtio.js";
4
- import { forwardRef as ie, useState as i, useRef as ce, useEffect as p } from "react";
5
- import { g as B, p as z } from "./helpers.CcqWV-wZ.js";
4
+ import { forwardRef as ie, useState as i, useRef as ce, useEffect as m } from "react";
5
+ import { g as q, p as z } from "./helpers.BbWkXTr3.js";
6
6
  import { u as de } from "./useBreakpoint.CMOR9ZOB.js";
7
7
  import "./index.CgTHIF3K.js";
8
8
  import { Asterisk as ue } from "../asterisk.CR60hx8S.js";
9
- import { DSSystemFeedback as fe } from "../systemfeedback.BpKZEv4U.js";
10
- import '../assets/Textarea.BGV7Z0Z9.css';const xe = "ds-textarea_textarea_qx67e_1", be = "ds-textarea_textarea--invalid_qx67e_113", _e = "ds-textarea_textarea--small_qx67e_120", he = "ds-textarea_textarea--resize-auto_qx67e_139", pe = "ds-textarea_root_qx67e_149", me = "ds-textarea_hint_qx67e_158", ve = "ds-textarea_label_qx67e_158", Ce = "ds-textarea_label--hidden_qx67e_266", Se = "ds-textarea_label--disabled_qx67e_279", qe = "ds-textarea_feedback_qx67e_299", Ae = "ds-textarea_char-count_qx67e_304", Ie = "ds-textarea_char-count-announcer_qx67e_320", a = {
11
- textarea: xe,
12
- textareaInvalid: be,
9
+ import { DSSystemFeedback as fe } from "../systemfeedback.CLQCbTF6.js";
10
+ import '../assets/Textarea.BgtH-TTe.css';const be = "ds-textarea_textarea_1y99f_1", _e = "ds-textarea_textarea--small_1y99f_9", he = "ds-textarea_textarea--invalid_1y99f_121", pe = "ds-textarea_textarea--resize-auto_1y99f_145", me = "ds-textarea_root_1y99f_155", xe = "ds-textarea_hint_1y99f_164", ye = "ds-textarea_label_1y99f_164", ve = "ds-textarea_label--hidden_1y99f_272", Ce = "ds-textarea_label--disabled_1y99f_285", Se = "ds-textarea_feedback_1y99f_305", Ae = "ds-textarea_char-count_1y99f_310", Ie = "ds-textarea_char-count-announcer_1y99f_326", a = {
11
+ textarea: be,
13
12
  textareaSmall: _e,
14
- textareaResizeAuto: he,
15
- root: pe,
16
- hint: me,
17
- label: ve,
18
- labelHidden: Ce,
19
- labelDisabled: Se,
20
- feedback: qe,
13
+ textareaInvalid: he,
14
+ textareaResizeAuto: pe,
15
+ root: me,
16
+ hint: xe,
17
+ label: ye,
18
+ labelHidden: ve,
19
+ labelDisabled: Ce,
20
+ feedback: Se,
21
21
  charCount: Ae,
22
22
  charCountAnnouncer: Ie
23
- }, He = ["medium", "small"], Te = ({
23
+ }, Ve = ["medium", "small"], Te = ({
24
24
  id: r,
25
25
  label: u
26
26
  }) => {
27
27
  if (!r)
28
- throw new Error(B("DSTextarea", 'A unique "id" prop is required. Please add a unique "id" prop to the DSTextarea component.'));
28
+ throw new Error(q("DSTextarea", 'A unique "id" prop is required. Please add a unique "id" prop to the DSTextarea component.'));
29
29
  if (!u)
30
- throw new Error(B("DSTextarea", `A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSTextarea component. If you don't want to display a label, set hideLabel={true}.`));
31
- }, ye = ie(({
30
+ throw new Error(q("DSTextarea", `A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSTextarea component. If you don't want to display a label, set hideLabel={true}.`));
31
+ }, De = ie(({
32
32
  id: r,
33
33
  label: u,
34
34
  charsLimitText: M = "Character limit reached",
@@ -36,41 +36,41 @@ import '../assets/Textarea.BGV7Z0Z9.css';const xe = "ds-textarea_textarea_qx67e_
36
36
  className: F,
37
37
  defaultValue: X,
38
38
  disabled: I = !1,
39
- hint: m,
39
+ hint: x,
40
40
  hideLabel: Z = !1,
41
41
  invalid: s = !1,
42
42
  maxLength: e,
43
43
  readonly: T = !1,
44
- required: y = !1,
44
+ required: D = !1,
45
45
  resize: f = "vertical",
46
46
  size: G = "medium",
47
47
  systemFeedback: n,
48
- value: v,
48
+ value: y,
49
49
  wrapperClassName: J,
50
- onChange: D,
51
- onInput: w,
50
+ onChange: w,
51
+ onInput: R,
52
52
  ...K
53
- }, x) => {
53
+ }, b) => {
54
54
  process.env.NODE_ENV !== "production" && Te({
55
55
  id: r,
56
56
  label: u
57
57
  });
58
- const [Q, R] = i(X || ""), [l, N] = i(0), [U, E] = i(0), [W, g] = i("off"), [$, C] = i(n), [S, q] = i(s), k = v !== void 0, b = k ? v : Q, o = ce(null), Y = (t) => {
59
- o.current = t, typeof x == "function" ? x(t) : x && (x.current = t);
58
+ const [Q, N] = i(X || ""), [l, E] = i(0), [U, g] = i(0), [W, $] = i("off"), [k, v] = i(n), [C, S] = i(s), H = y !== void 0, _ = H ? y : Q, o = ce(null), Y = (t) => {
59
+ o.current = t, typeof b == "function" ? b(t) : b && (b.current = t);
60
60
  }, L = de(Z);
61
- p(() => {
61
+ m(() => {
62
62
  if (!e || e <= 0)
63
63
  return;
64
- l >= e * 0.8 ? g("polite") : g("off");
64
+ l >= e * 0.8 ? $("polite") : $("off");
65
65
  const t = setTimeout(() => {
66
- E(e - l || 0);
66
+ g(e - l || 0);
67
67
  }, 1e3);
68
68
  return () => clearTimeout(t);
69
- }, [l]), p(() => {
70
- R(b || ""), c(), e && e > 0 && (N(b.toString().length || 0), E(e - b.toString().length || 0));
71
- }, [v]), p(() => {
72
- s && n ? (C(n), q(s)) : !s && e && e >= 0 && l >= e ? (q(!0), C(M)) : (C(n), q(s));
73
- }, [s, S, n, l]), p(() => {
69
+ }, [l]), m(() => {
70
+ N(_ || ""), c(), e && e > 0 && (E(_.toString().length || 0), g(e - _.toString().length || 0));
71
+ }, [y]), m(() => {
72
+ s && n ? (v(n), S(s)) : !s && e && e >= 0 && l >= e ? (S(!0), v(M)) : (v(n), S(s));
73
+ }, [s, C, n, l]), m(() => {
74
74
  if (f === "auto")
75
75
  return c(), window.addEventListener("resize", c), () => window.removeEventListener("resize", c);
76
76
  }, [f, o.current]);
@@ -78,53 +78,53 @@ import '../assets/Textarea.BGV7Z0Z9.css';const xe = "ds-textarea_textarea_qx67e_
78
78
  // small textarea
79
79
  [a.textareaSmall]: G === "small",
80
80
  // invalid state
81
- [a.textareaInvalid]: S,
81
+ [a.textareaInvalid]: C,
82
82
  // resize handling
83
83
  [a.textareaResizeAuto]: f === "auto"
84
84
  }), ae = A(a.label, {
85
85
  // hide label only visually to keep them available for assistive technologies
86
86
  [a.labelHidden]: L,
87
87
  [a.labelDisabled]: I
88
- }), H = `${r}-label`, V = `${r}-feedback`, P = `${r}-hint`, j = `${r}-char-count-announcer`, re = m ? ` ${P}` : "", c = () => {
88
+ }), V = `${r}-label`, P = `${r}-feedback`, j = `${r}-hint`, B = `${r}-char-count-announcer`, re = x ? ` ${j}` : "", c = () => {
89
89
  if (o.current && f === "auto") {
90
90
  o.current.style.height = "auto";
91
- const t = z(o.current.scrollHeight), _ = z(2);
91
+ const t = z(o.current.scrollHeight), h = z(2);
92
92
  o.current.style.height = `${// We need to add 2px (border-top & border-bottom) to the scrollHeight to prevent the textarea
93
93
  // from jumping as soon as the user starts typing.
94
- t + _}rem`;
94
+ t + h}rem`;
95
95
  }
96
96
  }, se = () => {
97
97
  const t = [];
98
- return e && e > 0 && t.push(j), s && n && t.push(V), t.length > 0 ? t.join(" ") : void 0;
98
+ return e && e > 0 && t.push(B), s && n && t.push(P), t.length > 0 ? t.join(" ") : void 0;
99
99
  }, oe = (t) => {
100
- var _;
101
- w && w(t), e && e > 0 && N(((_ = o.current) == null ? void 0 : _.value.length) || 0), c();
100
+ var h;
101
+ R && R(t), e && e > 0 && E(((h = o.current) == null ? void 0 : h.value.length) || 0), c();
102
102
  }, ne = (t) => {
103
- D && D(t), k || R(t.target.value);
103
+ w && w(t), H || N(t.target.value);
104
104
  };
105
105
  return /* @__PURE__ */ d("div", { className: ee, children: [
106
- /* @__PURE__ */ d("label", { className: ae, id: H, htmlFor: r, children: [
106
+ /* @__PURE__ */ d("label", { className: ae, id: V, htmlFor: r, children: [
107
107
  u,
108
- y && /* @__PURE__ */ h(ue, {})
108
+ D && /* @__PURE__ */ p(ue, {})
109
109
  ] }),
110
- m && /* @__PURE__ */ h("div", { className: a.hint, id: P, children: m }),
111
- S && $ && /* @__PURE__ */ h(fe, { className: a.feedback, message: $, type: "invalid", id: V }),
112
- /* @__PURE__ */ h(
110
+ x && /* @__PURE__ */ p("div", { className: a.hint, id: j, children: x }),
111
+ C && k && /* @__PURE__ */ p(fe, { className: a.feedback, message: k, type: "invalid", id: P }),
112
+ /* @__PURE__ */ p(
113
113
  "textarea",
114
114
  {
115
115
  className: te,
116
116
  id: r,
117
117
  ...K,
118
118
  ref: Y,
119
- "aria-labelledby": `${H}${re}`,
119
+ "aria-labelledby": `${V}${re}`,
120
120
  "aria-describedby": se(),
121
121
  "aria-invalid": s,
122
122
  "aria-disabled": T,
123
123
  maxLength: e,
124
124
  readOnly: T,
125
- required: y,
125
+ required: D,
126
126
  disabled: I,
127
- value: b,
127
+ value: _,
128
128
  defaultValue: void 0,
129
129
  rows: void 0,
130
130
  cols: void 0,
@@ -142,7 +142,7 @@ import '../assets/Textarea.BGV7Z0Z9.css';const xe = "ds-textarea_textarea_qx67e_
142
142
  "div",
143
143
  {
144
144
  className: a.charCountAnnouncer,
145
- id: j,
145
+ id: B,
146
146
  "aria-live": W,
147
147
  "aria-atomic": "true",
148
148
  children: [
@@ -155,9 +155,9 @@ import '../assets/Textarea.BGV7Z0Z9.css';const xe = "ds-textarea_textarea_qx67e_
155
155
  ] })
156
156
  ] });
157
157
  });
158
- ye.displayName = "DSTextarea";
158
+ De.displayName = "DSTextarea";
159
159
  export {
160
- ye as D,
161
- He as T,
160
+ De as D,
161
+ Ve as T,
162
162
  Te as v
163
163
  };
@@ -3,8 +3,8 @@ import { jsx as C, jsxs as y } from "react/jsx-runtime";
3
3
  import { d as E } from "./index.CgTHIF3K.js";
4
4
  import { c as j } from "./index.CEyLAtio.js";
5
5
  import { forwardRef as L } from "react";
6
- import { D as M } from "./Button.DZNUuPKC.js";
7
- import { D as O } from "./Icon.CAXZUNWo.js";
6
+ import { D as M } from "./Button.CC0qEsuR.js";
7
+ import { D as O } from "./Icon.C0161Glk.js";
8
8
  import '../assets/Toast.CJ1zhDIT.css';const P = "ds-toast_root_gamkt_5", z = "ds-toast_root--closing_gamkt_19", A = "ds-toast_root--success_gamkt_54", R = "ds-toast_root--info_gamkt_58", $ = "ds-toast_root--warning_gamkt_62", q = "ds-toast_content_gamkt_67", F = "ds-toast_content--hide-icon_gamkt_74", G = "ds-toast_icon_gamkt_78", J = "ds-toast_message_gamkt_82", s = {
9
9
  root: P,
10
10
  rootClosing: z,