@stihl-design-system/components 1.0.0-RC.1 → 1.0.0-RC.11

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 (648) hide show
  1. package/Klarna.svg +1 -0
  2. package/Mastercard.svg +2 -0
  3. package/Notification-additional-information.jpeg +0 -0
  4. package/Notification-confirm-error.jpg +0 -0
  5. package/Notification-confirm-warn.jpeg +0 -0
  6. package/Notification-overview.jpeg +0 -0
  7. package/Notification-success.jpeg +0 -0
  8. package/PayPal.svg +2 -0
  9. package/Placeholder.svg +1 -0
  10. package/README.md +1 -10
  11. package/Visa.svg +2 -0
  12. package/accordion.CEKQh-7i.js +10 -0
  13. package/accordion.d.ts +2 -0
  14. package/arialiveregions.BKpxxK7O.js +27 -0
  15. package/arialiveregions.d.ts +2 -0
  16. package/assets/Accordion.DMEFgtQm.css +1 -0
  17. package/assets/CheckboxGroup.Bz3_xkZU.css +1 -0
  18. package/assets/Chip.D10_7Q82.css +1 -0
  19. package/assets/CustomReactSelect.D5XKd9vg.css +1 -0
  20. package/assets/Dialog.B0pucIEI.css +1 -0
  21. package/assets/Drawer.CATBzfY7.css +1 -0
  22. package/assets/Fieldset.CwDhKRUL.css +1 -0
  23. package/assets/Icon.Duy_0R8w.css +1 -0
  24. package/assets/InputPassword.DOAAzj-O.css +1 -0
  25. package/assets/InputSearch.CxPYaQGZ.css +1 -0
  26. package/assets/InputStepper.CYYJUu0b.css +1 -0
  27. package/assets/Notification.mhVFeSGm.css +1 -0
  28. package/assets/Select.DZKpHV4G.css +1 -0
  29. package/assets/Textarea.Cp0b7oZp.css +1 -0
  30. package/assets/Toast.Cz6wYaBv.css +1 -0
  31. package/assets/arialiveregions.GsGx2USO.css +1 -0
  32. package/assets/asterisk.DlJ4YtSZ.css +1 -0
  33. package/assets/button.C9_ejpGG.css +1 -0
  34. package/assets/buttonround.DTCqRP-0.css +1 -0
  35. package/assets/checkbox.K4CVYK9g.css +1 -0
  36. package/assets/chipgroup.BMovtKTy.css +1 -0
  37. package/assets/flag.DX_lH1v7.css +1 -0
  38. package/assets/floatingactionbutton.Do-yEH6c.css +1 -0
  39. package/assets/heading.6bER-Eac.css +1 -0
  40. package/assets/input.Q5oKkmW2.css +1 -0
  41. package/assets/link.DhZqkLMP.css +1 -0
  42. package/assets/linkstandalone.Dwz-_O8q.css +1 -0
  43. package/assets/logo.pETQEsvZ.css +1 -0
  44. package/assets/optioncheckbox.C62HtIj5.css +1 -0
  45. package/assets/radio.-Xxx5wL4.css +1 -0
  46. package/assets/skiptocontent.CHcqLS7S.css +1 -0
  47. package/assets/spinner.D_Nnf1ZG.css +1 -0
  48. package/assets/switch.C1Ei0-z8.css +1 -0
  49. package/assets/systemfeedback.Sq0bAIyf.css +1 -0
  50. package/assets/text.DxKFcfY6.css +1 -0
  51. package/assets/title.f74Bosn-.css +1 -0
  52. package/asterisk.DDn-yX4P.js +8 -0
  53. package/asterisk.d.ts +1 -0
  54. package/button.C5opEJ6x.js +135 -0
  55. package/button.d.ts +1 -0
  56. package/buttonround.CUoqRyy0.js +118 -0
  57. package/buttonround.d.ts +1 -0
  58. package/checkbox.DETR3e3X.js +112 -0
  59. package/checkbox.d.ts +1 -0
  60. package/checkboxgroup.BqD5IV51.js +8 -0
  61. package/checkboxgroup.d.ts +1 -0
  62. package/chip.B92ew-hk.js +10 -0
  63. package/chip.d.ts +2 -0
  64. package/chipgroup.BJrqEfvr.js +175 -0
  65. package/chipgroup.d.ts +2 -0
  66. package/chunks/360.CfjUtgxq.js +10 -0
  67. package/chunks/Accordion.DFwFN8mX.js +125 -0
  68. package/chunks/AriaLiveRegions.utils.BGSZafnS.js +34 -0
  69. package/chunks/CheckboxGroup.M3jOjhNf.js +92 -0
  70. package/chunks/Chip.fMG8wi5K.js +142 -0
  71. package/chunks/CustomReactSelect.D3jv5-fa.js +3598 -0
  72. package/chunks/Dialog.Fwr6vLiK.js +148 -0
  73. package/chunks/Drawer.CKoYzQHd.js +154 -0
  74. package/chunks/Fieldset.C9K8BYmH.js +99 -0
  75. package/chunks/Icon.C2o2seDb.js +223 -0
  76. package/chunks/{Input.utils.f8f3286f.js → Input.utils.ChV6RJsh.js} +24 -17
  77. package/chunks/InputPassword.C7pNeWGx.js +143 -0
  78. package/{inputsearch.6e913fc6.js → chunks/InputSearch.B24rcIJ_.js} +70 -66
  79. package/chunks/InputStepper.CEW-bieQ.js +294 -0
  80. package/chunks/Notification.BXVN7_Fs.js +93 -0
  81. package/chunks/RadioGroup.D4UOflwr.js +137 -0
  82. package/chunks/Select.Ds86q4UC.js +194 -0
  83. package/chunks/Textarea.DcB8hKnO.js +198 -0
  84. package/chunks/Toast.DrzxdzVW.js +89 -0
  85. package/chunks/academic-cap.OBigTQQS.js +10 -0
  86. package/chunks/alarm-clock.CpK-AEZG.js +10 -0
  87. package/chunks/arrow-clockwise.BefOjGPg.js +10 -0
  88. package/chunks/arrow-counterclockwise.C7Ov32BZ.js +10 -0
  89. package/chunks/arrow-down-line.RDD2pRZY.js +10 -0
  90. package/chunks/arrow-down.XpokLh98.js +10 -0
  91. package/chunks/arrow-edge.CPA93M81.js +10 -0
  92. package/chunks/arrow-left.C8NG5I2X.js +10 -0
  93. package/chunks/arrow-out.CsHHHYN9.js +10 -0
  94. package/chunks/arrow-outline-left.Bhw_LzfV.js +10 -0
  95. package/chunks/arrow-right.HNwAz18h.js +10 -0
  96. package/chunks/arrow-up-arrow-down.BVyuVJP5.js +10 -0
  97. package/chunks/arrow-up.Ca1GnLaY.js +10 -0
  98. package/chunks/at.BNfdp4M0.js +10 -0
  99. package/chunks/barcode-scanner.D0olxB_m.js +10 -0
  100. package/chunks/battery.YCg9lYqC.js +10 -0
  101. package/chunks/bell.DbPxCAUM.js +10 -0
  102. package/chunks/bin-open.DsjIBW00.js +10 -0
  103. package/chunks/bin.ktpYUJmK.js +10 -0
  104. package/chunks/bluetooth.dW5tTwby.js +10 -0
  105. package/chunks/bookmark.B7Mbr-d6.js +10 -0
  106. package/chunks/burger.DLP81BXa.js +10 -0
  107. package/chunks/calendar.Cig7yG7m.js +10 -0
  108. package/chunks/camera.BoCB0Emp.js +10 -0
  109. package/chunks/cart-check.CYH0vTB8.js +10 -0
  110. package/chunks/cart-plus.DzXXFMZj.js +10 -0
  111. package/chunks/cart.CoEwMABr.js +10 -0
  112. package/chunks/catalog.CwV-J6Kb.js +10 -0
  113. package/chunks/certificate.Crs4RohK.js +10 -0
  114. package/chunks/chain-link.BMV2WV6k.js +10 -0
  115. package/chunks/chainsaw.CI1EYF7a.js +10 -0
  116. package/chunks/check.CuZKWgYj.js +10 -0
  117. package/chunks/chevron-down.5UkGOwK_.js +10 -0
  118. package/chunks/chevron-left.DRFQ-efY.js +10 -0
  119. package/chunks/chevron-line-left.SQvDJQ1t.js +10 -0
  120. package/chunks/chevron-line-right.CYQ3b2cQ.js +10 -0
  121. package/chunks/chevron-right.B_Ew9QUt.js +10 -0
  122. package/chunks/chevron-up.DqETUWqG.js +10 -0
  123. package/chunks/circle-check-colored.Bye_GwLy.js +10 -0
  124. package/chunks/circle-check-inverted.Cc2cUmWT.js +10 -0
  125. package/chunks/circle-info-colored.D2pp54gf.js +10 -0
  126. package/chunks/circle-info-inverted.D8Z0vTmu.js +10 -0
  127. package/chunks/circle-pause.DaRfXOff.js +10 -0
  128. package/chunks/circle-stroke.CWu_o3Gx.js +10 -0
  129. package/chunks/circle.471EUzv6.js +10 -0
  130. package/chunks/clock.Bw5ICIVH.js +10 -0
  131. package/chunks/coffee-cup.DIijzKx_.js +10 -0
  132. package/chunks/compare.BgktBbYD.js +10 -0
  133. package/chunks/connected-box-mobile.DboMCVxp.js +10 -0
  134. package/chunks/connected-box-stationary.CAPCPQ1d.js +10 -0
  135. package/chunks/connected-box.DVqJw-ws.js +10 -0
  136. package/chunks/cross.rEw3TuHs.js +10 -0
  137. package/chunks/diamond-exclamationmark-colored.WNKYwZ8q.js +10 -0
  138. package/chunks/diamond-exclamationmark-inverted.DzAIb8Nt.js +10 -0
  139. package/chunks/diamond.CXZHFpPC.js +10 -0
  140. package/chunks/diskette._0C2VZ9v.js +10 -0
  141. package/chunks/distance.FA6pTjcW.js +10 -0
  142. package/chunks/dots-connected.ZMYjHeNS.js +10 -0
  143. package/chunks/{download-complete.0b84a7cc.js → download-complete.CZVpzrvY.js} +3 -4
  144. package/chunks/envelope-open.CA4cE5lk.js +10 -0
  145. package/chunks/envelope.re-RxZVw.js +10 -0
  146. package/chunks/exclamationmark.DEbIGqGC.js +10 -0
  147. package/chunks/exit.Cgb8AB-k.js +10 -0
  148. package/chunks/eye-closed.CvqozUwK.js +10 -0
  149. package/chunks/eye.CRQMKZs4.js +10 -0
  150. package/chunks/{triangle.bff84ddf.js → facebook.CVcxa0rV.js} +2 -3
  151. package/chunks/filter.DrPSKpaG.js +10 -0
  152. package/chunks/finger-double-arrow.DDUZoPh8.js +10 -0
  153. package/chunks/flash.CgJJ1bUx.js +10 -0
  154. package/chunks/fullscreen.Be2rBj1i.js +10 -0
  155. package/chunks/gear.DEltGVSA.js +10 -0
  156. package/chunks/globe.DG6uw6fi.js +10 -0
  157. package/chunks/grid.DH1impeF.js +10 -0
  158. package/chunks/guidance.BBYB3JpW.js +10 -0
  159. package/chunks/haircross.D-whkit9.js +10 -0
  160. package/chunks/hanger.Bo8qtNo5.js +10 -0
  161. package/chunks/has-document.r9i9TxKV.js +5 -0
  162. package/chunks/headphones.DjWXOuJJ.js +10 -0
  163. package/chunks/heart.D-BnHMb-.js +10 -0
  164. package/chunks/hexagon-arrow-clockwise.D0eeDQQx.js +10 -0
  165. package/chunks/horizontal-ellipsis.ChdN6RnG.js +10 -0
  166. package/chunks/house.BohpDQ3q.js +10 -0
  167. package/chunks/imow.Dh1oMqcW.js +10 -0
  168. package/chunks/info.BZVg9FLA.js +10 -0
  169. package/chunks/instagram.CIlKb7xj.js +10 -0
  170. package/chunks/{jsx-runtime.5c071667.js → jsx-runtime.C115EyI4.js} +259 -256
  171. package/chunks/leave-fullscreen.BC5iwDur.js +10 -0
  172. package/chunks/lightbulb.DQ7TiRsr.js +10 -0
  173. package/chunks/linkedin.br5zvxco.js +10 -0
  174. package/chunks/list-three-rows.Cso4ybs8.js +10 -0
  175. package/chunks/list-two-rows.DOsZEv0-.js +10 -0
  176. package/chunks/loading-spinner.BukfMaU6.js +10 -0
  177. package/chunks/lock.Dw_GOpTn.js +10 -0
  178. package/chunks/magnifying-glass-minus.BYztw2P1.js +10 -0
  179. package/chunks/magnifying-glass-plus.BTgviDVh.js +10 -0
  180. package/chunks/magnifying-glass.C8DfRaIO.js +10 -0
  181. package/chunks/map.CXgG1iGz.js +10 -0
  182. package/chunks/minus.BkhCuIH4.js +10 -0
  183. package/chunks/mobile.C1Kj9VnC.js +10 -0
  184. package/chunks/nine-squares.DVsNAOzz.js +10 -0
  185. package/chunks/note-check.CM_kmt0M.js +10 -0
  186. package/chunks/note-plus.Bkn78EyA.js +10 -0
  187. package/chunks/note.CE0ACLn8.js +10 -0
  188. package/chunks/number-input.BLhoh5mh.js +10 -0
  189. package/chunks/paperclip.BMerX4rj.js +10 -0
  190. package/chunks/parcel.Ve9GL_EG.js +10 -0
  191. package/chunks/pause.B91Ejn-O.js +10 -0
  192. package/chunks/pdf.9kZbElrZ.js +10 -0
  193. package/chunks/pen.CvKw2PvE.js +10 -0
  194. package/chunks/percent.BlB6rG-B.js +10 -0
  195. package/chunks/petrol.Du6qAgp0.js +10 -0
  196. package/chunks/phone.DzdXfmNC.js +10 -0
  197. package/chunks/pin-s.DXgYuN9C.js +10 -0
  198. package/chunks/pin.DZfZr4El.js +10 -0
  199. package/chunks/pinterest.sUPAub_q.js +10 -0
  200. package/chunks/placeholder.Dbb0hT5R.js +10 -0
  201. package/chunks/play.BDiY2JrT.js +10 -0
  202. package/chunks/plug.DZozve4C.js +10 -0
  203. package/chunks/plus.zdu17kAe.js +10 -0
  204. package/chunks/printer.CaFaWfeS.js +10 -0
  205. package/chunks/prohibition-sign.DUFn0QiV.js +10 -0
  206. package/chunks/questionmark.QyDxanQy.js +10 -0
  207. package/chunks/security.DkLw5ym4.js +10 -0
  208. package/chunks/share.C3wwEl8n.js +10 -0
  209. package/chunks/shirt.BC8W-yCI.js +10 -0
  210. package/chunks/shop.DdPV35mK.js +10 -0
  211. package/chunks/sound-off.D4kGcehG.js +10 -0
  212. package/chunks/sound-on.Cynkb0_t.js +10 -0
  213. package/chunks/speechbubble.87vuoKUp.js +10 -0
  214. package/chunks/speechbubbles.CSFhpNJn.js +10 -0
  215. package/chunks/square.D6PgEi_r.js +10 -0
  216. package/chunks/star-half.DZTtM5Bw.js +10 -0
  217. package/chunks/star.BkjednvI.js +10 -0
  218. package/chunks/tag.yO7uMsHj.js +10 -0
  219. package/chunks/thumbs-down.DeBD6wnK.js +10 -0
  220. package/chunks/thumbs-up.D-44gexH.js +10 -0
  221. package/chunks/translate.isa3FHb8.js +11 -0
  222. package/chunks/triangle-exclamationmark-colored.CbVC3Gzi.js +10 -0
  223. package/chunks/triangle-exclamationmark-inverted.BiGoK7TV.js +10 -0
  224. package/chunks/triangle.ibv6NDnt.js +10 -0
  225. package/chunks/truck.xIk5wW6T.js +10 -0
  226. package/chunks/two-people-screen.BBLouaW4.js +10 -0
  227. package/chunks/two-sheets.DWFmuL7N.js +10 -0
  228. package/chunks/upload.ZImTAIgx.js +10 -0
  229. package/chunks/user.BMARueuy.js +10 -0
  230. package/chunks/vertical-ellipsis.Bc9eBsDF.js +10 -0
  231. package/chunks/wc.gmKE1r5l.js +10 -0
  232. package/chunks/whatsapp.CPpu-7Nn.js +10 -0
  233. package/chunks/wifi-1bar.BcEP-r8w.js +10 -0
  234. package/chunks/wifi-2bars.jDOd4Q3q.js +10 -0
  235. package/chunks/wifi-off.D9xPqVWn.js +10 -0
  236. package/chunks/wifi.CuQykF6X.js +10 -0
  237. package/chunks/wind-rose.C-XcKdy-.js +10 -0
  238. package/chunks/wrench.DMFV2S9u.js +10 -0
  239. package/chunks/x.BqbpXd7O.js +10 -0
  240. package/chunks/xing.CiKYLbPq.js +10 -0
  241. package/chunks/youtube.DrImaRSP.js +10 -0
  242. package/combobox.BeTnbG1m.js +47 -0
  243. package/combobox.d.ts +1 -0
  244. package/components/Accordion/Accordion.d.ts +39 -0
  245. package/components/Accordion/Accordion.test.d.ts +1 -0
  246. package/components/Accordion/Accordion.utils.d.ts +14 -0
  247. package/components/Accordion/Acordion.utils.test.d.ts +1 -0
  248. package/components/AriaLiveRegions/AriaLiveRegions.d.ts +4 -0
  249. package/components/AriaLiveRegions/AriaLiveRegions.utils.d.ts +5 -0
  250. package/components/AriaLiveRegions/AriaLiveRegions.utils.test.d.ts +1 -0
  251. package/components/Asterisk/Asterisk.d.ts +0 -1
  252. package/components/Button/Button.d.ts +32 -17
  253. package/components/ButtonRound/ButtonRound.d.ts +11 -4
  254. package/components/Checkbox/Checkbox.d.ts +20 -11
  255. package/components/CheckboxGroup/CheckboxGroup.d.ts +21 -15
  256. package/components/CheckboxGroup/CheckboxGroup.utils.d.ts +2 -2
  257. package/components/ChipGroup/Chip.d.ts +12 -0
  258. package/components/ChipGroup/ChipGroup.d.ts +42 -0
  259. package/components/ChipGroup/ChipGroup.test.d.ts +1 -0
  260. package/components/ChipGroup/ChipGroup.utils.d.ts +60 -0
  261. package/components/ChipGroup/ChipGroup.utils.test.d.ts +1 -0
  262. package/components/Combobox/Combobox.d.ts +11 -6
  263. package/components/Combobox/Combobox.utils.d.ts +9 -3
  264. package/components/CustomReactSelect/CustomReactSelect.d.ts +38 -26
  265. package/components/CustomReactSelect/CustomReactSelect.utils.d.ts +2 -14
  266. package/components/CustomReactSelect/OptionCheckbox.d.ts +1 -1
  267. package/components/Dialog/Dialog.d.ts +34 -0
  268. package/components/Dialog/Dialog.test.d.ts +1 -0
  269. package/components/Dialog/Dialog.utils.d.ts +11 -0
  270. package/components/Dialog/Dialog.utils.test.d.ts +1 -0
  271. package/components/Drawer/Drawer.d.ts +39 -0
  272. package/components/Drawer/Drawer.test.d.ts +1 -0
  273. package/components/Drawer/Drawer.utils.d.ts +13 -0
  274. package/components/Drawer/Drawer.utils.test.d.ts +1 -0
  275. package/components/Fieldset/Fieldset.d.ts +15 -10
  276. package/components/Fieldset/Fieldset.utils.d.ts +10 -3
  277. package/components/Flag/Flag.d.ts +23 -0
  278. package/components/Flag/Flag.test.d.ts +1 -0
  279. package/components/Flag/Flag.utils.d.ts +2 -0
  280. package/components/FloatingActionButton/FloatingActionButton.d.ts +6 -2
  281. package/components/Heading/Heading.d.ts +13 -7
  282. package/components/Heading/Heading.utils.d.ts +1 -1
  283. package/components/Icon/Icon.d.ts +14 -8
  284. package/components/Icon/Icon.utils.d.ts +3 -6
  285. package/components/Input/Input.d.ts +36 -23
  286. package/components/Input/Input.utils.d.ts +1 -1
  287. package/components/InputPassword/InputPassword.d.ts +34 -17
  288. package/components/InputPassword/InputPassword.utils.d.ts +1 -1
  289. package/components/InputSearch/InputSearch.d.ts +33 -18
  290. package/components/InputSearch/InputSearch.utils.d.ts +1 -1
  291. package/components/InputStepper/InputStepper.d.ts +46 -23
  292. package/components/InputStepper/InputStepper.utils.d.ts +1 -1
  293. package/components/Link/Link.d.ts +32 -20
  294. package/components/LinkStandalone/LinkStandalone.d.ts +7 -6
  295. package/components/Logo/Logo.d.ts +17 -9
  296. package/components/Logo/Logo.utils.d.ts +2 -1
  297. package/components/Notification/Notification.d.ts +35 -0
  298. package/components/Notification/Notification.test.d.ts +1 -0
  299. package/components/Notification/Notification.utils.d.ts +4 -0
  300. package/components/Radio/Radio.d.ts +30 -13
  301. package/components/RadioGroup/RadioGroup.d.ts +33 -24
  302. package/components/RadioGroup/RadioGroup.utils.d.ts +7 -5
  303. package/components/RadioGroup/RadioGroup.utils.test.d.ts +1 -0
  304. package/components/Select/Select.d.ts +25 -14
  305. package/components/Select/Select.utils.d.ts +3 -3
  306. package/components/SkipToContent/SkipToContent.d.ts +17 -0
  307. package/components/SkipToContent/SkipToContent.test.d.ts +1 -0
  308. package/components/Spinner/Spinner.d.ts +10 -6
  309. package/components/Switch/Switch.d.ts +22 -12
  310. package/components/SystemFeedback/SystemFeedback.d.ts +4 -4
  311. package/components/Text/Text.d.ts +16 -8
  312. package/components/Textarea/Textarea.d.ts +34 -17
  313. package/components/Textarea/Textarea.utils.d.ts +1 -1
  314. package/components/Title/Title.d.ts +13 -7
  315. package/components/Toast/Toast.d.ts +27 -0
  316. package/components/Toast/Toast.utils.d.ts +14 -0
  317. package/components/Toast/ToastManager.d.ts +9 -0
  318. package/components/Toast/ToastManager.test.d.ts +1 -0
  319. package/components/Toast/ToastManager.utils.d.ts +2 -0
  320. package/components/Toast/ToastManager.utils.test.d.ts +1 -0
  321. package/customreactselect.d.ts +1 -0
  322. package/customreactselect.lYJhIeyx.js +13 -0
  323. package/dialog.d.ts +2 -0
  324. package/dialog.lGwNQU91.js +9 -0
  325. package/drawer.DNi5m8wP.js +9 -0
  326. package/drawer.d.ts +2 -0
  327. package/fieldset.BqiAjeax.js +11 -0
  328. package/fieldset.d.ts +1 -0
  329. package/flag.XJHHSP38.js +43 -0
  330. package/flag.d.ts +2 -0
  331. package/floatingactionbutton.CMpkTdhX.js +87 -0
  332. package/floatingactionbutton.d.ts +1 -0
  333. package/heading.CAkraI2D.js +50 -0
  334. package/heading.d.ts +1 -0
  335. package/icon.BoMgOmC1.js +8 -0
  336. package/icon.d.ts +1 -0
  337. package/index.d.ts +36 -0
  338. package/index.es.js +178 -46
  339. package/input.d.ts +1 -0
  340. package/input.v7qB7wPJ.js +239 -0
  341. package/inputpassword.CSjh1GU7.js +12 -0
  342. package/inputpassword.d.ts +1 -0
  343. package/inputsearch.DyznOWLK.js +13 -0
  344. package/inputsearch.d.ts +1 -0
  345. package/inputstepper.3BLb7s0P.js +13 -0
  346. package/inputstepper.d.ts +1 -0
  347. package/link.Clk5_BYp.js +116 -0
  348. package/link.d.ts +1 -0
  349. package/linkstandalone.BXERmqdN.js +80 -0
  350. package/linkstandalone.d.ts +1 -0
  351. package/{logo.e6576fe3.js → logo.CEO6OV7u.js} +31 -34
  352. package/logo.d.ts +1 -0
  353. package/notification.0kX1GMaB.js +9 -0
  354. package/notification.d.ts +2 -0
  355. package/optioncheckbox.BPN3f6l_.js +43 -0
  356. package/optioncheckbox.d.ts +1 -0
  357. package/package.json +64 -53
  358. package/partials/connected-apple-icon.png +0 -0
  359. package/partials/connected-favicon.ico +0 -0
  360. package/partials/connected-icon-192.png +0 -0
  361. package/partials/connected-icon-512.png +0 -0
  362. package/partials/connected-icon.svg +1 -0
  363. package/partials/copyAssets.js +25 -13
  364. package/partials/imow-apple-icon.png +0 -0
  365. package/partials/imow-favicon.ico +0 -0
  366. package/partials/imow-icon-192.png +0 -0
  367. package/partials/imow-icon-512.png +0 -0
  368. package/partials/imow-icon.svg +1 -0
  369. package/partials/index.js +896 -916
  370. package/partials/lib/partials.d.ts +1 -2
  371. package/partials/mystihl-apple-icon.png +0 -0
  372. package/partials/mystihl-favicon.ico +0 -0
  373. package/partials/mystihl-icon-192.png +0 -0
  374. package/partials/mystihl-icon-512.png +0 -0
  375. package/partials/mystihl-icon.svg +1 -0
  376. package/radio.DTZNJzMU.js +115 -0
  377. package/radio.d.ts +1 -0
  378. package/radiogroup.SYkZm2DG.js +10 -0
  379. package/radiogroup.d.ts +1 -0
  380. package/select.CYbwR3RW.js +12 -0
  381. package/select.d.ts +1 -0
  382. package/skiptocontent.DUQWopO4.js +46 -0
  383. package/skiptocontent.d.ts +2 -0
  384. package/spinner.D-xrotcu.js +58 -0
  385. package/spinner.d.ts +1 -0
  386. package/styles/fonts/STIHLContrafaceDigitalTextDemi.woff +0 -0
  387. package/styles/fonts/STIHLContrafaceDigitalTextDemi.woff2 +0 -0
  388. package/styles/fonts/font-face.min.css +1 -1
  389. package/styles/scss/_index.scss +3 -0
  390. package/styles/scss/lib/_animation.scss +20 -5
  391. package/styles/scss/lib/_breakpoints.scss +0 -1
  392. package/styles/scss/lib/_container-query.scss +3 -3
  393. package/styles/scss/lib/_focus.scss +2 -1
  394. package/styles/scss/lib/_grid-extended.scss +2 -2
  395. package/styles/scss/lib/_grid-narrow.scss +2 -0
  396. package/styles/scss/lib/_grid-sidebar-sidebar.scss +4 -2
  397. package/styles/scss/lib/_grid-sidebar.scss +35 -45
  398. package/styles/scss/lib/_grid.scss +15 -13
  399. package/styles/scss/lib/_heading.scss +61 -7
  400. package/styles/scss/lib/_helpers.scss +12 -0
  401. package/styles/scss/lib/_high-contrast.scss +24 -0
  402. package/styles/scss/lib/_link.scss +65 -91
  403. package/styles/scss/lib/_media-query.scss +3 -3
  404. package/styles/scss/lib/_shadow.scss +10 -0
  405. package/styles/scss/lib/_spacing-dynamic.scss +61 -0
  406. package/styles/scss/lib/_spacing.scss +14 -0
  407. package/styles/scss/lib/_text.scss +60 -13
  408. package/styles/scss/lib/_theme.scss +9 -7
  409. package/styles/scss/lib/_transition.scss +26 -7
  410. package/switch.CoNnIhM4.js +65 -0
  411. package/switch.d.ts +1 -0
  412. package/systemfeedback.ZzRUAVYX.js +25 -0
  413. package/systemfeedback.d.ts +1 -0
  414. package/text.d.ts +1 -0
  415. package/text.fMcHzVbH.js +57 -0
  416. package/textarea.DJc527nX.js +12 -0
  417. package/textarea.d.ts +1 -0
  418. package/title.LY1ylQsb.js +36 -0
  419. package/title.d.ts +1 -0
  420. package/toast.D48GFmp0.js +10 -0
  421. package/toast.d.ts +2 -0
  422. package/toastmanager.Dl8-Q3ED.js +119 -0
  423. package/toastmanager.d.ts +2 -0
  424. package/types/icon-types.d.ts +1 -1
  425. package/utils/index.d.ts +3 -0
  426. package/utils/remove-spaces.d.ts +6 -0
  427. package/utils/remove-spaces.test.d.ts +1 -0
  428. package/utils/render-documentation.d.ts +0 -1
  429. package/utils/translate.d.ts +11 -0
  430. package/utils/translate.test.d.ts +1 -0
  431. package/utils/useBreakpoint.d.ts +1 -1
  432. package/utils/useIsomorphicLayoutEffect.d.ts +25 -0
  433. package/utils/vitest.setup.d.ts +4 -0
  434. package/assets/Asterisk.288a3f48.css +0 -1
  435. package/assets/Button.c09c516e.css +0 -1
  436. package/assets/ButtonRound.fd628e54.css +0 -1
  437. package/assets/Checkbox.cde01607.css +0 -1
  438. package/assets/CustomReactSelect.cdb5f164.css +0 -1
  439. package/assets/Fieldset.729910fe.css +0 -1
  440. package/assets/FloatingActionButton.de295f5d.css +0 -1
  441. package/assets/Heading.50f5e903.css +0 -1
  442. package/assets/Icon.8890ee9a.css +0 -1
  443. package/assets/Input.92913cfe.css +0 -1
  444. package/assets/InputPassword.d7b9c937.css +0 -1
  445. package/assets/InputSearch.888f630a.css +0 -1
  446. package/assets/InputStepper.969db0d2.css +0 -1
  447. package/assets/Link.75834750.css +0 -1
  448. package/assets/LinkStandalone.19bdab0d.css +0 -1
  449. package/assets/Logo.09e48e82.css +0 -1
  450. package/assets/OptionCheckbox.c56568a3.css +0 -1
  451. package/assets/Radio.79d98dde.css +0 -1
  452. package/assets/RadioGroup.8b55ee38.css +0 -1
  453. package/assets/Select.b9c135c2.css +0 -1
  454. package/assets/Spinner.af45d460.css +0 -1
  455. package/assets/Switch.781e3de6.css +0 -1
  456. package/assets/SystemFeedback.c30264c0.css +0 -1
  457. package/assets/Text.ac70cc84.css +0 -1
  458. package/assets/Textarea.12046393.css +0 -1
  459. package/assets/Title.e9e5a7e6.css +0 -1
  460. package/asterisk.cb74ea72.js +0 -8
  461. package/button.87ad387c.js +0 -135
  462. package/buttonround.ecb24c29.js +0 -118
  463. package/checkbox.42617f46.js +0 -112
  464. package/checkboxgroup.fa110fdf.js +0 -78
  465. package/chunks/360.3f3132d9.js +0 -11
  466. package/chunks/CustomReactSelect.2e4e7ba0.js +0 -5015
  467. package/chunks/Link.module.15dedc23.js +0 -37
  468. package/chunks/RadioGroup.module.59ca486a.js +0 -11
  469. package/chunks/academic-cap.a6849ffc.js +0 -11
  470. package/chunks/alarm-clock.542230f3.js +0 -11
  471. package/chunks/arrow-clockwise.0496f663.js +0 -11
  472. package/chunks/arrow-counterclockwise.635a0130.js +0 -11
  473. package/chunks/arrow-down-line.0976611e.js +0 -11
  474. package/chunks/arrow-down.9780d975.js +0 -11
  475. package/chunks/arrow-edge.3288acdd.js +0 -11
  476. package/chunks/arrow-left.ace9c808.js +0 -11
  477. package/chunks/arrow-out.0499f39e.js +0 -11
  478. package/chunks/arrow-outline-left.efc33275.js +0 -11
  479. package/chunks/arrow-right.133feef2.js +0 -11
  480. package/chunks/arrow-up-arrow-down.b612e9b1.js +0 -11
  481. package/chunks/arrow-up.3be6430a.js +0 -11
  482. package/chunks/at.6279d12b.js +0 -11
  483. package/chunks/barcode-scanner.0a4a314d.js +0 -11
  484. package/chunks/battery.e1249ee1.js +0 -11
  485. package/chunks/bell.87fe4f0b.js +0 -11
  486. package/chunks/bin-open.be4290d8.js +0 -11
  487. package/chunks/bin.b36466f3.js +0 -11
  488. package/chunks/bluetooth.54b89b90.js +0 -11
  489. package/chunks/bookmark.4d5ce4c3.js +0 -11
  490. package/chunks/burger.1301d91e.js +0 -11
  491. package/chunks/calendar.ba39a664.js +0 -11
  492. package/chunks/camera.3bed4f3b.js +0 -11
  493. package/chunks/cart-check.9fb6abdb.js +0 -11
  494. package/chunks/cart-plus.fd5c4674.js +0 -11
  495. package/chunks/cart.7516d35c.js +0 -11
  496. package/chunks/catalog.bd0c7830.js +0 -11
  497. package/chunks/certificate.1639c28e.js +0 -11
  498. package/chunks/chain-link.45025ed0.js +0 -11
  499. package/chunks/chainsaw.56d43a9f.js +0 -11
  500. package/chunks/check.a08beeae.js +0 -11
  501. package/chunks/chevron-down.80b0dc85.js +0 -11
  502. package/chunks/chevron-left.f5feade0.js +0 -11
  503. package/chunks/chevron-line-left.17b172d1.js +0 -11
  504. package/chunks/chevron-line-right.7cd234b7.js +0 -11
  505. package/chunks/chevron-right.259bc1a3.js +0 -11
  506. package/chunks/chevron-up.d1335850.js +0 -11
  507. package/chunks/circle-check-colored.98e13ab9.js +0 -11
  508. package/chunks/circle-check-inverted.db29ab06.js +0 -11
  509. package/chunks/circle-info-colored.8da47e36.js +0 -11
  510. package/chunks/circle-info-inverted.0ed118fb.js +0 -11
  511. package/chunks/circle-pause.55300d1b.js +0 -11
  512. package/chunks/circle-stroke.203dd7aa.js +0 -11
  513. package/chunks/circle.33ec82eb.js +0 -11
  514. package/chunks/clock.3014a102.js +0 -11
  515. package/chunks/coffee-cup.98d6531f.js +0 -11
  516. package/chunks/compare.c76b221b.js +0 -11
  517. package/chunks/connected-box-mobile.9cd742dd.js +0 -11
  518. package/chunks/connected-box-stationary.191a3ed0.js +0 -11
  519. package/chunks/connected-box.fe21c39b.js +0 -11
  520. package/chunks/cross.fe709ee7.js +0 -11
  521. package/chunks/diamond-exclamationmark-colored.bf3ffccf.js +0 -11
  522. package/chunks/diamond-exclamationmark-inverted.b5648587.js +0 -11
  523. package/chunks/diamond.e962c289.js +0 -11
  524. package/chunks/diskette.04733444.js +0 -11
  525. package/chunks/distance.9e6b56ff.js +0 -11
  526. package/chunks/dots-connected.9869fae1.js +0 -11
  527. package/chunks/envelope-open.3c3fd714.js +0 -11
  528. package/chunks/envelope.5c9ff834.js +0 -11
  529. package/chunks/exclamationmark.92afe58f.js +0 -11
  530. package/chunks/exit.bde46887.js +0 -11
  531. package/chunks/eye-closed.0b517bb7.js +0 -11
  532. package/chunks/eye.8f4b311b.js +0 -11
  533. package/chunks/facebook.4a040606.js +0 -11
  534. package/chunks/filter.dee66683.js +0 -11
  535. package/chunks/finger-double-arrow.9cd4c623.js +0 -11
  536. package/chunks/flash.15646b5e.js +0 -11
  537. package/chunks/fullscreen.fdd976fe.js +0 -11
  538. package/chunks/gear.1f5f6fe9.js +0 -11
  539. package/chunks/globe.7f419498.js +0 -11
  540. package/chunks/grid.2c1cdc21.js +0 -11
  541. package/chunks/guidance.63bebf3e.js +0 -11
  542. package/chunks/haircross.0ac15319.js +0 -11
  543. package/chunks/hanger.edc848f4.js +0 -11
  544. package/chunks/headphones.a023699e.js +0 -11
  545. package/chunks/heart.d4440641.js +0 -11
  546. package/chunks/hexagon-arrow-clockwise.98e9b555.js +0 -11
  547. package/chunks/horizontal-ellipsis.84419429.js +0 -11
  548. package/chunks/house.70059642.js +0 -11
  549. package/chunks/imow.3374e620.js +0 -11
  550. package/chunks/info.1787448e.js +0 -11
  551. package/chunks/instagram.e12dd682.js +0 -11
  552. package/chunks/leave-fullscreen.def46043.js +0 -11
  553. package/chunks/lightbulb.b73d3ebf.js +0 -11
  554. package/chunks/linkedin.ce0c68cb.js +0 -11
  555. package/chunks/list-three-rows.ef44c7ef.js +0 -11
  556. package/chunks/list-two-rows.5ed8f1af.js +0 -11
  557. package/chunks/loading-spinner.8293421e.js +0 -11
  558. package/chunks/lock.3cbc8ced.js +0 -11
  559. package/chunks/magnifying-glass-minus.b0f906e5.js +0 -11
  560. package/chunks/magnifying-glass-plus.6ffc69c5.js +0 -11
  561. package/chunks/magnifying-glass.c297e41f.js +0 -11
  562. package/chunks/map.c96b1dcd.js +0 -11
  563. package/chunks/minus.7f6676e8.js +0 -11
  564. package/chunks/mobile.416ee5b0.js +0 -11
  565. package/chunks/nine-squares.34eeb0d4.js +0 -11
  566. package/chunks/note-check.aaf92ef9.js +0 -11
  567. package/chunks/note-plus.e7ab1b93.js +0 -11
  568. package/chunks/note.cc96375c.js +0 -11
  569. package/chunks/number-input.076fcf63.js +0 -11
  570. package/chunks/paperclip.e8831256.js +0 -11
  571. package/chunks/parcel.75534dbd.js +0 -11
  572. package/chunks/pause.901567cf.js +0 -11
  573. package/chunks/pdf.92c1781a.js +0 -11
  574. package/chunks/pen.ecbcb50d.js +0 -11
  575. package/chunks/percent.4b7fa587.js +0 -11
  576. package/chunks/petrol.41999bec.js +0 -11
  577. package/chunks/phone.3c23c041.js +0 -11
  578. package/chunks/pin-s.a5519070.js +0 -11
  579. package/chunks/pin.1137362d.js +0 -11
  580. package/chunks/pinterest.88763b51.js +0 -11
  581. package/chunks/placeholder.d6fdaf8f.js +0 -11
  582. package/chunks/play.dd0f1d8c.js +0 -11
  583. package/chunks/plug.00f114c4.js +0 -11
  584. package/chunks/plus.42721ebf.js +0 -11
  585. package/chunks/printer.5bb7ee0d.js +0 -11
  586. package/chunks/prohibition-sign.af5616b3.js +0 -11
  587. package/chunks/questionmark.db94a06d.js +0 -11
  588. package/chunks/security.2be491e3.js +0 -11
  589. package/chunks/share.ddae7aef.js +0 -11
  590. package/chunks/shirt.135d58c1.js +0 -11
  591. package/chunks/shop.f120426b.js +0 -11
  592. package/chunks/sound-off.c6f5ed43.js +0 -11
  593. package/chunks/sound-on.212c36bc.js +0 -11
  594. package/chunks/speechbubble.9428546e.js +0 -11
  595. package/chunks/speechbubbles.65cb946e.js +0 -11
  596. package/chunks/square.452f505f.js +0 -11
  597. package/chunks/star-half.1458bc5b.js +0 -11
  598. package/chunks/star.fab17456.js +0 -11
  599. package/chunks/tag.4d730d72.js +0 -11
  600. package/chunks/thumbs-down.cbf6e4ec.js +0 -11
  601. package/chunks/thumbs-up.435754e1.js +0 -11
  602. package/chunks/triangle-exclamationmark-colored.94025893.js +0 -11
  603. package/chunks/triangle-exclamationmark-inverted.bc4eed15.js +0 -11
  604. package/chunks/truck.a904d6d3.js +0 -11
  605. package/chunks/two-people-screen.3e509922.js +0 -11
  606. package/chunks/two-sheets.d1cfef0f.js +0 -11
  607. package/chunks/upload.7f1850a3.js +0 -11
  608. package/chunks/user.bf5b30a5.js +0 -11
  609. package/chunks/vertical-ellipsis.1cac00e5.js +0 -11
  610. package/chunks/wc.9d108bd0.js +0 -11
  611. package/chunks/wifi-1bar.b6fc33aa.js +0 -11
  612. package/chunks/wifi-2bars.27e9da59.js +0 -11
  613. package/chunks/wifi-off.e5daf3a9.js +0 -11
  614. package/chunks/wifi.40bb915d.js +0 -11
  615. package/chunks/wind-rose.27fa658a.js +0 -11
  616. package/chunks/wrench.69493ef3.js +0 -11
  617. package/chunks/x.d9da4202.js +0 -11
  618. package/chunks/xing.e17c1a24.js +0 -11
  619. package/chunks/youtube.dbf50787.js +0 -11
  620. package/combobox.d93091e0.js +0 -45
  621. package/customreactselect.7c77375a.js +0 -13
  622. package/fieldset.fdd84bda.js +0 -98
  623. package/floatingactionbutton.281b5465.js +0 -87
  624. package/heading.c02dcb70.js +0 -44
  625. package/icon.b4211784.js +0 -215
  626. package/input.064e0bbf.js +0 -230
  627. package/inputpassword.f76c2f62.js +0 -139
  628. package/inputstepper.2047ec77.js +0 -286
  629. package/link.5eb13d6e.js +0 -84
  630. package/linkstandalone.edfd6288.js +0 -80
  631. package/optioncheckbox.2369560b.js +0 -43
  632. package/radio.fd841ab0.js +0 -79
  633. package/radiogroup.e1c8ea3d.js +0 -100
  634. package/select.88d40c51.js +0 -188
  635. package/spinner.ee015469.js +0 -58
  636. package/switch.96fd1689.js +0 -65
  637. package/systemfeedback.8515a4e0.js +0 -25
  638. package/text.de8facb9.js +0 -57
  639. package/textarea.b8c40c8b.js +0 -189
  640. package/title.7be43d50.js +0 -36
  641. /package/chunks/{helpers.ea3ca41a.js → helpers.B1JT5ShS.js} +0 -0
  642. /package/chunks/{index.8021d3e0.js → index.CvOaL64Y.js} +0 -0
  643. /package/chunks/{useBreakpoint.6c1b06c2.js → useBreakpoint.5xBNDiCf.js} +0 -0
  644. /package/partials/{apple-icon.png → default-apple-icon.png} +0 -0
  645. /package/partials/{favicon.ico → default-favicon.ico} +0 -0
  646. /package/partials/{icon-192.png → default-icon-192.png} +0 -0
  647. /package/partials/{icon-512.png → default-icon-512.png} +0 -0
  648. /package/partials/{icon.svg → default-icon.svg} +0 -0
@@ -0,0 +1 @@
1
+ ._root_112bt_76{margin:0;padding:0;border:none;color:#252525}._root--large_112bt_82{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1.25rem;line-height:1.6;font-size-adjust:.414}._root--large-bold_112bt_94{font-family:STIHL Contraface Digital Text Bold,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1.25rem;line-height:1.6;font-size-adjust:.426}._root--medium_112bt_106{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.5;font-size-adjust:.414}._root--medium-bold_112bt_118{font-family:STIHL Contraface Digital Text Bold,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.5;font-size-adjust:.426}._root--small_112bt_130{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;font-size-adjust:.414}._root--small-bold_112bt_142{font-family:STIHL Contraface Digital Text Bold,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;font-size-adjust:.426}._root--x-small_112bt_154{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.75rem;line-height:1.33;font-size-adjust:.414}._root--x-small-bold_112bt_166{font-family:STIHL Contraface Digital Text Bold,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.75rem;line-height:1.33;font-size-adjust:.426}._root--xx-small_112bt_178{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.625rem;line-height:1.6;font-size-adjust:.414}._root_112bt_76 a:not([class]){display:inline;padding-inline-end:2px;padding-inline-start:2px;padding-block-start:0;padding-block-end:0;line-height:inherit;font-size:inherit;text-decoration-skip-ink:auto;text-decoration-line:underline;text-underline-offset:2px;text-decoration-thickness:1px;text-decoration-color:currentColor}:where(._root_112bt_76 a:not([class]))[href^="http://"]:after,:where(._root_112bt_76 a:not([class]))[href^="https://"]:after,:where(._root_112bt_76 a:not([class]))[href^="#"]:after{display:inline-block;margin-inline-start:.375em;width:.75em;height:.75em}._root_112bt_76 a:not([class]){color:#252525}._root_112bt_76 a:not([class]):link,._root_112bt_76 a:not([class]):visited{color:#252525}._root_112bt_76 a:not([class]):active{background-color:#0000001a;color:#252525}@media (hover: hover){._root_112bt_76 a:not([class]):hover{background-color:#0000001a;color:#252525}}@media screen and (hover: hover) and (forced-colors: active){._root_112bt_76 a:not([class]):hover{background-color:Canvas}}._root_112bt_76 a:not([class])[href^="http://"]:after,._root_112bt_76 a:not([class])[href^="https://"]:after{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23252525' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath fill-rule='evenodd' d='M9 2V0h7v7h-2V3.4L8.1 9.3 6.7 7.9 12.6 2H9Zm5 8h-2v4H2V4h4V2H0v14h14v-6Z' clip-rule='evenodd'/%3E%3C/svg%3E")}._root_112bt_76 a:not([class])[href^="#"]:after{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23252525' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath d='M14.4 9.6 8 16 1.6 9.6 3 8.2l4 4V0h2v12.2l4-4 1.4 1.4Z'/%3E%3C/svg%3E")}._root_112bt_76 a:not([class]):focus{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){._root_112bt_76 a:not([class]):focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._root_112bt_76 a:not([class]):focus{outline:revert;outline-offset:revert}._root_112bt_76 a:not([class]):focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){._root_112bt_76 a:not([class]):focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}._root_112bt_76 a:not([class]){transition:background-color var(--ds-animation-duration, .1s) linear,border-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){._root_112bt_76 a:not([class]){transition-duration:0ms}}._root--theme-dark_112bt_275{color:#fff}._root--theme-dark_112bt_275 a:not([class]){display:inline;padding-inline-end:2px;padding-inline-start:2px;padding-block-start:0;padding-block-end:0;line-height:inherit;font-size:inherit;text-decoration-skip-ink:auto;text-decoration-line:underline;text-underline-offset:2px;text-decoration-thickness:1px;text-decoration-color:currentColor}:where(._root--theme-dark_112bt_275 a:not([class]))[href^="http://"]:after,:where(._root--theme-dark_112bt_275 a:not([class]))[href^="https://"]:after,:where(._root--theme-dark_112bt_275 a:not([class]))[href^="#"]:after{display:inline-block;margin-inline-start:.375em;width:.75em;height:.75em}._root--theme-dark_112bt_275 a:not([class]){color:#fff}._root--theme-dark_112bt_275 a:not([class]):link,._root--theme-dark_112bt_275 a:not([class]):visited{color:#fff}._root--theme-dark_112bt_275 a:not([class]):active{background-color:#ffffff26;color:#fff}@media (hover: hover){._root--theme-dark_112bt_275 a:not([class]):hover{background-color:#ffffff26;color:#fff}}@media screen and (hover: hover) and (forced-colors: active){._root--theme-dark_112bt_275 a:not([class]):hover{background-color:Canvas}}._root--theme-dark_112bt_275 a:not([class])[href^="http://"]:after,._root--theme-dark_112bt_275 a:not([class])[href^="https://"]:after{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFFFFF' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath fill-rule='evenodd' d='M9 2V0h7v7h-2V3.4L8.1 9.3 6.7 7.9 12.6 2H9Zm5 8h-2v4H2V4h4V2H0v14h14v-6Z' clip-rule='evenodd'/%3E%3C/svg%3E")}._root--theme-dark_112bt_275 a:not([class])[href^="#"]:after{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFFFFF' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath d='M14.4 9.6 8 16 1.6 9.6 3 8.2l4 4V0h2v12.2l4-4 1.4 1.4Z'/%3E%3C/svg%3E")}._root--theme-dark_112bt_275 a:not([class]):focus{outline:2px solid;outline-color:#fff;outline-offset:0}@media screen and (forced-colors: active){._root--theme-dark_112bt_275 a:not([class]):focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){._root--theme-dark_112bt_275 a:not([class]):focus{outline:revert;outline-offset:revert}._root--theme-dark_112bt_275 a:not([class]):focus-visible{outline:2px solid;outline-color:#fff;outline-offset:0}@media screen and (forced-colors: active){._root--theme-dark_112bt_275 a:not([class]):focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}._root--theme-dark_112bt_275 a:not([class]){transition:background-color var(--ds-animation-duration, .1s) linear,border-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){._root--theme-dark_112bt_275 a:not([class]){transition-duration:0ms}}
@@ -0,0 +1 @@
1
+ ._root_1lq13_76{color:#252525}._root--x-large-uppercase_1lq13_79{font-family:STIHL Contraface Digital Display Title,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:400;font-size:1.625rem;line-height:1.2;font-size-adjust:cap-height .68;text-transform:uppercase}@media (min-width: 1024px){._root--x-large-uppercase_1lq13_79{font-size:1.875rem;line-height:1.25}}._root--large-uppercase_1lq13_96{font-family:STIHL Contraface Digital Display Title,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;font-weight:400;font-size:1.375rem;line-height:1.25;font-size-adjust:cap-height .68;text-transform:uppercase}@media (min-width: 1024px){._root--large-uppercase_1lq13_96{font-size:1.625rem;line-height:1.2}}._root--theme-dark_1lq13_113{color:#fff}._root_1lq13_76>._dash_1lq13_116{display:block;text-transform:none}
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import { j as o } from "./chunks/jsx-runtime.C115EyI4.js";
3
+ import './assets/asterisk.DlJ4YtSZ.css';const s = "_root_1j0kw_76", t = {
4
+ root: s
5
+ }, e = () => /* @__PURE__ */ o.jsx("span", { className: t.root, "aria-hidden": "true", children: "*" });
6
+ export {
7
+ e as Asterisk
8
+ };
package/asterisk.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './components/Asterisk/Asterisk'
2
+ export {}
@@ -0,0 +1,135 @@
1
+ "use client";
2
+ import { j as _ } from "./chunks/jsx-runtime.C115EyI4.js";
3
+ import { c as a } from "./chunks/index.CvOaL64Y.js";
4
+ import { u as e } from "./chunks/useBreakpoint.5xBNDiCf.js";
5
+ import { D as I } from "./chunks/Icon.C2o2seDb.js";
6
+ import { DSSpinner as F } from "./spinner.D-xrotcu.js";
7
+ import './assets/button.C9_ejpGG.css';const S = "_root_1b5zu_151", x = "_root--highlight_1b5zu_228", j = "_root--dark-highlight_1b5zu_228", L = "_root--filled_1b5zu_306", C = "_root--outline_1b5zu_334", N = "_root--ghost_1b5zu_361", B = "_root--ghost-flush_1b5zu_386", E = "_root--small_1b5zu_392", R = "_root--dark-filled_1b5zu_474", T = "_root--dark-outline_1b5zu_533", V = "_root--dark-ghost_1b5zu_591", q = "_root--dark-ghost-flush_1b5zu_647", w = "_root--icon-left_1b5zu_711", A = "_root--icon-only_1b5zu_727", J = "_root--icon-only-small_1b5zu_736", K = "_loader_1b5zu_751", M = "_icon--hidden_1b5zu_763", P = "_label--hidden_1b5zu_767", Q = "_label--loading_1b5zu_779", o = {
8
+ root: S,
9
+ "root--highlight": "_root--highlight_1b5zu_228",
10
+ rootHighlight: x,
11
+ "root--dark-highlight": "_root--dark-highlight_1b5zu_228",
12
+ rootDarkHighlight: j,
13
+ "root--filled": "_root--filled_1b5zu_306",
14
+ rootFilled: L,
15
+ "root--outline": "_root--outline_1b5zu_334",
16
+ rootOutline: C,
17
+ "root--ghost": "_root--ghost_1b5zu_361",
18
+ rootGhost: N,
19
+ "root--ghost-flush": "_root--ghost-flush_1b5zu_386",
20
+ rootGhostFlush: B,
21
+ "root--small": "_root--small_1b5zu_392",
22
+ rootSmall: E,
23
+ "root--dark-filled": "_root--dark-filled_1b5zu_474",
24
+ rootDarkFilled: R,
25
+ "root--dark-outline": "_root--dark-outline_1b5zu_533",
26
+ rootDarkOutline: T,
27
+ "root--dark-ghost": "_root--dark-ghost_1b5zu_591",
28
+ rootDarkGhost: V,
29
+ "root--dark-ghost-flush": "_root--dark-ghost-flush_1b5zu_647",
30
+ rootDarkGhostFlush: q,
31
+ "root--icon-left": "_root--icon-left_1b5zu_711",
32
+ rootIconLeft: w,
33
+ "root--icon-only": "_root--icon-only_1b5zu_727",
34
+ rootIconOnly: A,
35
+ "root--icon-only-small": "_root--icon-only-small_1b5zu_736",
36
+ rootIconOnlySmall: J,
37
+ loader: K,
38
+ "icon--hidden": "_icon--hidden_1b5zu_763",
39
+ iconHidden: M,
40
+ "label--hidden": "_label--hidden_1b5zu_767",
41
+ labelHidden: P,
42
+ "label--loading": "_label--loading_1b5zu_779",
43
+ labelLoading: Q
44
+ }, $ = ({
45
+ children: g,
46
+ aria: k,
47
+ className: f,
48
+ dataTrackingid: z,
49
+ disabled: h = !1,
50
+ hideLabel: i = !1,
51
+ iconName: u,
52
+ iconPosition: m = "left",
53
+ iconSource: d,
54
+ isFlush: s = !1,
55
+ loading: r = !1,
56
+ size: n = "medium",
57
+ theme: l = "light",
58
+ variant: t = "filled",
59
+ onClick: c,
60
+ ...D
61
+ }) => {
62
+ const y = a(o.root, f, {
63
+ // variant
64
+ [o.rootFilled]: t === "filled",
65
+ [o.rootHighlight]: t === "highlight",
66
+ [o.rootOutline]: t === "outline",
67
+ [o.rootGhost]: t === "ghost" && s !== !0,
68
+ // isFlush
69
+ [o.rootGhostFlush]: t === "ghost" && s === !0,
70
+ // dark theme
71
+ [o.rootDarkFilled]: l === "dark" && t === "filled",
72
+ [o.rootDarkHighlight]: l === "dark" && t === "highlight",
73
+ [o.rootDarkOutline]: l === "dark" && t === "outline",
74
+ [o.rootDarkGhost]: l === "dark" && t === "ghost" && s !== !0,
75
+ // dark isFlush
76
+ [o.rootDarkGhostFlush]: l === "dark" && t === "ghost" && s === !0,
77
+ // size
78
+ [o.rootSmall]: n === "small",
79
+ // icon position
80
+ [o.rootIconLeft]: m === "left",
81
+ // icon only
82
+ [o.rootIconOnly]: e(i) && n === "medium",
83
+ [o.rootIconOnlySmall]: e(i) && n === "small"
84
+ }), O = a(o.label, {
85
+ // hide label only visually to keep them available for assistive technologies
86
+ [o.labelHidden]: e(i),
87
+ // set label opacity to 0 when loading to prevent button size from changing
88
+ [o.labelLoading]: r
89
+ }), p = a(o.icon, {
90
+ // set icon opacity to 0 when loading to prevent button size from changing
91
+ [o.iconHidden]: r
92
+ }), G = l === "light" && t === "filled" || l === "dark" && t === "outline" || l === "dark" && t === "ghost" ? "dark" : "light", H = (b) => {
93
+ if (h || r) {
94
+ b.preventDefault();
95
+ return;
96
+ }
97
+ c && c(b);
98
+ };
99
+ return /* @__PURE__ */ _.jsxs(
100
+ "button",
101
+ {
102
+ className: y,
103
+ "data-trackingid": z,
104
+ type: "submit",
105
+ onClick: H,
106
+ ...k,
107
+ ...D,
108
+ "aria-disabled": h || r,
109
+ "aria-busy": r,
110
+ children: [
111
+ r && /* @__PURE__ */ _.jsx(
112
+ F,
113
+ {
114
+ className: o.loader,
115
+ aria: { "aria-label": "Loading state" }
116
+ }
117
+ ),
118
+ /* @__PURE__ */ _.jsx("span", { className: O, children: g }),
119
+ (u || d) && /* @__PURE__ */ _.jsx(
120
+ I,
121
+ {
122
+ name: u,
123
+ theme: G,
124
+ source: d,
125
+ className: p,
126
+ "aria-hidden": "true"
127
+ }
128
+ )
129
+ ]
130
+ }
131
+ );
132
+ };
133
+ export {
134
+ $ as DSButton
135
+ };
package/button.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './components/Button/Button'
2
+ export {}
@@ -0,0 +1,118 @@
1
+ "use client";
2
+ import { j as i } from "./chunks/jsx-runtime.C115EyI4.js";
3
+ import { c as _ } from "./chunks/index.CvOaL64Y.js";
4
+ import { D as H } from "./chunks/Icon.C2o2seDb.js";
5
+ import { DSSpinner as p } from "./spinner.D-xrotcu.js";
6
+ import './assets/buttonround.DTCqRP-0.css';const F = "_root_15iy5_151", O = "_root--highlight_15iy5_228", G = "_root--dark-highlight_15iy5_228", I = "_root--filled_15iy5_306", S = "_root--outline_15iy5_334", x = "_root--ghost_15iy5_361", j = "_root--ghost-flush_15iy5_386", L = "_root--small_15iy5_392", C = "_root--dark-filled_15iy5_474", N = "_root--dark-outline_15iy5_533", R = "_root--dark-ghost_15iy5_591", B = "_root--dark-ghost-flush_15iy5_647", E = "_root--icon-left_15iy5_711", T = "_root--icon-only_15iy5_727", q = "_root--icon-only-small_15iy5_736", w = "_loader_15iy5_753", z = "_icon--hidden_15iy5_765", A = "_label--hidden_15iy5_769", J = "_label--loading_15iy5_781", o = {
7
+ root: F,
8
+ "root--highlight": "_root--highlight_15iy5_228",
9
+ rootHighlight: O,
10
+ "root--dark-highlight": "_root--dark-highlight_15iy5_228",
11
+ rootDarkHighlight: G,
12
+ "root--filled": "_root--filled_15iy5_306",
13
+ rootFilled: I,
14
+ "root--outline": "_root--outline_15iy5_334",
15
+ rootOutline: S,
16
+ "root--ghost": "_root--ghost_15iy5_361",
17
+ rootGhost: x,
18
+ "root--ghost-flush": "_root--ghost-flush_15iy5_386",
19
+ rootGhostFlush: j,
20
+ "root--small": "_root--small_15iy5_392",
21
+ rootSmall: L,
22
+ "root--dark-filled": "_root--dark-filled_15iy5_474",
23
+ rootDarkFilled: C,
24
+ "root--dark-outline": "_root--dark-outline_15iy5_533",
25
+ rootDarkOutline: N,
26
+ "root--dark-ghost": "_root--dark-ghost_15iy5_591",
27
+ rootDarkGhost: R,
28
+ "root--dark-ghost-flush": "_root--dark-ghost-flush_15iy5_647",
29
+ rootDarkGhostFlush: B,
30
+ "root--icon-left": "_root--icon-left_15iy5_711",
31
+ rootIconLeft: E,
32
+ "root--icon-only": "_root--icon-only_15iy5_727",
33
+ rootIconOnly: T,
34
+ "root--icon-only-small": "_root--icon-only-small_15iy5_736",
35
+ rootIconOnlySmall: q,
36
+ loader: w,
37
+ "icon--hidden": "_icon--hidden_15iy5_765",
38
+ iconHidden: z,
39
+ "label--hidden": "_label--hidden_15iy5_769",
40
+ labelHidden: A,
41
+ "label--loading": "_label--loading_15iy5_781",
42
+ labelLoading: J
43
+ }, U = ({
44
+ children: d,
45
+ aria: c,
46
+ className: y,
47
+ dataTrackingid: g,
48
+ disabled: n = !1,
49
+ iconName: s = "placeholder",
50
+ iconSource: a,
51
+ loading: t = !1,
52
+ theme: r = "light",
53
+ variant: l = "filled",
54
+ onClick: e,
55
+ ...k
56
+ }) => {
57
+ const u = _(
58
+ o.root,
59
+ o.rootIconOnlySmall,
60
+ y,
61
+ {
62
+ // variant
63
+ [o.rootFilled]: l === "filled",
64
+ [o.rootHighlight]: l === "highlight",
65
+ // dark theme
66
+ [o.rootDarkFilled]: r === "dark" && l === "filled",
67
+ [o.rootDarkHighlight]: r === "dark" && l === "highlight"
68
+ }
69
+ ), f = _(o.label, o.labelHidden, {
70
+ // set label opacity to 0 when loading to prevent button size from changing
71
+ [o.labelLoading]: t
72
+ }), m = _(o.icon, {
73
+ // set icon opacity to 0 when loading to prevent button size from changing
74
+ [o.iconHidden]: t
75
+ }), b = r === "light" && l === "filled" ? "dark" : "light", D = (h) => {
76
+ if (n || t) {
77
+ h.preventDefault();
78
+ return;
79
+ }
80
+ e && e(h);
81
+ };
82
+ return /* @__PURE__ */ i.jsxs(
83
+ "button",
84
+ {
85
+ className: u,
86
+ "data-trackingid": g,
87
+ type: "button",
88
+ onClick: D,
89
+ ...c,
90
+ ...k,
91
+ "aria-disabled": n || t,
92
+ "aria-busy": t,
93
+ children: [
94
+ t && /* @__PURE__ */ i.jsx(
95
+ p,
96
+ {
97
+ className: o.loader,
98
+ aria: { "aria-label": "Loading state" }
99
+ }
100
+ ),
101
+ /* @__PURE__ */ i.jsx("span", { className: f, children: d }),
102
+ (s || a) && /* @__PURE__ */ i.jsx(
103
+ H,
104
+ {
105
+ name: s,
106
+ theme: b,
107
+ source: a,
108
+ className: m,
109
+ "aria-hidden": "true"
110
+ }
111
+ )
112
+ ]
113
+ }
114
+ );
115
+ };
116
+ export {
117
+ U as DSButtonRound
118
+ };
package/buttonround.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './components/ButtonRound/ButtonRound'
2
+ export {}
@@ -0,0 +1,112 @@
1
+ "use client";
2
+ import { j as e } from "./chunks/jsx-runtime.C115EyI4.js";
3
+ import { c as r } from "./chunks/index.CvOaL64Y.js";
4
+ import { forwardRef as S, useRef as y, useState as I, useEffect as H, useCallback as M } from "react";
5
+ import { u as g } from "./chunks/useBreakpoint.5xBNDiCf.js";
6
+ import { D as _ } from "./chunks/Icon.C2o2seDb.js";
7
+ import { DSSystemFeedback as B } from "./systemfeedback.ZzRUAVYX.js";
8
+ import './assets/checkbox.K4CVYK9g.css';const E = "_checkbox-root_rwkfx_151", V = "_checkbox-root--disabled_rwkfx_172", L = "_checkbox_rwkfx_151", O = "_icon-check_rwkfx_192", P = "_icon-minus_rwkfx_193", U = "_checkbox--invalid_rwkfx_217", q = "_label--hidden_rwkfx_222", z = "_input_rwkfx_235", A = "_label_rwkfx_222", F = "_feedback_rwkfx_349", c = {
9
+ "checkbox-root": "_checkbox-root_rwkfx_151",
10
+ checkboxRoot: E,
11
+ "checkbox-root--disabled": "_checkbox-root--disabled_rwkfx_172",
12
+ checkboxRootDisabled: V,
13
+ checkbox: L,
14
+ "icon-check": "_icon-check_rwkfx_192",
15
+ iconCheck: O,
16
+ "icon-minus": "_icon-minus_rwkfx_193",
17
+ iconMinus: P,
18
+ "checkbox--invalid": "_checkbox--invalid_rwkfx_217",
19
+ checkboxInvalid: U,
20
+ "label--hidden": "_label--hidden_rwkfx_222",
21
+ labelHidden: q,
22
+ input: z,
23
+ label: A,
24
+ feedback: F
25
+ }, G = S(
26
+ ({
27
+ label: k,
28
+ checked: x,
29
+ className: d,
30
+ defaultChecked: f = !1,
31
+ disabled: s = !1,
32
+ hideLabel: u = !1,
33
+ indeterminate: h = !1,
34
+ invalid: i = !1,
35
+ systemFeedback: b,
36
+ onChange: l,
37
+ ...m
38
+ }, n) => {
39
+ const a = y(null), [p, w] = I(f), C = g(u);
40
+ H(() => {
41
+ a && a.current && (a.current.indeterminate = h);
42
+ }, [h]);
43
+ const t = x !== void 0, j = t ? x : p, D = r(c.checkboxRoot, {
44
+ [c.checkboxRootDisabled]: s
45
+ }), N = r(c.label, {
46
+ // hide label only visually to keep them available for assistive technologies
47
+ [c.labelHidden]: C
48
+ }), v = r(c.checkbox, {
49
+ [c.checkboxInvalid]: i
50
+ }), R = M(
51
+ (o) => {
52
+ if (s) {
53
+ o.preventDefault();
54
+ return;
55
+ }
56
+ t || w(o.target.checked), l && l(o);
57
+ },
58
+ [s, t, l]
59
+ );
60
+ return /* @__PURE__ */ e.jsxs("div", { className: d, children: [
61
+ /* @__PURE__ */ e.jsxs("label", { className: D, children: [
62
+ /* @__PURE__ */ e.jsx(
63
+ "input",
64
+ {
65
+ type: "checkbox",
66
+ className: c.input,
67
+ ref: (o) => {
68
+ typeof n == "function" ? n(o) : n !== null && (n.current = o), a.current = o;
69
+ },
70
+ ...m,
71
+ checked: j,
72
+ disabled: s,
73
+ "aria-label": k,
74
+ "aria-invalid": i,
75
+ onChange: R
76
+ }
77
+ ),
78
+ /* @__PURE__ */ e.jsxs("div", { className: v, children: [
79
+ /* @__PURE__ */ e.jsx(
80
+ _,
81
+ {
82
+ name: "check",
83
+ className: c.iconCheck,
84
+ "aria-hidden": "true"
85
+ }
86
+ ),
87
+ /* @__PURE__ */ e.jsx(
88
+ _,
89
+ {
90
+ name: "minus",
91
+ className: c.iconMinus,
92
+ "aria-hidden": "true"
93
+ }
94
+ )
95
+ ] }),
96
+ /* @__PURE__ */ e.jsx("span", { className: N, children: k })
97
+ ] }),
98
+ i && b && /* @__PURE__ */ e.jsx(
99
+ B,
100
+ {
101
+ className: c.feedback,
102
+ message: b,
103
+ type: "invalid"
104
+ }
105
+ )
106
+ ] });
107
+ }
108
+ );
109
+ G.displayName = "DSCheckbox";
110
+ export {
111
+ G as DSCheckbox
112
+ };
package/checkbox.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './components/Checkbox/Checkbox'
2
+ export {}
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "./chunks/jsx-runtime.C115EyI4.js";
3
+ import "./chunks/index.CvOaL64Y.js";
4
+ import "./chunks/Fieldset.C9K8BYmH.js";
5
+ import { D as i } from "./chunks/CheckboxGroup.M3jOjhNf.js";
6
+ export {
7
+ i as DSCheckboxGroup
8
+ };
@@ -1 +1,2 @@
1
1
  export * from './components/CheckboxGroup/CheckboxGroup'
2
+ export {}
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import "./chunks/jsx-runtime.C115EyI4.js";
3
+ import "./chunks/index.CvOaL64Y.js";
4
+ import "react";
5
+ import "./chunks/translate.isa3FHb8.js";
6
+ import "./chunks/Icon.C2o2seDb.js";
7
+ import { e as s } from "./chunks/Chip.fMG8wi5K.js";
8
+ export {
9
+ s as DSChip
10
+ };
package/chip.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './components/ChipGroup/Chip'
2
+ export {}
@@ -0,0 +1,175 @@
1
+ "use client";
2
+ import { j as y } from "./chunks/jsx-runtime.C115EyI4.js";
3
+ import { useState as S, useRef as I, useEffect as w, createElement as W } from "react";
4
+ import { c as L } from "./chunks/index.CvOaL64Y.js";
5
+ import { h as $, u as q } from "./chunks/useBreakpoint.5xBNDiCf.js";
6
+ import { g as z } from "./chunks/AriaLiveRegions.utils.BGSZafnS.js";
7
+ import { v as J, a as P, e as Q } from "./chunks/Chip.fMG8wi5K.js";
8
+ import './assets/chipgroup.BMovtKTy.css';const X = "_label--hidden_vobaf_76", Y = "_chip-group_vobaf_89", A = {
9
+ "label--hidden": "_label--hidden_vobaf_76",
10
+ labelHidden: X,
11
+ "chip-group": "_chip-group_vobaf_89",
12
+ chipGroup: Y
13
+ }, ne = ({
14
+ chips: p,
15
+ id: h,
16
+ label: D,
17
+ className: G,
18
+ hideLabel: K = !1,
19
+ isRemovable: r = !1,
20
+ lang: j = "en",
21
+ selectionMode: c = "single",
22
+ size: C = "medium",
23
+ translations: N,
24
+ onChipsChange: i,
25
+ ...T
26
+ }) => {
27
+ process.env.NODE_ENV !== "production" && J({
28
+ chips: p,
29
+ id: h,
30
+ label: D
31
+ });
32
+ const [l, o] = S(null), [s, a] = S(p), E = I(null), [d, b] = S(), f = I([]);
33
+ w(() => {
34
+ a(p);
35
+ }, [p]), w(() => {
36
+ P();
37
+ const e = () => b("keydown"), t = () => b(null), n = () => b(null);
38
+ return $ && (document.addEventListener("keydown", e), document.addEventListener("mousedown", t), document.addEventListener("touchstart", n)), () => {
39
+ $ && (document.removeEventListener("keydown", e), document.removeEventListener("mousedown", t), document.removeEventListener("touchstart", n));
40
+ };
41
+ }, []), w(() => {
42
+ var e;
43
+ l !== null && f.current[l] && d === "keydown" && ((e = f.current[l]) == null || e.focus());
44
+ }, [l]), w(() => {
45
+ d === "keydown" && l !== null && s.length > 0 && f.current.forEach((e, t) => {
46
+ e && (e.tabIndex = t === l ? 0 : -1, t === l && e.focus());
47
+ });
48
+ }, [s]);
49
+ const B = (e) => {
50
+ if (l === null) return;
51
+ let t = l;
52
+ switch (e.key) {
53
+ case "a":
54
+ (e.metaKey || e.ctrlKey) && (e.preventDefault(), F());
55
+ break;
56
+ case "ArrowRight":
57
+ case "ArrowDown":
58
+ e.shiftKey && c === "multiple" && !r ? (t = l + 1 > s.length - 1 ? s.length - 1 : l + 1, l !== t ? (u(l), u(t)) : s[l].isSelected || u(l)) : (t = (l + 1) % s.length, e.preventDefault());
59
+ break;
60
+ case "ArrowLeft":
61
+ case "ArrowUp":
62
+ e.shiftKey && c === "multiple" && !r ? (t = l - 1 < 0 ? 0 : l - 1, l !== t ? (u(l), u(t)) : s[0].isSelected || u(0)) : (t = (l - 1 + s.length) % s.length, e.preventDefault());
63
+ break;
64
+ case "Enter":
65
+ case " ":
66
+ if (e.preventDefault(), r) {
67
+ k(t);
68
+ return;
69
+ } else
70
+ v(t);
71
+ break;
72
+ case "Backspace":
73
+ r && k(t), e.preventDefault();
74
+ return;
75
+ default:
76
+ return;
77
+ }
78
+ o(t);
79
+ }, F = () => {
80
+ if (c !== "multiple") return;
81
+ const e = s.map((t) => ({
82
+ ...t,
83
+ selected: !t.disabled
84
+ }));
85
+ a(e), m(`${e.length} items selected`), i && i(e);
86
+ }, u = (e) => {
87
+ if (r) return;
88
+ const t = [...s];
89
+ t[e].disabled || (t[e].isSelected = !0, m(
90
+ `${t[e].label} selected, ${t.filter(({ isSelected: n }) => n).length} items selected`
91
+ ), a(t), i && i(t));
92
+ }, v = (e) => {
93
+ if (r) return;
94
+ const t = [...s];
95
+ t[e].disabled || (c === "single" ? t.forEach((n, g) => {
96
+ g === e ? (n.isSelected = !n.isSelected, m(
97
+ `${n.label} ${n.isSelected ? "selected" : "not selected"}`
98
+ )) : n.isSelected = !1;
99
+ }) : c === "multiple" && (t[e].isSelected = !t[e].isSelected, m(
100
+ `${t[e].label} ${t[e].isSelected ? "selected" : "not selected"}, ${t.filter(({ isSelected: n }) => n).length} items selected`
101
+ )), a(t), i && i(t));
102
+ }, k = (e) => {
103
+ var g;
104
+ const t = s[e], n = s.filter((_, U) => U !== e);
105
+ if (a(n), m(
106
+ `${t.label} removed, ${n.length} items remaining`
107
+ ), d === "keydown")
108
+ if (n.length > 0) {
109
+ const _ = Math.min(e, n.length - 1);
110
+ o(_);
111
+ } else
112
+ (g = E.current) == null || g.focus(), o(null);
113
+ i && i(n);
114
+ }, H = (e) => {
115
+ r ? k(e) : s[e].disabled || v(e);
116
+ }, m = (e) => {
117
+ const t = z();
118
+ t && (t.innerText = e, setTimeout(() => {
119
+ t.innerText = "";
120
+ }, 350));
121
+ }, V = (e) => l === null || l === e ? 0 : -1, x = q(K), O = L(A.chipGroup, G);
122
+ return s.length === 0 ? null : /* @__PURE__ */ y.jsxs("div", { children: [
123
+ /* @__PURE__ */ y.jsx(
124
+ "div",
125
+ {
126
+ id: h,
127
+ className: L({
128
+ [A.labelHidden]: x
129
+ }),
130
+ children: D
131
+ }
132
+ ),
133
+ s.length > 0 && /* @__PURE__ */ y.jsx(
134
+ "div",
135
+ {
136
+ ref: E,
137
+ role: "grid",
138
+ "aria-labelledby": h,
139
+ "aria-multiselectable": c === "multiple",
140
+ tabIndex: -1,
141
+ onKeyDown: B,
142
+ onFocus: () => {
143
+ l === null ? (f.current[0].focus(), d === "keydown" && o(0)) : d === "keydown" && o(l);
144
+ },
145
+ onBlur: () => o(null),
146
+ className: O,
147
+ ...T,
148
+ children: s.map((e, t) => /* @__PURE__ */ W(
149
+ Q,
150
+ {
151
+ ...e,
152
+ key: `${e.id}-${t}`,
153
+ groupId: h,
154
+ tabIndex: V(t),
155
+ onClick: (n) => {
156
+ H(t), e.onClick && e.onClick(n);
157
+ },
158
+ "data-focused": l === t,
159
+ isRemovable: r,
160
+ lang: j,
161
+ selectionMode: c,
162
+ size: C,
163
+ translations: N,
164
+ ref: (n) => {
165
+ f.current[t] = n;
166
+ }
167
+ }
168
+ ))
169
+ }
170
+ )
171
+ ] });
172
+ };
173
+ export {
174
+ ne as DSChipGroup
175
+ };
package/chipgroup.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './components/ChipGroup/ChipGroup'
2
+ export {}
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import * as e from "react";
3
+ const t = ({
4
+ title: l,
5
+ titleId: c,
6
+ ...a
7
+ }) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "#252525", viewBox: "0 0 16 16", focusable: "false", width: "100%", height: "100%", "aria-labelledby": c, ...a }, l ? /* @__PURE__ */ e.createElement("title", { id: c }, l) : null, /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", d: "M11.572 5.537c.981 0 1.943-.695 1.943-2.268 0-1.574-.962-2.269-1.943-2.269s-1.944.696-1.944 2.269c0 1.572.962 2.268 1.944 2.268m0-.806c-.572 0-.995-.455-.995-1.462 0-1.008.423-1.463.995-1.463s.994.455.994 1.463c0 1.007-.422 1.462-.994 1.462", clipRule: "evenodd" }), /* @__PURE__ */ e.createElement("path", { d: "M5.127 4.023c0 .994-.748 1.514-1.677 1.514-.82 0-1.495-.436-1.762-1.04l.78-.403c.156.305.436.617.943.617.474 0 .786-.299.786-.734 0-.442-.338-.721-.91-.721-.312 0-.52.065-.637.11l-.045-.071.897-1.203c.09-.117.22-.254.22-.254s-.194.02-.35.02H2.098v-.8H5.1v.079l-.865 1.17a2 2 0 0 1-.286.318c.63.143 1.177.604 1.177 1.398" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", d: "M9.067 3.958c0 .87-.69 1.579-1.71 1.579-1 0-1.71-.689-1.71-1.54 0-.423.176-.826.436-1.216l1.164-1.723h1.027l-.65.963a3 3 0 0 1-.488.533c.117-.046.325-.079.449-.079.819 0 1.482.599 1.482 1.483m-2.49 0c0 .402.293.76.774.76.5 0 .773-.357.773-.76 0-.41-.26-.78-.773-.78-.481 0-.774.357-.774.78m9.407-1.996c0 .533-.461.962-1.02.962-.56 0-1.02-.429-1.02-.962 0-.546.46-.955 1.02-.955.559 0 1.02.409 1.02.955m-1.404 0c0 .234.156.396.384.396.227 0 .383-.162.383-.396s-.156-.39-.383-.39c-.228 0-.384.156-.384.39", clipRule: "evenodd" }), /* @__PURE__ */ e.createElement("path", { d: "M2.006 9.979a.8.8 0 0 0 .19.209c.229.193.62.413 1.19.617.924.33 2.18.57 3.614.647V9.83l3 2.598-3 2.598v-1.572c-1.63-.079-3.12-.35-4.286-.766-.696-.248-1.33-.568-1.81-.972C.43 11.316 0 10.732 0 9.979S.43 8.642.905 8.24c.479-.404 1.113-.723 1.809-.972 1.4-.5 3.27-.79 5.286-.79 2.017 0 3.886.29 5.286.79.696.249 1.33.568 1.81.972.473.401.904.984.904 1.738 0 .723-.398 1.29-.847 1.687a4 4 0 0 1-.564.413q-.292.18-.622.332c-.759.351-1.697.621-2.733.801l-.343-1.97c.918-.16 1.679-.388 2.235-.646q.237-.11.412-.218.183-.114.292-.212a.8.8 0 0 0 .162-.185l.002-.002a.8.8 0 0 0-.19-.21c-.229-.193-.62-.413-1.19-.617C11.48 8.748 9.848 8.48 8 8.48c-1.85 0-3.48.269-4.613.673-.571.204-.962.424-1.192.617a.8.8 0 0 0-.189.21" }));
8
+ export {
9
+ t as default
10
+ };