@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
@@ -16,19 +16,6 @@ import { hasOverflowMixin } from '../../utils/dom';
16
16
  import { DEFAULTS, TOOLTIP_TYPES } from './tooltip.constants';
17
17
  import styles from './tooltip.styles';
18
18
  /**
19
- * A Tooltip is a special type of popovers that provide additional context to content on the screen. <br/>
20
- * Tooltip is triggered by mouse hover or by keyboard focus and will disappear upon mouse exit or focus change.
21
- *
22
- * Because of this, tooltips cannot contain content that can be focused or interacted with.
23
- * When a tooltip must contain a focusable element like a link or button, use a toggle tip instead.
24
- *
25
- * A tooltip is triggered by mouse hover or by keyboard focus
26
- * and will disappear upon mouse exit or focus change.
27
- *
28
- * Note:
29
- * - Tooltips cannot contain content that can be focused or interacted with.
30
- * - Tooltips will contain the default `aria-hidden="true"` so that VO will never focus the tooltip.
31
- *
32
19
  * @tagname mdc-tooltip
33
20
  *
34
21
  * @event shown - (React: onShown) This event is dispatched when the tooltip is shown
@@ -3,45 +3,29 @@ import { Component } from '../../models';
3
3
  import '../text';
4
4
  import type { TextType, TagName, TypewriterSpeed } from './typewriter.types';
5
5
  /**
6
- * Typewriter component that creates a typewriter effect on text content.
7
- * It uses the Text component internally, adding a progressive typing effect.
8
- *
9
- * The `type` attribute allows changing the text style (passed to the internal Text component).
10
- * The `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).
11
- * The default tag name is `p`.
12
- *
13
- * The `speed` attribute controls typing speed in milliseconds per character:
14
- * - 'very-slow' = 240ms per character
15
- * - 'slow' = 120ms per character
16
- * - 'normal' = 60ms per character (default)
17
- * - 'fast' = 20ms per character
18
- * - 'very-fast' = 1ms per character
19
- * - Or any numeric string representing milliseconds
20
- *
21
- * Advanced features:
22
- * - Dynamic speed adjustment during typing
23
- * - Chunked text addition via addTextChunk() method
24
- * - Instant text addition via addInstantTextChunk() method or instant parameter
25
- * - Mixed instant and animated chunks in queue
26
- * - Continues typing in background tabs
27
- * - Performance optimized for large text
28
- * - maxQueueSize to limit memory usage from excessive queuing
29
- * - event handling for typing completion and content changes
30
- *
31
- * The component includes accessibility features:
32
- * - Screen readers announce the complete text, not character by character
33
- * - Uses aria-live="polite" for dynamic content updates
34
- * - Sets aria-busy during typing animation
35
- *
36
- * @dependency mdc-text
37
- *
6
+ * `mdc-typewriter` progressively reveals its text content character-by-character to produce a typewriter effect. It renders through `mdc-text`, so it inherits the same typography options, and exposes both a static markup mode (slotted text) and an imperative API for appending text chunks at runtime.
7
+ *
8
+ * **When to use**
9
+ *
10
+ * - Stream model or assistant output where text should appear progressively rather than all at once.
11
+ * - Animate the arrival of short notifications or status messages to draw user attention.
12
+ * - Build chat-style transcripts where additional content can be appended after the initial render.
13
+ *
14
+ * **When not to use**
15
+ *
16
+ * - Use `mdc-text` directly when content should appear immediately and never animate.
17
+ * - Use `mdc-toast`, `mdc-banner`, or another notification surface when you need a container and chrome — the typewriter only animates text.
18
+ * - Avoid for long, dense content where the animation would slow down comprehension.
19
+ *
38
20
  * @tagname mdc-typewriter
21
+ * @dependency mdc-text
22
+ *
39
23
  * @slot - Default slot for text content
40
- *
24
+ *
41
25
  * @csspart container - Container for the text element
42
26
  * @csspart text - The text element (forwarded to mdc-text)
43
27
  * @csspart typewriter-hidden - The hidden typewriter text
44
- *
28
+ *
45
29
  * @event typing-complete - (React: onTypingComplete) Fired when the typewriter finishes typing all content.
46
30
  * Detail: \{ finalContent: string \}
47
31
  * @event change - (React: onChange) Fired when the content of the typewriter changes.
@@ -15,39 +15,9 @@ import '../text';
15
15
  import styles from './typewriter.styles';
16
16
  import { DEFAULTS, SPEED } from './typewriter.constants';
17
17
  /**
18
- * Typewriter component that creates a typewriter effect on text content.
19
- * It uses the Text component internally, adding a progressive typing effect.
20
- *
21
- * The `type` attribute allows changing the text style (passed to the internal Text component).
22
- * The `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).
23
- * The default tag name is `p`.
24
- *
25
- * The `speed` attribute controls typing speed in milliseconds per character:
26
- * - 'very-slow' = 240ms per character
27
- * - 'slow' = 120ms per character
28
- * - 'normal' = 60ms per character (default)
29
- * - 'fast' = 20ms per character
30
- * - 'very-fast' = 1ms per character
31
- * - Or any numeric string representing milliseconds
32
- *
33
- * Advanced features:
34
- * - Dynamic speed adjustment during typing
35
- * - Chunked text addition via addTextChunk() method
36
- * - Instant text addition via addInstantTextChunk() method or instant parameter
37
- * - Mixed instant and animated chunks in queue
38
- * - Continues typing in background tabs
39
- * - Performance optimized for large text
40
- * - maxQueueSize to limit memory usage from excessive queuing
41
- * - event handling for typing completion and content changes
42
- *
43
- * The component includes accessibility features:
44
- * - Screen readers announce the complete text, not character by character
45
- * - Uses aria-live="polite" for dynamic content updates
46
- * - Sets aria-busy during typing animation
47
- *
18
+ * @tagname mdc-typewriter
48
19
  * @dependency mdc-text
49
20
  *
50
- * @tagname mdc-typewriter
51
21
  * @slot - Default slot for text content
52
22
  *
53
23
  * @csspart container - Container for the text element
@@ -6,43 +6,30 @@ import type Tab from '../tab';
6
6
  import type { OrientationType } from '../list/list.types';
7
7
  declare const Verticaltablist_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/TabListComponentMixin").TabListComponentMixinInterface> & typeof List;
8
8
  /**
9
- * `mdc-verticaltablist` is a vertical tab list component that extends the List component.
10
- * It organizes tabs vertically and follows the same WCAG standards as the horizontal tablist.
11
- *
12
- * Children of the vertical tab list are `mdc-tab` elements, sent to the default slot.
13
- * Currently only "line" variant of the tab is supported, setting other variants doesn't have any effect.
14
- * The variant is automatically set on the tab when it is added to the vertical tab list, so there is no need to set it manually.
15
- *
16
- * The tabs can be navigated using the up/down arrow keys, and selected by clicking,
17
- * or pressing the Enter and Space keys.
18
- *
19
- * **Implicit accessibility rules**
20
- *
21
- * - The element that serves as the container for the set of tabs has role `tablist`.
22
- * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist` (Tab components passed in to default slot).
23
- * - The active tab element has the state `aria-selected` set to `true`
24
- * and all other tab elements have it set to `false`.
25
- *
26
- * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**
27
- *
28
- * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.
29
- * - The `tablist` element needs to have a label provided by `data-aria-label`.
30
- * - Each element with role `tab` has the property `aria-controls`
31
- * that should refer to its associated `tabpanel` element.
32
- * - The vertical orientation is conveyed through the aria-orientation property on the `tablist` element, which is set to `vertical` by the component.
33
- * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.
34
- *
9
+ * `mdc-verticaltablist` organises a set of tabs vertically and lets users move between them with the up/down arrow keys, Home, End, and by clicking. It manages tab selection state and the active-tab semantics while the consumer renders the corresponding `tabpanel` content elsewhere in the DOM.
10
+ *
11
+ * **When to use**
12
+ *
13
+ * - Provide vertical navigation between sibling content panels (settings categories, side-by-side detail views).
14
+ * - When horizontal space is constrained or when the related content is naturally laid out beside the tab list.
15
+ *
16
+ * **When not to use**
17
+ *
18
+ * - Use `mdc-tablist` for a horizontal arrangement of tabs.
19
+ * - Use `mdc-sidenavigation` for top-level navigation between different pages or views rather than between related panels of the same view.
20
+ * - Use `mdc-listbox` / `mdc-select` for selection of a value rather than switching between visible panels.
21
+ *
35
22
  * @tagname mdc-verticaltablist
36
- *
23
+ *
37
24
  * @dependency mdc-tab
38
- *
25
+ *
39
26
  * @event change - (React: onChange) This event is dispatched when the tab is selected.
40
27
  * Event that fires when user changes the active tab.
41
28
  * The function sent as the argument will receive the fired event
42
29
  * and the new tab id can be fetched from event.detail.tabId.
43
- *
30
+ *
44
31
  * `(event: CustomEvent) => handleTabChange(event.detail.tabId);`
45
- *
32
+ *
46
33
  * @slot Default slot for mdc-tab elements.
47
34
  */
48
35
  declare class Verticaltablist extends Verticaltablist_base {
@@ -5,32 +5,6 @@ import { TabListComponentMixin } from '../../utils/mixins/TabListComponentMixin'
5
5
  import { TAG_NAME as TAB_TAGNAME } from '../tab/tab.constants';
6
6
  import styles from './verticaltablist.styles';
7
7
  /**
8
- * `mdc-verticaltablist` is a vertical tab list component that extends the List component.
9
- * It organizes tabs vertically and follows the same WCAG standards as the horizontal tablist.
10
- *
11
- * Children of the vertical tab list are `mdc-tab` elements, sent to the default slot.
12
- * Currently only "line" variant of the tab is supported, setting other variants doesn't have any effect.
13
- * The variant is automatically set on the tab when it is added to the vertical tab list, so there is no need to set it manually.
14
- *
15
- * The tabs can be navigated using the up/down arrow keys, and selected by clicking,
16
- * or pressing the Enter and Space keys.
17
- *
18
- * **Implicit accessibility rules**
19
- *
20
- * - The element that serves as the container for the set of tabs has role `tablist`.
21
- * - Each element that serves as a tab has role `tab` and is contained within the element with role `tablist` (Tab components passed in to default slot).
22
- * - The active tab element has the state `aria-selected` set to `true`
23
- * and all other tab elements have it set to `false`.
24
- *
25
- * **Accessibility notes for consuming (have to be explicitly set when you consume the component)**
26
- *
27
- * - Each element that contains the `content panel` for a `tab` has role `tabpanel`.
28
- * - The `tablist` element needs to have a label provided by `data-aria-label`.
29
- * - Each element with role `tab` has the property `aria-controls`
30
- * that should refer to its associated `tabpanel` element.
31
- * - The vertical orientation is conveyed through the aria-orientation property on the `tablist` element, which is set to `vertical` by the component.
32
- * - Each element with role `tabpanel` has the property `aria-labelledby` referring to its associated `tab` element.
33
- *
34
8
  * @tagname mdc-verticaltablist
35
9
  *
36
10
  * @dependency mdc-tab
@@ -6,69 +6,27 @@ import { type BaseArray } from '../../utils/virtualIndexArray';
6
6
  import { VirtualizerProps, Virtualizer } from './virtualizedlist.types';
7
7
  declare const VirtualizedList_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/DataAriaLabelMixin").DataAriaLabelMixinInterface> & typeof List;
8
8
  /**
9
- * `mdc-virtualizedlist` is an extension of the `mdc-list` component that adds virtualization capabilities using
10
- * the Tanstack Virtual library.
11
- *
12
- * This component is thin wrapper around the Tanstack libray to provide additional funtionalities such as
13
- * keyboard navigation, focus management, scroll anchoring and accessibility features.
14
- *
15
- * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.
16
- *
17
- * ## Setup
18
- *
19
- * `virtualizerProps` is a required prop that requires at least three properties to be set:
20
- * - `count` is the total number of items in the list
21
- * - `estimateSize` is a function that returns the estimated size (in pixels) of each item in the list
22
- * - `getItemKey` is a function that returns a unique key for each item in the list.
23
- *
24
- * ### Render list items
25
- *
26
- * To keep the component framework-agnostic, the rendering of the list items is left to the consumer.
27
- *
28
- * We need to render only the visible items. The list of visible items are provided by the `virtualitemschange` event.
29
- * The event detail contains the `virtualItems` array, which contains the information for the rendering.
30
- * List items must have an `data-index` attribute, the indexes are in the `virtualItems` list.
31
- *
32
- * ## Best practices
33
- *
34
- * ### List updates
35
- *
36
- * Tanstack needs only the count of the items in the list and the size of each item to perform virtualization.
37
- * List updates happens when
38
- * - when `virtualizerProps` property of the component instance changes
39
- * - when `observe-size-changes` is set and the item's size changes (it uses ResizeObserver internally)
40
- * - when `component.visualiser.measure` called manually.
41
- *
42
- * ### Header
43
- *
44
- * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.
45
- *
46
- * ### Lists with dynamic content
47
- *
48
- * Unique keys for the list items are critical for dynamically changing list items or item's content.
49
- * If the key change with the content it will cause scrollbar and content shuttering.
50
- *
51
- * ### Top/Bottom Padding
52
- *
53
- * If padding is required at the top or the bottom of the list, do not apply padding/margin via CSS since this
54
- * will break the virtualization calculations and can cause scrollbars when they are not necessary.
55
- * Instead use the `paddingStart` and `paddingEnd` properties (in pixels) of the `virtualizerProps` prop.
56
- *
57
- * ### Gaps between items
58
- *
59
- * If you are adding gaps between items using CSS margin or gap properties, you must provide the same value in pixels
60
- * to the `gap` property of the `virtualizerProps` prop. This ensures that the virtualization calculations are accurate.
61
- * If you are using CSS margins, ensure that you are not applying the margin to the top of the first or the bottom of the last item.
62
- * If you need spacing there, use the `paddingStart` and `paddingEnd` properties of the `virtualizerProps` prop.
63
- *
9
+ * `mdc-virtualizedlist` renders only the items currently visible in the scroll viewport, using TanStack Virtual under the hood. It adds keyboard navigation, focus management, scroll anchoring, and accessibility wiring on top of the virtualization primitives so very large lists stay performant while remaining usable for keyboard and assistive technology users.
10
+ *
11
+ * **When to use**
12
+ *
13
+ * - Render long or unbounded lists (chats, search results, logs) where mounting every item would be expensive.
14
+ * - Lists whose items change size dynamically and need accurate measurement (with `observe-size-changes`).
15
+ * - Bottom-anchored streams (e.g. chat transcripts) that should follow new content until the user scrolls away.
16
+ *
17
+ * **When not to use**
18
+ *
19
+ * - Use `mdc-list` when the data set is small enough to render in full virtualization adds complexity that isn't needed.
20
+ * - Use `mdc-listbox` or `mdc-select` for selecting a single value from a list of options.
21
+ *
64
22
  * @tagname mdc-virtualizedlist
65
- *
23
+ *
66
24
  * @event scroll - (React: onScroll) Event that gets called when user scrolls inside of list.
67
25
  * @event virtualitemschange - (React: onVirtualItemsChange) Event that gets called when the virtual items change.
68
- *
26
+ *
69
27
  * @slot default - This is a default/unnamed slot, where listitems can be placed.
70
28
  * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.
71
- *
29
+ *
72
30
  * @csspart container - The container of the virtualized list.
73
31
  * @csspart scroll - The scrollable area of the virtualized list.
74
32
  */
@@ -21,61 +21,6 @@ import { ACTIONS } from '../../utils/mixins/KeyToActionMixin';
21
21
  import styles from './virtualizedlist.styles';
22
22
  import { DEFAULTS } from './virtualizedlist.constants';
23
23
  /**
24
- * `mdc-virtualizedlist` is an extension of the `mdc-list` component that adds virtualization capabilities using
25
- * the Tanstack Virtual library.
26
- *
27
- * This component is thin wrapper around the Tanstack libray to provide additional funtionalities such as
28
- * keyboard navigation, focus management, scroll anchoring and accessibility features.
29
- *
30
- * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.
31
- *
32
- * ## Setup
33
- *
34
- * `virtualizerProps` is a required prop that requires at least three properties to be set:
35
- * - `count` is the total number of items in the list
36
- * - `estimateSize` is a function that returns the estimated size (in pixels) of each item in the list
37
- * - `getItemKey` is a function that returns a unique key for each item in the list.
38
- *
39
- * ### Render list items
40
- *
41
- * To keep the component framework-agnostic, the rendering of the list items is left to the consumer.
42
- *
43
- * We need to render only the visible items. The list of visible items are provided by the `virtualitemschange` event.
44
- * The event detail contains the `virtualItems` array, which contains the information for the rendering.
45
- * List items must have an `data-index` attribute, the indexes are in the `virtualItems` list.
46
- *
47
- * ## Best practices
48
- *
49
- * ### List updates
50
- *
51
- * Tanstack needs only the count of the items in the list and the size of each item to perform virtualization.
52
- * List updates happens when
53
- * - when `virtualizerProps` property of the component instance changes
54
- * - when `observe-size-changes` is set and the item's size changes (it uses ResizeObserver internally)
55
- * - when `component.visualiser.measure` called manually.
56
- *
57
- * ### Header
58
- *
59
- * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.
60
- *
61
- * ### Lists with dynamic content
62
- *
63
- * Unique keys for the list items are critical for dynamically changing list items or item's content.
64
- * If the key change with the content it will cause scrollbar and content shuttering.
65
- *
66
- * ### Top/Bottom Padding
67
- *
68
- * If padding is required at the top or the bottom of the list, do not apply padding/margin via CSS since this
69
- * will break the virtualization calculations and can cause scrollbars when they are not necessary.
70
- * Instead use the `paddingStart` and `paddingEnd` properties (in pixels) of the `virtualizerProps` prop.
71
- *
72
- * ### Gaps between items
73
- *
74
- * If you are adding gaps between items using CSS margin or gap properties, you must provide the same value in pixels
75
- * to the `gap` property of the `virtualizerProps` prop. This ensures that the virtualization calculations are accurate.
76
- * If you are using CSS margins, ensure that you are not applying the margin to the top of the first or the bottom of the last item.
77
- * If you need spacing there, use the `paddingStart` and `paddingEnd` properties of the `virtualizerProps` prop.
78
- *
79
24
  * @tagname mdc-virtualizedlist
80
25
  *
81
26
  * @event scroll - (React: onScroll) Event that gets called when user scrolls inside of list.