@stihl-design-system/components 1.0.0-RC.31 → 1.0.0-RC.34

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 (286) hide show
  1. package/accordion.Dmqocj97.js +12 -0
  2. package/actionbutton.DLQJU6AV.js +12 -0
  3. package/actionlink.DEBrWfN3.js +12 -0
  4. package/{arialiveregions.Fgcshs5k.js → arialiveregions.BUVY9NpY.js} +2 -2
  5. package/assets/Accordion.CzBGud45.css +1 -0
  6. package/assets/Button.C8sNwIeW.css +1 -0
  7. package/assets/Checkbox.CyOw3rXI.css +1 -0
  8. package/assets/CustomReactSelect.E_jJFVew.css +1 -0
  9. package/assets/Dialog.DJkn65Es.css +1 -0
  10. package/assets/Drawer.x3BCQvWE.css +1 -0
  11. package/assets/InputFile.BnIvK65P.css +1 -0
  12. package/assets/InputNumber.BoiCIR1f.css +1 -0
  13. package/assets/InputPassword.Dk3_vNLV.css +1 -0
  14. package/assets/InputSearch.C1_4cVCi.css +1 -0
  15. package/assets/LinkButton.B86yacK5.css +1 -0
  16. package/assets/{MegaMenu.DX9gChtY.css → MegaMenu.D5EtjFeL.css} +1 -1
  17. package/assets/Notification.CvohYEvT.css +1 -0
  18. package/assets/Popover.CXyUaXiO.css +1 -0
  19. package/assets/Select.COxLltX7.css +1 -0
  20. package/assets/Slider.DPEmJ3HD.css +1 -0
  21. package/assets/Stepper.tXJl15yL.css +1 -0
  22. package/assets/{SystemFeedback.RcrPepSZ.css → SystemFeedback.PKzqnXUe.css} +1 -1
  23. package/assets/Textarea.y3MW7VW0.css +1 -0
  24. package/assets/Toast.CGyKXb4V.css +1 -0
  25. package/assets/buttonround.BN3vUDc_.css +1 -0
  26. package/assets/input.DTu4g_iA.css +1 -0
  27. package/assets/logo100years.CQrEg-Vo.css +1 -0
  28. package/assets/step.BeLporJO.css +1 -0
  29. package/assets/switch.B9B-n_3y.css +1 -0
  30. package/assets/tooltip.Co1gWF_0.css +1 -0
  31. package/{asterisk.CR60hx8S.js → asterisk.B2ih8VwF.js} +1 -1
  32. package/{banner.j9YpudOS.js → banner.CI5HnDqD.js} +3 -3
  33. package/breadcrumb.CtwAux3P.js +11 -0
  34. package/button.DHuKanZP.js +13 -0
  35. package/buttonround.CMlmEDaN.js +96 -0
  36. package/checkbox.DwccD0Mp.js +12 -0
  37. package/checkboxgroup.ZiUFfCJ1.js +9 -0
  38. package/chip.B0s_fS8L.js +12 -0
  39. package/chipgroup.Dpu66bo5.js +143 -0
  40. package/chunks/Accordion.CYIfNOWr.js +168 -0
  41. package/chunks/ActionButton.DOYsEHPr.js +180 -0
  42. package/chunks/ActionLink.DbyciN3Y.js +153 -0
  43. package/chunks/{AriaLiveRegions.utils.Cb327d_2.js → AriaLiveRegions.utils.CybNIBSa.js} +2 -2
  44. package/chunks/{Breadcrumb.BGzwzvh8.js → Breadcrumb.BgnpTo01.js} +35 -37
  45. package/chunks/Button.DCZgBNmA.js +142 -0
  46. package/chunks/Checkbox.BcGXAuuP.js +88 -0
  47. package/chunks/{CheckboxGroup.Dy_6tiGk.js → CheckboxGroup.BuFd1luB.js} +5 -5
  48. package/chunks/Chip.D6pubCZV.js +133 -0
  49. package/chunks/{CustomReactSelect.iE5iTdez.js → CustomReactSelect.Dg3wC_VH.js} +484 -473
  50. package/chunks/Dialog.DpqSVrYR.js +102 -0
  51. package/chunks/Drawer.DISWybOa.js +107 -0
  52. package/chunks/{Fieldset.CjIfmN_5.js → Fieldset.DiMtr6Vw.js} +6 -6
  53. package/chunks/Header.7TQL_J9t.js +370 -0
  54. package/chunks/Icon.CDLyB7Pv.js +229 -0
  55. package/chunks/{Input.utils.Cnnzvuk4.js → Input.utils.Dkw7gRrr.js} +17 -17
  56. package/chunks/InputFile.C8nt9Fu8.js +218 -0
  57. package/chunks/InputNumber.CbH1XJfl.js +267 -0
  58. package/chunks/{InputPassword.DC2POUc1.js → InputPassword.DbdjuSiJ.js} +34 -34
  59. package/chunks/InputSearch.joxmugiv.js +173 -0
  60. package/chunks/LinkButton.BZgIGgc8.js +132 -0
  61. package/chunks/MegaMenu.CQbOeaib.js +189 -0
  62. package/chunks/NavigationTabList.G_l0GiUa.js +67 -0
  63. package/chunks/{NavigationTabs.ClpVGcl0.js → NavigationTabs.BwM-6CRm.js} +13 -14
  64. package/chunks/Notification.CrojkJ0E.js +91 -0
  65. package/chunks/Popover.Bb0Pjmvg.js +215 -0
  66. package/chunks/{RadioGroup.peTeMK45.js → RadioGroup.CexC4v2Z.js} +5 -5
  67. package/chunks/Select.BEIdNMML.js +164 -0
  68. package/chunks/{Slider.kyVr7BLk.js → Slider.CR0zYHeZ.js} +70 -71
  69. package/chunks/Stepper.PTQdQBYf.js +152 -0
  70. package/chunks/{SystemFeedback.B9f67mjJ.js → SystemFeedback.CjlARKki.js} +9 -9
  71. package/chunks/Tabs.DyP4whX0.js +83 -0
  72. package/chunks/{Text.DGWeWF1y.js → Text.DpRtTpB4.js} +3 -3
  73. package/chunks/Textarea.Du2RII5u.js +168 -0
  74. package/chunks/Toast.ug_RjGgF.js +76 -0
  75. package/chunks/{arrow-clockwise.BefOjGPg.js → arrow-clockwise.C4iOgjOc.js} +1 -1
  76. package/chunks/{arrow-counterclockwise.C7Ov32BZ.js → arrow-counterclockwise.CgQAuBUe.js} +1 -1
  77. package/chunks/battery-charge-0.DxlgEAto.js +10 -0
  78. package/chunks/battery-charge-100.D0Cax7dU.js +10 -0
  79. package/chunks/{battery.YCg9lYqC.js → battery.6Idoickg.js} +3 -3
  80. package/chunks/bluetooth-off.BzZCh4Q8.js +10 -0
  81. package/chunks/{circle-check-colored.Bye_GwLy.js → circle-check-colored.qP2s3vjI.js} +1 -1
  82. package/chunks/{diamond-exclamationmark-colored.WNKYwZ8q.js → diamond-exclamationmark-colored.CzYiaTZ0.js} +1 -1
  83. package/chunks/document-s.CoOp0kBK.js +10 -0
  84. package/chunks/feather.l1E4nFBx.js +10 -0
  85. package/chunks/file-type-doc.B_RSSYbu.js +10 -0
  86. package/chunks/floating-ui.dom.BT8pKtCQ.js +1005 -0
  87. package/chunks/floating-ui.react.3FjeMiuN.js +1999 -0
  88. package/chunks/helpers.CexwVao7.js +38 -0
  89. package/chunks/{index.CgTHIF3K.js → index.D-sRdssb.js} +1 -1
  90. package/chunks/{index.CEyLAtio.js → index.DL9mof6u.js} +2 -2
  91. package/chunks/{is-animation-disabled.CUl4N3LI.js → is-animation-disabled.B-V_68K-.js} +5 -5
  92. package/chunks/{map.CXgG1iGz.js → map.DNl7PF61.js} +1 -1
  93. package/chunks/moon.5yILPYXs.js +10 -0
  94. package/chunks/muscle.DbNjWasV.js +10 -0
  95. package/chunks/petrol.BGWwCsTw.js +10 -0
  96. package/chunks/sun.CY6ttzTL.js +10 -0
  97. package/chunks/{triangle-exclamationmark-colored.CbVC3Gzi.js → triangle-exclamationmark-colored.e93zvQ6Q.js} +1 -1
  98. package/chunks/upload.BogDfonx.js +10 -0
  99. package/chunks/useBreakpoint.BzR_yaIv.js +42 -0
  100. package/chunks/variants.-R3_RCW8.js +10 -0
  101. package/chunks/weight.DUPu2UT0.js +10 -0
  102. package/combobox.jG5GRA7C.js +65 -0
  103. package/components/ActionButton/ActionButton.d.ts +2 -0
  104. package/components/Button/Button.d.ts +4 -0
  105. package/components/ChipGroup/Chip.d.ts +1 -0
  106. package/components/ChipGroup/ChipGroup.d.ts +4 -0
  107. package/components/ChipGroup/ChipGroup.utils.d.ts +10 -12
  108. package/components/Combobox/Combobox.utils.d.ts +3 -4
  109. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +4 -2
  110. package/components/Header/Header.d.ts +4 -5
  111. package/components/{InputStepper/InputStepper.d.ts → InputNumber/InputNumber.d.ts} +10 -4
  112. package/components/InputNumber/InputNumber.utils.d.ts +13 -0
  113. package/components/LinkButton/LinkButton.d.ts +2 -0
  114. package/components/Logo100Years/Logo100Years.d.ts +1 -0
  115. package/components/Popover/Popover.d.ts +29 -7
  116. package/components/Popover/Popover.utils.d.ts +34 -3
  117. package/components/Scroller/Scroller.d.ts +6 -2
  118. package/components/Stepper/Step.d.ts +33 -0
  119. package/components/Stepper/Step.utils.d.ts +5 -0
  120. package/components/Stepper/Stepper.d.ts +56 -0
  121. package/components/Stepper/Stepper.test.d.ts +1 -0
  122. package/components/Stepper/Stepper.utils.d.ts +30 -0
  123. package/components/Stepper/Stepper.utils.test.d.ts +1 -0
  124. package/components/Tooltip/Tooltip.d.ts +40 -0
  125. package/components/Tooltip/Tooltip.test.d.ts +1 -0
  126. package/components/Tooltip/Tooltip.utils.d.ts +70 -0
  127. package/components/Tooltip/Tooltip.utils.test.d.ts +1 -0
  128. package/components/TopBar/TopBar.d.ts +4 -4
  129. package/components/TopBar/TopBar.utils.d.ts +1 -1
  130. package/customreactselect.BFN8cYJi.js +14 -0
  131. package/dialog.CzM_Cxp0.js +9 -0
  132. package/drawer._A9MQ8Cj.js +9 -0
  133. package/fieldset.CId-NtI5.js +11 -0
  134. package/{filelist.nunJKxkv.js → filelist.DgVuWpR3.js} +23 -24
  135. package/{flag.D_iN8iD6.js → flag.CE32qHPa.js} +3 -3
  136. package/floatingactionbutton.Bsnncudt.js +87 -0
  137. package/header.CelAkqtp.js +12 -0
  138. package/{heading.BXFBZhKv.js → heading.DHLpT4dc.js} +2 -2
  139. package/icon.vzkPwgjZ.js +9 -0
  140. package/index.d.ts +4 -2
  141. package/index.es.js +217 -204
  142. package/input.DuEbg7d6.js +206 -0
  143. package/inputfile.BjgJGefV.js +17 -0
  144. package/inputnumber.BcrxBVv0.js +16 -0
  145. package/inputnumber.d.ts +2 -0
  146. package/inputpassword.CddmBW-T.js +13 -0
  147. package/inputsearch.CFOASqrd.js +14 -0
  148. package/link.f8MMZo-w.js +81 -0
  149. package/linkbutton.BYAvi-_V.js +12 -0
  150. package/{logo.C96KaG1P.js → logo.DprmD8HU.js} +3 -3
  151. package/logo100years.B4d_DIiB.js +24 -0
  152. package/logo100years.d.ts +2 -0
  153. package/megamenu.Cy9Cc-mC.js +12 -0
  154. package/navigationtablist.CkkLyHrM.js +10 -0
  155. package/navigationtabs.Dp7D2fnc.js +9 -0
  156. package/notification.B-norGiB.js +10 -0
  157. package/{numberindicator.Ddf3ESi7.js → numberindicator.BdnPMogE.js} +2 -2
  158. package/{optioncheckbox.D97W3zeW.js → optioncheckbox.nBVwGv6c.js} +3 -3
  159. package/package.json +41 -51
  160. package/partials/index.js +58 -52
  161. package/partials/lib/partials.d.ts +1 -1
  162. package/popover.DFVDZY-m.js +12 -0
  163. package/{radio.7_N_alaS.js → radio.DHUfSPai.js} +2 -2
  164. package/radiogroup.DaThoMfq.js +11 -0
  165. package/scroller.Cu7H_VCT.js +98 -0
  166. package/select.CMdKf7tC.js +13 -0
  167. package/{skiptocontent._F-d8y5b.js → skiptocontent.CHVh0hbr.js} +4 -4
  168. package/slider.C5dK6KcG.js +11 -0
  169. package/{spinner.Dht6FspZ.js → spinner.C9qCeq0R.js} +18 -18
  170. package/step.DKf4CHGr.js +82 -0
  171. package/step.d.ts +6 -0
  172. package/stepper.CCP_igpJ.js +16 -0
  173. package/stepper.d.ts +2 -0
  174. package/{switch.B37S4vfP.js → switch.Bqdyzi2E.js} +5 -5
  175. package/systemfeedback.O7tj1juR.js +10 -0
  176. package/tablist.DZgo49nZ.js +209 -0
  177. package/{tabpane.CB-eudyw.js → tabpane.C4nsUlwc.js} +2 -2
  178. package/tabs.BkoT7feH.js +11 -0
  179. package/text.cLv2PhjQ.js +10 -0
  180. package/textarea.DMn20z4p.js +13 -0
  181. package/{title.Bz_k5Vda.js → title.DuLPB-VK.js} +2 -2
  182. package/toast.Dvs8woTH.js +11 -0
  183. package/toastmanager.pi_Fhd5t.js +89 -0
  184. package/tooltip.QJe_bfO-.js +178 -0
  185. package/tooltip.d.ts +2 -0
  186. package/topbar.Bxwvp9Lf.js +12 -0
  187. package/types/icon-types.d.ts +1 -1
  188. package/types/prettier-plugin-organize-imports.d.ts +1 -0
  189. package/utils/index.d.ts +1 -0
  190. package/utils/mergeRefs.d.ts +5 -0
  191. package/utils/mergeRefs.test.d.ts +1 -0
  192. package/accordion.DkwtJy--.js +0 -12
  193. package/actionbutton.u1qp8oGC.js +0 -11
  194. package/actionlink.C7HzeIVa.js +0 -11
  195. package/assets/Accordion.BJb4TOG0.css +0 -1
  196. package/assets/Button.Dw8H5nFS.css +0 -1
  197. package/assets/Checkbox.BKHQN_tu.css +0 -1
  198. package/assets/CustomReactSelect.D0b1Hg1T.css +0 -1
  199. package/assets/Dialog.CGAg7bnN.css +0 -1
  200. package/assets/Drawer.VOvWQoEr.css +0 -1
  201. package/assets/InputFile.CCQxsulT.css +0 -1
  202. package/assets/InputPassword.124xVOiO.css +0 -1
  203. package/assets/InputSearch.Bkg-1urJ.css +0 -1
  204. package/assets/InputStepper.Dth4qZN_.css +0 -1
  205. package/assets/LinkButton.xMvg_ojf.css +0 -1
  206. package/assets/Notification.BOuaA5GT.css +0 -1
  207. package/assets/Popover.BDTDsPAt.css +0 -1
  208. package/assets/Select.CYACicZ3.css +0 -1
  209. package/assets/Slider.DzwSjDPV.css +0 -1
  210. package/assets/Textarea.BXWhXpXx.css +0 -1
  211. package/assets/Toast.CJ1zhDIT.css +0 -1
  212. package/assets/buttonround.Cw9hnUan.css +0 -1
  213. package/assets/input.ONbL-_C1.css +0 -1
  214. package/assets/switch.Bc9KIyw9.css +0 -1
  215. package/breadcrumb.BS-S3zUI.js +0 -11
  216. package/button.CPilCCUI.js +0 -12
  217. package/buttonround.C426mO4d.js +0 -81
  218. package/checkbox.BtlUvs0z.js +0 -12
  219. package/checkboxgroup.C5NgyyQF.js +0 -9
  220. package/chip.tVIG1ysH.js +0 -11
  221. package/chipgroup.CjIK0Z0x.js +0 -209
  222. package/chunks/Accordion.C5V5IcM-.js +0 -170
  223. package/chunks/ActionButton.B8zFwOrJ.js +0 -165
  224. package/chunks/ActionLink.IX6oRXU3.js +0 -138
  225. package/chunks/Button.B7xF1E19.js +0 -127
  226. package/chunks/Checkbox.DxV7-F5W.js +0 -88
  227. package/chunks/Chip.31UfPwQF.js +0 -119
  228. package/chunks/Dialog.B_2pKRnd.js +0 -135
  229. package/chunks/Drawer.HFlBTcqN.js +0 -140
  230. package/chunks/Header.DqZRryB5.js +0 -366
  231. package/chunks/Icon.DGTYCv63.js +0 -231
  232. package/chunks/InputFile.DvOatDzg.js +0 -220
  233. package/chunks/InputSearch.B0aCuPRZ.js +0 -174
  234. package/chunks/InputStepper.D_1YqlWl.js +0 -263
  235. package/chunks/LinkButton.DdTspmJz.js +0 -117
  236. package/chunks/MegaMenu.BY7eOnhj.js +0 -189
  237. package/chunks/NavigationTabList.dYFYTmWv.js +0 -57
  238. package/chunks/Notification.DIdIhGTQ.js +0 -92
  239. package/chunks/Popover.NGetxKGg.js +0 -159
  240. package/chunks/Select.BDHLJ2ma.js +0 -162
  241. package/chunks/Tabs.CkVL8Jw8.js +0 -83
  242. package/chunks/Textarea.ORkJUx-S.js +0 -163
  243. package/chunks/Toast.DHo4pLH3.js +0 -76
  244. package/chunks/file-type-doc.DlovDOBh.js +0 -10
  245. package/chunks/floating-ui.dom.C9TD1WpB.js +0 -950
  246. package/chunks/floating-ui.react.x0F9CYgn.js +0 -1637
  247. package/chunks/helpers.BbWkXTr3.js +0 -37
  248. package/chunks/petrol.Du6qAgp0.js +0 -10
  249. package/chunks/upload.ZImTAIgx.js +0 -10
  250. package/chunks/useBreakpoint.CMOR9ZOB.js +0 -44
  251. package/combobox.Bk2ycofh.js +0 -60
  252. package/components/InputStepper/InputStepper.utils.d.ts +0 -12
  253. package/customreactselect.Hnch9LGg.js +0 -14
  254. package/dialog.7sWoqGwL.js +0 -10
  255. package/drawer.DsF4KIPn.js +0 -10
  256. package/fieldset.DUFUMcT-.js +0 -11
  257. package/floatingactionbutton.DOH2k0gv.js +0 -72
  258. package/header.QpNjE3N-.js +0 -12
  259. package/icon.vMQcEBnH.js +0 -9
  260. package/input.BKHOY118.js +0 -203
  261. package/inputfile.DK8759wV.js +0 -17
  262. package/inputpassword.rV_ZZw5F.js +0 -13
  263. package/inputsearch.CmhakTpa.js +0 -14
  264. package/inputstepper.Y-YzUHhF.js +0 -16
  265. package/inputstepper.d.ts +0 -2
  266. package/link.D_FjTyoZ.js +0 -66
  267. package/linkbutton.D2C4vykc.js +0 -11
  268. package/megamenu.CdHrEeoh.js +0 -12
  269. package/navigationtablist.CVjh1k-b.js +0 -9
  270. package/navigationtabs.BGfi9AG2.js +0 -9
  271. package/notification.Dn-FZWEL.js +0 -10
  272. package/popover.DXxm1oWI.js +0 -11
  273. package/radiogroup.J8WpEEo8.js +0 -11
  274. package/scroller.BiRLQg__.js +0 -123
  275. package/select.DIzGPVx3.js +0 -13
  276. package/slider.DuJK0RdB.js +0 -11
  277. package/systemfeedback.C_2PhwKe.js +0 -10
  278. package/tablist.g_Nwu6GA.js +0 -256
  279. package/tabs.oh9-wHPp.js +0 -11
  280. package/text.ZOUuesnU.js +0 -10
  281. package/textarea.dQ12-oYB.js +0 -13
  282. package/toast.sMNbfKxi.js +0 -11
  283. package/toastmanager.CVamaS5T.js +0 -116
  284. package/topbar.Dhy_TL0U.js +0 -11
  285. /package/components/{InputStepper/InputStepper.test.d.ts → InputNumber/InputNumber.test.d.ts} +0 -0
  286. /package/components/{InputStepper/InputStepper.utils.test.d.ts → InputNumber/InputNumberutils.test.d.ts} +0 -0
@@ -0,0 +1,132 @@
1
+ "use client";
2
+ import { jsxs as go, jsx as z } from "react/jsx-runtime";
3
+ import { d as ko } from "./index.D-sRdssb.js";
4
+ import { c as ao } from "./index.DL9mof6u.js";
5
+ import { forwardRef as mo } from "react";
6
+ import { u as co } from "./useBreakpoint.BzR_yaIv.js";
7
+ import { D as fo } from "./Icon.CDLyB7Pv.js";
8
+ import { Tooltip as ho } from "../tooltip.QJe_bfO-.js";
9
+ import { g as uo } from "./helpers.CexwVao7.js";
10
+ import '../assets/LinkButton.B86yacK5.css';const bo = "ds-link-button_root_oblg9_1", vo = "ds-link-button_root--highlight_oblg9_75", po = "ds-link-button_root--dark-highlight_oblg9_75", Do = "ds-link-button_root--filled_oblg9_151", No = "ds-link-button_root--outline_oblg9_179", Oo = "ds-link-button_root--ghost_oblg9_206", Lo = "ds-link-button_root--ghost-flush_oblg9_231", So = "ds-link-button_root--small_oblg9_237", Fo = "ds-link-button_root--navigation_oblg9_317", Io = "ds-link-button_root--dark-filled_oblg9_393", Go = "ds-link-button_root--dark-outline_oblg9_450", yo = "ds-link-button_root--dark-ghost_oblg9_506", Bo = "ds-link-button_root--dark-ghost-flush_oblg9_560", Ho = "ds-link-button_root--icon-left_oblg9_635", To = "ds-link-button_root--icon-only_oblg9_638", wo = "ds-link-button_root--icon-only-small_oblg9_647", Eo = "ds-link-button_icon--navigation_oblg9_659", Po = "ds-link-button_label--hidden_oblg9_667", l = {
11
+ root: bo,
12
+ rootHighlight: vo,
13
+ rootDarkHighlight: po,
14
+ rootFilled: Do,
15
+ rootOutline: No,
16
+ rootGhost: Oo,
17
+ rootGhostFlush: Lo,
18
+ rootSmall: So,
19
+ rootNavigation: Fo,
20
+ rootDarkFilled: Io,
21
+ rootDarkOutline: Go,
22
+ rootDarkGhost: yo,
23
+ rootDarkGhostFlush: Bo,
24
+ rootIconLeft: Ho,
25
+ rootIconOnly: To,
26
+ rootIconOnlySmall: wo,
27
+ iconNavigation: Eo,
28
+ labelHidden: Po
29
+ }, Zo = ["medium", "small"], $o = ["filled", "highlight", "outline", "ghost", "navigation"], Ao = ({
30
+ variant: D,
31
+ size: N,
32
+ theme: o
33
+ }) => {
34
+ if (D === "navigation" && (N === "small" && console.warn(uo("DSLinkButton", 'A "size" prop should not be used in combination with variant="navigation". Please remove the "size" prop.')), o === "dark"))
35
+ throw new Error(uo("DSLinkButton", 'A DSLinkButton with variant="navigation" does not support theme="dark". Please remove the "theme" prop.'));
36
+ }, xo = mo((D, N) => {
37
+ const o = ko.c(71);
38
+ let a, c, d, h, i, s, e, g, u, _, O, L, S, F, I, G, y, r;
39
+ o[0] !== D ? ({
40
+ children: c,
41
+ aria: a,
42
+ className: d,
43
+ download: h,
44
+ hideLabel: O,
45
+ href: i,
46
+ iconName: s,
47
+ iconPosition: L,
48
+ iconSource: e,
49
+ isFlush: S,
50
+ referrerPolicy: g,
51
+ rel: u,
52
+ size: F,
53
+ target: I,
54
+ theme: G,
55
+ variant: y,
56
+ tooltip: r,
57
+ ..._
58
+ } = D, o[0] = D, o[1] = a, o[2] = c, o[3] = d, o[4] = h, o[5] = i, o[6] = s, o[7] = e, o[8] = g, o[9] = u, o[10] = _, o[11] = O, o[12] = L, o[13] = S, o[14] = F, o[15] = I, o[16] = G, o[17] = y, o[18] = r) : (a = o[1], c = o[2], d = o[3], h = o[4], i = o[5], s = o[6], e = o[7], g = o[8], u = o[9], _ = o[10], O = o[11], L = o[12], S = o[13], F = o[14], I = o[15], G = o[16], y = o[17], r = o[18]);
59
+ const C = O === void 0 ? !1 : O, _o = L === void 0 ? "left" : L, B = S === void 0 ? !1 : S, H = F === void 0 ? "medium" : F, V = I === void 0 ? "_self" : I, n = G === void 0 ? "light" : G, t = y === void 0 ? "filled" : y;
60
+ process.env.NODE_ENV !== "production" && Ao({
61
+ variant: t,
62
+ size: H,
63
+ theme: n
64
+ });
65
+ const j = t === "filled", K = t === "highlight", R = t === "outline", U = t === "ghost" && B !== !0, M = t === "navigation", Z = t === "ghost" && B === !0, $ = n === "dark" && t === "filled", q = n === "dark" && t === "highlight", J = n === "dark" && t === "outline", Q = n === "dark" && t === "ghost" && B !== !0, W = n === "dark" && t === "ghost" && B === !0, X = H === "small" || t === "navigation", Y = _o === "left", oo = co(C) && H === "medium" && t !== "navigation", to = co(C) && H === "small" && t !== "navigation";
66
+ let T;
67
+ o[19] !== d || o[20] !== R || o[21] !== U || o[22] !== M || o[23] !== Z || o[24] !== $ || o[25] !== q || o[26] !== J || o[27] !== Q || o[28] !== W || o[29] !== X || o[30] !== Y || o[31] !== oo || o[32] !== to || o[33] !== j || o[34] !== K ? (T = ao(l.root, d, {
68
+ [l.rootFilled]: j,
69
+ [l.rootHighlight]: K,
70
+ [l.rootOutline]: R,
71
+ [l.rootGhost]: U,
72
+ [l.rootNavigation]: M,
73
+ [l.rootGhostFlush]: Z,
74
+ [l.rootDarkFilled]: $,
75
+ [l.rootDarkHighlight]: q,
76
+ [l.rootDarkOutline]: J,
77
+ [l.rootDarkGhost]: Q,
78
+ [l.rootDarkGhostFlush]: W,
79
+ [l.rootSmall]: X,
80
+ [l.rootIconLeft]: Y,
81
+ [l.rootIconOnly]: oo,
82
+ [l.rootIconOnlySmall]: to
83
+ }), o[19] = d, o[20] = R, o[21] = U, o[22] = M, o[23] = Z, o[24] = $, o[25] = q, o[26] = J, o[27] = Q, o[28] = W, o[29] = X, o[30] = Y, o[31] = oo, o[32] = to, o[33] = j, o[34] = K, o[35] = T) : T = o[35];
84
+ const lo = T, no = co(C) && t !== "navigation";
85
+ let w;
86
+ o[36] !== no ? (w = ao({
87
+ [l.labelHidden]: no
88
+ }), o[36] = no, o[37] = w) : w = o[37];
89
+ const io = w, so = t === "navigation";
90
+ let E;
91
+ o[38] !== so ? (E = ao({
92
+ [l.iconNavigation]: so
93
+ }), o[38] = so, o[39] = E) : E = o[39];
94
+ const eo = E, ro = n === "light" && t === "filled" || n === "dark" && t === "outline" || n === "dark" && t === "ghost" ? "dark" : "light", k = i === void 0 ? "span" : "a";
95
+ let m;
96
+ o[40] !== k || o[41] !== h || o[42] !== i || o[43] !== g || o[44] !== u || o[45] !== V ? (m = k === "a" && {
97
+ href: i,
98
+ target: V,
99
+ rel: u,
100
+ referrerPolicy: g,
101
+ download: h
102
+ }, o[40] = k, o[41] = h, o[42] = i, o[43] = g, o[44] = u, o[45] = V, o[46] = m) : m = o[46];
103
+ let f;
104
+ o[47] !== c || o[48] !== io ? (f = /* @__PURE__ */ z("span", { className: io, children: c }), o[47] = c, o[48] = io, o[49] = f) : f = o[49];
105
+ let b;
106
+ o[50] !== eo || o[51] !== s || o[52] !== e || o[53] !== ro ? (b = (s || e) && /* @__PURE__ */ z(fo, { name: s, theme: ro, source: e, className: eo, "aria-hidden": "true" }), o[50] = eo, o[51] = s, o[52] = e, o[53] = ro, o[54] = b) : b = o[54];
107
+ let P;
108
+ o[55] !== k || o[56] !== a || o[57] !== N || o[58] !== _ || o[59] !== lo || o[60] !== m || o[61] !== f || o[62] !== b ? (P = /* @__PURE__ */ go(k, { className: lo, ...m, ...a, ..._, ref: N, children: [
109
+ f,
110
+ b
111
+ ] }), o[55] = k, o[56] = a, o[57] = N, o[58] = _, o[59] = lo, o[60] = m, o[61] = f, o[62] = b, o[63] = P) : P = o[63];
112
+ const A = P;
113
+ if (r) {
114
+ let v;
115
+ o[64] !== A ? (v = /* @__PURE__ */ z(ho.Anchor, { children: A }), o[64] = A, o[65] = v) : v = o[65];
116
+ let p;
117
+ o[66] !== r ? (p = /* @__PURE__ */ z(ho.Content, { children: r }), o[66] = r, o[67] = p) : p = o[67];
118
+ let x;
119
+ return o[68] !== v || o[69] !== p ? (x = /* @__PURE__ */ go(ho, { placement: "top", tooltipOffset: 6, children: [
120
+ v,
121
+ p
122
+ ] }), o[68] = v, o[69] = p, o[70] = x) : x = o[70], x;
123
+ }
124
+ return A;
125
+ });
126
+ xo.displayName = "DSLinkButton";
127
+ export {
128
+ xo as D,
129
+ Zo as L,
130
+ $o as a,
131
+ Ao as v
132
+ };
@@ -0,0 +1,189 @@
1
+ "use client";
2
+ import { jsx as N, jsxs as ne } from "react/jsx-runtime";
3
+ import { d as P } from "./index.D-sRdssb.js";
4
+ import { isValidElement as J, useState as se, createContext as oe, forwardRef as K, cloneElement as ae, useContext as L } from "react";
5
+ import { o as le, u as re, a as ce, b as ie, c as ue, d as fe, e as Q, f as de, F as me, g as Me, h as ge } from "./floating-ui.react.3FjeMiuN.js";
6
+ import { c as q } from "./index.DL9mof6u.js";
7
+ import { g as V, c as z } from "./helpers.CexwVao7.js";
8
+ import { D as he } from "./Header.7TQL_J9t.js";
9
+ import { a as pe } from "./floating-ui.dom.BT8pKtCQ.js";
10
+ import '../assets/MegaMenu.D5EtjFeL.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 = {
11
+ root: Se,
12
+ content: De,
13
+ contentVariantFull: _e,
14
+ backdrop: Ce
15
+ }, ve = 9, Ee = (s) => {
16
+ const t = P.c(17);
17
+ let e;
18
+ t[0] !== s ? (e = s === void 0 ? {} : s, t[0] = s, t[1] = e) : e = t[1];
19
+ const {
20
+ initialOpen: n,
21
+ isOpen: c,
22
+ onOpenChange: a
23
+ } = e, d = n === void 0 ? !1 : n, [i, o] = se(d), r = c ?? i, u = a ?? o;
24
+ let f;
25
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (f = [le(ve)], t[2] = f) : f = t[2];
26
+ let C;
27
+ t[3] !== r || t[4] !== u ? (C = {
28
+ placement: "bottom-start",
29
+ open: r,
30
+ onOpenChange: u,
31
+ whileElementsMounted: pe,
32
+ strategy: "absolute",
33
+ transform: !1,
34
+ middleware: f
35
+ }, t[3] = r, t[4] = u, t[5] = C) : C = t[5];
36
+ const M = re(C), D = M.context;
37
+ let g;
38
+ t[6] === Symbol.for("react.memo_cache_sentinel") ? (g = {
39
+ enabled: !0
40
+ }, t[6] = g) : g = t[6];
41
+ const h = ce(D, g), _ = ie(D);
42
+ let m;
43
+ t[7] === Symbol.for("react.memo_cache_sentinel") ? (m = {
44
+ role: "menu"
45
+ }, t[7] = m) : m = t[7];
46
+ const O = ue(D, m);
47
+ let l;
48
+ t[8] !== h || t[9] !== _ || t[10] !== O ? (l = [h, _, O], t[8] = h, t[9] = _, t[10] = O, t[11] = l) : l = t[11];
49
+ const p = fe(l);
50
+ let S;
51
+ return t[12] !== M || t[13] !== p || t[14] !== r || t[15] !== u ? (S = {
52
+ open: r,
53
+ setOpen: u,
54
+ ...p,
55
+ ...M
56
+ }, t[12] = M, t[13] = p, t[14] = r, t[15] = u, t[16] = S) : S = t[16], S;
57
+ }, we = (s) => {
58
+ if (!J(s))
59
+ throw new Error(V("DSMegaMenu", "DSMegaMenu.Anchor child must be a valid React element."));
60
+ }, be = ({
61
+ hasContent: s,
62
+ hasAnchor: t
63
+ }) => {
64
+ if (!s)
65
+ throw new Error(V("DSMegaMenu", "A DSMegaMenu must have a <DSMegaMenu.Content> component as a child. Please add it to the children of DSMegaMenu."));
66
+ if (!t)
67
+ throw new Error(V("DSMegaMenu", "A DSMegaMenu must have a <DSMegaMenu.Anchor> component as a child. Please add it to the children of DSMegaMenu."));
68
+ }, W = oe(null), X = () => {
69
+ const s = L(W);
70
+ if (s == null)
71
+ throw new Error(V("DSMegaMenu", "Components like DSMegaMenu.Anchor or DSMegaMenu.Content must be wrapped in <DSMegaMenu />."));
72
+ return s;
73
+ }, T = (s) => {
74
+ const t = P.c(9);
75
+ let e, n;
76
+ t[0] !== s ? ({
77
+ children: e,
78
+ ...n
79
+ } = s, t[0] = s, t[1] = e, t[2] = n) : (e = t[1], n = t[2]);
80
+ let c;
81
+ t[3] !== n ? (c = {
82
+ ...n
83
+ }, t[3] = n, t[4] = c) : c = t[4];
84
+ const a = Ee(c), d = z(e, T.Content), i = z(e, H);
85
+ process.env.NODE_ENV !== "production" && be({
86
+ hasContent: d,
87
+ hasAnchor: i
88
+ });
89
+ let o;
90
+ return t[5] !== e || t[6] !== a || t[7] !== n ? (o = /* @__PURE__ */ N(W.Provider, { value: a, ...n, children: e }), t[5] = e, t[6] = a, t[7] = n, t[8] = o) : o = t[8], o;
91
+ }, H = K((s, t) => {
92
+ const e = P.c(4), {
93
+ children: n,
94
+ ...c
95
+ } = s;
96
+ process.env.NODE_ENV !== "production" && we(n);
97
+ const a = X(), d = n.ref;
98
+ let i;
99
+ e[0] !== d || e[1] !== a.refs.setReference || e[2] !== t ? (i = [a.refs.setReference, t, d], e[0] = d, e[1] = a.refs.setReference, e[2] = t, e[3] = i) : i = e[3];
100
+ const o = Q(i);
101
+ if (J(n))
102
+ return ae(n, a.getReferenceProps({
103
+ ref: o,
104
+ ...c,
105
+ ...n.props,
106
+ "data-state": a.open ? "open" : "closed"
107
+ }));
108
+ });
109
+ H.displayName = "DSMegaMenu.Anchor";
110
+ const Y = K((s, t) => {
111
+ const e = P.c(45), {
112
+ style: n,
113
+ className: c,
114
+ children: a,
115
+ ...d
116
+ } = s, i = X();
117
+ let o, r, u, f;
118
+ e[0] !== i ? ({
119
+ context: o,
120
+ floatingStyles: r,
121
+ getFloatingProps: u,
122
+ ...f
123
+ } = i, e[0] = i, e[1] = o, e[2] = r, e[3] = u, e[4] = f) : (o = e[1], r = e[2], u = e[3], f = e[4]);
124
+ const {
125
+ variant: C,
126
+ bannerAreaRef: M,
127
+ topBarAreaRef: D,
128
+ mainNavigationAreaRef: g
129
+ } = L(he);
130
+ let h;
131
+ e[5] !== t || e[6] !== f.refs.setFloating ? (h = [f.refs.setFloating, t], e[5] = t, e[6] = f.refs.setFloating, e[7] = h) : h = e[7];
132
+ const _ = Q(h);
133
+ let m;
134
+ e[8] === Symbol.for("react.memo_cache_sentinel") ? (m = {
135
+ duration: {
136
+ open: 400,
137
+ close: 400
138
+ }
139
+ }, e[8] = m) : m = e[8];
140
+ const {
141
+ isMounted: O,
142
+ status: l
143
+ } = de(o, m);
144
+ let p;
145
+ e[9] !== c ? (p = q(R.root, c), e[9] = c, e[10] = p) : p = e[10];
146
+ const S = p, I = C === "full";
147
+ let y;
148
+ e[11] !== I ? (y = q(R.content, {
149
+ [R.contentVariantFull]: I
150
+ }), e[11] = I, e[12] = y) : y = e[12];
151
+ const $ = y;
152
+ if (!O)
153
+ return null;
154
+ const U = ge, j = Me, Z = !0;
155
+ let v;
156
+ e[13] !== l ? (v = /* @__PURE__ */ N("div", { className: R.backdrop, "data-status": l }), e[13] = l, e[14] = v) : v = e[14];
157
+ const B = me, ee = !1, te = !0;
158
+ let E;
159
+ e[15] !== M || e[16] !== g || e[17] !== D ? (E = () => [g?.current, D?.current, M?.current].filter(Boolean), e[15] = M, e[16] = g, e[17] = D, e[18] = E) : E = e[18];
160
+ let w;
161
+ e[19] !== r || e[20] !== n ? (w = {
162
+ ...r,
163
+ ...n
164
+ }, e[19] = r, e[20] = n, e[21] = w) : w = e[21];
165
+ const G = u(d);
166
+ let b;
167
+ e[22] !== a || e[23] !== $ || e[24] !== l ? (b = /* @__PURE__ */ N("div", { className: $, "data-status": l, children: a }), e[22] = a, e[23] = $, e[24] = l, e[25] = b) : b = e[25];
168
+ let x;
169
+ e[26] !== S || e[27] !== _ || e[28] !== l || e[29] !== w || e[30] !== G || e[31] !== b ? (x = /* @__PURE__ */ N("div", { ref: _, style: w, className: S, "data-status": l, ...G, children: b }), e[26] = S, e[27] = _, e[28] = l, e[29] = w, e[30] = G, e[31] = b, e[32] = x) : x = e[32];
170
+ let F;
171
+ e[33] !== B || e[34] !== o || e[35] !== E || e[36] !== x ? (F = /* @__PURE__ */ N(B, { context: o, modal: ee, outsideElementsInert: te, getInsideElements: E, children: x }), e[33] = B, e[34] = o, e[35] = E, e[36] = x, e[37] = F) : F = e[37];
172
+ let A;
173
+ e[38] !== j || e[39] !== F || e[40] !== v ? (A = /* @__PURE__ */ ne(j, { lockScroll: Z, children: [
174
+ v,
175
+ F
176
+ ] }), e[38] = j, e[39] = F, e[40] = v, e[41] = A) : A = e[41];
177
+ let k;
178
+ return e[42] !== U || e[43] !== A ? (k = /* @__PURE__ */ N(U, { children: A }), e[42] = U, e[43] = A, e[44] = k) : k = e[44], k;
179
+ });
180
+ Y.displayName = "DSMegaMenu.Content";
181
+ T.Anchor = H;
182
+ T.Content = Y;
183
+ T.displayName = "DSMegaMenu";
184
+ export {
185
+ T as D,
186
+ be as a,
187
+ Ee as u,
188
+ we as v
189
+ };
@@ -0,0 +1,67 @@
1
+ "use client";
2
+ import { jsxs as B, Fragment as k, jsx as d } from "react/jsx-runtime";
3
+ import { d as I } from "./index.D-sRdssb.js";
4
+ import { isValidElement as w, cloneElement as R } from "react";
5
+ import { D as W } from "./Icon.CDLyB7Pv.js";
6
+ import { NumberIndicator as v } from "../numberindicator.BdnPMogE.js";
7
+ import '../assets/NavigationTabList.CFlVhUzS.css';const y = "ds-tabs_tabs-wrapper_ccgp4_1", D = "ds-tabs_scroll-wrapper_ccgp4_6", E = "ds-tabs_scroller_ccgp4_17", T = "ds-tabs_scroller--centered_ccgp4_28", j = "ds-tabs_tab_ccgp4_1", x = "ds-tabs_scroll-button_ccgp4_105", H = "ds-tabs_scroll-button--hidden_ccgp4_110", K = "ds-tabs_scroll-button--right_ccgp4_114", L = "ds-tabs_indicator_ccgp4_126", S = {
8
+ tabsWrapper: y,
9
+ scrollWrapper: D,
10
+ scroller: E,
11
+ scrollerCentered: T,
12
+ tab: j,
13
+ scrollButton: x,
14
+ scrollButtonHidden: H,
15
+ scrollButtonRight: K,
16
+ indicator: L
17
+ }, A = (h) => {
18
+ const t = I.c(15), {
19
+ tabs: p,
20
+ tabRefs: e,
21
+ scrollerClass: b,
22
+ scrollerRef: _,
23
+ selectedTabIndex: r,
24
+ handleNavigationKeydown: o,
25
+ setSelectedTab: c
26
+ } = h;
27
+ let s;
28
+ if (t[0] !== o || t[1] !== r || t[2] !== c || t[3] !== e || t[4] !== p) {
29
+ let i;
30
+ t[6] !== o || t[7] !== r || t[8] !== c || t[9] !== e ? (i = (C, l) => {
31
+ const {
32
+ id: u,
33
+ linkComponent: n,
34
+ iconName: g,
35
+ numberIndicatorValue: f
36
+ } = C;
37
+ if (!w(n))
38
+ return null;
39
+ const N = R(n, {
40
+ "aria-current": r === l ? "page" : void 0,
41
+ children: /* @__PURE__ */ B(k, { children: [
42
+ g && /* @__PURE__ */ d(W, { name: g, "aria-hidden": "true" }),
43
+ n.props.children,
44
+ f && /* @__PURE__ */ d(v, { label: f })
45
+ ] }),
46
+ className: S.tab,
47
+ id: u,
48
+ tabIndex: r === l ? 0 : -1,
49
+ onKeyDown: (m) => o(m, l),
50
+ onClick: () => {
51
+ n.props.onClick && n.props.onClick(), c(l);
52
+ },
53
+ ref: (m) => {
54
+ e.current[l] = m;
55
+ }
56
+ });
57
+ return /* @__PURE__ */ d("li", { children: N }, u);
58
+ }, t[6] = o, t[7] = r, t[8] = c, t[9] = e, t[10] = i) : i = t[10], s = p.map(i), t[0] = o, t[1] = r, t[2] = c, t[3] = e, t[4] = p, t[5] = s;
59
+ } else
60
+ s = t[5];
61
+ let a;
62
+ return t[11] !== b || t[12] !== _ || t[13] !== s ? (a = /* @__PURE__ */ d("ul", { className: b, ref: _, children: s }), t[11] = b, t[12] = _, t[13] = s, t[14] = a) : a = t[14], a;
63
+ };
64
+ export {
65
+ A as N,
66
+ S as s
67
+ };
@@ -1,16 +1,15 @@
1
1
  "use client";
2
2
  import { jsx as v } from "react/jsx-runtime";
3
- import { d as u } from "./index.CgTHIF3K.js";
3
+ import { d as u } from "./index.D-sRdssb.js";
4
4
  import { useState as T, useEffect as y } from "react";
5
- import { TabList as h } from "../tablist.g_Nwu6GA.js";
6
- import { g as m, r as E } from "./helpers.BbWkXTr3.js";
5
+ import { TabList as h } from "../tablist.DZgo49nZ.js";
6
+ import { g as m, r as E } from "./helpers.CexwVao7.js";
7
7
  const _ = ["left", "center"], j = ["prev", "next"], S = ({
8
8
  aria: a,
9
9
  tabs: e,
10
10
  activeTabIndex: t
11
11
  }) => {
12
- var r, i;
13
- if (!a || typeof a != "object" || Object.keys(a).length === 0 || !a["aria-label"] && !a["aria-labelledby"] || ((r = a["aria-label"]) == null ? void 0 : r.trim()) === "" && ((i = a["aria-labelledby"]) == null ? void 0 : i.trim()) === "")
12
+ if (!a || typeof a != "object" || Object.keys(a).length === 0 || !a["aria-label"] && !a["aria-labelledby"] || a["aria-label"]?.trim() === "" && a["aria-labelledby"]?.trim() === "")
14
13
  throw new Error(m("DSNavigationTabs", 'A valid "aria-label" or "aria-labelledby" property is required. Ensure the "aria" prop is a non-empty object and includes either "aria-label" or "aria-labelledby" with a non-empty string value.'));
15
14
  if (Array.isArray(e)) {
16
15
  if (e.length === 0)
@@ -20,19 +19,19 @@ const _ = ["left", "center"], j = ["prev", "next"], S = ({
20
19
  throw new Error(m("DSNavigationTabs", `Invalid activeTabIndex: ${t}. It must be between 0 and ${e.length - 1}.`));
21
20
  }, x = (a) => {
22
21
  const e = u.c(19);
23
- let t, r, i, s, o, l;
22
+ let t, r, l, s, o, i;
24
23
  e[0] !== a ? ({
25
24
  aria: r,
26
- tabs: l,
25
+ tabs: i,
27
26
  activeTabIndex: t,
28
27
  alignment: o,
29
- className: i,
28
+ className: l,
30
29
  ...s
31
- } = a, e[0] = a, e[1] = t, e[2] = r, e[3] = i, e[4] = s, e[5] = o, e[6] = l) : (t = e[1], r = e[2], i = e[3], s = e[4], o = e[5], l = e[6]);
30
+ } = a, e[0] = a, e[1] = t, e[2] = r, e[3] = l, e[4] = s, e[5] = o, e[6] = i) : (t = e[1], r = e[2], l = e[3], s = e[4], o = e[5], i = e[6]);
32
31
  const p = o === void 0 ? "left" : o;
33
32
  process.env.NODE_ENV !== "production" && S({
34
33
  aria: r,
35
- tabs: l,
34
+ tabs: i,
36
35
  activeTabIndex: t
37
36
  });
38
37
  const [c, N] = T(t);
@@ -41,16 +40,16 @@ const _ = ["left", "center"], j = ["prev", "next"], S = ({
41
40
  t != null && N(t);
42
41
  }, b = [t], e[7] = t, e[8] = n, e[9] = b) : (n = e[8], b = e[9]), y(n, b);
43
42
  let f;
44
- e[10] !== p || e[11] !== r || e[12] !== i || e[13] !== s || e[14] !== c || e[15] !== l ? (f = {
43
+ e[10] !== p || e[11] !== r || e[12] !== l || e[13] !== s || e[14] !== c || e[15] !== i ? (f = {
45
44
  aria: r,
46
- tabs: l,
45
+ tabs: i,
47
46
  setSelectedTabIndex: N,
48
47
  selectedTabIndex: c,
49
48
  alignment: p,
50
- className: i,
49
+ className: l,
51
50
  isNavigation: !0,
52
51
  ...s
53
- }, e[10] = p, e[11] = r, e[12] = i, e[13] = s, e[14] = c, e[15] = l, e[16] = f) : f = e[16];
52
+ }, e[10] = p, e[11] = r, e[12] = l, e[13] = s, e[14] = c, e[15] = i, e[16] = f) : f = e[16];
54
53
  const g = f;
55
54
  let d;
56
55
  return e[17] !== g ? (d = /* @__PURE__ */ v(h, { ...g }), e[17] = g, e[18] = d) : d = e[18], d;
@@ -0,0 +1,91 @@
1
+ "use client";
2
+ import { jsx as H, jsxs as F } from "react/jsx-runtime";
3
+ import { d as R } from "./index.D-sRdssb.js";
4
+ import { c as k } from "./index.DL9mof6u.js";
5
+ import { D as W } from "./Button.DCZgBNmA.js";
6
+ import { D as j } from "./Icon.CDLyB7Pv.js";
7
+ import '../assets/Notification.CvohYEvT.css';const y = "ds-notification_root_trmu0_1", L = "ds-notification_root--success_trmu0_29", P = "ds-notification_root--error_trmu0_33", V = "ds-notification_root--warning_trmu0_37", z = "ds-notification_root--hide-icon_trmu0_41", Y = "ds-notification_content_trmu0_55", $ = "ds-notification_content--hide-close-button_trmu0_62", q = "ds-notification_content--hide-icon_trmu0_65", G = "ds-notification_icon_trmu0_69", J = "ds-notification_message_trmu0_73", K = "ds-notification_custom-action-area_trmu0_170", e = {
8
+ root: y,
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
+ }, et = ["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
+ }, nt = (S) => {
30
+ const t = R.c(46);
31
+ let i, r, a, s, n, l, h, A;
32
+ t[0] !== S ? ({
33
+ children: i,
34
+ variant: h,
35
+ className: r,
36
+ closeButtonProps: a,
37
+ customActionArea: s,
38
+ hideIcon: A,
39
+ onClose: n,
40
+ ...l
41
+ } = S, t[0] = S, t[1] = i, t[2] = r, t[3] = a, t[4] = s, t[5] = n, t[6] = l, t[7] = h, t[8] = A) : (i = t[1], r = t[2], a = t[3], s = t[4], n = t[5], l = t[6], h = t[7], A = t[8]);
42
+ const c = h === void 0 ? "info" : h, o = A === void 0 ? !1 : A;
43
+ let d;
44
+ t[9] !== a ? (d = a || {}, t[9] = a, t[10] = d) : d = t[10];
45
+ let m, g;
46
+ t[11] !== d ? ({
47
+ label: g,
48
+ ...m
49
+ } = d, t[11] = d, t[12] = m, t[13] = g) : (m = t[12], g = t[13]);
50
+ const O = g === void 0 ? "Close notification" : g, T = c === "success", x = c === "error", B = c === "warning";
51
+ let C;
52
+ t[14] !== r || t[15] !== o || t[16] !== T || t[17] !== x || t[18] !== B ? (C = k(e.root, r, {
53
+ [e.rootSuccess]: T,
54
+ [e.rootError]: x,
55
+ [e.rootWarning]: B,
56
+ [e.rootHideIcon]: o
57
+ }), t[14] = r, t[15] = o, t[16] = T, t[17] = x, t[18] = B, t[19] = C) : C = t[19];
58
+ const D = C, b = !n;
59
+ let p;
60
+ t[20] !== o || t[21] !== b ? (p = k(e.content, {
61
+ [e.contentHideCloseButton]: b,
62
+ [e.contentHideIcon]: o
63
+ }), t[20] = o, t[21] = b, t[22] = p) : p = t[22];
64
+ const w = p, E = Q[c];
65
+ let u;
66
+ t[23] !== o || t[24] !== c ? (u = !o && /* @__PURE__ */ H(j, { name: M[c], className: e.icon, "aria-hidden": "true" }), t[23] = o, t[24] = c, t[25] = u) : u = t[25];
67
+ let _;
68
+ t[26] !== i ? (_ = /* @__PURE__ */ H("div", { className: e.message, children: i }), t[26] = i, t[27] = _) : _ = t[27];
69
+ let f;
70
+ t[28] !== O || t[29] !== n || t[30] !== m ? (f = n && /* @__PURE__ */ H(W, { ...m, hideLabel: !0, iconName: "cross", isFlush: !0, variant: "ghost", size: "small", onClick: n, type: "button", children: O }), t[28] = O, t[29] = n, t[30] = m, t[31] = f) : f = t[31];
71
+ let I;
72
+ t[32] !== w || t[33] !== u || t[34] !== _ || t[35] !== f ? (I = /* @__PURE__ */ F("div", { className: w, children: [
73
+ u,
74
+ _,
75
+ f
76
+ ] }), t[32] = w, t[33] = u, t[34] = _, t[35] = f, t[36] = I) : I = t[36];
77
+ let N;
78
+ t[37] !== s || t[38] !== o ? (N = s && /* @__PURE__ */ H("div", { className: k({
79
+ [e.customActionArea]: !o
80
+ }), children: s }), t[37] = s, t[38] = o, t[39] = N) : N = t[39];
81
+ let v;
82
+ return t[40] !== l || t[41] !== D || t[42] !== E || t[43] !== I || t[44] !== N ? (v = /* @__PURE__ */ F("div", { className: D, ...l, role: E, children: [
83
+ I,
84
+ N
85
+ ] }), t[40] = l, t[41] = D, t[42] = E, t[43] = I, t[44] = N, t[45] = v) : v = t[45], v;
86
+ };
87
+ export {
88
+ nt as D,
89
+ et as N,
90
+ M as a
91
+ };