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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/{accordion.BQ7vavIt.js → accordion.D4XR2R7e.js} +2 -2
  2. package/{actionbutton.C7lqEmBx.js → actionbutton.C8hePX-D.js} +3 -3
  3. package/{actioncard.dgVHW0BC.js → actioncard.kDxu01xm.js} +1 -1
  4. package/{actionlink.CL6v1mQA.js → actionlink.dccc5JQV.js} +3 -3
  5. package/{arialiveregions.DC1Gq9Lo.js → arialiveregions.BniSDuPM.js} +9 -10
  6. package/assets/Accordion.RlqWqpGo.css +1 -0
  7. package/assets/ActionButton.Dw2FeIaW.css +1 -0
  8. package/assets/ActionCard.viEoC26n.css +1 -0
  9. package/assets/ActionLink.B1Jjaf7k.css +1 -0
  10. package/assets/Button.Bi1KUKMv.css +1 -0
  11. package/assets/Checkbox.C6RWhy0V.css +1 -0
  12. package/assets/Chip.DfamkUPw.css +1 -0
  13. package/assets/CustomReactSelect.CvWMmrAU.css +1 -0
  14. package/assets/Dialog.6AkQo8ew.css +1 -0
  15. package/assets/Drawer.CDOlX809.css +1 -0
  16. package/assets/Fieldset.BbLGXCWa.css +1 -0
  17. package/assets/InputFile.CDtghZtl.css +1 -0
  18. package/assets/InputNumber.BNpO9p7n.css +1 -0
  19. package/assets/InputPassword.BgZo-RUc.css +1 -0
  20. package/assets/InputSearch.BROFFTK9.css +1 -0
  21. package/assets/LinkButton.IKIlFnpH.css +1 -0
  22. package/assets/Notification.2B81JHOp.css +1 -0
  23. package/assets/Pagination.DH71DZ0j.css +1 -0
  24. package/assets/Popover.58Tb0dOt.css +1 -0
  25. package/assets/Select.CfTN3CJo.css +1 -0
  26. package/assets/Slider.B4kzL60S.css +1 -0
  27. package/assets/{SystemFeedback.DYi9QetY.css → SystemFeedback.DVMml_h9.css} +1 -1
  28. package/assets/TextUtility.BThulfyl.css +1 -0
  29. package/assets/Textarea.BO4AcRJD.css +1 -0
  30. package/assets/buttonround.syTU1QSI.css +1 -0
  31. package/assets/chipgroup.DtCnsmS7.css +1 -0
  32. package/assets/filelist.B-Ru0GP_.css +1 -0
  33. package/assets/input.Dy8VS73e.css +1 -0
  34. package/assets/numberindicator.CtbitPQ8.css +1 -0
  35. package/assets/progressindicator.tyY_RVQ9.css +1 -0
  36. package/assets/radio.9hUUyg8R.css +1 -0
  37. package/assets/switch.8v7Wp1Fj.css +1 -0
  38. package/assets/tabpane.DDaeSDQb.css +1 -0
  39. package/assets/text.BwGsYzGM.css +1 -0
  40. package/assets/tooltip.C_BL2kou.css +1 -0
  41. package/{banner.BlB_7xue.js → banner.DO7GsDL_.js} +1 -1
  42. package/{breadcrumb.DajORKq7.js → breadcrumb.DYov6vtt.js} +3 -3
  43. package/{button.EooIlFBI.js → button.qxcuzbnv.js} +2 -2
  44. package/buttonround.BO7_ewzA.js +101 -0
  45. package/{checkbox.NJj9qMnx.js → checkbox.C9kyIY9P.js} +4 -5
  46. package/{checkboxgroup.DELdyn0X.js → checkboxgroup.kEUxnKLf.js} +2 -2
  47. package/{chip.C4h8Hm9g.js → chip.5ktNLRYf.js} +3 -3
  48. package/chipgroup.kRU3Z98U.js +226 -0
  49. package/chunks/Accordion.gih2ni1d.js +179 -0
  50. package/chunks/ActionButton.B-wm5sUy.js +194 -0
  51. package/chunks/{ActionCard.Dbq2VqyZ.js → ActionCard.Bm-2ewfS.js} +44 -44
  52. package/chunks/ActionLink.D0KzqbH4.js +166 -0
  53. package/chunks/{AriaLiveRegions.utils.BPvIKT6B.js → AriaLiveRegions.utils.xoETe2Ps.js} +14 -16
  54. package/chunks/{Breadcrumb.Ccm79ver.js → Breadcrumb.I2G-T0zc.js} +2 -2
  55. package/chunks/Button.CCol--xy.js +165 -0
  56. package/chunks/Checkbox.BxOGR1bR.js +96 -0
  57. package/chunks/CheckboxGroup.TneO0tuE.js +85 -0
  58. package/chunks/Chip.DffaXMkV.js +148 -0
  59. package/chunks/{CustomReactSelect.oEQpO9iN.js → CustomReactSelect.DTAavYaz.js} +282 -277
  60. package/chunks/Dialog.guuxflWL.js +101 -0
  61. package/chunks/{Drawer.CDe_g99S.js → Drawer.CjUZu6GW.js} +27 -28
  62. package/chunks/Fieldset.BBMuLKps.js +94 -0
  63. package/chunks/{Flag.X9tB3Mfv.js → Flag.CbQYBzVC.js} +12 -13
  64. package/chunks/{Header.bLSdAY9-.js → Header.CvcGSuhX.js} +1 -1
  65. package/chunks/{Input.utils.CkmzxIrU.js → Input.utils.Wycy2SzG.js} +23 -25
  66. package/chunks/InputFile.y71Cd5J9.js +260 -0
  67. package/chunks/InputNumber.Fn2YbF_s.js +250 -0
  68. package/chunks/InputPassword.DtT9yrlx.js +129 -0
  69. package/chunks/InputSearch.BoAfGqoH.js +157 -0
  70. package/chunks/LinkButton.BxG7fx1O.js +150 -0
  71. package/chunks/LinkCard.DM-5WrSt.js +200 -0
  72. package/chunks/{MegaMenu.DbunD_yW.js → MegaMenu.udXR1H3W.js} +1 -1
  73. package/chunks/{NavigationTabList.CyrKNAer.js → NavigationTabList.thzA1pU8.js} +1 -1
  74. package/chunks/{NavigationTabs.DVBe-Wt3.js → NavigationTabs.BWewgBch.js} +1 -1
  75. package/chunks/Notification.C_o7Ge6Q.js +91 -0
  76. package/chunks/Pagination.BrOMUJMi.js +272 -0
  77. package/chunks/Popover.CxZZ_y1Z.js +230 -0
  78. package/chunks/RadioGroup.CO91_5hA.js +136 -0
  79. package/chunks/Select.EzoMdk1u.js +157 -0
  80. package/chunks/Slider.CX38t4Sk.js +330 -0
  81. package/chunks/{Stepper.KBRikedB.js → Stepper.Ds_aIEF8.js} +68 -69
  82. package/chunks/SystemFeedback.DhWcYjnu.js +43 -0
  83. package/chunks/{Tabs.xXn4zpGp.js → Tabs.BHVlgp7L.js} +2 -2
  84. package/chunks/Text.utils.DzlY9pJS.js +9 -0
  85. package/chunks/TextUtility.BZLwqyic.js +82 -0
  86. package/chunks/Textarea.vuJgvW6_.js +192 -0
  87. package/chunks/{Toast.NZfb7z3q.js → Toast.V_ZUAsf2.js} +1 -1
  88. package/chunks/translate.DSb-TdWR.js +2460 -0
  89. package/{combobox.CPsl2TC0.js → combobox.C6cPz4AJ.js} +1 -1
  90. package/components/Accordion/Accordion.d.ts +5 -0
  91. package/components/ActionButton/ActionButton.d.ts +5 -1
  92. package/components/ActionLink/ActionLink.d.ts +1 -1
  93. package/components/Button/Button.utils.d.ts +1 -1
  94. package/components/Checkbox/Checkbox.d.ts +8 -1
  95. package/components/CheckboxGroup/CheckboxGroup.d.ts +9 -1
  96. package/components/ChipGroup/Chip.d.ts +2 -0
  97. package/components/ChipGroup/ChipGroup.d.ts +12 -2
  98. package/components/ChipGroup/ChipGroup.utils.d.ts +39 -15
  99. package/components/Combobox/Combobox.utils.d.ts +66 -9
  100. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +5 -1
  101. package/components/Combobox/CustomReactSelect/CustomReactSelect.utils.d.ts +1 -1
  102. package/components/Fieldset/Fieldset.d.ts +9 -2
  103. package/components/Input/Input.d.ts +8 -1
  104. package/components/InputFile/FileList/FileList.d.ts +4 -2
  105. package/components/InputFile/FileList/FilePreview/FilePreview.d.ts +8 -2
  106. package/components/InputFile/FileList/ProgressIndicator/ProgressIndicator.d.ts +8 -2
  107. package/components/InputFile/InputFile.d.ts +12 -2
  108. package/components/InputFile/InputFile.utils.d.ts +41 -23
  109. package/components/InputNumber/InputNumber.d.ts +8 -1
  110. package/components/InputPassword/InputPassword.d.ts +8 -1
  111. package/components/InputSearch/InputSearch.d.ts +8 -1
  112. package/components/LinkCard/LinkCard.d.ts +10 -4
  113. package/components/LinkCard/LinkCard.utils.d.ts +2 -2
  114. package/components/NumberIndicator/NumberIndicator.d.ts +6 -1
  115. package/components/Pagination/Pagination.d.ts +10 -3
  116. package/components/Pagination/Pagination.utils.d.ts +22 -9
  117. package/components/Popover/Popover.d.ts +9 -1
  118. package/components/Popover/Popover.utils.d.ts +3 -2
  119. package/components/Radio/Radio.d.ts +5 -0
  120. package/components/RadioGroup/RadioGroup.d.ts +8 -0
  121. package/components/Select/Select.d.ts +8 -1
  122. package/components/Slider/Slider.d.ts +8 -1
  123. package/components/Stepper/Step.d.ts +1 -1
  124. package/components/Stepper/Step.utils.d.ts +1 -1
  125. package/components/Stepper/Stepper.d.ts +4 -1
  126. package/components/Stepper/Stepper.utils.d.ts +9 -4
  127. package/components/SystemFeedback/SystemFeedback.d.ts +9 -1
  128. package/components/Textarea/Textarea.d.ts +8 -1
  129. package/{customreactselect.D7BJg-2s.js → customreactselect.L0zSh3Tg.js} +4 -4
  130. package/{dialog.BlprGigG.js → dialog.Ddq8o8Od.js} +2 -2
  131. package/{drawer.BoyrTFi1.js → drawer.rbbjQvqL.js} +2 -2
  132. package/{fieldset.D_e2-vo_.js → fieldset.BHf3XK2q.js} +3 -3
  133. package/filelist.GrEwoM1u.js +143 -0
  134. package/filepreview.B2Ot9SZ7.js +97 -0
  135. package/{flag.0vpitrQ-.js → flag.fX6LAgty.js} +3 -4
  136. package/{floatingactionbutton.BrdE1vi2.js → floatingactionbutton.BwCiybnc.js} +1 -1
  137. package/{header.C3AqYBtz.js → header.BCeCjYfG.js} +1 -1
  138. package/index.es.js +203 -204
  139. package/input.Dh0ws-9j.js +187 -0
  140. package/inputfile.DiZh3GcT.js +17 -0
  141. package/{inputnumber.Box5R2An.js → inputnumber.D2cmptaH.js} +8 -9
  142. package/{inputpassword.CBc8GNwI.js → inputpassword.C53Kg4EA.js} +4 -4
  143. package/inputsearch.BrsIDUSW.js +14 -0
  144. package/link.DEZDbUgq.js +81 -0
  145. package/{linkbutton.DxEPueLb.js → linkbutton._X50W2Md.js} +3 -3
  146. package/{linkcard.CCY-VFWN.js → linkcard.BtM3KnjT.js} +3 -3
  147. package/{logo.D7LnRA1E.js → logo.D6BTxbxv.js} +0 -1
  148. package/{megamenu.C8OynEzk.js → megamenu.odVCUm4c.js} +2 -2
  149. package/{navigationtablist.iSQd5PX4.js → navigationtablist.n9DrtYe5.js} +2 -2
  150. package/{navigationtabs.FtkVv_qV.js → navigationtabs.D0mSyAtK.js} +2 -2
  151. package/{notification.Cqg8HpJ8.js → notification._X8-8vOa.js} +2 -2
  152. package/numberindicator.DsK65Bj3.js +39 -0
  153. package/package.json +6 -1
  154. package/pagination.B7Hrx_sk.js +14 -0
  155. package/partials/index.js +68 -68
  156. package/{popover.DYiEGSnj.js → popover.BBaqL7y9.js} +3 -3
  157. package/progressindicator.D9CfVD95.js +74 -0
  158. package/radio.DjToa2aV.js +148 -0
  159. package/{radiogroup.wqgExwrG.js → radiogroup.mc-8lw65.js} +3 -3
  160. package/{scroller.Dqnsxq2M.js → scroller.CgWp2WXG.js} +10 -11
  161. package/{select.DkKuGI6O.js → select.DTZ6a6Ag.js} +5 -6
  162. package/{skeleton.DUkBgXxO.js → skeleton.CNJdNVav.js} +10 -10
  163. package/{skiptocontent.CRQywi6J.js → skiptocontent.BsRpWvyu.js} +4 -4
  164. package/{slider.BOjqQp9n.js → slider.BMGAihY0.js} +3 -3
  165. package/{step.C6zDRCBu.js → step.DCQ6CawJ.js} +1 -1
  166. package/stepper.D7-7BdSv.js +15 -0
  167. package/styles/scss/ds/index.scss +2 -0
  168. package/styles/scss/ds/lib/border-width.scss +3 -0
  169. package/styles/scss/ds/lib/ds-internal/_input.scss +65 -21
  170. package/styles/scss/ds/lib/ds-internal/_link-button.scss +4 -2
  171. package/styles/scss/ds/lib/ds-internal/_link.scss +23 -3
  172. package/styles/scss/ds/lib/input.scss +12 -7
  173. package/styles/scss/ds/lib/link.scss +2 -2
  174. package/styles/scss/ds/lib/radius.scss +5 -0
  175. package/{switch.CuNNdrkD.js → switch.tM2XBag8.js} +2 -2
  176. package/{systemfeedback.Da0wX0Eb.js → systemfeedback.BPPOht_9.js} +1 -1
  177. package/{tablist.BjKwrLz9.js → tablist.BAm0_UIG.js} +22 -23
  178. package/{tabpane.7vMXUKFX.js → tabpane.B9rZghU6.js} +1 -1
  179. package/{tabs.-U2k6Oll.js → tabs.BgTdWbTe.js} +3 -3
  180. package/text.BEO_ZfJq.js +72 -0
  181. package/{textarea.BWznY6Gg.js → textarea.Cki-uMkZ.js} +5 -6
  182. package/{textutility.CBLuAdaa.js → textutility.BypzssPt.js} +2 -2
  183. package/{toast.D9XLSgJg.js → toast.s0Hfuh5i.js} +2 -2
  184. package/{toastmanager.V5E05qgI.js → toastmanager.CPIPn4Io.js} +19 -20
  185. package/{tooltip.a1aWHK00.js → tooltip.BFQG-7VR.js} +1 -1
  186. package/{topbar.BdGK62KJ.js → topbar.Bbct-XkB.js} +3 -3
  187. package/utils/translate.d.ts +22 -6
  188. package/assets/Accordion.DPu2l_Kg.css +0 -1
  189. package/assets/ActionButton.DcQYatF1.css +0 -1
  190. package/assets/ActionCard.gRQVVFWz.css +0 -1
  191. package/assets/ActionLink.B62Aa8y9.css +0 -1
  192. package/assets/Button.BI6zz6Fw.css +0 -1
  193. package/assets/Checkbox.DknHnS9a.css +0 -1
  194. package/assets/Chip.CYhVB1Jh.css +0 -1
  195. package/assets/CustomReactSelect.lKMLwL7n.css +0 -1
  196. package/assets/Dialog.BKwWy1g2.css +0 -1
  197. package/assets/Drawer.IRb7Vc1n.css +0 -1
  198. package/assets/Fieldset.C4Fx4-UV.css +0 -1
  199. package/assets/InputFile.ne7gwc_5.css +0 -1
  200. package/assets/InputNumber.BIdsQuFc.css +0 -1
  201. package/assets/InputPassword.YSKTDTA1.css +0 -1
  202. package/assets/InputSearch.C3qtDQcj.css +0 -1
  203. package/assets/LinkButton.CmEE7Od_.css +0 -1
  204. package/assets/Notification.BO0Mu9No.css +0 -1
  205. package/assets/Pagination.OLmfdASf.css +0 -1
  206. package/assets/Popover.mL5g23EK.css +0 -1
  207. package/assets/Select.CDP-1_K9.css +0 -1
  208. package/assets/Slider.Cu7MgNph.css +0 -1
  209. package/assets/TextUtility.bwkCWEiV.css +0 -1
  210. package/assets/Textarea.Hsq68tg1.css +0 -1
  211. package/assets/buttonround.rmUb58WF.css +0 -1
  212. package/assets/chipgroup.BGxjdSDX.css +0 -1
  213. package/assets/filelist.cP3O1JeJ.css +0 -1
  214. package/assets/input.BEBgyvkK.css +0 -1
  215. package/assets/numberindicator.DSpNPJcs.css +0 -1
  216. package/assets/progressindicator.Dxrigyne.css +0 -1
  217. package/assets/radio.DsHt-9om.css +0 -1
  218. package/assets/switch.fwcMI6o7.css +0 -1
  219. package/assets/tabpane.o34hshTz.css +0 -1
  220. package/assets/text.Doa-APfR.css +0 -1
  221. package/assets/tooltip.DrSplliO.css +0 -1
  222. package/buttonround.BeQakrPs.js +0 -101
  223. package/chipgroup.BKjeuuM0.js +0 -213
  224. package/chunks/Accordion.8kTbiPxs.js +0 -173
  225. package/chunks/ActionButton.CBV1-_HP.js +0 -188
  226. package/chunks/ActionLink.BXxDS1Gg.js +0 -161
  227. package/chunks/Button.COycNYUI.js +0 -160
  228. package/chunks/Checkbox.CMshaWIU.js +0 -88
  229. package/chunks/CheckboxGroup.D3D1spfJ.js +0 -79
  230. package/chunks/Chip.DCJYE513.js +0 -157
  231. package/chunks/Dialog.lJXxzgu2.js +0 -102
  232. package/chunks/Fieldset.DOjI3DlI.js +0 -91
  233. package/chunks/InputFile.DYXvF6vT.js +0 -260
  234. package/chunks/InputNumber.CkWpchPo.js +0 -240
  235. package/chunks/InputPassword.21E6XMr5.js +0 -121
  236. package/chunks/InputSearch.Dy3EKa9f.js +0 -149
  237. package/chunks/LinkButton.BCHTLFMJ.js +0 -150
  238. package/chunks/LinkCard.BYmTwsS5.js +0 -197
  239. package/chunks/Notification.BjyLiO2h.js +0 -91
  240. package/chunks/Pagination.CJikF9Cw.js +0 -247
  241. package/chunks/Popover.ByaoNwGK.js +0 -221
  242. package/chunks/RadioGroup.Bh2X6pT9.js +0 -130
  243. package/chunks/Select.KWb09VmF.js +0 -147
  244. package/chunks/Slider.CxnIy51F.js +0 -309
  245. package/chunks/SystemFeedback.4osheYxC.js +0 -38
  246. package/chunks/Text.utils.BZ4nTZVu.js +0 -11
  247. package/chunks/TextUtility.BPrxUX-x.js +0 -82
  248. package/chunks/Textarea.CAOqZMUi.js +0 -181
  249. package/chunks/translate.nuU7uChI.js +0 -8
  250. package/filelist.DfAt2xJa.js +0 -128
  251. package/filepreview.Defs34bv.js +0 -94
  252. package/input.ChMzyHej.js +0 -175
  253. package/inputfile.DZIUs1EC.js +0 -18
  254. package/inputsearch.DzzYb-C0.js +0 -15
  255. package/link.aU1f2Xzu.js +0 -81
  256. package/numberindicator.Q7g4J3Ry.js +0 -36
  257. package/pagination.DA4PMLOq.js +0 -14
  258. package/progressindicator.DpmERE8T.js +0 -53
  259. package/radio.KQ8CUM3_.js +0 -137
  260. package/stepper.DHl3_XU9.js +0 -16
  261. package/text.CnP3baHy.js +0 -72
@@ -0,0 +1,157 @@
1
+ "use client";
2
+ import { jsxs as m, jsx as a } from "react/jsx-runtime";
3
+ import { c as s } from "./index.DQOqod3i.js";
4
+ import { forwardRef as oe, useState as ie, useRef as V, useEffect as O } from "react";
5
+ import { u as W } from "./useBreakpoint.1txsny17.js";
6
+ import { Asterisk as re } from "../asterisk.Dwtdwpkq.js";
7
+ import { D as $ } from "./Button.CCol--xy.js";
8
+ import { D as le } from "./Popover.CxZZ_y1Z.js";
9
+ import { D as ce } from "./SystemFeedback.DhWcYjnu.js";
10
+ import { g as _, a as ue } from "./helpers.CexwVao7.js";
11
+ import '../assets/InputSearch.BROFFTK9.css';const pe = "ds-input-search_input_16e1s_1", de = "ds-input-search_input--small_16e1s_9", he = "ds-input-search_input--invalid_16e1s_127", be = "ds-input-search_input--dark_16e1s_145", me = "ds-input-search_input--has-action-button_16e1s_296", _e = "ds-input-search_input--has-second-action-button_16e1s_299", fe = "ds-input-search_root_16e1s_338", De = "ds-input-search_hint_16e1s_338", Se = "ds-input-search_label-wrapper_16e1s_338", ve = "ds-input-search_wrapper_16e1s_342", ke = "ds-input-search_action-button_16e1s_348", Be = "ds-input-search_second-action-button_16e1s_352", ye = "ds-input-search_label_16e1s_338", Ie = "ds-input-search_label--disabled_16e1s_371", we = "ds-input-search_label--dark_16e1s_375", ge = "ds-input-search_label-wrapper--hidden_16e1s_391", Ne = "ds-input-search_hint--dark_16e1s_418", Ce = "ds-input-search_feedback_16e1s_422", e = {
12
+ input: pe,
13
+ inputSmall: de,
14
+ inputInvalid: he,
15
+ inputDark: be,
16
+ inputHasActionButton: me,
17
+ inputHasSecondActionButton: _e,
18
+ root: fe,
19
+ hint: De,
20
+ labelWrapper: Se,
21
+ wrapper: ve,
22
+ actionButton: ke,
23
+ secondActionButton: Be,
24
+ label: ye,
25
+ labelDisabled: Ie,
26
+ labelDark: we,
27
+ labelWrapperHidden: ge,
28
+ hintDark: Ne,
29
+ feedback: Ce
30
+ }, Ae = ({
31
+ id: i,
32
+ label: o,
33
+ hideLabel: n,
34
+ popoverContent: p
35
+ }) => {
36
+ if (!i)
37
+ throw new Error(_("DSInputSearch", 'A unique "id" prop is required. Please add a unique "id" prop to the DSInputSearch component.'));
38
+ if (!o)
39
+ throw new Error(_("DSInputSearch", `A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSInputSearch component. If you don't want to display a label, set hideLabel={true}.`));
40
+ n && p && console.warn(_("DSInputSearch", "Using a popover when hideLabel is set to true is not supported."));
41
+ }, Ee = (i) => !!ue(i, "form"), Le = oe((i, o) => {
42
+ const {
43
+ id: n,
44
+ label: p,
45
+ className: j,
46
+ clearButtonLabel: q = "Clear search field",
47
+ disabled: r = !1,
48
+ hint: f,
49
+ hideLabel: y = !1,
50
+ invalid: d = !1,
51
+ popoverContent: D,
52
+ popoverInfoButtonProps: F,
53
+ readonly: l = !1,
54
+ required: I = !1,
55
+ size: c = "medium",
56
+ systemFeedback: S,
57
+ theme: u = "light",
58
+ value: v,
59
+ submitButtonProps: R,
60
+ onChange: w,
61
+ ...x
62
+ } = i;
63
+ process.env.NODE_ENV !== "production" && Ae({
64
+ id: n,
65
+ label: p,
66
+ hideLabel: W(y),
67
+ popoverContent: D
68
+ });
69
+ const {
70
+ label: T = "Search",
71
+ onClick: M,
72
+ ...z
73
+ } = R || {}, k = u === "dark", [h, g] = ie(v), B = V(null), b = V(null), U = (t) => {
74
+ b.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
75
+ }, N = W(y);
76
+ O(() => {
77
+ g(v);
78
+ }, [v]), O(() => {
79
+ B.current && !Ee(B.current) && process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && console.warn(_("DSInputSearch", `The DSInputSearch component with the id "${n}" is not within a form element. This may cause issues with form submission. Please ensure the DSInputSearch component is within a form element.`));
80
+ }, []);
81
+ const C = `${n}-label`, A = `${n}-feedback`, E = `${n}-hint`, G = f ? ` ${E}` : "", J = [d && S && A].filter(Boolean).join(" ") || void 0, L = h !== "" && h !== void 0 && h !== null, K = s(e.root, j), Q = s(e.input, {
82
+ [e.inputDark]: k,
83
+ // small input
84
+ [e.inputSmall]: c === "small",
85
+ // invalid state
86
+ [e.inputInvalid]: d,
87
+ // action button - input password always has an action button
88
+ [e.inputHasActionButton]: !0,
89
+ // action second action button
90
+ [e.inputHasSecondActionButton]: L && !l && !r
91
+ }), X = s(e.label, {
92
+ [e.labelDark]: k,
93
+ [e.labelDisabled]: r
94
+ }), Y = s(e.labelWrapper, {
95
+ // hide label only visually to keep them available for assistive technologies
96
+ [e.labelWrapperHidden]: N
97
+ }), Z = s(e.actionButton, {
98
+ [e.actionButtonSmall]: c === "small"
99
+ }), ee = s(e.secondActionButton, {
100
+ [e.secondActionButtonSmall]: c === "small"
101
+ }), te = (t, P) => {
102
+ const se = Object.getPrototypeOf(t), H = Object.getOwnPropertyDescriptor(se, "value");
103
+ H?.set ? H.set.call(t, P) : t.value = P;
104
+ }, ne = () => {
105
+ if (!b.current)
106
+ return;
107
+ te(b.current, "");
108
+ const t = new Event("change", {
109
+ bubbles: !0
110
+ });
111
+ b.current?.dispatchEvent(t);
112
+ }, ae = (t) => {
113
+ g(t.target.value), w && w(t);
114
+ };
115
+ return /* @__PURE__ */ m("div", { className: K, ref: B, children: [
116
+ /* @__PURE__ */ m("div", { className: Y, children: [
117
+ /* @__PURE__ */ m("label", { className: X, id: C, htmlFor: n, children: [
118
+ p,
119
+ I && /* @__PURE__ */ a(re, {})
120
+ ] }),
121
+ D && !N && /* @__PURE__ */ a(le, { placement: "top", theme: u, defaultAnchorButtonProps: F, children: D })
122
+ ] }),
123
+ f && /* @__PURE__ */ a("div", { className: s(e.hint, {
124
+ [e.hintDark]: k
125
+ }), id: E, children: f }),
126
+ /* @__PURE__ */ m("div", { className: e.wrapper, children: [
127
+ /* @__PURE__ */ a(
128
+ "input",
129
+ {
130
+ className: Q,
131
+ id: n,
132
+ ...x,
133
+ ref: U,
134
+ "aria-labelledby": `${C}${G}`,
135
+ "aria-describedby": J,
136
+ "aria-invalid": d,
137
+ "aria-disabled": l,
138
+ readOnly: l,
139
+ required: I,
140
+ disabled: r,
141
+ type: "search",
142
+ value: h,
143
+ onChange: ae
144
+ }
145
+ ),
146
+ L && !l && !r && /* @__PURE__ */ a($, { hideLabel: !0, theme: u, iconName: "cross", className: ee, variant: "ghost", size: c, onClick: ne, type: "button", tabIndex: -1, children: q }),
147
+ /* @__PURE__ */ a($, { ...z, hideLabel: !0, theme: u, iconName: "magnifying-glass", className: Z, variant: "ghost", size: c, onClick: M, type: "submit", disabled: r || l, children: T })
148
+ ] }),
149
+ d && S && /* @__PURE__ */ a(ce, { className: e.feedback, message: S, variant: "error", id: A, theme: u })
150
+ ] });
151
+ });
152
+ Le.displayName = "DSInputSearch";
153
+ export {
154
+ Le as D,
155
+ Ee as i,
156
+ Ae as v
157
+ };
@@ -0,0 +1,150 @@
1
+ "use client";
2
+ import { jsxs as kt, jsx as K } from "react/jsx-runtime";
3
+ import { d as pt } from "./index.cKLI89Eg.js";
4
+ import { c as _t } from "./index.DQOqod3i.js";
5
+ import { D as bt } from "./Icon.DYtaQgbw.js";
6
+ import { Tooltip as ft } from "../tooltip.BFQG-7VR.js";
7
+ import { g as D } from "./helpers.CexwVao7.js";
8
+ import { forwardRef as Dt } from "react";
9
+ import { u as wt } from "./useBreakpoint.1txsny17.js";
10
+ import '../assets/LinkButton.IKIlFnpH.css';const St = "ds-link-button_root_6wtw2_1", Nt = "ds-link-button_root--highlight_6wtw2_76", Lt = "ds-link-button_root--dark-highlight_6wtw2_76", It = "ds-link-button_root--filled_6wtw2_152", Ft = "ds-link-button_root--outline_6wtw2_180", Ot = "ds-link-button_root--ghost_6wtw2_207", Bt = "ds-link-button_root--ghost-flush_6wtw2_232", yt = "ds-link-button_root--small_6wtw2_238", Tt = "ds-link-button_root--navigation_6wtw2_429", Gt = "ds-link-button_root--navigation--stretched_6wtw2_507", Ht = "ds-link-button_root--navigation--stretched--icon-left_6wtw2_510", Pt = "ds-link-button_root--dark-filled_6wtw2_513", Et = "ds-link-button_root--dark-outline_6wtw2_570", At = "ds-link-button_root--dark-ghost_6wtw2_626", xt = "ds-link-button_root--dark-ghost-flush_6wtw2_680", zt = "ds-link-button_root--stretched_6wtw2_855", Ct = "ds-link-button_root--icon-left_6wtw2_858", Vt = "ds-link-button_root--icon-only_6wtw2_861", jt = "ds-link-button_root--icon-only-small_6wtw2_877", Kt = "ds-link-button_icon--navigation_6wtw2_896", Rt = "ds-link-button_label--hidden_6wtw2_904", e = {
11
+ root: St,
12
+ rootHighlight: Nt,
13
+ rootDarkHighlight: Lt,
14
+ rootFilled: It,
15
+ rootOutline: Ft,
16
+ rootGhost: Ot,
17
+ rootGhostFlush: Bt,
18
+ rootSmall: yt,
19
+ rootNavigation: Tt,
20
+ rootNavigationStretched: Gt,
21
+ rootNavigationStretchedIconLeft: Ht,
22
+ rootDarkFilled: Pt,
23
+ rootDarkOutline: Et,
24
+ rootDarkGhost: At,
25
+ rootDarkGhostFlush: xt,
26
+ rootStretched: zt,
27
+ rootIconLeft: Ct,
28
+ rootIconOnly: Vt,
29
+ rootIconOnlySmall: jt,
30
+ iconNavigation: Kt,
31
+ labelHidden: Rt
32
+ }, to = ["medium", "small"], oo = ["filled", "highlight", "outline", "ghost", "navigation"], Ut = ({
33
+ hideLabel: S,
34
+ iconName: N,
35
+ iconSource: t,
36
+ isFlush: i,
37
+ size: l,
38
+ stretched: s,
39
+ theme: r,
40
+ variant: n
41
+ }) => {
42
+ if (n === "navigation" && (l === "small" && console.warn(D("DSLinkButton", 'A "size" prop should not be used in combination with variant="navigation". Please remove the "size" prop.')), r === "dark"))
43
+ throw new Error(D("DSLinkButton", 'A DSLinkButton with variant="navigation" does not support theme="dark". Please remove the "theme" prop.'));
44
+ n !== "ghost" && i ? console.warn(D("DSLinkButton", 'The "isFlush" prop only has an effect when used with variant="ghost". Please remove the "isFlush" prop or set variant="ghost".')) : n === "ghost" && i && s && console.warn(D("DSLinkButton", 'The "stretched" and "isFlush" props do not have an effect when used together. Please remove one of them.')), S && (!N && !t && console.warn(D("DSLinkButton", 'The "hideLabel" prop is set to true but no icon is provided via "iconName" or "iconSource". Please provide an icon to ensure the link is not empty when the label is hidden.')), s && console.warn(D("DSLinkButton", 'The "stretched" and "hideLabel" props do not have an effect when used together. Please remove one of them.')));
45
+ }, Mt = Dt((S, N) => {
46
+ const t = pt.c(76);
47
+ let i, l, s, r, n, a, c, u, g, _, L, I, F, O, B, y, T, G, h;
48
+ t[0] !== S ? ({
49
+ children: l,
50
+ aria: i,
51
+ className: s,
52
+ download: r,
53
+ hideLabel: L,
54
+ href: n,
55
+ iconName: a,
56
+ iconPosition: I,
57
+ iconSource: c,
58
+ isFlush: F,
59
+ referrerPolicy: u,
60
+ rel: g,
61
+ size: O,
62
+ stretched: B,
63
+ target: y,
64
+ theme: T,
65
+ variant: G,
66
+ tooltip: h,
67
+ ..._
68
+ } = S, t[0] = S, t[1] = i, t[2] = l, t[3] = s, t[4] = r, t[5] = n, t[6] = a, t[7] = c, t[8] = u, t[9] = g, t[10] = _, t[11] = L, t[12] = I, t[13] = F, t[14] = O, t[15] = B, t[16] = y, t[17] = T, t[18] = G, t[19] = h) : (i = t[1], l = t[2], s = t[3], r = t[4], n = t[5], a = t[6], c = t[7], u = t[8], g = t[9], _ = t[10], L = t[11], I = t[12], F = t[13], O = t[14], B = t[15], y = t[16], T = t[17], G = t[18], h = t[19]);
69
+ const vt = L === void 0 ? !1 : L, R = I === void 0 ? "left" : I, H = F === void 0 ? !1 : F, E = O === void 0 ? "medium" : O, mt = B === void 0 ? !1 : B, U = y === void 0 ? "_self" : y, M = T === void 0 ? "light" : T, o = G === void 0 ? "filled" : G, f = wt(vt), P = wt(mt);
70
+ process.env.NODE_ENV !== "production" && Ut({
71
+ hideLabel: f,
72
+ iconName: a,
73
+ iconSource: c,
74
+ isFlush: H,
75
+ size: E,
76
+ stretched: mt,
77
+ theme: M,
78
+ variant: o
79
+ });
80
+ const d = M === "dark", Z = o === "filled", $ = o === "highlight", q = o === "outline", J = o === "ghost" && H !== !0, Q = o === "navigation", W = o === "navigation" && P && R === "right", X = o === "navigation" && P && R === "left", Y = o === "ghost" && H === !0, tt = d && o === "filled", ot = d && o === "highlight", et = d && o === "outline", nt = d && o === "ghost" && H !== !0, it = d && o === "ghost" && H === !0, st = E === "small" || o === "navigation", lt = R === "left", rt = f && E === "medium" && o !== "navigation", at = f && E === "small" && o !== "navigation";
81
+ let A;
82
+ t[20] !== s || t[21] !== P || t[22] !== $ || t[23] !== q || t[24] !== J || t[25] !== Q || t[26] !== W || t[27] !== X || t[28] !== Y || t[29] !== tt || t[30] !== ot || t[31] !== et || t[32] !== nt || t[33] !== it || t[34] !== st || t[35] !== lt || t[36] !== rt || t[37] !== at || t[38] !== Z ? (A = _t(e.root, s, {
83
+ [e.rootFilled]: Z,
84
+ [e.rootHighlight]: $,
85
+ [e.rootOutline]: q,
86
+ [e.rootGhost]: J,
87
+ [e.rootNavigation]: Q,
88
+ [e.rootNavigationStretched]: W,
89
+ [e.rootNavigationStretchedIconLeft]: X,
90
+ [e.rootGhostFlush]: Y,
91
+ [e.rootDarkFilled]: tt,
92
+ [e.rootDarkHighlight]: ot,
93
+ [e.rootDarkOutline]: et,
94
+ [e.rootDarkGhost]: nt,
95
+ [e.rootDarkGhostFlush]: it,
96
+ [e.rootSmall]: st,
97
+ [e.rootStretched]: P,
98
+ [e.rootIconLeft]: lt,
99
+ [e.rootIconOnly]: rt,
100
+ [e.rootIconOnlySmall]: at
101
+ }), t[20] = s, t[21] = P, t[22] = $, t[23] = q, t[24] = J, t[25] = Q, t[26] = W, t[27] = X, t[28] = Y, t[29] = tt, t[30] = ot, t[31] = et, t[32] = nt, t[33] = it, t[34] = st, t[35] = lt, t[36] = rt, t[37] = at, t[38] = Z, t[39] = A) : A = t[39];
102
+ const ct = A;
103
+ let x;
104
+ t[40] !== f || t[41] !== o ? (x = _t({
105
+ [e.labelHidden]: f && o !== "navigation"
106
+ }) || void 0, t[40] = f, t[41] = o, t[42] = x) : x = t[42];
107
+ const ht = x, dt = o === "navigation";
108
+ let z;
109
+ t[43] !== dt ? (z = _t({
110
+ [e.iconNavigation]: dt
111
+ }), t[43] = dt, t[44] = z) : z = t[44];
112
+ const ut = z, gt = M === "light" && o === "filled" || d && o === "outline" || d && o === "ghost" ? "dark" : "light", m = n === void 0 ? "span" : "a";
113
+ let k;
114
+ t[45] !== m || t[46] !== r || t[47] !== n || t[48] !== u || t[49] !== g || t[50] !== U ? (k = m === "a" && {
115
+ href: n,
116
+ target: U,
117
+ rel: g,
118
+ referrerPolicy: u,
119
+ download: r
120
+ }, t[45] = m, t[46] = r, t[47] = n, t[48] = u, t[49] = g, t[50] = U, t[51] = k) : k = t[51];
121
+ let w;
122
+ t[52] !== l || t[53] !== ht ? (w = /* @__PURE__ */ K("span", { className: ht, children: l }), t[52] = l, t[53] = ht, t[54] = w) : w = t[54];
123
+ let v;
124
+ t[55] !== ut || t[56] !== a || t[57] !== c || t[58] !== gt ? (v = (a || c) && /* @__PURE__ */ K(bt, { name: a, theme: gt, source: c, className: ut, "aria-hidden": "true" }), t[55] = ut, t[56] = a, t[57] = c, t[58] = gt, t[59] = v) : v = t[59];
125
+ let C;
126
+ t[60] !== m || t[61] !== i || t[62] !== N || t[63] !== _ || t[64] !== ct || t[65] !== k || t[66] !== w || t[67] !== v ? (C = /* @__PURE__ */ kt(m, { className: ct, ...k, ...i, ..._, ref: N, children: [
127
+ w,
128
+ v
129
+ ] }), t[60] = m, t[61] = i, t[62] = N, t[63] = _, t[64] = ct, t[65] = k, t[66] = w, t[67] = v, t[68] = C) : C = t[68];
130
+ const V = C;
131
+ if (h) {
132
+ let p;
133
+ t[69] !== V ? (p = /* @__PURE__ */ K(ft.Anchor, { children: V }), t[69] = V, t[70] = p) : p = t[70];
134
+ let b;
135
+ t[71] !== h ? (b = /* @__PURE__ */ K(ft.Content, { children: h }), t[71] = h, t[72] = b) : b = t[72];
136
+ let j;
137
+ return t[73] !== p || t[74] !== b ? (j = /* @__PURE__ */ kt(ft, { placement: "top", tooltipOffset: 6, children: [
138
+ p,
139
+ b
140
+ ] }), t[73] = p, t[74] = b, t[75] = j) : j = t[75], j;
141
+ }
142
+ return V;
143
+ });
144
+ Mt.displayName = "DSLinkButton";
145
+ export {
146
+ Mt as D,
147
+ to as L,
148
+ oo as a,
149
+ Ut as v
150
+ };
@@ -0,0 +1,200 @@
1
+ "use client";
2
+ import { jsxs as W, jsx as s, Fragment as je } from "react/jsx-runtime";
3
+ import { d as xe } from "./index.cKLI89Eg.js";
4
+ import { c as r } from "./index.DQOqod3i.js";
5
+ import { isValidElement as Ve, cloneElement as Be } from "react";
6
+ import { b as U } from "./Flag.CbQYBzVC.js";
7
+ import { DSHeading as Me } from "../heading.BHSklXho.js";
8
+ import { D as Oe } from "./Icon.DYtaQgbw.js";
9
+ import { D as qe } from "./LinkButton.BxG7fx1O.js";
10
+ import { g as u } from "./helpers.CexwVao7.js";
11
+ import '../assets/LinkCard.pJtgJRIh.css';const Re = "ds-link-card_root_1tm3t_1", $e = "ds-link-card_root--elevated_1tm3t_26", Ge = "ds-link-card_root--horizontal_1tm3t_66", Je = "ds-link-card_media-wrapper_1tm3t_71", Ke = "ds-link-card_content_1tm3t_81", Qe = "ds-link-card_content--padding-small_1tm3t_86", Ue = "ds-link-card_header_1tm3t_117", Xe = "ds-link-card_footer_1tm3t_118", Ye = "ds-link-card_heading_1tm3t_133", Ze = "ds-link-card_heading--with-icon_1tm3t_136", et = "ds-link-card_link_1tm3t_146", tt = "ds-link-card_description_1tm3t_151", at = "ds-link-card_meta-data_1tm3t_168", it = "ds-link-card_decorative-link_1tm3t_185", ot = "ds-link-card_flags_1tm3t_189", nt = "ds-link-card_brand-flag_1tm3t_198", rt = "ds-link-card_graphic-area_1tm3t_204", t = {
12
+ root: Re,
13
+ rootElevated: $e,
14
+ rootHorizontal: Ge,
15
+ mediaWrapper: Je,
16
+ content: Ke,
17
+ contentPaddingSmall: Qe,
18
+ header: Ue,
19
+ footer: Xe,
20
+ heading: Ye,
21
+ headingWithIcon: Ze,
22
+ link: et,
23
+ description: tt,
24
+ metaData: at,
25
+ decorativeLink: it,
26
+ flags: ot,
27
+ brandFlag: nt,
28
+ graphicArea: rt
29
+ }, st = ({
30
+ href: p,
31
+ linkComponent: e,
32
+ flags: a,
33
+ flagListAriaLabel: d,
34
+ heading: o,
35
+ mediaArea: l,
36
+ img: g,
37
+ brandFlag: c,
38
+ decorativeLinkButtonProps: f
39
+ }) => {
40
+ if (typeof g < "u" && console.warn(u("DSLinkCard", "The 'img' prop is deprecated. Please use 'mediaArea' instead.")), !p && !e)
41
+ throw new Error(u("DSLinkCard", "Please provide either the 'href' prop or a custom 'linkComponent'."));
42
+ if (p && e)
43
+ throw new Error(u("DSLinkCard", "Please provide either the 'href' prop or a custom 'linkComponent', but not both."));
44
+ if (!o)
45
+ throw new Error(u("DSLinkCard", "The 'heading' prop is required and must be provided."));
46
+ a && a.length > 6 && console.warn(u("DSLinkCard", "It is recommended to provide a maximum of 6 flags for optimal display.")), a && a.length > 0 && !d && console.warn(u("DSLinkCard", "When providing flags, please also ensure to add the 'flagListAriaLabel' to describe the list of flags for non sighted screen reader users.")), c && l === void 0 && g === void 0 && console.warn(u("DSLinkCard", "The 'brandFlag' prop is set but no 'mediaArea' prop is provided. The 'brandFlag' will have no effect without a media element.")), typeof o == "object" && o !== null && o.headingIconName && f?.label && console.warn(u("DSLinkCard", "The 'heading.headingIconName' option should not be used when a decorative link label is provided."));
47
+ }, lt = (p) => {
48
+ const e = xe.c(89);
49
+ let a, d, o, l, g, c, f, n, m, L, i, N, k, _, b, C, D, S;
50
+ e[0] !== p ? ({
51
+ heading: n,
52
+ brandFlag: a,
53
+ className: o,
54
+ cardClassNames: d,
55
+ decorativeLinkButtonProps: l,
56
+ description: g,
57
+ flagListAriaLabel: c,
58
+ flags: b,
59
+ href: m,
60
+ mediaArea: N,
61
+ img: L,
62
+ linkComponent: i,
63
+ metaData: k,
64
+ orientation: C,
65
+ padding: D,
66
+ graphicArea: f,
67
+ variant: S,
68
+ ..._
69
+ } = p, e[0] = p, e[1] = a, e[2] = d, e[3] = o, e[4] = l, e[5] = g, e[6] = c, e[7] = f, e[8] = n, e[9] = m, e[10] = L, e[11] = i, e[12] = N, e[13] = k, e[14] = _, e[15] = b, e[16] = C, e[17] = D, e[18] = S) : (a = e[1], d = e[2], o = e[3], l = e[4], g = e[5], c = e[6], f = e[7], n = e[8], m = e[9], L = e[10], i = e[11], N = e[12], k = e[13], _ = e[14], b = e[15], C = e[16], D = e[17], S = e[18]);
70
+ let v, w, F, I, P;
71
+ e[19] !== a || e[20] !== l || e[21] !== c || e[22] !== n || e[23] !== m || e[24] !== L || e[25] !== i || e[26] !== N || e[27] !== b || e[28] !== C || e[29] !== D || e[30] !== S ? (v = b === void 0 ? [] : b, F = C === void 0 ? "vertical" : C, I = D === void 0 ? "medium" : D, P = S === void 0 ? "outlined" : S, w = N ?? L, process.env.NODE_ENV !== "production" && st({
72
+ href: m,
73
+ linkComponent: i,
74
+ heading: n,
75
+ flags: v,
76
+ flagListAriaLabel: c,
77
+ mediaArea: N,
78
+ img: L,
79
+ brandFlag: a,
80
+ decorativeLinkButtonProps: l
81
+ }), e[19] = a, e[20] = l, e[21] = c, e[22] = n, e[23] = m, e[24] = L, e[25] = i, e[26] = N, e[27] = b, e[28] = C, e[29] = D, e[30] = S, e[31] = v, e[32] = w, e[33] = F, e[34] = I, e[35] = P) : (v = e[31], w = e[32], F = e[33], I = e[34], P = e[35]);
82
+ let V;
83
+ e[36] !== l ? (V = l || {}, e[36] = l, e[37] = V) : V = e[37];
84
+ const {
85
+ label: x,
86
+ iconName: X,
87
+ iconPosition: se,
88
+ variant: ce,
89
+ hideLabel: Y,
90
+ size: le
91
+ } = V, Z = se === void 0 ? "right" : se, ee = le === void 0 ? "small" : le, B = ce === "ghost" ? "ghost" : "filled", te = k || v.length > 0 || x, ae = typeof n == "object" && n !== null && !!n.headingIconName;
92
+ let M;
93
+ if (e[38] !== B || e[39] !== a || e[40] !== d || e[41] !== o || e[42] !== Y || e[43] !== X || e[44] !== Z || e[45] !== x || e[46] !== ee || e[47] !== g || e[48] !== c || e[49] !== v || e[50] !== f || e[51] !== te || e[52] !== n || e[53] !== ae || e[54] !== m || e[55] !== i || e[56] !== w || e[57] !== k || e[58] !== F || e[59] !== I || e[60] !== _ || e[61] !== P) {
94
+ const {
95
+ brandFlag: me,
96
+ contentWrapper: he,
97
+ descriptionWrapper: pe,
98
+ decorativeLink: ge,
99
+ flagsWrapper: fe,
100
+ footerWrapper: ve,
101
+ headerWrapper: ke,
102
+ heading: _e,
103
+ mediaWrapper: ue,
104
+ imageWrapper: Le,
105
+ metaDataWrapper: Ne,
106
+ graphicAreaWrapper: be
107
+ } = d || {}, ie = F === "horizontal", oe = P === "elevated";
108
+ let O;
109
+ e[63] !== o || e[64] !== oe || e[65] !== ie ? (O = r(t.root, o, {
110
+ [t.rootHorizontal]: ie,
111
+ [t.rootElevated]: oe
112
+ }), e[63] = o, e[64] = oe, e[65] = ie, e[66] = O) : O = e[66];
113
+ const Ce = O, de = r(t.brandFlag, me), De = r(t.content, he, {
114
+ [t.contentPaddingSmall]: I === "small"
115
+ }), Se = r(t.description, pe), we = r(t.decorativeLink, ge), We = r(t.flags, fe), Fe = r(t.footer, ve), Ie = r(t.header, ke), Pe = r(t.heading, _e, {
116
+ [t.headingWithIcon]: ae
117
+ }), ze = ue || Le, ye = r(t.mediaWrapper, ze), Ae = r(t.metaData, Ne), Ee = r(t.graphicArea, be);
118
+ let q, z, y, A, E, H, T, j;
119
+ e[67] !== _ ? ({
120
+ download: z,
121
+ hrefLang: y,
122
+ ping: A,
123
+ referrerPolicy: E,
124
+ rel: H,
125
+ target: T,
126
+ type: j,
127
+ ...q
128
+ } = _, e[67] = _, e[68] = q, e[69] = z, e[70] = y, e[71] = A, e[72] = E, e[73] = H, e[74] = T, e[75] = j) : (q = e[68], z = e[69], y = e[70], A = e[71], E = e[72], H = e[73], T = e[74], j = e[75]);
129
+ let R;
130
+ e[76] !== z || e[77] !== m || e[78] !== y || e[79] !== i || e[80] !== A || e[81] !== E || e[82] !== H || e[83] !== T || e[84] !== j ? (R = (h) => i && Ve(i) ? Be(i, {
131
+ ...i.props,
132
+ className: r(t.link, i.props.className),
133
+ children: /* @__PURE__ */ W(je, { children: [
134
+ h,
135
+ " ",
136
+ i.props.children
137
+ ] })
138
+ }) : /* @__PURE__ */ s("a", { href: m, className: t.link, download: z, hrefLang: y, ping: A, referrerPolicy: E, rel: H, target: T, type: j, children: h }), e[76] = z, e[77] = m, e[78] = y, e[79] = i, e[80] = A, e[81] = E, e[82] = H, e[83] = T, e[84] = j, e[85] = R) : R = e[85];
139
+ const He = R, ne = (h) => {
140
+ const G = typeof h == "object" && h !== void 0, {
141
+ headingText: J,
142
+ headingIconName: K,
143
+ headingSize: Q,
144
+ headingTag: re
145
+ } = G ? h : {
146
+ headingText: h
147
+ };
148
+ return /* @__PURE__ */ W(Me, { tag: re === void 0 ? "h3" : re, size: Q === void 0 ? "medium" : Q, className: Pe, children: [
149
+ He(J),
150
+ K && /* @__PURE__ */ s(Oe, { name: K, "aria-hidden": "true" })
151
+ ] });
152
+ }, Te = (h) => {
153
+ if (typeof h == "string")
154
+ return /* @__PURE__ */ s(U, { color: "promo-highlight", className: de, children: h });
155
+ const {
156
+ children: G,
157
+ color: J,
158
+ className: K,
159
+ ...Q
160
+ } = h;
161
+ return /* @__PURE__ */ s(U, { color: J === void 0 ? "promo-highlight" : J, className: r(de, K), ...Q, children: G });
162
+ };
163
+ let $;
164
+ e[86] !== ne || e[87] !== n ? ($ = ne(n), e[86] = ne, e[87] = n, e[88] = $) : $ = e[88], M = /* @__PURE__ */ W("div", { ...q, className: Ce, children: [
165
+ /* @__PURE__ */ W("div", { className: De, children: [
166
+ /* @__PURE__ */ W("div", { className: Ie, children: [
167
+ f && /* @__PURE__ */ s("div", { className: Ee, children: f }),
168
+ $,
169
+ g && /* @__PURE__ */ s("div", { className: Se, children: g })
170
+ ] }),
171
+ te && /* @__PURE__ */ W("div", { className: Fe, children: [
172
+ k && /* @__PURE__ */ s("div", { className: Ae, children: k }),
173
+ v.length > 0 && /* @__PURE__ */ s("ul", { className: We, "aria-label": c, children: v.map(dt) }),
174
+ x && /* @__PURE__ */ s(qe, { iconName: X, iconPosition: Z, variant: B, hideLabel: Y, size: ee, isFlush: B === "ghost", "aria-hidden": !0, className: we, children: x })
175
+ ] })
176
+ ] }),
177
+ w && /* @__PURE__ */ W("div", { className: ye, children: [
178
+ a && Te(a),
179
+ w
180
+ ] })
181
+ ] }), e[38] = B, e[39] = a, e[40] = d, e[41] = o, e[42] = Y, e[43] = X, e[44] = Z, e[45] = x, e[46] = ee, e[47] = g, e[48] = c, e[49] = v, e[50] = f, e[51] = te, e[52] = n, e[53] = ae, e[54] = m, e[55] = i, e[56] = w, e[57] = k, e[58] = F, e[59] = I, e[60] = _, e[61] = P, e[62] = M;
182
+ } else
183
+ M = e[62];
184
+ return M;
185
+ };
186
+ lt.displayName = "DSLinkCard";
187
+ function dt(p, e) {
188
+ if (typeof p == "string")
189
+ return /* @__PURE__ */ s("li", { children: /* @__PURE__ */ s(U, { color: "status-info", children: p }) }, e);
190
+ const {
191
+ children: a,
192
+ color: d,
193
+ ...o
194
+ } = p;
195
+ return /* @__PURE__ */ s("li", { children: /* @__PURE__ */ s(U, { color: d === void 0 ? "status-info" : d, ...o, children: a }) }, e);
196
+ }
197
+ export {
198
+ lt as D,
199
+ st as v
200
+ };
@@ -4,8 +4,8 @@ import { d as P } from "./index.cKLI89Eg.js";
4
4
  import { isValidElement as J, useState as se, createContext as oe, forwardRef as K, cloneElement as ae, useContext as L } from "react";
5
5
  import { o as le, u as re, b as ce, c as ie, d as ue, e as fe, a as de, f as Q, g as me, F as Me, h as ge, i as he } from "./floating-ui.react.Chmq0RmI.js";
6
6
  import { c as q } from "./index.DQOqod3i.js";
7
+ import { a as pe } from "./Header.CvcGSuhX.js";
7
8
  import { g as V, c as z } from "./helpers.CexwVao7.js";
8
- import { a as pe } from "./Header.bLSdAY9-.js";
9
9
  import '../assets/MegaMenu.Dw-oLSCX.css';const Se = "ds-mega-menu_root_11fw1_1", De = "ds-mega-menu_content_11fw1_109", _e = "ds-mega-menu_content--variant-full_11fw1_134", Ce = "ds-mega-menu_backdrop_11fw1_139", R = {
10
10
  root: Se,
11
11
  content: De,
@@ -3,7 +3,7 @@ import { jsxs as B, Fragment as I, jsx as d } from "react/jsx-runtime";
3
3
  import { d as k } from "./index.cKLI89Eg.js";
4
4
  import { isValidElement as w, cloneElement as R } from "react";
5
5
  import { D as W } from "./Icon.DYtaQgbw.js";
6
- import { NumberIndicator as v } from "../numberindicator.Q7g4J3Ry.js";
6
+ import { NumberIndicator as v } from "../numberindicator.DsK65Bj3.js";
7
7
  import '../assets/NavigationTabList.D5VV0C7Y.css';const D = "ds-tabs_tabs-wrapper_45tya_1", E = "ds-tabs_scroll-wrapper_45tya_6", L = "ds-tabs_scroller_45tya_17", T = "ds-tabs_scroller--centered_45tya_28", j = "ds-tabs_tab_45tya_1", x = "ds-tabs_scroll-button_45tya_106", H = "ds-tabs_scroll-button--hidden_45tya_111", K = "ds-tabs_scroll-button--right_45tya_115", S = "ds-tabs_indicator_45tya_127", V = {
8
8
  tabsWrapper: D,
9
9
  scrollWrapper: E,
@@ -2,7 +2,7 @@
2
2
  import { jsx as v } from "react/jsx-runtime";
3
3
  import { d as N } from "./index.cKLI89Eg.js";
4
4
  import { useState as T, useEffect as h } from "react";
5
- import { TabList as y } from "../tablist.BjKwrLz9.js";
5
+ import { TabList as y } from "../tablist.BAm0_UIG.js";
6
6
  import { g as o, r as A } from "./helpers.CexwVao7.js";
7
7
  const V = ["left", "center"], M = ["prev", "next"], I = ({
8
8
  aria: t,
@@ -0,0 +1,91 @@
1
+ "use client";
2
+ import { jsx as v, jsxs as k } from "react/jsx-runtime";
3
+ import { d as F } from "./index.cKLI89Eg.js";
4
+ import { c as E } from "./index.DQOqod3i.js";
5
+ import { D as R } from "./Button.CCol--xy.js";
6
+ import { D as W } from "./Icon.DYtaQgbw.js";
7
+ import '../assets/Notification.2B81JHOp.css';const j = "ds-notification_root_1y4y5_1", L = "ds-notification_root--success_1y4y5_29", P = "ds-notification_root--error_1y4y5_33", V = "ds-notification_root--warning_1y4y5_37", z = "ds-notification_root--hide-icon_1y4y5_41", Y = "ds-notification_content_1y4y5_55", $ = "ds-notification_content--hide-close-button_1y4y5_62", q = "ds-notification_content--hide-icon_1y4y5_65", G = "ds-notification_icon_1y4y5_69", J = "ds-notification_message_1y4y5_73", K = "ds-notification_custom-action-area_1y4y5_188", e = {
8
+ root: j,
9
+ rootSuccess: L,
10
+ rootError: P,
11
+ rootWarning: V,
12
+ rootHideIcon: z,
13
+ content: Y,
14
+ contentHideCloseButton: $,
15
+ contentHideIcon: q,
16
+ icon: G,
17
+ message: J,
18
+ customActionArea: K
19
+ }, eo = ["success", "error", "warning", "info"], M = {
20
+ success: "circle-check-colored",
21
+ error: "diamond-exclamationmark-colored",
22
+ warning: "triangle-exclamationmark-colored",
23
+ info: "circle-info-colored"
24
+ }, Q = {
25
+ error: "alert",
26
+ warning: "alert",
27
+ info: "status",
28
+ success: "status"
29
+ }, no = (H) => {
30
+ const o = F.c(46);
31
+ let i, r, a, s, n, l, N, h;
32
+ o[0] !== H ? ({
33
+ children: i,
34
+ variant: N,
35
+ className: r,
36
+ closeButtonProps: a,
37
+ customActionArea: s,
38
+ hideIcon: h,
39
+ onClose: n,
40
+ ...l
41
+ } = H, o[0] = H, o[1] = i, o[2] = r, o[3] = a, o[4] = s, o[5] = n, o[6] = l, o[7] = N, o[8] = h) : (i = o[1], r = o[2], a = o[3], s = o[4], n = o[5], l = o[6], N = o[7], h = o[8]);
42
+ const c = N === void 0 ? "info" : N, t = h === void 0 ? !1 : h;
43
+ let d;
44
+ o[9] !== a ? (d = a || {}, o[9] = a, o[10] = d) : d = o[10];
45
+ let _, A;
46
+ o[11] !== d ? ({
47
+ label: A,
48
+ ..._
49
+ } = d, o[11] = d, o[12] = _, o[13] = A) : (_ = o[12], A = o[13]);
50
+ const S = A === void 0 ? "Close notification" : A, O = c === "success", T = c === "error", x = c === "warning";
51
+ let g;
52
+ o[14] !== r || o[15] !== t || o[16] !== O || o[17] !== T || o[18] !== x ? (g = E(e.root, r, {
53
+ [e.rootSuccess]: O,
54
+ [e.rootError]: T,
55
+ [e.rootWarning]: x,
56
+ [e.rootHideIcon]: t
57
+ }), o[14] = r, o[15] = t, o[16] = O, o[17] = T, o[18] = x, o[19] = g) : g = o[19];
58
+ const B = g, D = !n;
59
+ let C;
60
+ o[20] !== t || o[21] !== D ? (C = E(e.content, {
61
+ [e.contentHideCloseButton]: D,
62
+ [e.contentHideIcon]: t
63
+ }), o[20] = t, o[21] = D, o[22] = C) : C = o[22];
64
+ const b = C, w = Q[c];
65
+ let f;
66
+ o[23] !== t || o[24] !== c ? (f = !t && /* @__PURE__ */ v(W, { name: M[c], className: e.icon, "aria-hidden": "true" }), o[23] = t, o[24] = c, o[25] = f) : f = o[25];
67
+ let m;
68
+ o[26] !== i ? (m = /* @__PURE__ */ v("div", { className: e.message, children: i }), o[26] = i, o[27] = m) : m = o[27];
69
+ let u;
70
+ o[28] !== S || o[29] !== n || o[30] !== _ ? (u = n && /* @__PURE__ */ v(R, { ..._, hideLabel: !0, iconName: "cross", isFlush: !0, variant: "ghost", size: "small", onClick: n, type: "button", children: S }), o[28] = S, o[29] = n, o[30] = _, o[31] = u) : u = o[31];
71
+ let y;
72
+ o[32] !== b || o[33] !== f || o[34] !== m || o[35] !== u ? (y = /* @__PURE__ */ k("div", { className: b, children: [
73
+ f,
74
+ m,
75
+ u
76
+ ] }), o[32] = b, o[33] = f, o[34] = m, o[35] = u, o[36] = y) : y = o[36];
77
+ let I;
78
+ o[37] !== s || o[38] !== t ? (I = s && /* @__PURE__ */ v("div", { className: E({
79
+ [e.customActionArea]: !t
80
+ }), children: s }), o[37] = s, o[38] = t, o[39] = I) : I = o[39];
81
+ let p;
82
+ return o[40] !== l || o[41] !== B || o[42] !== w || o[43] !== y || o[44] !== I ? (p = /* @__PURE__ */ k("div", { className: B, ...l, role: w, children: [
83
+ y,
84
+ I
85
+ ] }), o[40] = l, o[41] = B, o[42] = w, o[43] = y, o[44] = I, o[45] = p) : p = o[45], p;
86
+ };
87
+ export {
88
+ no as D,
89
+ M as N,
90
+ eo as a
91
+ };