@stihl-design-system/components 1.0.0-RC.0 → 1.0.0-RC.10

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 (610) 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 +10 -1
  11. package/Visa.svg +2 -0
  12. package/accordion.B3UkxlAZ.js +10 -0
  13. package/accordion.d.ts +1 -0
  14. package/arialiveregions.BK4T7Vhk.js +27 -0
  15. package/arialiveregions.d.ts +1 -0
  16. package/assets/Accordion.lFv7Q_RG.css +1 -0
  17. package/assets/CustomReactSelect.CMkn-EGK.css +1 -0
  18. package/assets/Dialog.fiQvxJg_.css +1 -0
  19. package/assets/Drawer.BqBgbSuP.css +1 -0
  20. package/assets/Fieldset.qHYeUFZt.css +1 -0
  21. package/assets/Icon.Duy_0R8w.css +1 -0
  22. package/assets/InputPassword.Cf394z47.css +1 -0
  23. package/assets/InputSearch.eCRQoxjN.css +1 -0
  24. package/assets/InputStepper.B80KulYE.css +1 -0
  25. package/assets/Notification.DK6agBGS.css +1 -0
  26. package/assets/RadioGroup.Bz3_xkZU.css +1 -0
  27. package/assets/Select.BptsMxz4.css +1 -0
  28. package/assets/Textarea.CIIVh03G.css +1 -0
  29. package/assets/Toast.Dsvs1zdM.css +1 -0
  30. package/assets/arialiveregions.GsGx2USO.css +1 -0
  31. package/assets/asterisk.DlJ4YtSZ.css +1 -0
  32. package/assets/button.B1O7Yw3Q.css +1 -0
  33. package/assets/buttonround.DlH_ipDo.css +1 -0
  34. package/assets/checkbox.K4CVYK9g.css +1 -0
  35. package/assets/floatingactionbutton.DRYentYC.css +1 -0
  36. package/assets/heading.6bER-Eac.css +1 -0
  37. package/assets/input.C0MrSbQu.css +1 -0
  38. package/assets/link.vtTST2ki.css +1 -0
  39. package/assets/linkstandalone.BtAcziZ7.css +1 -0
  40. package/assets/logo.pETQEsvZ.css +1 -0
  41. package/assets/optioncheckbox.BJJAph5_.css +1 -0
  42. package/assets/radio.9kpIO3HC.css +1 -0
  43. package/assets/skiptocontent.CHcqLS7S.css +1 -0
  44. package/assets/spinner.D_Nnf1ZG.css +1 -0
  45. package/assets/switch.2DQF2zH-.css +1 -0
  46. package/assets/systemfeedback.Sq0bAIyf.css +1 -0
  47. package/assets/text.Dhb_l50R.css +1 -0
  48. package/assets/title.f74Bosn-.css +1 -0
  49. package/asterisk.DDn-yX4P.js +8 -0
  50. package/button.DH0h6uPs.js +135 -0
  51. package/buttonround.0mw4zzlU.js +118 -0
  52. package/checkbox.DETR3e3X.js +112 -0
  53. package/checkboxgroup.CZqrlF-x.js +9 -0
  54. package/chunks/360.CfjUtgxq.js +10 -0
  55. package/chunks/Accordion.pI3JyHJL.js +125 -0
  56. package/chunks/AriaLiveRegions.utils.D2ni4Yrf.js +34 -0
  57. package/chunks/CheckboxGroup.4J_gZ_XJ.js +87 -0
  58. package/chunks/CustomReactSelect.ChAtL6fu.js +3591 -0
  59. package/chunks/Dialog.Z5ESJQMi.js +148 -0
  60. package/chunks/Drawer.BdowMqE0.js +154 -0
  61. package/chunks/Fieldset.COGbZwry.js +99 -0
  62. package/chunks/Icon.C2o2seDb.js +223 -0
  63. package/chunks/{Input.utils.f8f3286f.js → Input.utils.ChV6RJsh.js} +24 -17
  64. package/chunks/InputPassword.Dgo95-PU.js +140 -0
  65. package/chunks/InputSearch.BFof0pBn.js +189 -0
  66. package/chunks/InputStepper.4IqLa5tX.js +291 -0
  67. package/chunks/Notification.BhwbaXqk.js +93 -0
  68. package/chunks/RadioGroup.C5jbCJM4.js +132 -0
  69. package/chunks/RadioGroup.module.BBZwHDjW.js +11 -0
  70. package/chunks/Select.fXeQJXtz.js +191 -0
  71. package/chunks/Textarea.Bewrp0Za.js +195 -0
  72. package/chunks/Toast.DA_CQ9J-.js +89 -0
  73. package/chunks/academic-cap.OBigTQQS.js +10 -0
  74. package/chunks/alarm-clock.CpK-AEZG.js +10 -0
  75. package/chunks/arrow-clockwise.BefOjGPg.js +10 -0
  76. package/chunks/arrow-counterclockwise.C7Ov32BZ.js +10 -0
  77. package/chunks/arrow-down-line.RDD2pRZY.js +10 -0
  78. package/chunks/arrow-down.XpokLh98.js +10 -0
  79. package/chunks/arrow-edge.CPA93M81.js +10 -0
  80. package/chunks/arrow-left.C8NG5I2X.js +10 -0
  81. package/chunks/arrow-out.CsHHHYN9.js +10 -0
  82. package/chunks/arrow-outline-left.Bhw_LzfV.js +10 -0
  83. package/chunks/arrow-right.HNwAz18h.js +10 -0
  84. package/chunks/arrow-up-arrow-down.BVyuVJP5.js +10 -0
  85. package/chunks/arrow-up.Ca1GnLaY.js +10 -0
  86. package/chunks/at.BNfdp4M0.js +10 -0
  87. package/chunks/barcode-scanner.D0olxB_m.js +10 -0
  88. package/chunks/battery.YCg9lYqC.js +10 -0
  89. package/chunks/bell.DbPxCAUM.js +10 -0
  90. package/chunks/bin-open.DsjIBW00.js +10 -0
  91. package/chunks/bin.ktpYUJmK.js +10 -0
  92. package/chunks/bluetooth.dW5tTwby.js +10 -0
  93. package/chunks/bookmark.B7Mbr-d6.js +10 -0
  94. package/chunks/burger.DLP81BXa.js +10 -0
  95. package/chunks/calendar.Cig7yG7m.js +10 -0
  96. package/chunks/camera.BoCB0Emp.js +10 -0
  97. package/chunks/cart-check.CYH0vTB8.js +10 -0
  98. package/chunks/cart-plus.DzXXFMZj.js +10 -0
  99. package/chunks/cart.CoEwMABr.js +10 -0
  100. package/chunks/catalog.CwV-J6Kb.js +10 -0
  101. package/chunks/certificate.Crs4RohK.js +10 -0
  102. package/chunks/chain-link.BMV2WV6k.js +10 -0
  103. package/chunks/chainsaw.CI1EYF7a.js +10 -0
  104. package/chunks/check.CuZKWgYj.js +10 -0
  105. package/chunks/chevron-down.5UkGOwK_.js +10 -0
  106. package/chunks/chevron-left.DRFQ-efY.js +10 -0
  107. package/chunks/chevron-line-left.SQvDJQ1t.js +10 -0
  108. package/chunks/chevron-line-right.CYQ3b2cQ.js +10 -0
  109. package/chunks/chevron-right.B_Ew9QUt.js +10 -0
  110. package/chunks/chevron-up.DqETUWqG.js +10 -0
  111. package/chunks/circle-check-colored.Bye_GwLy.js +10 -0
  112. package/chunks/circle-check-inverted.Cc2cUmWT.js +10 -0
  113. package/chunks/circle-info-colored.D2pp54gf.js +10 -0
  114. package/chunks/circle-info-inverted.D8Z0vTmu.js +10 -0
  115. package/chunks/circle-pause.DaRfXOff.js +10 -0
  116. package/chunks/circle-stroke.CWu_o3Gx.js +10 -0
  117. package/chunks/circle.471EUzv6.js +10 -0
  118. package/chunks/clock.Bw5ICIVH.js +10 -0
  119. package/chunks/coffee-cup.DIijzKx_.js +10 -0
  120. package/chunks/compare.BgktBbYD.js +10 -0
  121. package/chunks/connected-box-mobile.DboMCVxp.js +10 -0
  122. package/chunks/connected-box-stationary.CAPCPQ1d.js +10 -0
  123. package/chunks/connected-box.DVqJw-ws.js +10 -0
  124. package/chunks/cross.rEw3TuHs.js +10 -0
  125. package/chunks/diamond-exclamationmark-colored.WNKYwZ8q.js +10 -0
  126. package/chunks/diamond-exclamationmark-inverted.DzAIb8Nt.js +10 -0
  127. package/chunks/diamond.CXZHFpPC.js +10 -0
  128. package/chunks/diskette._0C2VZ9v.js +10 -0
  129. package/chunks/distance.FA6pTjcW.js +10 -0
  130. package/chunks/dots-connected.ZMYjHeNS.js +10 -0
  131. package/chunks/{download-complete.0b84a7cc.js → download-complete.CZVpzrvY.js} +3 -4
  132. package/chunks/envelope-open.CA4cE5lk.js +10 -0
  133. package/chunks/envelope.re-RxZVw.js +10 -0
  134. package/chunks/exclamationmark.DEbIGqGC.js +10 -0
  135. package/chunks/exit.Cgb8AB-k.js +10 -0
  136. package/chunks/eye-closed.CvqozUwK.js +10 -0
  137. package/chunks/eye.CRQMKZs4.js +10 -0
  138. package/chunks/{triangle.bff84ddf.js → facebook.CVcxa0rV.js} +2 -3
  139. package/chunks/filter.DrPSKpaG.js +10 -0
  140. package/chunks/finger-double-arrow.DDUZoPh8.js +10 -0
  141. package/chunks/flash.CgJJ1bUx.js +10 -0
  142. package/chunks/fullscreen.Be2rBj1i.js +10 -0
  143. package/chunks/gear.DEltGVSA.js +10 -0
  144. package/chunks/globe.DG6uw6fi.js +10 -0
  145. package/chunks/grid.DH1impeF.js +10 -0
  146. package/chunks/guidance.BBYB3JpW.js +10 -0
  147. package/chunks/haircross.D-whkit9.js +10 -0
  148. package/chunks/hanger.Bo8qtNo5.js +10 -0
  149. package/chunks/has-document.r9i9TxKV.js +5 -0
  150. package/chunks/headphones.DjWXOuJJ.js +10 -0
  151. package/chunks/heart.D-BnHMb-.js +10 -0
  152. package/chunks/hexagon-arrow-clockwise.D0eeDQQx.js +10 -0
  153. package/chunks/horizontal-ellipsis.ChdN6RnG.js +10 -0
  154. package/chunks/house.BohpDQ3q.js +10 -0
  155. package/chunks/imow.Dh1oMqcW.js +10 -0
  156. package/chunks/info.BZVg9FLA.js +10 -0
  157. package/chunks/instagram.CIlKb7xj.js +10 -0
  158. package/chunks/{jsx-runtime.5c071667.js → jsx-runtime.C115EyI4.js} +259 -256
  159. package/chunks/leave-fullscreen.BC5iwDur.js +10 -0
  160. package/chunks/lightbulb.DQ7TiRsr.js +10 -0
  161. package/chunks/linkedin.br5zvxco.js +10 -0
  162. package/chunks/list-three-rows.Cso4ybs8.js +10 -0
  163. package/chunks/list-two-rows.DOsZEv0-.js +10 -0
  164. package/chunks/loading-spinner.BukfMaU6.js +10 -0
  165. package/chunks/lock.Dw_GOpTn.js +10 -0
  166. package/chunks/magnifying-glass-minus.BYztw2P1.js +10 -0
  167. package/chunks/magnifying-glass-plus.BTgviDVh.js +10 -0
  168. package/chunks/magnifying-glass.C8DfRaIO.js +10 -0
  169. package/chunks/map.CXgG1iGz.js +10 -0
  170. package/chunks/minus.BkhCuIH4.js +10 -0
  171. package/chunks/mobile.C1Kj9VnC.js +10 -0
  172. package/chunks/nine-squares.DVsNAOzz.js +10 -0
  173. package/chunks/note-check.CM_kmt0M.js +10 -0
  174. package/chunks/note-plus.Bkn78EyA.js +10 -0
  175. package/chunks/note.CE0ACLn8.js +10 -0
  176. package/chunks/number-input.BLhoh5mh.js +10 -0
  177. package/chunks/paperclip.BMerX4rj.js +10 -0
  178. package/chunks/parcel.Ve9GL_EG.js +10 -0
  179. package/chunks/pause.B91Ejn-O.js +10 -0
  180. package/chunks/pdf.9kZbElrZ.js +10 -0
  181. package/chunks/pen.CvKw2PvE.js +10 -0
  182. package/chunks/percent.BlB6rG-B.js +10 -0
  183. package/chunks/petrol.Du6qAgp0.js +10 -0
  184. package/chunks/phone.DzdXfmNC.js +10 -0
  185. package/chunks/pin-s.DXgYuN9C.js +10 -0
  186. package/chunks/pin.DZfZr4El.js +10 -0
  187. package/chunks/pinterest.sUPAub_q.js +10 -0
  188. package/chunks/placeholder.Dbb0hT5R.js +10 -0
  189. package/chunks/play.BDiY2JrT.js +10 -0
  190. package/chunks/plug.DZozve4C.js +10 -0
  191. package/chunks/plus.zdu17kAe.js +10 -0
  192. package/chunks/printer.CaFaWfeS.js +10 -0
  193. package/chunks/prohibition-sign.DUFn0QiV.js +10 -0
  194. package/chunks/questionmark.QyDxanQy.js +10 -0
  195. package/chunks/security.DkLw5ym4.js +10 -0
  196. package/chunks/share.C3wwEl8n.js +10 -0
  197. package/chunks/shirt.BC8W-yCI.js +10 -0
  198. package/chunks/shop.DdPV35mK.js +10 -0
  199. package/chunks/sound-off.D4kGcehG.js +10 -0
  200. package/chunks/sound-on.Cynkb0_t.js +10 -0
  201. package/chunks/speechbubble.87vuoKUp.js +10 -0
  202. package/chunks/speechbubbles.CSFhpNJn.js +10 -0
  203. package/chunks/square.D6PgEi_r.js +10 -0
  204. package/chunks/star-half.DZTtM5Bw.js +10 -0
  205. package/chunks/star.BkjednvI.js +10 -0
  206. package/chunks/tag.yO7uMsHj.js +10 -0
  207. package/chunks/thumbs-down.DeBD6wnK.js +10 -0
  208. package/chunks/thumbs-up.D-44gexH.js +10 -0
  209. package/chunks/triangle-exclamationmark-colored.CbVC3Gzi.js +10 -0
  210. package/chunks/triangle-exclamationmark-inverted.BiGoK7TV.js +10 -0
  211. package/chunks/triangle.ibv6NDnt.js +10 -0
  212. package/chunks/truck.xIk5wW6T.js +10 -0
  213. package/chunks/two-people-screen.BBLouaW4.js +10 -0
  214. package/chunks/two-sheets.DWFmuL7N.js +10 -0
  215. package/chunks/upload.ZImTAIgx.js +10 -0
  216. package/chunks/user.BMARueuy.js +10 -0
  217. package/chunks/vertical-ellipsis.Bc9eBsDF.js +10 -0
  218. package/chunks/wc.gmKE1r5l.js +10 -0
  219. package/chunks/whatsapp.CPpu-7Nn.js +10 -0
  220. package/chunks/wifi-1bar.BcEP-r8w.js +10 -0
  221. package/chunks/wifi-2bars.jDOd4Q3q.js +10 -0
  222. package/chunks/wifi-off.D9xPqVWn.js +10 -0
  223. package/chunks/wifi.CuQykF6X.js +10 -0
  224. package/chunks/wind-rose.C-XcKdy-.js +10 -0
  225. package/chunks/wrench.DMFV2S9u.js +10 -0
  226. package/chunks/x.BqbpXd7O.js +10 -0
  227. package/chunks/xing.CiKYLbPq.js +10 -0
  228. package/chunks/youtube.DrImaRSP.js +10 -0
  229. package/combobox.JL1Dsn3E.js +47 -0
  230. package/components/Accordion/Accordion.d.ts +40 -0
  231. package/components/Accordion/Accordion.test.d.ts +1 -0
  232. package/components/Accordion/Accordion.utils.d.ts +15 -0
  233. package/components/Accordion/Acordion.utils.test.d.ts +1 -0
  234. package/components/AriaLiveRegions/AriaLiveRegions.d.ts +4 -0
  235. package/components/AriaLiveRegions/AriaLiveRegions.utils.d.ts +5 -0
  236. package/components/AriaLiveRegions/AriaLiveRegions.utils.test.d.ts +1 -0
  237. package/components/Asterisk/Asterisk.d.ts +0 -1
  238. package/components/Button/Button.d.ts +33 -17
  239. package/components/ButtonRound/ButtonRound.d.ts +12 -4
  240. package/components/Checkbox/Checkbox.d.ts +21 -11
  241. package/components/CheckboxGroup/CheckboxGroup.d.ts +19 -12
  242. package/components/CheckboxGroup/CheckboxGroup.utils.d.ts +3 -2
  243. package/components/Combobox/Combobox.d.ts +12 -6
  244. package/components/Combobox/Combobox.utils.d.ts +4 -3
  245. package/components/CustomReactSelect/CustomReactSelect.d.ts +39 -26
  246. package/components/CustomReactSelect/CustomReactSelect.utils.d.ts +3 -2
  247. package/components/CustomReactSelect/OptionCheckbox.d.ts +2 -1
  248. package/components/Dialog/Dialog.d.ts +35 -0
  249. package/components/Dialog/Dialog.test.d.ts +1 -0
  250. package/components/Dialog/Dialog.utils.d.ts +12 -0
  251. package/components/Dialog/Dialog.utils.test.d.ts +1 -0
  252. package/components/Drawer/Drawer.d.ts +40 -0
  253. package/components/Drawer/Drawer.test.d.ts +1 -0
  254. package/components/Drawer/Drawer.utils.d.ts +14 -0
  255. package/components/Drawer/Drawer.utils.test.d.ts +1 -0
  256. package/components/Fieldset/Fieldset.d.ts +16 -10
  257. package/components/Fieldset/Fieldset.utils.d.ts +4 -3
  258. package/components/FloatingActionButton/FloatingActionButton.d.ts +7 -2
  259. package/components/Heading/Heading.d.ts +14 -7
  260. package/components/Heading/Heading.utils.d.ts +1 -1
  261. package/components/Icon/Icon.d.ts +15 -8
  262. package/components/Icon/Icon.utils.d.ts +4 -6
  263. package/components/Input/Input.d.ts +37 -23
  264. package/components/Input/Input.utils.d.ts +2 -1
  265. package/components/InputPassword/InputPassword.d.ts +35 -17
  266. package/components/InputPassword/InputPassword.utils.d.ts +2 -1
  267. package/components/InputSearch/InputSearch.d.ts +34 -18
  268. package/components/InputSearch/InputSearch.utils.d.ts +2 -1
  269. package/components/InputStepper/InputStepper.d.ts +47 -23
  270. package/components/InputStepper/InputStepper.utils.d.ts +2 -1
  271. package/components/Link/Link.d.ts +33 -20
  272. package/components/LinkStandalone/LinkStandalone.d.ts +8 -6
  273. package/components/Logo/Logo.d.ts +17 -8
  274. package/components/Logo/Logo.utils.d.ts +3 -1
  275. package/components/Notification/Notification.d.ts +36 -0
  276. package/components/Notification/Notification.test.d.ts +1 -0
  277. package/components/Notification/Notification.utils.d.ts +5 -0
  278. package/components/Radio/Radio.d.ts +31 -13
  279. package/components/RadioGroup/RadioGroup.d.ts +31 -21
  280. package/components/RadioGroup/RadioGroup.utils.d.ts +8 -5
  281. package/components/RadioGroup/RadioGroup.utils.test.d.ts +1 -0
  282. package/components/Select/Select.d.ts +26 -14
  283. package/components/Select/Select.utils.d.ts +4 -3
  284. package/components/SkipToContent/SkipToContent.d.ts +18 -0
  285. package/components/SkipToContent/SkipToContent.test.d.ts +1 -0
  286. package/components/Spinner/Spinner.d.ts +11 -6
  287. package/components/Switch/Switch.d.ts +23 -12
  288. package/components/SystemFeedback/SystemFeedback.d.ts +5 -4
  289. package/components/Text/Text.d.ts +17 -8
  290. package/components/Textarea/Textarea.d.ts +35 -17
  291. package/components/Textarea/Textarea.utils.d.ts +2 -1
  292. package/components/Title/Title.d.ts +14 -7
  293. package/components/Toast/Toast.d.ts +28 -0
  294. package/components/Toast/Toast.utils.d.ts +15 -0
  295. package/components/Toast/ToastManager.d.ts +10 -0
  296. package/components/Toast/ToastManager.test.d.ts +1 -0
  297. package/components/Toast/ToastManager.utils.d.ts +2 -0
  298. package/components/Toast/ToastManager.utils.test.d.ts +1 -0
  299. package/customreactselect.Dg8Kgq3e.js +13 -0
  300. package/dialog.D3bJ0rsW.js +9 -0
  301. package/dialog.d.ts +1 -0
  302. package/drawer.CNPF1-Kc.js +9 -0
  303. package/drawer.d.ts +1 -0
  304. package/fieldset.CTshPWYX.js +11 -0
  305. package/floatingactionbutton.CCIj9Fjr.js +87 -0
  306. package/heading.CAkraI2D.js +50 -0
  307. package/icon.BoMgOmC1.js +8 -0
  308. package/index.d.ts +32 -0
  309. package/index.es.js +158 -46
  310. package/input.CTgeAYdu.js +236 -0
  311. package/inputpassword.nsYu6YeB.js +12 -0
  312. package/inputsearch.ZGIrDrcv.js +13 -0
  313. package/inputstepper.BvY36hA1.js +13 -0
  314. package/link.DAZNwQ0a.js +116 -0
  315. package/linkstandalone.C9X3er7g.js +80 -0
  316. package/{logo.e6576fe3.js → logo.CEO6OV7u.js} +31 -34
  317. package/notification.BAS13UQ6.js +9 -0
  318. package/notification.d.ts +1 -0
  319. package/optioncheckbox.DZWwtx6f.js +43 -0
  320. package/package.json +60 -45
  321. package/partials/connected-apple-icon.png +0 -0
  322. package/partials/connected-favicon.ico +0 -0
  323. package/partials/connected-icon-192.png +0 -0
  324. package/partials/connected-icon-512.png +0 -0
  325. package/partials/connected-icon.svg +1 -0
  326. package/partials/copyAssets.js +25 -13
  327. package/partials/imow-apple-icon.png +0 -0
  328. package/partials/imow-favicon.ico +0 -0
  329. package/partials/imow-icon-192.png +0 -0
  330. package/partials/imow-icon-512.png +0 -0
  331. package/partials/imow-icon.svg +1 -0
  332. package/partials/index.js +914 -934
  333. package/partials/lib/partials.d.ts +2 -2
  334. package/partials/mystihl-apple-icon.png +0 -0
  335. package/partials/mystihl-favicon.ico +0 -0
  336. package/partials/mystihl-icon-192.png +0 -0
  337. package/partials/mystihl-icon-512.png +0 -0
  338. package/partials/mystihl-icon.svg +1 -0
  339. package/radio.CWGJtmKl.js +115 -0
  340. package/radiogroup.BhffFqN3.js +11 -0
  341. package/select.C4OZMB-V.js +12 -0
  342. package/skiptocontent.C4yQfWr2.js +46 -0
  343. package/skiptocontent.d.ts +1 -0
  344. package/spinner.D-xrotcu.js +58 -0
  345. package/styles/fonts/STIHLContrafaceDigitalDisplayTitling.woff +0 -0
  346. package/styles/fonts/STIHLContrafaceDigitalDisplayTitling.woff2 +0 -0
  347. package/styles/fonts/STIHLContrafaceDigitalText-Bold.woff +0 -0
  348. package/styles/fonts/STIHLContrafaceDigitalText-Bold.woff2 +0 -0
  349. package/styles/fonts/STIHLContrafaceDigitalText.woff +0 -0
  350. package/styles/fonts/STIHLContrafaceDigitalText.woff2 +0 -0
  351. package/styles/fonts/font-face.min.css +1 -1
  352. package/styles/scss/_index.scss +2 -0
  353. package/styles/scss/lib/_animation.scss +20 -5
  354. package/styles/scss/lib/_container-query.scss +3 -3
  355. package/styles/scss/lib/_focus.scss +2 -1
  356. package/styles/scss/lib/_grid-extended.scss +2 -2
  357. package/styles/scss/lib/_grid-narrow.scss +2 -0
  358. package/styles/scss/lib/_grid-sidebar-sidebar.scss +4 -2
  359. package/styles/scss/lib/_grid-sidebar.scss +35 -45
  360. package/styles/scss/lib/_grid.scss +15 -13
  361. package/styles/scss/lib/_heading.scss +69 -7
  362. package/styles/scss/lib/_helpers.scss +12 -0
  363. package/styles/scss/lib/_high-contrast.scss +24 -0
  364. package/styles/scss/lib/_link.scss +62 -91
  365. package/styles/scss/lib/_media-query.scss +3 -3
  366. package/styles/scss/lib/_shadow.scss +10 -0
  367. package/styles/scss/lib/_spacing.scss +14 -0
  368. package/styles/scss/lib/_text.scss +60 -13
  369. package/styles/scss/lib/_theme.scss +9 -7
  370. package/styles/scss/lib/_transition.scss +26 -7
  371. package/switch.CmpNUC7s.js +65 -0
  372. package/systemfeedback.ZzRUAVYX.js +25 -0
  373. package/text.rgDKQBrU.js +57 -0
  374. package/textarea.CtQtGqn5.js +12 -0
  375. package/title.LY1ylQsb.js +36 -0
  376. package/toast.DVd9dLs2.js +10 -0
  377. package/toast.d.ts +1 -0
  378. package/toastmanager.Dh0gzFkM.js +119 -0
  379. package/toastmanager.d.ts +1 -0
  380. package/types/icon-types.d.ts +1 -1
  381. package/utils/index.d.ts +2 -0
  382. package/utils/remove-spaces.d.ts +6 -0
  383. package/utils/remove-spaces.test.d.ts +1 -0
  384. package/utils/render-documentation.d.ts +0 -1
  385. package/utils/render-in-iframe.d.ts +15 -0
  386. package/utils/useBreakpoint.d.ts +2 -1
  387. package/utils/useIsomorphicLayoutEffect.d.ts +26 -0
  388. package/utils/vitest.setup.d.ts +5 -0
  389. package/assets/Asterisk.582f2067.css +0 -1
  390. package/assets/Button.684e8bda.css +0 -1
  391. package/assets/ButtonRound.ca8748cf.css +0 -1
  392. package/assets/Checkbox.84cf6398.css +0 -1
  393. package/assets/CustomReactSelect.d89ccccb.css +0 -1
  394. package/assets/Fieldset.5297efb8.css +0 -1
  395. package/assets/FloatingActionButton.de295f5d.css +0 -1
  396. package/assets/Heading.32278621.css +0 -1
  397. package/assets/Icon.8890ee9a.css +0 -1
  398. package/assets/Input.2c508b2f.css +0 -1
  399. package/assets/InputPassword.a534f047.css +0 -1
  400. package/assets/InputSearch.8f986307.css +0 -1
  401. package/assets/InputStepper.52fb45ca.css +0 -1
  402. package/assets/Link.03deeca0.css +0 -1
  403. package/assets/LinkStandalone.7e23a8ac.css +0 -1
  404. package/assets/Logo.09e48e82.css +0 -1
  405. package/assets/OptionCheckbox.9c20f6f1.css +0 -1
  406. package/assets/Radio.be8f06f5.css +0 -1
  407. package/assets/RadioGroup.8b55ee38.css +0 -1
  408. package/assets/Select.b2423b5f.css +0 -1
  409. package/assets/Spinner.af45d460.css +0 -1
  410. package/assets/Switch.f3ab20de.css +0 -1
  411. package/assets/SystemFeedback.f4421d60.css +0 -1
  412. package/assets/Text.4756effe.css +0 -1
  413. package/assets/Textarea.eecf04b3.css +0 -1
  414. package/assets/Title.60d50d3e.css +0 -1
  415. package/asterisk.91abccec.js +0 -8
  416. package/button.89b2675b.js +0 -135
  417. package/buttonround.c60c8034.js +0 -118
  418. package/checkbox.7d414047.js +0 -112
  419. package/checkboxgroup.e9e25471.js +0 -78
  420. package/chunks/360.3f3132d9.js +0 -11
  421. package/chunks/CustomReactSelect.9d0a378a.js +0 -5011
  422. package/chunks/Link.module.b8230547.js +0 -37
  423. package/chunks/RadioGroup.module.59ca486a.js +0 -11
  424. package/chunks/academic-cap.a6849ffc.js +0 -11
  425. package/chunks/alarm-clock.542230f3.js +0 -11
  426. package/chunks/arrow-clockwise.0496f663.js +0 -11
  427. package/chunks/arrow-counterclockwise.635a0130.js +0 -11
  428. package/chunks/arrow-down-line.0976611e.js +0 -11
  429. package/chunks/arrow-down.9780d975.js +0 -11
  430. package/chunks/arrow-edge.3288acdd.js +0 -11
  431. package/chunks/arrow-left.ace9c808.js +0 -11
  432. package/chunks/arrow-out.0499f39e.js +0 -11
  433. package/chunks/arrow-outline-left.efc33275.js +0 -11
  434. package/chunks/arrow-right.133feef2.js +0 -11
  435. package/chunks/arrow-up-arrow-down.b612e9b1.js +0 -11
  436. package/chunks/arrow-up.3be6430a.js +0 -11
  437. package/chunks/at.6279d12b.js +0 -11
  438. package/chunks/barcode-scanner.0a4a314d.js +0 -11
  439. package/chunks/battery.e1249ee1.js +0 -11
  440. package/chunks/bell.87fe4f0b.js +0 -11
  441. package/chunks/bin-open.be4290d8.js +0 -11
  442. package/chunks/bin.b36466f3.js +0 -11
  443. package/chunks/bluetooth.54b89b90.js +0 -11
  444. package/chunks/bookmark.4d5ce4c3.js +0 -11
  445. package/chunks/burger.1301d91e.js +0 -11
  446. package/chunks/calendar.ba39a664.js +0 -11
  447. package/chunks/camera.3bed4f3b.js +0 -11
  448. package/chunks/cart-check.9fb6abdb.js +0 -11
  449. package/chunks/cart-plus.fd5c4674.js +0 -11
  450. package/chunks/cart.7516d35c.js +0 -11
  451. package/chunks/catalog.bd0c7830.js +0 -11
  452. package/chunks/certificate.1639c28e.js +0 -11
  453. package/chunks/chain-link.45025ed0.js +0 -11
  454. package/chunks/chainsaw.56d43a9f.js +0 -11
  455. package/chunks/check.a08beeae.js +0 -11
  456. package/chunks/chevron-down.80b0dc85.js +0 -11
  457. package/chunks/chevron-left.f5feade0.js +0 -11
  458. package/chunks/chevron-line-left.17b172d1.js +0 -11
  459. package/chunks/chevron-line-right.7cd234b7.js +0 -11
  460. package/chunks/chevron-right.259bc1a3.js +0 -11
  461. package/chunks/chevron-up.d1335850.js +0 -11
  462. package/chunks/circle-check-colored.98e13ab9.js +0 -11
  463. package/chunks/circle-check-inverted.db29ab06.js +0 -11
  464. package/chunks/circle-info-colored.8da47e36.js +0 -11
  465. package/chunks/circle-info-inverted.0ed118fb.js +0 -11
  466. package/chunks/circle-pause.55300d1b.js +0 -11
  467. package/chunks/circle-stroke.203dd7aa.js +0 -11
  468. package/chunks/circle.33ec82eb.js +0 -11
  469. package/chunks/clock.3014a102.js +0 -11
  470. package/chunks/coffee-cup.98d6531f.js +0 -11
  471. package/chunks/compare.c76b221b.js +0 -11
  472. package/chunks/connected-box-mobile.9cd742dd.js +0 -11
  473. package/chunks/connected-box-stationary.191a3ed0.js +0 -11
  474. package/chunks/connected-box.fe21c39b.js +0 -11
  475. package/chunks/cross.fe709ee7.js +0 -11
  476. package/chunks/diamond-exclamationmark-colored.bf3ffccf.js +0 -11
  477. package/chunks/diamond-exclamationmark-inverted.b5648587.js +0 -11
  478. package/chunks/diamond.e962c289.js +0 -11
  479. package/chunks/diskette.04733444.js +0 -11
  480. package/chunks/distance.9e6b56ff.js +0 -11
  481. package/chunks/dots-connected.9869fae1.js +0 -11
  482. package/chunks/envelope-open.3c3fd714.js +0 -11
  483. package/chunks/envelope.5c9ff834.js +0 -11
  484. package/chunks/exclamationmark.92afe58f.js +0 -11
  485. package/chunks/exit.bde46887.js +0 -11
  486. package/chunks/eye-closed.0b517bb7.js +0 -11
  487. package/chunks/eye.8f4b311b.js +0 -11
  488. package/chunks/facebook.4a040606.js +0 -11
  489. package/chunks/filter.dee66683.js +0 -11
  490. package/chunks/finger-double-arrow.9cd4c623.js +0 -11
  491. package/chunks/flash.15646b5e.js +0 -11
  492. package/chunks/fullscreen.fdd976fe.js +0 -11
  493. package/chunks/gear.1f5f6fe9.js +0 -11
  494. package/chunks/globe.7f419498.js +0 -11
  495. package/chunks/grid.2c1cdc21.js +0 -11
  496. package/chunks/guidance.63bebf3e.js +0 -11
  497. package/chunks/haircross.0ac15319.js +0 -11
  498. package/chunks/hanger.edc848f4.js +0 -11
  499. package/chunks/headphones.a023699e.js +0 -11
  500. package/chunks/heart.d4440641.js +0 -11
  501. package/chunks/hexagon-arrow-clockwise.98e9b555.js +0 -11
  502. package/chunks/horizontal-ellipsis.84419429.js +0 -11
  503. package/chunks/house.70059642.js +0 -11
  504. package/chunks/imow.3374e620.js +0 -11
  505. package/chunks/info.1787448e.js +0 -11
  506. package/chunks/instagram.e12dd682.js +0 -11
  507. package/chunks/leave-fullscreen.def46043.js +0 -11
  508. package/chunks/lightbulb.b73d3ebf.js +0 -11
  509. package/chunks/linkedin.ce0c68cb.js +0 -11
  510. package/chunks/list-three-rows.ef44c7ef.js +0 -11
  511. package/chunks/list-two-rows.5ed8f1af.js +0 -11
  512. package/chunks/loading-spinner.8293421e.js +0 -11
  513. package/chunks/lock.3cbc8ced.js +0 -11
  514. package/chunks/magnifying-glass-minus.b0f906e5.js +0 -11
  515. package/chunks/magnifying-glass-plus.6ffc69c5.js +0 -11
  516. package/chunks/magnifying-glass.c297e41f.js +0 -11
  517. package/chunks/map.c96b1dcd.js +0 -11
  518. package/chunks/minus.7f6676e8.js +0 -11
  519. package/chunks/mobile.416ee5b0.js +0 -11
  520. package/chunks/nine-squares.34eeb0d4.js +0 -11
  521. package/chunks/note-check.aaf92ef9.js +0 -11
  522. package/chunks/note-plus.e7ab1b93.js +0 -11
  523. package/chunks/note.cc96375c.js +0 -11
  524. package/chunks/number-input.076fcf63.js +0 -11
  525. package/chunks/paperclip.e8831256.js +0 -11
  526. package/chunks/parcel.75534dbd.js +0 -11
  527. package/chunks/pause.901567cf.js +0 -11
  528. package/chunks/pdf.92c1781a.js +0 -11
  529. package/chunks/pen.ecbcb50d.js +0 -11
  530. package/chunks/percent.4b7fa587.js +0 -11
  531. package/chunks/petrol.41999bec.js +0 -11
  532. package/chunks/phone.3c23c041.js +0 -11
  533. package/chunks/pin-s.a5519070.js +0 -11
  534. package/chunks/pin.1137362d.js +0 -11
  535. package/chunks/pinterest.88763b51.js +0 -11
  536. package/chunks/placeholder.d6fdaf8f.js +0 -11
  537. package/chunks/play.dd0f1d8c.js +0 -11
  538. package/chunks/plug.00f114c4.js +0 -11
  539. package/chunks/plus.42721ebf.js +0 -11
  540. package/chunks/printer.5bb7ee0d.js +0 -11
  541. package/chunks/prohibition-sign.af5616b3.js +0 -11
  542. package/chunks/questionmark.db94a06d.js +0 -11
  543. package/chunks/security.2be491e3.js +0 -11
  544. package/chunks/share.ddae7aef.js +0 -11
  545. package/chunks/shirt.135d58c1.js +0 -11
  546. package/chunks/shop.f120426b.js +0 -11
  547. package/chunks/sound-off.c6f5ed43.js +0 -11
  548. package/chunks/sound-on.212c36bc.js +0 -11
  549. package/chunks/speechbubble.9428546e.js +0 -11
  550. package/chunks/speechbubbles.65cb946e.js +0 -11
  551. package/chunks/square.452f505f.js +0 -11
  552. package/chunks/star-half.1458bc5b.js +0 -11
  553. package/chunks/star.fab17456.js +0 -11
  554. package/chunks/tag.4d730d72.js +0 -11
  555. package/chunks/thumbs-down.cbf6e4ec.js +0 -11
  556. package/chunks/thumbs-up.435754e1.js +0 -11
  557. package/chunks/triangle-exclamationmark-colored.94025893.js +0 -11
  558. package/chunks/triangle-exclamationmark-inverted.bc4eed15.js +0 -11
  559. package/chunks/truck.a904d6d3.js +0 -11
  560. package/chunks/two-people-screen.3e509922.js +0 -11
  561. package/chunks/two-sheets.d1cfef0f.js +0 -11
  562. package/chunks/upload.7f1850a3.js +0 -11
  563. package/chunks/user.bf5b30a5.js +0 -11
  564. package/chunks/vertical-ellipsis.1cac00e5.js +0 -11
  565. package/chunks/wc.9d108bd0.js +0 -11
  566. package/chunks/wifi-1bar.b6fc33aa.js +0 -11
  567. package/chunks/wifi-2bars.27e9da59.js +0 -11
  568. package/chunks/wifi-off.e5daf3a9.js +0 -11
  569. package/chunks/wifi.40bb915d.js +0 -11
  570. package/chunks/wind-rose.27fa658a.js +0 -11
  571. package/chunks/wrench.69493ef3.js +0 -11
  572. package/chunks/x.d9da4202.js +0 -11
  573. package/chunks/xing.e17c1a24.js +0 -11
  574. package/chunks/youtube.dbf50787.js +0 -11
  575. package/combobox.f98a4472.js +0 -45
  576. package/customreactselect.a53f9932.js +0 -13
  577. package/fieldset.fb7b7e49.js +0 -98
  578. package/floatingactionbutton.281b5465.js +0 -87
  579. package/heading.cb7698f4.js +0 -44
  580. package/icon.b4211784.js +0 -215
  581. package/input.abb902e3.js +0 -228
  582. package/inputpassword.11c12c66.js +0 -139
  583. package/inputsearch.0c88e71a.js +0 -188
  584. package/inputstepper.b74dac4d.js +0 -284
  585. package/link.cd3720d1.js +0 -84
  586. package/linkstandalone.26b52de0.js +0 -80
  587. package/optioncheckbox.7195f001.js +0 -43
  588. package/radio.1b205d64.js +0 -79
  589. package/radiogroup.6a22fe96.js +0 -100
  590. package/select.2ff31eab.js +0 -188
  591. package/spinner.ee015469.js +0 -58
  592. package/styles/fonts/STIHLContrafaceDisplayTitling.woff +0 -0
  593. package/styles/fonts/STIHLContrafaceDisplayTitling.woff2 +0 -0
  594. package/styles/fonts/STIHLContrafaceText-Bold.woff +0 -0
  595. package/styles/fonts/STIHLContrafaceText-Bold.woff2 +0 -0
  596. package/styles/fonts/STIHLContrafaceText.woff +0 -0
  597. package/styles/fonts/STIHLContrafaceText.woff2 +0 -0
  598. package/switch.2f011fcc.js +0 -65
  599. package/systemfeedback.6bbd1505.js +0 -25
  600. package/text.8d80704f.js +0 -57
  601. package/textarea.e156b0ce.js +0 -189
  602. package/title.d855a8e4.js +0 -36
  603. /package/chunks/{helpers.ea3ca41a.js → helpers.B1JT5ShS.js} +0 -0
  604. /package/chunks/{index.8021d3e0.js → index.CvOaL64Y.js} +0 -0
  605. /package/chunks/{useBreakpoint.6c1b06c2.js → useBreakpoint.5xBNDiCf.js} +0 -0
  606. /package/partials/{apple-icon.png → default-apple-icon.png} +0 -0
  607. /package/partials/{favicon.ico → default-favicon.ico} +0 -0
  608. /package/partials/{icon-192.png → default-icon-192.png} +0 -0
  609. /package/partials/{icon-512.png → default-icon-512.png} +0 -0
  610. /package/partials/{icon.svg → default-icon.svg} +0 -0
@@ -1,18 +1,24 @@
1
- /// <reference types="react" />
2
- import { type CustomReactSelectProps } from '../CustomReactSelect/CustomReactSelect';
1
+ import { CustomReactSelectProps } from '../CustomReactSelect/CustomReactSelect';
2
+
3
3
  type CommonComboboxProps = {
4
- /** Opens the dropdown on click or focus */
4
+ /** Opens the dropdown on click or focus.
5
+ * @default false
6
+ */
5
7
  dropdownOnFocus?: boolean;
6
8
  };
7
9
  export type ComboboxProps = Omit<(CustomReactSelectProps<false> & {
8
- /** Defines if only one option or multiple options can be selected */
10
+ /** Defines if only one option or multiple options can be selected.
11
+ * @default 'single'
12
+ */
9
13
  variant?: 'single';
10
14
  }) | (CustomReactSelectProps<true> & {
11
- /** Defines if only one option or multiple options can be selected */
15
+ /** Defines if only one option or multiple options can be selected.
16
+ * @default 'single'
17
+ */
12
18
  variant: 'multi';
13
19
  }), 'isMulti' | 'openMenuOnClick' | 'openMenuOnFocus'> & CommonComboboxProps;
14
20
  /**
15
21
  * The DSCombobox component offers an autocomplete-style interface, allowing for efficient and intuitive selection from a dynamic list of options, suitable for both single and multi-select purposes.
16
22
  * */
17
- export declare const DSCombobox: ({ id, label, disabled, dropdownOnFocus, hideLabel, invalid, lang, required, variant, ...rest }: ComboboxProps) => JSX.Element;
23
+ export declare const DSCombobox: ({ id, label, className, disabled, dropdownOnFocus, hideLabel, invalid, lang, required, variant, ...rest }: ComboboxProps) => JSX.Element;
18
24
  export {};
@@ -1,6 +1,7 @@
1
- import type { IconName } from '../../types';
2
- import type { ComboboxProps } from './Combobox';
3
- import type { GroupBase, OptionsOrGroups } from 'react-select';
1
+ import { IconName } from '../../types';
2
+ import { ComboboxProps } from './Combobox';
3
+ import { GroupBase, OptionsOrGroups } from 'react-select';
4
+
4
5
  export type ComboboxVariant = 'single' | 'multi';
5
6
  type ValidationProps = Pick<ComboboxProps, 'id' | 'label' | 'options'>;
6
7
  /**
@@ -1,60 +1,73 @@
1
- /// <reference types="react" />
2
- import { type GroupBase } from 'react-select';
3
- import type { BreakpointCustomizable, Optional } from '../../types';
4
- import { type ComboboxAriaTranslations, type ComboboxLanguage, type ComboboxOption, type ComboboxOptionsGroup, type ComboboxOptionsOrOptGroups, type ComboboxSize } from '../Combobox/Combobox.utils';
5
- import type { PublicBaseSelectProps } from 'react-select/dist/declarations/src/Select';
6
- import type { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
1
+ import { GroupBase } from 'react-select';
2
+ import { BreakpointCustomizable, Optional } from '../../types';
3
+ import { ComboboxAriaTranslations, ComboboxLanguage, ComboboxOption, ComboboxOptionsGroup, ComboboxOptionsOrOptGroups, ComboboxSize } from '../Combobox/Combobox.utils';
4
+ import { PublicBaseSelectProps } from 'react-select/dist/declarations/src/Select';
5
+ import { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
6
+
7
7
  type IncludedReactSelectKeys = 'className' | 'form' | 'inputValue' | 'menuIsOpen' | 'name' | 'onBlur' | 'onFocus' | 'openMenuOnClick' | 'openMenuOnFocus' | 'tabIndex';
8
8
  type PickedReactSelectProps<OptionType, IsMulti extends boolean, GroupType extends GroupBase<OptionType>> = Pick<Optional<PublicBaseSelectProps<OptionType, IsMulti, GroupType>, 'inputValue'>, IncludedReactSelectKeys>;
9
9
  type PickedReactSelectStateManagerProps<OptionType, IsMulti extends boolean, GroupType extends GroupBase<OptionType>> = Pick<StateManagerProps<OptionType, IsMulti, GroupType>, 'defaultInputValue'>;
10
10
  export interface CustomReactSelectProps<IsMulti extends boolean> extends PickedReactSelectProps<ComboboxOption, IsMulti, ComboboxOptionsGroup>, PickedReactSelectStateManagerProps<ComboboxOption, IsMulti, ComboboxOptionsGroup> {
11
- /** Unique id for the DSCombobox */
11
+ /** Unique id for the DSCombobox. */
12
12
  id: string;
13
- /** Label text displayed above the DSCombobox */
13
+ /** Label text displayed above the DSCombobox. */
14
14
  label: string;
15
15
  /**
16
- * Defines the options, can be a mixed array of options and option groups
16
+ * Defines the options, can be a mixed array of options and option groups.
17
17
  * `type ComboboxOption = {label: string; value: string | number; leadingIconName?: IconName; isDisabled?: boolean;}`
18
18
  * `type ComboboxOptionsGroup = {label: string; options: ComboboxOption[];}`
19
19
  * `type ComboboxOptionsOrOptGroups = (ComboboxOption | ComboboxOptionsGroup)[];`
20
20
  * */
21
21
  options: ComboboxOptionsOrOptGroups;
22
- /** The value of autocomplete to use for the DSCombobox */
22
+ /** The value of autocomplete to use for the DSCombobox. */
23
23
  autoComplete?: string;
24
- /** Value of the selected Option in **uncontrolled DSCombobox** component */
24
+ /** Value of the selected Option in **uncontrolled DSCombobox** component. */
25
25
  defaultValue?: IsMulti extends true ? ComboboxOption[] : ComboboxOption;
26
- /** Disables the DSCombobox, preventing user interaction */
26
+ /** Disables the DSCombobox, preventing user interaction.
27
+ * @default false
28
+ */
27
29
  disabled?: boolean;
28
- /** Hides the DSCombobox label, can be responsive
30
+ /** Hides the DSCombobox label, can be responsive.
29
31
  * `boolean | { base: boolean; s?: boolean; m?: boolean; l?: boolean; xl?: boolean; }`
32
+ * @default false
30
33
  */
31
34
  hideLabel?: BreakpointCustomizable<boolean>;
32
- /** Short descriptive text displayed beneath the label */
35
+ /** Short descriptive text displayed beneath the label. */
33
36
  hint?: string;
34
- /** Marks the DSCombobox as invalid, typically used for form validation */
37
+ /** Marks the DSCombobox as invalid, typically used for form validation.
38
+ * @default false
39
+ */
35
40
  invalid?: boolean;
36
- /** Allows selection of multiple options */
41
+ /** Allows selection of multiple options.
42
+ * @default false
43
+ */
37
44
  isMulti: boolean;
38
- /** Sets language to use for the screen reader messages and "No Options found" message, if no translations object is provided */
45
+ /** Sets language to use for the screen reader messages and "No options found" message, if no translations object is provided.
46
+ * @default 'en'
47
+ */
39
48
  lang?: ComboboxLanguage;
40
- /** Indicates that the DSCombobox is required */
49
+ /** Indicates that the DSCombobox is required.
50
+ * @default false
51
+ */
41
52
  required?: boolean;
42
- /** Size of the input */
53
+ /** Size of the Combobox.
54
+ * @default 'medium'
55
+ */
43
56
  size?: ComboboxSize;
44
- /** Defines a system feedback message, shown when `invalid={true}` */
57
+ /** Defines a system feedback message, shown when `invalid={true}`- */
45
58
  systemFeedback?: string;
46
59
  /** Translations for the DSCombobox. Use our [customization page](/?path=/story/components-combobox-translations--documentation) for creating custom translations. */
47
60
  translations?: ComboboxAriaTranslations;
48
- /** Value of the DSCombobox */
61
+ /** Value of the DSCombobox. */
49
62
  value?: IsMulti extends true ? ComboboxOption[] : ComboboxOption;
50
- /** Callback function triggered when the selection of the DSCombobox changes */
51
- onChange?: (newValue: IsMulti extends true ? ComboboxOption[] : ComboboxOption) => void;
52
- /** Callback function triggered when the value of the DSCombobox input changes */
63
+ /** Callback function called when the selection of the DSCombobox changes. */
64
+ onValueChange?: (newValue: IsMulti extends true ? ComboboxOption[] : ComboboxOption) => void;
65
+ /** Callback function called when the value of the DSCombobox input changes. */
53
66
  onInputChange?: (newValue: string) => void;
54
67
  }
55
68
  /**
56
69
  * Internal customized react select component, which is in parts exposed to our consumers
57
- * via the DSCombobox component
70
+ * via the DSCombobox component.
58
71
  * */
59
- export declare const CustomReactSelect: <IsMulti extends boolean>({ id, label, options, className, disabled, hint, hideLabel, invalid, isMulti, lang, required, size, systemFeedback, translations, value, onChange, onInputChange, ...rest }: CustomReactSelectProps<IsMulti>) => JSX.Element;
72
+ export declare const CustomReactSelect: <IsMulti extends boolean>({ id, label, options, className, disabled, hint, hideLabel, invalid, isMulti, lang, required, size, systemFeedback, translations, value, onValueChange, onInputChange, ...rest }: CustomReactSelectProps<IsMulti>) => JSX.Element;
60
73
  export {};
@@ -1,5 +1,6 @@
1
- import type { AriaLiveMessages, GroupBase } from 'react-select';
2
- import type { ComboboxAriaTranslations } from '../Combobox/Combobox.utils';
1
+ import { AriaLiveMessages, GroupBase } from 'react-select';
2
+ import { ComboboxAriaTranslations } from '../Combobox/Combobox.utils';
3
+
3
4
  type ComboboxAriaTranslationKey = keyof ComboboxAriaTranslations;
4
5
  /**
5
6
  * Translates a given key using specified translations and dynamic replacements of placeholders like {0} or {1}.
@@ -1,4 +1,5 @@
1
- import type { HTMLAttributes } from 'react';
1
+ import { HTMLAttributes } from 'react';
2
+
2
3
  export interface CheckboxProps extends HTMLAttributes<HTMLDivElement> {
3
4
  /** Content displayed next to the checkbox */
4
5
  label: string;
@@ -0,0 +1,35 @@
1
+ import { DialogHTMLAttributes } from 'react';
2
+
3
+ export interface DialogProps extends DialogHTMLAttributes<HTMLDialogElement> {
4
+ /** Content within the Dialog. */
5
+ children: React.ReactNode;
6
+ /** Label for the close button. */
7
+ closeButtonLabel?: string;
8
+ /** Disables closing the Dialog by clicking on the backdrop.
9
+ * @default false
10
+ */
11
+ disableBackdropClose?: boolean;
12
+ /** Content within the Dialog's footer. For example a CTA button. */
13
+ footer?: React.ReactNode;
14
+ /** Content within the Dialog's header. For example a Heading. */
15
+ header?: React.ReactNode;
16
+ /**
17
+ * If `true`, hides the close button. Ensure you provide an alternative method for closing,
18
+ * such as a button in the footer or within the children components.
19
+ * @default false
20
+ */
21
+ hideCloseButton?: boolean;
22
+ /** Determines if the Dialog is open.
23
+ * @default false
24
+ */
25
+ isOpen?: boolean;
26
+ /** Callback function called when the Dialog is closed. */
27
+ onClose?: () => void;
28
+ }
29
+ /**
30
+ * A component that renders a modal dialog, which can be used for displaying
31
+ * important messages, forms, or confirmations.
32
+ *
33
+ * <div className="ds-info">For more information on the different types of notifications and to determine which is best suited for your needs, please refer to our [Notification Guidelines](/docs/templates-notification-guidelines--documentation) and explore the decision trees provided.</div>
34
+ */
35
+ export declare const DSDialog: ({ children, className, closeButtonLabel, disableBackdropClose, footer, header, hideCloseButton, isOpen, onClose, ...rest }: DialogProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ import { DialogProps } from './Dialog';
2
+
3
+ type ValidationProps = Pick<DialogProps, 'tabIndex'>;
4
+ /**
5
+ * Validates the given properties of the DSDialog component for common configuration errors.
6
+ * This function is intended to be used in development mode to provide developers with
7
+ * warnings about potential misuse of the component.
8
+ *
9
+ * @param validationProps - The subset of DSDialog properties to validate.
10
+ */
11
+ export declare const validateDialogProps: ({ tabIndex }: ValidationProps) => void;
12
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,40 @@
1
+ import { DialogHTMLAttributes } from 'react';
2
+ import { DrawerPosition } from './Drawer.utils';
3
+
4
+ export interface DrawerProps extends DialogHTMLAttributes<HTMLDialogElement> {
5
+ /** Content within the Drawer. */
6
+ children: React.ReactNode;
7
+ /** Label for the close button.
8
+ * @default 'Close modal'
9
+ */
10
+ closeButtonLabel?: string;
11
+ /** Disables closing the Drawer by clicking on the backdrop.
12
+ * @default false
13
+ */
14
+ disableBackdropClose?: boolean;
15
+ /** Content within the Drawer's footer. For example a CTA button. */
16
+ footer?: React.ReactNode;
17
+ /** Content within the Drawer's header. For example a Heading. */
18
+ header?: React.ReactNode;
19
+ /**
20
+ * If `true`, hides the close button. Ensure you provide an alternative method for closing,
21
+ * such as a button in the footer or within the children components.
22
+ * @default false
23
+ */
24
+ hideCloseButton?: boolean;
25
+ /** Determines if the Drawer is open.
26
+ * @default false
27
+ */
28
+ isOpen?: boolean;
29
+ /** Specifies the final position of the Drawer after opening.
30
+ * @default 'start'
31
+ */
32
+ position?: DrawerPosition;
33
+ /** Callback function called when the Drawer is closed. */
34
+ onClose?: () => void;
35
+ }
36
+ /**
37
+ * A component that renders a modal drawer, which can be used for navigation,
38
+ * displaying additional information, or providing extra controls.
39
+ */
40
+ export declare const DSDrawer: ({ children, className, closeButtonLabel, disableBackdropClose, footer, header, hideCloseButton, position, isOpen, onClose, ...rest }: DrawerProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ import { DrawerProps } from './Drawer';
2
+
3
+ export declare const DRAWER_POSITION: readonly ["start", "end"];
4
+ export type DrawerPosition = (typeof DRAWER_POSITION)[number];
5
+ type ValidationProps = Pick<DrawerProps, 'tabIndex'>;
6
+ /**
7
+ * Validates the given properties of the DSDrawer component for common configuration errors.
8
+ * This function is intended to be used in development mode to provide developers with
9
+ * warnings about potential misuse of the component.
10
+ *
11
+ * @param validationProps - The subset of DSDrawer properties to validate.
12
+ */
13
+ export declare const validateDrawerProps: ({ tabIndex }: ValidationProps) => void;
14
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,32 +1,38 @@
1
- import { type FieldsetHTMLAttributes } from 'react';
2
- import { type Legend } from './Fieldset.utils';
1
+ import { FieldsetHTMLAttributes } from 'react';
2
+ import { Legend } from './Fieldset.utils';
3
+
3
4
  export interface FieldsetProps extends FieldsetHTMLAttributes<HTMLFieldSetElement> {
4
- /** Child elements within the fieldset */
5
+ /** Child elements within the fieldset. */
5
6
  children: React.ReactNode;
6
7
  /**
7
8
  * The `legend` prop can either be a simple `string` or an object with specific properties.
8
9
  * When provided as a string, it represents the legend text directly.
9
10
  * When provided as an object, it allows for more detailed configuration, including:
10
11
  * - `headingText: string` The text content for the legend.
11
- * - `headingSize?: 'x-large' | 'large' | 'medium' | 'medium-uppercase' | 'small' | 'small-uppercase'` Defines the size of the heading, using predefined size types, defaults to `'medium'`
12
+ * - `headingSize?: 'x-large' | 'x-large-uppercase' | 'large' | 'large-uppercase' | 'medium' | 'medium-uppercase' | 'small' | 'small-uppercase'` Defines the size of the heading, using predefined size types, defaults to `'medium'`
12
13
  * - `headingTag?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'` Specifies the HTML tag to be used for the heading, such as 'h1', 'h2', etc., defaults to `'h2'`
13
14
  *
14
15
  * @prop {string | { headingText: string; headingSize?: HeadingSize; headingTag?: HeadingTag; }} legend
15
16
  */
16
17
  legend: Legend;
17
- /** Short descriptive text displayed beneath the legend */
18
+ /** Short descriptive text displayed beneath the legend. */
18
19
  description?: string | React.ReactNode;
19
- /** Disables the fieldset, preventing user interaction */
20
+ /** Disables the fieldset, preventing user interaction.
21
+ * @default false
22
+ */
20
23
  disabled?: boolean;
21
- /** Unique id for the fieldset, needs to be set for proper accessibility functionality, if `description` or `systemFeedback` are set */
24
+ /** Unique id for the fieldset, needs to be set for proper accessibility functionality, if `description` or `systemFeedback` are set. */
22
25
  id?: string;
23
- /** Marks the fieldset as invalid, typically used for form validation */
26
+ /** Marks the fieldset as invalid, typically used for form validation.
27
+ * @default false
28
+ */
24
29
  invalid?: boolean;
25
30
  /**
26
- * Undocumented property for visually setting the Asterisk
31
+ * Undocumented property for visually setting the Asterisk.
32
+ * @default false
27
33
  */
28
34
  required?: boolean;
29
- /** Defines a system feedback message, shown when `invalid={true}` */
35
+ /** Defines a system feedback message, shown when `invalid={true}`. */
30
36
  systemFeedback?: string;
31
37
  }
32
38
  /**
@@ -1,10 +1,11 @@
1
- import type { HeadingSize, HeadingTag } from '../Heading/Heading.utils';
2
- import type { FieldsetProps } from './Fieldset';
1
+ import { HeadingSize, HeadingTag } from '../Heading/Heading.utils';
2
+ import { FieldsetProps } from './Fieldset';
3
+
3
4
  export type Legend = string | {
4
5
  headingText: string;
5
6
  headingSize?: HeadingSize;
6
7
  headingTag?: HeadingTag;
7
8
  };
8
9
  type ValidationProps = Pick<FieldsetProps, 'description' | 'id' | 'legend' | 'systemFeedback'>;
9
- export declare const validateProps: ({ description, id, legend, systemFeedback, }: ValidationProps) => void;
10
+ export declare const validateFieldsetProps: ({ description, id, legend, systemFeedback, }: ValidationProps) => void;
10
11
  export {};
@@ -1,7 +1,12 @@
1
- /// <reference types="react" />
2
- import type { ButtonProps } from '../Button/Button';
1
+ import { IconName } from '../../types';
2
+ import { ButtonProps } from '../Button/Button';
3
+
3
4
  export interface FloatingActionButtonProps extends Omit<ButtonProps, 'hideLabel' | 'iconPosition' | 'variant' | 'isFlush'> {
4
5
  children: React.ReactNode;
6
+ /** Name of the icon to display.
7
+ * @default 'placeholder'
8
+ */
9
+ iconName?: IconName;
5
10
  }
6
11
  /**
7
12
  * FABs are used to highlight actions by laying over the content.
@@ -1,14 +1,21 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { Theme } from '../../types';
3
- import type { HeadingSize, HeadingTag } from './Heading.utils';
1
+ import { HTMLAttributes } from 'react';
2
+ import { Theme } from '../../types';
3
+ import { HeadingSize, HeadingTag } from './Heading.utils';
4
+
4
5
  export interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
5
- /** Content within the heading */
6
+ /** Content within the heading. */
6
7
  children: React.ReactNode;
7
- /** Size of the heading */
8
+ /** Size of the heading.
9
+ * @default 'medium'
10
+ */
8
11
  size?: HeadingSize;
9
- /** Specifies the HTML tag to be used for the heading */
12
+ /** Specifies the HTML tag to be used for the heading.
13
+ * @default 'h2'
14
+ */
10
15
  tag?: HeadingTag;
11
- /** Defines the theme */
16
+ /** Defines the theme.
17
+ * @default 'light'
18
+ */
12
19
  theme?: Theme;
13
20
  }
14
21
  /**
@@ -1,4 +1,4 @@
1
- export declare const HEADING_SIZE: readonly ["x-large", "large", "medium", "medium-uppercase", "small", "small-uppercase"];
1
+ export declare const HEADING_SIZE: readonly ["x-large", "x-large-uppercase", "large", "large-uppercase", "medium", "medium-uppercase", "small", "small-uppercase"];
2
2
  export type HeadingSize = typeof HEADING_SIZE[number];
3
3
  export declare const HEADING_TAG: readonly ["h1", "h2", "h3", "h4", "h5", "h6"];
4
4
  export type HeadingTag = typeof HEADING_TAG[number];
@@ -1,18 +1,25 @@
1
- import { type HTMLProps, type SVGProps } from 'react';
2
- import type { IconName, SelectedAriaAttributes, Theme } from '../../types';
3
- import { type IconAriaAttribute, type IconSize } from './Icon.utils';
1
+ import { HTMLProps, SVGProps } from 'react';
2
+ import { IconName, SelectedAriaAttributes, Theme } from '../../types';
3
+ import { IconAriaAttribute, IconSize } from './Icon.utils';
4
+
4
5
  export interface IconProps {
5
- /** ARIA attributes to enhance accessibility
6
+ /** ARIA attributes to enhance accessibility.
6
7
  * `{'aria-label'? string;}`
7
8
  */
8
9
  aria?: SelectedAriaAttributes<IconAriaAttribute>;
9
- /** Name of the icon to display */
10
+ /** Name of the icon to display.
11
+ * @default 'placeholder'
12
+ */
10
13
  name?: IconName;
11
- /** Size of the icon */
14
+ /** Size of the icon.
15
+ * @default 'large'
16
+ */
12
17
  size?: IconSize;
13
- /** URL or path for a custom icon */
18
+ /** URL or path for a custom icon. */
14
19
  source?: string;
15
- /** Defines the theme */
20
+ /** Defines the theme.
21
+ * @default 'light'
22
+ */
16
23
  theme?: Theme;
17
24
  }
18
25
  /**
@@ -1,12 +1,10 @@
1
- /// <reference types="react" />
2
- import type { IconName } from '../../types';
1
+ import { IconName } from '../../types';
2
+
3
3
  export type IconAriaAttribute = 'aria-label';
4
4
  export declare const ICON_SIZE: readonly ["large", "medium", "small", "x-small"];
5
5
  export type IconSize = (typeof ICON_SIZE)[number];
6
6
  export declare const useDynamicSvgImport: (iconName: IconName) => {
7
7
  isLoading: boolean;
8
- SVGIcon: import("react").FunctionComponent<import("react").SVGProps<SVGSVGElement> & {
9
- title?: string | undefined;
10
- }> | undefined;
11
- setShouldLoad: import("react").Dispatch<import("react").SetStateAction<boolean>>;
8
+ SVGIcon: string | undefined;
9
+ setShouldLoad: import('react').Dispatch<import('react').SetStateAction<boolean>>;
12
10
  };
@@ -1,47 +1,61 @@
1
- import { type InputHTMLAttributes } from 'react';
2
- import type { BreakpointCustomizable, IconName } from '../../types';
3
- import { type IconProps } from '../Icon/Icon';
4
- import { type InputSize, type SupportedInputTypes } from './Input.utils';
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { BreakpointCustomizable, IconName } from '../../types';
3
+ import { IconProps } from '../Icon/Icon';
4
+ import { InputSize, SupportedInputTypes } from './Input.utils';
5
+
5
6
  export interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
6
- /** Unique id for the input */
7
+ /** Unique id for the input. */
7
8
  id: string;
8
- /** Label text displayed above the input */
9
+ /** Label text displayed above the input. */
9
10
  label: string;
10
- /** Accessibility label for the action button or icon */
11
+ /** Accessibility label for the action button or icon. */
11
12
  actionButtonLabel?: string;
12
- /** Name of the icon used in the action button */
13
+ /** Name of the icon used in the action button. */
13
14
  actionButtonIconName?: IconName;
14
- /** Custom source URL for the action button icon */
15
+ /** Custom source URL for the action button icon. */
15
16
  actionButtonIconSource?: IconProps['source'];
16
- /** Callback function triggered when the action button is clicked */
17
+ /** Callback function called when the action button is clicked. */
17
18
  actionButtonOnClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
18
- /** Disables the input, preventing user interaction */
19
+ /** Disables the input, preventing user interaction.
20
+ * @default false
21
+ */
19
22
  disabled?: boolean;
20
- /** Hides the input label, can be responsive
23
+ /** Hides the input label, can be responsive.
21
24
  * `boolean | { base: boolean; s?: boolean; m?: boolean; l?: boolean; xl?: boolean; }`
25
+ * @default false
22
26
  */
23
27
  hideLabel?: BreakpointCustomizable<boolean>;
24
- /** Short descriptive text displayed beneath the label */
28
+ /** Short descriptive text displayed beneath the label. */
25
29
  hint?: string;
26
- /** Name of the leading icon */
30
+ /** Name of the leading icon. */
27
31
  leadingIconName?: IconName;
28
- /** URL or path for a custom leading icon */
32
+ /** URL or path for a custom leading icon. */
29
33
  leadingIconSource?: IconProps['source'];
30
- /** Marks the input as invalid, typically used for form validation */
34
+ /** Marks the input as invalid, typically used for form validation.
35
+ * @default false
36
+ */
31
37
  invalid?: boolean;
32
- /** Text displayed as a prefix inside the input, maximum 8 characters */
38
+ /** Text displayed as a prefix inside the input, maximum 8 characters. */
33
39
  prefix?: string;
34
- /** Enables the readonly state of the input */
40
+ /** Enables the readonly state of the input.
41
+ * @default false
42
+ */
35
43
  readonly?: boolean;
36
- /** Indicates that the input is required */
44
+ /** Indicates that the input is required.
45
+ * @default false
46
+ */
37
47
  required?: boolean;
38
- /** Text displayed as a suffix inside the input, maximum 5 characters */
48
+ /** Text displayed as a suffix inside the input, maximum 5 characters. */
39
49
  suffix?: string;
40
- /** Defines a system feedback message, shown when `invalid={true}` */
50
+ /** Defines a system feedback message, shown when `invalid={true}`. */
41
51
  systemFeedback?: string;
42
- /** Size of the input */
52
+ /** Size of the input.
53
+ * @default 'medium'
54
+ */
43
55
  size?: InputSize;
44
- /** Type of the input */
56
+ /** Type of the input.
57
+ * @default 'text'
58
+ */
45
59
  type?: SupportedInputTypes;
46
60
  }
47
61
  /**
@@ -1,4 +1,5 @@
1
- import type { InputProps } from './Input';
1
+ import { InputProps } from './Input';
2
+
2
3
  export declare const MAX_PREFIX_LENGTH = 8;
3
4
  export declare const MAX_SUFFIX_LENGTH = 5;
4
5
  export declare const INPUT_SIZE: readonly ["medium", "small"];
@@ -1,34 +1,52 @@
1
- import { type InputHTMLAttributes } from 'react';
2
- import type { BreakpointCustomizable } from '../../types';
3
- import type { InputSize } from '../Input/Input.utils';
4
- export interface InputPasswordProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
5
- /** Unique id for the input */
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { BreakpointCustomizable } from '../../types';
3
+ import { InputSize } from '../Input/Input.utils';
4
+
5
+ export interface InputPasswordProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'defaultValue' | 'size'> {
6
+ /** Unique id for the input. */
6
7
  id: string;
7
- /** Label text displayed above the input */
8
+ /** Label text displayed above the input. */
8
9
  label: string;
9
- /** The value of autocomplete to use for the input */
10
+ /** The value of autocomplete to use for the input.
11
+ * @default 'new-password'
12
+ */
10
13
  autocomplete?: 'new-password' | 'current-password' | 'off';
11
- /** Disables the input, preventing user interaction */
14
+ /** Disables the input, preventing user interaction.
15
+ * @default false
16
+ */
12
17
  disabled?: boolean;
13
- /** Hides the input label, can be responsive
18
+ /** Hides the input label, can be responsive.
14
19
  * `boolean | { base: boolean; s?: boolean; m?: boolean; l?: boolean; xl?: boolean; }`
20
+ * @default false
15
21
  */
16
22
  hideLabel?: BreakpointCustomizable<boolean>;
17
- /** Short descriptive text displayed beneath the label */
23
+ /** Short descriptive text displayed beneath the label. */
18
24
  hint?: string;
19
- /** Marks the input as invalid, typically used for form validation */
25
+ /** Marks the input as invalid, typically used for form validation.
26
+ * @default false
27
+ */
20
28
  invalid?: boolean;
21
- /** Enables the readonly state of the input */
29
+ /** Enables the readonly state of the input.
30
+ * @default false
31
+ */
22
32
  readonly?: boolean;
23
- /** Indicates that the input is required */
33
+ /** Indicates that the input is required.
34
+ * @default false
35
+ */
24
36
  required?: boolean;
25
- /** Defines a system feedback message, shown when `invalid={true}` */
37
+ /** Defines a system feedback message, shown when `invalid={true}`. */
26
38
  systemFeedback?: string;
27
- /** Size of the input */
39
+ /** Size of the input.
40
+ * @default 'medium'
41
+ */
28
42
  size?: InputSize;
29
- /** The show password button text label (for assistive technologies) */
43
+ /** The show password button text label (for assistive technologies).
44
+ * @default 'Show password'
45
+ */
30
46
  showPasswordText?: string;
31
- /** The hide password button text label (for assistive technologies) */
47
+ /** The hide password button text label (for assistive technologies).
48
+ * @default 'Hide password'
49
+ */
32
50
  hidePasswordText?: string;
33
51
  }
34
52
  /**
@@ -1,4 +1,5 @@
1
- import type { InputPasswordProps } from './InputPassword';
1
+ import { InputPasswordProps } from './InputPassword';
2
+
2
3
  type ValidationProps = Pick<InputPasswordProps, 'id' | 'label'>;
3
4
  /**
4
5
  * Validates the given properties of the DSInputPassword component for common configuration errors.