@stihl-design-system/components 1.0.0-RC.32 → 1.0.0-RC.35

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 (284) hide show
  1. package/accordion.Dmqocj97.js +12 -0
  2. package/actionbutton.Du5CT-Mt.js +12 -0
  3. package/actionlink.BK9CaQUY.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.CmeGVEAY.css +1 -0
  7. package/assets/Checkbox.CyOw3rXI.css +1 -0
  8. package/assets/CustomReactSelect.BihX36Uo.css +1 -0
  9. package/assets/Dialog.DJkn65Es.css +1 -0
  10. package/assets/Drawer.x3BCQvWE.css +1 -0
  11. package/assets/Fieldset.Oqu7pOBv.css +1 -0
  12. package/assets/InputFile.D7Ihod7B.css +1 -0
  13. package/assets/InputNumber.z_UqRYdv.css +1 -0
  14. package/assets/InputPassword.DZENjxJ9.css +1 -0
  15. package/assets/InputSearch.GBH9Eh6F.css +1 -0
  16. package/assets/LinkButton.88j5ckLu.css +1 -0
  17. package/assets/{MegaMenu.DX9gChtY.css → MegaMenu.D5EtjFeL.css} +1 -1
  18. package/assets/Notification.CvohYEvT.css +1 -0
  19. package/assets/Select.CL0fqx7X.css +1 -0
  20. package/assets/Slider.DWLuIsNj.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.B1HOakic.css +1 -0
  24. package/assets/Toast.CGyKXb4V.css +1 -0
  25. package/assets/buttonround.DBpMesfr.css +1 -0
  26. package/assets/input.RPDR8qdT.css +1 -0
  27. package/assets/step.BeLporJO.css +1 -0
  28. package/assets/switch.B9B-n_3y.css +1 -0
  29. package/{asterisk.CR60hx8S.js → asterisk.B2ih8VwF.js} +1 -1
  30. package/{banner.o4Etkjjo.js → banner.D-RX60nJ.js} +3 -3
  31. package/breadcrumb.tvMByFgp.js +11 -0
  32. package/button.CZupaV9L.js +12 -0
  33. package/buttonround.9IS0tUqw.js +96 -0
  34. package/checkbox.XYQI-ubx.js +12 -0
  35. package/checkboxgroup.CjnNJ8e6.js +9 -0
  36. package/chip.B-pxhsdb.js +12 -0
  37. package/chipgroup.cGjn4LVV.js +143 -0
  38. package/chunks/Accordion.CYIfNOWr.js +168 -0
  39. package/chunks/{ActionButton.DdDesD7K.js → ActionButton.BOYQYo5M.js} +37 -37
  40. package/chunks/{ActionLink.DqAsPYda.js → ActionLink.BlwvrnPN.js} +36 -36
  41. package/chunks/{AriaLiveRegions.utils.Cb327d_2.js → AriaLiveRegions.utils.CybNIBSa.js} +2 -2
  42. package/chunks/{Breadcrumb.9KinNuyQ.js → Breadcrumb.Qr6bDP2N.js} +35 -37
  43. package/chunks/Button.Cn5yg7dG.js +138 -0
  44. package/chunks/Checkbox.D5X5T6Yg.js +88 -0
  45. package/chunks/CheckboxGroup.CUR_0VMc.js +74 -0
  46. package/chunks/{Chip.BrbYu6i_.js → Chip.DIp5hdRH.js} +6 -6
  47. package/chunks/{CustomReactSelect.Cqq70QC0.js → CustomReactSelect.BA3hUVkh.js} +897 -878
  48. package/chunks/Dialog.DRk_jSj5.js +102 -0
  49. package/chunks/Drawer.Dj6WeUC8.js +107 -0
  50. package/chunks/Fieldset.C0RzpI-h.js +81 -0
  51. package/chunks/Header.18sOO0Gf.js +370 -0
  52. package/chunks/{Icon.NSsVrYeq.js → Icon.CDLyB7Pv.js} +77 -79
  53. package/chunks/{Input.utils.Cnnzvuk4.js → Input.utils.CL1u4Ctq.js} +30 -28
  54. package/chunks/InputFile.Bki3bs3U.js +236 -0
  55. package/chunks/InputNumber.B43cqBH0.js +242 -0
  56. package/chunks/InputPassword.DcdMjsXr.js +121 -0
  57. package/chunks/InputSearch.CJm6ph8W.js +149 -0
  58. package/chunks/LinkButton.C6F-yuLL.js +139 -0
  59. package/chunks/MegaMenu.qttkjGbD.js +188 -0
  60. package/chunks/NavigationTabList.G_l0GiUa.js +67 -0
  61. package/chunks/{NavigationTabs.DspPFHPh.js → NavigationTabs.CQxlahX1.js} +13 -14
  62. package/chunks/Notification.Qzz88ngL.js +91 -0
  63. package/chunks/Popover.D7McfVaH.js +214 -0
  64. package/chunks/RadioGroup.B2VCD9x-.js +106 -0
  65. package/chunks/Select.B0uMOSSD.js +147 -0
  66. package/chunks/Slider.YTIktxxD.js +306 -0
  67. package/chunks/Stepper.BvPmbbqw.js +152 -0
  68. package/chunks/{SystemFeedback.CyGbUCzT.js → SystemFeedback.CjlARKki.js} +9 -9
  69. package/chunks/Tabs.CoO_lrhV.js +83 -0
  70. package/chunks/{Text.DGWeWF1y.js → Text.DpRtTpB4.js} +3 -3
  71. package/chunks/Textarea.lYiPXerd.js +181 -0
  72. package/chunks/Toast.L5HAuEOn.js +76 -0
  73. package/chunks/{arrow-clockwise.BefOjGPg.js → arrow-clockwise.C4iOgjOc.js} +1 -1
  74. package/chunks/{arrow-counterclockwise.C7Ov32BZ.js → arrow-counterclockwise.CgQAuBUe.js} +1 -1
  75. package/chunks/{circle-check-colored.Bye_GwLy.js → circle-check-colored.qP2s3vjI.js} +1 -1
  76. package/chunks/{diamond-exclamationmark-colored.WNKYwZ8q.js → diamond-exclamationmark-colored.CzYiaTZ0.js} +1 -1
  77. package/chunks/feather.l1E4nFBx.js +10 -0
  78. package/chunks/file-type-doc.B_RSSYbu.js +10 -0
  79. package/chunks/floating-ui.react.COTL3jH5.js +2984 -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.1txsny17.js +45 -0
  92. package/chunks/variants.-R3_RCW8.js +10 -0
  93. package/chunks/weight.DUPu2UT0.js +10 -0
  94. package/combobox.CGEDlMo0.js +71 -0
  95. package/components/Button/Button.d.ts +5 -0
  96. package/components/Button/Button.utils.d.ts +4 -5
  97. package/components/CheckboxGroup/CheckboxGroup.d.ts +14 -1
  98. package/components/ChipGroup/ChipGroup.utils.d.ts +1 -3
  99. package/components/Combobox/Combobox.utils.d.ts +6 -6
  100. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +17 -2
  101. package/components/Fieldset/Fieldset.d.ts +14 -1
  102. package/components/Input/Input.d.ts +13 -0
  103. package/components/Input/Input.utils.d.ts +2 -2
  104. package/components/InputFile/InputFile.d.ts +13 -0
  105. package/components/InputFile/InputFile.utils.d.ts +4 -2
  106. package/components/{InputStepper/InputStepper.d.ts → InputNumber/InputNumber.d.ts} +21 -8
  107. package/components/InputNumber/InputNumber.utils.d.ts +13 -0
  108. package/components/InputPassword/InputPassword.d.ts +13 -0
  109. package/components/InputPassword/InputPassword.utils.d.ts +2 -2
  110. package/components/InputSearch/InputSearch.d.ts +13 -0
  111. package/components/InputSearch/InputSearch.utils.d.ts +2 -2
  112. package/components/LinkButton/LinkButton.d.ts +5 -0
  113. package/components/LinkButton/LinkButton.utils.d.ts +4 -5
  114. package/components/RadioGroup/RadioGroup.d.ts +13 -0
  115. package/components/Scroller/Scroller.d.ts +6 -2
  116. package/components/Select/Select.d.ts +13 -0
  117. package/components/Select/Select.utils.d.ts +2 -2
  118. package/components/Slider/Slider.d.ts +13 -0
  119. package/components/Stepper/Step.d.ts +33 -0
  120. package/components/Stepper/Step.utils.d.ts +5 -0
  121. package/components/Stepper/Stepper.d.ts +56 -0
  122. package/components/Stepper/Stepper.test.d.ts +1 -0
  123. package/components/Stepper/Stepper.utils.d.ts +30 -0
  124. package/components/Stepper/Stepper.utils.test.d.ts +1 -0
  125. package/components/Textarea/Textarea.d.ts +13 -0
  126. package/components/Textarea/Textarea.utils.d.ts +2 -2
  127. package/customreactselect.BgYf8rKE.js +15 -0
  128. package/dialog.Bq-ZyzR8.js +9 -0
  129. package/drawer.DL5UzLWf.js +9 -0
  130. package/fieldset.BFLW2D9H.js +12 -0
  131. package/{filelist.BiKMKCyg.js → filelist.BG6SGVJ8.js} +23 -24
  132. package/{flag.72PONA83.js → flag.CE32qHPa.js} +3 -3
  133. package/{floatingactionbutton.B2YChsNU.js → floatingactionbutton.B5hJ2At2.js} +5 -5
  134. package/header.A77yIAH3.js +12 -0
  135. package/{heading.BXFBZhKv.js → heading.DHLpT4dc.js} +2 -2
  136. package/icon.vzkPwgjZ.js +9 -0
  137. package/index.d.ts +4 -2
  138. package/index.es.js +218 -206
  139. package/input.hBWqQr3X.js +190 -0
  140. package/inputfile.BSZuRujU.js +18 -0
  141. package/inputnumber.CA4JiUmq.js +17 -0
  142. package/inputnumber.d.ts +2 -0
  143. package/inputpassword.Cju_crMi.js +13 -0
  144. package/inputsearch.CU9AhVVv.js +15 -0
  145. package/{link.DbnvsD3j.js → link.DoiK003-.js} +5 -5
  146. package/linkbutton.CWco_B7v.js +12 -0
  147. package/{logo.C96KaG1P.js → logo.DprmD8HU.js} +3 -3
  148. package/{logo100years.BcB6_c-o.js → logo100years.DDzCrczW.js} +11 -11
  149. package/megamenu.BurL9MfF.js +12 -0
  150. package/navigationtablist.CkkLyHrM.js +10 -0
  151. package/navigationtabs.zhRZHjgs.js +9 -0
  152. package/notification.BiXdWNo7.js +10 -0
  153. package/{numberindicator.Ddf3ESi7.js → numberindicator.BdnPMogE.js} +2 -2
  154. package/{optioncheckbox.DqfXuPdi.js → optioncheckbox.nBVwGv6c.js} +3 -3
  155. package/package.json +42 -50
  156. package/partials/index.js +54 -48
  157. package/partials/lib/partials.d.ts +1 -1
  158. package/popover.79Voiadz.js +12 -0
  159. package/{radio.7_N_alaS.js → radio.DHUfSPai.js} +2 -2
  160. package/radiogroup.CwBh7u9L.js +11 -0
  161. package/scroller.IpfbFV8B.js +98 -0
  162. package/select.NHaEtX_u.js +14 -0
  163. package/{skiptocontent.BSCde5hT.js → skiptocontent.X4USTODk.js} +4 -4
  164. package/slider.jnNGEyBq.js +12 -0
  165. package/{spinner.BUjhjAvw.js → spinner.C9qCeq0R.js} +18 -18
  166. package/step.D5p7qppy.js +82 -0
  167. package/step.d.ts +6 -0
  168. package/stepper.DnMc4ex6.js +16 -0
  169. package/stepper.d.ts +2 -0
  170. package/styles/scss/ds/lib/ds-internal/_input.scss +12 -3
  171. package/styles/scss/ds/lib/ds-internal/_link-button.scss +10 -2
  172. package/styles/scss/ds/lib/link-button.scss +11 -3
  173. package/{switch.D7BCfyyZ.js → switch.Bqdyzi2E.js} +5 -5
  174. package/systemfeedback.O7tj1juR.js +10 -0
  175. package/tablist.BFE6RAPD.js +209 -0
  176. package/{tabpane.CB-eudyw.js → tabpane.C4nsUlwc.js} +2 -2
  177. package/tabs.CsOxxQyQ.js +11 -0
  178. package/text.cLv2PhjQ.js +10 -0
  179. package/textarea.C9OAAjhG.js +14 -0
  180. package/{title.Bz_k5Vda.js → title.DuLPB-VK.js} +2 -2
  181. package/toast.OBI9qnAM.js +11 -0
  182. package/toastmanager.CgsA-1y_.js +89 -0
  183. package/tooltip.Cj3AvYgB.js +177 -0
  184. package/topbar.CAujTZAE.js +12 -0
  185. package/types/icon-types.d.ts +1 -1
  186. package/utils/index.d.ts +1 -0
  187. package/utils/mergeRefs.d.ts +5 -0
  188. package/utils/mergeRefs.test.d.ts +1 -0
  189. package/utils/useIsomorphicLayoutEffect.d.ts +2 -2
  190. package/accordion.HfUSDwQJ.js +0 -12
  191. package/actionbutton.kgd0E_xF.js +0 -12
  192. package/actionlink.CwC42RWc.js +0 -12
  193. package/assets/Accordion.BJb4TOG0.css +0 -1
  194. package/assets/Button.Dw8H5nFS.css +0 -1
  195. package/assets/Checkbox.BKHQN_tu.css +0 -1
  196. package/assets/CustomReactSelect.DGIItWIh.css +0 -1
  197. package/assets/Dialog.CGAg7bnN.css +0 -1
  198. package/assets/Drawer.VOvWQoEr.css +0 -1
  199. package/assets/Fieldset.CW9dBvAo.css +0 -1
  200. package/assets/InputFile.CCQxsulT.css +0 -1
  201. package/assets/InputPassword.124xVOiO.css +0 -1
  202. package/assets/InputSearch.Bkg-1urJ.css +0 -1
  203. package/assets/InputStepper.DvFJk1Mi.css +0 -1
  204. package/assets/LinkButton.xMvg_ojf.css +0 -1
  205. package/assets/Notification.BOuaA5GT.css +0 -1
  206. package/assets/Select.C1gWF32A.css +0 -1
  207. package/assets/Slider.Bidyhb-B.css +0 -1
  208. package/assets/Textarea.Dq4rH9Tg.css +0 -1
  209. package/assets/Toast.CJ1zhDIT.css +0 -1
  210. package/assets/buttonround.Cw9hnUan.css +0 -1
  211. package/assets/input.CUjGh-UM.css +0 -1
  212. package/assets/switch.Bc9KIyw9.css +0 -1
  213. package/breadcrumb.BsQm0kUD.js +0 -11
  214. package/button.Dyy6ajX6.js +0 -13
  215. package/buttonround.ChKWHzsv.js +0 -96
  216. package/checkbox.BNnp4ztM.js +0 -12
  217. package/checkboxgroup.BTVnKenc.js +0 -9
  218. package/chip.C7NstOHt.js +0 -12
  219. package/chipgroup.Zo1-IOCn.js +0 -210
  220. package/chunks/Accordion.CnqryAUu.js +0 -170
  221. package/chunks/Button.Cf1CKq8N.js +0 -142
  222. package/chunks/Checkbox.CiwriItT.js +0 -88
  223. package/chunks/CheckboxGroup.Cj68J6Ee.js +0 -72
  224. package/chunks/Dialog.Bv7k55He.js +0 -135
  225. package/chunks/Drawer.BVTvx276.js +0 -140
  226. package/chunks/Fieldset.D7cLR5ze.js +0 -74
  227. package/chunks/Header.um5MlziB.js +0 -377
  228. package/chunks/InputFile.bVWWdePn.js +0 -220
  229. package/chunks/InputPassword.Da3hEKTc.js +0 -136
  230. package/chunks/InputSearch.GOYqFCcZ.js +0 -174
  231. package/chunks/InputStepper.BuhPtfl-.js +0 -268
  232. package/chunks/LinkButton.59oNDwPU.js +0 -132
  233. package/chunks/MegaMenu._o3nNDAa.js +0 -192
  234. package/chunks/NavigationTabList.DuT7gzhj.js +0 -57
  235. package/chunks/Notification.Pts2oh0R.js +0 -92
  236. package/chunks/Popover.BRR8YZ-P.js +0 -228
  237. package/chunks/RadioGroup.DeTz3c19.js +0 -104
  238. package/chunks/Select.D2ehd4yN.js +0 -162
  239. package/chunks/Slider.84lkgq3W.js +0 -292
  240. package/chunks/Tabs.C8ADTzJ0.js +0 -83
  241. package/chunks/Textarea.Cw85sxHL.js +0 -163
  242. package/chunks/Toast.DG3WVvau.js +0 -76
  243. package/chunks/file-type-doc.DlovDOBh.js +0 -10
  244. package/chunks/floating-ui.dom.VgHc0h4l.js +0 -989
  245. package/chunks/floating-ui.react.DCyAzlZ4.js +0 -2011
  246. package/chunks/helpers.BbWkXTr3.js +0 -37
  247. package/chunks/petrol.Du6qAgp0.js +0 -10
  248. package/chunks/upload.ZImTAIgx.js +0 -10
  249. package/chunks/useBreakpoint.CMOR9ZOB.js +0 -44
  250. package/combobox.orZ3z8CB.js +0 -60
  251. package/components/InputStepper/InputStepper.utils.d.ts +0 -13
  252. package/customreactselect.Np-RpzvU.js +0 -14
  253. package/dialog.D4rcbW6A.js +0 -10
  254. package/drawer.BCCB3Rkj.js +0 -10
  255. package/fieldset.ZLs9IGpE.js +0 -11
  256. package/header.DUbn3BZt.js +0 -12
  257. package/icon.CHVAZr5T.js +0 -9
  258. package/input.DG20x6gh.js +0 -203
  259. package/inputfile.Dc56lQ4t.js +0 -17
  260. package/inputpassword.znFHRLsI.js +0 -13
  261. package/inputsearch.B1G6rfVk.js +0 -14
  262. package/inputstepper.d.ts +0 -2
  263. package/inputstepper.o6rdM_CW.js +0 -16
  264. package/linkbutton.DU8Ih8ZF.js +0 -12
  265. package/megamenu.CPH8EeFF.js +0 -12
  266. package/navigationtablist.C0iwsAad.js +0 -9
  267. package/navigationtabs.JjJtbuUe.js +0 -9
  268. package/notification.Ds_Q7ifk.js +0 -10
  269. package/popover.B72W0OvU.js +0 -12
  270. package/radiogroup.C_3IcNBq.js +0 -11
  271. package/scroller.CQxmQU6U.js +0 -123
  272. package/select.Ceyt-zvu.js +0 -13
  273. package/slider.Dq2dcziy.js +0 -11
  274. package/systemfeedback.CSdWOWuf.js +0 -10
  275. package/tablist.V7DBklhE.js +0 -256
  276. package/tabs.DQNLPAEN.js +0 -11
  277. package/text.ZOUuesnU.js +0 -10
  278. package/textarea.CixKeQBp.js +0 -13
  279. package/toast.D8QprMCa.js +0 -11
  280. package/toastmanager.BSVjYsg9.js +0 -116
  281. package/tooltip.CUCSRXd3.js +0 -191
  282. package/topbar.CVhJy-Br.js +0 -12
  283. /package/components/{InputStepper/InputStepper.test.d.ts → InputNumber/InputNumber.test.d.ts} +0 -0
  284. /package/components/{InputStepper/InputStepper.utils.test.d.ts → InputNumber/InputNumber.utils.test.d.ts} +0 -0
@@ -1,228 +0,0 @@
1
- "use client";
2
- import { jsx as _, jsxs as M, Fragment as U } from "react/jsx-runtime";
3
- import { d as V } from "./index.CgTHIF3K.js";
4
- import { useState as W, useRef as L, useMemo as z, createContext as q, forwardRef as T, isValidElement as J, cloneElement as K, useContext as Q } from "react";
5
- import { u as X, o as Y, i as Z, s as ee, j as oe, a as te, b as se, c as re, d as ne, e as O, f as ae, k as le, g as ie, F as ce } from "./floating-ui.react.DCyAzlZ4.js";
6
- import { c as G } from "./index.CEyLAtio.js";
7
- import { g as R, c as k } from "./helpers.BbWkXTr3.js";
8
- import { D as pe } from "./Button.Cf1CKq8N.js";
9
- import { a as de } from "./floating-ui.dom.VgHc0h4l.js";
10
- import '../assets/Popover.CXyUaXiO.css';const fe = "ds-popover_popover_xg81f_5", he = "ds-popover_popover--no-arrow_xg81f_64", ue = "ds-popover_popover--variant-grey_xg81f_67", ve = "ds-popover_arrow_xg81f_71", me = "ds-popover_arrow--variant-grey_xg81f_90", ge = "ds-popover_default-anchor_xg81f_107", E = {
11
- popover: fe,
12
- popoverNoArrow: he,
13
- popoverVariantGrey: ue,
14
- arrow: ve,
15
- arrowVariantGrey: me,
16
- defaultAnchor: ge
17
- }, we = ({
18
- initialOpen: n = !1,
19
- placement: o = "bottom",
20
- isOpen: e,
21
- popoverOffset: t = 6,
22
- showArrow: s = !0,
23
- variant: h = "default",
24
- defaultAnchorButtonProps: a,
25
- onOpenChange: i
26
- } = {}) => {
27
- const [l, f] = W(n), c = e ?? l, r = i ?? f, p = L(null), u = X({
28
- placement: o,
29
- open: c,
30
- strategy: "fixed",
31
- onOpenChange: r,
32
- whileElementsMounted: de,
33
- middleware: [Y(t + (s ? 7 : 0)), Z({
34
- // default configuration taken from https://floating-ui.com/docs/flip
35
- crossAxis: o.includes("-"),
36
- fallbackAxisSideDirection: "end",
37
- padding: t
38
- }), ee({
39
- padding: t
40
- }), ...s ? [oe({
41
- element: p
42
- })] : []]
43
- }), d = u.context, v = te(d, {
44
- enabled: !0
45
- }), P = se(d), D = re(d), S = ne([v, P, D]);
46
- return z(() => ({
47
- open: c,
48
- popoverOffset: t,
49
- setOpen: r,
50
- arrowRef: p,
51
- showArrow: s,
52
- defaultAnchorButtonProps: a,
53
- variant: h,
54
- ...S,
55
- ...u
56
- }), [c, t, r, p, s, a, h, S, u]);
57
- }, Pe = ({
58
- children: n,
59
- hasContent: o,
60
- hasAnchor: e
61
- }) => {
62
- if (!n)
63
- throw new Error(R("DSPopover", "A DSPopover must have children."));
64
- if (!o && e)
65
- throw new Error(R("DSPopover", "A DSPopover must either have no child components for its most basic usage or have both a <DSPopover.Content> and <DSPopover.Anchor> component as a child. <DSPopover.Content> is missing! Please add it to the children of DSPopover."));
66
- if (!e && o)
67
- throw new Error(R("DSPopover", "A DSPopover must either have no child components for its most basic usage or have both a <DSPopover.Content> and <DSPopover.Anchor> component as a child. <DSPopover.Anchor> is missing! Please add it to the children of DSPopover."));
68
- }, De = ({
69
- showArrow: n,
70
- variant: o
71
- }) => {
72
- o === "grey" && n === !1 && console.warn(R("DSPopover", "The 'grey' variant is only available when 'showArrow' is true. To use the 'grey' variant, please ensure that 'showArrow' is set to true."));
73
- }, H = q(null), I = () => {
74
- const n = Q(H);
75
- if (n == null)
76
- throw new Error(R("DSPopover", "Components like DSPopover.Anchor or DSPopover.Content must be wrapped in <DSPopover />."));
77
- return n;
78
- }, y = (n) => {
79
- const o = V.c(20);
80
- let e, t;
81
- o[0] !== n ? ({
82
- children: e,
83
- ...t
84
- } = n, o[0] = n, o[1] = e, o[2] = t) : (e = o[1], t = o[2]);
85
- let s;
86
- o[3] !== t ? (s = {
87
- ...t
88
- }, o[3] = t, o[4] = s) : s = o[4];
89
- const h = we(s);
90
- let a, i;
91
- o[5] !== e || o[6] !== t ? (i = k(e, y.Content), a = k(e, y.Anchor), process.env.NODE_ENV !== "production" && (Pe({
92
- children: e,
93
- hasContent: i,
94
- hasAnchor: a
95
- }), De({
96
- showArrow: t.showArrow,
97
- variant: t.variant
98
- })), o[5] = e, o[6] = t, o[7] = a, o[8] = i) : (a = o[7], i = o[8]);
99
- const l = !i && !a && e !== null;
100
- let f;
101
- o[9] !== e || o[10] !== l ? (f = l ? /* @__PURE__ */ M(U, { children: [
102
- /* @__PURE__ */ _(y.Anchor, {}),
103
- /* @__PURE__ */ _(y.Content, { children: e })
104
- ] }) : e, o[9] = e, o[10] = l, o[11] = f) : f = o[11];
105
- const c = f, r = i || l, p = a || l;
106
- let m;
107
- o[12] !== h || o[13] !== r || o[14] !== p ? (m = {
108
- ...h,
109
- hasContent: r,
110
- hasAnchor: p
111
- }, o[12] = h, o[13] = r, o[14] = p, o[15] = m) : m = o[15];
112
- const u = m;
113
- let d;
114
- return o[16] !== c || o[17] !== u || o[18] !== t ? (d = /* @__PURE__ */ _(H.Provider, { value: u, ...t, children: c }), o[16] = c, o[17] = u, o[18] = t, o[19] = d) : d = o[19], d;
115
- }, $ = T((n, o) => {
116
- const e = V.c(28);
117
- let t, s;
118
- e[0] !== n ? ({
119
- children: t,
120
- ...s
121
- } = n, e[0] = n, e[1] = t, e[2] = s) : (t = e[1], s = e[2]);
122
- const {
123
- context: h,
124
- defaultAnchorButtonProps: a,
125
- refs: i,
126
- hasAnchor: l,
127
- getReferenceProps: f
128
- } = I();
129
- let c;
130
- e[3] !== a ? (c = a || {}, e[3] = a, e[4] = c) : c = e[4];
131
- let r, p;
132
- e[5] !== c ? ({
133
- label: p,
134
- ...r
135
- } = c, e[5] = c, e[6] = r, e[7] = p) : (r = e[6], p = e[7]);
136
- const m = p === void 0 ? "Toggle popover" : p, u = t ? t == null ? void 0 : t.ref : null;
137
- let d;
138
- e[8] !== u || e[9] !== o || e[10] !== i.setReference ? (d = [i.setReference, o, u], e[8] = u, e[9] = o, e[10] = i.setReference, e[11] = d) : d = e[11];
139
- const v = O(d);
140
- if (l && t && J(t)) {
141
- const A = t.props, x = h.open ? "open" : "closed";
142
- let w;
143
- return e[12] !== t || e[13] !== f || e[14] !== s || e[15] !== v || e[16] !== A || e[17] !== x ? (w = K(t, f({
144
- ref: v,
145
- ...s,
146
- ...A,
147
- "data-state": x
148
- })), e[12] = t, e[13] = f, e[14] = s, e[15] = v, e[16] = A, e[17] = x, e[18] = w) : w = e[18], w;
149
- }
150
- const P = h.open ? "open" : "closed";
151
- let D;
152
- e[19] !== f || e[20] !== s ? (D = f(s), e[19] = f, e[20] = s, e[21] = D) : D = e[21];
153
- const S = t ?? m;
154
- let g;
155
- return e[22] !== v || e[23] !== r || e[24] !== P || e[25] !== D || e[26] !== S ? (g = /* @__PURE__ */ _(pe, { ...r, ref: v, type: "button", "data-state": P, ...D, size: "small", hideLabel: !0, iconName: "circle-info-inverted", variant: "ghost", className: E.defaultAnchor, children: S }), e[22] = v, e[23] = r, e[24] = P, e[25] = D, e[26] = S, e[27] = g) : g = e[27], g;
156
- });
157
- $.displayName = "DSPopover.Anchor";
158
- const j = T((n, o) => {
159
- const e = V.c(38);
160
- let t, s, h, a, i;
161
- e[0] !== n ? ({
162
- style: i,
163
- className: s,
164
- classNameArrow: h,
165
- children: t,
166
- ...a
167
- } = n, e[0] = n, e[1] = t, e[2] = s, e[3] = h, e[4] = a, e[5] = i) : (t = e[1], s = e[2], h = e[3], a = e[4], i = e[5]);
168
- const {
169
- context: l,
170
- refs: f,
171
- floatingStyles: c,
172
- showArrow: r,
173
- variant: p,
174
- getFloatingProps: m,
175
- arrowRef: u
176
- } = I();
177
- let d;
178
- e[6] !== o || e[7] !== f.setFloating ? (d = [f.setFloating, o], e[6] = o, e[7] = f.setFloating, e[8] = d) : d = e[8];
179
- const v = O(d);
180
- let P;
181
- e[9] === Symbol.for("react.memo_cache_sentinel") ? (P = {
182
- duration: {
183
- open: 250,
184
- close: 250
185
- }
186
- }, e[9] = P) : P = e[9];
187
- const {
188
- isMounted: D,
189
- status: S
190
- } = ae(l, P);
191
- if (!D)
192
- return null;
193
- let g;
194
- e[10] !== c || e[11] !== i ? (g = {
195
- ...c,
196
- ...i
197
- }, e[10] = c, e[11] = i, e[12] = g) : g = e[12];
198
- const A = !r, x = p === "grey" && r;
199
- let w;
200
- e[13] !== s || e[14] !== A || e[15] !== x ? (w = G(E.popover, s, {
201
- [E.popoverNoArrow]: A,
202
- [E.popoverVariantGrey]: x
203
- }), e[13] = s, e[14] = A, e[15] = x, e[16] = w) : w = e[16];
204
- const B = l.placement;
205
- let C;
206
- e[17] !== m || e[18] !== a ? (C = m(a), e[17] = m, e[18] = a, e[19] = C) : C = e[19];
207
- let b;
208
- e[20] !== u || e[21] !== h || e[22] !== l || e[23] !== r || e[24] !== p ? (b = r && /* @__PURE__ */ _(le, { ref: u, context: l, className: G(E.arrow, h, {
209
- [E.arrowVariantGrey]: p === "grey" && r
210
- }), strokeWidth: 1, tipRadius: 1, width: 16, height: 7 }), e[20] = u, e[21] = h, e[22] = l, e[23] = r, e[24] = p, e[25] = b) : b = e[25];
211
- let N;
212
- e[26] !== t || e[27] !== l.placement || e[28] !== v || e[29] !== S || e[30] !== g || e[31] !== w || e[32] !== C || e[33] !== b ? (N = /* @__PURE__ */ M("div", { ref: v, style: g, className: w, "data-placement": B, "data-status": S, ...C, children: [
213
- b,
214
- t
215
- ] }), e[26] = t, e[27] = l.placement, e[28] = v, e[29] = S, e[30] = g, e[31] = w, e[32] = C, e[33] = b, e[34] = N) : N = e[34];
216
- let F;
217
- return e[35] !== l || e[36] !== N ? (F = /* @__PURE__ */ _(ie, { children: /* @__PURE__ */ _(ce, { context: l, modal: !1, children: N }) }), e[35] = l, e[36] = N, e[37] = F) : F = e[37], F;
218
- });
219
- j.displayName = "DSPopover.Content";
220
- y.Anchor = $;
221
- y.Content = j;
222
- y.displayName = "DSPopover";
223
- export {
224
- y as D,
225
- De as a,
226
- we as u,
227
- Pe as v
228
- };
@@ -1,104 +0,0 @@
1
- "use client";
2
- import { jsx as F } from "react/jsx-runtime";
3
- import { d as $ } from "./index.CgTHIF3K.js";
4
- import { c as J } from "./index.CEyLAtio.js";
5
- import { forwardRef as K, useState as Q } from "react";
6
- import { D as W } from "./Fieldset.D7cLR5ze.js";
7
- import { DSRadio as X } from "../radio.7_N_alaS.js";
8
- import { g as m, r as V } from "./helpers.BbWkXTr3.js";
9
- import '../assets/RadioGroup.CM2mYOzc.css';const Y = "ds-radio-group_root_12fot_1", Z = "ds-radio-group_root--horizontal_12fot_9", oo = "ds-radio-group_root--invalid_12fot_12", B = {
10
- root: Y,
11
- rootHorizontal: Z,
12
- rootInvalid: oo
13
- }, M = (i) => i.some(({
14
- hint: s
15
- }) => !!s), j = (i) => i.some(({
16
- customArea: s,
17
- isCustomAreaAbove: o
18
- }) => !!s && !o), eo = ({
19
- legend: i,
20
- name: s,
21
- options: o,
22
- description: l,
23
- direction: c,
24
- id: a,
25
- systemFeedback: e
26
- }) => {
27
- if (!a && (l || e))
28
- throw new Error(m("DSRadioGroup", 'A unique "id" prop is required when providing the description or systemFeedback property. Please add a unique "id" prop to the DSRadioGroup component.'));
29
- if (!i)
30
- throw new Error(m("DSRadioGroup", V("legend", "DSRadioGroup")));
31
- if (!s)
32
- throw new Error(m("DSRadioGroup", V("name", "DSRadioGroup")));
33
- if (Array.isArray(o)) {
34
- if (o.length === 0)
35
- throw new Error(m("DSRadioGroup", "The options array must not be empty."));
36
- } else throw new Error(m("DSRadioGroup", V("options", "DSRadioGroup")));
37
- if (c === "horizontal" && M(o))
38
- throw new Error(m("DSRadioGroup", "Horizontal direction is not possible when options contain a hint. Please remove hints or change direction property to 'vertical'."));
39
- if (c === "horizontal" && j(o))
40
- throw new Error(m("DSRadioGroup", "Horizontal direction is not possible when options contain a custom area without isCustomAreaAbove set to true. Please remove custom areas, change direction property to 'vertical' or set isCustomAreaAbove to true."));
41
- }, to = K((i, s) => {
42
- const o = $.c(53);
43
- let l, c, a, e, u, p, h, t, v, d, G, R, b, y, H, E;
44
- o[0] !== i ? ({
45
- legend: u,
46
- name: p,
47
- options: t,
48
- className: l,
49
- defaultValue: c,
50
- description: a,
51
- direction: G,
52
- disabled: R,
53
- hideUncheckedHints: b,
54
- id: e,
55
- invalid: y,
56
- required: H,
57
- systemFeedback: d,
58
- value: E,
59
- onChange: h,
60
- ...v
61
- } = i, o[0] = i, o[1] = l, o[2] = c, o[3] = a, o[4] = e, o[5] = u, o[6] = p, o[7] = h, o[8] = t, o[9] = v, o[10] = d, o[11] = G, o[12] = R, o[13] = b, o[14] = y, o[15] = H, o[16] = E) : (l = o[1], c = o[2], a = o[3], e = o[4], u = o[5], p = o[6], h = o[7], t = o[8], v = o[9], d = o[10], G = o[11], R = o[12], b = o[13], y = o[14], H = o[15], E = o[16]);
62
- const O = G === void 0 ? "vertical" : G, n = R === void 0 ? !1 : R, D = b === void 0 ? !1 : b, f = y === void 0 ? !1 : y, w = H === void 0 ? !1 : H;
63
- process.env.NODE_ENV !== "production" && eo({
64
- legend: u,
65
- name: p,
66
- options: t,
67
- description: a,
68
- direction: O,
69
- id: e,
70
- systemFeedback: d
71
- });
72
- const [L, T] = Q(c), _ = E !== void 0, z = _ ? E : L, N = O === "horizontal" && !M(t) && !j(t), I = f && !!d;
73
- let A;
74
- o[17] !== N || o[18] !== I ? (A = J(B.root, {
75
- [B.rootHorizontal]: N,
76
- [B.rootInvalid]: I
77
- }), o[17] = N, o[18] = I, o[19] = A) : A = o[19];
78
- const P = A;
79
- let C;
80
- o[20] !== n || o[21] !== _ || o[22] !== h ? (C = (r) => {
81
- if (n) {
82
- r.preventDefault();
83
- return;
84
- }
85
- _ || T(r.target.value), h && h(r);
86
- }, o[20] = n, o[21] = _, o[22] = h, o[23] = C) : C = o[23];
87
- const U = C;
88
- let k;
89
- o[24] !== D || o[25] !== t ? (k = M(t) && !D, o[24] = D, o[25] = t, o[26] = k) : k = o[26];
90
- const x = k;
91
- let S;
92
- o[27] !== x || o[28] !== z || o[29] !== n || o[30] !== D || o[31] !== e || o[32] !== f || o[33] !== p || o[34] !== t || o[35] !== s || o[36] !== w ? (S = t.map((r) => /* @__PURE__ */ F(X, { name: p, checked: r.value === z, disabled: n, fieldsetId: e, hideUncheckedHint: D, hint: r.hint, invalid: f, isBold: x, required: w, ref: r.value === z ? s : null, ...r }, e + r.label + r.value + r.hint)), o[27] = x, o[28] = z, o[29] = n, o[30] = D, o[31] = e, o[32] = f, o[33] = p, o[34] = t, o[35] = s, o[36] = w, o[37] = S) : S = o[37];
93
- let g;
94
- o[38] !== P || o[39] !== S ? (g = /* @__PURE__ */ F("div", { className: P, children: S }), o[38] = P, o[39] = S, o[40] = g) : g = o[40];
95
- let q;
96
- return o[41] !== l || o[42] !== a || o[43] !== n || o[44] !== U || o[45] !== e || o[46] !== f || o[47] !== u || o[48] !== w || o[49] !== v || o[50] !== d || o[51] !== g ? (q = /* @__PURE__ */ F(W, { id: e, legend: u, className: l, description: a, disabled: n, required: w, invalid: f, systemFeedback: d, ...v, role: "radiogroup", onChange: U, children: g }), o[41] = l, o[42] = a, o[43] = n, o[44] = U, o[45] = e, o[46] = f, o[47] = u, o[48] = w, o[49] = v, o[50] = d, o[51] = g, o[52] = q) : q = o[52], q;
97
- });
98
- to.displayName = "DSRadioGroup";
99
- export {
100
- to as D,
101
- j as a,
102
- M as o,
103
- eo as v
104
- };
@@ -1,162 +0,0 @@
1
- "use client";
2
- import { jsx as v, jsxs as ge } from "react/jsx-runtime";
3
- import { d as xe } from "./index.CgTHIF3K.js";
4
- import { c as he } from "./index.CEyLAtio.js";
5
- import { forwardRef as Be, useRef as Fe, useState as Ee, useEffect as He } from "react";
6
- import { u as Re } from "./useBreakpoint.CMOR9ZOB.js";
7
- import { Asterisk as je } from "../asterisk.CR60hx8S.js";
8
- import { D as We } from "./Icon.NSsVrYeq.js";
9
- import { D as ze } from "./SystemFeedback.CyGbUCzT.js";
10
- import { g as me, r as Me } from "./helpers.BbWkXTr3.js";
11
- import '../assets/Select.C1gWF32A.css';const Te = "ds-select_root_17q4p_1", Oe = "ds-select_hint_17q4p_10", Ze = "ds-select_label_17q4p_10", Je = "ds-select_label--hidden_17q4p_131", Ke = "ds-select_label--disabled_17q4p_144", Qe = "ds-select_feedback_17q4p_164", Ue = "ds-select_select-wrapper_17q4p_169", Xe = "ds-select_select_17q4p_169", Ye = "ds-select_select--small_17q4p_183", Ge = "ds-select_select--invalid_17q4p_295", el = "ds-select_select--placeholder_17q4p_410", ll = "ds-select_chevron_17q4p_449", tl = "ds-select_chevron--small_17q4p_453", sl = "ds-select_chevron--disabled_17q4p_456", t = {
12
- root: Te,
13
- hint: Oe,
14
- label: Ze,
15
- labelHidden: Je,
16
- labelDisabled: Ke,
17
- feedback: Qe,
18
- selectWrapper: Ue,
19
- select: Xe,
20
- selectSmall: Ye,
21
- selectInvalid: Ge,
22
- selectPlaceholder: el,
23
- chevron: ll,
24
- chevronSmall: tl,
25
- chevronDisabled: sl
26
- }, _l = ["medium", "small"], al = ({
27
- id: n,
28
- label: s,
29
- options: e
30
- }) => {
31
- if (!n)
32
- throw new Error(me("DSSelect", 'A unique "id" prop is required. Please add a unique "id" prop to the DSSelect component.'));
33
- if (!s)
34
- throw new Error(me("DSSelect", `A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSSelect component. If you don't want to display a label, set hideLabel={true}.`));
35
- if (Array.isArray(e)) {
36
- if (e.length === 0)
37
- throw new Error(me("DSSelect", "The options array must not be empty."));
38
- } else throw new Error(me("DSSelect", Me("options", "DSSelect")));
39
- }, ol = (n, s, e) => n === "" || s !== void 0 && s !== "" ? !1 : !(e !== void 0 && e !== ""), cl = Be((n, s) => {
40
- const e = xe.c(127);
41
- let i, d, r, l, p, f, S, q, a, Z, J, K, Q, U, X, c;
42
- e[0] !== n ? ({
43
- id: l,
44
- label: p,
45
- options: S,
46
- className: i,
47
- defaultValue: d,
48
- disabled: Z,
49
- hideLabel: J,
50
- hint: r,
51
- invalid: K,
52
- placeholder: Q,
53
- required: U,
54
- size: X,
55
- systemFeedback: a,
56
- value: c,
57
- onChange: f,
58
- ...q
59
- } = n, e[0] = n, e[1] = i, e[2] = d, e[3] = r, e[4] = l, e[5] = p, e[6] = f, e[7] = S, e[8] = q, e[9] = a, e[10] = Z, e[11] = J, e[12] = K, e[13] = Q, e[14] = U, e[15] = X, e[16] = c) : (i = e[1], d = e[2], r = e[3], l = e[4], p = e[5], f = e[6], S = e[7], q = e[8], a = e[9], Z = e[10], J = e[11], K = e[12], Q = e[13], U = e[14], X = e[15], c = e[16]);
60
- const b = Z === void 0 ? !1 : Z, Ie = J === void 0 ? !1 : J, o = K === void 0 ? !1 : K, D = Q === void 0 ? "Select" : Q, y = U === void 0 ? !1 : U, le = X === void 0 ? "medium" : X;
61
- process.env.NODE_ENV !== "production" && al({
62
- id: l,
63
- label: p,
64
- options: S
65
- });
66
- const Pe = Fe(null), [ue, we] = Ee(c);
67
- let te;
68
- e[17] !== d || e[18] !== D || e[19] !== c ? (te = ol(D, d, c), e[17] = d, e[18] = D, e[19] = c, e[20] = te) : te = e[20];
69
- const [Y, Ce] = Ee(te);
70
- let se, ae;
71
- e[21] !== c ? (se = () => {
72
- we(c);
73
- }, ae = [c], e[21] = c, e[22] = se, e[23] = ae) : (se = e[22], ae = e[23]), He(se, ae);
74
- let oe;
75
- e[24] !== s ? (oe = (ee) => {
76
- Pe.current = ee, typeof s == "function" ? s(ee) : s && (s.current = ee);
77
- }, e[24] = s, e[25] = oe) : oe = e[25];
78
- const _e = oe, G = Re(Ie), g = `${l}-label`, h = `${l}-feedback`, w = `${l}-hint`, ve = r ? ` ${w}` : "";
79
- let ce;
80
- e[26] !== o || e[27] !== a || e[28] !== h ? (ce = [o && a && h].filter(Boolean).join(" ") || void 0, e[26] = o, e[27] = a, e[28] = h, e[29] = ce) : ce = e[29];
81
- const Se = ce;
82
- let N, k, E, I, P, C, $, L, V, A, x, B, F, H, R, j, m, u, _;
83
- if (e[30] !== Se || e[31] !== ve || e[32] !== i || e[33] !== d || e[34] !== b || e[35] !== _e || e[36] !== G || e[37] !== r || e[38] !== w || e[39] !== l || e[40] !== o || e[41] !== Y || e[42] !== p || e[43] !== f || e[44] !== S || e[45] !== D || e[46] !== y || e[47] !== q || e[48] !== g || e[49] !== ue || e[50] !== le || e[51] !== a || e[52] !== h) {
84
- const ee = (be) => [D && /* @__PURE__ */ v("option", { value: "", children: D }, `${l}-hidden-option-disabled-placeholder`), ...be.map((O) => {
85
- if ("options" in O) {
86
- const {
87
- label: ke,
88
- options: Ae
89
- } = O;
90
- return /* @__PURE__ */ v("optgroup", { label: ke, children: Ae.map(Ne) }, ke);
91
- } else
92
- return Ne(O);
93
- })], Ne = il;
94
- let re;
95
- e[72] !== i ? (re = he(t.root, i), e[72] = i, e[73] = re) : re = e[73];
96
- const $e = re, De = le === "small";
97
- let ne;
98
- e[74] !== o || e[75] !== Y || e[76] !== De ? (ne = he(t.select, {
99
- [t.selectSmall]: De,
100
- [t.selectInvalid]: o,
101
- [t.selectPlaceholder]: Y
102
- }), e[74] = o, e[75] = Y, e[76] = De, e[77] = ne) : ne = e[77];
103
- const Le = ne;
104
- let de;
105
- e[78] !== b || e[79] !== G ? (de = he(t.label, {
106
- [t.labelHidden]: G,
107
- [t.labelDisabled]: b
108
- }), e[78] = b, e[79] = G, e[80] = de) : de = e[80];
109
- const qe = de, ye = le === "small";
110
- let pe;
111
- e[81] !== b || e[82] !== ye ? (pe = he(t.chevron, {
112
- [t.chevronSmall]: ye,
113
- [t.chevronDisabled]: b
114
- }), e[81] = b, e[82] = ye, e[83] = pe) : pe = e[83], N = pe;
115
- let fe;
116
- e[84] !== f ? (fe = (be) => {
117
- const {
118
- value: O
119
- } = be.target;
120
- Ce(O === ""), we(O), f && f(be);
121
- }, e[84] = f, e[85] = fe) : fe = e[85];
122
- const Ve = fe;
123
- j = $e;
124
- let T;
125
- e[86] !== y ? (T = y && /* @__PURE__ */ v(je, {}), e[86] = y, e[87] = T) : T = e[87], e[88] !== l || e[89] !== p || e[90] !== qe || e[91] !== g || e[92] !== T ? (m = /* @__PURE__ */ ge("label", { className: qe, id: g, htmlFor: l, children: [
126
- p,
127
- T
128
- ] }), e[88] = l, e[89] = p, e[90] = qe, e[91] = g, e[92] = T, e[93] = m) : m = e[93], e[94] !== r || e[95] !== w ? (u = r && /* @__PURE__ */ v("div", { className: t.hint, id: w, children: r }), e[94] = r, e[95] = w, e[96] = u) : u = e[96], e[97] !== o || e[98] !== a || e[99] !== h ? (_ = o && a && /* @__PURE__ */ v(ze, { className: t.feedback, message: a, variant: "error", id: h }), e[97] = o, e[98] = a, e[99] = h, e[100] = _) : _ = e[100], R = t.selectWrapper, k = q, E = l, I = _e, P = Le, C = `${g}${ve}`, $ = Se, L = o, V = d, A = ue, x = b, B = y, F = Ve, H = ee(S), e[30] = Se, e[31] = ve, e[32] = i, e[33] = d, e[34] = b, e[35] = _e, e[36] = G, e[37] = r, e[38] = w, e[39] = l, e[40] = o, e[41] = Y, e[42] = p, e[43] = f, e[44] = S, e[45] = D, e[46] = y, e[47] = q, e[48] = g, e[49] = ue, e[50] = le, e[51] = a, e[52] = h, e[53] = N, e[54] = k, e[55] = E, e[56] = I, e[57] = P, e[58] = C, e[59] = $, e[60] = L, e[61] = V, e[62] = A, e[63] = x, e[64] = B, e[65] = F, e[66] = H, e[67] = R, e[68] = j, e[69] = m, e[70] = u, e[71] = _;
129
- } else
130
- N = e[53], k = e[54], E = e[55], I = e[56], P = e[57], C = e[58], $ = e[59], L = e[60], V = e[61], A = e[62], x = e[63], B = e[64], F = e[65], H = e[66], R = e[67], j = e[68], m = e[69], u = e[70], _ = e[71];
131
- let W;
132
- e[101] !== k || e[102] !== E || e[103] !== I || e[104] !== P || e[105] !== C || e[106] !== $ || e[107] !== L || e[108] !== V || e[109] !== A || e[110] !== x || e[111] !== B || e[112] !== F || e[113] !== H ? (W = /* @__PURE__ */ v("select", { ...k, id: E, ref: I, className: P, "aria-labelledby": C, "aria-describedby": $, "aria-invalid": L, defaultValue: V, value: A, disabled: x, required: B, onChange: F, children: H }), e[101] = k, e[102] = E, e[103] = I, e[104] = P, e[105] = C, e[106] = $, e[107] = L, e[108] = V, e[109] = A, e[110] = x, e[111] = B, e[112] = F, e[113] = H, e[114] = W) : W = e[114];
133
- let z;
134
- e[115] !== N ? (z = /* @__PURE__ */ v(We, { name: "chevron-down", className: N, "aria-hidden": "true" }), e[115] = N, e[116] = z) : z = e[116];
135
- let M;
136
- e[117] !== R || e[118] !== W || e[119] !== z ? (M = /* @__PURE__ */ ge("div", { className: R, children: [
137
- W,
138
- z
139
- ] }), e[117] = R, e[118] = W, e[119] = z, e[120] = M) : M = e[120];
140
- let ie;
141
- return e[121] !== j || e[122] !== m || e[123] !== u || e[124] !== _ || e[125] !== M ? (ie = /* @__PURE__ */ ge("div", { className: j, children: [
142
- m,
143
- u,
144
- _,
145
- M
146
- ] }), e[121] = j, e[122] = m, e[123] = u, e[124] = _, e[125] = M, e[126] = ie) : ie = e[126], ie;
147
- });
148
- cl.displayName = "DSSelect";
149
- function il(n) {
150
- const {
151
- label: s,
152
- value: e,
153
- isDisabled: i
154
- } = n;
155
- return /* @__PURE__ */ v("option", { value: e, disabled: i, children: s }, e);
156
- }
157
- export {
158
- cl as D,
159
- _l as S,
160
- ol as g,
161
- al as v
162
- };