@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
@@ -1,29 +1,29 @@
1
1
  "use client";
2
2
  import { jsx as y, jsxs as ge, Fragment as Ee } from "react/jsx-runtime";
3
- import { d as D } from "./index.cKLI89Eg.js";
4
- import { c as x } from "./index.DQOqod3i.js";
5
- import { useState as T, useEffect as Y, useContext as ie, createContext as Fe, useRef as z } from "react";
6
- import { g as I, c as O, p as pe } from "./helpers.CexwVao7.js";
3
+ import { d as P } from "./index.cKLI89Eg.js";
4
+ import { c as D } from "./index.DQOqod3i.js";
5
+ import { useState as T, useEffect as L, useContext as ie, createContext as Fe, useRef as I } from "react";
6
+ import { g as Y, c as O, p as pe } from "./helpers.CexwVao7.js";
7
7
  import { u as Ne } from "./useIsomorphicLayoutEffect.CnJ9AMFS.js";
8
- import { DSLogo as Re } from "../logo.D7LnRA1E.js";
8
+ import { DSLogo as Re } from "../logo.D6BTxbxv.js";
9
9
  import { Logo100Years as Ce } from "../logo100years.C0IojOp9.js";
10
- import '../assets/Header.BNYL2Y78.css';const ue = (i) => {
11
- const e = D.c(7);
10
+ import '../assets/Header.CSPbSqR5.css';const ue = (i) => {
11
+ const e = P.c(7);
12
12
  let t;
13
13
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = {
14
14
  width: 0,
15
15
  height: 0
16
16
  }, e[0] = t) : t = e[0];
17
17
  const [o, n] = T(t);
18
- let a, d;
18
+ let a, l;
19
19
  e[1] !== i ? (a = () => {
20
20
  const r = i.current;
21
21
  r && n({
22
22
  width: r.offsetWidth,
23
23
  height: r.offsetHeight
24
24
  });
25
- }, d = [i], e[1] = i, e[2] = a, e[3] = d) : (a = e[2], d = e[3]), Ne(a, d);
26
- let s, l;
25
+ }, l = [i], e[1] = i, e[2] = a, e[3] = l) : (a = e[2], l = e[3]), Ne(a, l);
26
+ let s, c;
27
27
  return e[4] !== i ? (s = () => {
28
28
  const r = i.current;
29
29
  if (!r)
@@ -39,40 +39,40 @@ import '../assets/Header.BNYL2Y78.css';const ue = (i) => {
39
39
  n((p) => p.width === f.width && p.height === f.height ? p : f);
40
40
  });
41
41
  return h.observe(r), () => h.disconnect();
42
- }, l = [i], e[4] = i, e[5] = s, e[6] = l) : (s = e[5], l = e[6]), Y(s, l), o;
42
+ }, c = [i], e[4] = i, e[5] = s, e[6] = c) : (s = e[5], c = e[6]), L(s, c), o;
43
43
  }, Ve = (i) => {
44
- const e = D.c(3), t = i, [o, n] = T("down");
45
- let a, d;
44
+ const e = P.c(3), t = i, [o, n] = T("down");
45
+ let a, l;
46
46
  return e[0] !== t ? (a = () => {
47
47
  let s = window.scrollY;
48
- const l = () => {
48
+ const c = () => {
49
49
  const r = window.scrollY, h = r > s ? "down" : "up";
50
50
  Math.abs(r - s) > t && (n(h), s = r);
51
51
  };
52
- return window.addEventListener("scroll", l, {
52
+ return window.addEventListener("scroll", c, {
53
53
  passive: !0
54
- }), () => window.removeEventListener("scroll", l);
55
- }, d = [t], e[0] = t, e[1] = a, e[2] = d) : (a = e[1], d = e[2]), Y(a, d), o;
54
+ }), () => window.removeEventListener("scroll", c);
55
+ }, l = [t], e[0] = t, e[1] = a, e[2] = l) : (a = e[1], l = e[2]), L(a, l), o;
56
56
  }, bt = ["full", "main"], Me = ({
57
57
  hasBrandArea: i,
58
58
  hasPrimaryArea: e,
59
59
  hasSecondaryArea: t
60
60
  }) => {
61
61
  if (i)
62
- throw new Error(I("DSHeader", "A <DSTopBar.BrandArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
62
+ throw new Error(Y("DSHeader", "A <DSTopBar.BrandArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
63
63
  if (e)
64
- throw new Error(I("DSHeader", "A <DSTopBar.PrimaryArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
64
+ throw new Error(Y("DSHeader", "A <DSTopBar.PrimaryArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
65
65
  if (t)
66
- throw new Error(I("DSHeader", "A <DSTopBar.SecondaryArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
67
- }, qe = "ds-top-bar_root_q6oxc_1", ke = "ds-top-bar_root--sticky_q6oxc_49", $e = "ds-top-bar_root--fixed_q6oxc_53", We = "ds-top-bar_content_q6oxc_62", ze = "ds-top-bar_content--variant-full_q6oxc_81", Ie = "ds-top-bar_content--has-primary-area-and-secondary-area_q6oxc_85", Ye = "ds-top-bar_primary_q6oxc_90", Le = "ds-top-bar_content--has-brand-add-on-with-primary-area-and-secondary-area_q6oxc_105", Ue = "ds-top-bar_brand_q6oxc_110", je = "ds-top-bar_content--has-primary-area_q6oxc_85", Ge = "ds-top-bar_content--has-primary-area--with-brand-add-on_q6oxc_149", Je = "ds-top-bar_brand-add-on_q6oxc_213", Ke = "ds-top-bar_brand-add-on--double_q6oxc_234", Qe = "ds-top-bar_sub-title_q6oxc_248", Xe = "ds-top-bar_secondary_q6oxc_274", Ze = "ds-top-bar_logo_q6oxc_283", et = "ds-top-bar_logo--reduced_q6oxc_293", _ = {
68
- root: qe,
69
- rootSticky: ke,
70
- rootFixed: $e,
71
- content: We,
72
- contentVariantFull: ze,
73
- contentHasPrimaryAreaAndSecondaryArea: Ie,
74
- primary: Ye,
75
- contentHasBrandAddOnWithPrimaryAreaAndSecondaryArea: Le,
66
+ throw new Error(Y("DSHeader", "A <DSTopBar.SecondaryArea> component was detected as a direct child of DSHeader. Please move it into the DSTopBar component."));
67
+ }, ke = "ds-top-bar_root_1dle4_1", $e = "ds-top-bar_root--sticky_1dle4_49", We = "ds-top-bar_root--fixed_1dle4_53", ze = "ds-top-bar_content_1dle4_62", Ie = "ds-top-bar_content--variant-full_1dle4_81", Ye = "ds-top-bar_content--has-primary-area-and-secondary-area_1dle4_85", Le = "ds-top-bar_primary_1dle4_90", qe = "ds-top-bar_content--has-brand-add-on-with-primary-area-and-secondary-area_1dle4_105", Ue = "ds-top-bar_brand_1dle4_110", je = "ds-top-bar_content--has-primary-area_1dle4_85", Ge = "ds-top-bar_content--has-primary-area--with-brand-add-on_1dle4_149", Je = "ds-top-bar_brand-add-on_1dle4_213", Ke = "ds-top-bar_brand-add-on--double_1dle4_234", Qe = "ds-top-bar_sub-title_1dle4_248", Xe = "ds-top-bar_secondary_1dle4_273", Ze = "ds-top-bar_logo_1dle4_282", et = "ds-top-bar_logo--reduced_1dle4_292", _ = {
68
+ root: ke,
69
+ rootSticky: $e,
70
+ rootFixed: We,
71
+ content: ze,
72
+ contentVariantFull: Ie,
73
+ contentHasPrimaryAreaAndSecondaryArea: Ye,
74
+ primary: Le,
75
+ contentHasBrandAddOnWithPrimaryAreaAndSecondaryArea: qe,
76
76
  brand: Ue,
77
77
  contentHasPrimaryArea: je,
78
78
  contentHasPrimaryAreaWithBrandAddOn: Ge,
@@ -88,11 +88,11 @@ import '../assets/Header.BNYL2Y78.css';const ue = (i) => {
88
88
  hasSecondaryArea: t
89
89
  }) => {
90
90
  if (!i)
91
- throw new Error(I("DSTopBar", "A <DSTopBar.BrandArea> component is required. Please include it as a child of DSTopBar."));
91
+ throw new Error(Y("DSTopBar", "A <DSTopBar.BrandArea> component is required. Please include it as a child of DSTopBar."));
92
92
  if (!e && t)
93
- throw new Error(I("DSTopBar", "A <DSTopBar.PrimaryArea> is required when using <DSTopBar.SecondaryArea>. Please include <DSTopBar.PrimaryArea> as a child of DSTopBar, or move the content from <DSTopBar.SecondaryArea> into <DSTopBar.PrimaryArea>."));
94
- }, Se = (i) => i == null || typeof i == "object" && !Array.isArray(i) && i !== null && Object.keys(i).length === 0, St = ["100years"], k = (i) => {
95
- const e = D.c(28);
93
+ throw new Error(Y("DSTopBar", "A <DSTopBar.PrimaryArea> is required when using <DSTopBar.SecondaryArea>. Please include <DSTopBar.PrimaryArea> as a child of DSTopBar, or move the content from <DSTopBar.SecondaryArea> into <DSTopBar.PrimaryArea>."));
94
+ }, Se = (i) => i == null || typeof i == "object" && !Array.isArray(i) && i !== null && Object.keys(i).length === 0, St = ["100years"], $ = (i) => {
95
+ const e = P.c(28);
96
96
  let t, o, n, a;
97
97
  e[0] !== i ? ({
98
98
  children: t,
@@ -101,32 +101,32 @@ import '../assets/Header.BNYL2Y78.css';const ue = (i) => {
101
101
  ...n
102
102
  } = i, e[0] = i, e[1] = t, e[2] = o, e[3] = n, e[4] = a) : (t = e[1], o = e[2], n = e[3], a = e[4]);
103
103
  const {
104
- variant: d,
104
+ variant: l,
105
105
  isHeaderSticky: s,
106
- isMobile: l,
106
+ isMobile: c,
107
107
  topBarAreaRef: r,
108
108
  isStickyMainNavigationVisible: h,
109
109
  hasBrandAddOn: m
110
- } = ie(L);
110
+ } = ie(q);
111
111
  let A, f;
112
- if (e[5] !== t || e[6] !== o || e[7] !== m || e[8] !== s || e[9] !== l || e[10] !== h || e[11] !== a || e[12] !== d) {
113
- const w = O(t, _e), g = O(t, ye), c = O(t, ve);
112
+ if (e[5] !== t || e[6] !== o || e[7] !== m || e[8] !== s || e[9] !== c || e[10] !== h || e[11] !== a || e[12] !== l) {
113
+ const w = O(t, _e), g = O(t, ye), d = O(t, ve);
114
114
  process.env.NODE_ENV !== "production" && tt({
115
115
  hasBrandArea: w,
116
116
  hasPrimaryArea: g,
117
- hasSecondaryArea: c
117
+ hasSecondaryArea: d
118
118
  });
119
119
  let N;
120
- e[15] !== s || e[16] !== l || e[17] !== h || e[18] !== a ? (N = x(_.root, a, s ? {
121
- [_.rootSticky]: !l && h,
122
- [_.rootFixed]: !l && !h
123
- } : {}), e[15] = s, e[16] = l, e[17] = h, e[18] = a, e[19] = N) : N = e[19], A = N, f = x(_.content, o, {
124
- [_.contentHasPrimaryArea]: g && !m && !c,
125
- [_.contentHasPrimaryAreaWithBrandAddOn]: g && m && !c,
126
- [_.contentHasBrandAddOnWithPrimaryAreaAndSecondaryArea]: m && g && c,
127
- [_.contentHasPrimaryAreaAndSecondaryArea]: g && c && !m,
128
- [_.contentVariantFull]: d === "full"
129
- }), e[5] = t, e[6] = o, e[7] = m, e[8] = s, e[9] = l, e[10] = h, e[11] = a, e[12] = d, e[13] = A, e[14] = f;
120
+ e[15] !== s || e[16] !== c || e[17] !== h || e[18] !== a ? (N = D(_.root, a, s ? {
121
+ [_.rootSticky]: !c && h,
122
+ [_.rootFixed]: !c && !h
123
+ } : {}), e[15] = s, e[16] = c, e[17] = h, e[18] = a, e[19] = N) : N = e[19], A = N, f = D(_.content, o, {
124
+ [_.contentHasPrimaryArea]: g && !m && !d,
125
+ [_.contentHasPrimaryAreaWithBrandAddOn]: g && m && !d,
126
+ [_.contentHasBrandAddOnWithPrimaryAreaAndSecondaryArea]: m && g && d,
127
+ [_.contentHasPrimaryAreaAndSecondaryArea]: g && d && !m,
128
+ [_.contentVariantFull]: l === "full"
129
+ }), e[5] = t, e[6] = o, e[7] = m, e[8] = s, e[9] = c, e[10] = h, e[11] = a, e[12] = l, e[13] = A, e[14] = f;
130
130
  } else
131
131
  A = e[13], f = e[14];
132
132
  const p = f;
@@ -135,54 +135,54 @@ import '../assets/Header.BNYL2Y78.css';const ue = (i) => {
135
135
  let v;
136
136
  return e[24] !== A || e[25] !== u || e[26] !== r ? (v = /* @__PURE__ */ y("div", { className: A, ref: r, children: u }), e[24] = A, e[25] = u, e[26] = r, e[27] = v) : v = e[27], v;
137
137
  }, _e = (i) => {
138
- const e = D.c(22), {
138
+ const e = P.c(22), {
139
139
  children: t,
140
140
  className: o
141
141
  } = i, {
142
142
  logoProps: n,
143
143
  brandAddOnProps: a,
144
- setHasBrandAddOn: d
145
- } = ie(L), {
144
+ setHasBrandAddOn: l
145
+ } = ie(q), {
146
146
  aria: s,
147
- logo: l,
147
+ logo: c,
148
148
  href: r,
149
149
  target: h
150
- } = n || {}, m = l === void 0 ? "main" : l, A = r === void 0 ? "/" : r, f = h === void 0 ? "_self" : h;
150
+ } = n || {}, m = c === void 0 ? "main" : c, A = r === void 0 ? "/" : r, f = h === void 0 ? "_self" : h;
151
151
  let p;
152
- e[0] !== a || e[1] !== t || e[2] !== d ? (p = () => {
153
- t || !Se(a) ? d?.(!0) : d?.(!1);
154
- }, e[0] = a, e[1] = t, e[2] = d, e[3] = p) : p = e[3];
152
+ e[0] !== a || e[1] !== t || e[2] !== l ? (p = () => {
153
+ t || !Se(a) ? l?.(!0) : l?.(!1);
154
+ }, e[0] = a, e[1] = t, e[2] = l, e[3] = p) : p = e[3];
155
155
  let u;
156
- e[4] !== a || e[5] !== t ? (u = [t, a], e[4] = a, e[5] = t, e[6] = u) : u = e[6], Y(p, u);
157
- const v = x(_.logo, {
156
+ e[4] !== a || e[5] !== t ? (u = [t, a], e[4] = a, e[5] = t, e[6] = u) : u = e[6], L(p, u);
157
+ const v = D(_.logo, {
158
158
  [_.logoReduced]: m.includes("reduced")
159
159
  });
160
160
  let w;
161
- e[7] !== o ? (w = x(_.brand, o), e[7] = o, e[8] = w) : w = e[8];
161
+ e[7] !== o ? (w = D(_.brand, o), e[7] = o, e[8] = w) : w = e[8];
162
162
  let g;
163
163
  e[9] !== s || e[10] !== A || e[11] !== m || e[12] !== v || e[13] !== f ? (g = /* @__PURE__ */ y(Re, { className: v, aria: s, logo: m, href: A, target: f }), e[9] = s, e[10] = A, e[11] = m, e[12] = v, e[13] = f, e[14] = g) : g = e[14];
164
- let c;
165
- e[15] !== a ? (c = Se(a) ? void 0 : /* @__PURE__ */ y(Be, { ...a }), e[15] = a, e[16] = c) : c = e[16];
164
+ let d;
165
+ e[15] !== a ? (d = Se(a) ? void 0 : /* @__PURE__ */ y(Be, { ...a }), e[15] = a, e[16] = d) : d = e[16];
166
166
  let N;
167
- return e[17] !== t || e[18] !== w || e[19] !== g || e[20] !== c ? (N = /* @__PURE__ */ ge("div", { className: w, children: [
167
+ return e[17] !== t || e[18] !== w || e[19] !== g || e[20] !== d ? (N = /* @__PURE__ */ ge("div", { className: w, children: [
168
168
  g,
169
- c,
169
+ d,
170
170
  t
171
- ] }), e[17] = t, e[18] = w, e[19] = g, e[20] = c, e[21] = N) : N = e[21], N;
171
+ ] }), e[17] = t, e[18] = w, e[19] = g, e[20] = d, e[21] = N) : N = e[21], N;
172
172
  };
173
173
  _e.displayName = "DSTopBar.BrandArea";
174
174
  const Be = (i) => {
175
- const e = D.c(15), {
175
+ const e = P.c(15), {
176
176
  children: t,
177
177
  className: o,
178
178
  subTitle: n,
179
179
  variant: a
180
180
  } = i;
181
- let d;
182
- e[0] !== o || e[1] !== n ? (d = x(_.brandAddOn, o, {
181
+ let l;
182
+ e[0] !== o || e[1] !== n ? (l = D(_.brandAddOn, o, {
183
183
  [_.brandAddOnDouble]: n
184
- }), e[0] = o, e[1] = n, e[2] = d) : d = e[2];
185
- const s = d;
184
+ }), e[0] = o, e[1] = n, e[2] = l) : l = e[2];
185
+ const s = l;
186
186
  if (n) {
187
187
  let r;
188
188
  e[3] !== t ? (r = /* @__PURE__ */ y("span", { children: t }), e[3] = t, e[4] = r) : r = e[4];
@@ -198,149 +198,149 @@ const Be = (i) => {
198
198
  let r;
199
199
  return e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ y(Ce, {}), e[11] = r) : r = e[11], r;
200
200
  }
201
- let l;
202
- return e[12] !== s || e[13] !== t ? (l = /* @__PURE__ */ y("div", { className: s, children: t }), e[12] = s, e[13] = t, e[14] = l) : l = e[14], l;
201
+ let c;
202
+ return e[12] !== s || e[13] !== t ? (c = /* @__PURE__ */ y("div", { className: s, children: t }), e[12] = s, e[13] = t, e[14] = c) : c = e[14], c;
203
203
  };
204
204
  Be.displayName = "DSTopBar.BrandAddOn";
205
205
  const ye = (i) => {
206
- const e = D.c(5), {
206
+ const e = P.c(5), {
207
207
  children: t,
208
208
  className: o
209
209
  } = i;
210
210
  let n;
211
- e[0] !== o ? (n = x(_.primary, o), e[0] = o, e[1] = n) : n = e[1];
211
+ e[0] !== o ? (n = D(_.primary, o), e[0] = o, e[1] = n) : n = e[1];
212
212
  let a;
213
213
  return e[2] !== t || e[3] !== n ? (a = /* @__PURE__ */ y("div", { className: n, children: t }), e[2] = t, e[3] = n, e[4] = a) : a = e[4], a;
214
214
  };
215
215
  ye.displayName = "DSTopBar.PrimaryArea";
216
216
  const ve = (i) => {
217
- const e = D.c(5), {
217
+ const e = P.c(5), {
218
218
  children: t,
219
219
  className: o
220
220
  } = i;
221
221
  let n;
222
- e[0] !== o ? (n = x(_.secondary, o), e[0] = o, e[1] = n) : n = e[1];
222
+ e[0] !== o ? (n = D(_.secondary, o), e[0] = o, e[1] = n) : n = e[1];
223
223
  let a;
224
224
  return e[2] !== t || e[3] !== n ? (a = /* @__PURE__ */ y("div", { className: n, children: t }), e[2] = t, e[3] = n, e[4] = a) : a = e[4], a;
225
225
  };
226
226
  ve.displayName = "DSTopBar.SecondaryArea";
227
- k.BrandArea = _e;
228
- k.PrimaryArea = ye;
229
- k.SecondaryArea = ve;
230
- const at = "ds-header_root_c5fh4_1", rt = "ds-header_root--sticky_c5fh4_4", nt = "ds-header_root--hidden_c5fh4_9", ot = "ds-header_root--fixed_c5fh4_20", it = "ds-header_main-navigation-area_c5fh4_37", st = "ds-header_main-navigation-area--fixed_c5fh4_90", ct = "ds-header_main-navigation-area--fixed--visible_c5fh4_105", dt = "ds-header_main-navigation-content_c5fh4_111", lt = "ds-header_main-navigation-content--variant-full_c5fh4_115", ht = "ds-header_header-placeholder_c5fh4_120", mt = "ds-header_header-placeholder--with-banner_c5fh4_123", S = {
227
+ $.BrandArea = _e;
228
+ $.PrimaryArea = ye;
229
+ $.SecondaryArea = ve;
230
+ const at = "ds-header_root_c5fh4_1", rt = "ds-header_root--sticky_c5fh4_4", nt = "ds-header_root--hidden_c5fh4_9", ot = "ds-header_root--fixed_c5fh4_20", it = "ds-header_main-navigation-area_c5fh4_37", st = "ds-header_main-navigation-area--fixed_c5fh4_90", dt = "ds-header_main-navigation-area--fixed--visible_c5fh4_105", lt = "ds-header_main-navigation-content_c5fh4_111", ct = "ds-header_main-navigation-content--variant-full_c5fh4_115", ht = "ds-header_header-placeholder_c5fh4_120", mt = "ds-header_header-placeholder--with-banner_c5fh4_123", S = {
231
231
  root: at,
232
232
  rootSticky: rt,
233
233
  rootHidden: nt,
234
234
  rootFixed: ot,
235
235
  mainNavigationArea: it,
236
236
  mainNavigationAreaFixed: st,
237
- mainNavigationAreaFixedVisible: ct,
238
- mainNavigationContent: dt,
239
- mainNavigationContentVariantFull: lt,
237
+ mainNavigationAreaFixedVisible: dt,
238
+ mainNavigationContent: lt,
239
+ mainNavigationContentVariantFull: ct,
240
240
  headerPlaceholder: ht,
241
241
  headerPlaceholderWithBanner: mt
242
- }, L = Fe({
242
+ }, q = Fe({
243
243
  variant: "main"
244
244
  }), se = (i) => {
245
- const e = D.c(61);
246
- let t, o, n, a, d, s, l;
245
+ const e = P.c(61);
246
+ let t, o, n, a, l, s, c;
247
247
  e[0] !== i ? ({
248
248
  children: o,
249
249
  brandAddOnProps: t,
250
250
  className: n,
251
251
  isHeaderSticky: s,
252
- variant: l,
252
+ variant: c,
253
253
  logoProps: a,
254
- ...d
255
- } = i, e[0] = i, e[1] = t, e[2] = o, e[3] = n, e[4] = a, e[5] = d, e[6] = s, e[7] = l) : (t = e[1], o = e[2], n = e[3], a = e[4], d = e[5], s = e[6], l = e[7]);
256
- const r = s === void 0 ? !1 : s, h = l === void 0 ? "main" : l, [m, A] = T(!1);
254
+ ...l
255
+ } = i, e[0] = i, e[1] = t, e[2] = o, e[3] = n, e[4] = a, e[5] = l, e[6] = s, e[7] = c) : (t = e[1], o = e[2], n = e[3], a = e[4], l = e[5], s = e[6], c = e[7]);
256
+ const r = s === void 0 ? !1 : s, h = c === void 0 ? "main" : c, [m, A] = T(!1);
257
257
  let f;
258
258
  e[8] !== o ? (f = O(o, se.BannerArea, !0), e[8] = o, e[9] = f) : f = e[9];
259
- const p = f, u = O(o, k.BrandArea), v = O(o, k.PrimaryArea), w = O(o, k.SecondaryArea);
259
+ const p = f, u = O(o, $.BrandArea), v = O(o, $.PrimaryArea), w = O(o, $.SecondaryArea);
260
260
  process.env.NODE_ENV !== "production" && Me({
261
261
  hasBrandArea: u,
262
262
  hasPrimaryArea: v,
263
263
  hasSecondaryArea: w
264
264
  });
265
- const g = Ve(2), [c, N] = T(!1), $ = z(null), U = z(null), ce = z(null), de = z(null), [le, xe] = T(!1), [E, De] = T(!1), [H, be] = T(!0), [he, Pe] = T(!1), me = z(c), j = ue($), G = ue(ce), J = ue(U), fe = G.height + j.height + J.height;
265
+ const g = Ve(2), [d, N] = T(!1), W = I(null), U = I(null), de = I(null), le = I(null), [ce, De] = T(!1), [E, Pe] = T(!1), [H, be] = T(!0), [he, xe] = T(!1), me = I(d), j = ue(W), G = ue(de), J = ue(U), fe = G.height + j.height + J.height;
266
266
  let K, Q;
267
267
  e[10] !== r ? (K = () => {
268
268
  if (r) {
269
269
  const b = () => {
270
- N((P) => (me.current = P, window.innerWidth < 1024));
270
+ N((x) => (me.current = x, window.innerWidth < 1024));
271
271
  };
272
272
  return b(), window.addEventListener("resize", b), () => window.removeEventListener("resize", b);
273
273
  }
274
- }, Q = [r], e[10] = r, e[11] = K, e[12] = Q) : (K = e[11], Q = e[12]), Y(K, Q);
274
+ }, Q = [r], e[10] = r, e[11] = K, e[12] = Q) : (K = e[11], Q = e[12]), L(K, Q);
275
275
  let X;
276
276
  e[13] !== j.height || e[14] !== J.height || e[15] !== G.height ? (X = () => {
277
- const b = document.documentElement, P = j.height || 0, ne = G.height || 0;
277
+ const b = document.documentElement, x = j.height || 0, ne = G.height || 0;
278
278
  let B;
279
- if (!de.current)
280
- B = P + ne;
279
+ if (!le.current)
280
+ B = x + ne;
281
281
  else {
282
- const q = J.height || 0;
283
- !q || q === P ? B = parseInt(b.style.getPropertyValue("--ds-header-height").replace("rem", "")) * 16 || 0 : B = q;
282
+ const k = J.height || 0;
283
+ !k || k === x ? B = parseInt(b.style.getPropertyValue("--ds-header-height").replace("rem", "")) * 16 || 0 : B = k;
284
284
  }
285
- b.style.setProperty("--ds-banner-height", `${pe(P)}rem`), b.style.setProperty("--ds-header-height", `${pe(B)}rem`), b.style.setProperty("--ds-top-bar-height", `${pe(ne)}rem`);
285
+ b.style.setProperty("--ds-banner-height", `${pe(x)}rem`), b.style.setProperty("--ds-header-height", `${pe(B)}rem`), b.style.setProperty("--ds-top-bar-height", `${pe(ne)}rem`);
286
286
  }, e[13] = j.height, e[14] = J.height, e[15] = G.height, e[16] = X) : X = e[16];
287
287
  let Z;
288
288
  e[17] !== fe ? (Z = [fe], e[17] = fe, e[18] = Z) : Z = e[18], Ne(X, Z);
289
289
  let ee;
290
- e[19] !== r || e[20] !== c || e[21] !== H || e[22] !== g ? (ee = () => {
290
+ e[19] !== r || e[20] !== d || e[21] !== H || e[22] !== g ? (ee = () => {
291
291
  if (r) {
292
292
  const b = () => {
293
- const B = U.current, q = !!B && window.scrollY <= B.offsetHeight;
294
- xe(q);
295
- const W = de.current, oe = ce.current;
296
- if (!c && me.current && !H) {
297
- be(q && !!B && window.scrollY <= B.offsetHeight);
293
+ const B = U.current, k = !!B && window.scrollY <= B.offsetHeight;
294
+ De(k);
295
+ const z = le.current, oe = de.current;
296
+ if (!d && me.current && !H) {
297
+ be(k && !!B && window.scrollY <= B.offsetHeight);
298
298
  return;
299
299
  }
300
- const Te = !!oe && !!W && W.getBoundingClientRect().bottom > oe.getBoundingClientRect().bottom, Oe = !W && !!oe && !!$.current && (window.scrollY >= $.current.offsetHeight || 0) || !W && !$.current && !!oe && window.scrollY >= 1;
301
- be(W ? Te && !!B && window.scrollY <= B.offsetHeight : !Oe);
300
+ const Te = !!oe && !!z && z.getBoundingClientRect().bottom > oe.getBoundingClientRect().bottom, Oe = !z && !!oe && !!W.current && (window.scrollY >= W.current.offsetHeight || 0) || !z && !W.current && !!oe && window.scrollY >= 1;
301
+ be(z ? Te && !!B && window.scrollY <= B.offsetHeight : !Oe);
302
302
  };
303
303
  window.addEventListener("scroll", b, {
304
304
  passive: !0
305
305
  }), b();
306
- const P = U.current, ne = !!P && P.getBoundingClientRect().bottom > 0;
307
- return c && De(g === "up" && !ne), c || Pe(g === "up" && !H), () => {
306
+ const x = U.current, ne = !!x && x.getBoundingClientRect().bottom > 0;
307
+ return d && Pe(g === "up" && !ne), d || xe(g === "up" && !H), () => {
308
308
  window.removeEventListener("scroll", b);
309
309
  };
310
310
  }
311
- }, e[19] = r, e[20] = c, e[21] = H, e[22] = g, e[23] = ee) : ee = e[23];
311
+ }, e[19] = r, e[20] = d, e[21] = H, e[22] = g, e[23] = ee) : ee = e[23];
312
312
  let te;
313
- e[24] !== r || e[25] !== c || e[26] !== g ? (te = [r, c, me, g], e[24] = r, e[25] = c, e[26] = g, e[27] = te) : te = e[27], Y(ee, te);
313
+ e[24] !== r || e[25] !== d || e[26] !== g ? (te = [r, d, me, g], e[24] = r, e[25] = d, e[26] = g, e[27] = te) : te = e[27], L(ee, te);
314
314
  let ae;
315
- e[28] !== n || e[29] !== E || e[30] !== r || e[31] !== le || e[32] !== c ? (ae = x(S.root, n, r ? {
316
- [S.rootSticky]: c,
317
- [S.rootHidden]: c && !le,
318
- [S.rootFixed]: c && E
319
- } : {}), e[28] = n, e[29] = E, e[30] = r, e[31] = le, e[32] = c, e[33] = ae) : ae = e[33];
315
+ e[28] !== n || e[29] !== E || e[30] !== r || e[31] !== ce || e[32] !== d ? (ae = D(S.root, n, r ? {
316
+ [S.rootSticky]: d,
317
+ [S.rootHidden]: d && !ce,
318
+ [S.rootFixed]: d && E
319
+ } : {}), e[28] = n, e[29] = E, e[30] = r, e[31] = ce, e[32] = d, e[33] = ae) : ae = e[33];
320
320
  const Ae = ae;
321
321
  let F;
322
- e[34] !== t || e[35] !== m || e[36] !== he || e[37] !== r || e[38] !== c || e[39] !== H || e[40] !== a || e[41] !== h ? (F = {
322
+ e[34] !== t || e[35] !== m || e[36] !== he || e[37] !== r || e[38] !== d || e[39] !== H || e[40] !== a || e[41] !== h ? (F = {
323
323
  variant: h,
324
- bannerAreaRef: $,
324
+ bannerAreaRef: W,
325
325
  brandAddOnProps: t,
326
326
  hasBrandAddOn: m,
327
327
  setHasBrandAddOn: A,
328
328
  isFixedMainNavigation: he,
329
329
  isHeaderSticky: r,
330
- isMobile: c,
330
+ isMobile: d,
331
331
  isStickyMainNavigationVisible: H,
332
- mainNavigationAreaRef: de,
333
- topBarAreaRef: ce,
332
+ mainNavigationAreaRef: le,
333
+ topBarAreaRef: de,
334
334
  logoProps: a
335
- }, e[34] = t, e[35] = m, e[36] = he, e[37] = r, e[38] = c, e[39] = H, e[40] = a, e[41] = h, e[42] = F) : F = e[42];
335
+ }, e[34] = t, e[35] = m, e[36] = he, e[37] = r, e[38] = d, e[39] = H, e[40] = a, e[41] = h, e[42] = F) : F = e[42];
336
336
  let R;
337
- e[43] !== o || e[44] !== F ? (R = /* @__PURE__ */ y(L.Provider, { value: F, children: o }), e[43] = o, e[44] = F, e[45] = R) : R = e[45];
337
+ e[43] !== o || e[44] !== F ? (R = /* @__PURE__ */ y(q.Provider, { value: F, children: o }), e[43] = o, e[44] = F, e[45] = R) : R = e[45];
338
338
  let C;
339
- e[46] !== d || e[47] !== Ae || e[48] !== R ? (C = /* @__PURE__ */ y("header", { className: Ae, ...d, ref: U, children: R }), e[46] = d, e[47] = Ae, e[48] = R, e[49] = C) : C = e[49];
339
+ e[46] !== l || e[47] !== Ae || e[48] !== R ? (C = /* @__PURE__ */ y("header", { className: Ae, ...l, ref: U, children: R }), e[46] = l, e[47] = Ae, e[48] = R, e[49] = C) : C = e[49];
340
340
  let V;
341
- e[50] !== E || e[51] !== c ? (V = c && E && /* @__PURE__ */ y("div", { className: S.headerPlaceholder }), e[50] = E, e[51] = c, e[52] = V) : V = e[52];
341
+ e[50] !== E || e[51] !== d ? (V = d && E && /* @__PURE__ */ y("div", { className: S.headerPlaceholder }), e[50] = E, e[51] = d, e[52] = V) : V = e[52];
342
342
  let M;
343
- e[53] !== p || e[54] !== c || e[55] !== H ? (M = !c && !H && /* @__PURE__ */ y("div", { className: p ? S.headerPlaceholderWithBanner : S.headerPlaceholder }), e[53] = p, e[54] = c, e[55] = H, e[56] = M) : M = e[56];
343
+ e[53] !== p || e[54] !== d || e[55] !== H ? (M = !d && !H && /* @__PURE__ */ y("div", { className: p ? S.headerPlaceholderWithBanner : S.headerPlaceholder }), e[53] = p, e[54] = d, e[55] = H, e[56] = M) : M = e[56];
344
344
  let re;
345
345
  return e[57] !== C || e[58] !== V || e[59] !== M ? (re = /* @__PURE__ */ ge(Ee, { children: [
346
346
  C,
@@ -348,36 +348,36 @@ const at = "ds-header_root_c5fh4_1", rt = "ds-header_root--sticky_c5fh4_4", nt =
348
348
  M
349
349
  ] }), e[57] = C, e[58] = V, e[59] = M, e[60] = re) : re = e[60], re;
350
350
  }, we = (i) => {
351
- const e = D.c(4), {
351
+ const e = P.c(4), {
352
352
  children: t,
353
353
  className: o
354
354
  } = i, {
355
355
  bannerAreaRef: n
356
- } = ie(L);
356
+ } = ie(q);
357
357
  let a;
358
358
  return e[0] !== n || e[1] !== t || e[2] !== o ? (a = /* @__PURE__ */ y("div", { ref: n, className: o, children: t }), e[0] = n, e[1] = t, e[2] = o, e[3] = a) : a = e[3], a;
359
359
  };
360
360
  we.displayName = "DSHeader.BannerArea";
361
361
  const He = (i) => {
362
- const e = D.c(15), {
362
+ const e = P.c(15), {
363
363
  children: t,
364
364
  className: o
365
365
  } = i, {
366
366
  variant: n,
367
367
  isFixedMainNavigation: a,
368
- isHeaderSticky: d,
368
+ isHeaderSticky: l,
369
369
  isMobile: s,
370
- isStickyMainNavigationVisible: l,
370
+ isStickyMainNavigationVisible: c,
371
371
  mainNavigationAreaRef: r
372
- } = ie(L);
372
+ } = ie(q);
373
373
  let h;
374
- e[0] !== o || e[1] !== a || e[2] !== d || e[3] !== s || e[4] !== l ? (h = x(S.mainNavigationArea, o, d ? {
375
- [S.mainNavigationAreaFixed]: !s && !l,
374
+ e[0] !== o || e[1] !== a || e[2] !== l || e[3] !== s || e[4] !== c ? (h = D(S.mainNavigationArea, o, l ? {
375
+ [S.mainNavigationAreaFixed]: !s && !c,
376
376
  [S.mainNavigationAreaFixedVisible]: !s && a
377
- } : {}), e[0] = o, e[1] = a, e[2] = d, e[3] = s, e[4] = l, e[5] = h) : h = e[5];
377
+ } : {}), e[0] = o, e[1] = a, e[2] = l, e[3] = s, e[4] = c, e[5] = h) : h = e[5];
378
378
  const m = h, A = n === "full";
379
379
  let f;
380
- e[6] !== A ? (f = x(S.mainNavigationContent, {
380
+ e[6] !== A ? (f = D(S.mainNavigationContent, {
381
381
  [S.mainNavigationContentVariantFull]: A
382
382
  }), e[6] = A, e[7] = f) : f = e[7];
383
383
  const p = f;
@@ -392,10 +392,10 @@ se.MainNavigationArea = He;
392
392
  se.displayName = "DSHeader";
393
393
  export {
394
394
  St as B,
395
- L as D,
395
+ se as D,
396
396
  bt as H,
397
- se as a,
398
- k as b,
397
+ q as a,
398
+ $ as b,
399
399
  tt as c,
400
400
  Se as i,
401
401
  Me as v
@@ -25,7 +25,7 @@ function Q(t) {
25
25
  n.forEach((o) => {
26
26
  var a;
27
27
  const d = o.isIntersecting && c.some((m) => o.intersectionRatio >= m);
28
- t.trackVisibility && typeof o.isVisible > "u" && (o.isVisible = d), (a = r.get(o.target)) == null || a.forEach((m) => {
28
+ t.trackVisibility && typeof o.isVisible > "u" && (o.isVisible = d), [...(a = r.get(o.target)) != null ? a : []].forEach((m) => {
29
29
  m(d, o);
30
30
  });
31
31
  });
@@ -1,8 +1,6 @@
1
1
  "use client";
2
- import { g as t } from "./helpers.CexwVao7.js";
3
- import "react";
4
- import "./index.cKLI89Eg.js";
5
- const r = 8, d = 5, I = ["medium", "small"], u = ["color", "date", "datetime-local", "email", "month", "number", "range", "tel", "text", "time", "url"], l = ["week", "file", "hidden", "button", "checkbox", "password", "radio", "search", "reset", "submit", "image", "datetime"], T = ({
2
+ import { g as n } from "./helpers.CexwVao7.js";
3
+ const r = 8, d = 5, w = ["medium", "small"], p = ["color", "date", "datetime-local", "email", "month", "number", "range", "tel", "text", "time", "url"], l = ["week", "file", "hidden", "button", "checkbox", "password", "radio", "search", "reset", "submit", "image", "datetime"], b = ({
6
4
  hideLabel: e,
7
5
  id: o,
8
6
  label: a,
@@ -10,21 +8,21 @@ const r = 8, d = 5, I = ["medium", "small"], u = ["color", "date", "datetime-loc
10
8
  popoverContent: c,
11
9
  suffix: i,
12
10
  leadingIconName: m,
13
- leadingIconSource: p,
14
- actionButtonProps: n
11
+ leadingIconSource: u,
12
+ actionButtonProps: t
15
13
  }) => {
16
14
  if (!o)
17
- throw new Error(t("DSInput", 'A unique "id" prop is required. Please add a unique "id" prop to the DSInput component.'));
15
+ throw new Error(n("DSInput", 'A unique "id" prop is required. Please add a unique "id" prop to the DSInput component.'));
18
16
  if (!a)
19
- throw new Error(t("DSInput", `A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSInput component. If you don't want to display a label, set hideLabel={true}.`));
20
- if (n && !n.label)
21
- throw new Error(t("DSInput", "The action button needs to have a label for a11y reasons. Please add a label to the actionButtonProps."));
22
- if (n && !n?.iconName && !n?.iconSource)
23
- throw new Error(t("DSInput", "The action button needs to have an iconName or iconSource. Please add an iconName or iconSource to the actionButtonProps."));
24
- s && s.length > r && console.warn(t("DSInput", `Prefix length must not exceed ${r} characters.`)), i && i.length > d && console.warn(t("DSInput", `Suffix length must not exceed ${d} characters.`)), s && (m || p) && console.warn(t("DSInput", "Prefix and a leading Icon cannot be used at the same time.")), i && (n?.iconName || n?.iconSource) && console.warn(t("DSInput", "Suffix and an action button cannot be used at the same time.")), e && c && console.warn(t("DSInput", "Using a popover when hideLabel is set to true is not supported."));
25
- }, D = (e, o) => {
26
- if (!u.includes(e) && !l.includes(e))
27
- throw new Error(t("DSInput", `The type "${e}" is not supported by the DSInput component.`));
17
+ throw new Error(n("DSInput", `A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSInput component. If you don't want to display a label, set hideLabel={true}.`));
18
+ if (t && !t.label)
19
+ throw new Error(n("DSInput", "The action button needs to have a label for a11y reasons. Please add a label to the actionButtonProps."));
20
+ if (t && !t?.iconName && !t?.iconSource)
21
+ throw new Error(n("DSInput", "The action button needs to have an iconName or iconSource. Please add an iconName or iconSource to the actionButtonProps."));
22
+ s && s.length > r && console.warn(n("DSInput", `Prefix length must not exceed ${r} characters.`)), i && i.length > d && console.warn(n("DSInput", `Suffix length must not exceed ${d} characters.`)), s && (m || u) && console.warn(n("DSInput", "Prefix and a leading Icon cannot be used at the same time.")), i && (t?.iconName || t?.iconSource) && console.warn(n("DSInput", "Suffix and an action button cannot be used at the same time.")), e && c && console.warn(n("DSInput", "Using a popover when hideLabel is set to true is not supported."));
23
+ }, I = (e, o) => {
24
+ if (!p.includes(e) && !l.includes(e))
25
+ throw new Error(n("DSInput", `The type "${e}" is not supported by the DSInput component.`));
28
26
  if (o === "off" && e === "number")
29
27
  return;
30
28
  const a = {
@@ -42,18 +40,18 @@ const r = 8, d = 5, I = ["medium", "small"], u = ["color", "date", "datetime-loc
42
40
  week: "Type week is not recommended. Mobile safari does not support type week.",
43
41
  hidden: 'Type hidden is not supported by DSInput component. Use a default <input type="hidden" /> element instead.'
44
42
  };
45
- a[e] && console.warn(t("DSInput", a[e]));
46
- }, h = () => "showPicker" in HTMLInputElement.prototype && !!window.navigator.userAgent.match(/chrome|chromium|crios|edg/i), f = (e, o) => h() && (e || o), y = (e) => e === "date" || e === "datetime-local" || e === "month", U = (e) => e === "time";
43
+ a[e] && console.warn(n("DSInput", a[e]));
44
+ }, h = () => "showPicker" in HTMLInputElement.prototype && !!window.navigator.userAgent.match(/chrome|chromium|crios|edg/i), T = (e, o) => h() && (e || o), D = (e) => e === "date" || e === "datetime-local" || e === "month", f = (e) => e === "time";
47
45
  export {
48
- I,
46
+ w as I,
49
47
  r as M,
50
- u as S,
48
+ p as S,
51
49
  l as U,
52
50
  d as a,
53
- D as b,
54
- U as c,
51
+ f as b,
52
+ I as c,
55
53
  h,
56
- y as i,
57
- f as s,
58
- T as v
54
+ D as i,
55
+ T as s,
56
+ b as v
59
57
  };