@stihl-design-system/components 1.0.0-RC.47 → 1.0.0-RC.48

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 (261) hide show
  1. package/{accordion.BQ7vavIt.js → accordion.D4XR2R7e.js} +2 -2
  2. package/{actionbutton.C7lqEmBx.js → actionbutton.C8hePX-D.js} +3 -3
  3. package/{actioncard.dgVHW0BC.js → actioncard.kDxu01xm.js} +1 -1
  4. package/{actionlink.CL6v1mQA.js → actionlink.dccc5JQV.js} +3 -3
  5. package/{arialiveregions.DC1Gq9Lo.js → arialiveregions.BniSDuPM.js} +9 -10
  6. package/assets/Accordion.RlqWqpGo.css +1 -0
  7. package/assets/ActionButton.Dw2FeIaW.css +1 -0
  8. package/assets/ActionCard.viEoC26n.css +1 -0
  9. package/assets/ActionLink.B1Jjaf7k.css +1 -0
  10. package/assets/Button.Bi1KUKMv.css +1 -0
  11. package/assets/Checkbox.C6RWhy0V.css +1 -0
  12. package/assets/Chip.DfamkUPw.css +1 -0
  13. package/assets/CustomReactSelect.CvWMmrAU.css +1 -0
  14. package/assets/Dialog.6AkQo8ew.css +1 -0
  15. package/assets/Drawer.CDOlX809.css +1 -0
  16. package/assets/Fieldset.BbLGXCWa.css +1 -0
  17. package/assets/InputFile.CDtghZtl.css +1 -0
  18. package/assets/InputNumber.BNpO9p7n.css +1 -0
  19. package/assets/InputPassword.BgZo-RUc.css +1 -0
  20. package/assets/InputSearch.BROFFTK9.css +1 -0
  21. package/assets/LinkButton.IKIlFnpH.css +1 -0
  22. package/assets/Notification.2B81JHOp.css +1 -0
  23. package/assets/Pagination.DH71DZ0j.css +1 -0
  24. package/assets/Popover.58Tb0dOt.css +1 -0
  25. package/assets/Select.CfTN3CJo.css +1 -0
  26. package/assets/Slider.B4kzL60S.css +1 -0
  27. package/assets/{SystemFeedback.DYi9QetY.css → SystemFeedback.DVMml_h9.css} +1 -1
  28. package/assets/TextUtility.BThulfyl.css +1 -0
  29. package/assets/Textarea.BO4AcRJD.css +1 -0
  30. package/assets/buttonround.syTU1QSI.css +1 -0
  31. package/assets/chipgroup.DtCnsmS7.css +1 -0
  32. package/assets/filelist.B-Ru0GP_.css +1 -0
  33. package/assets/input.Dy8VS73e.css +1 -0
  34. package/assets/numberindicator.CtbitPQ8.css +1 -0
  35. package/assets/progressindicator.tyY_RVQ9.css +1 -0
  36. package/assets/radio.9hUUyg8R.css +1 -0
  37. package/assets/switch.8v7Wp1Fj.css +1 -0
  38. package/assets/tabpane.DDaeSDQb.css +1 -0
  39. package/assets/text.BwGsYzGM.css +1 -0
  40. package/assets/tooltip.C_BL2kou.css +1 -0
  41. package/{banner.BlB_7xue.js → banner.DO7GsDL_.js} +1 -1
  42. package/{breadcrumb.DajORKq7.js → breadcrumb.DYov6vtt.js} +3 -3
  43. package/{button.EooIlFBI.js → button.qxcuzbnv.js} +2 -2
  44. package/buttonround.BO7_ewzA.js +101 -0
  45. package/{checkbox.NJj9qMnx.js → checkbox.C9kyIY9P.js} +4 -5
  46. package/{checkboxgroup.DELdyn0X.js → checkboxgroup.kEUxnKLf.js} +2 -2
  47. package/{chip.C4h8Hm9g.js → chip.5ktNLRYf.js} +3 -3
  48. package/chipgroup.kRU3Z98U.js +226 -0
  49. package/chunks/Accordion.gih2ni1d.js +179 -0
  50. package/chunks/ActionButton.B-wm5sUy.js +194 -0
  51. package/chunks/{ActionCard.Dbq2VqyZ.js → ActionCard.Bm-2ewfS.js} +44 -44
  52. package/chunks/ActionLink.D0KzqbH4.js +166 -0
  53. package/chunks/{AriaLiveRegions.utils.BPvIKT6B.js → AriaLiveRegions.utils.xoETe2Ps.js} +14 -16
  54. package/chunks/{Breadcrumb.Ccm79ver.js → Breadcrumb.I2G-T0zc.js} +2 -2
  55. package/chunks/Button.CCol--xy.js +165 -0
  56. package/chunks/Checkbox.BxOGR1bR.js +96 -0
  57. package/chunks/CheckboxGroup.TneO0tuE.js +85 -0
  58. package/chunks/Chip.DffaXMkV.js +148 -0
  59. package/chunks/{CustomReactSelect.oEQpO9iN.js → CustomReactSelect.DTAavYaz.js} +282 -277
  60. package/chunks/Dialog.guuxflWL.js +101 -0
  61. package/chunks/{Drawer.CDe_g99S.js → Drawer.CjUZu6GW.js} +27 -28
  62. package/chunks/Fieldset.BBMuLKps.js +94 -0
  63. package/chunks/{Flag.X9tB3Mfv.js → Flag.CbQYBzVC.js} +12 -13
  64. package/chunks/{Header.bLSdAY9-.js → Header.CvcGSuhX.js} +1 -1
  65. package/chunks/{Input.utils.CkmzxIrU.js → Input.utils.Wycy2SzG.js} +23 -25
  66. package/chunks/InputFile.y71Cd5J9.js +260 -0
  67. package/chunks/InputNumber.Fn2YbF_s.js +250 -0
  68. package/chunks/InputPassword.DtT9yrlx.js +129 -0
  69. package/chunks/InputSearch.BoAfGqoH.js +157 -0
  70. package/chunks/LinkButton.BxG7fx1O.js +150 -0
  71. package/chunks/LinkCard.DM-5WrSt.js +200 -0
  72. package/chunks/{MegaMenu.DbunD_yW.js → MegaMenu.udXR1H3W.js} +1 -1
  73. package/chunks/{NavigationTabList.CyrKNAer.js → NavigationTabList.thzA1pU8.js} +1 -1
  74. package/chunks/{NavigationTabs.DVBe-Wt3.js → NavigationTabs.BWewgBch.js} +1 -1
  75. package/chunks/Notification.C_o7Ge6Q.js +91 -0
  76. package/chunks/Pagination.BrOMUJMi.js +272 -0
  77. package/chunks/Popover.CxZZ_y1Z.js +230 -0
  78. package/chunks/RadioGroup.CO91_5hA.js +136 -0
  79. package/chunks/Select.EzoMdk1u.js +157 -0
  80. package/chunks/Slider.CX38t4Sk.js +330 -0
  81. package/chunks/{Stepper.KBRikedB.js → Stepper.Ds_aIEF8.js} +68 -69
  82. package/chunks/SystemFeedback.DhWcYjnu.js +43 -0
  83. package/chunks/{Tabs.xXn4zpGp.js → Tabs.BHVlgp7L.js} +2 -2
  84. package/chunks/Text.utils.DzlY9pJS.js +9 -0
  85. package/chunks/TextUtility.BZLwqyic.js +82 -0
  86. package/chunks/Textarea.vuJgvW6_.js +192 -0
  87. package/chunks/{Toast.NZfb7z3q.js → Toast.V_ZUAsf2.js} +1 -1
  88. package/chunks/translate.DSb-TdWR.js +2460 -0
  89. package/{combobox.CPsl2TC0.js → combobox.C6cPz4AJ.js} +1 -1
  90. package/components/Accordion/Accordion.d.ts +5 -0
  91. package/components/ActionButton/ActionButton.d.ts +5 -1
  92. package/components/ActionLink/ActionLink.d.ts +1 -1
  93. package/components/Button/Button.utils.d.ts +1 -1
  94. package/components/Checkbox/Checkbox.d.ts +8 -1
  95. package/components/CheckboxGroup/CheckboxGroup.d.ts +9 -1
  96. package/components/ChipGroup/Chip.d.ts +2 -0
  97. package/components/ChipGroup/ChipGroup.d.ts +12 -2
  98. package/components/ChipGroup/ChipGroup.utils.d.ts +39 -15
  99. package/components/Combobox/Combobox.utils.d.ts +66 -9
  100. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +5 -1
  101. package/components/Combobox/CustomReactSelect/CustomReactSelect.utils.d.ts +1 -1
  102. package/components/Fieldset/Fieldset.d.ts +9 -2
  103. package/components/Input/Input.d.ts +8 -1
  104. package/components/InputFile/FileList/FileList.d.ts +4 -2
  105. package/components/InputFile/FileList/FilePreview/FilePreview.d.ts +8 -2
  106. package/components/InputFile/FileList/ProgressIndicator/ProgressIndicator.d.ts +8 -2
  107. package/components/InputFile/InputFile.d.ts +12 -2
  108. package/components/InputFile/InputFile.utils.d.ts +41 -23
  109. package/components/InputNumber/InputNumber.d.ts +8 -1
  110. package/components/InputPassword/InputPassword.d.ts +8 -1
  111. package/components/InputSearch/InputSearch.d.ts +8 -1
  112. package/components/LinkCard/LinkCard.d.ts +10 -4
  113. package/components/LinkCard/LinkCard.utils.d.ts +2 -2
  114. package/components/NumberIndicator/NumberIndicator.d.ts +6 -1
  115. package/components/Pagination/Pagination.d.ts +10 -3
  116. package/components/Pagination/Pagination.utils.d.ts +22 -9
  117. package/components/Popover/Popover.d.ts +9 -1
  118. package/components/Popover/Popover.utils.d.ts +3 -2
  119. package/components/Radio/Radio.d.ts +5 -0
  120. package/components/RadioGroup/RadioGroup.d.ts +8 -0
  121. package/components/Select/Select.d.ts +8 -1
  122. package/components/Slider/Slider.d.ts +8 -1
  123. package/components/Stepper/Step.d.ts +1 -1
  124. package/components/Stepper/Step.utils.d.ts +1 -1
  125. package/components/Stepper/Stepper.d.ts +4 -1
  126. package/components/Stepper/Stepper.utils.d.ts +9 -4
  127. package/components/SystemFeedback/SystemFeedback.d.ts +9 -1
  128. package/components/Textarea/Textarea.d.ts +8 -1
  129. package/{customreactselect.D7BJg-2s.js → customreactselect.L0zSh3Tg.js} +4 -4
  130. package/{dialog.BlprGigG.js → dialog.Ddq8o8Od.js} +2 -2
  131. package/{drawer.BoyrTFi1.js → drawer.rbbjQvqL.js} +2 -2
  132. package/{fieldset.D_e2-vo_.js → fieldset.BHf3XK2q.js} +3 -3
  133. package/filelist.GrEwoM1u.js +143 -0
  134. package/filepreview.B2Ot9SZ7.js +97 -0
  135. package/{flag.0vpitrQ-.js → flag.fX6LAgty.js} +3 -4
  136. package/{floatingactionbutton.BrdE1vi2.js → floatingactionbutton.BwCiybnc.js} +1 -1
  137. package/{header.C3AqYBtz.js → header.BCeCjYfG.js} +1 -1
  138. package/index.es.js +203 -204
  139. package/input.Dh0ws-9j.js +187 -0
  140. package/inputfile.DiZh3GcT.js +17 -0
  141. package/{inputnumber.Box5R2An.js → inputnumber.D2cmptaH.js} +8 -9
  142. package/{inputpassword.CBc8GNwI.js → inputpassword.C53Kg4EA.js} +4 -4
  143. package/inputsearch.BrsIDUSW.js +14 -0
  144. package/link.DEZDbUgq.js +81 -0
  145. package/{linkbutton.DxEPueLb.js → linkbutton._X50W2Md.js} +3 -3
  146. package/{linkcard.CCY-VFWN.js → linkcard.BtM3KnjT.js} +3 -3
  147. package/{logo.D7LnRA1E.js → logo.D6BTxbxv.js} +0 -1
  148. package/{megamenu.C8OynEzk.js → megamenu.odVCUm4c.js} +2 -2
  149. package/{navigationtablist.iSQd5PX4.js → navigationtablist.n9DrtYe5.js} +2 -2
  150. package/{navigationtabs.FtkVv_qV.js → navigationtabs.D0mSyAtK.js} +2 -2
  151. package/{notification.Cqg8HpJ8.js → notification._X8-8vOa.js} +2 -2
  152. package/numberindicator.DsK65Bj3.js +39 -0
  153. package/package.json +6 -1
  154. package/pagination.B7Hrx_sk.js +14 -0
  155. package/partials/index.js +68 -68
  156. package/{popover.DYiEGSnj.js → popover.BBaqL7y9.js} +3 -3
  157. package/progressindicator.D9CfVD95.js +74 -0
  158. package/radio.DjToa2aV.js +148 -0
  159. package/{radiogroup.wqgExwrG.js → radiogroup.mc-8lw65.js} +3 -3
  160. package/{scroller.Dqnsxq2M.js → scroller.CgWp2WXG.js} +10 -11
  161. package/{select.DkKuGI6O.js → select.DTZ6a6Ag.js} +5 -6
  162. package/{skeleton.DUkBgXxO.js → skeleton.CNJdNVav.js} +10 -10
  163. package/{skiptocontent.CRQywi6J.js → skiptocontent.BsRpWvyu.js} +4 -4
  164. package/{slider.BOjqQp9n.js → slider.BMGAihY0.js} +3 -3
  165. package/{step.C6zDRCBu.js → step.DCQ6CawJ.js} +1 -1
  166. package/stepper.D7-7BdSv.js +15 -0
  167. package/styles/scss/ds/index.scss +2 -0
  168. package/styles/scss/ds/lib/border-width.scss +3 -0
  169. package/styles/scss/ds/lib/ds-internal/_input.scss +65 -21
  170. package/styles/scss/ds/lib/ds-internal/_link-button.scss +4 -2
  171. package/styles/scss/ds/lib/ds-internal/_link.scss +23 -3
  172. package/styles/scss/ds/lib/input.scss +12 -7
  173. package/styles/scss/ds/lib/link.scss +2 -2
  174. package/styles/scss/ds/lib/radius.scss +5 -0
  175. package/{switch.CuNNdrkD.js → switch.tM2XBag8.js} +2 -2
  176. package/{systemfeedback.Da0wX0Eb.js → systemfeedback.BPPOht_9.js} +1 -1
  177. package/{tablist.BjKwrLz9.js → tablist.BAm0_UIG.js} +22 -23
  178. package/{tabpane.7vMXUKFX.js → tabpane.B9rZghU6.js} +1 -1
  179. package/{tabs.-U2k6Oll.js → tabs.BgTdWbTe.js} +3 -3
  180. package/text.BEO_ZfJq.js +72 -0
  181. package/{textarea.BWznY6Gg.js → textarea.Cki-uMkZ.js} +5 -6
  182. package/{textutility.CBLuAdaa.js → textutility.BypzssPt.js} +2 -2
  183. package/{toast.D9XLSgJg.js → toast.s0Hfuh5i.js} +2 -2
  184. package/{toastmanager.V5E05qgI.js → toastmanager.CPIPn4Io.js} +19 -20
  185. package/{tooltip.a1aWHK00.js → tooltip.BFQG-7VR.js} +1 -1
  186. package/{topbar.BdGK62KJ.js → topbar.Bbct-XkB.js} +3 -3
  187. package/utils/translate.d.ts +22 -6
  188. package/assets/Accordion.DPu2l_Kg.css +0 -1
  189. package/assets/ActionButton.DcQYatF1.css +0 -1
  190. package/assets/ActionCard.gRQVVFWz.css +0 -1
  191. package/assets/ActionLink.B62Aa8y9.css +0 -1
  192. package/assets/Button.BI6zz6Fw.css +0 -1
  193. package/assets/Checkbox.DknHnS9a.css +0 -1
  194. package/assets/Chip.CYhVB1Jh.css +0 -1
  195. package/assets/CustomReactSelect.lKMLwL7n.css +0 -1
  196. package/assets/Dialog.BKwWy1g2.css +0 -1
  197. package/assets/Drawer.IRb7Vc1n.css +0 -1
  198. package/assets/Fieldset.C4Fx4-UV.css +0 -1
  199. package/assets/InputFile.ne7gwc_5.css +0 -1
  200. package/assets/InputNumber.BIdsQuFc.css +0 -1
  201. package/assets/InputPassword.YSKTDTA1.css +0 -1
  202. package/assets/InputSearch.C3qtDQcj.css +0 -1
  203. package/assets/LinkButton.CmEE7Od_.css +0 -1
  204. package/assets/Notification.BO0Mu9No.css +0 -1
  205. package/assets/Pagination.OLmfdASf.css +0 -1
  206. package/assets/Popover.mL5g23EK.css +0 -1
  207. package/assets/Select.CDP-1_K9.css +0 -1
  208. package/assets/Slider.Cu7MgNph.css +0 -1
  209. package/assets/TextUtility.bwkCWEiV.css +0 -1
  210. package/assets/Textarea.Hsq68tg1.css +0 -1
  211. package/assets/buttonround.rmUb58WF.css +0 -1
  212. package/assets/chipgroup.BGxjdSDX.css +0 -1
  213. package/assets/filelist.cP3O1JeJ.css +0 -1
  214. package/assets/input.BEBgyvkK.css +0 -1
  215. package/assets/numberindicator.DSpNPJcs.css +0 -1
  216. package/assets/progressindicator.Dxrigyne.css +0 -1
  217. package/assets/radio.DsHt-9om.css +0 -1
  218. package/assets/switch.fwcMI6o7.css +0 -1
  219. package/assets/tabpane.o34hshTz.css +0 -1
  220. package/assets/text.Doa-APfR.css +0 -1
  221. package/assets/tooltip.DrSplliO.css +0 -1
  222. package/buttonround.BeQakrPs.js +0 -101
  223. package/chipgroup.BKjeuuM0.js +0 -213
  224. package/chunks/Accordion.8kTbiPxs.js +0 -173
  225. package/chunks/ActionButton.CBV1-_HP.js +0 -188
  226. package/chunks/ActionLink.BXxDS1Gg.js +0 -161
  227. package/chunks/Button.COycNYUI.js +0 -160
  228. package/chunks/Checkbox.CMshaWIU.js +0 -88
  229. package/chunks/CheckboxGroup.D3D1spfJ.js +0 -79
  230. package/chunks/Chip.DCJYE513.js +0 -157
  231. package/chunks/Dialog.lJXxzgu2.js +0 -102
  232. package/chunks/Fieldset.DOjI3DlI.js +0 -91
  233. package/chunks/InputFile.DYXvF6vT.js +0 -260
  234. package/chunks/InputNumber.CkWpchPo.js +0 -240
  235. package/chunks/InputPassword.21E6XMr5.js +0 -121
  236. package/chunks/InputSearch.Dy3EKa9f.js +0 -149
  237. package/chunks/LinkButton.BCHTLFMJ.js +0 -150
  238. package/chunks/LinkCard.BYmTwsS5.js +0 -197
  239. package/chunks/Notification.BjyLiO2h.js +0 -91
  240. package/chunks/Pagination.CJikF9Cw.js +0 -247
  241. package/chunks/Popover.ByaoNwGK.js +0 -221
  242. package/chunks/RadioGroup.Bh2X6pT9.js +0 -130
  243. package/chunks/Select.KWb09VmF.js +0 -147
  244. package/chunks/Slider.CxnIy51F.js +0 -309
  245. package/chunks/SystemFeedback.4osheYxC.js +0 -38
  246. package/chunks/Text.utils.BZ4nTZVu.js +0 -11
  247. package/chunks/TextUtility.BPrxUX-x.js +0 -82
  248. package/chunks/Textarea.CAOqZMUi.js +0 -181
  249. package/chunks/translate.nuU7uChI.js +0 -8
  250. package/filelist.DfAt2xJa.js +0 -128
  251. package/filepreview.Defs34bv.js +0 -94
  252. package/input.ChMzyHej.js +0 -175
  253. package/inputfile.DZIUs1EC.js +0 -18
  254. package/inputsearch.DzzYb-C0.js +0 -15
  255. package/link.aU1f2Xzu.js +0 -81
  256. package/numberindicator.Q7g4J3Ry.js +0 -36
  257. package/pagination.DA4PMLOq.js +0 -14
  258. package/progressindicator.DpmERE8T.js +0 -53
  259. package/radio.KQ8CUM3_.js +0 -137
  260. package/stepper.DHl3_XU9.js +0 -16
  261. package/text.CnP3baHy.js +0 -72
@@ -1,31 +1,30 @@
1
1
  "use client";
2
2
  import { jsx as f } from "react/jsx-runtime";
3
3
  import { c as h } from "./index.DQOqod3i.js";
4
- import { useCallback as N, useEffect as W, useRef as d } from "react";
5
- import { g as i, r as j } from "./helpers.CexwVao7.js";
6
- import { i as q } from "./is-animation-disabled.B-V_68K-.js";
7
- import { t as H } from "./translate.nuU7uChI.js";
8
- import { u as I } from "./useIsomorphicLayoutEffect.CnJ9AMFS.js";
9
- import "./index.cKLI89Eg.js";
10
- import { f as G } from "./AriaLiveRegions.utils.BPvIKT6B.js";
11
- import { DSScroller as F } from "../scroller.Dqnsxq2M.js";
12
- import { StepperStep as J } from "../step.C6zDRCBu.js";
13
- import '../assets/Stepper.BCpjMiOX.css';const _t = ["prev", "next"], L = 48, K = "ds-stepper_root_1vtkh_1", Q = "ds-stepper_root--vertical_1vtkh_12", U = "ds-stepper_scroller--centered_1vtkh_17", X = "ds-stepper_scroller-button_1vtkh_21", Y = "ds-stepper_list_1vtkh_26", Z = "ds-stepper_list--center_1vtkh_35", tt = "ds-stepper_list--vertical_1vtkh_38", a = {
14
- root: K,
15
- rootVertical: Q,
16
- scrollerCentered: U,
17
- scrollerButton: X,
18
- list: Y,
19
- listCenter: Z,
20
- listVertical: tt
21
- }, gt = ["left", "center"], Et = ["horizontal", "vertical"], et = ({
4
+ import { useCallback as I, useEffect as j, useRef as d } from "react";
5
+ import { f as q } from "./AriaLiveRegions.utils.xoETe2Ps.js";
6
+ import { DSScroller as H } from "../scroller.CgWp2WXG.js";
7
+ import { StepperStep as G } from "../step.DCQ6CawJ.js";
8
+ import { g as i, r as F } from "./helpers.CexwVao7.js";
9
+ import { t as J } from "./translate.DSb-TdWR.js";
10
+ import { u as L } from "./useIsomorphicLayoutEffect.CnJ9AMFS.js";
11
+ import { i as K } from "./is-animation-disabled.B-V_68K-.js";
12
+ import '../assets/Stepper.BCpjMiOX.css';const bt = ["prev", "next"], x = 48, Q = "ds-stepper_root_1vtkh_1", U = "ds-stepper_root--vertical_1vtkh_12", X = "ds-stepper_scroller--centered_1vtkh_17", Y = "ds-stepper_scroller-button_1vtkh_21", Z = "ds-stepper_list_1vtkh_26", tt = "ds-stepper_list--center_1vtkh_35", et = "ds-stepper_list--vertical_1vtkh_38", a = {
13
+ root: Q,
14
+ rootVertical: U,
15
+ scrollerCentered: X,
16
+ scrollerButton: Y,
17
+ list: Z,
18
+ listCenter: tt,
19
+ listVertical: et
20
+ }, _t = ["left", "center"], Et = ["horizontal", "vertical"], rt = ({
22
21
  aria: e,
23
22
  steps: n
24
23
  }) => {
25
24
  if (!e || typeof e != "object" || Object.keys(e).length === 0 || !e["aria-label"] && !e["aria-labelledby"] || e["aria-label"]?.trim() === "" && e["aria-labelledby"]?.trim() === "")
26
25
  throw new Error(i("DSStepper", 'A valid "aria-label" or "aria-labelledby" property is required. Ensure the "aria" prop is a non-empty object and includes either "aria-label" or "aria-labelledby" with a non-empty string value.'));
27
26
  if (!Array.isArray(n))
28
- throw new Error(i("DSStepper", j("steps", "DSStepper")));
27
+ throw new Error(i("DSStepper", F("steps", "DSStepper")));
29
28
  if (n.length < 2)
30
29
  throw new Error(i("DSStepper", "The steps array must contain at least two steps."));
31
30
  n.forEach((t, s) => {
@@ -34,60 +33,60 @@ import '../assets/Stepper.BCpjMiOX.css';const _t = ["prev", "next"], L = 48, K =
34
33
  if (t?.state === "current" && t?.disabled)
35
34
  throw new Error(i("DSStepper", `The step at index ${s} has a current state but is disabled. Please remove the disabled property if this step is the current step.`));
36
35
  });
37
- }, rt = {
36
+ }, ot = {
38
37
  current: "Current step",
39
38
  completed: "completed",
40
39
  step: "Step",
41
40
  of: "of"
42
- }, ot = {
41
+ }, st = {
43
42
  current: "Aktueller Schritt",
44
43
  completed: "abgeschlossen",
45
44
  step: "Schritt",
46
45
  of: "von"
47
- }, st = {
48
- en: rt,
49
- de: ot
50
- }, nt = (e) => e.find((t) => t.state === "current") || e.findLast((t) => t.state) || e[0], x = (e) => e.findIndex((n) => n.state === "current"), lt = (e, n) => !!e && e === "completed" && !n, Tt = ({
46
+ }, w = {
47
+ en: ot,
48
+ de: st
49
+ }, nt = (e) => e.find((t) => t.state === "current") || e.findLast((t) => t.state) || e[0], y = (e) => e.findIndex((n) => n.state === "current"), lt = (e, n) => !!e && e === "completed" && !n, Tt = ({
51
50
  aria: e,
52
51
  className: n,
53
52
  steps: t,
54
53
  orientation: s = "horizontal",
55
54
  alignment: S = "left",
56
- lang: w = "en",
57
- translations: y,
58
- onStepChange: A,
59
- ...k
55
+ lang: m = "en",
56
+ translations: A,
57
+ onStepChange: k,
58
+ ...P
60
59
  }) => {
61
- process.env.NODE_ENV !== "production" && et({
60
+ process.env.NODE_ENV !== "production" && rt({
62
61
  aria: e,
63
62
  steps: t
64
63
  });
65
- const p = H(y || st[w]), m = N((o) => {
66
- G(o, "DSStepper");
67
- }, []), b = N(() => {
64
+ const p = J(A || w[m] || w.en, m), b = I((o) => {
65
+ q(o, "DSStepper");
66
+ }, []), _ = I(() => {
68
67
  const o = nt(t), r = `${p("current")}: ${t.indexOf(o) + 1} ${p("of")} ${t.length} - ${o.label}`;
69
- m(r);
70
- }, [t, p, m]);
71
- W(() => {
72
- b();
73
- }, [t, b]);
74
- const P = (o, r) => {
68
+ b(r);
69
+ }, [t, p, b]);
70
+ j(() => {
71
+ _();
72
+ }, [t, _]);
73
+ const O = (o, r) => {
75
74
  const {
76
75
  state: l,
77
76
  disabled: c
78
77
  } = t[o];
79
- lt(l, c) && (t[o].onClick?.(r), A(o));
80
- }, O = h(a.root, {
78
+ lt(l, c) && (t[o].onClick?.(r), k(o));
79
+ }, M = h(a.root, {
81
80
  [a.rootVertical]: s === "vertical"
82
- }, n), M = h(a.list, {
81
+ }, n), B = h(a.list, {
83
82
  [a.listVertical]: s === "vertical",
84
83
  [a.listCenter]: s === "horizontal" && S === "center"
85
- }), B = h({
84
+ }), $ = h({
86
85
  [a.scrollerCentered]: s === "horizontal" && S === "center"
87
- }), _ = d([]), g = /* @__PURE__ */ f("ol", { className: M, children: t.map((o, r) => /* @__PURE__ */ f(J, { step: o, index: r, stepsCount: t.length, t: p, orientation: s, onStepClick: (l) => P(r, l), buttonRef: (l) => {
88
- _.current[r] = l;
89
- } }, r)) }), E = d(null), T = d(!1);
90
- I(() => {
86
+ }), E = d([]), T = /* @__PURE__ */ f("ol", { className: B, children: t.map((o, r) => /* @__PURE__ */ f(G, { step: o, index: r, stepsCount: t.length, t: p, orientation: s, onStepClick: (l) => O(r, l), buttonRef: (l) => {
87
+ E.current[r] = l;
88
+ } }, r)) }), g = d(null), C = d(!1);
89
+ L(() => {
91
90
  if (s !== "horizontal")
92
91
  return;
93
92
  const o = [
@@ -101,46 +100,46 @@ import '../assets/Stepper.BCpjMiOX.css';const _t = ["prev", "next"], L = 48, K =
101
100
  // utility-small - number/hint base (regular variant for hint)
102
101
  ];
103
102
  Promise.all(o.map((r) => document.fonts.load(r))).then(() => {
104
- T.current = !0, x(t) !== -1 && C("instant");
103
+ C.current = !0, y(t) !== -1 && v("instant");
105
104
  }).catch((r) => {
106
105
  throw new Error(i("DSStepper", `The component requires the fonts to be loaded: ${r}`));
107
106
  });
108
107
  }, [s]);
109
- const C = (o = "smooth") => {
108
+ const v = (o = "smooth") => {
110
109
  if (s !== "horizontal")
111
110
  return;
112
- const r = x(t);
111
+ const r = y(t);
113
112
  if (r === -1)
114
113
  return;
115
- const l = _.current[r], c = E.current;
114
+ const l = E.current[r], c = g.current;
116
115
  if (!l || !c)
117
116
  return;
118
- const v = l.getBoundingClientRect(), R = c.getBoundingClientRect();
119
- if (v.left - L >= R.left && v.right + L <= R.right)
117
+ const R = l.getBoundingClientRect(), D = c.getBoundingClientRect();
118
+ if (R.left - x >= D.left && R.right + x <= D.right)
120
119
  return;
121
- const $ = l.offsetLeft, z = l.offsetWidth, D = c.clientWidth;
122
- let u = $ - Math.max(0, (D - z) / 2);
123
- const V = c.scrollWidth - D;
124
- u = Math.min(Math.max(0, u), V), c.scrollTo({
120
+ const z = l.offsetLeft, V = l.offsetWidth, N = c.clientWidth;
121
+ let u = z - Math.max(0, (N - V) / 2);
122
+ const W = c.scrollWidth - N;
123
+ u = Math.min(Math.max(0, u), W), c.scrollTo({
125
124
  left: u,
126
- behavior: q() ? "instant" : o
125
+ behavior: K() ? "instant" : o
127
126
  });
128
127
  };
129
- return I(() => {
130
- T.current && C("smooth");
131
- }, [t, s]), /* @__PURE__ */ f("nav", { className: O, ...k, ...e, children: s === "horizontal" ? /* @__PURE__ */ f(F, { ref: E, className: a.scroller, scrollerClassName: B, scrollerButtonClassName: a.scrollerButton, children: g }) : g });
128
+ return L(() => {
129
+ C.current && v("smooth");
130
+ }, [t, s]), /* @__PURE__ */ f("nav", { className: M, ...P, ...e, children: s === "horizontal" ? /* @__PURE__ */ f(H, { ref: g, className: a.scroller, scrollerClassName: $, scrollerButtonClassName: a.scrollerButton, children: T }) : T });
132
131
  };
133
132
  export {
134
133
  Tt as D,
135
- _t as S,
136
- st as a,
137
- ot as b,
138
- rt as c,
139
- L as d,
140
- gt as e,
134
+ bt as S,
135
+ w as a,
136
+ st as b,
137
+ ot as c,
138
+ x as d,
139
+ _t as e,
141
140
  Et as f,
142
141
  nt as g,
143
- x as h,
142
+ y as h,
144
143
  lt as i,
145
- et as v
144
+ rt as v
146
145
  };
@@ -0,0 +1,43 @@
1
+ "use client";
2
+ import { jsxs as p, jsx as E } from "react/jsx-runtime";
3
+ import { d as h } from "./index.cKLI89Eg.js";
4
+ import { c as x } from "./index.DQOqod3i.js";
5
+ import "react";
6
+ import { D as g } from "./Icon.DYtaQgbw.js";
7
+ import '../assets/SystemFeedback.DVMml_h9.css';const u = "ds-system-feedback_root_veno1_1", v = "ds-system-feedback_root--dark_veno1_17", D = {
8
+ root: u,
9
+ rootDark: v
10
+ }, I = ["success", "error", "warning"], A = {
11
+ success: "circle-check-colored",
12
+ error: "diamond-exclamationmark-colored",
13
+ warning: "triangle-exclamationmark-colored"
14
+ }, M = (S) => {
15
+ const t = h.c(19), d = S;
16
+ let e, o, s, r, c, n;
17
+ t[0] !== d ? ({
18
+ id: o,
19
+ message: s,
20
+ theme: c,
21
+ variant: n,
22
+ className: e,
23
+ ...r
24
+ } = d, t[0] = d, t[1] = e, t[2] = o, t[3] = s, t[4] = r, t[5] = c, t[6] = n) : (e = t[1], o = t[2], s = t[3], r = t[4], c = t[5], n = t[6]);
25
+ const l = c === void 0 ? "light" : c, k = l === "dark";
26
+ let i;
27
+ t[7] !== e || t[8] !== k ? (i = x(D.root, e, {
28
+ [D.rootDark]: k
29
+ }), t[7] = e, t[8] = k, t[9] = i) : i = t[9];
30
+ const _ = i, f = A[n];
31
+ let a;
32
+ t[10] !== f || t[11] !== l ? (a = /* @__PURE__ */ E(g, { name: f, theme: l, "aria-hidden": "true" }), t[10] = f, t[11] = l, t[12] = a) : a = t[12];
33
+ let m;
34
+ return t[13] !== o || t[14] !== s || t[15] !== r || t[16] !== _ || t[17] !== a ? (m = /* @__PURE__ */ p("div", { id: o, className: _, ...r, children: [
35
+ a,
36
+ s
37
+ ] }), t[13] = o, t[14] = s, t[15] = r, t[16] = _, t[17] = a, t[18] = m) : m = t[18], m;
38
+ };
39
+ export {
40
+ M as D,
41
+ A as S,
42
+ I as a
43
+ };
@@ -2,8 +2,8 @@
2
2
  import { jsx as E, jsxs as M } from "react/jsx-runtime";
3
3
  import { d as q } from "./index.cKLI89Eg.js";
4
4
  import { useState as C } from "react";
5
- import { TabList as V } from "../tablist.BjKwrLz9.js";
6
- import { TabPane as $ } from "../tabpane.7vMXUKFX.js";
5
+ import { TabList as V } from "../tablist.BAm0_UIG.js";
6
+ import { TabPane as $ } from "../tabpane.B9rZghU6.js";
7
7
  import { g as j } from "./TabPane.utils.DG16Y2uD.js";
8
8
  import { g as p, r as B } from "./helpers.CexwVao7.js";
9
9
  const J = ["left", "center"], K = ["prev", "next"], O = ({
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import { a as e } from "./helpers.CexwVao7.js";
3
+ const n = ["address", "blockquote", "cite", "div", "dd", "dfn", "dt", "figcaption", "legend", "li", "p", "span", "time"], l = ["large", "medium", "small", "x-small", "xx-small"], m = ["bold", "normal"], r = (a, s) => Array.isArray(s) ? s.some((t) => !!e(a, t)) : !!e(a, s);
4
+ export {
5
+ l as T,
6
+ n as a,
7
+ m as b,
8
+ r as i
9
+ };
@@ -0,0 +1,82 @@
1
+ "use client";
2
+ import { jsx as M } from "react/jsx-runtime";
3
+ import { d as X } from "./index.cKLI89Eg.js";
4
+ import { c as N } from "./index.DQOqod3i.js";
5
+ import { useRef as P, useEffect as Y } from "react";
6
+ import { i as L } from "./Text.utils.DzlY9pJS.js";
7
+ import { g as x } from "./helpers.CexwVao7.js";
8
+ import '../assets/TextUtility.BThulfyl.css';const $ = "ds-text-utility_root_5fggr_6", z = "ds-text-utility_root--large_5fggr_15", G = "ds-text-utility_root--large-bold_5fggr_26", R = "ds-text-utility_root--medium_5fggr_38", W = "ds-text-utility_root--medium-bold_5fggr_49", j = "ds-text-utility_root--small_5fggr_61", q = "ds-text-utility_root--small-bold_5fggr_72", A = "ds-text-utility_root--small-demi_5fggr_84", C = "ds-text-utility_root--x-small-demi_5fggr_94", H = "ds-text-utility_root--theme-dark_5fggr_205", l = {
9
+ root: $,
10
+ rootLarge: z,
11
+ rootLargeBold: G,
12
+ rootMedium: R,
13
+ rootMediumBold: W,
14
+ rootSmall: j,
15
+ rootSmallBold: q,
16
+ rootSmallDemi: A,
17
+ rootXSmallDemi: C,
18
+ rootThemeDark: H
19
+ }, tt = ["address", "blockquote", "cite", "div", "dd", "dfn", "dt", "figcaption", "legend", "li", "p", "span", "time"], ot = ["large", "medium", "small", "x-small"], et = ["bold", "demi", "normal"], O = ({
20
+ size: r,
21
+ weight: t
22
+ }) => {
23
+ t === "demi" && r !== "small" && r !== "x-small" && console.warn(x("DSTextUtility", 'Invalid prop combination: weight "demi" is only supported on sizes "small" and "x-small".')), r === "x-small" && t !== "demi" && console.warn(x("DSTextUtility", 'Invalid prop combination: size "x-small" only supports weight "demi".'));
24
+ }, lt = (r) => {
25
+ const t = X.c(29);
26
+ let s, a, m, n, d, c, g;
27
+ t[0] !== r ? ({
28
+ children: s,
29
+ className: a,
30
+ size: n,
31
+ tag: d,
32
+ theme: c,
33
+ weight: g,
34
+ ...m
35
+ } = r, t[0] = r, t[1] = s, t[2] = a, t[3] = m, t[4] = n, t[5] = d, t[6] = c, t[7] = g) : (s = t[1], a = t[2], m = t[3], n = t[4], d = t[5], c = t[6], g = t[7]);
36
+ const o = n === void 0 ? "medium" : n, i = d === void 0 ? "p" : d, k = c === void 0 ? "light" : c, e = g === void 0 ? "normal" : g, u = P(null);
37
+ let _, f;
38
+ t[8] !== o || t[9] !== i || t[10] !== e ? (_ = () => {
39
+ if (process.env.NODE_ENV !== "production" && (O({
40
+ size: o,
41
+ weight: e
42
+ }), u.current))
43
+ t: switch (i) {
44
+ case "li": {
45
+ if (!L(u.current, "ul, ol"))
46
+ throw Error(x("DSTextUtility", `The DSTextUtility component with the tag "${i}" is not within a list element (ul, ol). Please ensure it's placed correctly.`));
47
+ break t;
48
+ }
49
+ case "dt":
50
+ case "dd": {
51
+ if (!L(u.current, "dl"))
52
+ throw Error(x("DSTextUtility", `The DSTextUtility component with the tag "${i}" is not within a description list element (dl). Please ensure it's placed correctly.`));
53
+ break t;
54
+ }
55
+ default:
56
+ return;
57
+ }
58
+ }, f = [i, o, e], t[8] = o, t[9] = i, t[10] = e, t[11] = _, t[12] = f) : (_ = t[11], f = t[12]), Y(_, f);
59
+ const h = i, y = o === "large" && e === "normal", S = o === "large" && e === "bold", D = o === "medium" && e === "normal", b = o === "medium" && e === "bold", w = o === "small" && e === "normal", E = o === "small" && e === "bold", U = o === "small" && e === "demi", v = o === "x-small" && e === "demi", I = k === "dark";
60
+ let T;
61
+ t[13] !== a || t[14] !== b || t[15] !== w || t[16] !== E || t[17] !== U || t[18] !== v || t[19] !== I || t[20] !== y || t[21] !== S || t[22] !== D ? (T = N(l.root, a, {
62
+ [l.rootLarge]: y,
63
+ [l.rootLargeBold]: S,
64
+ [l.rootMedium]: D,
65
+ [l.rootMediumBold]: b,
66
+ [l.rootSmall]: w,
67
+ [l.rootSmallBold]: E,
68
+ [l.rootSmallDemi]: U,
69
+ [l.rootXSmallDemi]: v,
70
+ [l.rootThemeDark]: I
71
+ }), t[13] = a, t[14] = b, t[15] = w, t[16] = E, t[17] = U, t[18] = v, t[19] = I, t[20] = y, t[21] = S, t[22] = D, t[23] = T) : T = t[23];
72
+ const B = T;
73
+ let p;
74
+ return t[24] !== h || t[25] !== s || t[26] !== m || t[27] !== B ? (p = /* @__PURE__ */ M(h, { className: B, ref: u, ...m, children: s }), t[24] = h, t[25] = s, t[26] = m, t[27] = B, t[28] = p) : p = t[28], p;
75
+ };
76
+ export {
77
+ lt as D,
78
+ ot as T,
79
+ tt as a,
80
+ et as b,
81
+ O as v
82
+ };
@@ -0,0 +1,192 @@
1
+ "use client";
2
+ import { jsxs as o, jsx as p, Fragment as xe } from "react/jsx-runtime";
3
+ import { c as l } from "./index.DQOqod3i.js";
4
+ import { forwardRef as _e, useState as u, useRef as ve, useEffect as _ } from "react";
5
+ import { u as X } from "./useBreakpoint.1txsny17.js";
6
+ import { Asterisk as ke } from "../asterisk.Dwtdwpkq.js";
7
+ import { D as ge } from "./Popover.CxZZ_y1Z.js";
8
+ import { D as Ce } from "./SystemFeedback.DhWcYjnu.js";
9
+ import { g as I, p as Z } from "./helpers.CexwVao7.js";
10
+ import '../assets/Textarea.BO4AcRJD.css';const De = "ds-textarea_textarea_1mper_1", ye = "ds-textarea_textarea--small_1mper_9", Se = "ds-textarea_textarea--invalid_1mper_127", we = "ds-textarea_textarea--dark_1mper_145", Te = "ds-textarea_textarea--resize-auto_1mper_259", Ie = "ds-textarea_root_1mper_269", Ae = "ds-textarea_hint_1mper_269", Ne = "ds-textarea_label-wrapper_1mper_269", Le = "ds-textarea_label_1mper_269", Re = "ds-textarea_label--disabled_1mper_491", Fe = "ds-textarea_label--dark_1mper_495", Ee = "ds-textarea_label-wrapper--hidden_1mper_511", He = "ds-textarea_hint--dark_1mper_538", ze = "ds-textarea_feedback_1mper_542", Pe = "ds-textarea_footer_1mper_546", Ve = "ds-textarea_footer--has-system-feedback_1mper_551", $e = "ds-textarea_char-count_1mper_560", We = "ds-textarea_char-count--dark_1mper_572", Be = "ds-textarea_char-count-announcer_1mper_576", e = {
11
+ textarea: De,
12
+ textareaSmall: ye,
13
+ textareaInvalid: Se,
14
+ textareaDark: we,
15
+ textareaResizeAuto: Te,
16
+ root: Ie,
17
+ hint: Ae,
18
+ labelWrapper: Ne,
19
+ label: Le,
20
+ labelDisabled: Re,
21
+ labelDark: Fe,
22
+ labelWrapperHidden: Ee,
23
+ hintDark: He,
24
+ feedback: ze,
25
+ footer: Pe,
26
+ footerHasSystemFeedback: Ve,
27
+ charCount: $e,
28
+ charCountDark: We,
29
+ charCountAnnouncer: Be
30
+ }, Qe = ["medium", "small"], qe = ({
31
+ id: v,
32
+ label: i,
33
+ hideLabel: r,
34
+ popoverContent: h
35
+ }) => {
36
+ if (!v)
37
+ throw new Error(I("DSTextarea", 'A unique "id" prop is required. Please add a unique "id" prop to the DSTextarea component.'));
38
+ if (!i)
39
+ throw new Error(I("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}.`));
40
+ r && h && console.warn(I("DSTextarea", "Using a popover when hideLabel is set to true is not supported."));
41
+ }, je = _e((v, i) => {
42
+ const {
43
+ id: r,
44
+ label: h,
45
+ charsLimitText: G = "Character limit reached",
46
+ charsRemainingText: J = "Characters remaining:",
47
+ className: K,
48
+ defaultValue: Q,
49
+ disabled: A = !1,
50
+ hint: k,
51
+ hideLabel: N = !1,
52
+ invalid: s = !1,
53
+ maxLength: a,
54
+ popoverContent: g,
55
+ popoverInfoButtonProps: Y,
56
+ readonly: L = !1,
57
+ required: R = !1,
58
+ resize: b = "vertical",
59
+ size: ee = "medium",
60
+ systemFeedback: c,
61
+ theme: C = "light",
62
+ value: D,
63
+ wrapperClassName: ae,
64
+ onChange: F,
65
+ onInput: E,
66
+ ...te
67
+ } = v;
68
+ process.env.NODE_ENV !== "production" && qe({
69
+ id: r,
70
+ label: h,
71
+ hideLabel: X(N),
72
+ popoverContent: g
73
+ });
74
+ const [re, H] = u(Q || ""), [d, z] = u(0), [se, P] = u(0), [ne, V] = u("off"), [$, y] = u(c), [S, w] = u(s), W = D !== void 0, f = W ? D : re, n = ve(null), B = a !== void 0 && a > 0, T = S && $, oe = (t) => {
75
+ n.current = t, typeof i == "function" ? i(t) : i && (i.current = t);
76
+ }, q = X(N);
77
+ _(() => {
78
+ if (!a || a <= 0)
79
+ return;
80
+ d >= a * 0.8 ? V("polite") : V("off");
81
+ const t = setTimeout(() => {
82
+ P(a - d || 0);
83
+ }, 1e3);
84
+ return () => clearTimeout(t);
85
+ }, [d]), _(() => {
86
+ H(f || ""), m(), a && a > 0 && (z(f.toString().length || 0), P(a - f.toString().length || 0));
87
+ }, [D]), _(() => {
88
+ s && c ? (y(c), w(s)) : !s && a && a >= 0 && d >= a ? (w(!0), y(G)) : (y(c), w(s));
89
+ }, [s, S, c, d]), _(() => {
90
+ if (b === "auto")
91
+ return m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m);
92
+ }, [b, n.current]);
93
+ const le = l(e.root, ae), x = C === "dark", ie = l(e.textarea, K, {
94
+ [e.textareaDark]: x,
95
+ // small textarea
96
+ [e.textareaSmall]: ee === "small",
97
+ // invalid state
98
+ [e.textareaInvalid]: S,
99
+ // resize handling
100
+ [e.textareaResizeAuto]: b === "auto"
101
+ }), ce = l(e.label, {
102
+ [e.labelDark]: x,
103
+ [e.labelDisabled]: A
104
+ }), de = l(e.labelWrapper, {
105
+ // hide label only visually to keep them available for assistive technologies
106
+ [e.labelWrapperHidden]: q
107
+ }), ue = l(e.footer, {
108
+ [e.footerHasSystemFeedback]: T
109
+ }), j = `${r}-label`, M = `${r}-feedback`, O = `${r}-hint`, U = `${r}-char-count-announcer`, me = k ? ` ${O}` : "", m = () => {
110
+ if (n.current && b === "auto") {
111
+ n.current.style.height = "auto";
112
+ const t = Z(n.current.scrollHeight), fe = Z(2);
113
+ n.current.style.height = `${// We need to add 2px (border-top & border-bottom) to the scrollHeight to prevent the textarea
114
+ // from jumping as soon as the user starts typing.
115
+ t + fe}rem`;
116
+ }
117
+ }, pe = () => {
118
+ const t = [];
119
+ return a && a > 0 && t.push(U), s && c && t.push(M), t.length > 0 ? t.join(" ") : void 0;
120
+ }, he = (t) => {
121
+ E && E(t), a && a > 0 && z(n.current?.value.length || 0), m();
122
+ }, be = (t) => {
123
+ F && F(t), W || H(t.target.value);
124
+ };
125
+ return /* @__PURE__ */ o("div", { className: le, children: [
126
+ /* @__PURE__ */ o("div", { className: de, children: [
127
+ /* @__PURE__ */ o("label", { className: ce, id: j, htmlFor: r, children: [
128
+ h,
129
+ R && /* @__PURE__ */ p(ke, {})
130
+ ] }),
131
+ g && !q && /* @__PURE__ */ p(ge, { placement: "top", theme: C, defaultAnchorButtonProps: Y, children: g })
132
+ ] }),
133
+ k && /* @__PURE__ */ p("div", { className: l(e.hint, {
134
+ [e.hintDark]: x
135
+ }), id: O, children: k }),
136
+ /* @__PURE__ */ p(
137
+ "textarea",
138
+ {
139
+ className: ie,
140
+ id: r,
141
+ ...te,
142
+ ref: oe,
143
+ "aria-labelledby": `${j}${me}`,
144
+ "aria-describedby": pe(),
145
+ "aria-invalid": s,
146
+ "aria-disabled": L,
147
+ maxLength: a,
148
+ readOnly: L,
149
+ required: R,
150
+ disabled: A,
151
+ value: f,
152
+ defaultValue: void 0,
153
+ rows: void 0,
154
+ cols: void 0,
155
+ onChange: be,
156
+ onInput: he
157
+ }
158
+ ),
159
+ B || T ? /* @__PURE__ */ o("div", { className: ue, children: [
160
+ T && /* @__PURE__ */ p(Ce, { className: e.feedback, message: $, variant: "error", id: M, theme: C }),
161
+ B && /* @__PURE__ */ o(xe, { children: [
162
+ /* @__PURE__ */ o("div", { className: l(e.charCount, {
163
+ [e.charCountDark]: x
164
+ }), "aria-hidden": "true", children: [
165
+ d,
166
+ "/",
167
+ a
168
+ ] }),
169
+ /* @__PURE__ */ o(
170
+ "div",
171
+ {
172
+ className: e.charCountAnnouncer,
173
+ id: U,
174
+ "aria-live": ne,
175
+ "aria-atomic": "true",
176
+ children: [
177
+ J,
178
+ " ",
179
+ se
180
+ ]
181
+ }
182
+ )
183
+ ] })
184
+ ] }) : null
185
+ ] });
186
+ });
187
+ je.displayName = "DSTextarea";
188
+ export {
189
+ je as D,
190
+ Qe as T,
191
+ qe as v
192
+ };
@@ -3,7 +3,7 @@ import { jsx as D, jsxs as j } from "react/jsx-runtime";
3
3
  import { d as E } from "./index.cKLI89Eg.js";
4
4
  import { c as W } from "./index.DQOqod3i.js";
5
5
  import { forwardRef as L } from "react";
6
- import { D as M } from "./Button.COycNYUI.js";
6
+ import { D as M } from "./Button.CCol--xy.js";
7
7
  import { D as O } from "./Icon.DYtaQgbw.js";
8
8
  import '../assets/Toast.ChXfv24m.css';const P = "ds-toast_root_1gdlp_5", z = "ds-toast_root--closing_1gdlp_15", A = "ds-toast_root--success_1gdlp_66", R = "ds-toast_root--info_1gdlp_70", $ = "ds-toast_root--warning_1gdlp_74", q = "ds-toast_content_1gdlp_79", F = "ds-toast_content--hide-icon_1gdlp_86", G = "ds-toast_icon_1gdlp_90", J = "ds-toast_message_1gdlp_94", s = {
9
9
  root: P,