@momentum-design/components 0.134.20 → 0.134.22

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 (390) hide show
  1. package/dist/browser/index.js +481 -458
  2. package/dist/browser/index.js.map +4 -4
  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 +25 -14
  57. package/dist/components/datepicker/datepicker.component.js +96 -35
  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 +2 -20
  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 +17 -39
  105. package/dist/components/menupopover/menupopover.component.js +4 -38
  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 +47 -16
  109. package/dist/components/navmenuitem/navmenuitem.component.js +146 -20
  110. package/dist/components/navmenuitem/navmenuitem.constants.d.ts +1 -0
  111. package/dist/components/navmenuitem/navmenuitem.constants.js +1 -0
  112. package/dist/components/navmenuitem/navmenuitem.styles.js +16 -5
  113. package/dist/components/optgroup/optgroup.component.d.ts +17 -7
  114. package/dist/components/optgroup/optgroup.component.js +1 -3
  115. package/dist/components/option/option.component.d.ts +17 -19
  116. package/dist/components/option/option.component.js +1 -15
  117. package/dist/components/password/password.component.d.ts +18 -17
  118. package/dist/components/password/password.component.js +0 -11
  119. package/dist/components/popover/popover.component.d.ts +20 -52
  120. package/dist/components/popover/popover.component.js +1 -47
  121. package/dist/components/presence/presence.component.d.ts +17 -10
  122. package/dist/components/presence/presence.component.js +1 -7
  123. package/dist/components/progressbar/progressbar.component.d.ts +17 -13
  124. package/dist/components/progressbar/progressbar.component.js +0 -9
  125. package/dist/components/progressspinner/progressspinner.component.d.ts +14 -19
  126. package/dist/components/progressspinner/progressspinner.component.js +0 -17
  127. package/dist/components/radio/radio.component.d.ts +19 -41
  128. package/dist/components/radio/radio.component.js +1 -37
  129. package/dist/components/radiogroup/radiogroup.component.d.ts +12 -5
  130. package/dist/components/radiogroup/radiogroup.component.js +0 -4
  131. package/dist/components/responsivesettingsprovider/responsivesettingsprovider.component.d.ts +11 -29
  132. package/dist/components/responsivesettingsprovider/responsivesettingsprovider.component.js +0 -29
  133. package/dist/components/screenreaderannouncer/screenreaderannouncer.component.d.ts +12 -51
  134. package/dist/components/screenreaderannouncer/screenreaderannouncer.component.js +0 -51
  135. package/dist/components/searchfield/searchfield.component.d.ts +16 -24
  136. package/dist/components/searchfield/searchfield.component.js +0 -20
  137. package/dist/components/searchpopover/searchpopover.component.d.ts +16 -20
  138. package/dist/components/searchpopover/searchpopover.component.js +0 -16
  139. package/dist/components/select/select.component.d.ts +23 -19
  140. package/dist/components/select/select.component.js +1 -14
  141. package/dist/components/selectlistbox/selectlistbox.component.d.ts +12 -8
  142. package/dist/components/selectlistbox/selectlistbox.component.js +0 -7
  143. package/dist/components/sidenavigation/sidenavigation.component.d.ts +64 -44
  144. package/dist/components/sidenavigation/sidenavigation.component.js +241 -43
  145. package/dist/components/sidenavigation/sidenavigation.constants.d.ts +6 -1
  146. package/dist/components/sidenavigation/sidenavigation.constants.js +6 -1
  147. package/dist/components/sidenavigation/sidenavigation.context.d.ts +6 -1
  148. package/dist/components/sidenavigation/sidenavigation.context.js +36 -11
  149. package/dist/components/sidenavigation/sidenavigation.types.d.ts +3 -2
  150. package/dist/components/sidenavigation/sidenavigationbase.d.ts +8 -0
  151. package/dist/components/sidenavigation/sidenavigationbase.js +7 -0
  152. package/dist/components/skeleton/skeleton.component.d.ts +14 -15
  153. package/dist/components/skeleton/skeleton.component.js +0 -13
  154. package/dist/components/slider/slider.component.d.ts +17 -15
  155. package/dist/components/slider/slider.component.js +0 -11
  156. package/dist/components/spatialnavigationprovider/spatialnavigationprovider.component.d.ts +15 -215
  157. package/dist/components/spatialnavigationprovider/spatialnavigationprovider.component.js +1 -215
  158. package/dist/components/spinner/spinner.component.d.ts +15 -27
  159. package/dist/components/spinner/spinner.component.js +0 -25
  160. package/dist/components/staticcheckbox/staticcheckbox.component.d.ts +16 -21
  161. package/dist/components/staticcheckbox/staticcheckbox.component.js +0 -17
  162. package/dist/components/staticchip/staticchip.component.d.ts +17 -8
  163. package/dist/components/staticchip/staticchip.component.js +0 -5
  164. package/dist/components/staticradio/staticradio.component.d.ts +15 -19
  165. package/dist/components/staticradio/staticradio.component.js +0 -16
  166. package/dist/components/statictoggle/statictoggle.component.d.ts +16 -21
  167. package/dist/components/statictoggle/statictoggle.component.js +0 -17
  168. package/dist/components/stepper/stepper.component.d.ts +13 -5
  169. package/dist/components/stepper/stepper.component.js +0 -3
  170. package/dist/components/stepperconnector/stepperconnector.component.d.ts +13 -6
  171. package/dist/components/stepperconnector/stepperconnector.component.js +0 -4
  172. package/dist/components/stepperitem/stepperitem.component.d.ts +16 -14
  173. package/dist/components/stepperitem/stepperitem.component.js +1 -10
  174. package/dist/components/tab/tab.component.d.ts +20 -23
  175. package/dist/components/tab/tab.component.js +1 -16
  176. package/dist/components/tablist/tablist.component.d.ts +18 -30
  177. package/dist/components/tablist/tablist.component.js +0 -24
  178. package/dist/components/text/text.component.d.ts +12 -13
  179. package/dist/components/text/text.component.js +0 -12
  180. package/dist/components/textarea/textarea.component.d.ts +17 -39
  181. package/dist/components/textarea/textarea.component.js +0 -34
  182. package/dist/components/themeprovider/themeprovider.component.d.ts +13 -27
  183. package/dist/components/themeprovider/themeprovider.component.js +0 -25
  184. package/dist/components/timepicker/timepicker.component.d.ts +17 -19
  185. package/dist/components/timepicker/timepicker.component.js +0 -14
  186. package/dist/components/toast/toast.component.d.ts +20 -12
  187. package/dist/components/toast/toast.component.js +1 -7
  188. package/dist/components/toggle/toggle.component.d.ts +18 -24
  189. package/dist/components/toggle/toggle.component.js +1 -21
  190. package/dist/components/toggletip/toggletip.component.d.ts +18 -28
  191. package/dist/components/toggletip/toggletip.component.js +1 -24
  192. package/dist/components/tooltip/tooltip.component.d.ts +16 -16
  193. package/dist/components/tooltip/tooltip.component.js +0 -13
  194. package/dist/components/typewriter/typewriter.component.d.ts +18 -34
  195. package/dist/components/typewriter/typewriter.component.js +1 -31
  196. package/dist/components/verticaltablist/verticaltablist.component.d.ts +17 -30
  197. package/dist/components/verticaltablist/verticaltablist.component.js +0 -26
  198. package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +16 -58
  199. package/dist/components/virtualizedlist/virtualizedlist.component.js +0 -55
  200. package/dist/custom-elements.json +334 -191
  201. package/dist/models/provider/provider.component.d.ts +2 -2
  202. package/dist/models/provider/provider.component.js +13 -0
  203. package/dist/react/accordion/index.d.ts +15 -5
  204. package/dist/react/accordionbutton/index.d.ts +14 -26
  205. package/dist/react/accordionbutton/index.js +0 -22
  206. package/dist/react/accordiongroup/index.d.ts +12 -16
  207. package/dist/react/accordiongroup/index.js +0 -14
  208. package/dist/react/alertchip/index.d.ts +15 -11
  209. package/dist/react/alertchip/index.js +0 -7
  210. package/dist/react/animation/index.d.ts +14 -6
  211. package/dist/react/animation/index.js +0 -5
  212. package/dist/react/announcementdialog/index.d.ts +18 -25
  213. package/dist/react/announcementdialog/index.js +1 -20
  214. package/dist/react/appheader/index.d.ts +13 -12
  215. package/dist/react/appheader/index.js +0 -9
  216. package/dist/react/avatar/index.d.ts +14 -34
  217. package/dist/react/avatar/index.js +1 -31
  218. package/dist/react/avatarbutton/index.d.ts +15 -14
  219. package/dist/react/avatarbutton/index.js +1 -10
  220. package/dist/react/badge/index.d.ts +16 -20
  221. package/dist/react/badge/index.js +1 -17
  222. package/dist/react/banner/index.d.ts +17 -17
  223. package/dist/react/banner/index.js +1 -13
  224. package/dist/react/brandvisual/index.d.ts +15 -12
  225. package/dist/react/brandvisual/index.js +0 -10
  226. package/dist/react/bullet/index.d.ts +15 -16
  227. package/dist/react/bullet/index.js +0 -15
  228. package/dist/react/button/index.d.ts +21 -52
  229. package/dist/react/button/index.js +1 -47
  230. package/dist/react/buttongroup/index.d.ts +17 -20
  231. package/dist/react/buttongroup/index.js +0 -17
  232. package/dist/react/buttonlink/index.d.ts +19 -16
  233. package/dist/react/buttonlink/index.js +1 -11
  234. package/dist/react/buttonsimple/index.d.ts +16 -25
  235. package/dist/react/buttonsimple/index.js +0 -22
  236. package/dist/react/calendar/index.d.ts +17 -11
  237. package/dist/react/calendar/index.js +0 -8
  238. package/dist/react/card/index.d.ts +18 -17
  239. package/dist/react/card/index.js +0 -13
  240. package/dist/react/cardbutton/index.d.ts +20 -14
  241. package/dist/react/cardbutton/index.js +0 -9
  242. package/dist/react/cardcheckbox/index.d.ts +20 -19
  243. package/dist/react/cardcheckbox/index.js +0 -14
  244. package/dist/react/cardradio/index.d.ts +20 -20
  245. package/dist/react/cardradio/index.js +0 -15
  246. package/dist/react/checkbox/index.d.ts +22 -26
  247. package/dist/react/checkbox/index.js +1 -22
  248. package/dist/react/chip/index.d.ts +20 -13
  249. package/dist/react/chip/index.js +0 -9
  250. package/dist/react/coachmark/index.d.ts +22 -22
  251. package/dist/react/coachmark/index.js +1 -18
  252. package/dist/react/combobox/index.d.ts +27 -37
  253. package/dist/react/combobox/index.js +1 -32
  254. package/dist/react/controltypeprovider/index.d.ts +19 -11
  255. package/dist/react/controltypeprovider/index.js +0 -10
  256. package/dist/react/datepicker/index.d.ts +20 -14
  257. package/dist/react/datepicker/index.js +0 -9
  258. package/dist/react/dialog/index.d.ts +25 -40
  259. package/dist/react/dialog/index.js +1 -35
  260. package/dist/react/divider/index.d.ts +23 -25
  261. package/dist/react/divider/index.js +0 -23
  262. package/dist/react/filterchip/index.d.ts +20 -9
  263. package/dist/react/filterchip/index.js +0 -5
  264. package/dist/react/formfieldgroup/index.d.ts +18 -19
  265. package/dist/react/formfieldgroup/index.js +0 -15
  266. package/dist/react/formfieldwrapper/index.d.ts +16 -8
  267. package/dist/react/formfieldwrapper/index.js +0 -4
  268. package/dist/react/icon/index.d.ts +16 -41
  269. package/dist/react/icon/index.js +0 -39
  270. package/dist/react/iconprovider/index.d.ts +14 -24
  271. package/dist/react/iconprovider/index.js +0 -23
  272. package/dist/react/illustration/index.d.ts +16 -32
  273. package/dist/react/illustration/index.js +0 -30
  274. package/dist/react/illustrationprovider/index.d.ts +14 -24
  275. package/dist/react/illustrationprovider/index.js +0 -23
  276. package/dist/react/input/index.d.ts +21 -16
  277. package/dist/react/input/index.js +0 -11
  278. package/dist/react/inputchip/index.d.ts +19 -13
  279. package/dist/react/inputchip/index.js +0 -7
  280. package/dist/react/link/index.d.ts +18 -12
  281. package/dist/react/link/index.js +1 -9
  282. package/dist/react/linkbutton/index.d.ts +19 -12
  283. package/dist/react/linkbutton/index.js +1 -8
  284. package/dist/react/linksimple/index.d.ts +17 -10
  285. package/dist/react/linksimple/index.js +0 -7
  286. package/dist/react/list/index.d.ts +17 -7
  287. package/dist/react/list/index.js +0 -5
  288. package/dist/react/listbox/index.d.ts +21 -16
  289. package/dist/react/listbox/index.js +1 -11
  290. package/dist/react/listheader/index.d.ts +14 -6
  291. package/dist/react/listheader/index.js +0 -3
  292. package/dist/react/listitem/index.d.ts +20 -18
  293. package/dist/react/listitem/index.js +0 -13
  294. package/dist/react/marker/index.d.ts +15 -16
  295. package/dist/react/marker/index.js +0 -15
  296. package/dist/react/menubar/index.d.ts +12 -19
  297. package/dist/react/menubar/index.js +0 -19
  298. package/dist/react/menuitem/index.d.ts +18 -19
  299. package/dist/react/menuitem/index.js +1 -15
  300. package/dist/react/menuitemcheckbox/index.d.ts +19 -30
  301. package/dist/react/menuitemcheckbox/index.js +1 -25
  302. package/dist/react/menuitemradio/index.d.ts +18 -31
  303. package/dist/react/menuitemradio/index.js +1 -26
  304. package/dist/react/menupopover/index.d.ts +16 -38
  305. package/dist/react/menupopover/index.js +0 -34
  306. package/dist/react/menusection/index.d.ts +16 -12
  307. package/dist/react/menusection/index.js +0 -8
  308. package/dist/react/navmenuitem/index.d.ts +19 -16
  309. package/dist/react/navmenuitem/index.js +3 -12
  310. package/dist/react/optgroup/index.d.ts +17 -7
  311. package/dist/react/optgroup/index.js +1 -3
  312. package/dist/react/option/index.d.ts +17 -19
  313. package/dist/react/option/index.js +1 -15
  314. package/dist/react/password/index.d.ts +18 -17
  315. package/dist/react/password/index.js +0 -11
  316. package/dist/react/popover/index.d.ts +20 -52
  317. package/dist/react/popover/index.js +1 -47
  318. package/dist/react/presence/index.d.ts +17 -10
  319. package/dist/react/presence/index.js +1 -7
  320. package/dist/react/progressbar/index.d.ts +17 -13
  321. package/dist/react/progressbar/index.js +0 -9
  322. package/dist/react/progressspinner/index.d.ts +14 -19
  323. package/dist/react/progressspinner/index.js +0 -17
  324. package/dist/react/radio/index.d.ts +19 -41
  325. package/dist/react/radio/index.js +1 -37
  326. package/dist/react/radiogroup/index.d.ts +12 -5
  327. package/dist/react/radiogroup/index.js +0 -4
  328. package/dist/react/responsivesettingsprovider/index.d.ts +11 -29
  329. package/dist/react/responsivesettingsprovider/index.js +0 -29
  330. package/dist/react/screenreaderannouncer/index.d.ts +12 -51
  331. package/dist/react/screenreaderannouncer/index.js +0 -51
  332. package/dist/react/searchfield/index.d.ts +16 -24
  333. package/dist/react/searchfield/index.js +0 -20
  334. package/dist/react/searchpopover/index.d.ts +16 -20
  335. package/dist/react/searchpopover/index.js +0 -16
  336. package/dist/react/select/index.d.ts +23 -19
  337. package/dist/react/select/index.js +1 -14
  338. package/dist/react/selectlistbox/index.d.ts +12 -8
  339. package/dist/react/selectlistbox/index.js +0 -7
  340. package/dist/react/sidenavigation/index.d.ts +21 -41
  341. package/dist/react/sidenavigation/index.js +1 -35
  342. package/dist/react/skeleton/index.d.ts +14 -15
  343. package/dist/react/skeleton/index.js +0 -13
  344. package/dist/react/slider/index.d.ts +17 -15
  345. package/dist/react/slider/index.js +0 -11
  346. package/dist/react/spatialnavigationprovider/index.d.ts +15 -215
  347. package/dist/react/spatialnavigationprovider/index.js +1 -214
  348. package/dist/react/spinner/index.d.ts +15 -27
  349. package/dist/react/spinner/index.js +0 -25
  350. package/dist/react/staticcheckbox/index.d.ts +16 -21
  351. package/dist/react/staticcheckbox/index.js +0 -17
  352. package/dist/react/staticchip/index.d.ts +17 -8
  353. package/dist/react/staticchip/index.js +0 -5
  354. package/dist/react/staticradio/index.d.ts +15 -19
  355. package/dist/react/staticradio/index.js +0 -16
  356. package/dist/react/statictoggle/index.d.ts +16 -21
  357. package/dist/react/statictoggle/index.js +0 -17
  358. package/dist/react/stepper/index.d.ts +13 -5
  359. package/dist/react/stepper/index.js +0 -3
  360. package/dist/react/stepperconnector/index.d.ts +13 -6
  361. package/dist/react/stepperconnector/index.js +0 -4
  362. package/dist/react/stepperitem/index.d.ts +16 -14
  363. package/dist/react/stepperitem/index.js +1 -10
  364. package/dist/react/tab/index.d.ts +20 -23
  365. package/dist/react/tab/index.js +1 -16
  366. package/dist/react/tablist/index.d.ts +18 -30
  367. package/dist/react/tablist/index.js +0 -24
  368. package/dist/react/text/index.d.ts +12 -13
  369. package/dist/react/text/index.js +0 -12
  370. package/dist/react/textarea/index.d.ts +17 -39
  371. package/dist/react/textarea/index.js +0 -34
  372. package/dist/react/themeprovider/index.d.ts +13 -27
  373. package/dist/react/themeprovider/index.js +0 -25
  374. package/dist/react/timepicker/index.d.ts +17 -19
  375. package/dist/react/timepicker/index.js +0 -14
  376. package/dist/react/toast/index.d.ts +20 -12
  377. package/dist/react/toast/index.js +1 -7
  378. package/dist/react/toggle/index.d.ts +18 -24
  379. package/dist/react/toggle/index.js +1 -21
  380. package/dist/react/toggletip/index.d.ts +18 -28
  381. package/dist/react/toggletip/index.js +1 -24
  382. package/dist/react/tooltip/index.d.ts +16 -16
  383. package/dist/react/tooltip/index.js +0 -13
  384. package/dist/react/typewriter/index.d.ts +18 -34
  385. package/dist/react/typewriter/index.js +1 -31
  386. package/dist/react/verticaltablist/index.d.ts +17 -30
  387. package/dist/react/verticaltablist/index.js +0 -26
  388. package/dist/react/virtualizedlist/index.d.ts +16 -58
  389. package/dist/react/virtualizedlist/index.js +0 -55
  390. package/package.json +1 -1
@@ -12,29 +12,6 @@ import { Provider } from '../../models';
12
12
  import IconProviderContext from './iconprovider.context';
13
13
  import { ALLOWED_FILE_EXTENSIONS, DEFAULTS, ALLOWED_LENGTH_UNITS } from './iconprovider.constants';
14
14
  /**
15
- * IconProvider component, which allows to be consumed from sub components
16
- * (see `providerUtils.consume` for how to consume)
17
- *
18
- * Attribute `iconSet` can be set to either `momentum-icons` or `custom-icons`.
19
- * If `momentum-icons` is selected, the icons will be fetched from the
20
- * Momentum Design System icon set per a dynamic JS Import (no need to provide a URL).
21
- * This requires the consumer to have the `@momentum-design/icons` package installed and the
22
- * build tooling needs to support dynamic imports.
23
- *
24
- * If `custom-icons` is selected, the icons will be fetched from the provided URL.
25
- * This requires the consumer to provide a URL from which the icons will be fetched and
26
- * the consumer needs to make sure to bundle the icons in the application.
27
- *
28
- * If `cacheStrategy` is provided (only works with iconSet = `custom-icons`), the
29
- * IconProvider will cache the icons in the selected cache (either web-api-cache or in-memory-cache),
30
- * to avoid fetching the same icon multiple times over the network.
31
- * This is useful when the same icon is used multiple times in the application.
32
- * To consider:
33
- * - The `in-memory-cache` is not persisted and will be lost when the
34
- * IconProvider is removed from the DOM.
35
- * - The `web-api-cache` is persisted, but only works in https environments
36
- * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).
37
- *
38
15
  * @tagname mdc-iconprovider
39
16
  *
40
17
  * @slot - children
@@ -2,40 +2,24 @@ import { CSSResult } from 'lit';
2
2
  import { Component } from '../../models';
3
3
  import type { IllustrationNames } from './illustration.types';
4
4
  /**
5
- * Illustration component that dynamically displays SVG illustrations based on a valid name.
6
- *
7
- * This component must be mounted within an `IllustrationProvider` component.
8
- *
9
- * The `IllustrationProvider` defines the source URL from which illustrations are consumed.
10
- * The `Illustration` component accepts a `name` attribute, which corresponds to
11
- * the file name of the illustration to be loaded from the specified URL.
12
- *
13
- * Once fetched, the illustration will be rendered. If the fetching process is unsuccessful,
14
- * no illustration will be displayed.
15
- *
16
- * Default sizing of the illustration is controlled by choosing a different illustration name, can be overridden with the `--mdc-illustration-size` CSS property.
17
- * Coloring of the illustration is currently baked into the svg, meaning that the illustration name determines
18
- * the coloring.
19
- *
20
- * Regarding accessibility, there are two types of illustrations: decorative and informative.
21
- *
22
- * ### Decorative Illustrations
23
- * - Decorative illustrations do not convey any essential information to the content of a page.
24
- * - They should be hidden from screen readers (SR) to prevent confusion for users.
25
- * - For decorative illustrations, an `aria-label` is not required, and the `role` will be set to null.
26
- *
27
- * ### Informative Illustrations
28
- * - Informative illustrations convey important information that is not adequately represented
29
- * by surrounding text or components.
30
- * - They provide valuable context and must be announced by assistive technologies.
31
- * - For informative illustrations, an `aria-label` is required, and the `role` will be set to "img" automatically.
32
- * - If an `aria-label` is provided, the role will be set to 'img'; if it is absent,
33
- * the role will be unset.
34
- *
5
+ * The illustration renders an SVG illustration by name. It must be mounted inside an `mdc-illustrationprovider`, which supplies the source URL (or selects the `momentum-illustrations` package), file extension, and optional cache strategy. Setting `name` triggers a fetch (or dynamic import); on success the SVG is inlined into the component, and on failure the component renders nothing.
6
+ *
7
+ * Default sizing is baked into each illustration name. Override the rendered size with the `--mdc-illustration-size` CSS property. Colouring is also baked into the SVG, so the choice of `name` determines the palette.
8
+ *
9
+ * **When to use**
10
+ *
11
+ * - Use `mdc-illustration` for larger illustrative graphics in empty states, onboarding screens, success/error confirmations, and feature highlights.
12
+ * - Use it when the asset should be loaded from the shared illustration source rather than bundled inline.
13
+ *
14
+ * **When not to use**
15
+ *
16
+ * - Use `mdc-icon` for small, single-colour interface icons rather than full illustrations.
17
+ * - Use an inline `<svg>` for one-off illustrations that do not need to be loaded through the illustration provider system.
18
+ *
35
19
  * @tagname mdc-illustration
36
- *
20
+ *
37
21
  * @cssproperty --mdc-illustration-size - Allows customization of the illustration size.
38
- *
22
+ *
39
23
  * @csspart illustration - The svg inside the illustration element.
40
24
  */
41
25
  declare class Illustration extends Component {
@@ -17,36 +17,6 @@ import styles from './illustration.styles';
17
17
  import { svgFetch } from './illustration.utils';
18
18
  import { DEFAULTS } from './illustration.constants';
19
19
  /**
20
- * Illustration component that dynamically displays SVG illustrations based on a valid name.
21
- *
22
- * This component must be mounted within an `IllustrationProvider` component.
23
- *
24
- * The `IllustrationProvider` defines the source URL from which illustrations are consumed.
25
- * The `Illustration` component accepts a `name` attribute, which corresponds to
26
- * the file name of the illustration to be loaded from the specified URL.
27
- *
28
- * Once fetched, the illustration will be rendered. If the fetching process is unsuccessful,
29
- * no illustration will be displayed.
30
- *
31
- * Default sizing of the illustration is controlled by choosing a different illustration name, can be overridden with the `--mdc-illustration-size` CSS property.
32
- * Coloring of the illustration is currently baked into the svg, meaning that the illustration name determines
33
- * the coloring.
34
- *
35
- * Regarding accessibility, there are two types of illustrations: decorative and informative.
36
- *
37
- * ### Decorative Illustrations
38
- * - Decorative illustrations do not convey any essential information to the content of a page.
39
- * - They should be hidden from screen readers (SR) to prevent confusion for users.
40
- * - For decorative illustrations, an `aria-label` is not required, and the `role` will be set to null.
41
- *
42
- * ### Informative Illustrations
43
- * - Informative illustrations convey important information that is not adequately represented
44
- * by surrounding text or components.
45
- * - They provide valuable context and must be announced by assistive technologies.
46
- * - For informative illustrations, an `aria-label` is required, and the `role` will be set to "img" automatically.
47
- * - If an `aria-label` is provided, the role will be set to 'img'; if it is absent,
48
- * the role will be unset.
49
- *
50
20
  * @tagname mdc-illustration
51
21
  *
52
22
  * @cssproperty --mdc-illustration-size - Allows customization of the illustration size.
@@ -2,31 +2,21 @@ import { Provider } from '../../models';
2
2
  import IllustrationProviderContext from './illustrationprovider.context';
3
3
  import type { CacheStrategy, IllustrationSet } from './illustrationprovider.types';
4
4
  /**
5
- * IllustrationProvider component, which allows to be consumed from sub components
6
- * (see `providerUtils.consume` for how to consume)
7
- *
8
- * Attribute `illustrationSet` can be set to either `momentum-illustrations` or `custom-illustrations`.
9
- * If `momentum-illustrations` is selected, the illustrations will be fetched from the
10
- * Momentum Design System illustration set per a dynamic JS Import (no need to provide a URL).
11
- * This requires the consumer to have the `@momentum-design/illustrations` package installed and the
12
- * build tooling needs to support dynamic imports.
13
- *
14
- * If `custom-illustrations` is selected, the illustrations will be fetched from the provided URL.
15
- * This requires the consumer to provide a URL from which the illustrations will be fetched and
16
- * the consumer needs to make sure to bundle the illustrations in the application.
17
- *
18
- * If `cacheStrategy` is provided (only works with illustrationSet = `custom-illustrations`), the
19
- * IllustrationProvider will cache the illustrations in the selected cache (either web-api-cache or in-memory-cache),
20
- * to avoid fetching the same illustration multiple times over the network.
21
- * This is useful when the same illustration is used multiple times in the application.
22
- * To consider:
23
- * - The `in-memory-cache` is not persisted and will be lost when the
24
- * IllustrationProvider is removed from the DOM.
25
- * - The `web-api-cache` is persisted, but only works in https environments
26
- * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).
27
- *
5
+ * The illustrationprovider is a context provider for `mdc-illustration`. It broadcasts the configuration every nested illustration needs to resolve its `name` into a rendered SVG: which illustration set to use, where to fetch from (for custom illustrations), what file extension to apply, and an optional cache strategy.
6
+ *
7
+ * Wrap the application (or a sub-tree) with an `mdc-illustrationprovider` once; every `mdc-illustration` inside it reads the same configuration via context. Without a surrounding illustrationprovider, an `mdc-illustration` cannot resolve its source and renders nothing.
8
+ *
9
+ * **When to use**
10
+ *
11
+ * - Wrap the root of the application (or any sub-tree that uses illustrations) with `mdc-illustrationprovider` to configure the source once for every nested `mdc-illustration`.
12
+ * - Use it when illustrations should be cached across re-renders or page navigations to avoid repeated network fetches.
13
+ *
14
+ * **When not to use**
15
+ *
16
+ * - Do not nest multiple `mdc-illustrationprovider`s when one provider is enough the nearest provider wins per illustration, so nesting only makes sense when different sub-trees genuinely need different sources.
17
+ *
28
18
  * @tagname mdc-illustrationprovider
29
- *
19
+ *
30
20
  * @slot - children
31
21
  */
32
22
  declare class IllustrationProvider extends Provider<IllustrationProviderContext> {
@@ -12,29 +12,6 @@ import { Provider } from '../../models';
12
12
  import IllustrationProviderContext from './illustrationprovider.context';
13
13
  import { ALLOWED_FILE_EXTENSIONS, DEFAULTS } from './illustrationprovider.constants';
14
14
  /**
15
- * IllustrationProvider component, which allows to be consumed from sub components
16
- * (see `providerUtils.consume` for how to consume)
17
- *
18
- * Attribute `illustrationSet` can be set to either `momentum-illustrations` or `custom-illustrations`.
19
- * If `momentum-illustrations` is selected, the illustrations will be fetched from the
20
- * Momentum Design System illustration set per a dynamic JS Import (no need to provide a URL).
21
- * This requires the consumer to have the `@momentum-design/illustrations` package installed and the
22
- * build tooling needs to support dynamic imports.
23
- *
24
- * If `custom-illustrations` is selected, the illustrations will be fetched from the provided URL.
25
- * This requires the consumer to provide a URL from which the illustrations will be fetched and
26
- * the consumer needs to make sure to bundle the illustrations in the application.
27
- *
28
- * If `cacheStrategy` is provided (only works with illustrationSet = `custom-illustrations`), the
29
- * IllustrationProvider will cache the illustrations in the selected cache (either web-api-cache or in-memory-cache),
30
- * to avoid fetching the same illustration multiple times over the network.
31
- * This is useful when the same illustration is used multiple times in the application.
32
- * To consider:
33
- * - The `in-memory-cache` is not persisted and will be lost when the
34
- * IllustrationProvider is removed from the DOM.
35
- * - The `web-api-cache` is persisted, but only works in https environments
36
- * (https://developer.mozilla.org/en-US/docs/Web/API/Cache).
37
- *
38
15
  * @tagname mdc-illustrationprovider
39
16
  *
40
17
  * @slot - children
@@ -5,19 +5,24 @@ import { AssociatedFormControl } from '../../utils/mixins/FormInternalsMixin';
5
5
  import type { AutoCapitalizeType, AutoCompleteType, InputType } from './input.types';
6
6
  declare const Input_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/CharacterLimitMixin").CharacterLimitMixinInterface> & 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;
7
7
  /**
8
- * mdc-input is a component that allows users to input text.
9
- * It contains:
10
- * - label field - describe the input field.
11
- * - input field - contains the value
12
- * - help text or validation message - displayed below the input field.
13
- * - trailing button - it displays a clear the input field.
14
- * - prefix text - displayed before the input field.
15
- * - leading icon - displayed before the input field.
16
- * - clear-aria-label - aria label for the trailing button.
17
- * - all the attributes of the input field.
18
- *
8
+ * The input is a single-line text field with a label, optional helper or validation text, and an optional trailing clear button. It supports a leading icon, a static prefix text, character counting, and full HTML form integration (the host is form-associated and submits its `value` under `name`).
9
+ *
10
+ * The label, required indicator, and helper text rendering follow the standard form-field layout; an optional info-icon toggletip can be attached next to the label for additional context.
11
+ *
12
+ * **When to use**
13
+ *
14
+ * - Use `mdc-input` for any short, free-form text entry: names, search terms, single-line addresses, codes, or any value that fits on one line.
15
+ * - Use it when the field needs label, helper/validation text, and form integration without writing the wiring by hand.
16
+ *
17
+ * **When not to use**
18
+ *
19
+ * - Use `mdc-textarea` for multi-line input.
20
+ * - Use `mdc-password` for password entry that needs show/hide toggling.
21
+ * - Use `mdc-searchfield` for search-specific input with built-in search styling.
22
+ * - Use `mdc-select` or `mdc-combobox` when the value must be chosen from a fixed list.
23
+ *
19
24
  * @tagname mdc-input
20
- *
25
+ *
21
26
  * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).
22
27
  * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).
23
28
  * @event focus - (React: onFocus) This event is dispatched when the input receives focus.
@@ -25,12 +30,12 @@ declare const Input_base: import("../../utils/mixins/index.types").Constructor<i
25
30
  * @event clear - (React: onClear) This event is dispatched when the input text is cleared.
26
31
  * @event limitexceeded - (React: onLimitExceeded) This event is dispatched once when the character limit
27
32
  * exceeds or restored.
28
- *
33
+ *
29
34
  * @dependency mdc-icon
30
35
  * @dependency mdc-text
31
36
  * @dependency mdc-button
32
37
  * @dependency mdc-toggletip
33
- *
38
+ *
34
39
  * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.
35
40
  * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.
36
41
  * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.
@@ -39,7 +44,7 @@ declare const Input_base: import("../../utils/mixins/index.types").Constructor<i
39
44
  * @slot input-leading-icon - Slot for the leading icon before the input field. If not provided, the `leadingIcon` property will be used to render the leading icon.
40
45
  * @slot input-prefix-text - Slot for the prefix text before the input field. If not provided, the `prefixText` property will be used to render the prefix text.
41
46
  * @slot trailing-button - Slot for the trailing button to clear the input field. If not provided, the clear button will be rendered when `trailingButton` property is set to true.
42
- *
47
+ *
43
48
  * @cssproperty --mdc-label-font-size - Font size for the label text.
44
49
  * @cssproperty --mdc-label-font-weight - Font weight for the label text.
45
50
  * @cssproperty --mdc-label-line-height - Line height for the label text.
@@ -56,7 +61,7 @@ declare const Input_base: import("../../utils/mixins/index.types").Constructor<i
56
61
  * @cssproperty --mdc-input-support-text-color - Text color for the help text
57
62
  * @cssproperty --mdc-input-selection-text-color - Text color for the selected text
58
63
  * @cssproperty --mdc-input-selection-background-color - Background color for the selected text
59
- *
64
+ *
60
65
  * @csspart label - The label element.
61
66
  * @csspart label-text - The container for the label and required indicator elements.
62
67
  * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.
@@ -21,17 +21,6 @@ import { CharacterLimitMixin } from '../../utils/mixins/CharacterLimitMixin';
21
21
  import { AUTO_CAPITALIZE, AUTO_COMPLETE, DEFAULTS, PREFIX_TEXT_OPTIONS } from './input.constants';
22
22
  import styles from './input.styles';
23
23
  /**
24
- * mdc-input is a component that allows users to input text.
25
- * It contains:
26
- * - label field - describe the input field.
27
- * - input field - contains the value
28
- * - help text or validation message - displayed below the input field.
29
- * - trailing button - it displays a clear the input field.
30
- * - prefix text - displayed before the input field.
31
- * - leading icon - displayed before the input field.
32
- * - clear-aria-label - aria label for the trailing button.
33
- * - all the attributes of the input field.
34
- *
35
24
  * @tagname mdc-input
36
25
  *
37
26
  * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).
@@ -2,31 +2,37 @@ import { CSSResult } from 'lit';
2
2
  import { Component } from '../../models';
3
3
  declare const InputChip_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/IconNameMixin").IconNameMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/DisabledMixin").DisabledMixinInterface> & typeof Component;
4
4
  /**
5
- * mdc-inputchip component is an interactive chip that consumers can use to represent an input.
6
- *
7
- * - It supports a leading icon along with label.
8
- * - It supports a prefix slot for avatars (takes precedence over icon-name).
9
- * - It supports an error state for validation.
10
- * - It supports a close button to remove the chip.
11
- *
5
+ * The inputchip represents a single tokenised value: a short label with an optional leading prefix (icon name or arbitrary slotted content such as an avatar) and a close button that fires a `remove` event when activated. It is used in patterns where multiple values are collected into a list of chips (recipients, filters, tags).
6
+ *
7
+ * The chip supports an `error` visual state for invalid values, a `disabled` state that also disables the close button, and a `prefix` slot that takes precedence over `icon-name` when both are provided.
8
+ *
9
+ * **When to use**
10
+ *
11
+ * - Use `mdc-inputchip` to represent individual values inside a multi-value input pattern: token-style inputs for recipients, tags, filters, or any list of removable items.
12
+ * - Use it when the consumer needs full control over chip removal — the chip emits `remove` and the consumer decides what to do with that signal.
13
+ *
14
+ * **When not to use**
15
+ *
16
+ * - Use `mdc-filterchip` for chips that toggle a selected/unselected state to filter a list, rather than representing a removable input value.
17
+ * - Use `mdc-chip` for static, non-removable display chips.
18
+ *
12
19
  * @tagname mdc-inputchip
13
- *
20
+ *
14
21
  * @dependency mdc-button
15
22
  * @dependency mdc-icon
16
23
  * @dependency mdc-text
17
- *
24
+ *
18
25
  * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.
19
- *
26
+ *
20
27
  * @slot prefix - A slot for prefix content such as avatars.
21
- *
28
+ *
22
29
  * @csspart label - The label part of the chip.
23
30
  * @csspart icon - The icon part of the chip.
24
31
  * @csspart close-icon - The close icon part of the chip.
25
- *
32
+ *
26
33
  * @cssproperty --mdc-chip-color - The color of the chip.
27
34
  * @cssproperty --mdc-chip-border-color - The border color of the chip.
28
35
  * @cssproperty --mdc-chip-background-color - The background color of the chip.
29
- *
30
36
  */
31
37
  declare class InputChip extends InputChip_base {
32
38
  /**
@@ -15,13 +15,6 @@ import { IconNameMixin } from '../../utils/mixins/IconNameMixin';
15
15
  import styles from './inputchip.styles';
16
16
  import { DEFAULTS } from './inputchip.constants';
17
17
  /**
18
- * mdc-inputchip component is an interactive chip that consumers can use to represent an input.
19
- *
20
- * - It supports a leading icon along with label.
21
- * - It supports a prefix slot for avatars (takes precedence over icon-name).
22
- * - It supports an error state for validation.
23
- * - It supports a close button to remove the chip.
24
- *
25
18
  * @tagname mdc-inputchip
26
19
  *
27
20
  * @dependency mdc-button
@@ -3,23 +3,29 @@ import Linksimple from '../linksimple/linksimple.component';
3
3
  import type { LinkSize } from './link.types';
4
4
  declare const Link_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/IconNameMixin").IconNameMixinInterface> & typeof Linksimple;
5
5
  /**
6
- * `mdc-link` component can be used to navigate to a different page
7
- * within the application or to an external site. It can be used to link to
8
- * emails or phone numbers.
9
- *
10
- * The `children` of the link component is expected to be the text content.
11
- *
12
- * For `icon`, the `mdc-icon` component is used to render the icon.
13
- *
14
- * @dependency mdc-icon
15
- *
6
+ * The link renders a navigational hyperlink. The slotted children supply the link text; setting `icon-name` adds a trailing icon (commonly used for "opens external site" or "download" affordances). Three sizes are available (`small`, `midsize`, `large`), and the link supports inline / standalone display and an inverted colour scheme for dark backgrounds.
7
+ *
8
+ * Like a native `<a>`, the link supports `href`, `target`, `rel`, `download`, `ping`, `hreflang`, `type`, and `referrerpolicy`. When `disabled`, navigation is suppressed and the link is removed from the tab order.
9
+ *
10
+ * **When to use**
11
+ *
12
+ * - Use `mdc-link` for navigation: routing within the application, opening an external URL, launching an email client (`mailto:`), or a phone dialler (`tel:`).
13
+ * - Use it when the destination is a URL — that is, when the user expectation is "go somewhere", not "perform an action".
14
+ *
15
+ * **When not to use**
16
+ *
17
+ * - Use `mdc-button` (or `mdc-linkbutton` when a link's visual treatment is required) for in-page actions that do not change the URL.
18
+ * - Use `mdc-linksimple` when no default size, no trailing icon, or a custom child layout (e.g. an icon as the entire content) is required.
19
+ *
16
20
  * @tagname mdc-link
17
- *
21
+ *
22
+ * @dependency mdc-icon
23
+ *
18
24
  * @event click - (React: onClick) Fired when the user activates the Link using a mouse or assistive technology.
19
25
  * @event keydown - (React: onKeyDown) Fired when the user presses a key while the Link has focus.
20
26
  * @event focus - (React: onFocus) Fired when the Link receives keyboard or mouse focus.
21
27
  * @event blur - (React: onBlur) Fired when the Link loses keyboard or mouse focus.
22
- *
28
+ *
23
29
  * @csspart anchor - The anchor element that wraps the link content.
24
30
  * @csspart text - The element that wraps the link text.
25
31
  * @csspart icon - The icon element.
@@ -14,18 +14,10 @@ import Linksimple from '../linksimple/linksimple.component';
14
14
  import { DEFAULTS, LINK_ICON_SIZES, LINK_SIZES } from './link.constants';
15
15
  import styles from './link.styles';
16
16
  /**
17
- * `mdc-link` component can be used to navigate to a different page
18
- * within the application or to an external site. It can be used to link to
19
- * emails or phone numbers.
20
- *
21
- * The `children` of the link component is expected to be the text content.
22
- *
23
- * For `icon`, the `mdc-icon` component is used to render the icon.
17
+ * @tagname mdc-link
24
18
  *
25
19
  * @dependency mdc-icon
26
20
  *
27
- * @tagname mdc-link
28
- *
29
21
  * @event click - (React: onClick) Fired when the user activates the Link using a mouse or assistive technology.
30
22
  * @event keydown - (React: onKeyDown) Fired when the user presses a key while the Link has focus.
31
23
  * @event focus - (React: onFocus) Fired when the Link receives keyboard or mouse focus.
@@ -3,25 +3,32 @@ import Buttonsimple from '../buttonsimple/buttonsimple.component';
3
3
  import type { LinkButtonSize } from './linkbutton.types';
4
4
  declare const LinkButton_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/IconNameMixin").IconNameMixinInterface> & typeof Buttonsimple;
5
5
  /**
6
- * `mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.
7
- *
8
- * ### Features:
9
- * - Looks like a link, behaves like a button.
10
- * - Supports slots for a text label and an optional trailing icon.
11
- * - Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.
12
- *
13
- * @dependency mdc-icon
14
- *
6
+ * The linkbutton renders as a link visually but behaves as a button: activating it fires a `click` event rather than navigating to a URL. Use it for in-page actions (open a panel, copy a value, trigger a workflow) that should sit in body text or alongside other links without standing out as a button.
7
+ *
8
+ * The slotted children supply the label; an optional trailing icon can be added via `icon-name`. Three text sizes are supported, plus inline / standalone display and an inverted colour scheme for dark backgrounds.
9
+ *
10
+ * **When to use**
11
+ *
12
+ * - Use `mdc-linkbutton` for in-page actions that should visually mimic a hyperlink — for example a "Show more" toggle inside a paragraph, an undo prompt after a toast, or an action embedded in a sentence.
13
+ * - Use it when the surrounding design treats the affordance as link-styled text but the underlying behaviour is a button (no URL navigation).
14
+ *
15
+ * **When not to use**
16
+ *
17
+ * - Use `mdc-link` when the affordance actually navigates to a URL — even if the URL is in-app, the user expectation is "go somewhere".
18
+ * - Use `mdc-button` when the surrounding design expects a button-shaped control.
19
+ *
15
20
  * @tagname mdc-linkbutton
16
- *
21
+ *
22
+ * @dependency mdc-icon
23
+ *
17
24
  * @slot - Text label of the linkbutton.
18
- *
25
+ *
19
26
  * @event click - (React: onClick) This event is dispatched when the linkbutton is clicked.
20
27
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.
21
28
  * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the linkbutton.
22
29
  * @event focus - (React: onFocus) This event is dispatched when the linkbutton receives focus.
23
30
  * @event blur - (React: onBlur) This event is dispatched when the linkbutton loses focus.
24
- *
31
+ *
25
32
  * @cssproperty --mdc-link-border-radius - Border radius of the linkbutton.
26
33
  * @cssproperty --mdc-link-color-active - Color of the linkbutton’s child content in the active state.
27
34
  * @cssproperty --mdc-link-color-disabled - Color of the linkbutton’s child content in the disabled state.
@@ -16,17 +16,10 @@ import { DEFAULTS, LINKBUTTON_SIZES } from './linkbutton.constants';
16
16
  import { getIconSize } from './linkbutton.utils';
17
17
  import styles from './linkbutton.styles';
18
18
  /**
19
- * `mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.
20
- *
21
- * ### Features:
22
- * - Looks like a link, behaves like a button.
23
- * - Supports slots for a text label and an optional trailing icon.
24
- * - Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.
19
+ * @tagname mdc-linkbutton
25
20
  *
26
21
  * @dependency mdc-icon
27
22
  *
28
- * @tagname mdc-linkbutton
29
- *
30
23
  * @slot - Text label of the linkbutton.
31
24
  *
32
25
  * @event click - (React: onClick) This event is dispatched when the linkbutton is clicked.
@@ -2,20 +2,27 @@ import { PropertyValues, CSSResult } from 'lit';
2
2
  import { Component } from '../../models';
3
3
  declare const Linksimple_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/DataAriaLabelMixin").DataAriaLabelMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/DisabledMixin").DisabledMixinInterface> & typeof Component;
4
4
  /**
5
- * `mdc-linksimple` is a lightweight link component that can be used to navigate
6
- * within the application or to an external URL. It does not have any predefined default size.
7
- *
8
- * The `children` of the `mdc-linksimple` component can be customized to suit
9
- * different use cases, including text, icons, or other inline content. For the child to be an icon,
10
- * the `mdc-icon` component should be used to render.
11
- *
5
+ * The linksimple is a minimal hyperlink: it renders an `<a>`, forwards the standard anchor attributes, and lets the slotted children supply whatever content the consumer needs (text, an icon, a mix of inline elements). It does not impose a default size or a built-in trailing icon — those are the job of `mdc-link`.
6
+ *
7
+ * Use linksimple when the visual treatment of `mdc-link` does not fit (icon-only navigation, custom layouts inside the link, embedding in a tight design) but the link's accessibility and interaction contract is still needed.
8
+ *
9
+ * **When to use**
10
+ *
11
+ * - Use `mdc-linksimple` when you need a hyperlink but the slotted content is not plain text (an icon-only link, a link wrapping a small layout) or the default sizing of `mdc-link` would interfere with the surrounding design.
12
+ * - Use it when the link should sit unstyled in a tight context and the consumer's own CSS will handle the typography.
13
+ *
14
+ * **When not to use**
15
+ *
16
+ * - Use `mdc-link` when the link is plain text with a clearly defined size and an optional trailing icon — `mdc-link` already wraps `mdc-linksimple` with the standard text + icon treatment.
17
+ * - Use `mdc-button` or `mdc-linkbutton` for in-page actions that do not navigate to a URL.
18
+ *
12
19
  * @tagname mdc-linksimple
13
- *
20
+ *
14
21
  * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.
15
22
  * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.
16
23
  * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.
17
24
  * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.
18
- *
25
+ *
19
26
  * @cssproperty --mdc-link-border-radius - Border radius of the link.
20
27
  * @cssproperty --mdc-link-color-active - Color of the link’s child content in the active state.
21
28
  * @cssproperty --mdc-link-color-disabled - Color of the link’s child content in the disabled state.
@@ -25,7 +32,7 @@ declare const Linksimple_base: import("../../utils/mixins/index.types").Construc
25
32
  * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted link’s child content in the disabled state.
26
33
  * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted link’s child content in the hover state.
27
34
  * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted link’s child content in the normal state.
28
- *
35
+ *
29
36
  * @csspart anchor - The anchor element that wraps the linksimple content.
30
37
  */
31
38
  declare class Linksimple extends Linksimple_base {
@@ -16,13 +16,6 @@ import { DisabledMixin } from '../../utils/mixins/DisabledMixin';
16
16
  import { DEFAULTS } from './linksimple.constants';
17
17
  import styles from './linksimple.styles';
18
18
  /**
19
- * `mdc-linksimple` is a lightweight link component that can be used to navigate
20
- * within the application or to an external URL. It does not have any predefined default size.
21
- *
22
- * The `children` of the `mdc-linksimple` component can be customized to suit
23
- * different use cases, including text, icons, or other inline content. For the child to be an icon,
24
- * the `mdc-icon` component should be used to render.
25
- *
26
19
  * @tagname mdc-linksimple
27
20
  *
28
21
  * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.
@@ -6,16 +6,26 @@ import type { BaseArray } from '../../utils/virtualIndexArray';
6
6
  import type { OrientationType } from './list.types';
7
7
  declare const List_base: import("../../utils/mixins/index.types").Constructor<Component & import("../../utils/mixins/ListNavigationMixin").ListNavigationMixinInterface & import("../../utils/mixins/KeyToActionMixin").KeyToActionInterface & import("../../utils/mixins/KeyDownHandledMixin").KeyDownHandledMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/lifecycle/CaptureDestroyEventForChildElement").CaptureDestroyEventForChildElementInterface> & typeof Component;
8
8
  /**
9
- * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.
10
- *
11
- * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.
12
- * `mdc-listitem` components can be placed in the default slot.
13
- *
9
+ * The list is a container that groups `mdc-listitem` children and provides shared keyboard navigation across them. Listitems are placed in the default slot; an optional `mdc-listheader` can be placed in the `list-header` slot. The list manages roving tabindex across items so the keyboard user only enters the list once, then moves between items with arrow keys.
10
+ *
11
+ * The list's orientation (`vertical` or `horizontal`) selects whether arrow Up/Down or Left/Right navigate; looping (`loop="true"` / `loop="false"`) chooses whether navigation wraps at the ends; `initial-focus` selects which item receives focus when the list is entered for the first time.
12
+ *
13
+ * **When to use**
14
+ *
15
+ * - Use `mdc-list` to display a related group of `mdc-listitem` elements (selection lists, navigation lists, settings lists) that should share keyboard navigation.
16
+ * - Use it whenever a list of two or more listitems is rendered — even a single listitem should be wrapped in `mdc-list` for screen-reader semantics.
17
+ *
18
+ * **When not to use**
19
+ *
20
+ * - Use `mdc-listbox` for a list of selectable options that participate in single- or multi-select selection semantics (the listbox uses `role="listbox"` and `mdc-option` children rather than `mdc-listitem`).
21
+ * - Use `mdc-menubar` / `mdc-menupopover` for application menus.
22
+ * - Use `mdc-virtualizedlist` for very large lists where DOM virtualisation is needed.
23
+ *
14
24
  * @tagname mdc-list
15
- *
25
+ *
16
26
  * @slot default - This is a default/unnamed slot, where listitems can be placed.
17
27
  * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.
18
- *
28
+ *
19
29
  * @csspart container - The container slot around the list items
20
30
  */
21
31
  declare class List extends List_base {
@@ -20,11 +20,6 @@ import { ACTIONS } from '../../utils/mixins/KeyToActionMixin';
20
20
  import styles from './list.styles';
21
21
  import { DEFAULTS } from './list.constants';
22
22
  /**
23
- * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.
24
- *
25
- * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.
26
- * `mdc-listitem` components can be placed in the default slot.
27
- *
28
23
  * @tagname mdc-list
29
24
  *
30
25
  * @slot default - This is a default/unnamed slot, where listitems can be placed.