@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
@@ -4,17 +4,17 @@ import { d as D } from "./index.cKLI89Eg.js";
4
4
  import { c as v } from "./index.DQOqod3i.js";
5
5
  import le, { isValidElement as te, useRef as re, useEffect as ne, cloneElement as se } from "react";
6
6
  import { g as ee } from "./helpers.CexwVao7.js";
7
- import '../assets/ActionCard.gRQVVFWz.css';const ie = "ds-action-card_root_yc724_1", ce = "ds-action-card_root--elevated_yc724_24", de = "ds-action-card_root--clickable_yc724_27", me = "ds-action-card_primary-action_yc724_36", pe = "ds-action-card_media-wrapper_yc724_50", ye = "ds-action-card_header_yc724_50", fe = "ds-action-card_footer_yc724_50", _e = "ds-action-card_supplementary_yc724_50", ue = "ds-action-card_root--horizontal_yc724_63", he = "ds-action-card_content_yc724_82", Ne = "ds-action-card_content--padding-small_yc724_87", be = "ds-action-card_root--horizontal-has-supplementary_yc724_95", ge = "ds-action-card_root--padding-small_yc724_98", Se = "ds-action-card_primary-action-label_yc724_178", d = {
7
+ import '../assets/ActionCard.viEoC26n.css';const ie = "ds-action-card_root_1uhpd_1", ce = "ds-action-card_root--elevated_1uhpd_24", de = "ds-action-card_root--clickable_1uhpd_27", pe = "ds-action-card_primary-action_1uhpd_36", me = "ds-action-card_media-wrapper_1uhpd_50", fe = "ds-action-card_header_1uhpd_50", ue = "ds-action-card_footer_1uhpd_50", ye = "ds-action-card_supplementary_1uhpd_50", he = "ds-action-card_root--horizontal_1uhpd_64", _e = "ds-action-card_content_1uhpd_83", Ne = "ds-action-card_content--padding-small_1uhpd_88", be = "ds-action-card_root--horizontal-has-supplementary_1uhpd_96", ge = "ds-action-card_root--padding-small_1uhpd_99", Se = "ds-action-card_primary-action-label_1uhpd_179", d = {
8
8
  root: ie,
9
9
  rootElevated: ce,
10
10
  rootClickable: de,
11
- primaryAction: me,
12
- mediaWrapper: pe,
13
- header: ye,
14
- footer: fe,
15
- supplementary: _e,
16
- rootHorizontal: ue,
17
- content: he,
11
+ primaryAction: pe,
12
+ mediaWrapper: me,
13
+ header: fe,
14
+ footer: ue,
15
+ supplementary: ye,
16
+ rootHorizontal: he,
17
+ content: _e,
18
18
  contentPaddingSmall: Ne,
19
19
  rootHorizontalHasSupplementary: be,
20
20
  rootPaddingSmall: ge,
@@ -35,29 +35,29 @@ import '../assets/ActionCard.gRQVVFWz.css';const ie = "ds-action-card_root_yc724
35
35
  return le.Children.forEach(i, (a) => {
36
36
  if (!te(a))
37
37
  return;
38
- const l = a.type, o = e, r = o.displayName || o.name, m = l.displayName || l.name;
39
- (a.type === e || m === r) && t.push(a);
38
+ const l = a.type, o = e, r = o.displayName || o.name, p = l.displayName || l.name;
39
+ (a.type === e || p === r) && t.push(a);
40
40
  }), t;
41
41
  }, E = (i) => {
42
42
  const e = D.c(47);
43
- let t, a, l, o, r, m, c, p;
43
+ let t, a, l, o, r, p, c, m;
44
44
  e[0] !== i ? ({
45
45
  aria: t,
46
46
  className: l,
47
47
  classNameContentWrapper: o,
48
48
  children: a,
49
- orientation: m,
49
+ orientation: p,
50
50
  padding: c,
51
- variant: p,
51
+ variant: m,
52
52
  ...r
53
- } = i, e[0] = i, e[1] = t, e[2] = a, e[3] = l, e[4] = o, e[5] = r, e[6] = m, e[7] = c, e[8] = p) : (t = e[1], a = e[2], l = e[3], o = e[4], r = e[5], m = e[6], c = e[7], p = e[8]);
54
- const h = m === void 0 ? "vertical" : m, y = c === void 0 ? "medium" : c, b = p === void 0 ? "outlined" : p, N = re(null);
55
- let f;
56
- e[9] !== a ? (f = P(a, Q), e[9] = a, e[10] = f) : f = e[10];
57
- const g = f;
58
- let _;
59
- e[11] !== a ? (_ = P(a, U), e[11] = a, e[12] = _) : _ = e[12];
60
- const u = _;
53
+ } = i, e[0] = i, e[1] = t, e[2] = a, e[3] = l, e[4] = o, e[5] = r, e[6] = p, e[7] = c, e[8] = m) : (t = e[1], a = e[2], l = e[3], o = e[4], r = e[5], p = e[6], c = e[7], m = e[8]);
54
+ const _ = p === void 0 ? "vertical" : p, f = c === void 0 ? "medium" : c, b = m === void 0 ? "outlined" : m, N = re(null);
55
+ let u;
56
+ e[9] !== a ? (u = P(a, Q), e[9] = a, e[10] = u) : u = e[10];
57
+ const g = u;
58
+ let y;
59
+ e[11] !== a ? (y = P(a, U), e[11] = a, e[12] = y) : y = e[12];
60
+ const h = y;
61
61
  let n;
62
62
  e[13] !== a ? (n = P(a, Y), e[13] = a, e[14] = n) : n = e[14];
63
63
  const s = n;
@@ -66,7 +66,7 @@ import '../assets/ActionCard.gRQVVFWz.css';const ie = "ds-action-card_root_yc724
66
66
  const H = S;
67
67
  let z;
68
68
  e[17] !== a ? (z = P(a, Z), e[17] = a, e[18] = z) : z = e[18];
69
- const k = z, F = k.length > 0, M = h === "horizontal", W = y === "small", R = h === "horizontal" && s.length > 0, j = b === "elevated";
69
+ const k = z, F = k.length > 0, M = _ === "horizontal", W = f === "small", R = _ === "horizontal" && s.length > 0, j = b === "elevated";
70
70
  let L;
71
71
  e[19] !== l || e[20] !== F || e[21] !== W || e[22] !== R || e[23] !== j || e[24] !== M ? (L = v(d.root, l, {
72
72
  [d.rootHorizontal]: M,
@@ -75,7 +75,7 @@ import '../assets/ActionCard.gRQVVFWz.css';const ie = "ds-action-card_root_yc724
75
75
  [d.rootClickable]: F,
76
76
  [d.rootElevated]: j
77
77
  }), e[19] = l, e[20] = F, e[21] = W, e[22] = R, e[23] = j, e[24] = M, e[25] = L) : L = e[25];
78
- const q = L, O = y === "small";
78
+ const q = L, O = f === "small";
79
79
  let w;
80
80
  e[26] !== o || e[27] !== O ? (w = v(d.content, o, {
81
81
  [d.contentPaddingSmall]: O
@@ -94,10 +94,10 @@ import '../assets/ActionCard.gRQVVFWz.css';const ie = "ds-action-card_root_yc724
94
94
  e[31] !== B || e[32] !== I ? (T = [B, I], e[31] = B, e[32] = I, e[33] = T) : T = e[33], ne($, T);
95
95
  const G = t?.["aria-labelledby"], J = t?.["aria-label"];
96
96
  let A;
97
- e[34] !== V || e[35] !== u || e[36] !== g ? (A = /* @__PURE__ */ K("div", { className: V, children: [
97
+ e[34] !== V || e[35] !== h || e[36] !== g ? (A = /* @__PURE__ */ K("div", { className: V, children: [
98
98
  g,
99
- u
100
- ] }), e[34] = V, e[35] = u, e[36] = g, e[37] = A) : A = e[37];
99
+ h
100
+ ] }), e[34] = V, e[35] = h, e[36] = g, e[37] = A) : A = e[37];
101
101
  let x;
102
102
  return e[38] !== H || e[39] !== k || e[40] !== r || e[41] !== q || e[42] !== s || e[43] !== G || e[44] !== J || e[45] !== A ? (x = /* @__PURE__ */ K("article", { ...r, "aria-labelledby": G, "aria-label": J, ref: N, className: q, children: [
103
103
  k,
@@ -155,31 +155,31 @@ const Y = (i) => {
155
155
  Y.displayName = "DSActionCard.Supplementary";
156
156
  const Z = (i) => {
157
157
  const e = D.c(56);
158
- let t, a, l, o, r, m;
158
+ let t, a, l, o, r, p;
159
159
  e[0] !== i ? ({
160
160
  children: t,
161
161
  className: a,
162
162
  href: l,
163
163
  linkComponent: o,
164
164
  onClick: r,
165
- ...m
166
- } = i, e[0] = i, e[1] = t, e[2] = a, e[3] = l, e[4] = o, e[5] = r, e[6] = m) : (t = e[1], a = e[2], l = e[3], o = e[4], r = e[5], m = e[6]);
167
- let c, p, h, y, b, N, f, g, _, u;
168
- if (e[7] !== t || e[8] !== a || e[9] !== o || e[10] !== m) {
165
+ ...p
166
+ } = i, e[0] = i, e[1] = t, e[2] = a, e[3] = l, e[4] = o, e[5] = r, e[6] = p) : (t = e[1], a = e[2], l = e[3], o = e[4], r = e[5], p = e[6]);
167
+ let c, m, _, f, b, N, u, g, y, h;
168
+ if (e[7] !== t || e[8] !== a || e[9] !== o || e[10] !== p) {
169
169
  g = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
170
170
  e: {
171
- y = v(d.primaryAction, a) || void 0;
172
- const n = m;
171
+ f = v(d.primaryAction, a) || void 0;
172
+ const n = p;
173
173
  if (e[21] !== n ? ({
174
- download: p,
175
- hrefLang: h,
174
+ download: m,
175
+ hrefLang: _,
176
176
  ping: b,
177
177
  referrerPolicy: N,
178
- rel: f,
179
- target: _,
180
- type: u,
178
+ rel: u,
179
+ target: y,
180
+ type: h,
181
181
  ...c
182
- } = n, e[21] = n, e[22] = c, e[23] = p, e[24] = h, e[25] = b, e[26] = N, e[27] = f, e[28] = _, e[29] = u) : (c = e[22], p = e[23], h = e[24], b = e[25], N = e[26], f = e[27], _ = e[28], u = e[29]), o && te(o)) {
182
+ } = n, e[21] = n, e[22] = c, e[23] = m, e[24] = _, e[25] = b, e[26] = N, e[27] = u, e[28] = y, e[29] = h) : (c = e[22], m = e[23], _ = e[24], b = e[25], N = e[26], u = e[27], y = e[28], h = e[29]), o && te(o)) {
183
183
  let s;
184
184
  e[30] !== t ? (s = /* @__PURE__ */ C("span", { className: d.primaryActionLabel, children: t }), e[30] = t, e[31] = s) : s = e[31];
185
185
  let S;
@@ -188,28 +188,28 @@ const Z = (i) => {
188
188
  o.props.children
189
189
  ] }), e[32] = o.props.children, e[33] = s, e[34] = S) : S = e[34], g = se(o, {
190
190
  ...o.props,
191
- className: v(y, o.props.className),
191
+ className: v(f, o.props.className),
192
192
  children: S
193
193
  });
194
194
  break e;
195
195
  }
196
196
  }
197
- e[7] = t, e[8] = a, e[9] = o, e[10] = m, e[11] = c, e[12] = p, e[13] = h, e[14] = y, e[15] = b, e[16] = N, e[17] = f, e[18] = g, e[19] = _, e[20] = u;
197
+ e[7] = t, e[8] = a, e[9] = o, e[10] = p, e[11] = c, e[12] = m, e[13] = _, e[14] = f, e[15] = b, e[16] = N, e[17] = u, e[18] = g, e[19] = y, e[20] = h;
198
198
  } else
199
- c = e[11], p = e[12], h = e[13], y = e[14], b = e[15], N = e[16], f = e[17], g = e[18], _ = e[19], u = e[20];
199
+ c = e[11], m = e[12], _ = e[13], f = e[14], b = e[15], N = e[16], u = e[17], g = e[18], y = e[19], h = e[20];
200
200
  if (g !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
201
201
  return g;
202
202
  if (l) {
203
203
  let n;
204
204
  e[35] !== t ? (n = /* @__PURE__ */ C("span", { className: d.primaryActionLabel, children: t }), e[35] = t, e[36] = n) : n = e[36];
205
205
  let s;
206
- return e[37] !== c || e[38] !== p || e[39] !== l || e[40] !== h || e[41] !== y || e[42] !== b || e[43] !== N || e[44] !== f || e[45] !== n || e[46] !== _ || e[47] !== u ? (s = /* @__PURE__ */ C("a", { href: l, className: y, download: p, hrefLang: h, ping: b, referrerPolicy: N, rel: f, target: _, type: u, ...c, children: n }), e[37] = c, e[38] = p, e[39] = l, e[40] = h, e[41] = y, e[42] = b, e[43] = N, e[44] = f, e[45] = n, e[46] = _, e[47] = u, e[48] = s) : s = e[48], s;
206
+ return e[37] !== c || e[38] !== m || e[39] !== l || e[40] !== _ || e[41] !== f || e[42] !== b || e[43] !== N || e[44] !== u || e[45] !== n || e[46] !== y || e[47] !== h ? (s = /* @__PURE__ */ C("a", { href: l, className: f, download: m, hrefLang: _, ping: b, referrerPolicy: N, rel: u, target: y, type: h, ...c, children: n }), e[37] = c, e[38] = m, e[39] = l, e[40] = _, e[41] = f, e[42] = b, e[43] = N, e[44] = u, e[45] = n, e[46] = y, e[47] = h, e[48] = s) : s = e[48], s;
207
207
  }
208
208
  if (r) {
209
209
  let n;
210
210
  e[49] !== t ? (n = /* @__PURE__ */ C("span", { className: d.primaryActionLabel, children: t }), e[49] = t, e[50] = n) : n = e[50];
211
211
  let s;
212
- return e[51] !== c || e[52] !== y || e[53] !== r || e[54] !== n ? (s = /* @__PURE__ */ C("button", { type: "button", className: y, onClick: r, ...c, children: n }), e[51] = c, e[52] = y, e[53] = r, e[54] = n, e[55] = s) : s = e[55], s;
212
+ return e[51] !== c || e[52] !== f || e[53] !== r || e[54] !== n ? (s = /* @__PURE__ */ C("button", { type: "button", className: f, onClick: r, ...c, children: n }), e[51] = c, e[52] = f, e[53] = r, e[54] = n, e[55] = s) : s = e[55], s;
213
213
  }
214
214
  return null;
215
215
  };
@@ -0,0 +1,166 @@
1
+ "use client";
2
+ import { jsxs as _t, jsx as v, Fragment as wt } from "react/jsx-runtime";
3
+ import { d as bt } from "./index.cKLI89Eg.js";
4
+ import { c as $ } from "./index.DQOqod3i.js";
5
+ import { forwardRef as It } from "react";
6
+ import { D as Nt } from "./Icon.DYtaQgbw.js";
7
+ import { NumberIndicator as kt } from "../numberindicator.DsK65Bj3.js";
8
+ import { Tooltip as mt } from "../tooltip.BFQG-7VR.js";
9
+ import { g as k } from "./helpers.CexwVao7.js";
10
+ import '../assets/ActionLink.B1Jjaf7k.css';const ut = "ds-action-link_root_j17qw_1", At = "ds-action-link_root--indent-level-1_j17qw_75", gt = "ds-action-link_root--active_j17qw_78", Wt = "ds-action-link_root--active--with-marker_j17qw_81", Lt = "ds-action-link_root--icon--top_j17qw_84", St = "ds-action-link_root--stretched_j17qw_110", Dt = "ds-action-link_root--dark_j17qw_114", jt = "ds-action-link_active-marker_j17qw_164", qt = "ds-action-link_active-marker--with-indent_j17qw_176", Pt = "ds-action-link_active-marker--dark_j17qw_179", Tt = "ds-action-link_icon-wrapper_j17qw_188", Mt = "ds-action-link_icon-wrapper--x-large_j17qw_191", xt = "ds-action-link_icon-wrapper--with-number-indicator_j17qw_194", Ct = "ds-action-link_icon-wrapper--with-number-indicator--with-value_j17qw_202", Et = "ds-action-link_label_j17qw_206", Ot = "ds-action-link_label--bold_j17qw_217", zt = "ds-action-link_label--active_j17qw_229", Vt = "ds-action-link_label--icon-top_j17qw_241", yt = "ds-action-link_number-indicator_j17qw_264", e = {
11
+ root: ut,
12
+ rootIndentLevel1: At,
13
+ rootActive: gt,
14
+ rootActiveWithMarker: Wt,
15
+ rootIconTop: Lt,
16
+ rootStretched: St,
17
+ rootDark: Dt,
18
+ activeMarker: jt,
19
+ activeMarkerWithIndent: qt,
20
+ activeMarkerDark: Pt,
21
+ iconWrapper: Tt,
22
+ iconWrapperXLarge: Mt,
23
+ iconWrapperWithNumberIndicator: xt,
24
+ iconWrapperWithNumberIndicatorWithValue: Ct,
25
+ label: Et,
26
+ labelBold: Ot,
27
+ labelActive: zt,
28
+ labelIconTop: Vt,
29
+ numberIndicator: yt
30
+ }, Qt = ["left", "top"], Ut = ["large", "x-large"], Yt = [0, 1], te = ["normal", "bold"], Kt = ({
31
+ iconName: w,
32
+ iconSize: b,
33
+ iconSource: t,
34
+ iconPosition: s,
35
+ indentLevel: p,
36
+ stretched: d,
37
+ weight: h,
38
+ numberIndicatorValue: r,
39
+ numberIndicatorAriaLabel: n
40
+ }) => {
41
+ if (w && !t && b === "x-large" && console.warn(k("DSActionLink", 'An "iconSize" prop set to "x-large" has no effect when "iconName" is set. Please remove the "iconSize" prop or provide a custom icon via the "iconSource" prop.')), s === "top") {
42
+ if (!w && !t)
43
+ throw new Error(k("DSActionLink", 'The "iconPosition" prop should not be set to "top", when no "iconName" or "iconSource" prop was provided. Please either remove the "iconPosition" prop or set a valid icon via the "iconName" or "iconSource" prop.'));
44
+ b === "x-large" && console.warn(k("DSActionLink", 'An "iconSize" prop set to "x-large" has no effect when "iconPosition" is set to "top". Please remove the "iconSize" prop.')), h === "bold" && console.warn(k("DSActionLink", 'A "weight" prop set to "bold" with "iconPosition" set to "top" has no effect. Please remove the "weight" prop.')), p === 1 && console.warn(k("DSActionLink", 'An "indentLevel" prop set to "1" with "iconPosition" set to "top" has no effect. Please remove the "indentLevel" prop.')), d && console.warn(k("DSActionLink", 'A "stretched" prop set to "true" with "iconPosition" set to "top" has no effect. Please remove the "stretched" prop.'));
45
+ }
46
+ (r || r === "") && !n && console.warn(k("DSActionLink", "Please provide a descriptive aria-label for the Number Indicator for better accessibility."));
47
+ }, Bt = It((w, b) => {
48
+ const t = bt.c(91);
49
+ let s, p, d, h, r, n, a, c, i, I, N, u, T, M, x, C, E, O, z, V, f;
50
+ t[0] !== w ? ({
51
+ children: p,
52
+ aria: s,
53
+ className: d,
54
+ download: h,
55
+ href: r,
56
+ iconName: n,
57
+ iconPosition: T,
58
+ iconSize: M,
59
+ iconSource: a,
60
+ indentLevel: x,
61
+ isActive: C,
62
+ numberIndicatorValue: i,
63
+ numberIndicatorAriaLabel: c,
64
+ referrerPolicy: I,
65
+ rel: N,
66
+ stretched: E,
67
+ target: O,
68
+ theme: z,
69
+ tooltip: f,
70
+ weight: V,
71
+ ...u
72
+ } = w, t[0] = w, t[1] = s, t[2] = p, t[3] = d, t[4] = h, t[5] = r, t[6] = n, t[7] = a, t[8] = c, t[9] = i, t[10] = I, t[11] = N, t[12] = u, t[13] = T, t[14] = M, t[15] = x, t[16] = C, t[17] = E, t[18] = O, t[19] = z, t[20] = V, t[21] = f) : (s = t[1], p = t[2], d = t[3], h = t[4], r = t[5], n = t[6], a = t[7], c = t[8], i = t[9], I = t[10], N = t[11], u = t[12], T = t[13], M = t[14], x = t[15], C = t[16], E = t[17], O = t[18], z = t[19], V = t[20], f = t[21]);
73
+ const o = T === void 0 ? "left" : T, y = M === void 0 ? "large" : M, J = x === void 0 ? 0 : x, _ = C === void 0 ? !1 : C, vt = E === void 0 ? !1 : E, Q = O === void 0 ? "_self" : O, m = z === void 0 ? "light" : z, ft = V === void 0 ? "normal" : V;
74
+ process.env.NODE_ENV !== "production" && Kt({
75
+ iconName: n,
76
+ iconSize: y,
77
+ iconSource: a,
78
+ iconPosition: o,
79
+ indentLevel: J,
80
+ numberIndicatorValue: i,
81
+ numberIndicatorAriaLabel: c,
82
+ stretched: vt,
83
+ weight: ft
84
+ });
85
+ let K;
86
+ t[22] !== i ? (K = i?.trim(), t[22] = i, t[23] = K) : K = t[23];
87
+ const l = K === "", A = m === "dark", U = o === "top", Y = J === 1, tt = _ && o === "left", et = vt === !0 && o === "left";
88
+ let B;
89
+ t[24] !== d || t[25] !== _ || t[26] !== A || t[27] !== U || t[28] !== Y || t[29] !== tt || t[30] !== et ? (B = $(e.root, d, {
90
+ [e.rootDark]: A,
91
+ [e.rootIconTop]: U,
92
+ [e.rootIndentLevel1]: Y,
93
+ [e.rootActive]: _,
94
+ [e.rootActiveWithMarker]: tt,
95
+ [e.rootStretched]: et
96
+ }), t[24] = d, t[25] = _, t[26] = A, t[27] = U, t[28] = Y, t[29] = tt, t[30] = et, t[31] = B) : B = t[31];
97
+ const ot = B, it = J === 1;
98
+ let X;
99
+ t[32] !== A || t[33] !== it ? (X = $(e.activeMarker, {
100
+ [e.activeMarkerDark]: A,
101
+ [e.activeMarkerWithIndent]: it
102
+ }), t[32] = A, t[33] = it, t[34] = X) : X = t[34];
103
+ const nt = X, rt = _ && o === "left", at = ft === "bold", ct = o === "top";
104
+ let H;
105
+ t[35] !== rt || t[36] !== at || t[37] !== ct ? (H = $(e.label, {
106
+ [e.labelActive]: rt,
107
+ [e.labelBold]: at,
108
+ [e.labelIconTop]: ct
109
+ }), t[35] = rt, t[36] = at, t[37] = ct, t[38] = H) : H = t[38];
110
+ const lt = H, st = y === "x-large", pt = (n || a) && (i || l), dt = (n || a) && !l;
111
+ let F;
112
+ t[39] !== st || t[40] !== pt || t[41] !== dt ? (F = $(e.iconWrapper, {
113
+ [e.iconWrapperXLarge]: st,
114
+ [e.iconWrapperWithNumberIndicator]: pt,
115
+ [e.iconWrapperWithNumberIndicatorWithValue]: dt
116
+ }), t[39] = st, t[40] = pt, t[41] = dt, t[42] = F) : F = t[42];
117
+ const ht = F, g = r === void 0 ? "span" : "a";
118
+ let W;
119
+ t[43] !== g || t[44] !== h || t[45] !== r || t[46] !== I || t[47] !== N || t[48] !== Q ? (W = g === "a" && {
120
+ href: r,
121
+ target: Q,
122
+ rel: N,
123
+ referrerPolicy: I,
124
+ download: h
125
+ }, t[43] = g, t[44] = h, t[45] = r, t[46] = I, t[47] = N, t[48] = Q, t[49] = W) : W = t[49];
126
+ let L;
127
+ t[50] !== nt || t[51] !== o || t[52] !== _ ? (L = _ && o === "left" && /* @__PURE__ */ v("div", { className: nt }), t[50] = nt, t[51] = o, t[52] = _, t[53] = L) : L = t[53];
128
+ let S;
129
+ t[54] !== n || t[55] !== o || t[56] !== y || t[57] !== a || t[58] !== ht || t[59] !== l || t[60] !== c || t[61] !== i || t[62] !== m ? (S = (n || a) && /* @__PURE__ */ v(wt, { children: /* @__PURE__ */ _t("span", { className: ht, children: [
130
+ /* @__PURE__ */ v(Nt, { name: n, theme: m, source: a, "aria-hidden": "true", size: n || o === "top" ? "large" : y }),
131
+ (o === "left" && l || o === "top" && (i || l)) && /* @__PURE__ */ v(kt, { variant: "highlight", "aria-label": c, label: i, theme: m })
132
+ ] }) }), t[54] = n, t[55] = o, t[56] = y, t[57] = a, t[58] = ht, t[59] = l, t[60] = c, t[61] = i, t[62] = m, t[63] = S) : S = t[63];
133
+ let D;
134
+ t[64] !== p || t[65] !== lt ? (D = /* @__PURE__ */ v("span", { className: lt, children: p }), t[64] = p, t[65] = lt, t[66] = D) : D = t[66];
135
+ let j;
136
+ t[67] !== o || t[68] !== l || t[69] !== c || t[70] !== i || t[71] !== m ? (j = o === "left" && i && !l && /* @__PURE__ */ v(kt, { variant: "default", "aria-label": c, label: i, className: e.numberIndicator, theme: m }), t[67] = o, t[68] = l, t[69] = c, t[70] = i, t[71] = m, t[72] = j) : j = t[72];
137
+ let G;
138
+ t[73] !== g || t[74] !== s || t[75] !== b || t[76] !== u || t[77] !== ot || t[78] !== W || t[79] !== L || t[80] !== S || t[81] !== D || t[82] !== j ? (G = /* @__PURE__ */ _t(g, { className: ot, ...W, ...s, ...u, ref: b, children: [
139
+ L,
140
+ S,
141
+ D,
142
+ j
143
+ ] }), t[73] = g, t[74] = s, t[75] = b, t[76] = u, t[77] = ot, t[78] = W, t[79] = L, t[80] = S, t[81] = D, t[82] = j, t[83] = G) : G = t[83];
144
+ const R = G;
145
+ if (f) {
146
+ let q;
147
+ t[84] !== R ? (q = /* @__PURE__ */ v(mt.Anchor, { children: R }), t[84] = R, t[85] = q) : q = t[85];
148
+ let P;
149
+ t[86] !== f ? (P = /* @__PURE__ */ v(mt.Content, { children: f }), t[86] = f, t[87] = P) : P = t[87];
150
+ let Z;
151
+ return t[88] !== q || t[89] !== P ? (Z = /* @__PURE__ */ _t(mt, { placement: "top", tooltipOffset: 6, children: [
152
+ q,
153
+ P
154
+ ] }), t[88] = q, t[89] = P, t[90] = Z) : Z = t[90], Z;
155
+ }
156
+ return R;
157
+ });
158
+ Bt.displayName = "DSActionLink";
159
+ export {
160
+ Qt as A,
161
+ Bt as D,
162
+ Ut as a,
163
+ Yt as b,
164
+ te as c,
165
+ Kt as v
166
+ };
@@ -1,15 +1,13 @@
1
1
  "use client";
2
- import { h as l } from "./has-window.ut_-aShB.js";
3
2
  import { g as i } from "./helpers.CexwVao7.js";
4
- import "react";
5
- import "./index.cKLI89Eg.js";
3
+ import { h as l } from "./has-window.ut_-aShB.js";
6
4
  const n = "ds-alert-live-region", s = "ds-status-live-region", c = () => {
7
5
  if (l)
8
6
  return document.getElementById(n);
9
7
  }, u = () => {
10
8
  if (l)
11
9
  return document.getElementById(s);
12
- }, p = () => {
10
+ }, d = () => {
13
11
  if (!l)
14
12
  return;
15
13
  const t = document.querySelectorAll(`#${n}`), e = document.querySelectorAll(`#${s}`);
@@ -17,10 +15,10 @@ const n = "ds-alert-live-region", s = "ds-status-live-region", c = () => {
17
15
  throw new Error(i("DSAriaLiveRegions", `The DSAriaLiveRegions component with id="${n}" should only be present once on the page. Found ${t.length} instances.`));
18
16
  if (e.length > 1)
19
17
  throw new Error(i("DSAriaLiveRegions", `The DSAriaLiveRegions component with id="${s}" should only be present once on the page. Found ${e.length} instances.`));
20
- }, L = (t) => {
18
+ }, R = (t) => {
21
19
  if (!l || !document.body)
22
20
  return;
23
- p();
21
+ d();
24
22
  const e = c(), o = u();
25
23
  if (e && o)
26
24
  return;
@@ -32,7 +30,7 @@ const n = "ds-alert-live-region", s = "ds-status-live-region", c = () => {
32
30
  r.id = n, r.setAttribute("role", "alert"), r.className = t;
33
31
  const a = document.createElement("span");
34
32
  a.id = s, a.setAttribute("role", "status"), a.className = t, document.body.prepend(r, a);
35
- }, d = (t) => {
33
+ }, p = (t) => {
36
34
  const e = c();
37
35
  if (e)
38
36
  return e;
@@ -42,14 +40,14 @@ const n = "ds-alert-live-region", s = "ds-status-live-region", c = () => {
42
40
  if (e)
43
41
  return e;
44
42
  throw new Error(i(t, 'The DSAriaLiveRegions component has to be placed at the root of your application, as close to the "body" as possible, e.g. in your "App.tsx" or "layout.tsx". See the DSAriaLiveRegions documentation for setup options.'));
45
- }, m = 350, S = (t, e) => {
46
- const o = d(e);
43
+ }, A = 350, v = (t, e) => {
44
+ const o = p(e);
47
45
  o.innerText = t;
48
- }, f = (t, e) => {
46
+ }, L = (t, e) => {
49
47
  const o = h(e);
50
48
  o.innerText = t, setTimeout(() => {
51
49
  o.innerText = "";
52
- }, m);
50
+ }, A);
53
51
  };
54
52
  export {
55
53
  n as A,
@@ -57,9 +55,9 @@ export {
57
55
  c as b,
58
56
  u as c,
59
57
  h as d,
60
- L as e,
61
- f,
62
- d as g,
63
- S as s,
64
- p as v
58
+ R as e,
59
+ L as f,
60
+ p as g,
61
+ v as s,
62
+ d as v
65
63
  };
@@ -3,8 +3,8 @@ import { jsx as w, jsxs as C } from "react/jsx-runtime";
3
3
  import { d as V } from "./index.cKLI89Eg.js";
4
4
  import { c as F } from "./index.DQOqod3i.js";
5
5
  import { isValidElement as M, useState as I, useEffect as O, cloneElement as R } from "react";
6
- import { D as K } from "./Button.COycNYUI.js";
7
- import { DSLink as X } from "../link.aU1f2Xzu.js";
6
+ import { D as K } from "./Button.CCol--xy.js";
7
+ import { DSLink as X } from "../link.DEZDbUgq.js";
8
8
  import { g as d, r as z } from "./helpers.CexwVao7.js";
9
9
  import '../assets/Breadcrumb.BJ6sa2am.css';const G = "ds-breadcrumb_root_2qdaj_1", H = "ds-breadcrumb_show-all-button_2qdaj_30", T = {
10
10
  root: G,
@@ -0,0 +1,165 @@
1
+ "use client";
2
+ import { jsxs as kt, jsx as H } from "react/jsx-runtime";
3
+ import { d as yt } from "./index.cKLI89Eg.js";
4
+ import { c as vt } from "./index.DQOqod3i.js";
5
+ import { forwardRef as qt } from "react";
6
+ import { u as St } from "./useBreakpoint.1txsny17.js";
7
+ import { D as Nt } from "./Icon.DYtaQgbw.js";
8
+ import { DSSpinner as Ot } from "../spinner.DtLnsqVV.js";
9
+ import { Tooltip as pt } from "../tooltip.BFQG-7VR.js";
10
+ import { g as p } from "./helpers.CexwVao7.js";
11
+ import '../assets/Button.Bi1KUKMv.css';const Ft = "ds-button_root_eqbz4_1", Lt = "ds-button_root--highlight_eqbz4_76", wt = "ds-button_root--dark-highlight_eqbz4_76", It = "ds-button_root--filled_eqbz4_152", Bt = "ds-button_root--outline_eqbz4_180", Ht = "ds-button_root--ghost_eqbz4_207", Gt = "ds-button_root--ghost-flush_eqbz4_232", Tt = "ds-button_root--small_eqbz4_238", Pt = "ds-button_root--utility_eqbz4_318", Ut = "ds-button_loader_eqbz4_408", Ct = "ds-button_root--navigation_eqbz4_429", Et = "ds-button_root--navigation--stretched_eqbz4_507", At = "ds-button_root--navigation--stretched--icon-left_eqbz4_510", xt = "ds-button_root--dark-filled_eqbz4_513", Vt = "ds-button_root--dark-outline_eqbz4_570", jt = "ds-button_root--dark-ghost_eqbz4_626", Rt = "ds-button_root--dark-ghost-flush_eqbz4_680", Mt = "ds-button_root--dark-utility_eqbz4_742", Zt = "ds-button_root--stretched_eqbz4_855", $t = "ds-button_root--icon-left_eqbz4_858", Jt = "ds-button_root--icon-only_eqbz4_861", Kt = "ds-button_root--icon-only-small_eqbz4_877", Qt = "ds-button_icon--navigation_eqbz4_900", Wt = "ds-button_icon--hidden_eqbz4_907", Xt = "ds-button_label--hidden_eqbz4_911", Yt = "ds-button_label--loading_eqbz4_923", e = {
12
+ root: Ft,
13
+ rootHighlight: Lt,
14
+ rootDarkHighlight: wt,
15
+ rootFilled: It,
16
+ rootOutline: Bt,
17
+ rootGhost: Ht,
18
+ rootGhostFlush: Gt,
19
+ rootSmall: Tt,
20
+ rootUtility: Pt,
21
+ loader: Ut,
22
+ rootNavigation: Ct,
23
+ rootNavigationStretched: Et,
24
+ rootNavigationStretchedIconLeft: At,
25
+ rootDarkFilled: xt,
26
+ rootDarkOutline: Vt,
27
+ rootDarkGhost: jt,
28
+ rootDarkGhostFlush: Rt,
29
+ rootDarkUtility: Mt,
30
+ rootStretched: Zt,
31
+ rootIconLeft: $t,
32
+ rootIconOnly: Jt,
33
+ rootIconOnlySmall: Kt,
34
+ iconNavigation: Qt,
35
+ iconHidden: Wt,
36
+ labelHidden: Xt,
37
+ labelLoading: Yt
38
+ }, uo = ["medium", "small"], _o = ["highlight", "filled", "outline", "ghost", "utility", "navigation"], to = ({
39
+ hideLabel: D,
40
+ iconName: k,
41
+ iconSource: t,
42
+ isFlush: l,
43
+ size: d,
44
+ stretched: r,
45
+ theme: s,
46
+ variant: i
47
+ }) => {
48
+ if (i === "navigation" && (d === "small" && console.warn(p("DSButton", 'A "size" prop should not be used in combination with variant="navigation". Please remove the "size" prop.')), s === "dark"))
49
+ throw new Error(p("DSButton", 'A DSButton with variant="navigation" does not support theme="dark". Please remove the "theme" prop.'));
50
+ i !== "ghost" && l ? console.warn(p("DSButton", 'The "isFlush" prop only has an effect when used with variant="ghost". Please remove the "isFlush" prop or set variant="ghost".')) : i === "ghost" && l && r && console.warn(p("DSButton", 'The "stretched" and "isFlush" props do not have an effect when used together. Please remove one of them.')), D && (!k && !t && console.warn(p("DSButton", 'The "hideLabel" prop is set to true but no icon is provided via "iconName" or "iconSource". Please provide an icon to ensure the button is not empty when the label is hidden.')), r && console.warn(p("DSButton", 'The "stretched" and "hideLabel" props do not have an effect when used together. Please remove one of them.')));
51
+ }, oo = qt((D, k) => {
52
+ const t = yt.c(80);
53
+ let l, d, r, s, i, h, _, S, z, y, q, N, O, F, L, w, u;
54
+ t[0] !== D ? ({
55
+ children: d,
56
+ aria: l,
57
+ className: r,
58
+ disabled: S,
59
+ hideLabel: z,
60
+ iconName: s,
61
+ iconPosition: y,
62
+ iconSource: i,
63
+ isFlush: q,
64
+ loading: N,
65
+ size: O,
66
+ stretched: F,
67
+ theme: L,
68
+ tooltip: u,
69
+ variant: w,
70
+ onClick: h,
71
+ ..._
72
+ } = D, t[0] = D, t[1] = l, t[2] = d, t[3] = r, t[4] = s, t[5] = i, t[6] = h, t[7] = _, t[8] = S, t[9] = z, t[10] = y, t[11] = q, t[12] = N, t[13] = O, t[14] = F, t[15] = L, t[16] = w, t[17] = u) : (l = t[1], d = t[2], r = t[3], s = t[4], i = t[5], h = t[6], _ = t[7], S = t[8], z = t[9], y = t[10], q = t[11], N = t[12], O = t[13], F = t[14], L = t[15], w = t[16], u = t[17]);
73
+ const G = S === void 0 ? !1 : S, zt = z === void 0 ? !1 : z, j = y === void 0 ? "left" : y, I = q === void 0 ? !1 : q, n = N === void 0 ? !1 : N, T = O === void 0 ? "medium" : O, Dt = F === void 0 ? !1 : F, R = L === void 0 ? "light" : L, o = w === void 0 ? "filled" : w, b = St(zt), B = St(Dt);
74
+ process.env.NODE_ENV !== "production" && to({
75
+ hideLabel: b,
76
+ iconName: s,
77
+ iconSource: i,
78
+ isFlush: I,
79
+ size: T,
80
+ stretched: Dt,
81
+ theme: R,
82
+ variant: o
83
+ });
84
+ const a = R === "dark", M = o === "filled", Z = o === "highlight", $ = o === "outline", J = o === "ghost" && I !== !0, K = o === "utility", Q = o === "navigation", W = o === "navigation" && B && j === "right", X = o === "navigation" && B && j === "left", Y = o === "ghost" && I === !0, tt = a && o === "filled", ot = a && o === "highlight", et = a && o === "outline", nt = a && o === "ghost" && I !== !0, it = a && o === "utility", st = a && o === "ghost" && I === !0, lt = T === "small" || o === "navigation", rt = j === "left", at = b && T === "medium" && o !== "navigation", ct = b && T === "small" && o !== "navigation";
85
+ let P;
86
+ t[18] !== r || t[19] !== B || t[20] !== M || t[21] !== Z || t[22] !== $ || t[23] !== J || t[24] !== K || t[25] !== Q || t[26] !== W || t[27] !== X || t[28] !== Y || t[29] !== tt || t[30] !== ot || t[31] !== et || t[32] !== nt || t[33] !== it || t[34] !== st || t[35] !== lt || t[36] !== rt || t[37] !== at || t[38] !== ct ? (P = vt(e.root, r, {
87
+ [e.rootFilled]: M,
88
+ [e.rootHighlight]: Z,
89
+ [e.rootOutline]: $,
90
+ [e.rootGhost]: J,
91
+ [e.rootUtility]: K,
92
+ [e.rootNavigation]: Q,
93
+ [e.rootNavigationStretched]: W,
94
+ [e.rootNavigationStretchedIconLeft]: X,
95
+ [e.rootGhostFlush]: Y,
96
+ [e.rootDarkFilled]: tt,
97
+ [e.rootDarkHighlight]: ot,
98
+ [e.rootDarkOutline]: et,
99
+ [e.rootDarkGhost]: nt,
100
+ [e.rootDarkUtility]: it,
101
+ [e.rootDarkGhostFlush]: st,
102
+ [e.rootSmall]: lt,
103
+ [e.rootStretched]: B,
104
+ [e.rootIconLeft]: rt,
105
+ [e.rootIconOnly]: at,
106
+ [e.rootIconOnlySmall]: ct
107
+ }), t[18] = r, t[19] = B, t[20] = M, t[21] = Z, t[22] = $, t[23] = J, t[24] = K, t[25] = Q, t[26] = W, t[27] = X, t[28] = Y, t[29] = tt, t[30] = ot, t[31] = et, t[32] = nt, t[33] = it, t[34] = st, t[35] = lt, t[36] = rt, t[37] = at, t[38] = ct, t[39] = P) : P = t[39];
108
+ const dt = P;
109
+ let U;
110
+ t[40] !== n || t[41] !== b || t[42] !== o ? (U = vt({
111
+ [e.labelHidden]: b && o !== "navigation",
112
+ [e.labelLoading]: n
113
+ }) || void 0, t[40] = n, t[41] = b, t[42] = o, t[43] = U) : U = t[43];
114
+ const ht = U, ut = o === "navigation", _t = o === "utility";
115
+ let C;
116
+ t[44] !== n || t[45] !== ut || t[46] !== _t ? (C = vt({
117
+ [e.iconNavigation]: ut,
118
+ [e.iconUtility]: _t,
119
+ [e.iconHidden]: n
120
+ }), t[44] = n, t[45] = ut, t[46] = _t, t[47] = C) : C = t[47];
121
+ const bt = C, gt = R === "light" && o === "filled" || a && o === "outline" || a && o === "ghost" || a && o === "utility" ? "dark" : "light";
122
+ let E;
123
+ t[48] !== G || t[49] !== n || t[50] !== h ? (E = (c) => {
124
+ if (G || n) {
125
+ c.preventDefault();
126
+ return;
127
+ }
128
+ h && h(c);
129
+ }, t[48] = G, t[49] = n, t[50] = h, t[51] = E) : E = t[51];
130
+ const ft = E, mt = G || n;
131
+ let g;
132
+ t[52] !== n ? (g = n && /* @__PURE__ */ H(Ot, { className: e.loader, aria: {
133
+ "aria-label": "Loading state"
134
+ } }), t[52] = n, t[53] = g) : g = t[53];
135
+ let f;
136
+ t[54] !== d || t[55] !== ht ? (f = /* @__PURE__ */ H("span", { className: ht, children: d }), t[54] = d, t[55] = ht, t[56] = f) : f = t[56];
137
+ let m;
138
+ t[57] !== bt || t[58] !== s || t[59] !== i || t[60] !== gt ? (m = (s || i) && /* @__PURE__ */ H(Nt, { name: s, theme: gt, source: i, className: bt, "aria-hidden": "true" }), t[57] = bt, t[58] = s, t[59] = i, t[60] = gt, t[61] = m) : m = t[61];
139
+ let A;
140
+ t[62] !== l || t[63] !== ft || t[64] !== n || t[65] !== k || t[66] !== _ || t[67] !== dt || t[68] !== mt || t[69] !== g || t[70] !== f || t[71] !== m ? (A = /* @__PURE__ */ kt("button", { className: dt, type: "submit", onClick: ft, ...l, ..._, "aria-disabled": mt, "aria-busy": n, ref: k, children: [
141
+ g,
142
+ f,
143
+ m
144
+ ] }), t[62] = l, t[63] = ft, t[64] = n, t[65] = k, t[66] = _, t[67] = dt, t[68] = mt, t[69] = g, t[70] = f, t[71] = m, t[72] = A) : A = t[72];
145
+ const x = A;
146
+ if (u) {
147
+ let c;
148
+ t[73] !== x ? (c = /* @__PURE__ */ H(pt.Anchor, { children: x }), t[73] = x, t[74] = c) : c = t[74];
149
+ let v;
150
+ t[75] !== u ? (v = /* @__PURE__ */ H(pt.Content, { children: u }), t[75] = u, t[76] = v) : v = t[76];
151
+ let V;
152
+ return t[77] !== c || t[78] !== v ? (V = /* @__PURE__ */ kt(pt, { placement: "top", tooltipOffset: 6, children: [
153
+ c,
154
+ v
155
+ ] }), t[77] = c, t[78] = v, t[79] = V) : V = t[79], V;
156
+ }
157
+ return x;
158
+ });
159
+ oo.displayName = "DSButton";
160
+ export {
161
+ uo as B,
162
+ oo as D,
163
+ _o as a,
164
+ to as v
165
+ };