@stihl-design-system/components 1.0.0-RC.46 → 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 (311) hide show
  1. package/{accordion.Dvt4S5qg.js → accordion.D4XR2R7e.js} +3 -3
  2. package/actionbutton.C8hePX-D.js +12 -0
  3. package/{actioncard.BwquHtM_.js → actioncard.kDxu01xm.js} +1 -1
  4. package/actionlink.dccc5JQV.js +12 -0
  5. package/{arialiveregions.BF6mUlPU.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/Breadcrumb.BJ6sa2am.css +1 -0
  11. package/assets/Button.Bi1KUKMv.css +1 -0
  12. package/assets/Checkbox.C6RWhy0V.css +1 -0
  13. package/assets/Chip.DfamkUPw.css +1 -0
  14. package/assets/CustomReactSelect.CvWMmrAU.css +1 -0
  15. package/assets/Dialog.6AkQo8ew.css +1 -0
  16. package/assets/Drawer.CDOlX809.css +1 -0
  17. package/assets/Fieldset.BbLGXCWa.css +1 -0
  18. package/assets/Flag.qP1xbolI.css +1 -0
  19. package/assets/Header.CSPbSqR5.css +1 -0
  20. package/assets/InputFile.CDtghZtl.css +1 -0
  21. package/assets/InputNumber.BNpO9p7n.css +1 -0
  22. package/assets/InputPassword.BgZo-RUc.css +1 -0
  23. package/assets/InputSearch.BROFFTK9.css +1 -0
  24. package/assets/LinkButton.IKIlFnpH.css +1 -0
  25. package/assets/LinkCard.pJtgJRIh.css +1 -0
  26. package/assets/NavigationTabList.D5VV0C7Y.css +1 -0
  27. package/assets/Notification.2B81JHOp.css +1 -0
  28. package/assets/Pagination.DH71DZ0j.css +1 -0
  29. package/assets/Popover.58Tb0dOt.css +1 -0
  30. package/assets/Select.CfTN3CJo.css +1 -0
  31. package/assets/Slider.B4kzL60S.css +1 -0
  32. package/assets/Stepper.BCpjMiOX.css +1 -0
  33. package/assets/SystemFeedback.DVMml_h9.css +1 -0
  34. package/assets/TextUtility.BThulfyl.css +1 -0
  35. package/assets/Textarea.BO4AcRJD.css +1 -0
  36. package/assets/Toast.ChXfv24m.css +1 -0
  37. package/assets/buttonround.syTU1QSI.css +1 -0
  38. package/assets/chipgroup.DtCnsmS7.css +1 -0
  39. package/assets/filelist.B-Ru0GP_.css +1 -0
  40. package/assets/input.Dy8VS73e.css +1 -0
  41. package/assets/link.EZrauC8s.css +1 -0
  42. package/assets/numberindicator.CtbitPQ8.css +1 -0
  43. package/assets/optioncheckbox.BwkbIDOt.css +1 -0
  44. package/assets/progressindicator.tyY_RVQ9.css +1 -0
  45. package/assets/radio.9hUUyg8R.css +1 -0
  46. package/assets/step.DOAmuuEQ.css +1 -0
  47. package/assets/switch.8v7Wp1Fj.css +1 -0
  48. package/assets/tabpane.DDaeSDQb.css +1 -0
  49. package/assets/text.BwGsYzGM.css +1 -0
  50. package/assets/tooltip.C_BL2kou.css +1 -0
  51. package/{banner.CwZXWMc_.js → banner.DO7GsDL_.js} +1 -1
  52. package/{breadcrumb.DMqAgUyk.js → breadcrumb.DYov6vtt.js} +3 -3
  53. package/{button.BDCfI_fj.js → button.qxcuzbnv.js} +4 -4
  54. package/buttonround.BO7_ewzA.js +101 -0
  55. package/checkbox.C9kyIY9P.js +11 -0
  56. package/{checkboxgroup.DDWYxYzk.js → checkboxgroup.kEUxnKLf.js} +2 -2
  57. package/chip.5ktNLRYf.js +12 -0
  58. package/chipgroup.kRU3Z98U.js +226 -0
  59. package/chunks/Accordion.gih2ni1d.js +179 -0
  60. package/chunks/ActionButton.B-wm5sUy.js +194 -0
  61. package/chunks/{ActionCard.DJSGkwVG.js → ActionCard.Bm-2ewfS.js} +38 -38
  62. package/chunks/ActionLink.D0KzqbH4.js +166 -0
  63. package/chunks/{AriaLiveRegions.utils.8ofDlHnN.js → AriaLiveRegions.utils.xoETe2Ps.js} +16 -18
  64. package/chunks/{Breadcrumb.BkP2B-Vm.js → Breadcrumb.I2G-T0zc.js} +14 -14
  65. package/chunks/Button.CCol--xy.js +165 -0
  66. package/chunks/Checkbox.BxOGR1bR.js +96 -0
  67. package/chunks/CheckboxGroup.TneO0tuE.js +85 -0
  68. package/chunks/Chip.DffaXMkV.js +148 -0
  69. package/chunks/{CustomReactSelect.yVERtd4R.js → CustomReactSelect.DTAavYaz.js} +250 -245
  70. package/chunks/Dialog.guuxflWL.js +101 -0
  71. package/chunks/Drawer.CjUZu6GW.js +106 -0
  72. package/chunks/Fieldset.BBMuLKps.js +94 -0
  73. package/chunks/Flag.CbQYBzVC.js +74 -0
  74. package/chunks/{Header.DyqOlV8L.js → Header.CvcGSuhX.js} +140 -140
  75. package/chunks/{Icon.B0WqYErA.js → Icon.DYtaQgbw.js} +1 -1
  76. package/chunks/{Input.utils.D78E4MGO.js → Input.utils.Wycy2SzG.js} +23 -25
  77. package/chunks/InputFile.y71Cd5J9.js +260 -0
  78. package/chunks/InputNumber.Fn2YbF_s.js +250 -0
  79. package/chunks/InputPassword.DtT9yrlx.js +129 -0
  80. package/chunks/InputSearch.BoAfGqoH.js +157 -0
  81. package/chunks/LinkButton.BxG7fx1O.js +150 -0
  82. package/chunks/LinkCard.DM-5WrSt.js +200 -0
  83. package/chunks/{MegaMenu.CiSiMlE3.js → MegaMenu.udXR1H3W.js} +2 -2
  84. package/chunks/NavigationTabList.thzA1pU8.js +68 -0
  85. package/chunks/{NavigationTabs.BqaUbfFC.js → NavigationTabs.BWewgBch.js} +1 -1
  86. package/chunks/Notification.C_o7Ge6Q.js +91 -0
  87. package/chunks/Pagination.BrOMUJMi.js +272 -0
  88. package/chunks/Popover.CxZZ_y1Z.js +230 -0
  89. package/chunks/RadioGroup.CO91_5hA.js +136 -0
  90. package/chunks/Select.EzoMdk1u.js +157 -0
  91. package/chunks/Slider.CX38t4Sk.js +330 -0
  92. package/chunks/{Stepper.Bqnak38-.js → Stepper.Ds_aIEF8.js} +72 -73
  93. package/chunks/SystemFeedback.DhWcYjnu.js +43 -0
  94. package/chunks/{Tabs.cMCZMPCy.js → Tabs.BHVlgp7L.js} +2 -2
  95. package/chunks/Text.utils.DzlY9pJS.js +9 -0
  96. package/chunks/TextUtility.BZLwqyic.js +82 -0
  97. package/chunks/Textarea.vuJgvW6_.js +192 -0
  98. package/chunks/Toast.V_ZUAsf2.js +76 -0
  99. package/chunks/floating-ui.react.Chmq0RmI.js +3014 -0
  100. package/chunks/translate.DSb-TdWR.js +2460 -0
  101. package/{combobox.CpX-Vlyd.js → combobox.C6cPz4AJ.js} +1 -1
  102. package/components/Accordion/Accordion.d.ts +5 -0
  103. package/components/ActionButton/ActionButton.d.ts +5 -1
  104. package/components/ActionLink/ActionLink.d.ts +1 -1
  105. package/components/Button/Button.utils.d.ts +1 -1
  106. package/components/Checkbox/Checkbox.d.ts +8 -1
  107. package/components/CheckboxGroup/CheckboxGroup.d.ts +9 -1
  108. package/components/ChipGroup/Chip.d.ts +2 -0
  109. package/components/ChipGroup/ChipGroup.d.ts +12 -2
  110. package/components/ChipGroup/ChipGroup.utils.d.ts +39 -15
  111. package/components/Combobox/Combobox.utils.d.ts +66 -9
  112. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +5 -1
  113. package/components/Combobox/CustomReactSelect/CustomReactSelect.utils.d.ts +1 -1
  114. package/components/Fieldset/Fieldset.d.ts +9 -2
  115. package/components/Flag/Flag.d.ts +3 -3
  116. package/components/Flag/Flag.utils.d.ts +7 -2
  117. package/components/Input/Input.d.ts +8 -1
  118. package/components/InputFile/FileList/FileList.d.ts +4 -2
  119. package/components/InputFile/FileList/FilePreview/FilePreview.d.ts +8 -2
  120. package/components/InputFile/FileList/ProgressIndicator/ProgressIndicator.d.ts +8 -2
  121. package/components/InputFile/InputFile.d.ts +12 -2
  122. package/components/InputFile/InputFile.utils.d.ts +41 -23
  123. package/components/InputNumber/InputNumber.d.ts +8 -1
  124. package/components/InputPassword/InputPassword.d.ts +8 -1
  125. package/components/InputSearch/InputSearch.d.ts +8 -1
  126. package/components/LinkCard/LinkCard.d.ts +10 -4
  127. package/components/LinkCard/LinkCard.utils.d.ts +2 -2
  128. package/components/NumberIndicator/NumberIndicator.d.ts +6 -1
  129. package/components/Pagination/Pagination.d.ts +10 -3
  130. package/components/Pagination/Pagination.utils.d.ts +22 -9
  131. package/components/Popover/Popover.d.ts +9 -1
  132. package/components/Popover/Popover.utils.d.ts +3 -2
  133. package/components/Radio/Radio.d.ts +5 -0
  134. package/components/RadioGroup/RadioGroup.d.ts +8 -0
  135. package/components/Select/Select.d.ts +8 -1
  136. package/components/Slider/Slider.d.ts +8 -1
  137. package/components/Stepper/Step.d.ts +1 -1
  138. package/components/Stepper/Step.utils.d.ts +1 -1
  139. package/components/Stepper/Stepper.d.ts +4 -1
  140. package/components/Stepper/Stepper.utils.d.ts +9 -4
  141. package/components/SystemFeedback/SystemFeedback.d.ts +9 -1
  142. package/components/Textarea/Textarea.d.ts +8 -1
  143. package/{customreactselect.B1FFXsJ8.js → customreactselect.L0zSh3Tg.js} +6 -6
  144. package/{dialog.ZQ-HnvZs.js → dialog.Ddq8o8Od.js} +2 -2
  145. package/{drawer.D0-RM0WZ.js → drawer.rbbjQvqL.js} +2 -2
  146. package/{fieldset.BzOeuWjO.js → fieldset.BHf3XK2q.js} +3 -3
  147. package/filelist.GrEwoM1u.js +143 -0
  148. package/filepreview.B2Ot9SZ7.js +97 -0
  149. package/flag.fX6LAgty.js +10 -0
  150. package/{floatingactionbutton.AVc4qY0u.js → floatingactionbutton.BwCiybnc.js} +3 -3
  151. package/{header.BtGgmM59.js → header.BCeCjYfG.js} +1 -1
  152. package/{icon.DrTLVrpN.js → icon.CRr1FGOu.js} +1 -1
  153. package/index.es.js +231 -230
  154. package/input.Dh0ws-9j.js +187 -0
  155. package/inputfile.DiZh3GcT.js +17 -0
  156. package/{inputnumber.r0iVYkjd.js → inputnumber.D2cmptaH.js} +8 -9
  157. package/{inputpassword.PXBZo3f0.js → inputpassword.C53Kg4EA.js} +4 -4
  158. package/inputsearch.BrsIDUSW.js +14 -0
  159. package/link.DEZDbUgq.js +81 -0
  160. package/{linkbutton.DVFXzn-A.js → linkbutton._X50W2Md.js} +3 -3
  161. package/{linkcard.BwSMt03V.js → linkcard.BtM3KnjT.js} +4 -4
  162. package/{logo.D7LnRA1E.js → logo.D6BTxbxv.js} +0 -1
  163. package/{megamenu.CUjk3_h2.js → megamenu.odVCUm4c.js} +3 -3
  164. package/navigationtablist.n9DrtYe5.js +10 -0
  165. package/{navigationtabs.DmcYShPs.js → navigationtabs.D0mSyAtK.js} +2 -2
  166. package/{notification.BVoapVVg.js → notification._X8-8vOa.js} +3 -3
  167. package/numberindicator.DsK65Bj3.js +39 -0
  168. package/optioncheckbox.tlMEoyT0.js +48 -0
  169. package/package.json +38 -33
  170. package/pagination.B7Hrx_sk.js +14 -0
  171. package/partials/index.js +91 -91
  172. package/{popover.OcE_5SfG.js → popover.BBaqL7y9.js} +4 -4
  173. package/progressindicator.D9CfVD95.js +74 -0
  174. package/radio.DjToa2aV.js +148 -0
  175. package/{radiogroup.N06_e0b8.js → radiogroup.mc-8lw65.js} +3 -3
  176. package/{scroller.CwTXbzb8.js → scroller.CgWp2WXG.js} +10 -11
  177. package/select.DTZ6a6Ag.js +13 -0
  178. package/{skeleton.DUkBgXxO.js → skeleton.CNJdNVav.js} +10 -10
  179. package/{skiptocontent.Bujq9t3i.js → skiptocontent.BsRpWvyu.js} +4 -4
  180. package/{slider.JAKEAwOB.js → slider.BMGAihY0.js} +3 -3
  181. package/{spinner.D1W-X96t.js → spinner.DtLnsqVV.js} +1 -1
  182. package/step.DCQ6CawJ.js +82 -0
  183. package/stepper.D7-7BdSv.js +15 -0
  184. package/styles/js/index.d.ts +1 -0
  185. package/styles/js/index.es.js +24 -4
  186. package/styles/js/lib/spacing-rem.d.ts +21 -0
  187. package/styles/js/lib/spacing.d.ts +0 -1
  188. package/styles/scss/ds/index.scss +4 -1
  189. package/styles/scss/ds/lib/border-width.scss +3 -0
  190. package/styles/scss/ds/lib/ds-internal/_input.scss +71 -26
  191. package/styles/scss/ds/lib/ds-internal/_link-button.scss +7 -4
  192. package/styles/scss/ds/lib/ds-internal/_link.scss +23 -3
  193. package/styles/scss/ds/lib/ds-internal/_text.scss +3 -1
  194. package/styles/scss/ds/lib/grid-narrow.scss +1 -0
  195. package/styles/scss/ds/lib/input.scss +12 -7
  196. package/styles/scss/ds/lib/link.scss +2 -2
  197. package/styles/scss/ds/lib/radius.scss +5 -0
  198. package/styles/scss/ds/lib/spacing-rem.scss +19 -0
  199. package/styles/scss/ds/lib/spacing.scss +0 -1
  200. package/switch.tM2XBag8.js +66 -0
  201. package/{systemfeedback.B8FBckG4.js → systemfeedback.BPPOht_9.js} +2 -2
  202. package/{tablist.D3n9E4KM.js → tablist.BAm0_UIG.js} +22 -23
  203. package/{tabpane.7vMXUKFX.js → tabpane.B9rZghU6.js} +1 -1
  204. package/{tabs.IVNsM5Gn.js → tabs.BgTdWbTe.js} +3 -3
  205. package/text.BEO_ZfJq.js +72 -0
  206. package/{textarea.gjb8VGgh.js → textarea.Cki-uMkZ.js} +5 -6
  207. package/{textutility.CNWCGYOy.js → textutility.BypzssPt.js} +2 -2
  208. package/{toast.DU8Sd_4c.js → toast.s0Hfuh5i.js} +3 -3
  209. package/{toastmanager.UlkvsO5p.js → toastmanager.CPIPn4Io.js} +22 -23
  210. package/{tooltip.C6HKano9.js → tooltip.BFQG-7VR.js} +22 -22
  211. package/{topbar.Z9NNkxKU.js → topbar.Bbct-XkB.js} +3 -3
  212. package/utils/translate.d.ts +22 -6
  213. package/actionbutton.D6qmbuAA.js +0 -12
  214. package/actionlink.fWwe7J0H.js +0 -12
  215. package/assets/Accordion.Cr1dbVTH.css +0 -1
  216. package/assets/ActionButton.BLOWs6IZ.css +0 -1
  217. package/assets/ActionCard.BG8w8xUC.css +0 -1
  218. package/assets/ActionLink.BJDUVdT7.css +0 -1
  219. package/assets/Breadcrumb.BavNNzAA.css +0 -1
  220. package/assets/Button.C-UYIggc.css +0 -1
  221. package/assets/Checkbox.ZAPIO2N8.css +0 -1
  222. package/assets/Chip.D3vV0wyV.css +0 -1
  223. package/assets/CustomReactSelect.Ctze4SRN.css +0 -1
  224. package/assets/Dialog.BKwWy1g2.css +0 -1
  225. package/assets/Drawer.BU-fi5Hk.css +0 -1
  226. package/assets/Fieldset.DCmr1Yir.css +0 -1
  227. package/assets/Header.BNYL2Y78.css +0 -1
  228. package/assets/InputFile.BUMCNCrj.css +0 -1
  229. package/assets/InputNumber.Bmz8cNKg.css +0 -1
  230. package/assets/InputPassword.CutbykTm.css +0 -1
  231. package/assets/InputSearch.Sr9jVpKt.css +0 -1
  232. package/assets/LinkButton.CxJvjEY5.css +0 -1
  233. package/assets/LinkCard.DkQoQJxx.css +0 -1
  234. package/assets/NavigationTabList.DYjNT2Di.css +0 -1
  235. package/assets/Notification.DBGpHzov.css +0 -1
  236. package/assets/Pagination.DZ1yCAMR.css +0 -1
  237. package/assets/Popover.mL5g23EK.css +0 -1
  238. package/assets/Select.BZYb_HAG.css +0 -1
  239. package/assets/Slider.vnSU0ya0.css +0 -1
  240. package/assets/Stepper.tXJl15yL.css +0 -1
  241. package/assets/SystemFeedback.PKzqnXUe.css +0 -1
  242. package/assets/TextUtility.CEBJaKBG.css +0 -1
  243. package/assets/Textarea.BIgA9_fl.css +0 -1
  244. package/assets/Toast.CGl8z6mX.css +0 -1
  245. package/assets/buttonround.CMrJRIeW.css +0 -1
  246. package/assets/chipgroup.BGxjdSDX.css +0 -1
  247. package/assets/filelist.CHVupL8T.css +0 -1
  248. package/assets/flag.CyCIPu_J.css +0 -1
  249. package/assets/input.BEOus9jX.css +0 -1
  250. package/assets/link.Dcsio57m.css +0 -1
  251. package/assets/numberindicator.BYIPwkAK.css +0 -1
  252. package/assets/optioncheckbox.6zYgifUk.css +0 -1
  253. package/assets/progressindicator.Cbbzo5-b.css +0 -1
  254. package/assets/radio.l9OTraQU.css +0 -1
  255. package/assets/step.Ch508u7I.css +0 -1
  256. package/assets/switch.DYamtd9O.css +0 -1
  257. package/assets/tabpane.o34hshTz.css +0 -1
  258. package/assets/text.BA1eUihR.css +0 -1
  259. package/assets/tooltip.BPcysHGE.css +0 -1
  260. package/buttonround.DZCu35Zw.js +0 -101
  261. package/checkbox.RYvu23i4.js +0 -12
  262. package/chip.CtZK5gH7.js +0 -12
  263. package/chipgroup.C-UJt9Nb.js +0 -213
  264. package/chunks/Accordion.Tz7cWkk5.js +0 -173
  265. package/chunks/ActionButton.Dqay6Dxt.js +0 -188
  266. package/chunks/ActionLink.BgWqWSKi.js +0 -161
  267. package/chunks/Button.Dauhc5op.js +0 -160
  268. package/chunks/Checkbox.C5Jgtwho.js +0 -88
  269. package/chunks/CheckboxGroup.Df_nLGBa.js +0 -79
  270. package/chunks/Chip.DXS_ZMGD.js +0 -157
  271. package/chunks/Dialog.mP1tZEbW.js +0 -102
  272. package/chunks/Drawer.D6IG0DRe.js +0 -107
  273. package/chunks/Fieldset.DxhNhprT.js +0 -91
  274. package/chunks/InputFile.BSGunqyW.js +0 -260
  275. package/chunks/InputNumber.BsBAdxWr.js +0 -240
  276. package/chunks/InputPassword.hZYiAKYC.js +0 -121
  277. package/chunks/InputSearch.Dp3x5RE4.js +0 -149
  278. package/chunks/LinkButton.DHcfHamd.js +0 -150
  279. package/chunks/LinkCard.DV-V9qHd.js +0 -197
  280. package/chunks/NavigationTabList.BIApwNzg.js +0 -68
  281. package/chunks/Notification.DeedcinQ.js +0 -91
  282. package/chunks/Pagination.DhD8i5AV.js +0 -247
  283. package/chunks/Popover.Cyf3CbLl.js +0 -221
  284. package/chunks/RadioGroup.D3omhLuC.js +0 -130
  285. package/chunks/Select.DOeJaqzM.js +0 -147
  286. package/chunks/Slider.d3gCkWL_.js +0 -309
  287. package/chunks/SystemFeedback.Dq3ZphgG.js +0 -38
  288. package/chunks/Text.utils.D_iOyOSH.js +0 -11
  289. package/chunks/TextUtility.Wbd4oQXI.js +0 -82
  290. package/chunks/Textarea.DhRMfiWu.js +0 -181
  291. package/chunks/Toast.KMEq0p-E.js +0 -76
  292. package/chunks/floating-ui.react.CP5A99-c.js +0 -2980
  293. package/chunks/translate.nuU7uChI.js +0 -8
  294. package/filelist.BaYCDtxD.js +0 -128
  295. package/filepreview.BCslhbM5.js +0 -94
  296. package/flag.DyZLEgAw.js +0 -50
  297. package/input.DNdSFW5k.js +0 -175
  298. package/inputfile.CTXJ_ZSi.js +0 -18
  299. package/inputsearch.JLM0fNPt.js +0 -15
  300. package/link.CArLlIsR.js +0 -81
  301. package/navigationtablist.BerRIzu-.js +0 -10
  302. package/numberindicator.ZGVRSmqf.js +0 -36
  303. package/optioncheckbox.BQo8riVL.js +0 -48
  304. package/pagination.Dm1WnFhY.js +0 -14
  305. package/progressindicator.1JRFwf-H.js +0 -53
  306. package/radio.DxdVKoxe.js +0 -137
  307. package/select.DVuQMz7l.js +0 -14
  308. package/step.CDNmsF4m.js +0 -82
  309. package/stepper.D0kSuiYh.js +0 -16
  310. package/switch.pN105F5-.js +0 -66
  311. package/text.D_e3JBvf.js +0 -72
@@ -0,0 +1,194 @@
1
+ "use client";
2
+ import { jsxs as Q, jsx as d, Fragment as Pt } from "react/jsx-runtime";
3
+ import { d as Ct } from "./index.cKLI89Eg.js";
4
+ import { c as O } from "./index.DQOqod3i.js";
5
+ import { forwardRef as Ot } from "react";
6
+ import { D as Dt } from "./Icon.DYtaQgbw.js";
7
+ import { NumberIndicator as St } from "../numberindicator.DsK65Bj3.js";
8
+ import { Tooltip as wt } from "../tooltip.BFQG-7VR.js";
9
+ import { g as m } from "./helpers.CexwVao7.js";
10
+ import '../assets/ActionButton.Dw2FeIaW.css';const Bt = "ds-action-button_root_1hfui_1", Lt = "ds-action-button_root--indent-level-1_1hfui_75", Mt = "ds-action-button_root--active_1hfui_78", Et = "ds-action-button_root--active--with-marker_1hfui_81", xt = "ds-action-button_root--icon--top_1hfui_84", Ut = "ds-action-button_root--stretched_1hfui_110", zt = "ds-action-button_root--dark_1hfui_114", Rt = "ds-action-button_active-marker_1hfui_164", Vt = "ds-action-button_active-marker--with-indent_1hfui_176", yt = "ds-action-button_active-marker--dark_1hfui_179", Ht = "ds-action-button_icon-wrapper_1hfui_188", Xt = "ds-action-button_icon-wrapper--x-large_1hfui_191", jt = "ds-action-button_icon-wrapper--with-number-indicator_1hfui_194", Ft = "ds-action-button_icon-wrapper--with-number-indicator--with-value_1hfui_202", Gt = "ds-action-button_label_1hfui_206", Zt = "ds-action-button_label--bold_1hfui_217", $t = "ds-action-button_label--active_1hfui_229", qt = "ds-action-button_label--icon-top_1hfui_241", Jt = "ds-action-button_number-indicator_1hfui_264", Kt = "ds-action-button_label-wrapper_1hfui_268", Qt = "ds-action-button_label-wrapper--icon-top_1hfui_273", Yt = "ds-action-button_chevron_1hfui_277", to = "ds-action-button_chevron--icon-position-top_1hfui_292", oo = "ds-action-button_chevron--up_1hfui_298", eo = "ds-action-button_chevron--right_1hfui_309", no = "ds-action-button_chevron--left_1hfui_320", o = {
11
+ root: Bt,
12
+ rootIndentLevel1: Lt,
13
+ rootActive: Mt,
14
+ rootActiveWithMarker: Et,
15
+ rootIconTop: xt,
16
+ rootStretched: Ut,
17
+ rootDark: zt,
18
+ activeMarker: Rt,
19
+ activeMarkerWithIndent: Vt,
20
+ activeMarkerDark: yt,
21
+ iconWrapper: Ht,
22
+ iconWrapperXLarge: Xt,
23
+ iconWrapperWithNumberIndicator: jt,
24
+ iconWrapperWithNumberIndicatorWithValue: Ft,
25
+ label: Gt,
26
+ labelBold: Zt,
27
+ labelActive: $t,
28
+ labelIconTop: qt,
29
+ numberIndicator: Jt,
30
+ labelWrapper: Kt,
31
+ labelWrapperIconTop: Qt,
32
+ chevron: Yt,
33
+ chevronIconPositionTop: to,
34
+ chevronUp: oo,
35
+ chevronRight: eo,
36
+ chevronLeft: no
37
+ }, _o = ["left", "top"], bo = ["large", "x-large"], vo = [0, 1], mo = ["normal", "bold"], Io = ["up", "down", "right", "left"], io = ({
38
+ iconName: I,
39
+ iconSize: N,
40
+ iconSource: t,
41
+ iconPosition: u,
42
+ indentLevel: a,
43
+ stretched: f,
44
+ weight: _,
45
+ numberIndicatorValue: r,
46
+ numberIndicatorAriaLabel: c
47
+ }) => {
48
+ if (I && !t && N === "x-large" && console.warn(m("DSActionButton", '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.')), u === "top") {
49
+ if (!I && !t)
50
+ throw new Error(m("DSActionButton", '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.'));
51
+ N === "x-large" && console.warn(m("DSActionButton", 'An "iconSize" prop set to "x-large" has no effect when "iconPosition" is set to "top". Please remove the "iconSize" prop.')), _ === "bold" && console.warn(m("DSActionButton", 'A "weight" prop set to "bold" with "iconPosition" set to "top" has no effect. Please remove the "weight" prop.')), a === 1 && console.warn(m("DSActionButton", 'An "indentLevel" prop set to "1" with "iconPosition" set to "top" has no effect. Please remove the "indentLevel" prop.')), f && console.warn(m("DSActionButton", 'A "stretched" prop set to "true" with "iconPosition" set to "top" has no effect. Please remove the "stretched" prop.'));
52
+ }
53
+ (r || r === "") && !c && console.warn(m("DSActionButton", "Please provide a descriptive aria-label for the Number Indicator for better accessibility."));
54
+ }, ro = Ot((I, N) => {
55
+ const t = Ct.c(102);
56
+ let u, a, f, _, r, c, l, n, b, W, B, L, M, E, x, U, z, R, v;
57
+ t[0] !== I ? ({
58
+ children: f,
59
+ aria: u,
60
+ chevronDirection: a,
61
+ className: _,
62
+ disabled: B,
63
+ iconName: r,
64
+ iconPosition: L,
65
+ iconSize: M,
66
+ iconSource: c,
67
+ indentLevel: E,
68
+ isActive: x,
69
+ numberIndicatorValue: n,
70
+ numberIndicatorAriaLabel: l,
71
+ stretched: U,
72
+ weight: z,
73
+ theme: R,
74
+ tooltip: v,
75
+ onClick: b,
76
+ ...W
77
+ } = I, t[0] = I, t[1] = u, t[2] = a, t[3] = f, t[4] = _, t[5] = r, t[6] = c, t[7] = l, t[8] = n, t[9] = b, t[10] = W, t[11] = B, t[12] = L, t[13] = M, t[14] = E, t[15] = x, t[16] = U, t[17] = z, t[18] = R, t[19] = v) : (u = t[1], a = t[2], f = t[3], _ = t[4], r = t[5], c = t[6], l = t[7], n = t[8], b = t[9], W = t[10], B = t[11], L = t[12], M = t[13], E = t[14], x = t[15], U = t[16], z = t[17], R = t[18], v = t[19]);
78
+ const i = B === void 0 ? !1 : B, e = L === void 0 ? "left" : L, V = M === void 0 ? "large" : M, Y = E === void 0 ? 0 : E, A = x === void 0 ? !1 : x, gt = U === void 0 ? !1 : U, kt = z === void 0 ? "normal" : z, s = R === void 0 ? "light" : R;
79
+ process.env.NODE_ENV !== "production" && io({
80
+ iconName: r,
81
+ iconSize: V,
82
+ iconSource: c,
83
+ iconPosition: e,
84
+ indentLevel: Y,
85
+ numberIndicatorValue: n,
86
+ numberIndicatorAriaLabel: l,
87
+ stretched: gt,
88
+ weight: kt
89
+ });
90
+ const T = s === "dark";
91
+ let y;
92
+ t[20] !== n ? (y = n?.trim(), t[20] = n, t[21] = y) : y = t[21];
93
+ const p = y === "", tt = e === "top", ot = Y === 1, et = A && !i, nt = A && !i && e === "left", it = gt === !0 && e === "left";
94
+ let H;
95
+ t[22] !== _ || t[23] !== T || t[24] !== tt || t[25] !== ot || t[26] !== et || t[27] !== nt || t[28] !== it ? (H = O(o.root, _, {
96
+ [o.rootDark]: T,
97
+ [o.rootIconTop]: tt,
98
+ [o.rootIndentLevel1]: ot,
99
+ [o.rootActive]: et,
100
+ [o.rootActiveWithMarker]: nt,
101
+ [o.rootStretched]: it
102
+ }), t[22] = _, t[23] = T, t[24] = tt, t[25] = ot, t[26] = et, t[27] = nt, t[28] = it, t[29] = H) : H = t[29];
103
+ const rt = H, ct = Y === 1;
104
+ let X;
105
+ t[30] !== T || t[31] !== ct ? (X = O(o.activeMarker, {
106
+ [o.activeMarkerDark]: T,
107
+ [o.activeMarkerWithIndent]: ct
108
+ }), t[30] = T, t[31] = ct, t[32] = X) : X = t[32];
109
+ const at = X, st = A && !i, lt = kt === "bold", pt = e === "top";
110
+ let j;
111
+ t[33] !== st || t[34] !== lt || t[35] !== pt ? (j = O(o.label, {
112
+ [o.labelActive]: st,
113
+ [o.labelBold]: lt,
114
+ [o.labelIconTop]: pt
115
+ }), t[33] = st, t[34] = lt, t[35] = pt, t[36] = j) : j = t[36];
116
+ const ht = j, dt = e === "top";
117
+ let F;
118
+ t[37] !== dt ? (F = O(o.labelWrapper, {
119
+ [o.labelWrapperIconTop]: dt
120
+ }), t[37] = dt, t[38] = F) : F = t[38];
121
+ const ut = F, ft = e === "top", _t = a === "up", bt = a === "right", vt = a === "left";
122
+ let G;
123
+ t[39] !== ft || t[40] !== _t || t[41] !== bt || t[42] !== vt ? (G = O(o.chevron, {
124
+ [o.chevronIconPositionTop]: ft,
125
+ [o.chevronUp]: _t,
126
+ [o.chevronRight]: bt,
127
+ [o.chevronLeft]: vt
128
+ }), t[39] = ft, t[40] = _t, t[41] = bt, t[42] = vt, t[43] = G) : G = t[43];
129
+ const mt = G, It = V === "x-large", Nt = (r || c) && (n || p), Wt = (r || c) && !p;
130
+ let Z;
131
+ t[44] !== It || t[45] !== Nt || t[46] !== Wt ? (Z = O(o.iconWrapper, {
132
+ [o.iconWrapperXLarge]: It,
133
+ [o.iconWrapperWithNumberIndicator]: Nt,
134
+ [o.iconWrapperWithNumberIndicatorWithValue]: Wt
135
+ }), t[44] = It, t[45] = Nt, t[46] = Wt, t[47] = Z) : Z = t[47];
136
+ const At = Z;
137
+ let $;
138
+ t[48] !== i || t[49] !== b ? ($ = (h) => {
139
+ if (i) {
140
+ h.preventDefault();
141
+ return;
142
+ }
143
+ b && b(h);
144
+ }, t[48] = i, t[49] = b, t[50] = $) : $ = t[50];
145
+ const Tt = $;
146
+ let w;
147
+ t[51] !== at || t[52] !== e || t[53] !== A ? (w = A && e === "left" && /* @__PURE__ */ d("div", { className: at }), t[51] = at, t[52] = e, t[53] = A, t[54] = w) : w = t[54];
148
+ let g;
149
+ t[55] !== i || t[56] !== r || t[57] !== e || t[58] !== V || t[59] !== c || t[60] !== At || t[61] !== p || t[62] !== l || t[63] !== n || t[64] !== s ? (g = (r || c) && /* @__PURE__ */ d(Pt, { children: /* @__PURE__ */ Q("span", { className: At, children: [
150
+ /* @__PURE__ */ d(Dt, { name: r, theme: s, source: c, "aria-hidden": "true", size: r || e === "top" ? "large" : V }),
151
+ !i && (e === "left" && p || e === "top" && (n || p)) && /* @__PURE__ */ d(St, { variant: "highlight", "aria-label": l, label: n, theme: s })
152
+ ] }) }), t[55] = i, t[56] = r, t[57] = e, t[58] = V, t[59] = c, t[60] = At, t[61] = p, t[62] = l, t[63] = n, t[64] = s, t[65] = g) : g = t[65];
153
+ let k;
154
+ t[66] !== f || t[67] !== ht ? (k = /* @__PURE__ */ d("span", { className: ht, children: f }), t[66] = f, t[67] = ht, t[68] = k) : k = t[68];
155
+ let D;
156
+ t[69] !== mt || t[70] !== a || t[71] !== s ? (D = a && /* @__PURE__ */ d(Dt, { name: "chevron-down", theme: s, "aria-hidden": "true", className: mt }), t[69] = mt, t[70] = a, t[71] = s, t[72] = D) : D = t[72];
157
+ let S;
158
+ t[73] !== ut || t[74] !== k || t[75] !== D ? (S = /* @__PURE__ */ Q("div", { className: ut, children: [
159
+ k,
160
+ D
161
+ ] }), t[73] = ut, t[74] = k, t[75] = D, t[76] = S) : S = t[76];
162
+ let P;
163
+ t[77] !== i || t[78] !== e || t[79] !== p || t[80] !== l || t[81] !== n || t[82] !== s ? (P = e === "left" && !i && n && !p && /* @__PURE__ */ d(St, { variant: "default", "aria-label": l, label: n, className: o.numberIndicator, theme: s }), t[77] = i, t[78] = e, t[79] = p, t[80] = l, t[81] = n, t[82] = s, t[83] = P) : P = t[83];
164
+ let q;
165
+ t[84] !== u || t[85] !== i || t[86] !== Tt || t[87] !== N || t[88] !== W || t[89] !== rt || t[90] !== w || t[91] !== g || t[92] !== S || t[93] !== P ? (q = /* @__PURE__ */ Q("button", { className: rt, type: "button", onClick: Tt, ...u, ...W, "aria-disabled": i, ref: N, children: [
166
+ w,
167
+ g,
168
+ S,
169
+ P
170
+ ] }), t[84] = u, t[85] = i, t[86] = Tt, t[87] = N, t[88] = W, t[89] = rt, t[90] = w, t[91] = g, t[92] = S, t[93] = P, t[94] = q) : q = t[94];
171
+ const J = q;
172
+ if (v) {
173
+ let h;
174
+ t[95] !== J ? (h = /* @__PURE__ */ d(wt.Anchor, { children: J }), t[95] = J, t[96] = h) : h = t[96];
175
+ let C;
176
+ t[97] !== v ? (C = /* @__PURE__ */ d(wt.Content, { children: v }), t[97] = v, t[98] = C) : C = t[98];
177
+ let K;
178
+ return t[99] !== h || t[100] !== C ? (K = /* @__PURE__ */ Q(wt, { placement: "top", tooltipOffset: 6, children: [
179
+ h,
180
+ C
181
+ ] }), t[99] = h, t[100] = C, t[101] = K) : K = t[101], K;
182
+ }
183
+ return J;
184
+ });
185
+ ro.displayName = "DSActionButton";
186
+ export {
187
+ Io as A,
188
+ ro as D,
189
+ _o as a,
190
+ bo as b,
191
+ vo as c,
192
+ mo as d,
193
+ io as v
194
+ };
@@ -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.BG8w8xUC.css';const ie = "ds-action-card_root_19077_1", ce = "ds-action-card_root--elevated_19077_24", de = "ds-action-card_root--clickable_19077_27", me = "ds-action-card_primary-action_19077_36", pe = "ds-action-card_media-wrapper_19077_50", fe = "ds-action-card_header_19077_50", ye = "ds-action-card_footer_19077_50", _e = "ds-action-card_supplementary_19077_50", ue = "ds-action-card_root--horizontal_19077_59", he = "ds-action-card_content_19077_78", Ne = "ds-action-card_content--padding-small_19077_83", be = "ds-action-card_root--horizontal-has-supplementary_19077_91", ge = "ds-action-card_root--padding-small_19077_94", Se = "ds-action-card_primary-action-label_19077_174", 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,
11
+ primaryAction: pe,
12
+ mediaWrapper: me,
13
13
  header: fe,
14
- footer: ye,
15
- supplementary: _e,
16
- rootHorizontal: ue,
17
- content: he,
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.BG8w8xUC.css';const ie = "ds-action-card_root_19077
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, f = c === void 0 ? "medium" : c, b = p === void 0 ? "outlined" : p, N = re(null);
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;
55
58
  let y;
56
- e[9] !== a ? (y = P(a, Q), e[9] = a, e[10] = y) : y = e[10];
57
- const g = y;
58
- let _;
59
- e[11] !== a ? (_ = P(a, U), e[11] = a, e[12] = _) : _ = e[12];
60
- const u = _;
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.BG8w8xUC.css';const ie = "ds-action-card_root_19077
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 = f === "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,
@@ -94,10 +94,10 @@ import '../assets/ActionCard.BG8w8xUC.css';const ie = "ds-action-card_root_19077
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, f, b, N, y, 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
171
  f = v(d.primaryAction, a) || void 0;
172
- const n = m;
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: y,
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] = y, e[28] = _, e[29] = u) : (c = e[22], p = e[23], h = e[24], b = e[25], N = e[26], y = 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;
@@ -194,16 +194,16 @@ const Z = (i) => {
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] = f, e[15] = b, e[16] = N, e[17] = y, 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], f = e[14], b = e[15], N = e[16], y = 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] !== f || e[42] !== b || e[43] !== N || e[44] !== y || e[45] !== n || e[46] !== _ || e[47] !== u ? (s = /* @__PURE__ */ C("a", { href: l, className: f, download: p, hrefLang: h, ping: b, referrerPolicy: N, rel: y, target: _, type: u, ...c, children: n }), e[37] = c, e[38] = p, e[39] = l, e[40] = h, e[41] = f, e[42] = b, e[43] = N, e[44] = y, 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;
@@ -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,24 +40,24 @@ 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,
56
54
  s as a,
57
- u as b,
58
- d as c,
55
+ c as b,
56
+ u as c,
59
57
  h as d,
60
- L as e,
61
- f,
62
- c 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
  };