@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,8 +0,0 @@
1
- "use client";
2
- const s = (n, r, t = []) => {
3
- let a = r[n];
4
- return a = a.replace(/\{(\d+)\}/g, (l, e) => e < t.length ? t[e] : ""), a;
5
- }, o = (n) => (r, t) => s(r, n, t);
6
- export {
7
- o as t
8
- };
@@ -1,128 +0,0 @@
1
- "use client";
2
- import { jsxs as _, jsx as u } from "react/jsx-runtime";
3
- import { d as N } from "./chunks/index.cKLI89Eg.js";
4
- import { c as R } from "./chunks/index.DQOqod3i.js";
5
- import { D as L } from "./chunks/Button.Dauhc5op.js";
6
- import { D as F } from "./chunks/SystemFeedback.Dq3ZphgG.js";
7
- import { FilePreview as B } from "./filepreview.BCslhbM5.js";
8
- import { ProgressIndicator as A } from "./progressindicator.1JRFwf-H.js";
9
- import './assets/filelist.CHVupL8T.css';const I = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), y = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), U = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), D = /[^\p{L}\d]+/giu, g = "$1\0$2", k = "";
10
- function E(r) {
11
- let e = r.trim();
12
- e = e.replace(I, g).replace(y, g), e = e.replace(D, "\0");
13
- let a = 0, o = e.length;
14
- for (; e.charAt(a) === "\0"; )
15
- a++;
16
- if (a === o)
17
- return [];
18
- for (; e.charAt(o - 1) === "\0"; )
19
- o--;
20
- return e.slice(a, o).split(/\0/g);
21
- }
22
- function T(r) {
23
- const e = E(r);
24
- for (let a = 0; a < e.length; a++) {
25
- const o = e[a], s = U.exec(o);
26
- if (s) {
27
- const n = s.index + (s[1] ?? s[2]).length;
28
- e.splice(a, 1, o.slice(0, n), o.slice(n));
29
- }
30
- }
31
- return e;
32
- }
33
- function W(r, e) {
34
- const [a, o, s] = z(r, e);
35
- return a + o.map($(e?.locale)).join(e?.delimiter ?? " ") + s;
36
- }
37
- function S(r, e) {
38
- return W(r, { delimiter: "-", ...e });
39
- }
40
- function $(r) {
41
- return r === !1 ? (e) => e.toLowerCase() : (e) => e.toLocaleLowerCase(r);
42
- }
43
- function z(r, e = {}) {
44
- const a = e.split ?? (e.separateNumbers ? T : E), o = e.prefixCharacters ?? k, s = e.suffixCharacters ?? k;
45
- let n = 0, i = r.length;
46
- for (; n < r.length; ) {
47
- const p = r.charAt(n);
48
- if (!o.includes(p))
49
- break;
50
- n++;
51
- }
52
- for (; i > n; ) {
53
- const p = i - 1, c = r.charAt(p);
54
- if (!s.includes(c))
55
- break;
56
- i = p;
57
- }
58
- return [
59
- r.slice(0, n),
60
- a(r.slice(n, i)),
61
- r.slice(i)
62
- ];
63
- }
64
- const M = "ds-input-file_root_xvo5t_1", j = "ds-input-file_file-wrapper_xvo5t_7", X = "ds-input-file_file-wrapper--invalid_xvo5t_16", G = "ds-input-file_file-details_xvo5t_20", H = "ds-input-file_file-name_xvo5t_34", K = "ds-input-file_file-size_xvo5t_38", O = "ds-input-file_progress-bar_xvo5t_54", V = "ds-input-file_feedback_xvo5t_59", d = {
65
- root: M,
66
- fileWrapper: j,
67
- fileWrapperInvalid: X,
68
- fileDetails: G,
69
- fileName: H,
70
- fileSize: K,
71
- progressBar: O,
72
- feedback: V
73
- }, q = (r) => r >= 1024 * 1024 ? (r / (1024 * 1024)).toFixed(1) + " MB" : r >= 1024 ? (r / 1024).toFixed(0) + " KB" : r + " B", ae = (r) => {
74
- const e = N.c(11), {
75
- files: a,
76
- onRemoveFile: o,
77
- t: s,
78
- showProgress: n
79
- } = r, i = J, p = Q;
80
- let c;
81
- if (e[0] !== a || e[1] !== o || e[2] !== n || e[3] !== s) {
82
- let h;
83
- e[5] !== o || e[6] !== n || e[7] !== s ? (h = (t, b) => {
84
- const l = t.uploadStatus === "error", m = t.uploadStatus === "success", f = t.uploadStatus === "uploading";
85
- let P = "indeterminate";
86
- if (t.uploadPercent !== void 0 && t.uploadPercent !== "indeterminate") {
87
- const C = m ? 100 : 0, w = t.uploadPercent === void 0 ? C : t.uploadPercent;
88
- P = Math.min(Math.max(w, 0), 100);
89
- }
90
- const x = f ? s("fileListCancelUploadButtonLabel", [t.name]) : m ? s("fileListDeleteFileButtonLabel", [t.name]) : s("fileListRemoveSelectionButtonLabel", [t.name]);
91
- return /* @__PURE__ */ _("div", { className: R(d.fileWrapper, {
92
- [d.fileWrapperInvalid]: l
93
- }), "aria-busy": f ? "true" : "false", "aria-describedby": f ? p(t.name) : i(t.name), "aria-invalid": l ? !0 : void 0, children: [
94
- /* @__PURE__ */ u(B, { file: t, t: s }),
95
- /* @__PURE__ */ _("div", { className: d.fileDetails, children: [
96
- /* @__PURE__ */ u("span", { className: d.fileName, children: t.name }),
97
- /* @__PURE__ */ u("span", { className: d.fileSize, children: q(t.size) })
98
- ] }),
99
- /* @__PURE__ */ _("div", { children: [
100
- l && t.retryButtonProps && /* @__PURE__ */ _(L, { ...t.retryButtonProps, onClick: t.retryButtonProps.onClick, hideLabel: !0, iconName: "arrow-counterclockwise", size: "small", variant: "ghost", type: "button", "aria-describedby": t.feedback ? i(t.name) : void 0, tooltip: s("retry"), children: [
101
- s("retry"),
102
- "."
103
- ] }),
104
- (f || m) && !t.removeButtonProps?.onClick ? null : /* @__PURE__ */ _(L, { ...t.removeButtonProps, onClick: () => {
105
- t.uploadStatus !== void 0 && t.removeButtonProps?.onClick ? t.removeButtonProps?.onClick() : o(b);
106
- }, hideLabel: !0, iconName: "cross", size: "small", variant: "ghost", type: "button", "aria-describedby": t.feedback && l ? i(t.name) : void 0, tooltip: x, children: [
107
- x,
108
- "."
109
- ] })
110
- ] }),
111
- (f || l) && n && /* @__PURE__ */ u(A, { id: p(t.name), fileName: t.name, percent: P, progressStatus: l ? "error" : "uploading", className: d.progressBar, variant: n, t: s }),
112
- (t.feedback && (l || m) || t.feedback === void 0 && m) && /* @__PURE__ */ u(F, { variant: l ? "error" : "success", id: i(t.name), message: t.feedback || s("success"), className: d.feedback })
113
- ] }, b + t.name);
114
- }, e[5] = o, e[6] = n, e[7] = s, e[8] = h) : h = e[8], c = a.map(h), e[0] = a, e[1] = o, e[2] = n, e[3] = s, e[4] = c;
115
- } else
116
- c = e[4];
117
- let v;
118
- return e[9] !== c ? (v = /* @__PURE__ */ u("div", { className: d.root, children: c }), e[9] = c, e[10] = v) : v = e[10], v;
119
- };
120
- function J(r) {
121
- return `file-feedback-${S(r)}`;
122
- }
123
- function Q(r) {
124
- return `progress-${S(r)}`;
125
- }
126
- export {
127
- ae as FileList
128
- };
@@ -1,94 +0,0 @@
1
- "use client";
2
- import { jsx as d } from "react/jsx-runtime";
3
- import { d as z } from "./chunks/index.cKLI89Eg.js";
4
- import { useState as N } from "react";
5
- import { D as w } from "./chunks/Icon.B0WqYErA.js";
6
- import './assets/filepreview.2cdH-1Xs.css';const S = "ds-input-file_preview_15s1u_1", E = "ds-input-file_root_15s1u_7", D = "ds-input-file_file-icon_15s1u_7", u = {
7
- preview: S,
8
- root: E,
9
- fileIcon: D
10
- }, x = {
11
- nonDisplayableImages: ["heic", "heif", "raw", "cr2", "cr3", "nef", "arw", "orf", "rw2", "dng", "svgz", "jp2", "jxl", "dds", "exr", "psd", "ai", "indd"],
12
- documents: [
13
- "doc",
14
- "docx",
15
- "odt",
16
- "fodt",
17
- "gdoc",
18
- "rtf",
19
- "dot",
20
- "dotx",
21
- "pages",
22
- "wpd",
23
- "abw",
24
- "tmd",
25
- "lwp",
26
- "wps",
27
- "wks",
28
- // Excel and spreadsheet formats
29
- "xls",
30
- "xlsx",
31
- "xlsm",
32
- "xlsb",
33
- "xlt",
34
- "xltx",
35
- "ods",
36
- "fods",
37
- "csv",
38
- "tsv",
39
- "gsheet"
40
- ],
41
- videos: ["mp4", "m4v", "mov", "webm", "ogv", "avi", "wmv", "flv", "f4v", "mkv", "3gp", "3g2", "ts", "vob", "rm", "rmvb", "mpeg", "mpg"],
42
- archives: ["zip", "rar", "7z", "tar", "gz", "tar.gz", "tgz", "xz", "tar.xz", "bz2", "tar.bz2", "lzma", "cab", "iso"]
43
- }, L = (f, e) => {
44
- const {
45
- documents: t,
46
- videos: r,
47
- archives: p
48
- } = x;
49
- return f.type.startsWith("image/") ? "file-type-image" : t.includes(e) ? "file-type-doc" : f.type === "application/pdf" ? "file-type-pdf" : f.type.startsWith("video/") && r.includes(e) ? "file-type-video" : p.includes(e) ? "file-type-zip" : "file";
50
- }, T = (f) => {
51
- const e = z.c(25), {
52
- file: t,
53
- t: r
54
- } = f, [p, h] = N(!1);
55
- let o, l, a, n, i;
56
- if (e[0] !== t || e[1] !== p || e[2] !== r) {
57
- i = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
58
- e: {
59
- const _ = t.name.split(".").pop()?.toLowerCase() || "", {
60
- nonDisplayableImages: I
61
- } = x, b = t.type.startsWith("image/") && !I.includes(_);
62
- if (b && p) {
63
- let s;
64
- e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ d("span", { className: u.root, children: /* @__PURE__ */ d(w, { "aria-hidden": "true", name: "file-type-image", className: u.fileIcon }) }), e[8] = s) : s = e[8], i = s;
65
- break e;
66
- }
67
- if (b) {
68
- let s;
69
- e[9] !== t ? (s = URL.createObjectURL(t), e[9] = t, e[10] = s) : s = e[10];
70
- let m;
71
- e[11] !== t.name || e[12] !== r ? (m = r("fileListPreviewAltText", [t.name]), e[11] = t.name, e[12] = r, e[13] = m) : m = e[13];
72
- let g;
73
- e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = () => {
74
- h(!0);
75
- }, e[14] = g) : g = e[14];
76
- let y;
77
- e[15] !== s || e[16] !== m ? (y = /* @__PURE__ */ d("img", { src: s, alt: m, className: u.preview, onError: g }), e[15] = s, e[16] = m, e[17] = y) : y = e[17], i = y;
78
- break e;
79
- }
80
- n = u.root, o = w, l = "true", a = L(t, _);
81
- }
82
- e[0] = t, e[1] = p, e[2] = r, e[3] = o, e[4] = l, e[5] = a, e[6] = n, e[7] = i;
83
- } else
84
- o = e[3], l = e[4], a = e[5], n = e[6], i = e[7];
85
- if (i !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel"))
86
- return i;
87
- let c;
88
- e[18] !== o || e[19] !== l || e[20] !== a ? (c = /* @__PURE__ */ d(o, { "aria-hidden": l, name: a, className: u.fileIcon }), e[18] = o, e[19] = l, e[20] = a, e[21] = c) : c = e[21];
89
- let v;
90
- return e[22] !== n || e[23] !== c ? (v = /* @__PURE__ */ d("span", { className: n, children: c }), e[22] = n, e[23] = c, e[24] = v) : v = e[24], v;
91
- };
92
- export {
93
- T as FilePreview
94
- };
package/flag.DyZLEgAw.js DELETED
@@ -1,50 +0,0 @@
1
- "use client";
2
- import { jsxs as y, jsx as p } from "react/jsx-runtime";
3
- import { d as L } from "./chunks/index.cKLI89Eg.js";
4
- import { c as u } from "./chunks/index.DQOqod3i.js";
5
- import { D as w } from "./chunks/Icon.B0WqYErA.js";
6
- import './assets/flag.CyCIPu_J.css';const b = "ds-flag_root_14d3h_1", x = "ds-flag_root--color-grey-light_14d3h_28", G = "ds-flag_root--color-yellow-light_14d3h_31", N = "ds-flag_root--color-red-light_14d3h_34", S = "ds-flag_root--color-green-light_14d3h_37", D = "ds-flag_root--color-orange-base_14d3h_40", C = {
7
- root: b,
8
- "root--color-grey-light": "ds-flag_root--color-grey-light_14d3h_28",
9
- rootColorGreyLight: x,
10
- "root--color-yellow-light": "ds-flag_root--color-yellow-light_14d3h_31",
11
- rootColorYellowLight: G,
12
- "root--color-red-light": "ds-flag_root--color-red-light_14d3h_34",
13
- rootColorRedLight: N,
14
- "root--color-green-light": "ds-flag_root--color-green-light_14d3h_37",
15
- rootColorGreenLight: S,
16
- "root--color-orange-base": "ds-flag_root--color-orange-base_14d3h_40",
17
- rootColorOrangeBase: D
18
- }, R = (n) => {
19
- const o = L.c(23);
20
- let e, s, r, t, l, c;
21
- o[0] !== n ? ({
22
- children: e,
23
- className: s,
24
- color: r,
25
- iconName: t,
26
- iconSource: l,
27
- ...c
28
- } = n, o[0] = n, o[1] = e, o[2] = s, o[3] = r, o[4] = t, o[5] = l, o[6] = c) : (e = o[1], s = o[2], r = o[3], t = o[4], l = o[5], c = o[6]);
29
- const g = typeof r == "string" && C[`root--color-${r}`];
30
- let a;
31
- o[7] !== r || o[8] !== g ? (a = g ? {} : {
32
- backgroundColor: r
33
- }, o[7] = r, o[8] = g, o[9] = a) : a = o[9];
34
- const _ = a, f = C[`root--color-${r}`];
35
- let d;
36
- o[10] !== s || o[11] !== g || o[12] !== f ? (d = u(C.root, s, {
37
- [f]: g
38
- }), o[10] = s, o[11] = g, o[12] = f, o[13] = d) : d = o[13];
39
- const m = d;
40
- let i;
41
- o[14] !== t || o[15] !== l ? (i = (t || l) && /* @__PURE__ */ p(w, { name: t, theme: "light", source: l, "aria-hidden": "true" }), o[14] = t, o[15] = l, o[16] = i) : i = o[16];
42
- let h;
43
- return o[17] !== e || o[18] !== _ || o[19] !== c || o[20] !== m || o[21] !== i ? (h = /* @__PURE__ */ y("span", { className: m, style: _, ...c, children: [
44
- i,
45
- e
46
- ] }), o[17] = e, o[18] = _, o[19] = c, o[20] = m, o[21] = i, o[22] = h) : h = o[22], h;
47
- };
48
- export {
49
- R as DSFlag
50
- };
package/input.DNdSFW5k.js DELETED
@@ -1,175 +0,0 @@
1
- "use client";
2
- import { jsxs as u, jsx as s } from "react/jsx-runtime";
3
- import { c as i } from "./chunks/index.DQOqod3i.js";
4
- import { forwardRef as _t, useState as b, useRef as C, useEffect as mt } from "react";
5
- import { u as M } from "./chunks/useBreakpoint.1txsny17.js";
6
- import "./chunks/index.cKLI89Eg.js";
7
- import { u as V } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
8
- import { Asterisk as bt } from "./asterisk.Dwtdwpkq.js";
9
- import { D as $ } from "./chunks/Button.Dauhc5op.js";
10
- import { D as gt } from "./chunks/Icon.B0WqYErA.js";
11
- import { D as ht } from "./chunks/Popover.Cyf3CbLl.js";
12
- import { D as vt } from "./chunks/SystemFeedback.Dq3ZphgG.js";
13
- import { v as It, b as xt, M as St, a as yt, s as Dt, i as R, c as Bt } from "./chunks/Input.utils.D78E4MGO.js";
14
- import './assets/input.BEOus9jX.css';const Nt = "ds-input_input_1v89g_1", kt = "ds-input_input--small_1v89g_9", Ct = "ds-input_input--invalid_1v89g_121", Rt = "ds-input_input--has-leading-icon_1v89g_179", Ht = "ds-input_input--has-action-button_1v89g_182", Lt = "ds-input_input--has-affix_1v89g_197", wt = "ds-input_input--is-ready_1v89g_211", At = "ds-input_root_1v89g_218", Wt = "ds-input_hint_1v89g_218", Pt = "ds-input_label-wrapper_1v89g_218", Tt = "ds-input_wrapper_1v89g_222", Et = "ds-input_affix_1v89g_228", Ft = "ds-input_affix--small_1v89g_249", Ot = "ds-input_prefix_1v89g_262", jt = "ds-input_suffix_1v89g_268", Xt = "ds-input_affix--disabled_1v89g_274", Mt = "ds-input_affix--readonly_1v89g_285", Vt = "ds-input_leading-icon_1v89g_321", $t = "ds-input_leading-icon--small_1v89g_333", Gt = "ds-input_leading-icon--disabled_1v89g_336", Ut = "ds-input_action-button_1v89g_345", Jt = "ds-input_label_1v89g_218", Kt = "ds-input_label--disabled_1v89g_364", Qt = "ds-input_label-wrapper--hidden_1v89g_376", Yt = "ds-input_feedback_1v89g_404", t = {
15
- input: Nt,
16
- inputSmall: kt,
17
- inputInvalid: Ct,
18
- inputHasLeadingIcon: Rt,
19
- inputHasActionButton: Ht,
20
- inputHasAffix: Lt,
21
- inputIsReady: wt,
22
- root: At,
23
- hint: Wt,
24
- labelWrapper: Pt,
25
- wrapper: Tt,
26
- affix: Et,
27
- affixSmall: Ft,
28
- prefix: Ot,
29
- suffix: jt,
30
- affixDisabled: Xt,
31
- affixReadonly: Mt,
32
- leadingIcon: Vt,
33
- leadingIconSmall: $t,
34
- leadingIconDisabled: Gt,
35
- actionButton: Ut,
36
- label: Jt,
37
- labelDisabled: Kt,
38
- labelWrapperHidden: Qt,
39
- feedback: Yt
40
- }, Zt = _t(({
41
- id: c,
42
- label: H,
43
- aria: L,
44
- actionButtonProps: w,
45
- className: G,
46
- disabled: n = !1,
47
- hint: g,
48
- hideLabel: A = !1,
49
- invalid: p = !1,
50
- leadingIconName: f,
51
- leadingIconSource: _,
52
- prefix: r,
53
- popoverContent: h,
54
- popoverInfoButtonProps: U,
55
- readonly: d = !1,
56
- required: W = !1,
57
- size: e = "medium",
58
- suffix: l,
59
- systemFeedback: v,
60
- type: o = "text",
61
- ...P
62
- }, m) => {
63
- process.env.NODE_ENV !== "production" && (It({
64
- hideLabel: M(A),
65
- id: c,
66
- label: H,
67
- prefix: r,
68
- popoverContent: h,
69
- suffix: l,
70
- leadingIconName: f,
71
- leadingIconSource: _,
72
- actionButtonProps: w
73
- }), xt(o, P.autoComplete));
74
- const {
75
- iconName: I,
76
- iconSource: x,
77
- label: J,
78
- onClick: K,
79
- ...Q
80
- } = w || {}, [Y, Z] = b(!1), [q, z] = b(!1), [S, tt] = b(!1), [at, nt] = b({}), y = C(null), st = (a) => {
81
- y.current = a, typeof m == "function" ? m(a) : m && (m.current = a);
82
- }, it = r?.substring(0, St), D = C(null), et = l?.substring(0, yt), B = C(null), T = M(A);
83
- V(() => {
84
- const a = e === "medium" ? 16 : 8, N = {};
85
- if (D.current) {
86
- const k = D.current.offsetWidth;
87
- N.paddingInlineStart = a + k + "px";
88
- }
89
- if (B.current) {
90
- const k = B.current.offsetWidth;
91
- N.paddingInlineEnd = a + k + "px";
92
- }
93
- nt(N), Z(!0);
94
- }, [r, l, e, q]), V(() => {
95
- (async () => "fonts" in document && (await document.fonts.load('1em "STIHL Contraface Digital Text Regular"'), z(!0)))();
96
- }, []), mt(() => {
97
- const a = Dt(R(o), Bt(o));
98
- tt(a);
99
- }, [o]);
100
- const E = i(t.affix, {
101
- [t.affixSmall]: e === "small",
102
- [t.affixDisabled]: n,
103
- [t.affixReadonly]: d
104
- }), F = `${c}-label`, O = `${c}-feedback`, j = `${c}-hint`, lt = () => {
105
- const a = [F];
106
- return g && a.push(j), L?.["aria-labelledby"] && a.push(L["aria-labelledby"]), a.join(" ");
107
- }, ot = [p && v && O].filter(Boolean).join(" ") || void 0, ct = i(t.root, G), rt = i(t.input, {
108
- // small input
109
- [t.inputSmall]: e === "small",
110
- // invalid state
111
- [t.inputInvalid]: p,
112
- // leading icon
113
- [t.inputHasLeadingIcon]: f || _,
114
- // prefix/suffix
115
- [t.inputHasAffix]: r || l,
116
- // action button
117
- [t.inputHasActionButton]: I || x || S,
118
- [t.inputIsReady]: Y
119
- }), dt = i(t.label, {
120
- [t.labelDisabled]: n
121
- }), ut = i(t.labelWrapper, {
122
- // hide label only visually to keep them available for assistive technologies
123
- [t.labelWrapperHidden]: T
124
- }), pt = i(t.leadingIcon, {
125
- [t.leadingIconSmall]: e === "small",
126
- [t.leadingIconDisabled]: n
127
- }), X = i(t.actionButton, {
128
- [t.actionButtonSmall]: e === "small"
129
- }), ft = (a) => {
130
- y.current && !n && !d && y.current.showPicker(), a.preventDefault();
131
- };
132
- return /* @__PURE__ */ u("div", { className: ct, children: [
133
- /* @__PURE__ */ u("div", { className: ut, children: [
134
- /* @__PURE__ */ u("label", { className: dt, id: F, htmlFor: c, children: [
135
- H,
136
- W && /* @__PURE__ */ s(bt, {})
137
- ] }),
138
- h && !T && /* @__PURE__ */ s(ht, { placement: "top", defaultAnchorButtonProps: U, children: h })
139
- ] }),
140
- g && /* @__PURE__ */ s("div", { className: t.hint, id: j, children: g }),
141
- /* @__PURE__ */ u("div", { className: t.wrapper, children: [
142
- r && /* @__PURE__ */ s(
143
- "span",
144
- {
145
- className: i(E, t.prefix),
146
- ref: D,
147
- "aria-disabled": n,
148
- children: it
149
- }
150
- ),
151
- !r && (f || _) && /* @__PURE__ */ s(gt, { name: f, theme: "light", source: _, className: pt, "aria-hidden": "true" }),
152
- /* @__PURE__ */ s("input", { type: o, className: rt, id: c, ...P, ref: st, style: at, "aria-labelledby": lt(), "aria-describedby": ot, "aria-invalid": p, "aria-disabled": d, readOnly: d, required: W, disabled: n }),
153
- l && /* @__PURE__ */ s(
154
- "span",
155
- {
156
- className: i(E, t.suffix),
157
- ref: B,
158
- "aria-disabled": n,
159
- children: et
160
- }
161
- ),
162
- !l && !S && (I || x) && /* @__PURE__ */ s($, { ...Q, hideLabel: !0, theme: "light", iconName: I, iconSource: x, variant: "ghost", className: X, size: e, onClick: K, type: "button", disabled: n || d, children: J }),
163
- !l && S && !d && !n && /* @__PURE__ */ u($, { hideLabel: !0, theme: "light", iconName: R(o) ? "calendar" : "clock", variant: "ghost", className: X, size: e, onClick: ft, type: "button", children: [
164
- "Open ",
165
- R(o) ? "date" : "time",
166
- " picker"
167
- ] })
168
- ] }),
169
- p && v && /* @__PURE__ */ s(vt, { className: t.feedback, message: v, variant: "error", id: O })
170
- ] });
171
- });
172
- Zt.displayName = "DSInput";
173
- export {
174
- Zt as DSInput
175
- };
@@ -1,18 +0,0 @@
1
- "use client";
2
- import "react/jsx-runtime";
3
- import "./chunks/index.DQOqod3i.js";
4
- import "react";
5
- import "./chunks/translate.nuU7uChI.js";
6
- import "./chunks/useBreakpoint.1txsny17.js";
7
- import "./chunks/index.cKLI89Eg.js";
8
- import "./chunks/AriaLiveRegions.utils.8ofDlHnN.js";
9
- import "./asterisk.Dwtdwpkq.js";
10
- import "./chunks/Button.Dauhc5op.js";
11
- import "./chunks/Icon.B0WqYErA.js";
12
- import "./chunks/Popover.Cyf3CbLl.js";
13
- import "./chunks/SystemFeedback.Dq3ZphgG.js";
14
- import "./filelist.BaYCDtxD.js";
15
- import { D as x } from "./chunks/InputFile.BSGunqyW.js";
16
- export {
17
- x as DSInputFile
18
- };
@@ -1,15 +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/useBreakpoint.1txsny17.js";
7
- import "./chunks/index.cKLI89Eg.js";
8
- import "./asterisk.Dwtdwpkq.js";
9
- import "./chunks/Button.Dauhc5op.js";
10
- import "./chunks/Popover.Cyf3CbLl.js";
11
- import "./chunks/SystemFeedback.Dq3ZphgG.js";
12
- import { D } from "./chunks/InputSearch.Dp3x5RE4.js";
13
- export {
14
- D as DSInputSearch
15
- };
package/link.CArLlIsR.js DELETED
@@ -1,81 +0,0 @@
1
- "use client";
2
- import { jsxs as q, jsx as P } from "react/jsx-runtime";
3
- import { d as F } from "./chunks/index.cKLI89Eg.js";
4
- import { c as G } from "./chunks/index.DQOqod3i.js";
5
- import { D as J } from "./chunks/Icon.B0WqYErA.js";
6
- import "./chunks/LinkButton.DHcfHamd.js";
7
- import { Tooltip as $ } from "./tooltip.C6HKano9.js";
8
- import { forwardRef as K } from "react";
9
- import './assets/link.Dcsio57m.css';const M = "ds-link_root_1nkr1_1", Q = "ds-link_root--highlight_1nkr1_68", U = "ds-link_root--neutral-dark_1nkr1_82", V = "ds-link_root--highlight-dark_1nkr1_131", W = "ds-link_root--active_1nkr1_180", X = "ds-link_root--icon-left_1nkr1_187", l = {
10
- root: M,
11
- rootHighlight: Q,
12
- rootNeutralDark: U,
13
- rootHighlightDark: V,
14
- rootActive: W,
15
- rootIconLeft: X
16
- }, Y = K((j, w) => {
17
- const t = F.c(53);
18
- let n, s, a, c, h, o, e, r, d, f, k, D, N, H, L, i;
19
- t[0] !== j ? ({
20
- children: a,
21
- aria: s,
22
- active: n,
23
- className: c,
24
- download: h,
25
- href: o,
26
- iconName: e,
27
- iconPosition: D,
28
- iconSource: r,
29
- referrerPolicy: d,
30
- rel: f,
31
- target: N,
32
- theme: H,
33
- tooltip: i,
34
- variant: L,
35
- ...k
36
- } = j, t[0] = j, t[1] = n, t[2] = s, t[3] = a, t[4] = c, t[5] = h, t[6] = o, t[7] = e, t[8] = r, t[9] = d, t[10] = f, t[11] = k, t[12] = D, t[13] = N, t[14] = H, t[15] = L, t[16] = i) : (n = t[1], s = t[2], a = t[3], c = t[4], h = t[5], o = t[6], e = t[7], r = t[8], d = t[9], f = t[10], k = t[11], D = t[12], N = t[13], H = t[14], L = t[15], i = t[16]);
37
- const B = D === void 0 ? "left" : D, C = N === void 0 ? "_self" : N, x = H === void 0 ? "light" : H, E = L === void 0 ? "neutral" : L, T = E === "highlight", b = x === "dark" && E === "neutral", z = x === "dark" && E === "highlight", O = B === "left";
38
- let A;
39
- t[17] !== n || t[18] !== c || t[19] !== T || t[20] !== b || t[21] !== z || t[22] !== O ? (A = G(l.root, c, {
40
- [l.rootHighlight]: T,
41
- [l.rootNeutralDark]: b,
42
- [l.rootHighlightDark]: z,
43
- [l.rootActive]: n,
44
- [l.rootIconLeft]: O
45
- }), t[17] = n, t[18] = c, t[19] = T, t[20] = b, t[21] = z, t[22] = O, t[23] = A) : A = t[23];
46
- const R = A, m = o === void 0 ? "span" : "a";
47
- let g;
48
- t[24] !== m || t[25] !== h || t[26] !== o || t[27] !== d || t[28] !== f || t[29] !== C ? (g = m === "a" && {
49
- href: o,
50
- target: C,
51
- rel: f,
52
- referrerPolicy: d,
53
- download: h
54
- }, t[24] = m, t[25] = h, t[26] = o, t[27] = d, t[28] = f, t[29] = C, t[30] = g) : g = t[30];
55
- let _;
56
- t[31] !== a ? (_ = /* @__PURE__ */ P("span", { className: l.label, children: a }), t[31] = a, t[32] = _) : _ = t[32];
57
- let p;
58
- t[33] !== e || t[34] !== r || t[35] !== x ? (p = (e || r) && /* @__PURE__ */ P(J, { name: e, theme: x, source: r, size: "medium", "aria-hidden": "true" }), t[33] = e, t[34] = r, t[35] = x, t[36] = p) : p = t[36];
59
- let I;
60
- t[37] !== m || t[38] !== s || t[39] !== w || t[40] !== k || t[41] !== R || t[42] !== g || t[43] !== _ || t[44] !== p ? (I = /* @__PURE__ */ q(m, { className: R, ...g, ...s, ...k, ref: w, children: [
61
- _,
62
- p
63
- ] }), t[37] = m, t[38] = s, t[39] = w, t[40] = k, t[41] = R, t[42] = g, t[43] = _, t[44] = p, t[45] = I) : I = t[45];
64
- const S = I;
65
- if (i) {
66
- let u;
67
- t[46] !== S ? (u = /* @__PURE__ */ P($.Anchor, { children: S }), t[46] = S, t[47] = u) : u = t[47];
68
- let v;
69
- t[48] !== i ? (v = /* @__PURE__ */ P($.Content, { children: i }), t[48] = i, t[49] = v) : v = t[49];
70
- let y;
71
- return t[50] !== u || t[51] !== v ? (y = /* @__PURE__ */ q($, { placement: "top", tooltipOffset: 6, children: [
72
- u,
73
- v
74
- ] }), t[50] = u, t[51] = v, t[52] = y) : y = t[52], y;
75
- }
76
- return S;
77
- });
78
- Y.displayName = "DSLink";
79
- export {
80
- Y as DSLink
81
- };
@@ -1,10 +0,0 @@
1
- "use client";
2
- import "react/jsx-runtime";
3
- import "./chunks/index.cKLI89Eg.js";
4
- import "react";
5
- import "./chunks/Icon.B0WqYErA.js";
6
- import "./numberindicator.ZGVRSmqf.js";
7
- import { N as e } from "./chunks/NavigationTabList.BIApwNzg.js";
8
- export {
9
- e as NavigationTabList
10
- };
@@ -1,36 +0,0 @@
1
- "use client";
2
- import { jsx as _ } from "react/jsx-runtime";
3
- import { d as p } from "./chunks/index.cKLI89Eg.js";
4
- import { c as b } from "./chunks/index.DQOqod3i.js";
5
- import './assets/numberindicator.BYIPwkAK.css';const v = "ds-number-indicator_root_ueqlv_1", C = "ds-number-indicator_root--has-content_ueqlv_24", H = "ds-number-indicator_root--highlight_ueqlv_29", u = {
6
- root: v,
7
- rootHasContent: C,
8
- rootHighlight: H
9
- }, y = (h) => {
10
- const t = p.c(18);
11
- let s, o, n, r;
12
- t[0] !== h ? ({
13
- label: o,
14
- className: s,
15
- variant: r,
16
- ...n
17
- } = h, t[0] = h, t[1] = s, t[2] = o, t[3] = n, t[4] = r) : (s = t[1], o = t[2], n = t[3], r = t[4]);
18
- const f = r === void 0 ? "default" : r;
19
- let i;
20
- t[5] !== o ? (i = typeof o == "string" && o.trim().length > 0, t[5] = o, t[6] = i) : i = t[6];
21
- const e = i;
22
- let l;
23
- t[7] !== e || t[8] !== o ? (l = e ? o.trim().substring(0, 4) : null, t[7] = e, t[8] = o, t[9] = l) : l = t[9];
24
- const m = l, d = f === "highlight" || !e;
25
- let a;
26
- t[10] !== s || t[11] !== e || t[12] !== d ? (a = b(u.root, s, {
27
- [u.rootHasContent]: e,
28
- [u.rootHighlight]: d
29
- }), t[10] = s, t[11] = e, t[12] = d, t[13] = a) : a = t[13];
30
- const g = a;
31
- let c;
32
- return t[14] !== n || t[15] !== g || t[16] !== m ? (c = /* @__PURE__ */ _("span", { className: g, ...n, children: m }), t[14] = n, t[15] = g, t[16] = m, t[17] = c) : c = t[17], c;
33
- };
34
- export {
35
- y as NumberIndicator
36
- };
@@ -1,48 +0,0 @@
1
- "use client";
2
- import { jsx as m, jsxs as p } from "react/jsx-runtime";
3
- import { d as C } from "./chunks/index.cKLI89Eg.js";
4
- import { c as _ } from "./chunks/index.DQOqod3i.js";
5
- import { D } from "./chunks/Icon.B0WqYErA.js";
6
- import './assets/optioncheckbox.6zYgifUk.css';const q = "ds-combobox_root_q88mt_1", N = "ds-combobox_root--disabled_q88mt_21", u = "ds-combobox_checkbox_q88mt_25", j = "ds-combobox_icon-check_q88mt_41", v = "ds-combobox_checkbox--checked_q88mt_62", y = "ds-combobox_checkbox--disabled_q88mt_65", S = "ds-combobox_label_q88mt_82", o = {
7
- root: q,
8
- rootDisabled: N,
9
- checkbox: u,
10
- iconCheck: j,
11
- checkboxChecked: v,
12
- checkboxDisabled: y,
13
- label: S
14
- }, g = (f) => {
15
- const e = C.c(17), {
16
- label: n,
17
- checked: h,
18
- className: r,
19
- disabled: c
20
- } = f;
21
- let b;
22
- e[0] !== c ? (b = _(o.root, {
23
- [o.rootDisabled]: c
24
- }), e[0] = c, e[1] = b) : b = e[1];
25
- const x = b;
26
- let a;
27
- e[2] !== h || e[3] !== c ? (a = _(o.checkbox, {
28
- [o.checkboxDisabled]: c,
29
- [o.checkboxChecked]: h
30
- }), e[2] = h, e[3] = c, e[4] = a) : a = e[4];
31
- const k = a;
32
- let i;
33
- e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ m(D, { name: "check", className: o.iconCheck, "aria-hidden": "true" }), e[5] = i) : i = e[5];
34
- let s;
35
- e[6] !== k ? (s = /* @__PURE__ */ m("span", { className: k, children: i }), e[6] = k, e[7] = s) : s = e[7];
36
- let t;
37
- e[8] !== n ? (t = /* @__PURE__ */ m("span", { className: o.label, children: n }), e[8] = n, e[9] = t) : t = e[9];
38
- let l;
39
- e[10] !== x || e[11] !== s || e[12] !== t ? (l = /* @__PURE__ */ p("div", { className: x, children: [
40
- s,
41
- t
42
- ] }), e[10] = x, e[11] = s, e[12] = t, e[13] = l) : l = e[13];
43
- let d;
44
- return e[14] !== r || e[15] !== l ? (d = /* @__PURE__ */ m("div", { className: r, children: l }), e[14] = r, e[15] = l, e[16] = d) : d = e[16], d;
45
- };
46
- export {
47
- g as OptionCheckbox
48
- };