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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/{accordion.Dvt4S5qg.js → accordion.D4XR2R7e.js} +3 -3
  2. package/actionbutton.C8hePX-D.js +12 -0
  3. package/{actioncard.BwquHtM_.js → actioncard.kDxu01xm.js} +1 -1
  4. package/actionlink.dccc5JQV.js +12 -0
  5. package/{arialiveregions.BF6mUlPU.js → arialiveregions.BniSDuPM.js} +9 -10
  6. package/assets/Accordion.RlqWqpGo.css +1 -0
  7. package/assets/ActionButton.Dw2FeIaW.css +1 -0
  8. package/assets/ActionCard.viEoC26n.css +1 -0
  9. package/assets/ActionLink.B1Jjaf7k.css +1 -0
  10. package/assets/Breadcrumb.BJ6sa2am.css +1 -0
  11. package/assets/Button.Bi1KUKMv.css +1 -0
  12. package/assets/Checkbox.C6RWhy0V.css +1 -0
  13. package/assets/Chip.DfamkUPw.css +1 -0
  14. package/assets/CustomReactSelect.CvWMmrAU.css +1 -0
  15. package/assets/Dialog.6AkQo8ew.css +1 -0
  16. package/assets/Drawer.CDOlX809.css +1 -0
  17. package/assets/Fieldset.BbLGXCWa.css +1 -0
  18. package/assets/Flag.qP1xbolI.css +1 -0
  19. package/assets/Header.CSPbSqR5.css +1 -0
  20. package/assets/InputFile.CDtghZtl.css +1 -0
  21. package/assets/InputNumber.BNpO9p7n.css +1 -0
  22. package/assets/InputPassword.BgZo-RUc.css +1 -0
  23. package/assets/InputSearch.BROFFTK9.css +1 -0
  24. package/assets/LinkButton.IKIlFnpH.css +1 -0
  25. package/assets/LinkCard.pJtgJRIh.css +1 -0
  26. package/assets/NavigationTabList.D5VV0C7Y.css +1 -0
  27. package/assets/Notification.2B81JHOp.css +1 -0
  28. package/assets/Pagination.DH71DZ0j.css +1 -0
  29. package/assets/Popover.58Tb0dOt.css +1 -0
  30. package/assets/Select.CfTN3CJo.css +1 -0
  31. package/assets/Slider.B4kzL60S.css +1 -0
  32. package/assets/Stepper.BCpjMiOX.css +1 -0
  33. package/assets/SystemFeedback.DVMml_h9.css +1 -0
  34. package/assets/TextUtility.BThulfyl.css +1 -0
  35. package/assets/Textarea.BO4AcRJD.css +1 -0
  36. package/assets/Toast.ChXfv24m.css +1 -0
  37. package/assets/buttonround.syTU1QSI.css +1 -0
  38. package/assets/chipgroup.DtCnsmS7.css +1 -0
  39. package/assets/filelist.B-Ru0GP_.css +1 -0
  40. package/assets/input.Dy8VS73e.css +1 -0
  41. package/assets/link.EZrauC8s.css +1 -0
  42. package/assets/numberindicator.CtbitPQ8.css +1 -0
  43. package/assets/optioncheckbox.BwkbIDOt.css +1 -0
  44. package/assets/progressindicator.tyY_RVQ9.css +1 -0
  45. package/assets/radio.9hUUyg8R.css +1 -0
  46. package/assets/step.DOAmuuEQ.css +1 -0
  47. package/assets/switch.8v7Wp1Fj.css +1 -0
  48. package/assets/tabpane.DDaeSDQb.css +1 -0
  49. package/assets/text.BwGsYzGM.css +1 -0
  50. package/assets/tooltip.C_BL2kou.css +1 -0
  51. package/{banner.CwZXWMc_.js → banner.DO7GsDL_.js} +1 -1
  52. package/{breadcrumb.DMqAgUyk.js → breadcrumb.DYov6vtt.js} +3 -3
  53. package/{button.BDCfI_fj.js → button.qxcuzbnv.js} +4 -4
  54. package/buttonround.BO7_ewzA.js +101 -0
  55. package/checkbox.C9kyIY9P.js +11 -0
  56. package/{checkboxgroup.DDWYxYzk.js → checkboxgroup.kEUxnKLf.js} +2 -2
  57. package/chip.5ktNLRYf.js +12 -0
  58. package/chipgroup.kRU3Z98U.js +226 -0
  59. package/chunks/Accordion.gih2ni1d.js +179 -0
  60. package/chunks/ActionButton.B-wm5sUy.js +194 -0
  61. package/chunks/{ActionCard.DJSGkwVG.js → ActionCard.Bm-2ewfS.js} +38 -38
  62. package/chunks/ActionLink.D0KzqbH4.js +166 -0
  63. package/chunks/{AriaLiveRegions.utils.8ofDlHnN.js → AriaLiveRegions.utils.xoETe2Ps.js} +16 -18
  64. package/chunks/{Breadcrumb.BkP2B-Vm.js → Breadcrumb.I2G-T0zc.js} +14 -14
  65. package/chunks/Button.CCol--xy.js +165 -0
  66. package/chunks/Checkbox.BxOGR1bR.js +96 -0
  67. package/chunks/CheckboxGroup.TneO0tuE.js +85 -0
  68. package/chunks/Chip.DffaXMkV.js +148 -0
  69. package/chunks/{CustomReactSelect.yVERtd4R.js → CustomReactSelect.DTAavYaz.js} +250 -245
  70. package/chunks/Dialog.guuxflWL.js +101 -0
  71. package/chunks/Drawer.CjUZu6GW.js +106 -0
  72. package/chunks/Fieldset.BBMuLKps.js +94 -0
  73. package/chunks/Flag.CbQYBzVC.js +74 -0
  74. package/chunks/{Header.DyqOlV8L.js → Header.CvcGSuhX.js} +140 -140
  75. package/chunks/{Icon.B0WqYErA.js → Icon.DYtaQgbw.js} +1 -1
  76. package/chunks/{Input.utils.D78E4MGO.js → Input.utils.Wycy2SzG.js} +23 -25
  77. package/chunks/InputFile.y71Cd5J9.js +260 -0
  78. package/chunks/InputNumber.Fn2YbF_s.js +250 -0
  79. package/chunks/InputPassword.DtT9yrlx.js +129 -0
  80. package/chunks/InputSearch.BoAfGqoH.js +157 -0
  81. package/chunks/LinkButton.BxG7fx1O.js +150 -0
  82. package/chunks/LinkCard.DM-5WrSt.js +200 -0
  83. package/chunks/{MegaMenu.CiSiMlE3.js → MegaMenu.udXR1H3W.js} +2 -2
  84. package/chunks/NavigationTabList.thzA1pU8.js +68 -0
  85. package/chunks/{NavigationTabs.BqaUbfFC.js → NavigationTabs.BWewgBch.js} +1 -1
  86. package/chunks/Notification.C_o7Ge6Q.js +91 -0
  87. package/chunks/Pagination.BrOMUJMi.js +272 -0
  88. package/chunks/Popover.CxZZ_y1Z.js +230 -0
  89. package/chunks/RadioGroup.CO91_5hA.js +136 -0
  90. package/chunks/Select.EzoMdk1u.js +157 -0
  91. package/chunks/Slider.CX38t4Sk.js +330 -0
  92. package/chunks/{Stepper.Bqnak38-.js → Stepper.Ds_aIEF8.js} +72 -73
  93. package/chunks/SystemFeedback.DhWcYjnu.js +43 -0
  94. package/chunks/{Tabs.cMCZMPCy.js → Tabs.BHVlgp7L.js} +2 -2
  95. package/chunks/Text.utils.DzlY9pJS.js +9 -0
  96. package/chunks/TextUtility.BZLwqyic.js +82 -0
  97. package/chunks/Textarea.vuJgvW6_.js +192 -0
  98. package/chunks/Toast.V_ZUAsf2.js +76 -0
  99. package/chunks/floating-ui.react.Chmq0RmI.js +3014 -0
  100. package/chunks/translate.DSb-TdWR.js +2460 -0
  101. package/{combobox.CpX-Vlyd.js → combobox.C6cPz4AJ.js} +1 -1
  102. package/components/Accordion/Accordion.d.ts +5 -0
  103. package/components/ActionButton/ActionButton.d.ts +5 -1
  104. package/components/ActionLink/ActionLink.d.ts +1 -1
  105. package/components/Button/Button.utils.d.ts +1 -1
  106. package/components/Checkbox/Checkbox.d.ts +8 -1
  107. package/components/CheckboxGroup/CheckboxGroup.d.ts +9 -1
  108. package/components/ChipGroup/Chip.d.ts +2 -0
  109. package/components/ChipGroup/ChipGroup.d.ts +12 -2
  110. package/components/ChipGroup/ChipGroup.utils.d.ts +39 -15
  111. package/components/Combobox/Combobox.utils.d.ts +66 -9
  112. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +5 -1
  113. package/components/Combobox/CustomReactSelect/CustomReactSelect.utils.d.ts +1 -1
  114. package/components/Fieldset/Fieldset.d.ts +9 -2
  115. package/components/Flag/Flag.d.ts +3 -3
  116. package/components/Flag/Flag.utils.d.ts +7 -2
  117. package/components/Input/Input.d.ts +8 -1
  118. package/components/InputFile/FileList/FileList.d.ts +4 -2
  119. package/components/InputFile/FileList/FilePreview/FilePreview.d.ts +8 -2
  120. package/components/InputFile/FileList/ProgressIndicator/ProgressIndicator.d.ts +8 -2
  121. package/components/InputFile/InputFile.d.ts +12 -2
  122. package/components/InputFile/InputFile.utils.d.ts +41 -23
  123. package/components/InputNumber/InputNumber.d.ts +8 -1
  124. package/components/InputPassword/InputPassword.d.ts +8 -1
  125. package/components/InputSearch/InputSearch.d.ts +8 -1
  126. package/components/LinkCard/LinkCard.d.ts +10 -4
  127. package/components/LinkCard/LinkCard.utils.d.ts +2 -2
  128. package/components/NumberIndicator/NumberIndicator.d.ts +6 -1
  129. package/components/Pagination/Pagination.d.ts +10 -3
  130. package/components/Pagination/Pagination.utils.d.ts +22 -9
  131. package/components/Popover/Popover.d.ts +9 -1
  132. package/components/Popover/Popover.utils.d.ts +3 -2
  133. package/components/Radio/Radio.d.ts +5 -0
  134. package/components/RadioGroup/RadioGroup.d.ts +8 -0
  135. package/components/Select/Select.d.ts +8 -1
  136. package/components/Slider/Slider.d.ts +8 -1
  137. package/components/Stepper/Step.d.ts +1 -1
  138. package/components/Stepper/Step.utils.d.ts +1 -1
  139. package/components/Stepper/Stepper.d.ts +4 -1
  140. package/components/Stepper/Stepper.utils.d.ts +9 -4
  141. package/components/SystemFeedback/SystemFeedback.d.ts +9 -1
  142. package/components/Textarea/Textarea.d.ts +8 -1
  143. package/{customreactselect.B1FFXsJ8.js → customreactselect.L0zSh3Tg.js} +6 -6
  144. package/{dialog.ZQ-HnvZs.js → dialog.Ddq8o8Od.js} +2 -2
  145. package/{drawer.D0-RM0WZ.js → drawer.rbbjQvqL.js} +2 -2
  146. package/{fieldset.BzOeuWjO.js → fieldset.BHf3XK2q.js} +3 -3
  147. package/filelist.GrEwoM1u.js +143 -0
  148. package/filepreview.B2Ot9SZ7.js +97 -0
  149. package/flag.fX6LAgty.js +10 -0
  150. package/{floatingactionbutton.AVc4qY0u.js → floatingactionbutton.BwCiybnc.js} +3 -3
  151. package/{header.BtGgmM59.js → header.BCeCjYfG.js} +1 -1
  152. package/{icon.DrTLVrpN.js → icon.CRr1FGOu.js} +1 -1
  153. package/index.es.js +231 -230
  154. package/input.Dh0ws-9j.js +187 -0
  155. package/inputfile.DiZh3GcT.js +17 -0
  156. package/{inputnumber.r0iVYkjd.js → inputnumber.D2cmptaH.js} +8 -9
  157. package/{inputpassword.PXBZo3f0.js → inputpassword.C53Kg4EA.js} +4 -4
  158. package/inputsearch.BrsIDUSW.js +14 -0
  159. package/link.DEZDbUgq.js +81 -0
  160. package/{linkbutton.DVFXzn-A.js → linkbutton._X50W2Md.js} +3 -3
  161. package/{linkcard.BwSMt03V.js → linkcard.BtM3KnjT.js} +4 -4
  162. package/{logo.D7LnRA1E.js → logo.D6BTxbxv.js} +0 -1
  163. package/{megamenu.CUjk3_h2.js → megamenu.odVCUm4c.js} +3 -3
  164. package/navigationtablist.n9DrtYe5.js +10 -0
  165. package/{navigationtabs.DmcYShPs.js → navigationtabs.D0mSyAtK.js} +2 -2
  166. package/{notification.BVoapVVg.js → notification._X8-8vOa.js} +3 -3
  167. package/numberindicator.DsK65Bj3.js +39 -0
  168. package/optioncheckbox.tlMEoyT0.js +48 -0
  169. package/package.json +38 -33
  170. package/pagination.B7Hrx_sk.js +14 -0
  171. package/partials/index.js +91 -91
  172. package/{popover.OcE_5SfG.js → popover.BBaqL7y9.js} +4 -4
  173. package/progressindicator.D9CfVD95.js +74 -0
  174. package/radio.DjToa2aV.js +148 -0
  175. package/{radiogroup.N06_e0b8.js → radiogroup.mc-8lw65.js} +3 -3
  176. package/{scroller.CwTXbzb8.js → scroller.CgWp2WXG.js} +10 -11
  177. package/select.DTZ6a6Ag.js +13 -0
  178. package/{skeleton.DUkBgXxO.js → skeleton.CNJdNVav.js} +10 -10
  179. package/{skiptocontent.Bujq9t3i.js → skiptocontent.BsRpWvyu.js} +4 -4
  180. package/{slider.JAKEAwOB.js → slider.BMGAihY0.js} +3 -3
  181. package/{spinner.D1W-X96t.js → spinner.DtLnsqVV.js} +1 -1
  182. package/step.DCQ6CawJ.js +82 -0
  183. package/stepper.D7-7BdSv.js +15 -0
  184. package/styles/js/index.d.ts +1 -0
  185. package/styles/js/index.es.js +24 -4
  186. package/styles/js/lib/spacing-rem.d.ts +21 -0
  187. package/styles/js/lib/spacing.d.ts +0 -1
  188. package/styles/scss/ds/index.scss +4 -1
  189. package/styles/scss/ds/lib/border-width.scss +3 -0
  190. package/styles/scss/ds/lib/ds-internal/_input.scss +71 -26
  191. package/styles/scss/ds/lib/ds-internal/_link-button.scss +7 -4
  192. package/styles/scss/ds/lib/ds-internal/_link.scss +23 -3
  193. package/styles/scss/ds/lib/ds-internal/_text.scss +3 -1
  194. package/styles/scss/ds/lib/grid-narrow.scss +1 -0
  195. package/styles/scss/ds/lib/input.scss +12 -7
  196. package/styles/scss/ds/lib/link.scss +2 -2
  197. package/styles/scss/ds/lib/radius.scss +5 -0
  198. package/styles/scss/ds/lib/spacing-rem.scss +19 -0
  199. package/styles/scss/ds/lib/spacing.scss +0 -1
  200. package/switch.tM2XBag8.js +66 -0
  201. package/{systemfeedback.B8FBckG4.js → systemfeedback.BPPOht_9.js} +2 -2
  202. package/{tablist.D3n9E4KM.js → tablist.BAm0_UIG.js} +22 -23
  203. package/{tabpane.7vMXUKFX.js → tabpane.B9rZghU6.js} +1 -1
  204. package/{tabs.IVNsM5Gn.js → tabs.BgTdWbTe.js} +3 -3
  205. package/text.BEO_ZfJq.js +72 -0
  206. package/{textarea.gjb8VGgh.js → textarea.Cki-uMkZ.js} +5 -6
  207. package/{textutility.CNWCGYOy.js → textutility.BypzssPt.js} +2 -2
  208. package/{toast.DU8Sd_4c.js → toast.s0Hfuh5i.js} +3 -3
  209. package/{toastmanager.UlkvsO5p.js → toastmanager.CPIPn4Io.js} +22 -23
  210. package/{tooltip.C6HKano9.js → tooltip.BFQG-7VR.js} +22 -22
  211. package/{topbar.Z9NNkxKU.js → topbar.Bbct-XkB.js} +3 -3
  212. package/utils/translate.d.ts +22 -6
  213. package/actionbutton.D6qmbuAA.js +0 -12
  214. package/actionlink.fWwe7J0H.js +0 -12
  215. package/assets/Accordion.Cr1dbVTH.css +0 -1
  216. package/assets/ActionButton.BLOWs6IZ.css +0 -1
  217. package/assets/ActionCard.BG8w8xUC.css +0 -1
  218. package/assets/ActionLink.BJDUVdT7.css +0 -1
  219. package/assets/Breadcrumb.BavNNzAA.css +0 -1
  220. package/assets/Button.C-UYIggc.css +0 -1
  221. package/assets/Checkbox.ZAPIO2N8.css +0 -1
  222. package/assets/Chip.D3vV0wyV.css +0 -1
  223. package/assets/CustomReactSelect.Ctze4SRN.css +0 -1
  224. package/assets/Dialog.BKwWy1g2.css +0 -1
  225. package/assets/Drawer.BU-fi5Hk.css +0 -1
  226. package/assets/Fieldset.DCmr1Yir.css +0 -1
  227. package/assets/Header.BNYL2Y78.css +0 -1
  228. package/assets/InputFile.BUMCNCrj.css +0 -1
  229. package/assets/InputNumber.Bmz8cNKg.css +0 -1
  230. package/assets/InputPassword.CutbykTm.css +0 -1
  231. package/assets/InputSearch.Sr9jVpKt.css +0 -1
  232. package/assets/LinkButton.CxJvjEY5.css +0 -1
  233. package/assets/LinkCard.DkQoQJxx.css +0 -1
  234. package/assets/NavigationTabList.DYjNT2Di.css +0 -1
  235. package/assets/Notification.DBGpHzov.css +0 -1
  236. package/assets/Pagination.DZ1yCAMR.css +0 -1
  237. package/assets/Popover.mL5g23EK.css +0 -1
  238. package/assets/Select.BZYb_HAG.css +0 -1
  239. package/assets/Slider.vnSU0ya0.css +0 -1
  240. package/assets/Stepper.tXJl15yL.css +0 -1
  241. package/assets/SystemFeedback.PKzqnXUe.css +0 -1
  242. package/assets/TextUtility.CEBJaKBG.css +0 -1
  243. package/assets/Textarea.BIgA9_fl.css +0 -1
  244. package/assets/Toast.CGl8z6mX.css +0 -1
  245. package/assets/buttonround.CMrJRIeW.css +0 -1
  246. package/assets/chipgroup.BGxjdSDX.css +0 -1
  247. package/assets/filelist.CHVupL8T.css +0 -1
  248. package/assets/flag.CyCIPu_J.css +0 -1
  249. package/assets/input.BEOus9jX.css +0 -1
  250. package/assets/link.Dcsio57m.css +0 -1
  251. package/assets/numberindicator.BYIPwkAK.css +0 -1
  252. package/assets/optioncheckbox.6zYgifUk.css +0 -1
  253. package/assets/progressindicator.Cbbzo5-b.css +0 -1
  254. package/assets/radio.l9OTraQU.css +0 -1
  255. package/assets/step.Ch508u7I.css +0 -1
  256. package/assets/switch.DYamtd9O.css +0 -1
  257. package/assets/tabpane.o34hshTz.css +0 -1
  258. package/assets/text.BA1eUihR.css +0 -1
  259. package/assets/tooltip.BPcysHGE.css +0 -1
  260. package/buttonround.DZCu35Zw.js +0 -101
  261. package/checkbox.RYvu23i4.js +0 -12
  262. package/chip.CtZK5gH7.js +0 -12
  263. package/chipgroup.C-UJt9Nb.js +0 -213
  264. package/chunks/Accordion.Tz7cWkk5.js +0 -173
  265. package/chunks/ActionButton.Dqay6Dxt.js +0 -188
  266. package/chunks/ActionLink.BgWqWSKi.js +0 -161
  267. package/chunks/Button.Dauhc5op.js +0 -160
  268. package/chunks/Checkbox.C5Jgtwho.js +0 -88
  269. package/chunks/CheckboxGroup.Df_nLGBa.js +0 -79
  270. package/chunks/Chip.DXS_ZMGD.js +0 -157
  271. package/chunks/Dialog.mP1tZEbW.js +0 -102
  272. package/chunks/Drawer.D6IG0DRe.js +0 -107
  273. package/chunks/Fieldset.DxhNhprT.js +0 -91
  274. package/chunks/InputFile.BSGunqyW.js +0 -260
  275. package/chunks/InputNumber.BsBAdxWr.js +0 -240
  276. package/chunks/InputPassword.hZYiAKYC.js +0 -121
  277. package/chunks/InputSearch.Dp3x5RE4.js +0 -149
  278. package/chunks/LinkButton.DHcfHamd.js +0 -150
  279. package/chunks/LinkCard.DV-V9qHd.js +0 -197
  280. package/chunks/NavigationTabList.BIApwNzg.js +0 -68
  281. package/chunks/Notification.DeedcinQ.js +0 -91
  282. package/chunks/Pagination.DhD8i5AV.js +0 -247
  283. package/chunks/Popover.Cyf3CbLl.js +0 -221
  284. package/chunks/RadioGroup.D3omhLuC.js +0 -130
  285. package/chunks/Select.DOeJaqzM.js +0 -147
  286. package/chunks/Slider.d3gCkWL_.js +0 -309
  287. package/chunks/SystemFeedback.Dq3ZphgG.js +0 -38
  288. package/chunks/Text.utils.D_iOyOSH.js +0 -11
  289. package/chunks/TextUtility.Wbd4oQXI.js +0 -82
  290. package/chunks/Textarea.DhRMfiWu.js +0 -181
  291. package/chunks/Toast.KMEq0p-E.js +0 -76
  292. package/chunks/floating-ui.react.CP5A99-c.js +0 -2980
  293. package/chunks/translate.nuU7uChI.js +0 -8
  294. package/filelist.BaYCDtxD.js +0 -128
  295. package/filepreview.BCslhbM5.js +0 -94
  296. package/flag.DyZLEgAw.js +0 -50
  297. package/input.DNdSFW5k.js +0 -175
  298. package/inputfile.CTXJ_ZSi.js +0 -18
  299. package/inputsearch.JLM0fNPt.js +0 -15
  300. package/link.CArLlIsR.js +0 -81
  301. package/navigationtablist.BerRIzu-.js +0 -10
  302. package/numberindicator.ZGVRSmqf.js +0 -36
  303. package/optioncheckbox.BQo8riVL.js +0 -48
  304. package/pagination.Dm1WnFhY.js +0 -14
  305. package/progressindicator.1JRFwf-H.js +0 -53
  306. package/radio.DxdVKoxe.js +0 -137
  307. package/select.DVuQMz7l.js +0 -14
  308. package/step.CDNmsF4m.js +0 -82
  309. package/stepper.D0kSuiYh.js +0 -16
  310. package/switch.pN105F5-.js +0 -66
  311. package/text.D_e3JBvf.js +0 -72
@@ -1,14 +0,0 @@
1
- "use client";
2
- import "react/jsx-runtime";
3
- import "./chunks/index.cKLI89Eg.js";
4
- import "./chunks/index.DQOqod3i.js";
5
- import "react";
6
- import "./chunks/translate.nuU7uChI.js";
7
- import "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
8
- import "./chunks/AriaLiveRegions.utils.8ofDlHnN.js";
9
- import "./chunks/Button.Dauhc5op.js";
10
- import "./chunks/LinkButton.DHcfHamd.js";
11
- import { D as c } from "./chunks/Pagination.DhD8i5AV.js";
12
- export {
13
- c as DSPagination
14
- };
@@ -1,53 +0,0 @@
1
- "use client";
2
- import { jsx as a, jsxs as h, Fragment as n } from "react/jsx-runtime";
3
- import { d as N } from "./chunks/index.cKLI89Eg.js";
4
- import { c as f } from "./chunks/index.DQOqod3i.js";
5
- import { DSSpinner as v } from "./spinner.D1W-X96t.js";
6
- import './assets/progressindicator.Cbbzo5-b.css';const x = "ds-input-file_root_csqwh_1", F = "ds-input-file_bar-background_csqwh_7", q = "ds-input-file_bar-fill_csqwh_24", B = "ds-input-file_bar-fill--error_csqwh_29", $ = "ds-input-file_bar-fill-indeterminate_csqwh_40", I = "ds-input-file_percent-label_csqwh_61", k = "ds-input-file_progress-text_csqwh_75", L = "ds-input-file_progress-bar_csqwh_91", s = {
7
- root: x,
8
- barBackground: F,
9
- barFill: q,
10
- barFillError: B,
11
- barFillIndeterminate: $,
12
- percentLabel: I,
13
- progressText: k,
14
- progressBar: L
15
- }, y = (w) => {
16
- const r = N.c(16), {
17
- className: o,
18
- fileName: _,
19
- id: c,
20
- percent: l,
21
- progressStatus: g,
22
- variant: d,
23
- t: e
24
- } = w, i = l === "indeterminate";
25
- let p;
26
- r[0] !== e ? (p = e("uploadStatus"), r[0] = e, r[1] = p) : p = r[1];
27
- let b;
28
- r[2] !== _ || r[3] !== i || r[4] !== e ? (b = i ? `, ${e("fileListIndeterminate", [_])}` : "", r[2] = _, r[3] = i, r[4] = e, r[5] = b) : b = r[5];
29
- const t = `${p}${b}`, u = i ? void 0 : l;
30
- let m;
31
- return r[6] !== u || r[7] !== o || r[8] !== c || r[9] !== i || r[10] !== l || r[11] !== g || r[12] !== t || r[13] !== e || r[14] !== d ? (m = d === "text" ? /* @__PURE__ */ a(n, { children: /* @__PURE__ */ a("span", { id: c, className: f(s.root, s.progressText, o), role: "progressbar", "aria-label": t, "aria-valuenow": u, children: i ? /* @__PURE__ */ h(n, { children: [
32
- /* @__PURE__ */ a(v, { aria: {
33
- "aria-label": e("uploading")
34
- } }),
35
- /* @__PURE__ */ a("span", { children: e("uploading") })
36
- ] }) : `${t} ${l}%` }) }) : d === "bar" ? /* @__PURE__ */ h(n, { children: [
37
- /* @__PURE__ */ a("div", { id: c, className: f(s.root, s.progressBar, o), role: "progressbar", "aria-label": t, "aria-valuenow": u, children: i ? /* @__PURE__ */ a(n, { children: /* @__PURE__ */ a("div", { className: s.barBackground, "aria-hidden": "true", children: /* @__PURE__ */ a("div", { className: s.barFillIndeterminate }) }) }) : /* @__PURE__ */ h(n, { children: [
38
- /* @__PURE__ */ a("div", { className: s.barBackground, "aria-hidden": "true", children: /* @__PURE__ */ a("div", { className: f(s.barFill, {
39
- [s.barFillError]: g === "error"
40
- }), style: {
41
- width: `${l}%`
42
- } }) }),
43
- /* @__PURE__ */ h("span", { className: s.percentLabel, "aria-hidden": "true", children: [
44
- l,
45
- "%"
46
- ] })
47
- ] }) }),
48
- i && /* @__PURE__ */ a("div", { className: s.progressText, children: e("uploading") })
49
- ] }) : null, r[6] = u, r[7] = o, r[8] = c, r[9] = i, r[10] = l, r[11] = g, r[12] = t, r[13] = e, r[14] = d, r[15] = m) : m = r[15], m;
50
- };
51
- export {
52
- y as ProgressIndicator
53
- };
package/radio.DxdVKoxe.js DELETED
@@ -1,137 +0,0 @@
1
- "use client";
2
- import { jsx as x, jsxs as fe } from "react/jsx-runtime";
3
- import { d as pe } from "./chunks/index.cKLI89Eg.js";
4
- import { c as H } from "./chunks/index.DQOqod3i.js";
5
- import { forwardRef as Ce, useRef as me, useState as ye, useEffect as ke } from "react";
6
- import './assets/radio.l9OTraQU.css';const _e = (B) => B.replace(/\s+/g, ""), De = "ds-radio_root_14ige_1", Ne = "ds-radio_root--disabled_14ige_24", We = "ds-radio_root--with-custom-area_14ige_27", xe = "ds-radio_root--with-custom-area--above_14ige_30", He = "ds-radio_radio_14ige_38", Be = "ds-radio_dot_14ige_56", Ue = "ds-radio_radio--invalid_14ige_80", Ie = "ds-radio_label_14ige_85", Se = "ds-radio_label--bold_14ige_102", $e = "ds-radio_label--with-custom-area_14ige_113", we = "ds-radio_custom-area_14ige_117", je = "ds-radio_custom-area--disabled_14ige_125", Ee = "ds-radio_custom-area--above_14ige_128", Ve = "ds-radio_hint_14ige_135", Oe = "ds-radio_hint--visible_14ige_159", Re = "ds-radio_hint--unchecked-hidden_14ige_163", qe = "ds-radio_input_14ige_169", t = {
7
- root: De,
8
- rootDisabled: Ne,
9
- rootWithCustomArea: We,
10
- rootWithCustomAreaAbove: xe,
11
- radio: He,
12
- dot: Be,
13
- radioInvalid: Ue,
14
- label: Ie,
15
- labelBold: Se,
16
- labelWithCustomArea: $e,
17
- customArea: we,
18
- customAreaDisabled: je,
19
- customAreaAbove: Ee,
20
- hint: Ve,
21
- hintVisible: Oe,
22
- hintUncheckedHidden: Re,
23
- input: qe
24
- }, ze = Ce((B, _) => {
25
- const e = pe.c(92);
26
- let U, b, i, u, l, d, r, h, A, I, S, $, w, j, E, c;
27
- e[0] !== B ? ({
28
- label: d,
29
- name: r,
30
- value: c,
31
- checked: U,
32
- className: b,
33
- customArea: i,
34
- isCustomAreaAbove: I,
35
- defaultChecked: S,
36
- disabled: $,
37
- fieldsetId: u,
38
- hint: l,
39
- invalid: w,
40
- isBold: j,
41
- hideUncheckedHint: E,
42
- onChange: h,
43
- ...A
44
- } = B, e[0] = B, e[1] = U, e[2] = b, e[3] = i, e[4] = u, e[5] = l, e[6] = d, e[7] = r, e[8] = h, e[9] = A, e[10] = I, e[11] = S, e[12] = $, e[13] = w, e[14] = j, e[15] = E, e[16] = c) : (U = e[1], b = e[2], i = e[3], u = e[4], l = e[5], d = e[6], r = e[7], h = e[8], A = e[9], I = e[10], S = e[11], $ = e[12], w = e[13], j = e[14], E = e[15], c = e[16]);
45
- const f = I === void 0 ? !1 : I, be = S === void 0 ? !1 : S, s = $ === void 0 ? !1 : $, v = w === void 0 ? !1 : w, Z = j === void 0 ? !1 : j, n = E === void 0 ? !1 : E, Ae = me(null), o = me(null), [ve, ge] = ye(be), V = U !== void 0, a = V ? U : ve;
46
- let O, R;
47
- e[17] !== a || e[18] !== n ? (O = () => {
48
- o.current && (n ? (o.current.style.height === "0px" || o.current.style.height === "") && a ? (o.current.style.height = `${o.current.scrollHeight}px`, o.current.style.opacity = "1") : a || (o.current.style.opacity = "0", o.current.style.height = "0px", o.current.style.pointerEvents = "none") : (o.current.style.height === "0px" || o.current.style.height === "") && (o.current.style.height = "auto", o.current.style.opacity = "1"));
49
- }, R = [o, a, n], e[17] = a, e[18] = n, e[19] = O, e[20] = R) : (O = e[19], R = e[20]), ke(O, R);
50
- const ee = !!i, te = !!i && f;
51
- let q;
52
- e[21] !== b || e[22] !== s || e[23] !== te || e[24] !== ee ? (q = H(t.root, {
53
- [t.rootDisabled]: s,
54
- [t.rootWithCustomArea]: ee,
55
- [t.rootWithCustomAreaAbove]: te
56
- }, b), e[21] = b, e[22] = s, e[23] = te, e[24] = ee, e[25] = q) : q = e[25];
57
- const se = q, oe = !!i;
58
- let z;
59
- e[26] !== Z || e[27] !== oe ? (z = H(t.label, {
60
- [t.labelBold]: Z,
61
- [t.labelWithCustomArea]: oe
62
- }), e[26] = Z, e[27] = oe, e[28] = z) : z = e[28];
63
- const ie = z;
64
- let F;
65
- e[29] !== a || e[30] !== n || e[31] !== l ? (F = () => !n && l ? !0 : !!(n && l && a), e[29] = a, e[30] = n, e[31] = l, e[32] = F) : F = e[32];
66
- const G = F, le = n && !G();
67
- let J;
68
- e[33] !== G || e[34] !== le ? (J = H(t.hint, {
69
- [t.hintUncheckedHidden]: le,
70
- [t.hintVisible]: G()
71
- }), e[33] = G, e[34] = le, e[35] = J) : J = e[35];
72
- const ae = J;
73
- let K;
74
- e[36] !== v ? (K = H(t.radio, {
75
- [t.radioInvalid]: v
76
- }), e[36] = v, e[37] = K) : K = e[37];
77
- const re = K;
78
- let L;
79
- e[38] !== s ? (L = H(t.customArea, {
80
- [t.customAreaDisabled]: s
81
- }), e[38] = s, e[39] = L) : L = e[39];
82
- const ce = L;
83
- let M;
84
- e[40] !== s ? (M = H(t.customArea, t.customAreaAbove, {
85
- [t.customAreaDisabled]: s
86
- }), e[40] = s, e[41] = M) : M = e[41];
87
- const ne = M;
88
- let P;
89
- e[42] !== s || e[43] !== V || e[44] !== h ? (P = (m) => {
90
- if (s) {
91
- m.preventDefault();
92
- return;
93
- }
94
- V || ge(m.target.checked), h && h(m);
95
- }, e[42] = s, e[43] = V, e[44] = h, e[45] = P) : P = e[45];
96
- const de = P;
97
- let Q;
98
- e[46] !== l || e[47] !== r || e[48] !== c ? (Q = l ? `${_e(r)}-${_e(c)}-description` : void 0, e[46] = l, e[47] = r, e[48] = c, e[49] = Q) : Q = e[49];
99
- const g = Q;
100
- let T;
101
- e[50] !== g || e[51] !== u || e[52] !== v ? (T = [v && u && `${u}-feedback`, g].filter(Boolean).join(" ") || void 0, e[50] = g, e[51] = u, e[52] = v, e[53] = T) : T = e[53];
102
- const ue = T;
103
- let p;
104
- e[54] !== _ ? (p = (m) => {
105
- typeof _ == "function" ? _(m) : _ !== null && (_.current = m), Ae.current = m;
106
- }, e[54] = _, e[55] = p) : p = e[55];
107
- const he = typeof d == "string" ? d : void 0;
108
- let C;
109
- e[56] !== ue || e[57] !== a || e[58] !== s || e[59] !== de || e[60] !== r || e[61] !== A || e[62] !== p || e[63] !== he || e[64] !== c ? (C = /* @__PURE__ */ x("input", { type: "radio", value: c, name: r, className: t.input, ref: p, onChange: de, ...A, disabled: s, checked: a, "aria-label": he, "aria-describedby": ue }), e[56] = ue, e[57] = a, e[58] = s, e[59] = de, e[60] = r, e[61] = A, e[62] = p, e[63] = he, e[64] = c, e[65] = C) : C = e[65];
110
- let X;
111
- e[66] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (X = /* @__PURE__ */ x("div", { className: t.dot }), e[66] = X) : X = e[66];
112
- let y;
113
- e[67] !== re ? (y = /* @__PURE__ */ x("span", { className: re, children: X }), e[67] = re, e[68] = y) : y = e[68];
114
- let k;
115
- e[69] !== i || e[70] !== ne || e[71] !== f ? (k = i && f && /* @__PURE__ */ x("div", { className: ne, children: i }), e[69] = i, e[70] = ne, e[71] = f, e[72] = k) : k = e[72];
116
- let D;
117
- e[73] !== i || e[74] !== ce || e[75] !== f ? (D = i && !f && /* @__PURE__ */ x("div", { className: ce, children: i }), e[73] = i, e[74] = ce, e[75] = f, e[76] = D) : D = e[76];
118
- let N;
119
- e[77] !== g || e[78] !== l || e[79] !== ae ? (N = /* @__PURE__ */ x("span", { id: g, className: ae, ref: o, children: l }), e[77] = g, e[78] = l, e[79] = ae, e[80] = N) : N = e[80];
120
- let W;
121
- e[81] !== d || e[82] !== ie || e[83] !== D || e[84] !== N ? (W = /* @__PURE__ */ fe("span", { className: ie, children: [
122
- d,
123
- D,
124
- N
125
- ] }), e[81] = d, e[82] = ie, e[83] = D, e[84] = N, e[85] = W) : W = e[85];
126
- let Y;
127
- return e[86] !== se || e[87] !== C || e[88] !== y || e[89] !== k || e[90] !== W ? (Y = /* @__PURE__ */ fe("label", { className: se, children: [
128
- C,
129
- y,
130
- k,
131
- W
132
- ] }), e[86] = se, e[87] = C, e[88] = y, e[89] = k, e[90] = W, e[91] = Y) : Y = e[91], Y;
133
- });
134
- ze.displayName = "DSRadio";
135
- export {
136
- ze as DSRadio
137
- };
@@ -1,14 +0,0 @@
1
- "use client";
2
- import "react/jsx-runtime";
3
- import "./chunks/index.DQOqod3i.js";
4
- import "react";
5
- import "./chunks/useBreakpoint.1txsny17.js";
6
- import "./chunks/index.cKLI89Eg.js";
7
- import "./asterisk.Dwtdwpkq.js";
8
- import "./chunks/Icon.B0WqYErA.js";
9
- import "./chunks/Popover.Cyf3CbLl.js";
10
- import "./chunks/SystemFeedback.Dq3ZphgG.js";
11
- import { D as S } from "./chunks/Select.DOeJaqzM.js";
12
- export {
13
- S as DSSelect
14
- };
package/step.CDNmsF4m.js DELETED
@@ -1,82 +0,0 @@
1
- "use client";
2
- import { jsx as o, jsxs as V } from "react/jsx-runtime";
3
- import { d as P } from "./chunks/index.cKLI89Eg.js";
4
- import { c as D } from "./chunks/index.DQOqod3i.js";
5
- import "react";
6
- import { D as A } from "./chunks/Button.Dauhc5op.js";
7
- import { D as E } from "./chunks/Icon.B0WqYErA.js";
8
- import './assets/step.Ch508u7I.css';const I = "ds-stepper_step_f4kic_1", R = "ds-stepper_step-content_f4kic_5", q = "ds-stepper_step-button_f4kic_12", w = "ds-stepper_step-button--horizontal_f4kic_49", F = "ds-stepper_step-button--vertical_f4kic_58", G = "ds-stepper_step-button--current_f4kic_69", J = "ds-stepper_step-button--completed_f4kic_107", K = "ds-stepper_step-button--disabled_f4kic_135", M = "ds-stepper_step-number_f4kic_166", Q = "ds-stepper_step-label_f4kic_176", T = "ds-stepper_step-hint_f4kic_184", U = "ds-stepper_step-number--current_f4kic_212", W = "ds-stepper_step-label--current_f4kic_238", X = "ds-stepper_sr-only_f4kic_266", s = {
9
- step: I,
10
- stepContent: R,
11
- stepButton: q,
12
- stepButtonHorizontal: w,
13
- stepButtonVertical: F,
14
- stepButtonCurrent: G,
15
- stepButtonCompleted: J,
16
- stepButtonDisabled: K,
17
- stepNumber: M,
18
- stepLabel: Q,
19
- stepHint: T,
20
- stepNumberCurrent: U,
21
- stepLabelCurrent: W,
22
- srOnly: X
23
- }, Y = (r, t, e, p, _) => {
24
- const b = `${r("step")} ${t + 1} ${r("of")} ${e}`, f = _ ? r("current") : p.state === "completed" ? r("completed") : "";
25
- return [b, p.label, f].filter(Boolean).join(" - ");
26
- }, ot = (r) => {
27
- const t = P.c(41), {
28
- step: e,
29
- index: p,
30
- stepsCount: _,
31
- t: b,
32
- onStepClick: f,
33
- buttonRef: S,
34
- orientation: v
35
- } = r, n = e.state === "current", l = e.disabled || !e.state;
36
- let C;
37
- t[0] !== p || t[1] !== n || t[2] !== e || t[3] !== _ || t[4] !== b ? (C = Y(b, p, _, e, n), t[0] = p, t[1] = n, t[2] = e, t[3] = _, t[4] = b, t[5] = C) : C = t[5];
38
- const y = C, z = v === "horizontal" ? s.stepButtonHorizontal : s.stepButtonVertical, H = e.state === "completed";
39
- let B;
40
- t[6] !== n || t[7] !== l || t[8] !== z || t[9] !== H ? (B = D(s.stepButton, z, {
41
- [s.stepButtonCurrent]: n,
42
- [s.stepButtonCompleted]: H,
43
- [s.stepButtonDisabled]: l
44
- }), t[6] = n, t[7] = l, t[8] = z, t[9] = H, t[10] = B) : B = t[10];
45
- const x = B;
46
- let h;
47
- t[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = D(s.stepContent), t[11] = h) : h = t[11];
48
- const O = h;
49
- let k;
50
- t[12] !== n ? (k = D(s.stepNumber, {
51
- [s.stepNumberCurrent]: n
52
- }), t[12] = n, t[13] = k) : k = t[13];
53
- const $ = k;
54
- let N;
55
- t[14] !== n ? (N = D(s.stepLabel, {
56
- [s.stepLabelCurrent]: n
57
- }), t[14] = n, t[15] = N) : N = t[15];
58
- const g = N, j = n ? "step" : void 0;
59
- let c;
60
- t[16] !== p || t[17] !== e.state ? (c = e.state === "completed" ? /* @__PURE__ */ o(E, { name: "check", size: "medium", theme: "light" }) : p + 1, t[16] = p, t[17] = e.state, t[18] = c) : c = t[18];
61
- let a;
62
- t[19] !== $ || t[20] !== c ? (a = /* @__PURE__ */ o("span", { className: $, "aria-hidden": "true", children: c }), t[19] = $, t[20] = c, t[21] = a) : a = t[21];
63
- let i;
64
- t[22] !== e.label || t[23] !== g ? (i = /* @__PURE__ */ o("span", { className: g, children: e.label }), t[22] = e.label, t[23] = g, t[24] = i) : i = t[24];
65
- let u;
66
- t[25] !== e.hint ? (u = e.hint && /* @__PURE__ */ o("span", { className: s.stepHint, children: e.hint }), t[25] = e.hint, t[26] = u) : u = t[26];
67
- let d;
68
- t[27] !== y ? (d = /* @__PURE__ */ o("span", { className: s.srOnly, children: y }), t[27] = y, t[28] = d) : d = t[28];
69
- let m;
70
- t[29] !== a || t[30] !== i || t[31] !== u || t[32] !== d ? (m = /* @__PURE__ */ V("span", { className: O, children: [
71
- a,
72
- i,
73
- u,
74
- d
75
- ] }), t[29] = a, t[30] = i, t[31] = u, t[32] = d, t[33] = m) : m = t[33];
76
- let L;
77
- return t[34] !== S || t[35] !== l || t[36] !== f || t[37] !== x || t[38] !== m || t[39] !== j ? (L = /* @__PURE__ */ o("li", { className: s.step, children: /* @__PURE__ */ o(A, { type: "button", variant: "ghost", className: x, "aria-current": j, disabled: l, onClick: f, ref: S, children: m }) }), t[34] = S, t[35] = l, t[36] = f, t[37] = x, t[38] = m, t[39] = j, t[40] = L) : L = t[40], L;
78
- };
79
- export {
80
- ot as StepperStep,
81
- ot as default
82
- };
@@ -1,16 +0,0 @@
1
- "use client";
2
- import "react/jsx-runtime";
3
- import "./chunks/index.DQOqod3i.js";
4
- import "react";
5
- import "./chunks/helpers.CexwVao7.js";
6
- import "./chunks/is-animation-disabled.B-V_68K-.js";
7
- import "./chunks/translate.nuU7uChI.js";
8
- import "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
9
- import "./chunks/index.cKLI89Eg.js";
10
- import "./chunks/AriaLiveRegions.utils.8ofDlHnN.js";
11
- import "./scroller.CwTXbzb8.js";
12
- import { D as l } from "./chunks/Stepper.Bqnak38-.js";
13
- import "./step.CDNmsF4m.js";
14
- export {
15
- l as DSStepper
16
- };
@@ -1,66 +0,0 @@
1
- "use client";
2
- import { jsxs as O, jsx as h } from "react/jsx-runtime";
3
- import { d as $ } from "./chunks/index.cKLI89Eg.js";
4
- import { c as q } from "./chunks/index.DQOqod3i.js";
5
- import { forwardRef as z } from "react";
6
- import { D as A } from "./chunks/Icon.B0WqYErA.js";
7
- import { DSSpinner as B } from "./spinner.D1W-X96t.js";
8
- import './assets/switch.DYamtd9O.css';const F = "ds-switch_root_gdcld_1", G = "ds-switch_root--label-right_gdcld_40", H = "ds-switch_root--stretched_gdcld_43", J = "ds-switch_loader_gdcld_53", K = "ds-switch_thumb_gdcld_111", M = "ds-switch_root--checked_gdcld_126", o = {
9
- root: F,
10
- rootLabelRight: G,
11
- rootStretched: H,
12
- switch: "ds-switch_switch_gdcld_48",
13
- loader: J,
14
- thumb: K,
15
- rootChecked: M
16
- }, P = z((C, N) => {
17
- const t = $.c(38);
18
- let c, l, i, s, r, m, f, _, b, g;
19
- t[0] !== C ? ({
20
- children: l,
21
- aria: c,
22
- alignLabel: m,
23
- checked: f,
24
- className: i,
25
- disabled: _,
26
- loading: b,
27
- stretched: g,
28
- onClick: s,
29
- ...r
30
- } = C, t[0] = C, t[1] = c, t[2] = l, t[3] = i, t[4] = s, t[5] = r, t[6] = m, t[7] = f, t[8] = _, t[9] = b, t[10] = g) : (c = t[1], l = t[2], i = t[3], s = t[4], r = t[5], m = t[6], f = t[7], _ = t[8], b = t[9], g = t[10]);
31
- const E = m === void 0 ? "left" : m, p = f === void 0 ? !1 : f, u = _ === void 0 ? !1 : _, e = b === void 0 ? !1 : b, I = g === void 0 ? !1 : g, D = p === !0, L = I === !0, v = E === "right";
32
- let w;
33
- t[11] !== i || t[12] !== D || t[13] !== L || t[14] !== v ? (w = q(o.root, i, {
34
- [o.rootChecked]: D,
35
- [o.rootStretched]: L,
36
- [o.rootLabelRight]: v
37
- }), t[11] = i, t[12] = D, t[13] = L, t[14] = v, t[15] = w) : w = t[15];
38
- const x = w;
39
- let k;
40
- t[16] !== u || t[17] !== e || t[18] !== s ? (k = (j) => {
41
- if (u || e) {
42
- j.preventDefault();
43
- return;
44
- }
45
- s && s(j);
46
- }, t[16] = u, t[17] = e, t[18] = s, t[19] = k) : k = t[19];
47
- const y = k, R = u || e;
48
- let a;
49
- t[20] !== l ? (a = /* @__PURE__ */ h("span", { children: l }), t[20] = l, t[21] = a) : a = t[21];
50
- let d;
51
- t[22] !== e ? (d = !e && /* @__PURE__ */ h("span", { className: o.switch, children: /* @__PURE__ */ h("span", { className: o.thumb, children: /* @__PURE__ */ h(A, { name: "check", "aria-hidden": "true" }) }) }), t[22] = e, t[23] = d) : d = t[23];
52
- let n;
53
- t[24] !== e ? (n = e && /* @__PURE__ */ h("span", { className: o.loader, children: /* @__PURE__ */ h(B, { aria: {
54
- "aria-label": "Loading state"
55
- } }) }), t[24] = e, t[25] = n) : n = t[25];
56
- let S;
57
- return t[26] !== c || t[27] !== p || t[28] !== y || t[29] !== e || t[30] !== N || t[31] !== r || t[32] !== x || t[33] !== R || t[34] !== a || t[35] !== d || t[36] !== n ? (S = /* @__PURE__ */ O("button", { className: x, onClick: y, ...c, ...r, type: "button", role: "switch", "aria-checked": p, "aria-disabled": R, "aria-busy": e, ref: N, children: [
58
- a,
59
- d,
60
- n
61
- ] }), t[26] = c, t[27] = p, t[28] = y, t[29] = e, t[30] = N, t[31] = r, t[32] = x, t[33] = R, t[34] = a, t[35] = d, t[36] = n, t[37] = S) : S = t[37], S;
62
- });
63
- P.displayName = "DSSwitch";
64
- export {
65
- P as DSSwitch
66
- };
package/text.D_e3JBvf.js DELETED
@@ -1,72 +0,0 @@
1
- "use client";
2
- import { jsx as $ } from "react/jsx-runtime";
3
- import { d as z } from "./chunks/index.cKLI89Eg.js";
4
- import { c as P } from "./chunks/index.DQOqod3i.js";
5
- import { useRef as R, useEffect as j } from "react";
6
- import { g as v } from "./chunks/helpers.CexwVao7.js";
7
- import { i as N } from "./chunks/Text.utils.D_iOyOSH.js";
8
- import './assets/text.BA1eUihR.css';const C = "ds-text_root_1x9it_6", O = "ds-text_root--large_1x9it_15", V = "ds-text_root--large-bold_1x9it_26", W = "ds-text_root--medium_1x9it_37", q = "ds-text_root--medium-bold_1x9it_48", A = "ds-text_root--small_1x9it_59", F = "ds-text_root--small-bold_1x9it_70", G = "ds-text_root--x-small_1x9it_81", H = "ds-text_root--x-small-bold_1x9it_92", I = "ds-text_root--xx-small_1x9it_103", J = "ds-text_root--theme-dark_1x9it_197", o = {
9
- root: C,
10
- rootLarge: O,
11
- rootLargeBold: V,
12
- rootMedium: W,
13
- rootMediumBold: q,
14
- rootSmall: A,
15
- rootSmallBold: F,
16
- rootXSmall: G,
17
- rootXSmallBold: H,
18
- rootXxSmall: I,
19
- rootThemeDark: J
20
- }, ot = (g) => {
21
- const t = z.c(28);
22
- let s, r, i, a, m, n, d;
23
- t[0] !== g ? ({
24
- children: s,
25
- className: r,
26
- size: a,
27
- tag: m,
28
- theme: n,
29
- weight: d,
30
- ...i
31
- } = g, t[0] = g, t[1] = s, t[2] = r, t[3] = i, t[4] = a, t[5] = m, t[6] = n, t[7] = d) : (s = t[1], r = t[2], i = t[3], a = t[4], m = t[5], n = t[6], d = t[7]);
32
- const e = a === void 0 ? "medium" : a, l = m === void 0 ? "p" : m, y = n === void 0 ? "light" : n, c = d === void 0 ? "normal" : d, x = R(null);
33
- let _, h;
34
- t[8] !== l ? (_ = () => {
35
- if (x.current && process.env.NODE_ENV !== "production")
36
- t: switch (l) {
37
- case "li": {
38
- if (!N(x.current, "ul, ol"))
39
- throw Error(v("DSText", `The DSText component with the tag "${l}" is not within a list element (ul, ol). This may cause issues with list semantics. Please ensure the DSText component is within a list element.`));
40
- break t;
41
- }
42
- case "dt":
43
- case "dd": {
44
- if (!N(x.current, "dl"))
45
- throw Error(v("DSText", `The DSText component with the tag "${l}" is not within a list element (dl). This may cause issues with list semantics. Please ensure the DSText component is within a list element.`));
46
- break t;
47
- }
48
- default:
49
- return;
50
- }
51
- }, h = [l], t[8] = l, t[9] = _, t[10] = h) : (_ = t[9], h = t[10]), j(_, h);
52
- const f = l, p = e === "large", T = e === "large" && c === "bold", w = e == "medium", B = e === "medium" && c === "bold", D = e == "small", b = e == "small" && c === "bold", X = e == "x-small", k = e == "x-small" && c === "bold", E = e == "xx-small", M = y === "dark";
53
- let u;
54
- t[11] !== r || t[12] !== B || t[13] !== D || t[14] !== b || t[15] !== X || t[16] !== k || t[17] !== E || t[18] !== M || t[19] !== p || t[20] !== T || t[21] !== w ? (u = P(o.root, r, {
55
- [o.rootLarge]: p,
56
- [o.rootLargeBold]: T,
57
- [o.rootMedium]: w,
58
- [o.rootMediumBold]: B,
59
- [o.rootSmall]: D,
60
- [o.rootSmallBold]: b,
61
- [o.rootXSmall]: X,
62
- [o.rootXSmallBold]: k,
63
- [o.rootXxSmall]: E,
64
- [o.rootThemeDark]: M
65
- }), t[11] = r, t[12] = B, t[13] = D, t[14] = b, t[15] = X, t[16] = k, t[17] = E, t[18] = M, t[19] = p, t[20] = T, t[21] = w, t[22] = u) : u = t[22];
66
- const L = u;
67
- let S;
68
- return t[23] !== f || t[24] !== s || t[25] !== i || t[26] !== L ? (S = /* @__PURE__ */ $(f, { className: L, ref: x, ...i, children: s }), t[23] = f, t[24] = s, t[25] = i, t[26] = L, t[27] = S) : S = t[27], S;
69
- };
70
- export {
71
- ot as DSText
72
- };