@momentum-design/components 0.134.19 → 0.134.21

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 (379) hide show
  1. package/dist/browser/index.js +1 -1
  2. package/dist/browser/index.js.map +2 -2
  3. package/dist/components/accordion/accordion.component.d.ts +15 -5
  4. package/dist/components/accordionbutton/accordionbutton.component.d.ts +14 -26
  5. package/dist/components/accordionbutton/accordionbutton.component.js +0 -22
  6. package/dist/components/accordiongroup/accordiongroup.component.d.ts +12 -16
  7. package/dist/components/accordiongroup/accordiongroup.component.js +0 -14
  8. package/dist/components/alertchip/alertchip.component.d.ts +15 -11
  9. package/dist/components/alertchip/alertchip.component.js +0 -7
  10. package/dist/components/animation/animation.component.d.ts +14 -6
  11. package/dist/components/animation/animation.component.js +0 -5
  12. package/dist/components/announcementdialog/announcementdialog.component.d.ts +18 -25
  13. package/dist/components/announcementdialog/announcementdialog.component.js +1 -20
  14. package/dist/components/appheader/appheader.component.d.ts +13 -12
  15. package/dist/components/appheader/appheader.component.js +0 -9
  16. package/dist/components/avatar/avatar.component.d.ts +14 -34
  17. package/dist/components/avatar/avatar.component.js +1 -31
  18. package/dist/components/avatarbutton/avatarbutton.component.d.ts +15 -14
  19. package/dist/components/avatarbutton/avatarbutton.component.js +1 -10
  20. package/dist/components/badge/badge.component.d.ts +16 -20
  21. package/dist/components/badge/badge.component.js +1 -17
  22. package/dist/components/banner/banner.component.d.ts +17 -17
  23. package/dist/components/banner/banner.component.js +1 -13
  24. package/dist/components/brandvisual/brandvisual.component.d.ts +15 -12
  25. package/dist/components/brandvisual/brandvisual.component.js +0 -10
  26. package/dist/components/bullet/bullet.component.d.ts +15 -16
  27. package/dist/components/bullet/bullet.component.js +0 -15
  28. package/dist/components/button/button.component.d.ts +21 -52
  29. package/dist/components/button/button.component.js +1 -47
  30. package/dist/components/buttongroup/buttongroup.component.d.ts +17 -20
  31. package/dist/components/buttongroup/buttongroup.component.js +0 -17
  32. package/dist/components/buttonlink/buttonlink.component.d.ts +19 -16
  33. package/dist/components/buttonlink/buttonlink.component.js +1 -11
  34. package/dist/components/buttonsimple/buttonsimple.component.d.ts +16 -25
  35. package/dist/components/buttonsimple/buttonsimple.component.js +0 -22
  36. package/dist/components/calendar/calendar.component.d.ts +17 -11
  37. package/dist/components/calendar/calendar.component.js +0 -8
  38. package/dist/components/card/card.component.d.ts +18 -17
  39. package/dist/components/card/card.component.js +0 -13
  40. package/dist/components/cardbutton/cardbutton.component.d.ts +20 -14
  41. package/dist/components/cardbutton/cardbutton.component.js +0 -9
  42. package/dist/components/cardcheckbox/cardcheckbox.component.d.ts +20 -19
  43. package/dist/components/cardcheckbox/cardcheckbox.component.js +0 -14
  44. package/dist/components/cardradio/cardradio.component.d.ts +20 -20
  45. package/dist/components/cardradio/cardradio.component.js +0 -15
  46. package/dist/components/checkbox/checkbox.component.d.ts +22 -26
  47. package/dist/components/checkbox/checkbox.component.js +1 -22
  48. package/dist/components/chip/chip.component.d.ts +20 -13
  49. package/dist/components/chip/chip.component.js +0 -9
  50. package/dist/components/coachmark/coachmark.component.d.ts +22 -22
  51. package/dist/components/coachmark/coachmark.component.js +1 -18
  52. package/dist/components/combobox/combobox.component.d.ts +27 -37
  53. package/dist/components/combobox/combobox.component.js +1 -32
  54. package/dist/components/controltypeprovider/controltypeprovider.component.d.ts +19 -11
  55. package/dist/components/controltypeprovider/controltypeprovider.component.js +0 -10
  56. package/dist/components/datepicker/datepicker.component.d.ts +20 -14
  57. package/dist/components/datepicker/datepicker.component.js +0 -9
  58. package/dist/components/dialog/dialog.component.d.ts +25 -40
  59. package/dist/components/dialog/dialog.component.js +1 -35
  60. package/dist/components/divider/divider.component.d.ts +23 -25
  61. package/dist/components/divider/divider.component.js +0 -23
  62. package/dist/components/filterchip/filterchip.component.d.ts +20 -9
  63. package/dist/components/filterchip/filterchip.component.js +0 -5
  64. package/dist/components/formfieldgroup/formfieldgroup.component.d.ts +18 -19
  65. package/dist/components/formfieldgroup/formfieldgroup.component.js +0 -15
  66. package/dist/components/formfieldwrapper/formfieldwrapper.component.d.ts +16 -8
  67. package/dist/components/formfieldwrapper/formfieldwrapper.component.js +0 -4
  68. package/dist/components/icon/icon.component.d.ts +16 -41
  69. package/dist/components/icon/icon.component.js +0 -39
  70. package/dist/components/iconprovider/iconprovider.component.d.ts +14 -24
  71. package/dist/components/iconprovider/iconprovider.component.js +0 -23
  72. package/dist/components/illustration/illustration.component.d.ts +16 -32
  73. package/dist/components/illustration/illustration.component.js +0 -30
  74. package/dist/components/illustrationprovider/illustrationprovider.component.d.ts +14 -24
  75. package/dist/components/illustrationprovider/illustrationprovider.component.js +0 -23
  76. package/dist/components/input/input.component.d.ts +21 -16
  77. package/dist/components/input/input.component.js +0 -11
  78. package/dist/components/inputchip/inputchip.component.d.ts +19 -13
  79. package/dist/components/inputchip/inputchip.component.js +0 -7
  80. package/dist/components/link/link.component.d.ts +18 -12
  81. package/dist/components/link/link.component.js +1 -9
  82. package/dist/components/linkbutton/linkbutton.component.d.ts +19 -12
  83. package/dist/components/linkbutton/linkbutton.component.js +1 -8
  84. package/dist/components/linksimple/linksimple.component.d.ts +17 -10
  85. package/dist/components/linksimple/linksimple.component.js +0 -7
  86. package/dist/components/list/list.component.d.ts +17 -7
  87. package/dist/components/list/list.component.js +0 -5
  88. package/dist/components/listbox/listbox.component.d.ts +21 -16
  89. package/dist/components/listbox/listbox.component.js +1 -11
  90. package/dist/components/listheader/listheader.component.d.ts +14 -6
  91. package/dist/components/listheader/listheader.component.js +0 -3
  92. package/dist/components/listitem/listitem.component.d.ts +20 -18
  93. package/dist/components/listitem/listitem.component.js +0 -13
  94. package/dist/components/marker/marker.component.d.ts +15 -16
  95. package/dist/components/marker/marker.component.js +0 -15
  96. package/dist/components/menubar/menubar.component.d.ts +12 -19
  97. package/dist/components/menubar/menubar.component.js +0 -19
  98. package/dist/components/menuitem/menuitem.component.d.ts +18 -19
  99. package/dist/components/menuitem/menuitem.component.js +1 -15
  100. package/dist/components/menuitemcheckbox/menuitemcheckbox.component.d.ts +19 -30
  101. package/dist/components/menuitemcheckbox/menuitemcheckbox.component.js +1 -25
  102. package/dist/components/menuitemradio/menuitemradio.component.d.ts +18 -31
  103. package/dist/components/menuitemradio/menuitemradio.component.js +1 -26
  104. package/dist/components/menupopover/menupopover.component.d.ts +16 -38
  105. package/dist/components/menupopover/menupopover.component.js +0 -34
  106. package/dist/components/menusection/menusection.component.d.ts +16 -12
  107. package/dist/components/menusection/menusection.component.js +0 -8
  108. package/dist/components/navmenuitem/navmenuitem.component.d.ts +16 -15
  109. package/dist/components/navmenuitem/navmenuitem.component.js +0 -11
  110. package/dist/components/optgroup/optgroup.component.d.ts +17 -7
  111. package/dist/components/optgroup/optgroup.component.js +1 -3
  112. package/dist/components/option/option.component.d.ts +17 -19
  113. package/dist/components/option/option.component.js +1 -15
  114. package/dist/components/password/password.component.d.ts +18 -17
  115. package/dist/components/password/password.component.js +0 -11
  116. package/dist/components/popover/popover.component.d.ts +20 -52
  117. package/dist/components/popover/popover.component.js +1 -47
  118. package/dist/components/presence/presence.component.d.ts +17 -10
  119. package/dist/components/presence/presence.component.js +1 -7
  120. package/dist/components/progressbar/progressbar.component.d.ts +17 -13
  121. package/dist/components/progressbar/progressbar.component.js +0 -9
  122. package/dist/components/progressspinner/progressspinner.component.d.ts +14 -19
  123. package/dist/components/progressspinner/progressspinner.component.js +0 -17
  124. package/dist/components/radio/radio.component.d.ts +19 -41
  125. package/dist/components/radio/radio.component.js +1 -37
  126. package/dist/components/radiogroup/radiogroup.component.d.ts +12 -5
  127. package/dist/components/radiogroup/radiogroup.component.js +0 -4
  128. package/dist/components/responsivesettingsprovider/responsivesettingsprovider.component.d.ts +11 -29
  129. package/dist/components/responsivesettingsprovider/responsivesettingsprovider.component.js +0 -29
  130. package/dist/components/screenreaderannouncer/screenreaderannouncer.component.d.ts +12 -51
  131. package/dist/components/screenreaderannouncer/screenreaderannouncer.component.js +0 -51
  132. package/dist/components/searchfield/searchfield.component.d.ts +16 -24
  133. package/dist/components/searchfield/searchfield.component.js +0 -20
  134. package/dist/components/searchpopover/searchpopover.component.d.ts +16 -20
  135. package/dist/components/searchpopover/searchpopover.component.js +0 -16
  136. package/dist/components/select/select.component.d.ts +23 -19
  137. package/dist/components/select/select.component.js +1 -14
  138. package/dist/components/selectlistbox/selectlistbox.component.d.ts +12 -8
  139. package/dist/components/selectlistbox/selectlistbox.component.js +0 -7
  140. package/dist/components/sidenavigation/sidenavigation.component.d.ts +21 -41
  141. package/dist/components/sidenavigation/sidenavigation.component.js +1 -35
  142. package/dist/components/skeleton/skeleton.component.d.ts +14 -15
  143. package/dist/components/skeleton/skeleton.component.js +0 -13
  144. package/dist/components/slider/slider.component.d.ts +17 -15
  145. package/dist/components/slider/slider.component.js +0 -11
  146. package/dist/components/spatialnavigationprovider/spatialnavigationprovider.component.d.ts +15 -215
  147. package/dist/components/spatialnavigationprovider/spatialnavigationprovider.component.js +1 -215
  148. package/dist/components/spinner/spinner.component.d.ts +15 -27
  149. package/dist/components/spinner/spinner.component.js +0 -25
  150. package/dist/components/staticcheckbox/staticcheckbox.component.d.ts +16 -21
  151. package/dist/components/staticcheckbox/staticcheckbox.component.js +0 -17
  152. package/dist/components/staticchip/staticchip.component.d.ts +17 -8
  153. package/dist/components/staticchip/staticchip.component.js +0 -5
  154. package/dist/components/staticradio/staticradio.component.d.ts +15 -19
  155. package/dist/components/staticradio/staticradio.component.js +0 -16
  156. package/dist/components/statictoggle/statictoggle.component.d.ts +16 -21
  157. package/dist/components/statictoggle/statictoggle.component.js +0 -17
  158. package/dist/components/stepper/stepper.component.d.ts +13 -5
  159. package/dist/components/stepper/stepper.component.js +0 -3
  160. package/dist/components/stepperconnector/stepperconnector.component.d.ts +13 -6
  161. package/dist/components/stepperconnector/stepperconnector.component.js +0 -4
  162. package/dist/components/stepperitem/stepperitem.component.d.ts +16 -14
  163. package/dist/components/stepperitem/stepperitem.component.js +1 -10
  164. package/dist/components/tab/tab.component.d.ts +20 -23
  165. package/dist/components/tab/tab.component.js +1 -16
  166. package/dist/components/tablist/tablist.component.d.ts +18 -30
  167. package/dist/components/tablist/tablist.component.js +0 -24
  168. package/dist/components/text/text.component.d.ts +12 -13
  169. package/dist/components/text/text.component.js +0 -12
  170. package/dist/components/textarea/textarea.component.d.ts +17 -39
  171. package/dist/components/textarea/textarea.component.js +0 -34
  172. package/dist/components/themeprovider/themeprovider.component.d.ts +13 -27
  173. package/dist/components/themeprovider/themeprovider.component.js +0 -25
  174. package/dist/components/timepicker/timepicker.component.d.ts +17 -19
  175. package/dist/components/timepicker/timepicker.component.js +0 -14
  176. package/dist/components/toast/toast.component.d.ts +20 -12
  177. package/dist/components/toast/toast.component.js +1 -7
  178. package/dist/components/toggle/toggle.component.d.ts +18 -24
  179. package/dist/components/toggle/toggle.component.js +1 -21
  180. package/dist/components/toggletip/toggletip.component.d.ts +18 -28
  181. package/dist/components/toggletip/toggletip.component.js +1 -24
  182. package/dist/components/tooltip/tooltip.component.d.ts +16 -16
  183. package/dist/components/tooltip/tooltip.component.js +0 -13
  184. package/dist/components/typewriter/typewriter.component.d.ts +18 -34
  185. package/dist/components/typewriter/typewriter.component.js +1 -31
  186. package/dist/components/verticaltablist/verticaltablist.component.d.ts +17 -30
  187. package/dist/components/verticaltablist/verticaltablist.component.js +0 -26
  188. package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +16 -58
  189. package/dist/components/virtualizedlist/virtualizedlist.component.js +0 -55
  190. package/dist/custom-elements.json +190 -190
  191. package/dist/react/accordion/index.d.ts +15 -5
  192. package/dist/react/accordionbutton/index.d.ts +14 -26
  193. package/dist/react/accordionbutton/index.js +0 -22
  194. package/dist/react/accordiongroup/index.d.ts +12 -16
  195. package/dist/react/accordiongroup/index.js +0 -14
  196. package/dist/react/alertchip/index.d.ts +15 -11
  197. package/dist/react/alertchip/index.js +0 -7
  198. package/dist/react/animation/index.d.ts +14 -6
  199. package/dist/react/animation/index.js +0 -5
  200. package/dist/react/announcementdialog/index.d.ts +18 -25
  201. package/dist/react/announcementdialog/index.js +1 -20
  202. package/dist/react/appheader/index.d.ts +13 -12
  203. package/dist/react/appheader/index.js +0 -9
  204. package/dist/react/avatar/index.d.ts +14 -34
  205. package/dist/react/avatar/index.js +1 -31
  206. package/dist/react/avatarbutton/index.d.ts +15 -14
  207. package/dist/react/avatarbutton/index.js +1 -10
  208. package/dist/react/badge/index.d.ts +16 -20
  209. package/dist/react/badge/index.js +1 -17
  210. package/dist/react/banner/index.d.ts +17 -17
  211. package/dist/react/banner/index.js +1 -13
  212. package/dist/react/brandvisual/index.d.ts +15 -12
  213. package/dist/react/brandvisual/index.js +0 -10
  214. package/dist/react/bullet/index.d.ts +15 -16
  215. package/dist/react/bullet/index.js +0 -15
  216. package/dist/react/button/index.d.ts +21 -52
  217. package/dist/react/button/index.js +1 -47
  218. package/dist/react/buttongroup/index.d.ts +17 -20
  219. package/dist/react/buttongroup/index.js +0 -17
  220. package/dist/react/buttonlink/index.d.ts +19 -16
  221. package/dist/react/buttonlink/index.js +1 -11
  222. package/dist/react/buttonsimple/index.d.ts +16 -25
  223. package/dist/react/buttonsimple/index.js +0 -22
  224. package/dist/react/calendar/index.d.ts +17 -11
  225. package/dist/react/calendar/index.js +0 -8
  226. package/dist/react/card/index.d.ts +18 -17
  227. package/dist/react/card/index.js +0 -13
  228. package/dist/react/cardbutton/index.d.ts +20 -14
  229. package/dist/react/cardbutton/index.js +0 -9
  230. package/dist/react/cardcheckbox/index.d.ts +20 -19
  231. package/dist/react/cardcheckbox/index.js +0 -14
  232. package/dist/react/cardradio/index.d.ts +20 -20
  233. package/dist/react/cardradio/index.js +0 -15
  234. package/dist/react/checkbox/index.d.ts +22 -26
  235. package/dist/react/checkbox/index.js +1 -22
  236. package/dist/react/chip/index.d.ts +20 -13
  237. package/dist/react/chip/index.js +0 -9
  238. package/dist/react/coachmark/index.d.ts +22 -22
  239. package/dist/react/coachmark/index.js +1 -18
  240. package/dist/react/combobox/index.d.ts +27 -37
  241. package/dist/react/combobox/index.js +1 -32
  242. package/dist/react/controltypeprovider/index.d.ts +19 -11
  243. package/dist/react/controltypeprovider/index.js +0 -10
  244. package/dist/react/datepicker/index.d.ts +20 -14
  245. package/dist/react/datepicker/index.js +0 -9
  246. package/dist/react/dialog/index.d.ts +25 -40
  247. package/dist/react/dialog/index.js +1 -35
  248. package/dist/react/divider/index.d.ts +23 -25
  249. package/dist/react/divider/index.js +0 -23
  250. package/dist/react/filterchip/index.d.ts +20 -9
  251. package/dist/react/filterchip/index.js +0 -5
  252. package/dist/react/formfieldgroup/index.d.ts +18 -19
  253. package/dist/react/formfieldgroup/index.js +0 -15
  254. package/dist/react/formfieldwrapper/index.d.ts +16 -8
  255. package/dist/react/formfieldwrapper/index.js +0 -4
  256. package/dist/react/icon/index.d.ts +16 -41
  257. package/dist/react/icon/index.js +0 -39
  258. package/dist/react/iconprovider/index.d.ts +14 -24
  259. package/dist/react/iconprovider/index.js +0 -23
  260. package/dist/react/illustration/index.d.ts +16 -32
  261. package/dist/react/illustration/index.js +0 -30
  262. package/dist/react/illustrationprovider/index.d.ts +14 -24
  263. package/dist/react/illustrationprovider/index.js +0 -23
  264. package/dist/react/input/index.d.ts +21 -16
  265. package/dist/react/input/index.js +0 -11
  266. package/dist/react/inputchip/index.d.ts +19 -13
  267. package/dist/react/inputchip/index.js +0 -7
  268. package/dist/react/link/index.d.ts +18 -12
  269. package/dist/react/link/index.js +1 -9
  270. package/dist/react/linkbutton/index.d.ts +19 -12
  271. package/dist/react/linkbutton/index.js +1 -8
  272. package/dist/react/linksimple/index.d.ts +17 -10
  273. package/dist/react/linksimple/index.js +0 -7
  274. package/dist/react/list/index.d.ts +17 -7
  275. package/dist/react/list/index.js +0 -5
  276. package/dist/react/listbox/index.d.ts +21 -16
  277. package/dist/react/listbox/index.js +1 -11
  278. package/dist/react/listheader/index.d.ts +14 -6
  279. package/dist/react/listheader/index.js +0 -3
  280. package/dist/react/listitem/index.d.ts +20 -18
  281. package/dist/react/listitem/index.js +0 -13
  282. package/dist/react/marker/index.d.ts +15 -16
  283. package/dist/react/marker/index.js +0 -15
  284. package/dist/react/menubar/index.d.ts +12 -19
  285. package/dist/react/menubar/index.js +0 -19
  286. package/dist/react/menuitem/index.d.ts +18 -19
  287. package/dist/react/menuitem/index.js +1 -15
  288. package/dist/react/menuitemcheckbox/index.d.ts +19 -30
  289. package/dist/react/menuitemcheckbox/index.js +1 -25
  290. package/dist/react/menuitemradio/index.d.ts +18 -31
  291. package/dist/react/menuitemradio/index.js +1 -26
  292. package/dist/react/menupopover/index.d.ts +16 -38
  293. package/dist/react/menupopover/index.js +0 -34
  294. package/dist/react/menusection/index.d.ts +16 -12
  295. package/dist/react/menusection/index.js +0 -8
  296. package/dist/react/navmenuitem/index.d.ts +16 -15
  297. package/dist/react/navmenuitem/index.js +0 -11
  298. package/dist/react/optgroup/index.d.ts +17 -7
  299. package/dist/react/optgroup/index.js +1 -3
  300. package/dist/react/option/index.d.ts +17 -19
  301. package/dist/react/option/index.js +1 -15
  302. package/dist/react/password/index.d.ts +18 -17
  303. package/dist/react/password/index.js +0 -11
  304. package/dist/react/popover/index.d.ts +20 -52
  305. package/dist/react/popover/index.js +1 -47
  306. package/dist/react/presence/index.d.ts +17 -10
  307. package/dist/react/presence/index.js +1 -7
  308. package/dist/react/progressbar/index.d.ts +17 -13
  309. package/dist/react/progressbar/index.js +0 -9
  310. package/dist/react/progressspinner/index.d.ts +14 -19
  311. package/dist/react/progressspinner/index.js +0 -17
  312. package/dist/react/radio/index.d.ts +19 -41
  313. package/dist/react/radio/index.js +1 -37
  314. package/dist/react/radiogroup/index.d.ts +12 -5
  315. package/dist/react/radiogroup/index.js +0 -4
  316. package/dist/react/responsivesettingsprovider/index.d.ts +11 -29
  317. package/dist/react/responsivesettingsprovider/index.js +0 -29
  318. package/dist/react/screenreaderannouncer/index.d.ts +12 -51
  319. package/dist/react/screenreaderannouncer/index.js +0 -51
  320. package/dist/react/searchfield/index.d.ts +16 -24
  321. package/dist/react/searchfield/index.js +0 -20
  322. package/dist/react/searchpopover/index.d.ts +16 -20
  323. package/dist/react/searchpopover/index.js +0 -16
  324. package/dist/react/select/index.d.ts +23 -19
  325. package/dist/react/select/index.js +1 -14
  326. package/dist/react/selectlistbox/index.d.ts +12 -8
  327. package/dist/react/selectlistbox/index.js +0 -7
  328. package/dist/react/sidenavigation/index.d.ts +21 -41
  329. package/dist/react/sidenavigation/index.js +1 -35
  330. package/dist/react/skeleton/index.d.ts +14 -15
  331. package/dist/react/skeleton/index.js +0 -13
  332. package/dist/react/slider/index.d.ts +17 -15
  333. package/dist/react/slider/index.js +0 -11
  334. package/dist/react/spatialnavigationprovider/index.d.ts +15 -215
  335. package/dist/react/spatialnavigationprovider/index.js +1 -214
  336. package/dist/react/spinner/index.d.ts +15 -27
  337. package/dist/react/spinner/index.js +0 -25
  338. package/dist/react/staticcheckbox/index.d.ts +16 -21
  339. package/dist/react/staticcheckbox/index.js +0 -17
  340. package/dist/react/staticchip/index.d.ts +17 -8
  341. package/dist/react/staticchip/index.js +0 -5
  342. package/dist/react/staticradio/index.d.ts +15 -19
  343. package/dist/react/staticradio/index.js +0 -16
  344. package/dist/react/statictoggle/index.d.ts +16 -21
  345. package/dist/react/statictoggle/index.js +0 -17
  346. package/dist/react/stepper/index.d.ts +13 -5
  347. package/dist/react/stepper/index.js +0 -3
  348. package/dist/react/stepperconnector/index.d.ts +13 -6
  349. package/dist/react/stepperconnector/index.js +0 -4
  350. package/dist/react/stepperitem/index.d.ts +16 -14
  351. package/dist/react/stepperitem/index.js +1 -10
  352. package/dist/react/tab/index.d.ts +20 -23
  353. package/dist/react/tab/index.js +1 -16
  354. package/dist/react/tablist/index.d.ts +18 -30
  355. package/dist/react/tablist/index.js +0 -24
  356. package/dist/react/text/index.d.ts +12 -13
  357. package/dist/react/text/index.js +0 -12
  358. package/dist/react/textarea/index.d.ts +17 -39
  359. package/dist/react/textarea/index.js +0 -34
  360. package/dist/react/themeprovider/index.d.ts +13 -27
  361. package/dist/react/themeprovider/index.js +0 -25
  362. package/dist/react/timepicker/index.d.ts +17 -19
  363. package/dist/react/timepicker/index.js +0 -14
  364. package/dist/react/toast/index.d.ts +20 -12
  365. package/dist/react/toast/index.js +1 -7
  366. package/dist/react/toggle/index.d.ts +18 -24
  367. package/dist/react/toggle/index.js +1 -21
  368. package/dist/react/toggletip/index.d.ts +18 -28
  369. package/dist/react/toggletip/index.js +1 -24
  370. package/dist/react/tooltip/index.d.ts +16 -16
  371. package/dist/react/tooltip/index.js +0 -13
  372. package/dist/react/typewriter/index.d.ts +18 -34
  373. package/dist/react/typewriter/index.js +1 -31
  374. package/dist/react/verticaltablist/index.d.ts +17 -30
  375. package/dist/react/verticaltablist/index.js +0 -26
  376. package/dist/react/virtualizedlist/index.d.ts +16 -58
  377. package/dist/react/virtualizedlist/index.js +0 -55
  378. package/dist/utils/dom.js +1 -1
  379. package/package.json +1 -1
@@ -5,37 +5,28 @@ import type { RoleType } from '../../utils/roles';
5
5
  import type { ButtonSize, ButtonType } from './buttonsimple.types';
6
6
  declare const Buttonsimple_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyDownHandledMixin").KeyDownHandledMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyToActionMixin").KeyToActionInterface> & import("../../utils/mixins/index.types").Constructor<Component & import("../../utils/mixins/AutoFocusOnMountMixin").AutoFocusOnMountMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/TabIndexMixin").TabIndexMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/DisabledMixin").DisabledMixinInterface> & typeof Component;
7
7
  /**
8
- * `mdc-buttonsimple` is a simple button component that can be configured in various ways to suit different use cases.
9
- * It can be used standalone or as a base for more complex button components like `mdc-button`.
10
- *
11
- * ### Button Types
12
- *
13
- * The button type defines the behavior when clicked:
14
- *
15
- * - **button**: Standard button that performs an action on click
16
- * - **submit**: Submits the form data to the server
17
- * - **reset**: Resets the form data to its initial state
18
- *
19
- * ### Active State
20
- *
21
- * The `active` attribute toggles the button's active/toggled state,
22
- * automatically setting the appropriate ARIA state (e.g., `aria-pressed`).
23
- * This is useful for toggle buttons or buttons indicating a selected state.
24
- *
25
- * ### Disabled States
26
- *
27
- * - **disabled**: Completely disables the button, removing it from the tab order
28
- * - **soft-disabled**: Button appears disabled but remains focusable for accessibility
29
- *
8
+ * The buttonsimple is a low-level button primitive that handles keyboard activation, focus management, disabled/soft-disabled states, form association, and optional toggled state. It does not provide visual styling on its own — consumers wrap or compose it when they need button semantics without the opinionated appearance of `mdc-button`.
9
+ *
10
+ * **When to use**
11
+ *
12
+ * - Use `mdc-buttonsimple` when you are building a custom button surface (for example a card, list item, or composite control) and need correct keyboard/ARIA semantics without inheriting the visual styling of `mdc-button`.
13
+ * - Use it inside design-system components that need to behave like buttons but render their own layout (e.g. `mdc-button`, `mdc-cardbutton`, `mdc-listitem` actions).
14
+ *
15
+ * **When not to use**
16
+ *
17
+ * - Use `mdc-button` when the design calls for the standard visual treatment (variant, color, size, prefix/postfix icons).
18
+ * - Use `mdc-buttonlink` when the control is a navigation that should render as an anchor.
19
+ * - Use `mdc-toggle` or `mdc-checkbox` for binary state in forms — they expose the correct form-control semantics and labelling.
20
+ *
30
21
  * @tagname mdc-buttonsimple
31
- *
22
+ *
32
23
  * @slot - Text label of the button.
33
- *
24
+ *
34
25
  * @event click - (React: onClick) This event is dispatched when the button is clicked.
35
26
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.
36
27
  * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.
37
28
  * @event focus - (React: onFocus) This event is dispatched when the button receives focus.
38
- *
29
+ *
39
30
  * @cssproperty --mdc-button-height - Height of the button
40
31
  * @cssproperty --mdc-button-background - Background color of the button
41
32
  * @cssproperty --mdc-button-border-color - Border color of the button
@@ -18,28 +18,6 @@ import { KeyDownHandledMixin } from '../../utils/mixins/KeyDownHandledMixin';
18
18
  import { BUTTON_TYPE, DEFAULTS } from './buttonsimple.constants';
19
19
  import styles from './buttonsimple.styles';
20
20
  /**
21
- * `mdc-buttonsimple` is a simple button component that can be configured in various ways to suit different use cases.
22
- * It can be used standalone or as a base for more complex button components like `mdc-button`.
23
- *
24
- * ### Button Types
25
- *
26
- * The button type defines the behavior when clicked:
27
- *
28
- * - **button**: Standard button that performs an action on click
29
- * - **submit**: Submits the form data to the server
30
- * - **reset**: Resets the form data to its initial state
31
- *
32
- * ### Active State
33
- *
34
- * The `active` attribute toggles the button's active/toggled state,
35
- * automatically setting the appropriate ARIA state (e.g., `aria-pressed`).
36
- * This is useful for toggle buttons or buttons indicating a selected state.
37
- *
38
- * ### Disabled States
39
- *
40
- * - **disabled**: Completely disables the button, removing it from the tab order
41
- * - **soft-disabled**: Button appears disabled but remains focusable for accessibility
42
- *
43
21
  * @tagname mdc-buttonsimple
44
22
  *
45
23
  * @slot - Text label of the button.
@@ -3,21 +3,27 @@ import { Component } from '../../models';
3
3
  import type { SelectionMode } from './calendar.types';
4
4
  declare const Calendar_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyDownHandledMixin").KeyDownHandledMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyToActionMixin").KeyToActionInterface> & typeof Component;
5
5
  /**
6
- * mdc-calendar is a component that displays a monthly calendar grid
7
- * allowing users to select dates, weeks, or date ranges.
8
- *
9
- * The component supports three selection modes:
10
- * - `single`: Select a single date
11
- * - `week`: Select an entire week
12
- * - `range`: Select a date range (start and end)
13
- *
6
+ * The calendar renders a month-by-month grid that lets users select a single date, an entire week, or a date range. It is keyboard-navigable, respects locale-defined week start and date formatting, and constrains selection to an optional `min`/`max` window.
7
+ *
8
+ * **When to use**
9
+ *
10
+ * - Use `mdc-calendar` when the surface needs to display a full month grid for date selection — for example a standalone scheduler view or the calendar panel of a custom date picker.
11
+ * - Use the `week` selection mode to pick an entire week (Mon–Sun, locale dependent).
12
+ * - Use the `range` selection mode for booking-style flows where the user picks a start and an end date.
13
+ *
14
+ * **When not to use**
15
+ *
16
+ * - Use `mdc-datepicker` when you need an input field paired with a popover calendar; `mdc-calendar` is the grid only, not the input/popover wrapper.
17
+ * - Use `mdc-timepicker` for time-of-day selection without a calendar surface.
18
+ * - Use a plain `mdc-select`, `mdc-input`, or `mdc-combobox` when the user only needs to type or pick a textual value rather than navigate dates.
19
+ *
14
20
  * @tagname mdc-calendar
15
- *
21
+ *
16
22
  * @dependency mdc-button
17
- *
23
+ *
18
24
  * @event date-selected - Fires when a date or date range is selected.
19
25
  * @event month-changed - Fires when the displayed month changes.
20
- *
26
+ *
21
27
  * @cssproperty --mdc-calendar-background-color - Background color of the calendar.
22
28
  * @cssproperty --mdc-calendar-text-color - Text color of the calendar.
23
29
  * @cssproperty --mdc-calendar-day-selected-bg - Background color of selected days.
@@ -20,14 +20,6 @@ import { CALENDAR_ICONS, DEFAULTS, SELECTION_MODE } from './calendar.constants';
20
20
  import styles from './calendar.styles';
21
21
  import { formatDateRangeForDisplay, generateCalendarGrid, getDatesInRange, getMonthYearLabel, getWeekdayNames, getWeekRange, } from './calendar.utils';
22
22
  /**
23
- * mdc-calendar is a component that displays a monthly calendar grid
24
- * allowing users to select dates, weeks, or date ranges.
25
- *
26
- * The component supports three selection modes:
27
- * - `single`: Select a single date
28
- * - `week`: Select an entire week
29
- * - `range`: Select a date range (start and end)
30
- *
31
23
  * @tagname mdc-calendar
32
24
  *
33
25
  * @dependency mdc-button
@@ -2,24 +2,25 @@ import { CSSResult, PropertyValues } from 'lit';
2
2
  import { Component } from '../../models';
3
3
  declare const Card_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/CardComponentMixin").CardComponentMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/FooterMixin").FooterMixinInterface> & typeof Component;
4
4
  /**
5
- * The card component allows users to organize information in a structured and tangible
6
- * format that is visually appealing. `mdc-card` is a static component.
7
- *
8
- * ## Card Structure
9
- * - **Image**: Optional visual content at the top
10
- * - **Header**: Contains icon, title, subtitle, and action buttons
11
- * - **Body**: Main text content area
12
- * - **Footer**: Optional footer with links and buttons
13
- *
14
- * ## Features
15
- * - Supports two orientations (vertical and horizontal) and three visual variants (border, ghost, and promotional).
16
- * - Can be made interactive by adding elements to slots like `icon-button`, `footer-link`, and footer buttons.
17
- *
5
+ * The card groups related content image, title and subtitle, body text, header action icons, and footer link/buttons — into a single visually contained surface. It is a static container: it has no built-in click handler or selection state, and is laid out either vertically (default, narrow) or horizontally (wide).
6
+ *
7
+ * **When to use**
8
+ *
9
+ * - Use `mdc-card` to present a self-contained piece of content (a record, a tile in a gallery, an information panel) with consistent padding, header, body, and footer regions.
10
+ * - Use the `promotional` variant for marketing, upsell, or feature-highlight surfaces; use `ghost` when the surrounding layout already provides the visual container; otherwise keep the default `border` variant.
11
+ *
12
+ * **When not to use**
13
+ *
14
+ * - Use `mdc-cardbutton` when the entire card should act as a single click target.
15
+ * - Use `mdc-cardcheckbox` or `mdc-cardradio` when the card represents a selectable option inside a form (multi-select / single-select).
16
+ * - Use `mdc-listitem` inside `mdc-list` when the content is a row of a scrolling list rather than a standalone tile.
17
+ * - Use `mdc-banner` or `mdc-toast` when the content is a transient or status message rather than a persistent record.
18
+ *
18
19
  * @tagname mdc-card
19
- *
20
+ *
20
21
  * @dependency mdc-icon
21
22
  * @dependency mdc-text
22
- *
23
+ *
23
24
  * @slot image - This slot is for overriding the image content of the card
24
25
  * @slot before-body - This slot is for passing the content before the body
25
26
  * @slot body - This slot is for passing the text content for the card
@@ -34,7 +35,7 @@ declare const Card_base: import("../../utils/mixins/index.types").Constructor<im
34
35
  * within the footer section.
35
36
  * @slot footer - This slot is for passing custom footer content. Only use this if really needed,
36
37
  * using the footer-link and footer-button slots is preferred.
37
- *
38
+ *
38
39
  * @csspart header - The header part of the card
39
40
  * @csspart icon - The icon part of the card header
40
41
  * @csspart body - The body part of the card
@@ -45,7 +46,7 @@ declare const Card_base: import("../../utils/mixins/index.types").Constructor<im
45
46
  * @csspart footer-button-secondary - The secondary button part of the card footer
46
47
  * @csspart icon-button - The icon button part of the card header
47
48
  * @csspart text - The text part of the card
48
- *
49
+ *
49
50
  * @cssproperty --mdc-card-width - The width of the card
50
51
  */
51
52
  declare class Card extends Card_base {
@@ -16,19 +16,6 @@ import { FooterMixin } from '../../utils/mixins/FooterMixin';
16
16
  import { DEFAULTS } from './card.constants';
17
17
  import styles from './card.styles';
18
18
  /**
19
- * The card component allows users to organize information in a structured and tangible
20
- * format that is visually appealing. `mdc-card` is a static component.
21
- *
22
- * ## Card Structure
23
- * - **Image**: Optional visual content at the top
24
- * - **Header**: Contains icon, title, subtitle, and action buttons
25
- * - **Body**: Main text content area
26
- * - **Footer**: Optional footer with links and buttons
27
- *
28
- * ## Features
29
- * - Supports two orientations (vertical and horizontal) and three visual variants (border, ghost, and promotional).
30
- * - Can be made interactive by adding elements to slots like `icon-button`, `footer-link`, and footer buttons.
31
- *
32
19
  * @tagname mdc-card
33
20
  *
34
21
  * @dependency mdc-icon
@@ -2,20 +2,26 @@ import { CSSResult } from 'lit';
2
2
  import Buttonsimple from '../buttonsimple/buttonsimple.component';
3
3
  declare const CardButton_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/CardComponentMixin").CardComponentMixinInterface> & typeof Buttonsimple;
4
4
  /**
5
- * cardbutton component looks like a card and behaves as a button component.
6
- *
7
- * ## Features
8
- * - Supports two orientations (vertical and horizontal) and three visual variants (border, ghost, and promotional).
9
- * - Interacting anywhere on the card triggers the click event.
10
- * - Use `name` and `value` attributes when using within forms.
11
- *
12
- * **Note**: Only pass non-interactable elements within the slots to avoid nested interactive elements.
13
- *
5
+ * The card button looks like a card (image, header with icon/title/subtitle, body) but acts as one large button. Clicking, pressing `Enter`, or pressing `Space` anywhere on the card surface dispatches a `click` event. Use it when the entire tile should be a single activation target.
6
+ *
7
+ * **When to use**
8
+ *
9
+ * - Use `mdc-cardbutton` when the whole tile is a clickable target — a navigation tile, a "create new" surface, or an action card in a grid where the user expects to click anywhere on the card.
10
+ * - Use the `name` and `value` attributes when the card button needs to participate in a form submission.
11
+ *
12
+ * **When not to use**
13
+ *
14
+ * - Use `mdc-card` when the surface is a static container and only specific children are interactive.
15
+ * - Use `mdc-cardcheckbox` when the card represents a multi-select option inside a form.
16
+ * - Use `mdc-cardradio` when the card represents a single-select option inside a group.
17
+ * - Use `mdc-listitem` inside `mdc-list` when the content is a row of a scrolling list rather than a standalone tile.
18
+ * - Use `mdc-button` when the action does not warrant a card-sized surface (no image, no header, no body content).
19
+ *
14
20
  * @tagname mdc-cardbutton
15
- *
21
+ *
16
22
  * @dependency mdc-icon
17
23
  * @dependency mdc-text
18
- *
24
+ *
19
25
  * @slot image - This slot is for overriding the image content of the card
20
26
  * @slot before-body - This slot is for passing the content before the body
21
27
  * @slot body - This slot is for passing the text content for the card
@@ -24,14 +30,14 @@ declare const CardButton_base: import("../../utils/mixins/index.types").Construc
24
30
  * @slot subtitle - This slot is for passing the subtitle of the card in the header section
25
31
  * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.
26
32
  * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.
27
- *
33
+ *
28
34
  * @event click - (React: onClick) Event that gets dispatched when the card is clicked.
29
35
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.
30
36
  * It fires the click event when enter key is used.
31
37
  * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.
32
38
  * It fires the click event when space key is used.
33
39
  * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.
34
- *
40
+ *
35
41
  * @csspart header - The header part of the card
36
42
  * @csspart icon - The icon part of the card header
37
43
  * @csspart body - The body part of the card
@@ -42,7 +48,7 @@ declare const CardButton_base: import("../../utils/mixins/index.types").Construc
42
48
  * @csspart footer-button-secondary - The secondary button part of the card footer
43
49
  * @csspart icon-button - The icon button part of the card header
44
50
  * @csspart text - The text part of the card
45
- *
51
+ *
46
52
  * @cssproperty --mdc-card-width - The width of the card
47
53
  */
48
54
  declare class CardButton extends CardButton_base {
@@ -4,15 +4,6 @@ import Card from '../card/card.component';
4
4
  import { CardComponentMixin } from '../../utils/mixins/CardComponentMixin';
5
5
  import styles from './cardbutton.styles';
6
6
  /**
7
- * cardbutton component looks like a card and behaves as a button component.
8
- *
9
- * ## Features
10
- * - Supports two orientations (vertical and horizontal) and three visual variants (border, ghost, and promotional).
11
- * - Interacting anywhere on the card triggers the click event.
12
- * - Use `name` and `value` attributes when using within forms.
13
- *
14
- * **Note**: Only pass non-interactable elements within the slots to avoid nested interactive elements.
15
- *
16
7
  * @tagname mdc-cardbutton
17
8
  *
18
9
  * @dependency mdc-icon
@@ -3,26 +3,27 @@ import Card from '../card/card.component';
3
3
  import type { SelectionType } from './cardcheckbox.types';
4
4
  declare const CardCheckbox_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyDownHandledMixin").KeyDownHandledMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyToActionMixin").KeyToActionInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/DisabledMixin").DisabledMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/TabIndexMixin").TabIndexMixinInterface> & typeof Card;
5
5
  /**
6
- * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction.
7
- * Multiple cards can be checked simultaneously.
8
- *
9
- * ## Features
10
- * - Supports two orientations (vertical and horizontal), three visual variants (border, ghost, and promotional), and two selection types (check icon or checkbox component).
11
- * - Interacting anywhere on the card toggles the checked state and dispatches a `change` event.
12
- * - Card has `role="checkbox"` and manages `aria-checked` and `aria-disabled` attributes automatically.
13
- *
14
- * ## Usage
15
- * - The `card-title` attribute is required.
16
- * - When using within a form or group, wrap cards in a container with `role="group"` and provide an `aria-label`.
17
- *
18
- * **Note**: Only pass non-interactable elements within the slots to avoid nested interactive elements.
19
- *
6
+ * The card checkbox looks like a card (image, header with icon/title/subtitle, body) but behaves as a single checkbox. Clicking anywhere on the card, pressing `Enter`, or pressing `Space` toggles the `checked` state and dispatches a `change` event. Multiple card checkboxes in a group can be checked at the same time.
7
+ *
8
+ * **When to use**
9
+ *
10
+ * - Use `mdc-cardcheckbox` when each option in a multi-select group needs the visual weight of a card (image, title, supporting copy) rather than a small inline control.
11
+ * - Use it inside a labelled group container (`role="group"` + `aria-label` / `aria-labelledby`) when several card checkboxes belong to the same selection set.
12
+ *
13
+ * **When not to use**
14
+ *
15
+ * - Use `mdc-card` when the surface is a static container and should not toggle a selection state.
16
+ * - Use `mdc-cardbutton` when activating the card should trigger an action rather than toggle a selection.
17
+ * - Use `mdc-cardradio` when only one card in the group can be selected at a time.
18
+ * - Use `mdc-checkbox` (or `mdc-staticcheckbox`) when a plain control is enough and the card surface is unnecessary.
19
+ * - Use `mdc-listitem` inside `mdc-list` when the content is a row of a scrolling list rather than a standalone selectable tile.
20
+ *
20
21
  * @tagname mdc-cardcheckbox
21
- *
22
+ *
22
23
  * @dependency mdc-icon
23
24
  * @dependency mdc-staticcheckbox
24
25
  * @dependency mdc-text
25
- *
26
+ *
26
27
  * @slot before-body - This slot is for passing the content before the body
27
28
  * @slot body - This slot is for passing the text content for the card
28
29
  * @slot after-body - This slot is for passing the content after the body
@@ -30,7 +31,7 @@ declare const CardCheckbox_base: import("../../utils/mixins/index.types").Constr
30
31
  * @slot subtitle - This slot is for passing the subtitle of the card in the header section
31
32
  * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.
32
33
  * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.
33
- *
34
+ *
34
35
  * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.
35
36
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.
36
37
  * It toggles the checked state when enter key is used.
@@ -38,7 +39,7 @@ declare const CardCheckbox_base: import("../../utils/mixins/index.types").Constr
38
39
  * It toggles the checked state when space key is used.
39
40
  * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.
40
41
  * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.
41
- *
42
+ *
42
43
  * @csspart header - The header part of the card
43
44
  * @csspart icon - The icon part of the card header
44
45
  * @csspart body - The body part of the card
@@ -52,7 +53,7 @@ declare const CardCheckbox_base: import("../../utils/mixins/index.types").Constr
52
53
  * @csspart check - The check part of the card
53
54
  * @csspart check-icon - The check icon part of the card
54
55
  * @csspart check-icon-button - The check icon button part of the card
55
- *
56
+ *
56
57
  * @cssproperty --mdc-card-width - The width of the card
57
58
  */
58
59
  declare class CardCheckbox extends CardCheckbox_base {
@@ -18,20 +18,6 @@ import { KeyDownHandledMixin } from '../../utils/mixins/KeyDownHandledMixin';
18
18
  import { CHECK_MARK, DEFAULTS, SELECTION_TYPE } from './cardcheckbox.constants';
19
19
  import styles from './cardcheckbox.styles';
20
20
  /**
21
- * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction.
22
- * Multiple cards can be checked simultaneously.
23
- *
24
- * ## Features
25
- * - Supports two orientations (vertical and horizontal), three visual variants (border, ghost, and promotional), and two selection types (check icon or checkbox component).
26
- * - Interacting anywhere on the card toggles the checked state and dispatches a `change` event.
27
- * - Card has `role="checkbox"` and manages `aria-checked` and `aria-disabled` attributes automatically.
28
- *
29
- * ## Usage
30
- * - The `card-title` attribute is required.
31
- * - When using within a form or group, wrap cards in a container with `role="group"` and provide an `aria-label`.
32
- *
33
- * **Note**: Only pass non-interactable elements within the slots to avoid nested interactive elements.
34
- *
35
21
  * @tagname mdc-cardcheckbox
36
22
  *
37
23
  * @dependency mdc-icon
@@ -2,27 +2,27 @@ import { CSSResult, PropertyValues } from 'lit';
2
2
  import Card from '../card/card.component';
3
3
  declare const CardRadio_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyDownHandledMixin").KeyDownHandledMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyToActionMixin").KeyToActionInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/DisabledMixin").DisabledMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/TabIndexMixin").TabIndexMixinInterface> & typeof Card;
4
4
  /**
5
- * cardradio component extends `mdc-card` and supports radio selection interaction.
6
- * Only one card can be selected at a time within the same group (defined by `name` attribute).
7
- *
8
- * ## Features
9
- * - Supports two orientations (vertical and horizontal) and three visual variants (border, ghost, and promotional).
10
- * - Selecting a card automatically unselects other cards in the same group and dispatches a `change` event.
11
- * - Supports keyboard navigation with arrow keys to move between cards in the same group.
12
- * - Card has `role="radio"` and manages `aria-checked` and `aria-disabled` attributes automatically.
13
- *
14
- * ## Usage
15
- * - Both `card-title` and `name` attributes are required.
16
- * - When using within a form or group, wrap cards in a container with `role="radiogroup"` and provide an `aria-label`.
17
- *
18
- * **Note**: Only pass non-interactable elements within the slots to avoid nested interactive elements.
19
- *
5
+ * The card radio looks like a card (image, header with icon/title/subtitle, body) but behaves as a single radio option. Cards sharing the same `name` form a group: clicking, pressing `Enter`, or pressing `Space` on one card selects it and clears the others. Arrow keys move focus and selection between enabled cards in the group.
6
+ *
7
+ * **When to use**
8
+ *
9
+ * - Use `mdc-cardradio` when each option in a single-select group needs the visual weight of a card (image, title, supporting copy) rather than a small inline control.
10
+ * - Use it inside a labelled radio-group container (`role="radiogroup"` + `aria-label` / `aria-labelledby`) when several card radios belong to the same selection set.
11
+ *
12
+ * **When not to use**
13
+ *
14
+ * - Use `mdc-card` when the surface is a static container and should not represent a selection.
15
+ * - Use `mdc-cardbutton` when activating the card should trigger an action rather than select an option.
16
+ * - Use `mdc-cardcheckbox` when more than one card in the group can be selected at the same time.
17
+ * - Use `mdc-radio` (or `mdc-radiogroup`) when a plain control is enough and the card surface is unnecessary.
18
+ * - Use `mdc-listitem` inside `mdc-list` when the content is a row of a scrolling list rather than a standalone selectable tile.
19
+ *
20
20
  * @tagname mdc-cardradio
21
- *
21
+ *
22
22
  * @dependency mdc-icon
23
23
  * @dependency mdc-staticradio
24
24
  * @dependency mdc-text
25
- *
25
+ *
26
26
  * @slot before-body - This slot is for passing the content before the body
27
27
  * @slot body - This slot is for passing the text content for the card
28
28
  * @slot after-body - This slot is for passing the content after the body
@@ -30,7 +30,7 @@ declare const CardRadio_base: import("../../utils/mixins/index.types").Construct
30
30
  * @slot subtitle - This slot is for passing the subtitle of the card in the header section
31
31
  * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.
32
32
  * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.
33
- *
33
+ *
34
34
  * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It selects the card and unselects others in the same group.
35
35
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.
36
36
  * It selects the card when enter key or arrow keys are used.
@@ -38,7 +38,7 @@ declare const CardRadio_base: import("../../utils/mixins/index.types").Construct
38
38
  * It selects the card when space key is used.
39
39
  * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.
40
40
  * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.
41
- *
41
+ *
42
42
  * @csspart header - The header part of the card
43
43
  * @csspart icon - The icon part of the card header
44
44
  * @csspart body - The body part of the card
@@ -52,7 +52,7 @@ declare const CardRadio_base: import("../../utils/mixins/index.types").Construct
52
52
  * @csspart check - The check part of the card
53
53
  * @csspart check-icon - The check icon part of the card
54
54
  * @csspart check-icon-button - The check icon button part of the card
55
- *
55
+ *
56
56
  * @cssproperty --mdc-card-width - The width of the card
57
57
  */
58
58
  declare class CardRadio extends CardRadio_base {
@@ -18,21 +18,6 @@ import { KeyToActionMixin, ACTIONS } from '../../utils/mixins/KeyToActionMixin';
18
18
  import { KeyDownHandledMixin } from '../../utils/mixins/KeyDownHandledMixin';
19
19
  import styles from './cardradio.styles';
20
20
  /**
21
- * cardradio component extends `mdc-card` and supports radio selection interaction.
22
- * Only one card can be selected at a time within the same group (defined by `name` attribute).
23
- *
24
- * ## Features
25
- * - Supports two orientations (vertical and horizontal) and three visual variants (border, ghost, and promotional).
26
- * - Selecting a card automatically unselects other cards in the same group and dispatches a `change` event.
27
- * - Supports keyboard navigation with arrow keys to move between cards in the same group.
28
- * - Card has `role="radio"` and manages `aria-checked` and `aria-disabled` attributes automatically.
29
- *
30
- * ## Usage
31
- * - Both `card-title` and `name` attributes are required.
32
- * - When using within a form or group, wrap cards in a container with `role="radiogroup"` and provide an `aria-label`.
33
- *
34
- * **Note**: Only pass non-interactable elements within the slots to avoid nested interactive elements.
35
- *
36
21
  * @tagname mdc-cardradio
37
22
  *
38
23
  * @dependency mdc-icon
@@ -4,38 +4,34 @@ import FormfieldWrapper from '../formfieldwrapper/formfieldwrapper.component';
4
4
  import type { CheckboxValidationType } from './checkbox.types';
5
5
  declare const Checkbox_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyDownHandledMixin").KeyDownHandledMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyToActionMixin").KeyToActionInterface> & import("../../utils/mixins/index.types").Constructor<import("../../models").Component & import("../../utils/mixins/AutoFocusOnMountMixin").AutoFocusOnMountMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/FormInternalsMixin").FormInternalsMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/DataAriaLabelMixin").DataAriaLabelMixinInterface> & typeof FormfieldWrapper;
6
6
  /**
7
- * The Checkbox component allows users to select one or multiple options from a list, toggle features on/off,
8
- * or indicate agreement in forms and settings. These are commonly used in forms, lists, and settings panels
9
- * where users need to make selections or express preferences.
10
- *
11
- * To create a group of checkboxes, use the `mdc-formfieldgroup` component.
12
- *
13
- * **Note:** This component internally renders a native checkbox input element with custom styling.
14
- *
15
- * ## When to use
16
- *
17
- * Use checkboxes when users can select multiple options from a list, or when a single checkbox represents a binary choice (e.g., agreeing to terms).
18
- *
19
- * ## Accessibility
20
- * - Provide clear labels that describe what the checkbox controls
21
- * - Use `data-aria-label` when a visual label is not present
22
- * - Keyboard navigation: Space to toggle, Tab to navigate, Enter to submit form
23
- *
24
- * ## Styling
25
- * Use the `static-checkbox` part to apply custom styles to the checkbox visual element.
26
- * This part exposes the underlying [StaticCheckbox](?path=/docs/components-decorator-staticcheckbox--docs) component for advanced styling.
27
- *
7
+ * The checkbox is a form control that represents a binary choice ("checked"/"unchecked") or, when used in a group, allows multiple selections from a list. It wraps a native `<input type="checkbox">` and renders a custom visual through `mdc-staticcheckbox`, while preserving full form participation (value, name, validation, reset).
8
+ *
9
+ * A checkbox can also be in an `indeterminate` (mixed) state — typically used when a parent checkbox summarises a nested group whose children are not all in the same state.
10
+ *
11
+ * **When to use**
12
+ *
13
+ * - Use `mdc-checkbox` when the user can select **any number** of options from a list (zero, one, or many).
14
+ * - Use a single `mdc-checkbox` for a binary choice that does not need to take effect immediately (e.g. agreeing to terms before submitting a form).
15
+ * - Use it inside `mdc-formfieldgroup` when several checkboxes belong to the same labelled group.
16
+ *
17
+ * **When not to use**
18
+ *
19
+ * - Use `mdc-radio` (or `mdc-radiogroup`) when **only one** option in a set can be selected.
20
+ * - Use `mdc-toggle` for a binary on/off setting that takes effect immediately.
21
+ * - Use `mdc-cardcheckbox` when each option needs the visual weight of a card surface (image, title, supporting copy).
22
+ * - Use `mdc-staticcheckbox` when the visual is purely decorative and not user-interactive (e.g. inside a list item that owns the click target).
23
+ *
24
+ * @tagname mdc-checkbox
25
+ *
28
26
  * @dependency mdc-button
29
27
  * @dependency mdc-icon
30
28
  * @dependency mdc-staticcheckbox
31
29
  * @dependency mdc-text
32
30
  * @dependency mdc-toggletip
33
- *
34
- * @tagname mdc-checkbox
35
- *
31
+ *
36
32
  * @event change - (React: onChange) Event that gets dispatched when the checkbox state changes.
37
33
  * @event focus - (React: onFocus) Event that gets dispatched when the checkbox receives focus.
38
- *
34
+ *
39
35
  * @csspart label - The label element.
40
36
  * @csspart label-text - The container for the label and required indicator elements.
41
37
  * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.
@@ -47,7 +43,7 @@ declare const Checkbox_base: import("../../utils/mixins/index.types").Constructo
47
43
  * @csspart checkbox-input - The native checkbox input element that provides the interactive functionality.
48
44
  * @csspart text-container - The container for the label and helper text elements.
49
45
  * @csspart static-checkbox - The staticcheckbox that provides the visual checkbox appearance.
50
- *
46
+ *
51
47
  * @cssstate checked - Active when the checkbox is checked.
52
48
  */
53
49
  declare class Checkbox extends Checkbox_base implements AssociatedFormControl {
@@ -20,26 +20,7 @@ import { KeyDownHandledMixin } from '../../utils/mixins/KeyDownHandledMixin';
20
20
  import styles from './checkbox.styles';
21
21
  import { CHECKBOX_VALIDATION } from './checkbox.constants';
22
22
  /**
23
- * The Checkbox component allows users to select one or multiple options from a list, toggle features on/off,
24
- * or indicate agreement in forms and settings. These are commonly used in forms, lists, and settings panels
25
- * where users need to make selections or express preferences.
26
- *
27
- * To create a group of checkboxes, use the `mdc-formfieldgroup` component.
28
- *
29
- * **Note:** This component internally renders a native checkbox input element with custom styling.
30
- *
31
- * ## When to use
32
- *
33
- * Use checkboxes when users can select multiple options from a list, or when a single checkbox represents a binary choice (e.g., agreeing to terms).
34
- *
35
- * ## Accessibility
36
- * - Provide clear labels that describe what the checkbox controls
37
- * - Use `data-aria-label` when a visual label is not present
38
- * - Keyboard navigation: Space to toggle, Tab to navigate, Enter to submit form
39
- *
40
- * ## Styling
41
- * Use the `static-checkbox` part to apply custom styles to the checkbox visual element.
42
- * This part exposes the underlying [StaticCheckbox](?path=/docs/components-decorator-staticcheckbox--docs) component for advanced styling.
23
+ * @tagname mdc-checkbox
43
24
  *
44
25
  * @dependency mdc-button
45
26
  * @dependency mdc-icon
@@ -47,8 +28,6 @@ import { CHECKBOX_VALIDATION } from './checkbox.constants';
47
28
  * @dependency mdc-text
48
29
  * @dependency mdc-toggletip
49
30
  *
50
- * @tagname mdc-checkbox
51
- *
52
31
  * @event change - (React: onChange) Event that gets dispatched when the checkbox state changes.
53
32
  * @event focus - (React: onFocus) Event that gets dispatched when the checkbox receives focus.
54
33
  *