@momentum-design/components 0.134.20 → 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 (377) hide show
  1. package/dist/browser/index.js.map +2 -2
  2. package/dist/components/accordion/accordion.component.d.ts +15 -5
  3. package/dist/components/accordionbutton/accordionbutton.component.d.ts +14 -26
  4. package/dist/components/accordionbutton/accordionbutton.component.js +0 -22
  5. package/dist/components/accordiongroup/accordiongroup.component.d.ts +12 -16
  6. package/dist/components/accordiongroup/accordiongroup.component.js +0 -14
  7. package/dist/components/alertchip/alertchip.component.d.ts +15 -11
  8. package/dist/components/alertchip/alertchip.component.js +0 -7
  9. package/dist/components/animation/animation.component.d.ts +14 -6
  10. package/dist/components/animation/animation.component.js +0 -5
  11. package/dist/components/announcementdialog/announcementdialog.component.d.ts +18 -25
  12. package/dist/components/announcementdialog/announcementdialog.component.js +1 -20
  13. package/dist/components/appheader/appheader.component.d.ts +13 -12
  14. package/dist/components/appheader/appheader.component.js +0 -9
  15. package/dist/components/avatar/avatar.component.d.ts +14 -34
  16. package/dist/components/avatar/avatar.component.js +1 -31
  17. package/dist/components/avatarbutton/avatarbutton.component.d.ts +15 -14
  18. package/dist/components/avatarbutton/avatarbutton.component.js +1 -10
  19. package/dist/components/badge/badge.component.d.ts +16 -20
  20. package/dist/components/badge/badge.component.js +1 -17
  21. package/dist/components/banner/banner.component.d.ts +17 -17
  22. package/dist/components/banner/banner.component.js +1 -13
  23. package/dist/components/brandvisual/brandvisual.component.d.ts +15 -12
  24. package/dist/components/brandvisual/brandvisual.component.js +0 -10
  25. package/dist/components/bullet/bullet.component.d.ts +15 -16
  26. package/dist/components/bullet/bullet.component.js +0 -15
  27. package/dist/components/button/button.component.d.ts +21 -52
  28. package/dist/components/button/button.component.js +1 -47
  29. package/dist/components/buttongroup/buttongroup.component.d.ts +17 -20
  30. package/dist/components/buttongroup/buttongroup.component.js +0 -17
  31. package/dist/components/buttonlink/buttonlink.component.d.ts +19 -16
  32. package/dist/components/buttonlink/buttonlink.component.js +1 -11
  33. package/dist/components/buttonsimple/buttonsimple.component.d.ts +16 -25
  34. package/dist/components/buttonsimple/buttonsimple.component.js +0 -22
  35. package/dist/components/calendar/calendar.component.d.ts +17 -11
  36. package/dist/components/calendar/calendar.component.js +0 -8
  37. package/dist/components/card/card.component.d.ts +18 -17
  38. package/dist/components/card/card.component.js +0 -13
  39. package/dist/components/cardbutton/cardbutton.component.d.ts +20 -14
  40. package/dist/components/cardbutton/cardbutton.component.js +0 -9
  41. package/dist/components/cardcheckbox/cardcheckbox.component.d.ts +20 -19
  42. package/dist/components/cardcheckbox/cardcheckbox.component.js +0 -14
  43. package/dist/components/cardradio/cardradio.component.d.ts +20 -20
  44. package/dist/components/cardradio/cardradio.component.js +0 -15
  45. package/dist/components/checkbox/checkbox.component.d.ts +22 -26
  46. package/dist/components/checkbox/checkbox.component.js +1 -22
  47. package/dist/components/chip/chip.component.d.ts +20 -13
  48. package/dist/components/chip/chip.component.js +0 -9
  49. package/dist/components/coachmark/coachmark.component.d.ts +22 -22
  50. package/dist/components/coachmark/coachmark.component.js +1 -18
  51. package/dist/components/combobox/combobox.component.d.ts +27 -37
  52. package/dist/components/combobox/combobox.component.js +1 -32
  53. package/dist/components/controltypeprovider/controltypeprovider.component.d.ts +19 -11
  54. package/dist/components/controltypeprovider/controltypeprovider.component.js +0 -10
  55. package/dist/components/datepicker/datepicker.component.d.ts +20 -14
  56. package/dist/components/datepicker/datepicker.component.js +0 -9
  57. package/dist/components/dialog/dialog.component.d.ts +25 -40
  58. package/dist/components/dialog/dialog.component.js +1 -35
  59. package/dist/components/divider/divider.component.d.ts +23 -25
  60. package/dist/components/divider/divider.component.js +0 -23
  61. package/dist/components/filterchip/filterchip.component.d.ts +20 -9
  62. package/dist/components/filterchip/filterchip.component.js +0 -5
  63. package/dist/components/formfieldgroup/formfieldgroup.component.d.ts +18 -19
  64. package/dist/components/formfieldgroup/formfieldgroup.component.js +0 -15
  65. package/dist/components/formfieldwrapper/formfieldwrapper.component.d.ts +16 -8
  66. package/dist/components/formfieldwrapper/formfieldwrapper.component.js +0 -4
  67. package/dist/components/icon/icon.component.d.ts +16 -41
  68. package/dist/components/icon/icon.component.js +0 -39
  69. package/dist/components/iconprovider/iconprovider.component.d.ts +14 -24
  70. package/dist/components/iconprovider/iconprovider.component.js +0 -23
  71. package/dist/components/illustration/illustration.component.d.ts +16 -32
  72. package/dist/components/illustration/illustration.component.js +0 -30
  73. package/dist/components/illustrationprovider/illustrationprovider.component.d.ts +14 -24
  74. package/dist/components/illustrationprovider/illustrationprovider.component.js +0 -23
  75. package/dist/components/input/input.component.d.ts +21 -16
  76. package/dist/components/input/input.component.js +0 -11
  77. package/dist/components/inputchip/inputchip.component.d.ts +19 -13
  78. package/dist/components/inputchip/inputchip.component.js +0 -7
  79. package/dist/components/link/link.component.d.ts +18 -12
  80. package/dist/components/link/link.component.js +1 -9
  81. package/dist/components/linkbutton/linkbutton.component.d.ts +19 -12
  82. package/dist/components/linkbutton/linkbutton.component.js +1 -8
  83. package/dist/components/linksimple/linksimple.component.d.ts +17 -10
  84. package/dist/components/linksimple/linksimple.component.js +0 -7
  85. package/dist/components/list/list.component.d.ts +17 -7
  86. package/dist/components/list/list.component.js +0 -5
  87. package/dist/components/listbox/listbox.component.d.ts +21 -16
  88. package/dist/components/listbox/listbox.component.js +1 -11
  89. package/dist/components/listheader/listheader.component.d.ts +14 -6
  90. package/dist/components/listheader/listheader.component.js +0 -3
  91. package/dist/components/listitem/listitem.component.d.ts +20 -18
  92. package/dist/components/listitem/listitem.component.js +0 -13
  93. package/dist/components/marker/marker.component.d.ts +15 -16
  94. package/dist/components/marker/marker.component.js +0 -15
  95. package/dist/components/menubar/menubar.component.d.ts +12 -19
  96. package/dist/components/menubar/menubar.component.js +0 -19
  97. package/dist/components/menuitem/menuitem.component.d.ts +18 -19
  98. package/dist/components/menuitem/menuitem.component.js +1 -15
  99. package/dist/components/menuitemcheckbox/menuitemcheckbox.component.d.ts +19 -30
  100. package/dist/components/menuitemcheckbox/menuitemcheckbox.component.js +1 -25
  101. package/dist/components/menuitemradio/menuitemradio.component.d.ts +18 -31
  102. package/dist/components/menuitemradio/menuitemradio.component.js +1 -26
  103. package/dist/components/menupopover/menupopover.component.d.ts +16 -38
  104. package/dist/components/menupopover/menupopover.component.js +0 -34
  105. package/dist/components/menusection/menusection.component.d.ts +16 -12
  106. package/dist/components/menusection/menusection.component.js +0 -8
  107. package/dist/components/navmenuitem/navmenuitem.component.d.ts +16 -15
  108. package/dist/components/navmenuitem/navmenuitem.component.js +0 -11
  109. package/dist/components/optgroup/optgroup.component.d.ts +17 -7
  110. package/dist/components/optgroup/optgroup.component.js +1 -3
  111. package/dist/components/option/option.component.d.ts +17 -19
  112. package/dist/components/option/option.component.js +1 -15
  113. package/dist/components/password/password.component.d.ts +18 -17
  114. package/dist/components/password/password.component.js +0 -11
  115. package/dist/components/popover/popover.component.d.ts +20 -52
  116. package/dist/components/popover/popover.component.js +1 -47
  117. package/dist/components/presence/presence.component.d.ts +17 -10
  118. package/dist/components/presence/presence.component.js +1 -7
  119. package/dist/components/progressbar/progressbar.component.d.ts +17 -13
  120. package/dist/components/progressbar/progressbar.component.js +0 -9
  121. package/dist/components/progressspinner/progressspinner.component.d.ts +14 -19
  122. package/dist/components/progressspinner/progressspinner.component.js +0 -17
  123. package/dist/components/radio/radio.component.d.ts +19 -41
  124. package/dist/components/radio/radio.component.js +1 -37
  125. package/dist/components/radiogroup/radiogroup.component.d.ts +12 -5
  126. package/dist/components/radiogroup/radiogroup.component.js +0 -4
  127. package/dist/components/responsivesettingsprovider/responsivesettingsprovider.component.d.ts +11 -29
  128. package/dist/components/responsivesettingsprovider/responsivesettingsprovider.component.js +0 -29
  129. package/dist/components/screenreaderannouncer/screenreaderannouncer.component.d.ts +12 -51
  130. package/dist/components/screenreaderannouncer/screenreaderannouncer.component.js +0 -51
  131. package/dist/components/searchfield/searchfield.component.d.ts +16 -24
  132. package/dist/components/searchfield/searchfield.component.js +0 -20
  133. package/dist/components/searchpopover/searchpopover.component.d.ts +16 -20
  134. package/dist/components/searchpopover/searchpopover.component.js +0 -16
  135. package/dist/components/select/select.component.d.ts +23 -19
  136. package/dist/components/select/select.component.js +1 -14
  137. package/dist/components/selectlistbox/selectlistbox.component.d.ts +12 -8
  138. package/dist/components/selectlistbox/selectlistbox.component.js +0 -7
  139. package/dist/components/sidenavigation/sidenavigation.component.d.ts +21 -41
  140. package/dist/components/sidenavigation/sidenavigation.component.js +1 -35
  141. package/dist/components/skeleton/skeleton.component.d.ts +14 -15
  142. package/dist/components/skeleton/skeleton.component.js +0 -13
  143. package/dist/components/slider/slider.component.d.ts +17 -15
  144. package/dist/components/slider/slider.component.js +0 -11
  145. package/dist/components/spatialnavigationprovider/spatialnavigationprovider.component.d.ts +15 -215
  146. package/dist/components/spatialnavigationprovider/spatialnavigationprovider.component.js +1 -215
  147. package/dist/components/spinner/spinner.component.d.ts +15 -27
  148. package/dist/components/spinner/spinner.component.js +0 -25
  149. package/dist/components/staticcheckbox/staticcheckbox.component.d.ts +16 -21
  150. package/dist/components/staticcheckbox/staticcheckbox.component.js +0 -17
  151. package/dist/components/staticchip/staticchip.component.d.ts +17 -8
  152. package/dist/components/staticchip/staticchip.component.js +0 -5
  153. package/dist/components/staticradio/staticradio.component.d.ts +15 -19
  154. package/dist/components/staticradio/staticradio.component.js +0 -16
  155. package/dist/components/statictoggle/statictoggle.component.d.ts +16 -21
  156. package/dist/components/statictoggle/statictoggle.component.js +0 -17
  157. package/dist/components/stepper/stepper.component.d.ts +13 -5
  158. package/dist/components/stepper/stepper.component.js +0 -3
  159. package/dist/components/stepperconnector/stepperconnector.component.d.ts +13 -6
  160. package/dist/components/stepperconnector/stepperconnector.component.js +0 -4
  161. package/dist/components/stepperitem/stepperitem.component.d.ts +16 -14
  162. package/dist/components/stepperitem/stepperitem.component.js +1 -10
  163. package/dist/components/tab/tab.component.d.ts +20 -23
  164. package/dist/components/tab/tab.component.js +1 -16
  165. package/dist/components/tablist/tablist.component.d.ts +18 -30
  166. package/dist/components/tablist/tablist.component.js +0 -24
  167. package/dist/components/text/text.component.d.ts +12 -13
  168. package/dist/components/text/text.component.js +0 -12
  169. package/dist/components/textarea/textarea.component.d.ts +17 -39
  170. package/dist/components/textarea/textarea.component.js +0 -34
  171. package/dist/components/themeprovider/themeprovider.component.d.ts +13 -27
  172. package/dist/components/themeprovider/themeprovider.component.js +0 -25
  173. package/dist/components/timepicker/timepicker.component.d.ts +17 -19
  174. package/dist/components/timepicker/timepicker.component.js +0 -14
  175. package/dist/components/toast/toast.component.d.ts +20 -12
  176. package/dist/components/toast/toast.component.js +1 -7
  177. package/dist/components/toggle/toggle.component.d.ts +18 -24
  178. package/dist/components/toggle/toggle.component.js +1 -21
  179. package/dist/components/toggletip/toggletip.component.d.ts +18 -28
  180. package/dist/components/toggletip/toggletip.component.js +1 -24
  181. package/dist/components/tooltip/tooltip.component.d.ts +16 -16
  182. package/dist/components/tooltip/tooltip.component.js +0 -13
  183. package/dist/components/typewriter/typewriter.component.d.ts +18 -34
  184. package/dist/components/typewriter/typewriter.component.js +1 -31
  185. package/dist/components/verticaltablist/verticaltablist.component.d.ts +17 -30
  186. package/dist/components/verticaltablist/verticaltablist.component.js +0 -26
  187. package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +16 -58
  188. package/dist/components/virtualizedlist/virtualizedlist.component.js +0 -55
  189. package/dist/custom-elements.json +190 -190
  190. package/dist/react/accordion/index.d.ts +15 -5
  191. package/dist/react/accordionbutton/index.d.ts +14 -26
  192. package/dist/react/accordionbutton/index.js +0 -22
  193. package/dist/react/accordiongroup/index.d.ts +12 -16
  194. package/dist/react/accordiongroup/index.js +0 -14
  195. package/dist/react/alertchip/index.d.ts +15 -11
  196. package/dist/react/alertchip/index.js +0 -7
  197. package/dist/react/animation/index.d.ts +14 -6
  198. package/dist/react/animation/index.js +0 -5
  199. package/dist/react/announcementdialog/index.d.ts +18 -25
  200. package/dist/react/announcementdialog/index.js +1 -20
  201. package/dist/react/appheader/index.d.ts +13 -12
  202. package/dist/react/appheader/index.js +0 -9
  203. package/dist/react/avatar/index.d.ts +14 -34
  204. package/dist/react/avatar/index.js +1 -31
  205. package/dist/react/avatarbutton/index.d.ts +15 -14
  206. package/dist/react/avatarbutton/index.js +1 -10
  207. package/dist/react/badge/index.d.ts +16 -20
  208. package/dist/react/badge/index.js +1 -17
  209. package/dist/react/banner/index.d.ts +17 -17
  210. package/dist/react/banner/index.js +1 -13
  211. package/dist/react/brandvisual/index.d.ts +15 -12
  212. package/dist/react/brandvisual/index.js +0 -10
  213. package/dist/react/bullet/index.d.ts +15 -16
  214. package/dist/react/bullet/index.js +0 -15
  215. package/dist/react/button/index.d.ts +21 -52
  216. package/dist/react/button/index.js +1 -47
  217. package/dist/react/buttongroup/index.d.ts +17 -20
  218. package/dist/react/buttongroup/index.js +0 -17
  219. package/dist/react/buttonlink/index.d.ts +19 -16
  220. package/dist/react/buttonlink/index.js +1 -11
  221. package/dist/react/buttonsimple/index.d.ts +16 -25
  222. package/dist/react/buttonsimple/index.js +0 -22
  223. package/dist/react/calendar/index.d.ts +17 -11
  224. package/dist/react/calendar/index.js +0 -8
  225. package/dist/react/card/index.d.ts +18 -17
  226. package/dist/react/card/index.js +0 -13
  227. package/dist/react/cardbutton/index.d.ts +20 -14
  228. package/dist/react/cardbutton/index.js +0 -9
  229. package/dist/react/cardcheckbox/index.d.ts +20 -19
  230. package/dist/react/cardcheckbox/index.js +0 -14
  231. package/dist/react/cardradio/index.d.ts +20 -20
  232. package/dist/react/cardradio/index.js +0 -15
  233. package/dist/react/checkbox/index.d.ts +22 -26
  234. package/dist/react/checkbox/index.js +1 -22
  235. package/dist/react/chip/index.d.ts +20 -13
  236. package/dist/react/chip/index.js +0 -9
  237. package/dist/react/coachmark/index.d.ts +22 -22
  238. package/dist/react/coachmark/index.js +1 -18
  239. package/dist/react/combobox/index.d.ts +27 -37
  240. package/dist/react/combobox/index.js +1 -32
  241. package/dist/react/controltypeprovider/index.d.ts +19 -11
  242. package/dist/react/controltypeprovider/index.js +0 -10
  243. package/dist/react/datepicker/index.d.ts +20 -14
  244. package/dist/react/datepicker/index.js +0 -9
  245. package/dist/react/dialog/index.d.ts +25 -40
  246. package/dist/react/dialog/index.js +1 -35
  247. package/dist/react/divider/index.d.ts +23 -25
  248. package/dist/react/divider/index.js +0 -23
  249. package/dist/react/filterchip/index.d.ts +20 -9
  250. package/dist/react/filterchip/index.js +0 -5
  251. package/dist/react/formfieldgroup/index.d.ts +18 -19
  252. package/dist/react/formfieldgroup/index.js +0 -15
  253. package/dist/react/formfieldwrapper/index.d.ts +16 -8
  254. package/dist/react/formfieldwrapper/index.js +0 -4
  255. package/dist/react/icon/index.d.ts +16 -41
  256. package/dist/react/icon/index.js +0 -39
  257. package/dist/react/iconprovider/index.d.ts +14 -24
  258. package/dist/react/iconprovider/index.js +0 -23
  259. package/dist/react/illustration/index.d.ts +16 -32
  260. package/dist/react/illustration/index.js +0 -30
  261. package/dist/react/illustrationprovider/index.d.ts +14 -24
  262. package/dist/react/illustrationprovider/index.js +0 -23
  263. package/dist/react/input/index.d.ts +21 -16
  264. package/dist/react/input/index.js +0 -11
  265. package/dist/react/inputchip/index.d.ts +19 -13
  266. package/dist/react/inputchip/index.js +0 -7
  267. package/dist/react/link/index.d.ts +18 -12
  268. package/dist/react/link/index.js +1 -9
  269. package/dist/react/linkbutton/index.d.ts +19 -12
  270. package/dist/react/linkbutton/index.js +1 -8
  271. package/dist/react/linksimple/index.d.ts +17 -10
  272. package/dist/react/linksimple/index.js +0 -7
  273. package/dist/react/list/index.d.ts +17 -7
  274. package/dist/react/list/index.js +0 -5
  275. package/dist/react/listbox/index.d.ts +21 -16
  276. package/dist/react/listbox/index.js +1 -11
  277. package/dist/react/listheader/index.d.ts +14 -6
  278. package/dist/react/listheader/index.js +0 -3
  279. package/dist/react/listitem/index.d.ts +20 -18
  280. package/dist/react/listitem/index.js +0 -13
  281. package/dist/react/marker/index.d.ts +15 -16
  282. package/dist/react/marker/index.js +0 -15
  283. package/dist/react/menubar/index.d.ts +12 -19
  284. package/dist/react/menubar/index.js +0 -19
  285. package/dist/react/menuitem/index.d.ts +18 -19
  286. package/dist/react/menuitem/index.js +1 -15
  287. package/dist/react/menuitemcheckbox/index.d.ts +19 -30
  288. package/dist/react/menuitemcheckbox/index.js +1 -25
  289. package/dist/react/menuitemradio/index.d.ts +18 -31
  290. package/dist/react/menuitemradio/index.js +1 -26
  291. package/dist/react/menupopover/index.d.ts +16 -38
  292. package/dist/react/menupopover/index.js +0 -34
  293. package/dist/react/menusection/index.d.ts +16 -12
  294. package/dist/react/menusection/index.js +0 -8
  295. package/dist/react/navmenuitem/index.d.ts +16 -15
  296. package/dist/react/navmenuitem/index.js +0 -11
  297. package/dist/react/optgroup/index.d.ts +17 -7
  298. package/dist/react/optgroup/index.js +1 -3
  299. package/dist/react/option/index.d.ts +17 -19
  300. package/dist/react/option/index.js +1 -15
  301. package/dist/react/password/index.d.ts +18 -17
  302. package/dist/react/password/index.js +0 -11
  303. package/dist/react/popover/index.d.ts +20 -52
  304. package/dist/react/popover/index.js +1 -47
  305. package/dist/react/presence/index.d.ts +17 -10
  306. package/dist/react/presence/index.js +1 -7
  307. package/dist/react/progressbar/index.d.ts +17 -13
  308. package/dist/react/progressbar/index.js +0 -9
  309. package/dist/react/progressspinner/index.d.ts +14 -19
  310. package/dist/react/progressspinner/index.js +0 -17
  311. package/dist/react/radio/index.d.ts +19 -41
  312. package/dist/react/radio/index.js +1 -37
  313. package/dist/react/radiogroup/index.d.ts +12 -5
  314. package/dist/react/radiogroup/index.js +0 -4
  315. package/dist/react/responsivesettingsprovider/index.d.ts +11 -29
  316. package/dist/react/responsivesettingsprovider/index.js +0 -29
  317. package/dist/react/screenreaderannouncer/index.d.ts +12 -51
  318. package/dist/react/screenreaderannouncer/index.js +0 -51
  319. package/dist/react/searchfield/index.d.ts +16 -24
  320. package/dist/react/searchfield/index.js +0 -20
  321. package/dist/react/searchpopover/index.d.ts +16 -20
  322. package/dist/react/searchpopover/index.js +0 -16
  323. package/dist/react/select/index.d.ts +23 -19
  324. package/dist/react/select/index.js +1 -14
  325. package/dist/react/selectlistbox/index.d.ts +12 -8
  326. package/dist/react/selectlistbox/index.js +0 -7
  327. package/dist/react/sidenavigation/index.d.ts +21 -41
  328. package/dist/react/sidenavigation/index.js +1 -35
  329. package/dist/react/skeleton/index.d.ts +14 -15
  330. package/dist/react/skeleton/index.js +0 -13
  331. package/dist/react/slider/index.d.ts +17 -15
  332. package/dist/react/slider/index.js +0 -11
  333. package/dist/react/spatialnavigationprovider/index.d.ts +15 -215
  334. package/dist/react/spatialnavigationprovider/index.js +1 -214
  335. package/dist/react/spinner/index.d.ts +15 -27
  336. package/dist/react/spinner/index.js +0 -25
  337. package/dist/react/staticcheckbox/index.d.ts +16 -21
  338. package/dist/react/staticcheckbox/index.js +0 -17
  339. package/dist/react/staticchip/index.d.ts +17 -8
  340. package/dist/react/staticchip/index.js +0 -5
  341. package/dist/react/staticradio/index.d.ts +15 -19
  342. package/dist/react/staticradio/index.js +0 -16
  343. package/dist/react/statictoggle/index.d.ts +16 -21
  344. package/dist/react/statictoggle/index.js +0 -17
  345. package/dist/react/stepper/index.d.ts +13 -5
  346. package/dist/react/stepper/index.js +0 -3
  347. package/dist/react/stepperconnector/index.d.ts +13 -6
  348. package/dist/react/stepperconnector/index.js +0 -4
  349. package/dist/react/stepperitem/index.d.ts +16 -14
  350. package/dist/react/stepperitem/index.js +1 -10
  351. package/dist/react/tab/index.d.ts +20 -23
  352. package/dist/react/tab/index.js +1 -16
  353. package/dist/react/tablist/index.d.ts +18 -30
  354. package/dist/react/tablist/index.js +0 -24
  355. package/dist/react/text/index.d.ts +12 -13
  356. package/dist/react/text/index.js +0 -12
  357. package/dist/react/textarea/index.d.ts +17 -39
  358. package/dist/react/textarea/index.js +0 -34
  359. package/dist/react/themeprovider/index.d.ts +13 -27
  360. package/dist/react/themeprovider/index.js +0 -25
  361. package/dist/react/timepicker/index.d.ts +17 -19
  362. package/dist/react/timepicker/index.js +0 -14
  363. package/dist/react/toast/index.d.ts +20 -12
  364. package/dist/react/toast/index.js +1 -7
  365. package/dist/react/toggle/index.d.ts +18 -24
  366. package/dist/react/toggle/index.js +1 -21
  367. package/dist/react/toggletip/index.d.ts +18 -28
  368. package/dist/react/toggletip/index.js +1 -24
  369. package/dist/react/tooltip/index.d.ts +16 -16
  370. package/dist/react/tooltip/index.js +0 -13
  371. package/dist/react/typewriter/index.d.ts +18 -34
  372. package/dist/react/typewriter/index.js +1 -31
  373. package/dist/react/verticaltablist/index.d.ts +17 -30
  374. package/dist/react/verticaltablist/index.js +0 -26
  375. package/dist/react/virtualizedlist/index.d.ts +16 -58
  376. package/dist/react/virtualizedlist/index.js +0 -55
  377. package/package.json +1 -1
@@ -21,40 +21,6 @@ import { DEFAULTS, TAG_NAME as MENU_POPOVER } from './menupopover.constants';
21
21
  import styles from './menupopover.styles';
22
22
  import { isValidMenuItem, isValidMenuPopover } from './menupopover.utils';
23
23
  /**
24
- * A popover menu component that displays a list of menu items in a floating container.
25
- * It's designed to work in conjunction with `mdc-menubar` and `mdc-menuitem` to create
26
- * accessible, nested menu structures with the following features:
27
- * - Appears adjacent to the triggering menu item
28
- * - Supports keyboard navigation (arrow keys, Home, End)
29
- * - Manages focus trapping when open
30
- * - Closes on Escape key or outside click
31
- * - Supports both mouse and keyboard interactions
32
- * - Automatically handles ARIA attributes for accessibility
33
- *
34
- * The component extends `mdc-popover` and adds menu-specific behaviors and styling.
35
- * When nested within another `mdc-menupopover`, it automatically adjusts its behavior
36
- * to work as a submenu (right-aligned, shows on hover).
37
- *
38
- * The orientation of the menu popover is always set to `vertical`.
39
- *
40
- * Submenu opens when:
41
- * - Clicked on a menu item with a submenu
42
- * - Enter or Space key pressed on a menu item with a submenu
43
- *
44
- * Menu closes completely (with all sub menus) when:
45
- * - A menu item is clicked that does not have a submenu
46
- * - Enter key pressed on a menu item (not a submenu trigger), menu item radio or menu item checkbox
47
- * - Click outside the menu popover (on the backdrop)
48
- *
49
- * Close submenus when:
50
- * - Esc key pressed, only the current submenu closed
51
- * - Arrow Left key pressed, only the current submenu closed
52
- * - Open another submenu with Click, Enter or Space key,
53
- * closes recursively all submenus until the selected item's submenu
54
- *
55
- * Menu does not close when:
56
- * - Space key pressed on a menu item radio or menu item checkbox
57
- *
58
24
  * @tagname mdc-menupopover
59
25
  *
60
26
  * @slot - Default slot for the menu popover content
@@ -2,26 +2,30 @@ import { CSSResult, PropertyValues } from 'lit';
2
2
  import { Component } from '../../models';
3
3
  import type { IconNames } from '../icon/icon.types';
4
4
  /**
5
- * `mdc-menusection` is a container element used to group a set of menu items.
6
- *
7
- * This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components. MenuSection can not be nested.
8
- *
9
- * - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:
10
- * only one radio item can be selected at a time.
11
- * - If `menuitemcheckbox` components are included, their checked state can be toggled independently.
12
- *
5
+ * `mdc-menusection` groups a set of menu items (`mdc-menuitem`, `mdc-menuitemcheckbox`, `mdc-menuitemradio`) under an optional visible header, optional prefix icon, and optional divider. It also enforces single-selection semantics across any `mdc-menuitemradio` children that share a `name`.
6
+ *
7
+ * **When to use**
8
+ *
9
+ * - Use `mdc-menusection` to label and visually separate related entries inside an `mdc-menupopover` or `mdc-menubar`.
10
+ * - Use it to scope a `mdc-menuitemradio` group: the section bounds the single-selection rule applied to radios with the same `name`.
11
+ *
12
+ * **When not to use**
13
+ *
14
+ * - Do not nest `mdc-menusection` inside another `mdc-menusection`; sections are flat.
15
+ * - Do not use it outside of a menu context (`mdc-menupopover`, `mdc-menubar`, `mdc-sidenavigation`).
16
+ *
13
17
  * @tagname mdc-menusection
14
- *
18
+ *
15
19
  * @slot - Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`
16
- *
20
+ *
17
21
  * @event change - (React: onChange) This event is dispatched when a `menuitemcheckbox`, or `menuitemradio` changes.
18
22
  * @event action - (React: onAction) This event is dispatched when a `menuitem` selected.
19
- *
23
+ *
20
24
  * @csspart header - The header of the menusection.
21
25
  * @csspart align-header - The header of the menusection when it is aligned to the start.
22
26
  * @csspart container - The container of the menusection.
23
27
  * @csspart divider - The divider of the menusection.
24
- *
28
+ *
25
29
  * @cssproperty --mdc-menusection-divider-margin-block - Sets the margin block of the divider.
26
30
  * @cssproperty --mdc-menusection-gap - Sets the gap between items in the menusection.
27
31
  * @cssproperty --mdc-menusection-divider-width - Sets the width of the divider.
@@ -17,14 +17,6 @@ import SideNavigation from '../sidenavigation/sidenavigation.component';
17
17
  import styles from './menusection.styles';
18
18
  import { DEFAULTS } from './menusection.constants';
19
19
  /**
20
- * `mdc-menusection` is a container element used to group a set of menu items.
21
- *
22
- * This component supports a mix of `menuitem`, `menuitemcheckbox`, and `menuitemradio` components. MenuSection can not be nested.
23
- *
24
- * - If multiple `menuitemradio` components are slotted into the section, the group enforces a single-selection rule:
25
- * only one radio item can be selected at a time.
26
- * - If `menuitemcheckbox` components are included, their checked state can be toggled independently.
27
- *
28
20
  * @tagname mdc-menusection
29
21
  *
30
22
  * @slot - Default slot for inserting `menuitem`, `menuitemcheckbox`, or `menuitemradio`
@@ -5,30 +5,31 @@ import type { PopoverPlacement } from '../popover/popover.types';
5
5
  import type { TooltipType } from '../tooltip/tooltip.types';
6
6
  import type { BadgeType } from './navmenuitem.types';
7
7
  /**
8
- * `mdc-navmenuitem` is a menuitem styled to work as a navigation tab.
9
- * It supports a leading icon, optional badge and dynamic text rendering.
10
- *
11
- * The navmenuitem can be in an active or inactive state, indicating whether it is currently selected.
12
- *
13
- * Note: `mdc-navmenuitem` is intended to be used inside `mdc-menubar` as part of the sideNavigation
14
- * component. Its structure, spacing, and interactions are designed to align with
15
- * the visual and functional requirements of side navigation layouts.
16
- *
17
- * By providing the tooltip-text attribute, a tooltip will be displayed on hover of the navmenuitem. This tooltip is useful when an active navmenuitem is present within a submenu of the sidenavigation component.
18
- *
8
+ * `mdc-navmenuitem` is a menu item styled to work as a navigation tab inside `mdc-sidenavigation`. It renders a leading icon, an optional badge, and a dynamic label that appears when the surrounding side navigation is expanded. The item can be in an active or inactive state to indicate the current page, and a tooltip can be attached for collapsed states or for parent items whose nested child is active.
9
+ *
10
+ * **When to use**
11
+ *
12
+ * - Use `mdc-navmenuitem` for primary navigation entries inside `mdc-sidenavigation` (or an `mdc-menubar` used as a side navigation tree).
13
+ * - Use the active/inactive state to reflect which destination corresponds to the current route or view.
14
+ *
15
+ * **When not to use**
16
+ *
17
+ * - Do not use `mdc-navmenuitem` for action menu items inside `mdc-menupopover`; use `mdc-menuitem`, `mdc-menuitemcheckbox`, or `mdc-menuitemradio` there.
18
+ * - Do not use it as a stand-alone link or button outside a navigation context — use `mdc-link` or `mdc-button` instead.
19
+ *
19
20
  * @tagname mdc-navmenuitem
20
- *
21
+ *
21
22
  * @dependency mdc-icon
22
23
  * @dependency mdc-text
23
24
  * @dependency mdc-badge
24
25
  * @dependency mdc-tooltip
25
- *
26
+ *
26
27
  * @event click - (React: onClick) This event is dispatched when the navmenuitem is clicked.
27
28
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the navmenuitem.
28
29
  * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the navmenuitem.
29
30
  * @event focus - (React: onFocus) This event is dispatched when the navmenuitem receives focus.
30
31
  * @event activechange - (React: onActiveChange) Dispatched when the active state of the navmenuitem changes.
31
- *
32
+ *
32
33
  * @cssproperty --mdc-navmenuitem-in-sidenav-expanded-width - Width of the navmenuitem when expanded.
33
34
  * @cssproperty --mdc-navmenuitem-in-sidenav-expanded-margin-left - Left margin of the navmenuitem, when expanded.
34
35
  * @cssproperty --mdc-navmenuitem-in-sidenav-expanded-margin-right - Right margin of the navmenuitem, when expanded.
@@ -44,7 +45,7 @@ import type { BadgeType } from './navmenuitem.types';
44
45
  * @cssproperty --mdc-navmenuitem-pressed-active-background-color - Background color of the active navmenuitem when pressed.
45
46
  * @cssproperty --mdc-navmenuitem-disabled-background-color - Background color of the navmenuitem when disabled.
46
47
  * @cssproperty --mdc-navmenuitem-disabled-active-background-color - Background color of the active navmenuitem when disabled.
47
- *
48
+ *
48
49
  * @csspart arrow - The arrow of the navmenuitem.
49
50
  * @csspart badge - The badge of the navmenuitem.
50
51
  * @csspart icon-container - The container of the icon.
@@ -21,17 +21,6 @@ import { getIconNameWithoutStyle } from '../button/button.utils';
21
21
  import { ALLOWED_BADGE_TYPES, DEFAULTS, ICON_NAME } from './navmenuitem.constants';
22
22
  import styles from './navmenuitem.styles';
23
23
  /**
24
- * `mdc-navmenuitem` is a menuitem styled to work as a navigation tab.
25
- * It supports a leading icon, optional badge and dynamic text rendering.
26
- *
27
- * The navmenuitem can be in an active or inactive state, indicating whether it is currently selected.
28
- *
29
- * Note: `mdc-navmenuitem` is intended to be used inside `mdc-menubar` as part of the sideNavigation
30
- * component. Its structure, spacing, and interactions are designed to align with
31
- * the visual and functional requirements of side navigation layouts.
32
- *
33
- * By providing the tooltip-text attribute, a tooltip will be displayed on hover of the navmenuitem. This tooltip is useful when an active navmenuitem is present within a submenu of the sidenavigation component.
34
- *
35
24
  * @tagname mdc-navmenuitem
36
25
  *
37
26
  * @dependency mdc-icon
@@ -3,16 +3,26 @@ import { CSSResult } from 'lit';
3
3
  import { Component } from '../../models';
4
4
  declare const OptGroup_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;
5
5
  /**
6
- * optgroup component, which creates a grouping of mdc-option within a listbox element.
7
- *
8
- * @dependency mdc-text
9
- *
6
+ * `mdc-optgroup` groups a set of `mdc-option` elements under a shared label inside a listbox (typically the `mdc-selectlistbox` rendered by `mdc-select`). It exposes the grouping to assistive technology via `role="group"` and an associated label.
7
+ *
8
+ * **When to use**
9
+ *
10
+ * - Use `mdc-optgroup` to organise related options inside an `mdc-selectlistbox` or `mdc-listbox` (for example, grouping countries by continent).
11
+ * - Use it to disable a whole set of options at once via the `disabled` attribute.
12
+ *
13
+ * **When not to use**
14
+ *
15
+ * - Do not use `mdc-optgroup` for grouping menu items — use `mdc-menusection` inside `mdc-menupopover` or `mdc-menubar`.
16
+ * - Do not nest `mdc-optgroup` inside another `mdc-optgroup`.
17
+ *
10
18
  * @tagname mdc-optgroup
11
- *
19
+ *
20
+ * @dependency mdc-text
21
+ *
12
22
  * @slot default - This is a default slot for mdc-option elements.
13
- *
23
+ *
14
24
  * @cssproperty --mdc-optgroup-disabled-color - Allows customization of the disabled option color.
15
- *
25
+ *
16
26
  * @csspart header-text - The header text of the optgroup.
17
27
  */
18
28
  declare class OptGroup extends OptGroup_base {
@@ -18,12 +18,10 @@ import { TAG_NAME as OPTION_TAGNAME } from '../option/option.constants';
18
18
  import { HEADER_ID } from './optgroup.constants';
19
19
  import styles from './optgroup.styles';
20
20
  /**
21
- * optgroup component, which creates a grouping of mdc-option within a listbox element.
21
+ * @tagname mdc-optgroup
22
22
  *
23
23
  * @dependency mdc-text
24
24
  *
25
- * @tagname mdc-optgroup
26
- *
27
25
  * @slot default - This is a default slot for mdc-option elements.
28
26
  *
29
27
  * @cssproperty --mdc-optgroup-disabled-color - Allows customization of the disabled option color.
@@ -3,33 +3,31 @@ import type { IconNames } from '../icon/icon.types';
3
3
  import ListItem from '../listitem/listitem.component';
4
4
  declare const Option_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/FormInternalsMixin").FormInternalsMixinInterface> & typeof ListItem;
5
5
  /**
6
- * Option component, which is used within Selectlistbox within Select component.
7
- *
8
- * The label and secondary label of the option can be set using the `label` and `secondaryLabel` properties respectively.
9
- * The `label` is the primary text displayed in the option, while the `secondaryLabel` is the secondary text displayed below the primary label.
10
- *
11
- * The `selected` property is used to indicate whether the option is selected or not.
12
- * When the `selected` property is set to true, a checkmark icon will be displayed
13
- * on the right side of the option to indicate that it is selected.
14
- *
15
- * The `prefixIcon` property can be used to display an icon on the left side of the option label.
16
- *
17
- * **Note**: If an option contains a long text, it is recommended to create a tooltip for the option that displays the full text on hover.
18
- * Consumers need to add a unique ID to this option and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the option using the `triggerID` attribute.
19
- *
6
+ * `mdc-option` is a selectable entry rendered inside a listbox (`mdc-selectlistbox` / `mdc-listbox`), typically as a child of `mdc-select`. It supports a primary and secondary label, an optional prefix icon, and renders a checkmark on the trailing side when selected. The component participates in form submission through its associated form-control behaviour.
7
+ *
8
+ * **When to use**
9
+ *
10
+ * - Use `mdc-option` for each selectable value inside an `mdc-select`, `mdc-selectlistbox`, or `mdc-listbox`.
11
+ * - Group related options together with `mdc-optgroup`.
12
+ *
13
+ * **When not to use**
14
+ *
15
+ * - Do not use `mdc-option` inside menus use `mdc-menuitem`, `mdc-menuitemcheckbox`, or `mdc-menuitemradio` inside `mdc-menupopover`/`mdc-menubar`.
16
+ * - Do not use it as a stand-alone list row; use `mdc-listitem` for generic lists.
17
+ *
18
+ * @tagname mdc-option
19
+ *
20
20
  * @dependency mdc-icon
21
21
  * @dependency mdc-text
22
- *
23
- * @tagname mdc-option
24
- *
22
+ *
25
23
  * @event click - (React: onClick) This event is dispatched when the option is clicked.
26
24
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the option.
27
25
  * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the option.
28
26
  * @event focus - (React: onFocus) This event is dispatched when the option receives focus.
29
- *
27
+ *
30
28
  * @cssproperty --mdc-listitem-column-gap - gap between columns in the option
31
29
  * @cssproperty --mdc-option-icon-width - width of the icon in the option
32
- *
30
+ *
33
31
  * @csspart leading - Allows customization of the leading part.
34
32
  * @csspart leading-text - Allows customization of the leading text part.
35
33
  * @csspart trailing - Allows customization of the trailing part.
@@ -17,25 +17,11 @@ import { TYPE } from '../text/text.constants';
17
17
  import { SELECTED_ICON_NAME } from './option.constants';
18
18
  import styles from './option.styles';
19
19
  /**
20
- * Option component, which is used within Selectlistbox within Select component.
21
- *
22
- * The label and secondary label of the option can be set using the `label` and `secondaryLabel` properties respectively.
23
- * The `label` is the primary text displayed in the option, while the `secondaryLabel` is the secondary text displayed below the primary label.
24
- *
25
- * The `selected` property is used to indicate whether the option is selected or not.
26
- * When the `selected` property is set to true, a checkmark icon will be displayed
27
- * on the right side of the option to indicate that it is selected.
28
- *
29
- * The `prefixIcon` property can be used to display an icon on the left side of the option label.
30
- *
31
- * **Note**: If an option contains a long text, it is recommended to create a tooltip for the option that displays the full text on hover.
32
- * Consumers need to add a unique ID to this option and use that ID in the tooltip's `triggerID` attribute. We are not creating the tooltip automatically, consumers need to add `<mdc-tooltip>` element manually and associate it with the option using the `triggerID` attribute.
20
+ * @tagname mdc-option
33
21
  *
34
22
  * @dependency mdc-icon
35
23
  * @dependency mdc-text
36
24
  *
37
- * @tagname mdc-option
38
- *
39
25
  * @event click - (React: onClick) This event is dispatched when the option is clicked.
40
26
  * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the option.
41
27
  * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the option.
@@ -2,29 +2,31 @@ import { CSSResult, nothing } from 'lit';
2
2
  import Input from '../input/input.component';
3
3
  import type { InputType } from '../input/input.types';
4
4
  /**
5
- * `mdc-password` is a component that allows users to input their password.
6
- * It extends the `mdc-input` component and provides additional features specific to password fields.
7
- * It contains:
8
- * - `label` field - describe the password field.
9
- * - `password` field - contains the value
10
- * - `help-text` or `validation-message` - displayed below the password field.
11
- * - `help-text-type` - type of the help text, can be 'default', 'error', 'warning', 'success', 'priority'.
12
- * - `show-button-aria-label` - aria label for the trailing show button.
13
- * - `hide-button-aria-label` - aria label for the trailing hide button.
14
- * - all the attributes of the native password field.
15
- *
5
+ * `mdc-password` is a form-associated password input. It renders the same label, help-text, validation, prefix, and leading-icon surface as `mdc-input`, but the input type defaults to `password` and a trailing show/hide button is always present so users can reveal or mask the entered value.
6
+ *
7
+ * **When to use**
8
+ *
9
+ * - Use `mdc-password` whenever the user needs to enter a credential or other secret string that should be visually masked.
10
+ * - Use it as the password field in sign-in, sign-up, and credential-change forms inside a `form` element.
11
+ *
12
+ * **When not to use**
13
+ *
14
+ * - Do not use `mdc-password` for regular text — use `mdc-input` instead.
15
+ * - Do not use it for multi-line secrets — use `mdc-textarea`.
16
+ * - Do not use it for one-time codes that should be visible as the user types — use `mdc-input`.
17
+ *
16
18
  * @tagname mdc-password
17
- *
19
+ *
18
20
  * @event input - (React: onInput) This event is dispatched when the value of the password field changes (every press).
19
21
  * @event change - (React: onChange) This event is dispatched when the value of the password field changes (on blur).
20
22
  * @event focus - (React: onFocus) This event is dispatched when the password receives focus.
21
23
  * @event blur - (React: onBlur) This event is dispatched when the password loses focus.
22
- *
24
+ *
23
25
  * @dependency mdc-icon
24
26
  * @dependency mdc-text
25
27
  * @dependency mdc-button
26
28
  * @dependency mdc-toggletip
27
- *
29
+ *
28
30
  * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.
29
31
  * @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.
30
32
  * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.
@@ -33,7 +35,7 @@ import type { InputType } from '../input/input.types';
33
35
  * @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.
34
36
  * @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.
35
37
  * @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.
36
- *
38
+ *
37
39
  * @csspart input-container - The container that wraps the input field, leading icon, prefix text, and trailing button.
38
40
  * @csspart input-section - The container that wraps the input field and prefix text.
39
41
  * @csspart input-text - The input field element.
@@ -43,7 +45,7 @@ import type { InputType } from '../input/input.types';
43
45
  * @csspart helper-icon - The helper/validation icon element.
44
46
  * @csspart toggletip - The toggletip icon button element.
45
47
  * @csspart toggletip-text - The toggletip text element.
46
- *
48
+ *
47
49
  * @cssproperty --mdc-label-font-size - Font size for the label text.
48
50
  * @cssproperty --mdc-label-font-weight - Font weight for the label text.
49
51
  * @cssproperty --mdc-label-line-height - Line height for the label text.
@@ -58,7 +60,6 @@ import type { InputType } from '../input/input.types';
58
60
  * @cssproperty --mdc-input-background-color - Background color for the input field
59
61
  * @cssproperty --mdc-input-selection-text-color - Text color for the selected text
60
62
  * @cssproperty --mdc-input-selection-background-color - Background color for the selected text
61
- *
62
63
  */
63
64
  declare class Password extends Input {
64
65
  /**
@@ -16,17 +16,6 @@ import { DEFAULTS } from '../formfieldwrapper/formfieldwrapper.constants';
16
16
  import { PASSWORD_VISIBILITY_ICONS } from './password.constants';
17
17
  import styles from './password.styles';
18
18
  /**
19
- * `mdc-password` is a component that allows users to input their password.
20
- * It extends the `mdc-input` component and provides additional features specific to password fields.
21
- * It contains:
22
- * - `label` field - describe the password field.
23
- * - `password` field - contains the value
24
- * - `help-text` or `validation-message` - displayed below the password field.
25
- * - `help-text-type` - type of the help text, can be 'default', 'error', 'warning', 'success', 'priority'.
26
- * - `show-button-aria-label` - aria label for the trailing show button.
27
- * - `hide-button-aria-label` - aria label for the trailing hide button.
28
- * - all the attributes of the native password field.
29
- *
30
19
  * @tagname mdc-password
31
20
  *
32
21
  * @event input - (React: onInput) This event is dispatched when the value of the password field changes (every press).
@@ -5,61 +5,29 @@ import { DepthManager, StackChange, StackedOverlayComponent } from '../../utils/
5
5
  import { PopoverBoundaryRoot, PopoverColor, PopoverPlacement, PopoverStrategy, PopoverTrigger } from './popover.types';
6
6
  declare const Popover_base: import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyDownHandledMixin").KeyDownHandledMixinInterface> & import("../../utils/mixins/index.types").Constructor<import("../../utils/mixins/KeyToActionMixin").KeyToActionInterface> & import("../../utils/mixins/index.types").Constructor<Component & import("../../utils/mixins/BackdropMixin").BackdropMixinInterface> & import("../../utils/mixins/index.types").Constructor<Component & import("../../utils/mixins/PreventScrollMixin").PreventScrollMixinInterface> & import("../../utils/mixins/index.types").Constructor<Component & import("../../utils/mixins/focus/FocusTrapMixin").FocusTrapClassInterface> & typeof Component;
7
7
  /**
8
- * Popover is generic overlay which can be triggered by any actionable element.
9
- *
10
- * It can be used for tooltips, dropdowns, menus or any showing any other contextual content.
11
- *
12
- * The popover automatically positions itself based on available space and
13
- * supports dynamic height adjustments with scrollable content when needed.
14
- * It uses [Floating UI](https://floating-ui.com/) for maintaining the position of the popover.
15
- *
16
- * ## Limitations
17
- *
18
- * ### On trigger for multiple popovers
19
- *
20
- * A component (button, etc.) can trigger more than one popover, but only one of them should change the
21
- * aria-expanded and aria-haspopup attributes on the trigger.
22
- *
23
- * To prevent unexpected attribute changes on the trigger `disable-aria-expanded` attribute must be set on all linked
24
- * Popovers except one.
25
- *
26
- * ### React Popover with append-to attribute
27
- *
28
- * React mounts the popover based on the virtual DOM, but when the append-to attribute is set, the popover removes itself
29
- * and mounts to the specified element. React will not know about the move and will not know about the
30
- * newly created mdc-popoverportal element either. This throws a `NotFoundError` error when the Popover is directly
31
- * added/removed by React, for example:
32
- *
33
- * ```tsx
34
- * const SomeComponent = () => {
35
- * const [isOpen, setIsOpen] = useState(false);
36
- * return (<div>
37
- * {isOpen && <Popover append-to="some-element-id">...</mdc-popover>}
38
- * </div>);
39
- * }
40
- * ```
41
- * As a workaround Popover need to wrap with any other element/component, for example:
42
- * ```tsx
43
- * const SomeComponent = () => {
44
- * const [isOpen, setIsOpen] = useState(false);
45
- * return (<div>
46
- * {isOpen && <div>
47
- * <Popover append-to="some-element-id">...</mdc-popover>
48
- * <div>}
49
- * </div>);
50
- * }
51
- * ```
52
- * Note the wrapper <div> around the Popover component (React.Fragment does not work).
53
- *
54
- * @dependency mdc-button
55
- *
8
+ * The popover is a generic overlay that can be anchored to any actionable element on the page (identified by its `id`) and used to host tooltips, dropdowns, menus, or any other contextual content. It automatically positions itself based on available space, can resize to fit the viewport, and uses [Floating UI](https://floating-ui.com/) to keep its position correct as the page scrolls or resizes.
9
+ *
10
+ * **When to use**
11
+ *
12
+ * - Use `mdc-popover` to render contextual UI floating next to a trigger element — additional information, action menus, or interactive panels.
13
+ * - Use it when you need fine control over trigger events (click, hover, focus, manual), placement, offset, arrow, focus trap, or backdrop behaviour.
14
+ *
15
+ * **When not to use**
16
+ *
17
+ * - Use `mdc-tooltip` for short, non-interactive descriptive text shown on hover/focus.
18
+ * - Use `mdc-toggletip` for short text shown on click that does not need focus trapping.
19
+ * - Use `mdc-dialog` for modal flows that interrupt the user, render in the centre of the viewport, and own their own header/footer chrome.
20
+ * - Use `mdc-menupopover` / `mdc-coachmark` / `mdc-searchpopover` when one of those higher-level widgets already composes a popover for the use case.
21
+ *
56
22
  * @tagname mdc-popover
57
- *
23
+ *
24
+ * @dependency mdc-button
25
+ *
58
26
  * @event shown - (React: onShown) This event is dispatched when the popover is shown
59
27
  * @event hidden - (React: onHidden) This event is dispatched when the popover is hidden
60
28
  * @event created - (React: onCreated) This event is dispatched when the popover is created (added to the DOM)
61
29
  * @event destroyed - (React: onDestroyed) This event is dispatched when the popover is destroyed (removed from the DOM)
62
- *
30
+ *
63
31
  * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border
64
32
  * @cssproperty --mdc-popover-arrow-border - border of the arrow
65
33
  * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover
@@ -72,9 +40,9 @@ declare const Popover_base: import("../../utils/mixins/index.types").Constructor
72
40
  * @cssproperty --mdc-popover-max-height - max height of the popover
73
41
  * @cssproperty --mdc-popover-width - width of the popover
74
42
  * @cssproperty --mdc-popover-backdrop-color - background color of the backdrop (if backdrop is enabled)
75
- *
43
+ *
76
44
  * @slot - Default slot for the popover content
77
- *
45
+ *
78
46
  * @csspart popover-close - The close button of the popover.
79
47
  * @csspart popover-content - The content of the popover.
80
48
  * @csspart popover-hover-bridge - The hover bridge of the popover.
@@ -26,56 +26,10 @@ import { PopoverEventManager } from './popover.events';
26
26
  import styles from './popover.styles';
27
27
  import { PopoverUtils } from './popover.utils';
28
28
  /**
29
- * Popover is generic overlay which can be triggered by any actionable element.
30
- *
31
- * It can be used for tooltips, dropdowns, menus or any showing any other contextual content.
32
- *
33
- * The popover automatically positions itself based on available space and
34
- * supports dynamic height adjustments with scrollable content when needed.
35
- * It uses [Floating UI](https://floating-ui.com/) for maintaining the position of the popover.
36
- *
37
- * ## Limitations
38
- *
39
- * ### On trigger for multiple popovers
40
- *
41
- * A component (button, etc.) can trigger more than one popover, but only one of them should change the
42
- * aria-expanded and aria-haspopup attributes on the trigger.
43
- *
44
- * To prevent unexpected attribute changes on the trigger `disable-aria-expanded` attribute must be set on all linked
45
- * Popovers except one.
46
- *
47
- * ### React Popover with append-to attribute
48
- *
49
- * React mounts the popover based on the virtual DOM, but when the append-to attribute is set, the popover removes itself
50
- * and mounts to the specified element. React will not know about the move and will not know about the
51
- * newly created mdc-popoverportal element either. This throws a `NotFoundError` error when the Popover is directly
52
- * added/removed by React, for example:
53
- *
54
- * ```tsx
55
- * const SomeComponent = () => {
56
- * const [isOpen, setIsOpen] = useState(false);
57
- * return (<div>
58
- * {isOpen && <Popover append-to="some-element-id">...</mdc-popover>}
59
- * </div>);
60
- * }
61
- * ```
62
- * As a workaround Popover need to wrap with any other element/component, for example:
63
- * ```tsx
64
- * const SomeComponent = () => {
65
- * const [isOpen, setIsOpen] = useState(false);
66
- * return (<div>
67
- * {isOpen && <div>
68
- * <Popover append-to="some-element-id">...</mdc-popover>
69
- * <div>}
70
- * </div>);
71
- * }
72
- * ```
73
- * Note the wrapper <div> around the Popover component (React.Fragment does not work).
29
+ * @tagname mdc-popover
74
30
  *
75
31
  * @dependency mdc-button
76
32
  *
77
- * @tagname mdc-popover
78
- *
79
33
  * @event shown - (React: onShown) This event is dispatched when the popover is shown
80
34
  * @event hidden - (React: onHidden) This event is dispatched when the popover is hidden
81
35
  * @event created - (React: onCreated) This event is dispatched when the popover is created (added to the DOM)
@@ -2,16 +2,23 @@ import { CSSResult, PropertyValues } from 'lit';
2
2
  import { Component } from '../../models';
3
3
  import type { PresenceType, PresenceSize } from './presence.types';
4
4
  /**
5
- * The `mdc-presence` component is a versatile UI element used to
6
- * display the presence status of a user or entity within an avatar component.
7
- *
8
- * This component is ideal for use within avatar UIs where the presence status
9
- * needs to be visually represented.
10
- *
11
- * @dependency mdc-icon
12
- *
5
+ * The presence is a small status badge that visually represents the availability or activity state of a user or entity (for example: active, away, busy, do-not-disturb, on a call, presenting). It is sized to be paired with an avatar so the status renders as a corner indicator on top of the avatar artwork.
6
+ *
7
+ * **When to use**
8
+ *
9
+ * - Use `mdc-presence` next to or on top of an `mdc-avatar` to indicate the represented user/entity's current availability or activity.
10
+ * - Use it whenever the application has a meaningful status signal to communicate alongside an avatar (online, in a meeting, away, etc.).
11
+ *
12
+ * **When not to use**
13
+ *
14
+ * - Do not use it as a standalone status indicator divorced from an avatar — pair it with `mdc-avatar` so the icon size matches the avatar size.
15
+ * - Use `mdc-badge` for counts, dots, or non-status decorations.
16
+ * - Use `mdc-icon` if you need an arbitrary icon at custom sizes outside the supported avatar size set.
17
+ *
13
18
  * @tagname mdc-presence
14
- *
19
+ *
20
+ * @dependency mdc-icon
21
+ *
15
22
  * @cssproperty --mdc-presence-active-background-color - The background color of the presence type active.
16
23
  * @cssproperty --mdc-presence-away-background-color - The background color of the presence type away.
17
24
  * @cssproperty --mdc-presence-away-calling-background-color - The background color of the presence type away-calling.
@@ -27,7 +34,7 @@ import type { PresenceType, PresenceSize } from './presence.types';
27
34
  * @cssproperty --mdc-presence-quiet-background-color - The background color of the presence type quiet.
28
35
  * @cssproperty --mdc-presence-scheduled-background-color - The background color of the presence type scheduled.
29
36
  * @cssproperty --mdc-presence-overlay-background-color - The background color of the presence type overlay.
30
- *
37
+ *
31
38
  * @csspart presence-content - The presence content.
32
39
  * @csspart mdc-presence-icon - The presence icon.
33
40
  * @csspart mdc-presence-icon__active - The presence icon for active.
@@ -14,16 +14,10 @@ import { DEFAULTS, PRESENCE_SIZE } from './presence.constants';
14
14
  import styles from './presence.styles';
15
15
  import { getIconValue, getPresenceIconSize } from './presence.utils';
16
16
  /**
17
- * The `mdc-presence` component is a versatile UI element used to
18
- * display the presence status of a user or entity within an avatar component.
19
- *
20
- * This component is ideal for use within avatar UIs where the presence status
21
- * needs to be visually represented.
17
+ * @tagname mdc-presence
22
18
  *
23
19
  * @dependency mdc-icon
24
20
  *
25
- * @tagname mdc-presence
26
- *
27
21
  * @cssproperty --mdc-presence-active-background-color - The background color of the presence type active.
28
22
  * @cssproperty --mdc-presence-away-background-color - The background color of the presence type away.
29
23
  * @cssproperty --mdc-presence-away-calling-background-color - The background color of the presence type away-calling.