@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
@@ -1,162 +0,0 @@
1
- "use client";
2
- import { jsx as _, jsxs as we } from "react/jsx-runtime";
3
- import { d as xe } from "./index.CgTHIF3K.js";
4
- import { c as ve } from "./index.CEyLAtio.js";
5
- import { forwardRef as Be, useRef as Fe, useState as Ie, 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.DGTYCv63.js";
9
- import { D as ze } from "./SystemFeedback.B9f67mjJ.js";
10
- import { g as me, r as Me } from "./helpers.BbWkXTr3.js";
11
- import '../assets/Select.CYACicZ3.css';const Te = "ds-select_root_d8v6g_1", Oe = "ds-select_hint_d8v6g_10", Ze = "ds-select_label_d8v6g_10", Je = "ds-select_label--hidden_d8v6g_100", Ke = "ds-select_label--disabled_d8v6g_113", Qe = "ds-select_feedback_d8v6g_133", Ue = "ds-select_select-wrapper_d8v6g_138", Xe = "ds-select_select_d8v6g_138", Ye = "ds-select_select--small_d8v6g_152", Ge = "ds-select_select--invalid_d8v6g_264", el = "ds-select_select--placeholder_d8v6g_379", ll = "ds-select_chevron_d8v6g_418", tl = "ds-select_chevron--small_d8v6g_422", sl = "ds-select_chevron--disabled_d8v6g_425", 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
- }, ul = ["medium", "small"], al = ({
27
- id: r,
28
- label: s,
29
- options: e
30
- }) => {
31
- if (!r)
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 = (r, s, e) => r === "" || s !== void 0 && s !== "" ? !1 : !(e !== void 0 && e !== ""), cl = Be((r, s) => {
40
- const e = xe.c(127);
41
- let i, n, d, l, f, b, S, D, a, Z, J, K, Q, U, X, c;
42
- e[0] !== r ? ({
43
- id: l,
44
- label: f,
45
- options: S,
46
- className: i,
47
- defaultValue: n,
48
- disabled: Z,
49
- hideLabel: J,
50
- hint: d,
51
- invalid: K,
52
- placeholder: Q,
53
- required: U,
54
- size: X,
55
- systemFeedback: a,
56
- value: c,
57
- onChange: b,
58
- ...D
59
- } = r, e[0] = r, e[1] = i, e[2] = n, e[3] = d, e[4] = l, e[5] = f, e[6] = b, e[7] = S, e[8] = D, 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], n = e[2], d = e[3], l = e[4], f = e[5], b = e[6], S = e[7], D = 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 h = Z === void 0 ? !1 : Z, Pe = J === void 0 ? !1 : J, o = K === void 0 ? !1 : K, g = 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: f,
64
- options: S
65
- });
66
- const qe = Fe(null), [pe, Ne] = Ie(c);
67
- let te;
68
- e[17] !== n || e[18] !== g || e[19] !== c ? (te = ol(g, n, c), e[17] = n, e[18] = g, e[19] = c, e[20] = te) : te = e[20];
69
- const [Y, Ce] = Ie(te);
70
- let se, ae;
71
- e[21] !== c ? (se = () => {
72
- Ne(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
- qe.current = ee, typeof s == "function" ? s(ee) : s && (s.current = ee);
77
- }, e[24] = s, e[25] = oe) : oe = e[25];
78
- const ue = oe, G = Re(Pe), w = `${l}-label`, v = `${l}-feedback`, N = `${l}-hint`, _e = d ? ` ${N}` : "";
79
- let ce;
80
- e[26] !== o || e[27] !== a || e[28] !== v ? (ce = [o && a && v].filter(Boolean).join(" ") || void 0, e[26] = o, e[27] = a, e[28] = v, e[29] = ce) : ce = e[29];
81
- const Se = ce;
82
- let k, E, I, P, q, C, $, L, V, A, x, B, F, H, R, j, m, p, u;
83
- if (e[30] !== Se || e[31] !== _e || e[32] !== i || e[33] !== n || e[34] !== h || e[35] !== ue || e[36] !== G || e[37] !== d || e[38] !== N || e[39] !== l || e[40] !== o || e[41] !== Y || e[42] !== f || e[43] !== b || e[44] !== S || e[45] !== g || e[46] !== y || e[47] !== D || e[48] !== w || e[49] !== pe || e[50] !== le || e[51] !== a || e[52] !== v) {
84
- const ee = (he) => [g && /* @__PURE__ */ _("option", { value: "", children: g }, `${l}-hidden-option-disabled-placeholder`), ...he.map((O) => {
85
- if ("options" in O) {
86
- const {
87
- label: Ee,
88
- options: Ae
89
- } = O;
90
- return /* @__PURE__ */ _("optgroup", { label: Ee, children: Ae.map(ke) }, Ee);
91
- } else
92
- return ke(O);
93
- })], ke = il;
94
- let de;
95
- e[72] !== i ? (de = ve(t.root, i), e[72] = i, e[73] = de) : de = e[73];
96
- const $e = de, ge = le === "small";
97
- let re;
98
- e[74] !== o || e[75] !== Y || e[76] !== ge ? (re = ve(t.select, {
99
- [t.selectSmall]: ge,
100
- [t.selectInvalid]: o,
101
- [t.selectPlaceholder]: Y
102
- }), e[74] = o, e[75] = Y, e[76] = ge, e[77] = re) : re = e[77];
103
- const Le = re;
104
- let ne;
105
- e[78] !== h || e[79] !== G ? (ne = ve(t.label, {
106
- [t.labelHidden]: G,
107
- [t.labelDisabled]: h
108
- }), e[78] = h, e[79] = G, e[80] = ne) : ne = e[80];
109
- const De = ne, ye = le === "small";
110
- let fe;
111
- e[81] !== h || e[82] !== ye ? (fe = ve(t.chevron, {
112
- [t.chevronSmall]: ye,
113
- [t.chevronDisabled]: h
114
- }), e[81] = h, e[82] = ye, e[83] = fe) : fe = e[83], k = fe;
115
- let be;
116
- e[84] !== b ? (be = (he) => {
117
- const {
118
- value: O
119
- } = he.target;
120
- Ce(O === ""), Ne(O), b && b(he);
121
- }, e[84] = b, e[85] = be) : be = e[85];
122
- const Ve = be;
123
- j = $e;
124
- let T;
125
- e[86] !== y ? (T = y && /* @__PURE__ */ _(je, {}), e[86] = y, e[87] = T) : T = e[87], e[88] !== l || e[89] !== f || e[90] !== De || e[91] !== w || e[92] !== T ? (m = /* @__PURE__ */ we("label", { className: De, id: w, htmlFor: l, children: [
126
- f,
127
- T
128
- ] }), e[88] = l, e[89] = f, e[90] = De, e[91] = w, e[92] = T, e[93] = m) : m = e[93], e[94] !== d || e[95] !== N ? (p = d && /* @__PURE__ */ _("div", { className: t.hint, id: N, children: d }), e[94] = d, e[95] = N, e[96] = p) : p = e[96], e[97] !== o || e[98] !== a || e[99] !== v ? (u = o && a && /* @__PURE__ */ _(ze, { className: t.feedback, message: a, variant: "error", id: v }), e[97] = o, e[98] = a, e[99] = v, e[100] = u) : u = e[100], R = t.selectWrapper, E = D, I = l, P = ue, q = Le, C = `${w}${_e}`, $ = Se, L = o, V = n, A = pe, x = h, B = y, F = Ve, H = ee(S), e[30] = Se, e[31] = _e, e[32] = i, e[33] = n, e[34] = h, e[35] = ue, e[36] = G, e[37] = d, e[38] = N, e[39] = l, e[40] = o, e[41] = Y, e[42] = f, e[43] = b, e[44] = S, e[45] = g, e[46] = y, e[47] = D, e[48] = w, e[49] = pe, e[50] = le, e[51] = a, e[52] = v, e[53] = k, e[54] = E, e[55] = I, e[56] = P, e[57] = q, 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] = p, e[71] = u;
129
- } else
130
- k = e[53], E = e[54], I = e[55], P = e[56], q = 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], p = e[70], u = e[71];
131
- let W;
132
- e[101] !== E || e[102] !== I || e[103] !== P || e[104] !== q || 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__ */ _("select", { ...E, id: I, ref: P, className: q, "aria-labelledby": C, "aria-describedby": $, "aria-invalid": L, defaultValue: V, value: A, disabled: x, required: B, onChange: F, children: H }), e[101] = E, e[102] = I, e[103] = P, e[104] = q, 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] !== k ? (z = /* @__PURE__ */ _(We, { name: "chevron-down", className: k, "aria-hidden": "true" }), e[115] = k, e[116] = z) : z = e[116];
135
- let M;
136
- e[117] !== R || e[118] !== W || e[119] !== z ? (M = /* @__PURE__ */ we("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] !== p || e[124] !== u || e[125] !== M ? (ie = /* @__PURE__ */ we("div", { className: j, children: [
142
- m,
143
- p,
144
- u,
145
- M
146
- ] }), e[121] = j, e[122] = m, e[123] = p, e[124] = u, e[125] = M, e[126] = ie) : ie = e[126], ie;
147
- });
148
- cl.displayName = "DSSelect";
149
- function il(r) {
150
- const {
151
- label: s,
152
- value: e,
153
- isDisabled: i
154
- } = r;
155
- return /* @__PURE__ */ _("option", { value: e, disabled: i, children: s }, e);
156
- }
157
- export {
158
- cl as D,
159
- ul as S,
160
- ol as g,
161
- al as v
162
- };
@@ -1,83 +0,0 @@
1
- "use client";
2
- import { jsx as N, jsxs as L } from "react/jsx-runtime";
3
- import { d as M } from "./index.CgTHIF3K.js";
4
- import { useState as $ } from "react";
5
- import { TabList as j } from "../tablist.g_Nwu6GA.js";
6
- import { TabPane as B } from "../tabpane.CB-eudyw.js";
7
- import { g as C } from "./TabPane.utils.DG16Y2uD.js";
8
- import { g, r as O } from "./helpers.BbWkXTr3.js";
9
- const J = ["left", "center"], K = ["prev", "next"], _ = ({
10
- id: T,
11
- tabs: e,
12
- defaultSelectedTabIndex: r = 0
13
- }) => {
14
- if (!T)
15
- throw new Error(g("DSTabs", 'A unique "id" prop is required. Please add a unique "id" prop to the DSTabs component.'));
16
- if (Array.isArray(e)) {
17
- if (e.length === 0)
18
- throw new Error(g("DSTabs", "The tabs array must not be empty."));
19
- } else throw new Error(g("DSTabs", O("tabs", "DSTabs")));
20
- if (r < 0 || r >= e.length)
21
- throw new Error(g("DSTabs", `Invalid defaultSelectedTabIndex: ${r}. It must be between 0 and ${e.length - 1}.`));
22
- }, Q = (T) => {
23
- const e = M.c(37);
24
- let r, l, n, s, d, f, b, t, a;
25
- e[0] !== T ? ({
26
- id: t,
27
- tabs: a,
28
- activeTabIndex: r,
29
- alignment: f,
30
- className: l,
31
- classNameTabPane: n,
32
- defaultSelectedTabIndex: b,
33
- onTabChange: s,
34
- ...d
35
- } = T, e[0] = T, e[1] = r, e[2] = l, e[3] = n, e[4] = s, e[5] = d, e[6] = f, e[7] = b, e[8] = t, e[9] = a) : (r = e[1], l = e[2], n = e[3], s = e[4], d = e[5], f = e[6], b = e[7], t = e[8], a = e[9]);
36
- const h = f === void 0 ? "left" : f, x = b === void 0 ? 0 : b;
37
- process.env.NODE_ENV !== "production" && _({
38
- id: t,
39
- tabs: a,
40
- defaultSelectedTabIndex: x
41
- });
42
- const [A, P] = $(r || x), p = r !== void 0, o = p ? r : A;
43
- let S;
44
- e[10] !== p || e[11] !== s ? (S = (i) => {
45
- p || P(i), s == null || s(i);
46
- }, e[10] = p, e[11] = s, e[12] = S) : S = e[12];
47
- const D = S;
48
- let u;
49
- e[13] !== h || e[14] !== D || e[15] !== s || e[16] !== o || e[17] !== t || e[18] !== a ? (u = {
50
- id: t,
51
- tabs: a,
52
- setSelectedTabIndex: D,
53
- selectedTabIndex: o,
54
- alignment: h,
55
- onTabChange: s
56
- }, e[13] = h, e[14] = D, e[15] = s, e[16] = o, e[17] = t, e[18] = a, e[19] = u) : u = e[19];
57
- const v = u;
58
- let c;
59
- e[20] !== v ? (c = /* @__PURE__ */ N(j, { ...v }), e[20] = v, e[21] = c) : c = e[21];
60
- let m;
61
- if (e[22] !== n || e[23] !== o || e[24] !== t || e[25] !== a) {
62
- let i;
63
- e[27] !== n || e[28] !== o || e[29] !== t ? (i = (q, w) => {
64
- const {
65
- id: E,
66
- content: y
67
- } = q;
68
- return /* @__PURE__ */ N(B, { id: E, content: y, index: w, selectedTabIndex: o, tabListId: t, className: n }, C(t, E, w));
69
- }, e[27] = n, e[28] = o, e[29] = t, e[30] = i) : i = e[30], m = a.map(i), e[22] = n, e[23] = o, e[24] = t, e[25] = a, e[26] = m;
70
- } else
71
- m = e[26];
72
- let I;
73
- return e[31] !== l || e[32] !== d || e[33] !== c || e[34] !== m || e[35] !== t ? (I = /* @__PURE__ */ L("div", { className: l, id: t, ...d, children: [
74
- c,
75
- m
76
- ] }), e[31] = l, e[32] = d, e[33] = c, e[34] = m, e[35] = t, e[36] = I) : I = e[36], I;
77
- };
78
- export {
79
- Q as D,
80
- J as T,
81
- K as a,
82
- _ as v
83
- };
@@ -1,163 +0,0 @@
1
- "use client";
2
- import { jsxs as d, jsx as m, Fragment as le } from "react/jsx-runtime";
3
- import { c as z } from "./index.CEyLAtio.js";
4
- import { forwardRef as ie, useState as i, useRef as ce, useEffect as p } from "react";
5
- import { g as B, p as q } from "./helpers.BbWkXTr3.js";
6
- import { u as de } from "./useBreakpoint.CMOR9ZOB.js";
7
- import "./index.CgTHIF3K.js";
8
- import { Asterisk as ue } from "../asterisk.CR60hx8S.js";
9
- import { D as fe } from "./SystemFeedback.B9f67mjJ.js";
10
- import '../assets/Textarea.BXWhXpXx.css';const he = "ds-textarea_textarea_hjz5f_1", be = "ds-textarea_textarea--small_hjz5f_9", _e = "ds-textarea_textarea--invalid_hjz5f_121", me = "ds-textarea_textarea--resize-auto_hjz5f_145", pe = "ds-textarea_root_hjz5f_155", xe = "ds-textarea_hint_hjz5f_164", ve = "ds-textarea_label_hjz5f_164", Ce = "ds-textarea_label--hidden_hjz5f_272", Se = "ds-textarea_label--disabled_hjz5f_285", je = "ds-textarea_feedback_hjz5f_305", ze = "ds-textarea_char-count_hjz5f_310", Ae = "ds-textarea_char-count-announcer_hjz5f_326", a = {
11
- textarea: he,
12
- textareaSmall: be,
13
- textareaInvalid: _e,
14
- textareaResizeAuto: me,
15
- root: pe,
16
- hint: xe,
17
- label: ve,
18
- labelHidden: Ce,
19
- labelDisabled: Se,
20
- feedback: je,
21
- charCount: ze,
22
- charCountAnnouncer: Ae
23
- }, ke = ["medium", "small"], De = ({
24
- id: r,
25
- label: u
26
- }) => {
27
- if (!r)
28
- throw new Error(B("DSTextarea", 'A unique "id" prop is required. Please add a unique "id" prop to the DSTextarea component.'));
29
- if (!u)
30
- throw new Error(B("DSTextarea", `A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSTextarea component. If you don't want to display a label, set hideLabel={true}.`));
31
- }, Ie = ie(({
32
- id: r,
33
- label: u,
34
- charsLimitText: M = "Character limit reached",
35
- charsRemainingText: O = "Characters remaining:",
36
- className: F,
37
- defaultValue: X,
38
- disabled: A = !1,
39
- hint: x,
40
- hideLabel: Z = !1,
41
- invalid: s = !1,
42
- maxLength: e,
43
- readonly: D = !1,
44
- required: I = !1,
45
- resize: f = "vertical",
46
- size: G = "medium",
47
- systemFeedback: n,
48
- value: v,
49
- wrapperClassName: J,
50
- onChange: T,
51
- onInput: w,
52
- ...K
53
- }, h) => {
54
- process.env.NODE_ENV !== "production" && De({
55
- id: r,
56
- label: u
57
- });
58
- const [Q, y] = i(X || ""), [l, R] = i(0), [U, N] = i(0), [W, E] = i("off"), [g, C] = i(n), [S, j] = i(s), $ = v !== void 0, b = $ ? v : Q, o = ce(null), Y = (t) => {
59
- o.current = t, typeof h == "function" ? h(t) : h && (h.current = t);
60
- }, L = de(Z);
61
- p(() => {
62
- if (!e || e <= 0)
63
- return;
64
- l >= e * 0.8 ? E("polite") : E("off");
65
- const t = setTimeout(() => {
66
- N(e - l || 0);
67
- }, 1e3);
68
- return () => clearTimeout(t);
69
- }, [l]), p(() => {
70
- y(b || ""), c(), e && e > 0 && (R(b.toString().length || 0), N(e - b.toString().length || 0));
71
- }, [v]), p(() => {
72
- s && n ? (C(n), j(s)) : !s && e && e >= 0 && l >= e ? (j(!0), C(M)) : (C(n), j(s));
73
- }, [s, S, n, l]), p(() => {
74
- if (f === "auto")
75
- return c(), window.addEventListener("resize", c), () => window.removeEventListener("resize", c);
76
- }, [f, o.current]);
77
- const ee = z(a.root, J), te = z(a.textarea, F, {
78
- // small textarea
79
- [a.textareaSmall]: G === "small",
80
- // invalid state
81
- [a.textareaInvalid]: S,
82
- // resize handling
83
- [a.textareaResizeAuto]: f === "auto"
84
- }), ae = z(a.label, {
85
- // hide label only visually to keep them available for assistive technologies
86
- [a.labelHidden]: L,
87
- [a.labelDisabled]: A
88
- }), k = `${r}-label`, H = `${r}-feedback`, V = `${r}-hint`, P = `${r}-char-count-announcer`, re = x ? ` ${V}` : "", c = () => {
89
- if (o.current && f === "auto") {
90
- o.current.style.height = "auto";
91
- const t = q(o.current.scrollHeight), _ = q(2);
92
- o.current.style.height = `${// We need to add 2px (border-top & border-bottom) to the scrollHeight to prevent the textarea
93
- // from jumping as soon as the user starts typing.
94
- t + _}rem`;
95
- }
96
- }, se = () => {
97
- const t = [];
98
- return e && e > 0 && t.push(P), s && n && t.push(H), t.length > 0 ? t.join(" ") : void 0;
99
- }, oe = (t) => {
100
- var _;
101
- w && w(t), e && e > 0 && R(((_ = o.current) == null ? void 0 : _.value.length) || 0), c();
102
- }, ne = (t) => {
103
- T && T(t), $ || y(t.target.value);
104
- };
105
- return /* @__PURE__ */ d("div", { className: ee, children: [
106
- /* @__PURE__ */ d("label", { className: ae, id: k, htmlFor: r, children: [
107
- u,
108
- I && /* @__PURE__ */ m(ue, {})
109
- ] }),
110
- x && /* @__PURE__ */ m("div", { className: a.hint, id: V, children: x }),
111
- S && g && /* @__PURE__ */ m(fe, { className: a.feedback, message: g, variant: "error", id: H }),
112
- /* @__PURE__ */ m(
113
- "textarea",
114
- {
115
- className: te,
116
- id: r,
117
- ...K,
118
- ref: Y,
119
- "aria-labelledby": `${k}${re}`,
120
- "aria-describedby": se(),
121
- "aria-invalid": s,
122
- "aria-disabled": D,
123
- maxLength: e,
124
- readOnly: D,
125
- required: I,
126
- disabled: A,
127
- value: b,
128
- defaultValue: void 0,
129
- rows: void 0,
130
- cols: void 0,
131
- onChange: ne,
132
- onInput: oe
133
- }
134
- ),
135
- e !== void 0 && e > 0 && /* @__PURE__ */ d(le, { children: [
136
- /* @__PURE__ */ d("div", { className: a.charCount, "aria-hidden": "true", children: [
137
- l,
138
- "/",
139
- e
140
- ] }),
141
- /* @__PURE__ */ d(
142
- "div",
143
- {
144
- className: a.charCountAnnouncer,
145
- id: P,
146
- "aria-live": W,
147
- "aria-atomic": "true",
148
- children: [
149
- O,
150
- " ",
151
- U
152
- ]
153
- }
154
- )
155
- ] })
156
- ] });
157
- });
158
- Ie.displayName = "DSTextarea";
159
- export {
160
- Ie as D,
161
- ke as T,
162
- De as v
163
- };
@@ -1,76 +0,0 @@
1
- "use client";
2
- import { jsx as C, jsxs as y } from "react/jsx-runtime";
3
- import { d as E } from "./index.CgTHIF3K.js";
4
- import { c as j } from "./index.CEyLAtio.js";
5
- import { forwardRef as L } from "react";
6
- import { D as M } from "./Button.B7xF1E19.js";
7
- import { D as O } from "./Icon.DGTYCv63.js";
8
- import '../assets/Toast.CJ1zhDIT.css';const P = "ds-toast_root_gamkt_5", z = "ds-toast_root--closing_gamkt_19", A = "ds-toast_root--success_gamkt_54", R = "ds-toast_root--info_gamkt_58", $ = "ds-toast_root--warning_gamkt_62", q = "ds-toast_content_gamkt_67", F = "ds-toast_content--hide-icon_gamkt_74", G = "ds-toast_icon_gamkt_78", J = "ds-toast_message_gamkt_82", s = {
9
- root: P,
10
- rootClosing: z,
11
- rootSuccess: A,
12
- rootInfo: R,
13
- rootWarning: $,
14
- content: q,
15
- contentHideIcon: F,
16
- icon: G,
17
- message: J
18
- }, K = {
19
- success: "circle-check-colored",
20
- warning: "triangle-exclamationmark-colored",
21
- info: "circle-info-colored"
22
- }, Q = L((D, x) => {
23
- const t = E.c(44);
24
- let e, n, o, a, c, l, i, k, h;
25
- t[0] !== D ? ({
26
- message: o,
27
- className: e,
28
- closeButtonProps: n,
29
- hideIcon: k,
30
- variant: h,
31
- onClick: a,
32
- onMouseEnter: c,
33
- onMouseLeave: l,
34
- ...i
35
- } = D, t[0] = D, t[1] = e, t[2] = n, t[3] = o, t[4] = a, t[5] = c, t[6] = l, t[7] = i, t[8] = k, t[9] = h) : (e = t[1], n = t[2], o = t[3], a = t[4], c = t[5], l = t[6], i = t[7], k = t[8], h = t[9]);
36
- const r = k === void 0 ? !1 : k, m = h === void 0 ? "info" : h;
37
- let d;
38
- t[10] !== n ? (d = n || {}, t[10] = n, t[11] = d) : d = t[11];
39
- let _, v;
40
- t[12] !== d ? ({
41
- label: v,
42
- ..._
43
- } = d, t[12] = d, t[13] = _, t[14] = v) : (_ = t[13], v = t[14]);
44
- const b = v === void 0 ? "Close toast" : v, w = m === "success", T = m === "warning", B = m === "info";
45
- let I;
46
- t[15] !== e || t[16] !== w || t[17] !== T || t[18] !== B ? (I = j(s.root, e, {
47
- [s.rootSuccess]: w,
48
- [s.rootWarning]: T,
49
- [s.rootInfo]: B
50
- }), t[15] = e, t[16] = w, t[17] = T, t[18] = B, t[19] = I) : I = t[19];
51
- const H = I;
52
- let N;
53
- t[20] !== r ? (N = j(s.content, {
54
- [s.contentHideIcon]: r
55
- }), t[20] = r, t[21] = N) : N = t[21];
56
- const W = N;
57
- let f;
58
- t[22] !== r || t[23] !== m ? (f = !r && /* @__PURE__ */ C(O, { name: K[m], className: s.icon, "aria-hidden": "true" }), t[22] = r, t[23] = m, t[24] = f) : f = t[24];
59
- let g;
60
- t[25] !== o ? (g = /* @__PURE__ */ C("div", { className: s.message, children: o }), t[25] = o, t[26] = g) : g = t[26];
61
- let u;
62
- t[27] !== b || t[28] !== a || t[29] !== _ ? (u = /* @__PURE__ */ C(M, { ..._, hideLabel: !0, iconName: "cross", size: "small", variant: "ghost", onClick: a, children: b }), t[27] = b, t[28] = a, t[29] = _, t[30] = u) : u = t[30];
63
- let p;
64
- t[31] !== W || t[32] !== f || t[33] !== g || t[34] !== u ? (p = /* @__PURE__ */ y("div", { className: W, children: [
65
- f,
66
- g,
67
- u
68
- ] }), t[31] = W, t[32] = f, t[33] = g, t[34] = u, t[35] = p) : p = t[35];
69
- let S;
70
- return t[36] !== o || t[37] !== c || t[38] !== l || t[39] !== x || t[40] !== i || t[41] !== H || t[42] !== p ? (S = /* @__PURE__ */ C("aside", { className: H, ref: x, popover: "manual", "data-ds-toast": !0, onMouseEnter: c, onMouseLeave: l, "aria-label": o, ...i, children: p }), t[36] = o, t[37] = c, t[38] = l, t[39] = x, t[40] = i, t[41] = H, t[42] = p, t[43] = S) : S = t[43], S;
71
- });
72
- Q.displayName = "DSToast";
73
- export {
74
- Q as D,
75
- s
76
- };
@@ -1,10 +0,0 @@
1
- "use client";
2
- import * as e from "react";
3
- const a = ({
4
- title: l,
5
- titleId: t,
6
- ...c
7
- }) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "#252525", viewBox: "0 0 16 17", focusable: "false", width: "100%", height: "100%", "aria-labelledby": t, ...c }, l ? /* @__PURE__ */ e.createElement("title", { id: t }, l) : null, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", d: "M3.333 1.333h5.334v4h4V9.5H14V4l-4-4H2v9.5h1.333zM12 4l-2-2v2z", clipRule: "evenodd" }), /* @__PURE__ */ e.createElement("path", { d: "M0 16.003v-5.206h2.014c1.5 0 2.633.988 2.633 2.603s-1.133 2.603-2.633 2.603zm1.393-1.179h.467c.843 0 1.363-.559 1.363-1.424s-.52-1.424-1.363-1.424h-.467zm6.417 1.248c-1.501 0-2.795-1.102-2.795-2.672s1.294-2.664 2.795-2.664 2.794 1.095 2.794 2.664-1.294 2.672-2.794 2.672m0-1.21c.872 0 1.37-.643 1.37-1.462 0-.82-.498-1.455-1.37-1.455s-1.37.636-1.37 1.455.497 1.462 1.37 1.462m8.19-.03c-.513.865-1.233 1.24-2.29 1.24-1.462 0-2.71-1.102-2.71-2.672s1.24-2.664 2.634-2.664c1.126 0 1.815.474 2.251 1.118l-1.049.712c-.199-.307-.52-.62-1.179-.62-.765 0-1.232.635-1.232 1.454 0 .82.482 1.462 1.278 1.462.674 0 1.003-.306 1.225-.72z" }));
8
- export {
9
- a as default
10
- };