@stihl-design-system/components 1.0.0-RC.32 → 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 (251) 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/Select.COxLltX7.css +1 -0
  19. package/assets/Slider.DPEmJ3HD.css +1 -0
  20. package/assets/Stepper.tXJl15yL.css +1 -0
  21. package/assets/{SystemFeedback.RcrPepSZ.css → SystemFeedback.PKzqnXUe.css} +1 -1
  22. package/assets/Textarea.y3MW7VW0.css +1 -0
  23. package/assets/Toast.CGyKXb4V.css +1 -0
  24. package/assets/buttonround.BN3vUDc_.css +1 -0
  25. package/assets/input.DTu4g_iA.css +1 -0
  26. package/assets/step.BeLporJO.css +1 -0
  27. package/assets/switch.B9B-n_3y.css +1 -0
  28. package/{asterisk.CR60hx8S.js → asterisk.B2ih8VwF.js} +1 -1
  29. package/{banner.o4Etkjjo.js → banner.CI5HnDqD.js} +3 -3
  30. package/breadcrumb.CtwAux3P.js +11 -0
  31. package/button.DHuKanZP.js +13 -0
  32. package/{buttonround.ChKWHzsv.js → buttonround.CMlmEDaN.js} +6 -6
  33. package/checkbox.DwccD0Mp.js +12 -0
  34. package/checkboxgroup.ZiUFfCJ1.js +9 -0
  35. package/chip.B0s_fS8L.js +12 -0
  36. package/chipgroup.Dpu66bo5.js +143 -0
  37. package/chunks/Accordion.CYIfNOWr.js +168 -0
  38. package/chunks/{ActionButton.DdDesD7K.js → ActionButton.DOYsEHPr.js} +37 -37
  39. package/chunks/{ActionLink.DqAsPYda.js → ActionLink.DbyciN3Y.js} +36 -36
  40. package/chunks/{AriaLiveRegions.utils.Cb327d_2.js → AriaLiveRegions.utils.CybNIBSa.js} +2 -2
  41. package/chunks/{Breadcrumb.9KinNuyQ.js → Breadcrumb.BgnpTo01.js} +35 -37
  42. package/chunks/{Button.Cf1CKq8N.js → Button.DCZgBNmA.js} +8 -8
  43. package/chunks/Checkbox.BcGXAuuP.js +88 -0
  44. package/chunks/{CheckboxGroup.Cj68J6Ee.js → CheckboxGroup.BuFd1luB.js} +5 -5
  45. package/chunks/{Chip.BrbYu6i_.js → Chip.D6pubCZV.js} +6 -6
  46. package/chunks/{CustomReactSelect.Cqq70QC0.js → CustomReactSelect.Dg3wC_VH.js} +450 -447
  47. package/chunks/Dialog.DpqSVrYR.js +102 -0
  48. package/chunks/Drawer.DISWybOa.js +107 -0
  49. package/chunks/{Fieldset.D7cLR5ze.js → Fieldset.DiMtr6Vw.js} +6 -6
  50. package/chunks/Header.7TQL_J9t.js +370 -0
  51. package/chunks/{Icon.NSsVrYeq.js → Icon.CDLyB7Pv.js} +77 -79
  52. package/chunks/{Input.utils.Cnnzvuk4.js → Input.utils.Dkw7gRrr.js} +17 -17
  53. package/chunks/InputFile.C8nt9Fu8.js +218 -0
  54. package/chunks/InputNumber.CbH1XJfl.js +267 -0
  55. package/chunks/{InputPassword.Da3hEKTc.js → InputPassword.DbdjuSiJ.js} +34 -34
  56. package/chunks/InputSearch.joxmugiv.js +173 -0
  57. package/chunks/{LinkButton.59oNDwPU.js → LinkButton.BZgIGgc8.js} +7 -7
  58. package/chunks/MegaMenu.CQbOeaib.js +189 -0
  59. package/chunks/NavigationTabList.G_l0GiUa.js +67 -0
  60. package/chunks/{NavigationTabs.DspPFHPh.js → NavigationTabs.BwM-6CRm.js} +13 -14
  61. package/chunks/Notification.CrojkJ0E.js +91 -0
  62. package/chunks/Popover.Bb0Pjmvg.js +215 -0
  63. package/chunks/{RadioGroup.DeTz3c19.js → RadioGroup.CexC4v2Z.js} +5 -5
  64. package/chunks/Select.BEIdNMML.js +164 -0
  65. package/chunks/{Slider.84lkgq3W.js → Slider.CR0zYHeZ.js} +83 -84
  66. package/chunks/Stepper.PTQdQBYf.js +152 -0
  67. package/chunks/{SystemFeedback.CyGbUCzT.js → SystemFeedback.CjlARKki.js} +9 -9
  68. package/chunks/Tabs.DyP4whX0.js +83 -0
  69. package/chunks/{Text.DGWeWF1y.js → Text.DpRtTpB4.js} +3 -3
  70. package/chunks/Textarea.Du2RII5u.js +168 -0
  71. package/chunks/Toast.ug_RjGgF.js +76 -0
  72. package/chunks/{arrow-clockwise.BefOjGPg.js → arrow-clockwise.C4iOgjOc.js} +1 -1
  73. package/chunks/{arrow-counterclockwise.C7Ov32BZ.js → arrow-counterclockwise.CgQAuBUe.js} +1 -1
  74. package/chunks/{circle-check-colored.Bye_GwLy.js → circle-check-colored.qP2s3vjI.js} +1 -1
  75. package/chunks/{diamond-exclamationmark-colored.WNKYwZ8q.js → diamond-exclamationmark-colored.CzYiaTZ0.js} +1 -1
  76. package/chunks/feather.l1E4nFBx.js +10 -0
  77. package/chunks/file-type-doc.B_RSSYbu.js +10 -0
  78. package/chunks/floating-ui.dom.BT8pKtCQ.js +1005 -0
  79. package/chunks/floating-ui.react.3FjeMiuN.js +1999 -0
  80. package/chunks/helpers.CexwVao7.js +38 -0
  81. package/chunks/{index.CgTHIF3K.js → index.D-sRdssb.js} +1 -1
  82. package/chunks/{index.CEyLAtio.js → index.DL9mof6u.js} +2 -2
  83. package/chunks/{is-animation-disabled.CUl4N3LI.js → is-animation-disabled.B-V_68K-.js} +5 -5
  84. package/chunks/{map.CXgG1iGz.js → map.DNl7PF61.js} +1 -1
  85. package/chunks/moon.5yILPYXs.js +10 -0
  86. package/chunks/muscle.DbNjWasV.js +10 -0
  87. package/chunks/petrol.BGWwCsTw.js +10 -0
  88. package/chunks/sun.CY6ttzTL.js +10 -0
  89. package/chunks/{triangle-exclamationmark-colored.CbVC3Gzi.js → triangle-exclamationmark-colored.e93zvQ6Q.js} +1 -1
  90. package/chunks/upload.BogDfonx.js +10 -0
  91. package/chunks/useBreakpoint.BzR_yaIv.js +42 -0
  92. package/chunks/variants.-R3_RCW8.js +10 -0
  93. package/chunks/weight.DUPu2UT0.js +10 -0
  94. package/combobox.jG5GRA7C.js +65 -0
  95. package/components/ChipGroup/ChipGroup.utils.d.ts +1 -3
  96. package/components/Combobox/Combobox.utils.d.ts +3 -4
  97. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +4 -2
  98. package/components/{InputStepper/InputStepper.d.ts → InputNumber/InputNumber.d.ts} +4 -4
  99. package/components/InputNumber/InputNumber.utils.d.ts +13 -0
  100. package/components/Scroller/Scroller.d.ts +6 -2
  101. package/components/Stepper/Step.d.ts +33 -0
  102. package/components/Stepper/Step.utils.d.ts +5 -0
  103. package/components/Stepper/Stepper.d.ts +56 -0
  104. package/components/Stepper/Stepper.test.d.ts +1 -0
  105. package/components/Stepper/Stepper.utils.d.ts +30 -0
  106. package/components/Stepper/Stepper.utils.test.d.ts +1 -0
  107. package/customreactselect.BFN8cYJi.js +14 -0
  108. package/dialog.CzM_Cxp0.js +9 -0
  109. package/drawer._A9MQ8Cj.js +9 -0
  110. package/fieldset.CId-NtI5.js +11 -0
  111. package/{filelist.BiKMKCyg.js → filelist.DgVuWpR3.js} +23 -24
  112. package/{flag.72PONA83.js → flag.CE32qHPa.js} +3 -3
  113. package/{floatingactionbutton.B2YChsNU.js → floatingactionbutton.Bsnncudt.js} +5 -5
  114. package/header.CelAkqtp.js +12 -0
  115. package/{heading.BXFBZhKv.js → heading.DHLpT4dc.js} +2 -2
  116. package/icon.vzkPwgjZ.js +9 -0
  117. package/index.d.ts +4 -2
  118. package/index.es.js +218 -206
  119. package/input.DuEbg7d6.js +206 -0
  120. package/inputfile.BjgJGefV.js +17 -0
  121. package/inputnumber.BcrxBVv0.js +16 -0
  122. package/inputnumber.d.ts +2 -0
  123. package/inputpassword.CddmBW-T.js +13 -0
  124. package/inputsearch.CFOASqrd.js +14 -0
  125. package/{link.DbnvsD3j.js → link.f8MMZo-w.js} +5 -5
  126. package/linkbutton.BYAvi-_V.js +12 -0
  127. package/{logo.C96KaG1P.js → logo.DprmD8HU.js} +3 -3
  128. package/{logo100years.BcB6_c-o.js → logo100years.B4d_DIiB.js} +1 -1
  129. package/megamenu.Cy9Cc-mC.js +12 -0
  130. package/navigationtablist.CkkLyHrM.js +10 -0
  131. package/navigationtabs.Dp7D2fnc.js +9 -0
  132. package/notification.B-norGiB.js +10 -0
  133. package/{numberindicator.Ddf3ESi7.js → numberindicator.BdnPMogE.js} +2 -2
  134. package/{optioncheckbox.DqfXuPdi.js → optioncheckbox.nBVwGv6c.js} +3 -3
  135. package/package.json +41 -50
  136. package/partials/index.js +56 -50
  137. package/partials/lib/partials.d.ts +1 -1
  138. package/popover.DFVDZY-m.js +12 -0
  139. package/{radio.7_N_alaS.js → radio.DHUfSPai.js} +2 -2
  140. package/radiogroup.DaThoMfq.js +11 -0
  141. package/scroller.Cu7H_VCT.js +98 -0
  142. package/select.CMdKf7tC.js +13 -0
  143. package/{skiptocontent.BSCde5hT.js → skiptocontent.CHVh0hbr.js} +4 -4
  144. package/slider.C5dK6KcG.js +11 -0
  145. package/{spinner.BUjhjAvw.js → spinner.C9qCeq0R.js} +18 -18
  146. package/step.DKf4CHGr.js +82 -0
  147. package/step.d.ts +6 -0
  148. package/stepper.CCP_igpJ.js +16 -0
  149. package/stepper.d.ts +2 -0
  150. package/{switch.D7BCfyyZ.js → switch.Bqdyzi2E.js} +5 -5
  151. package/systemfeedback.O7tj1juR.js +10 -0
  152. package/tablist.DZgo49nZ.js +209 -0
  153. package/{tabpane.CB-eudyw.js → tabpane.C4nsUlwc.js} +2 -2
  154. package/tabs.BkoT7feH.js +11 -0
  155. package/text.cLv2PhjQ.js +10 -0
  156. package/textarea.DMn20z4p.js +13 -0
  157. package/{title.Bz_k5Vda.js → title.DuLPB-VK.js} +2 -2
  158. package/toast.Dvs8woTH.js +11 -0
  159. package/toastmanager.pi_Fhd5t.js +89 -0
  160. package/tooltip.QJe_bfO-.js +178 -0
  161. package/topbar.Bxwvp9Lf.js +12 -0
  162. package/types/icon-types.d.ts +1 -1
  163. package/utils/index.d.ts +1 -0
  164. package/utils/mergeRefs.d.ts +5 -0
  165. package/utils/mergeRefs.test.d.ts +1 -0
  166. package/accordion.HfUSDwQJ.js +0 -12
  167. package/actionbutton.kgd0E_xF.js +0 -12
  168. package/actionlink.CwC42RWc.js +0 -12
  169. package/assets/Accordion.BJb4TOG0.css +0 -1
  170. package/assets/Button.Dw8H5nFS.css +0 -1
  171. package/assets/Checkbox.BKHQN_tu.css +0 -1
  172. package/assets/CustomReactSelect.DGIItWIh.css +0 -1
  173. package/assets/Dialog.CGAg7bnN.css +0 -1
  174. package/assets/Drawer.VOvWQoEr.css +0 -1
  175. package/assets/InputFile.CCQxsulT.css +0 -1
  176. package/assets/InputPassword.124xVOiO.css +0 -1
  177. package/assets/InputSearch.Bkg-1urJ.css +0 -1
  178. package/assets/InputStepper.DvFJk1Mi.css +0 -1
  179. package/assets/LinkButton.xMvg_ojf.css +0 -1
  180. package/assets/Notification.BOuaA5GT.css +0 -1
  181. package/assets/Select.C1gWF32A.css +0 -1
  182. package/assets/Slider.Bidyhb-B.css +0 -1
  183. package/assets/Textarea.Dq4rH9Tg.css +0 -1
  184. package/assets/Toast.CJ1zhDIT.css +0 -1
  185. package/assets/buttonround.Cw9hnUan.css +0 -1
  186. package/assets/input.CUjGh-UM.css +0 -1
  187. package/assets/switch.Bc9KIyw9.css +0 -1
  188. package/breadcrumb.BsQm0kUD.js +0 -11
  189. package/button.Dyy6ajX6.js +0 -13
  190. package/checkbox.BNnp4ztM.js +0 -12
  191. package/checkboxgroup.BTVnKenc.js +0 -9
  192. package/chip.C7NstOHt.js +0 -12
  193. package/chipgroup.Zo1-IOCn.js +0 -210
  194. package/chunks/Accordion.CnqryAUu.js +0 -170
  195. package/chunks/Checkbox.CiwriItT.js +0 -88
  196. package/chunks/Dialog.Bv7k55He.js +0 -135
  197. package/chunks/Drawer.BVTvx276.js +0 -140
  198. package/chunks/Header.um5MlziB.js +0 -377
  199. package/chunks/InputFile.bVWWdePn.js +0 -220
  200. package/chunks/InputSearch.GOYqFCcZ.js +0 -174
  201. package/chunks/InputStepper.BuhPtfl-.js +0 -268
  202. package/chunks/MegaMenu._o3nNDAa.js +0 -192
  203. package/chunks/NavigationTabList.DuT7gzhj.js +0 -57
  204. package/chunks/Notification.Pts2oh0R.js +0 -92
  205. package/chunks/Popover.BRR8YZ-P.js +0 -228
  206. package/chunks/Select.D2ehd4yN.js +0 -162
  207. package/chunks/Tabs.C8ADTzJ0.js +0 -83
  208. package/chunks/Textarea.Cw85sxHL.js +0 -163
  209. package/chunks/Toast.DG3WVvau.js +0 -76
  210. package/chunks/file-type-doc.DlovDOBh.js +0 -10
  211. package/chunks/floating-ui.dom.VgHc0h4l.js +0 -989
  212. package/chunks/floating-ui.react.DCyAzlZ4.js +0 -2011
  213. package/chunks/helpers.BbWkXTr3.js +0 -37
  214. package/chunks/petrol.Du6qAgp0.js +0 -10
  215. package/chunks/upload.ZImTAIgx.js +0 -10
  216. package/chunks/useBreakpoint.CMOR9ZOB.js +0 -44
  217. package/combobox.orZ3z8CB.js +0 -60
  218. package/components/InputStepper/InputStepper.utils.d.ts +0 -13
  219. package/customreactselect.Np-RpzvU.js +0 -14
  220. package/dialog.D4rcbW6A.js +0 -10
  221. package/drawer.BCCB3Rkj.js +0 -10
  222. package/fieldset.ZLs9IGpE.js +0 -11
  223. package/header.DUbn3BZt.js +0 -12
  224. package/icon.CHVAZr5T.js +0 -9
  225. package/input.DG20x6gh.js +0 -203
  226. package/inputfile.Dc56lQ4t.js +0 -17
  227. package/inputpassword.znFHRLsI.js +0 -13
  228. package/inputsearch.B1G6rfVk.js +0 -14
  229. package/inputstepper.d.ts +0 -2
  230. package/inputstepper.o6rdM_CW.js +0 -16
  231. package/linkbutton.DU8Ih8ZF.js +0 -12
  232. package/megamenu.CPH8EeFF.js +0 -12
  233. package/navigationtablist.C0iwsAad.js +0 -9
  234. package/navigationtabs.JjJtbuUe.js +0 -9
  235. package/notification.Ds_Q7ifk.js +0 -10
  236. package/popover.B72W0OvU.js +0 -12
  237. package/radiogroup.C_3IcNBq.js +0 -11
  238. package/scroller.CQxmQU6U.js +0 -123
  239. package/select.Ceyt-zvu.js +0 -13
  240. package/slider.Dq2dcziy.js +0 -11
  241. package/systemfeedback.CSdWOWuf.js +0 -10
  242. package/tablist.V7DBklhE.js +0 -256
  243. package/tabs.DQNLPAEN.js +0 -11
  244. package/text.ZOUuesnU.js +0 -10
  245. package/textarea.CixKeQBp.js +0 -13
  246. package/toast.D8QprMCa.js +0 -11
  247. package/toastmanager.BSVjYsg9.js +0 -116
  248. package/tooltip.CUCSRXd3.js +0 -191
  249. package/topbar.CVhJy-Br.js +0 -12
  250. /package/components/{InputStepper/InputStepper.test.d.ts → InputNumber/InputNumber.test.d.ts} +0 -0
  251. /package/components/{InputStepper/InputStepper.utils.test.d.ts → InputNumber/InputNumberutils.test.d.ts} +0 -0
@@ -0,0 +1,173 @@
1
+ "use client";
2
+ import { jsx as L, jsxs as gt } from "react/jsx-runtime";
3
+ import { d as Pt } from "./index.D-sRdssb.js";
4
+ import { c as R } from "./index.DL9mof6u.js";
5
+ import { forwardRef as Vt, useState as Ot, useRef as wt, useEffect as Et } from "react";
6
+ import { g as qt, a as $t } from "./helpers.CexwVao7.js";
7
+ import { u as jt } from "./useBreakpoint.BzR_yaIv.js";
8
+ import { Asterisk as xt } from "../asterisk.B2ih8VwF.js";
9
+ import { D as kt } from "./Button.DCZgBNmA.js";
10
+ import { D as Ft } from "./SystemFeedback.CjlARKki.js";
11
+ import '../assets/InputSearch.C1_4cVCi.css';const Rt = "ds-input-search_input_142qf_1", Tt = "ds-input-search_input--small_142qf_9", zt = "ds-input-search_input--invalid_142qf_121", Mt = "ds-input-search_input--has-action-button_142qf_182", Wt = "ds-input-search_input--has-second-action-button_142qf_185", Gt = "ds-input-search_root_142qf_218", Jt = "ds-input-search_hint_142qf_218", Kt = "ds-input-search_label_142qf_218", Qt = "ds-input-search_wrapper_142qf_222", Ut = "ds-input-search_action-button_142qf_228", Xt = "ds-input-search_second-action-button_142qf_232", Yt = "ds-input-search_label--hidden_142qf_250", Zt = "ds-input-search_label--disabled_142qf_263", te = "ds-input-search_feedback_142qf_283", s = {
12
+ input: Rt,
13
+ inputSmall: Tt,
14
+ inputInvalid: zt,
15
+ inputHasActionButton: Mt,
16
+ inputHasSecondActionButton: Wt,
17
+ root: Gt,
18
+ hint: Jt,
19
+ label: Kt,
20
+ wrapper: Qt,
21
+ actionButton: Ut,
22
+ secondActionButton: Xt,
23
+ labelHidden: Yt,
24
+ labelDisabled: Zt,
25
+ feedback: te
26
+ }, ee = ({
27
+ id: a,
28
+ label: i
29
+ }) => {
30
+ if (!a)
31
+ throw new Error(qt("DSInputSearch", 'A unique "id" prop is required. Please add a unique "id" prop to the DSInputSearch component.'));
32
+ if (!i)
33
+ throw new Error(qt("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}.`));
34
+ }, se = (a) => !!$t(a, "form"), ne = Vt((a, i) => {
35
+ const t = Pt.c(103);
36
+ let c, d, e, h, b, m, _, o, H, P, V, O, $, j, x, p;
37
+ t[0] !== a ? ({
38
+ id: e,
39
+ label: h,
40
+ className: c,
41
+ clearButtonLabel: H,
42
+ disabled: P,
43
+ hint: d,
44
+ hideLabel: V,
45
+ invalid: O,
46
+ readonly: $,
47
+ required: j,
48
+ size: x,
49
+ systemFeedback: o,
50
+ value: p,
51
+ submitButtonProps: _,
52
+ onChange: b,
53
+ ...m
54
+ } = a, t[0] = a, t[1] = c, t[2] = d, t[3] = e, t[4] = h, t[5] = b, t[6] = m, t[7] = _, t[8] = o, t[9] = H, t[10] = P, t[11] = V, t[12] = O, t[13] = $, t[14] = j, t[15] = x, t[16] = p) : (c = t[1], d = t[2], e = t[3], h = t[4], b = t[5], m = t[6], _ = t[7], o = t[8], H = t[9], P = t[10], V = t[11], O = t[12], $ = t[13], j = t[14], x = t[15], p = t[16]);
55
+ const lt = H === void 0 ? "Clear search field" : H, l = P === void 0 ? !1 : P, At = V === void 0 ? !1 : V, n = O === void 0 ? !1 : O, r = $ === void 0 ? !1 : $, v = j === void 0 ? !1 : j, u = x === void 0 ? "medium" : x;
56
+ process.env.NODE_ENV !== "production" && ee({
57
+ id: e,
58
+ label: h
59
+ });
60
+ let S;
61
+ t[17] !== _ ? (S = _ || {}, t[17] = _, t[18] = S) : S = t[18];
62
+ let y, B, F;
63
+ t[19] !== S ? ({
64
+ label: F,
65
+ onClick: y,
66
+ ...B
67
+ } = S, t[19] = S, t[20] = y, t[21] = B, t[22] = F) : (y = t[20], B = t[21], F = t[22]);
68
+ const ot = F === void 0 ? "Search" : F, [D, Nt] = Ot(p), ct = wt(null), T = wt(null);
69
+ let z;
70
+ t[23] !== i ? (z = (f) => {
71
+ T.current = f, typeof i == "function" ? i(f) : i && (i.current = f);
72
+ }, t[23] = i, t[24] = z) : z = t[24];
73
+ const rt = z, ut = jt(At);
74
+ let M, W;
75
+ t[25] !== p ? (M = () => {
76
+ Nt(p);
77
+ }, W = [p], t[25] = p, t[26] = M, t[27] = W) : (M = t[26], W = t[27]), Et(M, W);
78
+ let G;
79
+ t[28] !== e ? (G = () => {
80
+ ct.current && !se(ct.current) && process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && console.warn(qt("DSInputSearch", `The DSInputSearch component with the id "${e}" is not within a form element. This may cause issues with form submission. Please ensure the DSInputSearch component is within a form element.`));
81
+ }, t[28] = e, t[29] = G) : G = t[29];
82
+ let J;
83
+ t[30] === Symbol.for("react.memo_cache_sentinel") ? (J = [], t[30] = J) : J = t[30], Et(G, J);
84
+ const K = `${e}-label`, I = `${e}-feedback`, Q = `${e}-hint`, Ct = d ? ` ${Q}` : "";
85
+ let U;
86
+ t[31] !== n || t[32] !== o || t[33] !== I ? (U = [n && o && I].filter(Boolean).join(" ") || void 0, t[31] = n, t[32] = o, t[33] = I, t[34] = U) : U = t[34];
87
+ const dt = U, X = D !== "" && D !== void 0 && D !== null;
88
+ let Y;
89
+ t[35] !== c ? (Y = R(s.root, c), t[35] = c, t[36] = Y) : Y = t[36];
90
+ const pt = Y, ft = u === "small", ht = X && !r && !l;
91
+ let Z;
92
+ t[37] !== n || t[38] !== ft || t[39] !== ht ? (Z = R(s.input, {
93
+ [s.inputSmall]: ft,
94
+ [s.inputInvalid]: n,
95
+ [s.inputHasActionButton]: !0,
96
+ [s.inputHasSecondActionButton]: ht
97
+ }), t[37] = n, t[38] = ft, t[39] = ht, t[40] = Z) : Z = t[40];
98
+ const bt = Z;
99
+ let tt;
100
+ t[41] !== l || t[42] !== ut ? (tt = R(s.label, {
101
+ [s.labelHidden]: ut,
102
+ [s.labelDisabled]: l
103
+ }), t[41] = l, t[42] = ut, t[43] = tt) : tt = t[43];
104
+ const mt = tt, _t = u === "small";
105
+ let et;
106
+ t[44] !== _t ? (et = R(s.actionButton, {
107
+ [s.actionButtonSmall]: _t
108
+ }), t[44] = _t, t[45] = et) : et = t[45];
109
+ const vt = et, St = u === "small";
110
+ let st;
111
+ t[46] !== St ? (st = R(s.secondActionButton, {
112
+ [s.secondActionButtonSmall]: St
113
+ }), t[46] = St, t[47] = st) : st = t[47];
114
+ const yt = st, Lt = ae;
115
+ let nt;
116
+ t[48] === Symbol.for("react.memo_cache_sentinel") ? (nt = () => {
117
+ if (!T.current)
118
+ return;
119
+ Lt(T.current, "");
120
+ const f = new Event("change", {
121
+ bubbles: !0
122
+ });
123
+ T.current?.dispatchEvent(f);
124
+ }, t[48] = nt) : nt = t[48];
125
+ const Ht = nt;
126
+ let at;
127
+ t[49] !== b ? (at = (f) => {
128
+ Nt(f.target.value), b && b(f);
129
+ }, t[49] = b, t[50] = at) : at = t[50];
130
+ const Bt = at;
131
+ let g;
132
+ t[51] !== v ? (g = v && /* @__PURE__ */ L(xt, {}), t[51] = v, t[52] = g) : g = t[52];
133
+ let q;
134
+ t[53] !== e || t[54] !== K || t[55] !== h || t[56] !== mt || t[57] !== g ? (q = /* @__PURE__ */ gt("label", { className: mt, id: K, htmlFor: e, children: [
135
+ h,
136
+ g
137
+ ] }), t[53] = e, t[54] = K, t[55] = h, t[56] = mt, t[57] = g, t[58] = q) : q = t[58];
138
+ let N;
139
+ t[59] !== d || t[60] !== Q ? (N = d && /* @__PURE__ */ L("div", { className: s.hint, id: Q, children: d }), t[59] = d, t[60] = Q, t[61] = N) : N = t[61];
140
+ const Dt = `${K}${Ct}`;
141
+ let w;
142
+ t[62] !== dt || t[63] !== l || t[64] !== rt || t[65] !== Bt || t[66] !== e || t[67] !== bt || t[68] !== D || t[69] !== n || t[70] !== r || t[71] !== v || t[72] !== m || t[73] !== Dt ? (w = /* @__PURE__ */ L("input", { className: bt, id: e, ...m, ref: rt, "aria-labelledby": Dt, "aria-describedby": dt, "aria-invalid": n, "aria-disabled": r, readOnly: r, required: v, disabled: l, type: "search", value: D, onChange: Bt }), t[62] = dt, t[63] = l, t[64] = rt, t[65] = Bt, t[66] = e, t[67] = bt, t[68] = D, t[69] = n, t[70] = r, t[71] = v, t[72] = m, t[73] = Dt, t[74] = w) : w = t[74];
143
+ let E;
144
+ t[75] !== yt || t[76] !== lt || t[77] !== l || t[78] !== X || t[79] !== r || t[80] !== u ? (E = X && !r && !l && /* @__PURE__ */ L(kt, { hideLabel: !0, theme: "light", iconName: "cross", className: yt, variant: "ghost", size: u, onClick: Ht, type: "button", tabIndex: -1, children: lt }), t[75] = yt, t[76] = lt, t[77] = l, t[78] = X, t[79] = r, t[80] = u, t[81] = E) : E = t[81];
145
+ const It = l || r;
146
+ let k;
147
+ t[82] !== y || t[83] !== B || t[84] !== u || t[85] !== vt || t[86] !== ot || t[87] !== It ? (k = /* @__PURE__ */ L(kt, { ...B, hideLabel: !0, theme: "light", iconName: "magnifying-glass", className: vt, variant: "ghost", size: u, onClick: y, type: "submit", disabled: It, children: ot }), t[82] = y, t[83] = B, t[84] = u, t[85] = vt, t[86] = ot, t[87] = It, t[88] = k) : k = t[88];
148
+ let A;
149
+ t[89] !== w || t[90] !== E || t[91] !== k ? (A = /* @__PURE__ */ gt("div", { className: s.wrapper, children: [
150
+ w,
151
+ E,
152
+ k
153
+ ] }), t[89] = w, t[90] = E, t[91] = k, t[92] = A) : A = t[92];
154
+ let C;
155
+ t[93] !== n || t[94] !== o || t[95] !== I ? (C = n && o && /* @__PURE__ */ L(Ft, { className: s.feedback, message: o, variant: "error", id: I }), t[93] = n, t[94] = o, t[95] = I, t[96] = C) : C = t[96];
156
+ let it;
157
+ return t[97] !== pt || t[98] !== q || t[99] !== N || t[100] !== A || t[101] !== C ? (it = /* @__PURE__ */ gt("div", { className: pt, ref: ct, children: [
158
+ q,
159
+ N,
160
+ A,
161
+ C
162
+ ] }), t[97] = pt, t[98] = q, t[99] = N, t[100] = A, t[101] = C, t[102] = it) : it = t[102], it;
163
+ });
164
+ ne.displayName = "DSInputSearch";
165
+ function ae(a, i) {
166
+ const t = Object.getPrototypeOf(a), c = Object.getOwnPropertyDescriptor(t, "value");
167
+ c?.set ? c.set.call(a, i) : a.value = i;
168
+ }
169
+ export {
170
+ ne as D,
171
+ se as i,
172
+ ee as v
173
+ };
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { jsxs as go, jsx as z } from "react/jsx-runtime";
3
- import { d as ko } from "./index.CgTHIF3K.js";
4
- import { c as ao } from "./index.CEyLAtio.js";
3
+ import { d as ko } from "./index.D-sRdssb.js";
4
+ import { c as ao } from "./index.DL9mof6u.js";
5
5
  import { forwardRef as mo } from "react";
6
- import { u as co } from "./useBreakpoint.CMOR9ZOB.js";
7
- import { D as fo } from "./Icon.NSsVrYeq.js";
8
- import { Tooltip as ho } from "../tooltip.CUCSRXd3.js";
9
- import { g as uo } from "./helpers.BbWkXTr3.js";
10
- import '../assets/LinkButton.xMvg_ojf.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 = {
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
11
  root: bo,
12
12
  rootHighlight: vo,
13
13
  rootDarkHighlight: po,
@@ -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.V7DBklhE.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
+ };