@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
@@ -2,219 +2,21 @@ import { type EventName } from '@lit/react';
2
2
  import Component from '../../components/spatialnavigationprovider';
3
3
  import type { Events } from '../../components/spatialnavigationprovider/spatialnavigationprovider.types';
4
4
  /**
5
- * Spatial navigation focus manager
6
- *
7
- * [Spatial navigation](https://en.wikipedia.org/wiki/Spatial_navigation) lets users move focus among
8
- * elements on a 2D plane, common on TVs and game consoles with remotes or gamepads.
9
- *
10
- * It should have only one instance, and it should be placed at the root of the application.
11
- *
12
- * ## Focus management
13
- *
14
- * The provider listens to keyboard events and moves focus among elements based on arrow key input.
15
- * You can influence or override this behavior.
16
- *
17
- * ### Steps
18
- *
19
- * Spatial navigation goes through the following steps after each keydown:
20
- *
21
- * 1. Handle `keydown` in the capture phase.
22
- * - When the active element has a `data-spatial-{direction}` attribute, call the provider's own `keydown` handler (see step 3).
23
- * Falls back to component navigation provider did not handle the event.
24
- * - When the active element's parent is scrollable and it is not fully visible in the given direction, and it does not
25
- * have a `data-spatial-noscroll` attribute, prevent all navigation and scroll in the given direction half-size of the
26
- * scroll view.
27
- * 2. Component own `keydown` handler executed (bubble phase) (e.g., list moves focus internally) it it was not
28
- * prevented.
29
- * 3. Spatial Navigation Provider's `keydown` handler executed (bubble phase)
30
- * - If a key event was not prevented in step 1. emit `navbeforeprocess` to check if any component wants to handle
31
- * the key event itself. If `navbeforeprocess` event is prevented, stop here.
32
- * - If the component did not handle `keydown`, it calculates the next focusable item
33
- * - If the active element has a `data-spatial-{direction}` attribute,
34
- * - Evaluate the attribute value, try element ID, and falls back to css selector if needed
35
- * - If it is focusable, move the focus there.
36
- * - If it is not focusable and contains focusable elements, calculate the next focused item within that element subtree.
37
- * - Otherwise calculate the next focused item based on the direction and distances.
38
- * - If there is no next item, it emits `navnotarget` event
39
- * - Otherwise emit `navbeforefocus`,
40
- * - If this event is prevented, nothing happens
41
- * - Otherwise the focus moves to the next element
42
- *
43
- * ### Determine next focus
44
- *
45
- * The provider uses multiple ways to determine the next focused element. The order defined in the "Steps" section.
46
- *
47
- * #### Calculated focus
48
- *
49
- * By default, the next focus target is computed from element positions:
50
- *
51
- * 1. Find the nearest focus area (scrollable container or active focus trap) relative to the current element.
52
- * 2. Collect focusable elements in that area.
53
- * 3. Compute distances from the current element to candidates using the W3C "find the shortest
54
- * distance" algorithm: https://www.w3.org/TR/css-nav-1/#find-the-shortest-distance
55
- * 4. If no candidates are found, repeat from step 1, skipping areas already checked.
56
- * 5. Focus on the closest candidate.
57
- *
58
- * Elements with `data-spatial-focusable` are treated as focusable even if they do otherwise not be
59
- * (e.g., `tabindex="-1"`).
60
- *
61
- * Elements with `data-spatial-exclude` are excluded (with its subtree) from the navigation, even if they
62
- * are focusable.
63
- *
64
- * Note: The algorithm is distance-based, so the UI should be designed to focusable elements are
65
- * predictably reachable. Relative element positions should remain stable; responsive layouts can
66
- * make navigation unpredictable. This is less of an issue on fixed-size TV UIs but can show unexpected
67
- * behavior in Storybook when resizing. See the "Limitations" section.
68
- *
69
- * #### Overwrite the next element
70
- *
71
- * Override calculated navigation by adding one of these attributes to a focusable element:
72
- *
73
- * - `data-spatial-up`
74
- * - `data-spatial-down`
75
- * - `data-spatial-left`
76
- * - `data-spatial-right`
77
- *
78
- * Each attribute value must be the id of the element to focus when the corresponding key is pressed.
79
- *
80
- * #### Element internal navigation
81
- *
82
- * Complex components (List, Combobox, Tree, etc.) may handle their own navigation. For example, a List moves
83
- * focus internally on Down until the last item, after which Down should fall back to provider navigation.
84
- *
85
- * To prevent the provider from handling a key, listen to `navbeforeprocess` and call `event.preventDefault()`.
86
- * This event fires after the component handles `keydown`.
87
- *
88
- * ### Cancel focus change
89
- *
90
- * Before focusing a computed target, the provider dispatches `navbeforefocus` on the current element. Call
91
- * `event.preventDefault()` on this event to cancel the focus change.
92
- *
93
- * ## Enter action
94
- *
95
- * Pressing Enter triggers `.click()` on the currently focused element.
96
- *
97
- * You can prevent this by listening to `navbeforeprocess` and calling `event.preventDefault()`.
98
- *
99
- * ## Escape/Back action
100
- *
101
- * Pressing Escape tries to find a focusable element with `data-spatial-go-back` and clicks it. If none exists,
102
- * the provider calls `history.back()`.
103
- *
104
- * You can prevent this by listening to `navbeforeprocess` and calling `event.preventDefault()`.
105
- *
106
- * You can also intercept the back click by listening to `navback` and calling `event.preventDefault()`.
107
- *
108
- * ## Control data attributes
109
- *
110
- * Supported data attributes:
111
- *
112
- * | Attribute | Value | Default | Description |
113
- * |------------------------------|------------------------------|---------|------------------------------------------------------------------------------------------------------------------------------------|
114
- * | `data-spatial-left` | empty string / id / selector | N/A | Prevent native navigation in the Left direction, focus it if it's focusable otherwise limit the search in the selected container. |
115
- * | `data-spatial-up` | empty string / id / selector | N/A | Prevent native navigation in Up direction, focus it if it's focusable otherwise limit the search in the selected container. |
116
- * | `data-spatial-right` | empty string / id / selector | N/A | Prevent native navigation in the Right direction, focus it if it's focusable otherwise limit the search in the selected container. |
117
- * | `data-spatial-down` | empty string / id / selector | N/A | Prevent native navigation in Down direction, focus it if it's focusable otherwise limit the search in the selected container. |
118
- * | `data-spatial-go-back` | N/A | N/A | First focusable element with this attribute is clicked on Back/Escape |
119
- * | `data-spatial-focusable` | N/A | N/A | Treat element as focusable even if it normally is not (e.g., `tabindex="-1"`) |
120
- * | `data-spatial-exclude` | N/A | N/A | Exclude focusable element (and its subtree) from the navigation |
121
- * | `data-spatial-noscroll` | N/A | N/A | Prevent scroll for active element in scrollable area even if the is not fit in view |
122
- * | `data-spatial-scroll-parent` | N/A | N/A | When the focusable item in not a direct child of the scrollable aria use this attribute to mark scrollable area element |
123
- *
124
- * ## Event emitting order
125
- *
126
- * On a navigation key press, events fire in this order:
127
- *
128
- * 1. `navbeforeprocess` on the currently focused element.
129
- * 2. If not prevented:
130
- * a. Arrow keys: `navbeforefocus` on the currently focused element.
131
- * b. Enter: `.click()` on the currently focused element.
132
- * c. Escape/Back: `navback` on the provider, then `.click()` on the go-back element or `history.back()`.
133
- * 3. If no target is found in the requested direction: `navnotarget` on the provider.
134
- *
135
- * ## Handle complex components
136
- *
137
- * ### Generic components
138
- *
139
- * Components that handle navigation internally should prevent the provider from acting. Handle `navbeforeprocess`
140
- * and call `event.preventDefault()` for keys you process yourself.
141
- *
142
- * ### Form inputs
143
- *
144
- * Native inputs often submit on Enter, which is not desirable here. Enter should toggle or activate the control
145
- * (e.g., check/uncheck). Provide a dedicated submit button users can navigate to and press Enter on.
146
- *
147
- * ### Utilities for complex components
148
- *
149
- * #### KeyToActionMixin
150
- *
151
- * Maps key events to action names. Call `getActionForKeyEvent` to get the action for a keyboard event. Also provides
152
- * `getKeyboardNavMode` to check whether navigation is spatial or default.
153
- *
154
- * #### KeyDownHandledMixin
155
- *
156
- * Notify the provider when a component handled `keydown` internally. Call `keyDownEventHandled` whenever you process
157
- * keydown yourself.
158
- *
159
- * ## Platform specific behaviors
160
- *
161
- * Consider remote/gamepad constraints. Often focus alone is not enough, and users press Enter to "enter" an interactive mode:
162
- * - Select: Enter opens options rather than arrow keys opening a popover.
163
- * - Text inputs: see the next section.
164
- * - Slider: Enter to start adjusting, arrow keys to change value, Enter/Escape to stop.
165
- *
166
- * ### Text inputs
167
- *
168
- * On TV-like platforms without physical keyboards, Enter/focus on an input should open a virtual keyboard instead of submitting
169
- * the form. Users must close the keyboard (Escape) to continue spatial navigation.
170
- *
171
- * If navigation keys are mapped to letters (e.g., `w/a/s/d`), they should navigate, not change input values. Inputs should
172
- * be edited via the virtual keyboard.
173
- *
174
- * Note: Stories do not emulate virtual keyboards, so letter-based navigation may change input values in Storybook.
175
- *
176
- * ## Debugging
177
- *
178
- * ### Storybook toolbar
179
- *
180
- * Enable "Spatial navigation" in the toolbar. Key mapping:
181
- * - Up - ArrowUp
182
- * - Left - ArrowLeft
183
- * - Down - ArrowDown
184
- * - Right - ArrowRight
185
- * - Enter - Enter
186
- * - Escape - Escape
187
- *
188
- * With wrapper: wraps the component in a 3x3 grid with surrounding buttons for testing.
189
- * Without a wrapper: renders the component alone.
190
- *
191
- * ### Visual debugger
192
- *
193
- * With spatial navigation enabled, press Shift + navigation key to visualize calculations:
194
- *
195
- * - Star: next active element
196
- * - `#{number}`: candidate order by distance
197
- * - `D: {distance}`: computed distance
198
- *
199
- * ## Limitations
200
- *
201
- * ### Completeness
202
- *
203
- * The algorithm cannot guarantee reachability to all elements using the four directions. Some components can be isolated.
204
- *
205
- * Workarounds:
206
- * - Use data attributes to explicitly link navigation targets.
207
- * - Arrange DOM to improve spatial consistency:
208
- * - Group focusable elements using dedicated components (lists, menus, etc.).
209
- * - Avoid complex grid-like layouts with variable-sized items.
210
- * - Avoid overlap along horizontal or vertical axes.
211
- * - Avoid nested focusable elements where possible.
212
- * - Tune algorithm weights to match your UI layout.
213
- *
214
- * ### Nested providers
215
- *
216
- * Only one provider instance is supported in the application at a time.
217
- *
5
+ * The spatial navigation provider implements [spatial navigation](https://en.wikipedia.org/wiki/Spatial_navigation): it lets users move focus between elements on a 2D plane using arrow keys, Enter, and Escape, the way TV remotes and game controllers do. It listens to keyboard events at the document level, computes the next focus target from element positions, and dispatches cancellable events around every navigation step.
6
+ *
7
+ * Only one instance is supported per application, placed at the root.
8
+ *
9
+ * **When to use**
10
+ *
11
+ * - Use `mdc-spatialnavigationprovider` for TV, set-top-box, console, or kiosk apps where the primary input is a remote or directional pad.
12
+ * - Use it when consumers should be able to override or intercept focus movement via data attributes or DOM events.
13
+ *
14
+ * **When not to use**
15
+ *
16
+ * - Do not use it in a typical pointer-and-keyboard web app where browser-native focus order is sufficient.
17
+ * - Do not nest providers — only one instance per application is supported.
18
+ *
19
+ * @tagname mdc-spatialnavigationprovider
218
20
  * @event navbeforeprocess - (React: onNavBeforeProcess) This event dispatched before spatial navigation process any key event.
219
21
  * It can be canceled to prevent any action from spatial navigation, e.g.: back, click or calculating the next candidate.
220
22
  * @event navbeforefocus - (React: onNavBeforeFocus) This event is dispatched before the focus is changing to the next element.
@@ -224,8 +26,6 @@ import type { Events } from '../../components/spatialnavigationprovider/spatialn
224
26
  * action on the goBackElement.
225
27
  * @event navnotarget - (React: onNavNoTarget) This event is dispatched when there is no target to focus in the current focus area and
226
28
  * in the given direction .
227
- *
228
- * @tagname mdc-spatialnavigationprovider
229
29
  */
230
30
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
231
31
  onNavBeforeProcess: EventName<Events["onNavBeforeProcessEvent"]>;
@@ -3,219 +3,7 @@ import { createComponent } from '@lit/react';
3
3
  import Component from '../../components/spatialnavigationprovider';
4
4
  import { TAG_NAME } from '../../components/spatialnavigationprovider/spatialnavigationprovider.constants';
5
5
  /**
6
- * Spatial navigation focus manager
7
- *
8
- * [Spatial navigation](https://en.wikipedia.org/wiki/Spatial_navigation) lets users move focus among
9
- * elements on a 2D plane, common on TVs and game consoles with remotes or gamepads.
10
- *
11
- * It should have only one instance, and it should be placed at the root of the application.
12
- *
13
- * ## Focus management
14
- *
15
- * The provider listens to keyboard events and moves focus among elements based on arrow key input.
16
- * You can influence or override this behavior.
17
- *
18
- * ### Steps
19
- *
20
- * Spatial navigation goes through the following steps after each keydown:
21
- *
22
- * 1. Handle `keydown` in the capture phase.
23
- * - When the active element has a `data-spatial-{direction}` attribute, call the provider's own `keydown` handler (see step 3).
24
- * Falls back to component navigation provider did not handle the event.
25
- * - When the active element's parent is scrollable and it is not fully visible in the given direction, and it does not
26
- * have a `data-spatial-noscroll` attribute, prevent all navigation and scroll in the given direction half-size of the
27
- * scroll view.
28
- * 2. Component own `keydown` handler executed (bubble phase) (e.g., list moves focus internally) it it was not
29
- * prevented.
30
- * 3. Spatial Navigation Provider's `keydown` handler executed (bubble phase)
31
- * - If a key event was not prevented in step 1. emit `navbeforeprocess` to check if any component wants to handle
32
- * the key event itself. If `navbeforeprocess` event is prevented, stop here.
33
- * - If the component did not handle `keydown`, it calculates the next focusable item
34
- * - If the active element has a `data-spatial-{direction}` attribute,
35
- * - Evaluate the attribute value, try element ID, and falls back to css selector if needed
36
- * - If it is focusable, move the focus there.
37
- * - If it is not focusable and contains focusable elements, calculate the next focused item within that element subtree.
38
- * - Otherwise calculate the next focused item based on the direction and distances.
39
- * - If there is no next item, it emits `navnotarget` event
40
- * - Otherwise emit `navbeforefocus`,
41
- * - If this event is prevented, nothing happens
42
- * - Otherwise the focus moves to the next element
43
- *
44
- * ### Determine next focus
45
- *
46
- * The provider uses multiple ways to determine the next focused element. The order defined in the "Steps" section.
47
- *
48
- * #### Calculated focus
49
- *
50
- * By default, the next focus target is computed from element positions:
51
- *
52
- * 1. Find the nearest focus area (scrollable container or active focus trap) relative to the current element.
53
- * 2. Collect focusable elements in that area.
54
- * 3. Compute distances from the current element to candidates using the W3C "find the shortest
55
- * distance" algorithm: https://www.w3.org/TR/css-nav-1/#find-the-shortest-distance
56
- * 4. If no candidates are found, repeat from step 1, skipping areas already checked.
57
- * 5. Focus on the closest candidate.
58
- *
59
- * Elements with `data-spatial-focusable` are treated as focusable even if they do otherwise not be
60
- * (e.g., `tabindex="-1"`).
61
- *
62
- * Elements with `data-spatial-exclude` are excluded (with its subtree) from the navigation, even if they
63
- * are focusable.
64
- *
65
- * Note: The algorithm is distance-based, so the UI should be designed to focusable elements are
66
- * predictably reachable. Relative element positions should remain stable; responsive layouts can
67
- * make navigation unpredictable. This is less of an issue on fixed-size TV UIs but can show unexpected
68
- * behavior in Storybook when resizing. See the "Limitations" section.
69
- *
70
- * #### Overwrite the next element
71
- *
72
- * Override calculated navigation by adding one of these attributes to a focusable element:
73
- *
74
- * - `data-spatial-up`
75
- * - `data-spatial-down`
76
- * - `data-spatial-left`
77
- * - `data-spatial-right`
78
- *
79
- * Each attribute value must be the id of the element to focus when the corresponding key is pressed.
80
- *
81
- * #### Element internal navigation
82
- *
83
- * Complex components (List, Combobox, Tree, etc.) may handle their own navigation. For example, a List moves
84
- * focus internally on Down until the last item, after which Down should fall back to provider navigation.
85
- *
86
- * To prevent the provider from handling a key, listen to `navbeforeprocess` and call `event.preventDefault()`.
87
- * This event fires after the component handles `keydown`.
88
- *
89
- * ### Cancel focus change
90
- *
91
- * Before focusing a computed target, the provider dispatches `navbeforefocus` on the current element. Call
92
- * `event.preventDefault()` on this event to cancel the focus change.
93
- *
94
- * ## Enter action
95
- *
96
- * Pressing Enter triggers `.click()` on the currently focused element.
97
- *
98
- * You can prevent this by listening to `navbeforeprocess` and calling `event.preventDefault()`.
99
- *
100
- * ## Escape/Back action
101
- *
102
- * Pressing Escape tries to find a focusable element with `data-spatial-go-back` and clicks it. If none exists,
103
- * the provider calls `history.back()`.
104
- *
105
- * You can prevent this by listening to `navbeforeprocess` and calling `event.preventDefault()`.
106
- *
107
- * You can also intercept the back click by listening to `navback` and calling `event.preventDefault()`.
108
- *
109
- * ## Control data attributes
110
- *
111
- * Supported data attributes:
112
- *
113
- * | Attribute | Value | Default | Description |
114
- * |------------------------------|------------------------------|---------|------------------------------------------------------------------------------------------------------------------------------------|
115
- * | `data-spatial-left` | empty string / id / selector | N/A | Prevent native navigation in the Left direction, focus it if it's focusable otherwise limit the search in the selected container. |
116
- * | `data-spatial-up` | empty string / id / selector | N/A | Prevent native navigation in Up direction, focus it if it's focusable otherwise limit the search in the selected container. |
117
- * | `data-spatial-right` | empty string / id / selector | N/A | Prevent native navigation in the Right direction, focus it if it's focusable otherwise limit the search in the selected container. |
118
- * | `data-spatial-down` | empty string / id / selector | N/A | Prevent native navigation in Down direction, focus it if it's focusable otherwise limit the search in the selected container. |
119
- * | `data-spatial-go-back` | N/A | N/A | First focusable element with this attribute is clicked on Back/Escape |
120
- * | `data-spatial-focusable` | N/A | N/A | Treat element as focusable even if it normally is not (e.g., `tabindex="-1"`) |
121
- * | `data-spatial-exclude` | N/A | N/A | Exclude focusable element (and its subtree) from the navigation |
122
- * | `data-spatial-noscroll` | N/A | N/A | Prevent scroll for active element in scrollable area even if the is not fit in view |
123
- * | `data-spatial-scroll-parent` | N/A | N/A | When the focusable item in not a direct child of the scrollable aria use this attribute to mark scrollable area element |
124
- *
125
- * ## Event emitting order
126
- *
127
- * On a navigation key press, events fire in this order:
128
- *
129
- * 1. `navbeforeprocess` on the currently focused element.
130
- * 2. If not prevented:
131
- * a. Arrow keys: `navbeforefocus` on the currently focused element.
132
- * b. Enter: `.click()` on the currently focused element.
133
- * c. Escape/Back: `navback` on the provider, then `.click()` on the go-back element or `history.back()`.
134
- * 3. If no target is found in the requested direction: `navnotarget` on the provider.
135
- *
136
- * ## Handle complex components
137
- *
138
- * ### Generic components
139
- *
140
- * Components that handle navigation internally should prevent the provider from acting. Handle `navbeforeprocess`
141
- * and call `event.preventDefault()` for keys you process yourself.
142
- *
143
- * ### Form inputs
144
- *
145
- * Native inputs often submit on Enter, which is not desirable here. Enter should toggle or activate the control
146
- * (e.g., check/uncheck). Provide a dedicated submit button users can navigate to and press Enter on.
147
- *
148
- * ### Utilities for complex components
149
- *
150
- * #### KeyToActionMixin
151
- *
152
- * Maps key events to action names. Call `getActionForKeyEvent` to get the action for a keyboard event. Also provides
153
- * `getKeyboardNavMode` to check whether navigation is spatial or default.
154
- *
155
- * #### KeyDownHandledMixin
156
- *
157
- * Notify the provider when a component handled `keydown` internally. Call `keyDownEventHandled` whenever you process
158
- * keydown yourself.
159
- *
160
- * ## Platform specific behaviors
161
- *
162
- * Consider remote/gamepad constraints. Often focus alone is not enough, and users press Enter to "enter" an interactive mode:
163
- * - Select: Enter opens options rather than arrow keys opening a popover.
164
- * - Text inputs: see the next section.
165
- * - Slider: Enter to start adjusting, arrow keys to change value, Enter/Escape to stop.
166
- *
167
- * ### Text inputs
168
- *
169
- * On TV-like platforms without physical keyboards, Enter/focus on an input should open a virtual keyboard instead of submitting
170
- * the form. Users must close the keyboard (Escape) to continue spatial navigation.
171
- *
172
- * If navigation keys are mapped to letters (e.g., `w/a/s/d`), they should navigate, not change input values. Inputs should
173
- * be edited via the virtual keyboard.
174
- *
175
- * Note: Stories do not emulate virtual keyboards, so letter-based navigation may change input values in Storybook.
176
- *
177
- * ## Debugging
178
- *
179
- * ### Storybook toolbar
180
- *
181
- * Enable "Spatial navigation" in the toolbar. Key mapping:
182
- * - Up - ArrowUp
183
- * - Left - ArrowLeft
184
- * - Down - ArrowDown
185
- * - Right - ArrowRight
186
- * - Enter - Enter
187
- * - Escape - Escape
188
- *
189
- * With wrapper: wraps the component in a 3x3 grid with surrounding buttons for testing.
190
- * Without a wrapper: renders the component alone.
191
- *
192
- * ### Visual debugger
193
- *
194
- * With spatial navigation enabled, press Shift + navigation key to visualize calculations:
195
- *
196
- * - Star: next active element
197
- * - `#{number}`: candidate order by distance
198
- * - `D: {distance}`: computed distance
199
- *
200
- * ## Limitations
201
- *
202
- * ### Completeness
203
- *
204
- * The algorithm cannot guarantee reachability to all elements using the four directions. Some components can be isolated.
205
- *
206
- * Workarounds:
207
- * - Use data attributes to explicitly link navigation targets.
208
- * - Arrange DOM to improve spatial consistency:
209
- * - Group focusable elements using dedicated components (lists, menus, etc.).
210
- * - Avoid complex grid-like layouts with variable-sized items.
211
- * - Avoid overlap along horizontal or vertical axes.
212
- * - Avoid nested focusable elements where possible.
213
- * - Tune algorithm weights to match your UI layout.
214
- *
215
- * ### Nested providers
216
- *
217
- * Only one provider instance is supported in the application at a time.
218
- *
6
+ * @tagname mdc-spatialnavigationprovider
219
7
  * @event navbeforeprocess - (React: onNavBeforeProcess) This event dispatched before spatial navigation process any key event.
220
8
  * It can be canceled to prevent any action from spatial navigation, e.g.: back, click or calculating the next candidate.
221
9
  * @event navbeforefocus - (React: onNavBeforeFocus) This event is dispatched before the focus is changing to the next element.
@@ -226,7 +14,6 @@ import { TAG_NAME } from '../../components/spatialnavigationprovider/spatialnavi
226
14
  * @event navnotarget - (React: onNavNoTarget) This event is dispatched when there is no target to focus in the current focus area and
227
15
  * in the given direction .
228
16
  *
229
- * @tagname mdc-spatialnavigationprovider
230
17
  */
231
18
  const reactWrapper = createComponent({
232
19
  tagName: TAG_NAME,
@@ -1,37 +1,25 @@
1
1
  import Component from '../../components/spinner';
2
2
  /**
3
- * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning
4
- * it's best for cases where the progress or duration of a process is variable or unknown.
5
- *
6
- * Spinner Variants:
7
- * - **Standalone (Default)**: Track has a blue color.
8
- * - **Button**: To be used when placed in a button to show that the buttons action is currently in progress.
9
- * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s
10
- * icon or label text.
11
- *
12
- * Spinner Sizes:
13
- * - **Large (96px)**: Use when replacing entire regions or pages that are still loading
14
- * - **MidSize (48px) (Default)**: Use for most use cases.
15
- * - **Small (24px)**: Use for inline with loading text.
16
- *
17
- * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size
18
- * CSS property.
19
- *
20
- * Spinner Colors:
21
- * - **Default**: Use for most use cases.
22
- * - **Inverted**: Only to be used within inverted components, such as coachmarks.
23
- *
24
- * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role
25
- * will be unset
26
- * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.
27
- *
3
+ * The spinner is an indeterminate progress indicator, best suited for cases where the duration or progress of an operation is variable or unknown. It is rendered as a rotating circular arc and supports multiple sizes, two colour variants, and a button-friendly variant for in-button loading states.
4
+ *
5
+ * **When to use**
6
+ *
7
+ * - Use `mdc-spinner` to signal that something is happening but you cannot communicate concrete progress.
8
+ * - Use the `button` variant inside `mdc-button` to indicate that the button's action is in progress.
9
+ * - Use the small size inline with loading text, the midsize for most cases, and the large size for full-region or full-page loading.
10
+ *
11
+ * **When not to use**
12
+ *
13
+ * - Use `mdc-progressbar` when you can show concrete, measurable progress.
14
+ * - Use `mdc-skeleton` when you want a placeholder that matches the layout of the content being loaded.
15
+ *
28
16
  * @tagname mdc-spinner
29
- *
17
+ *
30
18
  * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.
31
19
  * @cssproperty --mdc-spinner-inverted-color - Allows customization of the inverted spinner color.
32
20
  * @cssproperty --mdc-spinner-button-variant-color - Allows customization of the spinner Button variant color.
33
21
  * @cssproperty --mdc-spinner-size - Allows customization of the spinner size.
34
- *
22
+ *
35
23
  * @csspart container - The svg which contains the circle spinner.
36
24
  * @csspart circle - The circle of the spinner.
37
25
  */
@@ -3,31 +3,6 @@ import { createComponent } from '@lit/react';
3
3
  import Component from '../../components/spinner';
4
4
  import { TAG_NAME } from '../../components/spinner/spinner.constants';
5
5
  /**
6
- * `mdc-spinner` is loading spinner which is an indeterminate progress indicator, meaning
7
- * it's best for cases where the progress or duration of a process is variable or unknown.
8
- *
9
- * Spinner Variants:
10
- * - **Standalone (Default)**: Track has a blue color.
11
- * - **Button**: To be used when placed in a button to show that the button’s action is currently in progress.
12
- * To ensure a minimum 3:1 contrast ratio, the color is changed internally to be the same color as the button’s
13
- * icon or label text.
14
- *
15
- * Spinner Sizes:
16
- * - **Large (96px)**: Use when replacing entire regions or pages that are still loading
17
- * - **MidSize (48px) (Default)**: Use for most use cases.
18
- * - **Small (24px)**: Use for inline with loading text.
19
- *
20
- * Customisation of the spinner size is allowed by setting the size to undefined and using the --mdc-spinner-size
21
- * CSS property.
22
- *
23
- * Spinner Colors:
24
- * - **Default**: Use for most use cases.
25
- * - **Inverted**: Only to be used within inverted components, such as coachmarks.
26
- *
27
- * Regarding accessibility, if an aria-label is provided, the role will be set to 'img'; if it is absent, the role
28
- * will be unset
29
- * and aria-hidden will be set to 'true' so the spinner will be ignored by screen readers.
30
- *
31
6
  * @tagname mdc-spinner
32
7
  *
33
8
  * @cssproperty --mdc-spinner-default-color - Allows customization of the default spinner color.
@@ -1,34 +1,29 @@
1
1
  import Component from '../../components/staticcheckbox';
2
2
  /**
3
- * The StaticCheckbox component is a decorative, non-interactive checkbox used for visual
4
- * presentation in read-only scenarios. Unlike the interactive `mdc-checkbox`, it does not
5
- * handle user interactions or form submissions.
6
- *
7
- * This component supports multiple visual states: checked, indeterminate, disabled, readonly,
8
- * and soft-disabled.
9
- *
10
- * ## When to use
11
- * Use StaticCheckbox to display checkbox states in read-only contexts such as summary views,
12
- * confirmation screens, or when showing historical form data. For interactive checkboxes, use
13
- * `mdc-checkbox` instead.
14
- *
15
- * ## Accessibility
16
- * - StaticCheckbox is decorative and non-interactive by design
17
- * - Always pair with descriptive text labels in the default slot
18
- * - Do not use this as a replacement for interactive checkboxes in forms
19
- *
3
+ * The static checkbox is a decorative, non-interactive checkbox used to display checkbox states in read-only contexts (summary views, confirmation screens, historical form data). It supports checked, indeterminate, disabled, soft-disabled, and read-only visual states but does not handle user interaction or participate in forms.
4
+ *
5
+ * **When to use**
6
+ *
7
+ * - Use `mdc-staticcheckbox` to render the visual shape of a checkbox in read-only UIs such as summary screens, confirmation screens, or historical form data.
8
+ * - Use it inside lists or cards where the checkbox is part of the display, not a control.
9
+ *
10
+ * **When not to use**
11
+ *
12
+ * - Use `mdc-checkbox` for any interactive checkbox in a form.
13
+ * - Do not use `mdc-staticcheckbox` as a replacement for `mdc-checkbox` — it cannot be focused, toggled, or submitted with a form.
14
+ *
20
15
  * @tagname mdc-staticcheckbox
21
- *
16
+ *
22
17
  * @dependency mdc-icon
23
- *
18
+ *
24
19
  * @cssproperty --mdc-staticcheckbox-border-color - Border color of the checkbox.
25
20
  * @cssproperty --mdc-staticcheckbox-background-color - Background color of the checkbox.
26
21
  * @cssproperty --mdc-staticcheckbox-icon-color - Icon color of the checkbox.
27
22
  * @cssproperty --mdc-staticcheckbox-size - Size of the checkbox.
28
- *
23
+ *
29
24
  * @csspart icon-container - The container for the checkbox icon.
30
25
  * @csspart checkbox-icon - The checkbox icon element.
31
- *
26
+ *
32
27
  * @slot - Default slot for label text.
33
28
  */
34
29
  declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {}>;
@@ -3,23 +3,6 @@ import { createComponent } from '@lit/react';
3
3
  import Component from '../../components/staticcheckbox';
4
4
  import { TAG_NAME } from '../../components/staticcheckbox/staticcheckbox.constants';
5
5
  /**
6
- * The StaticCheckbox component is a decorative, non-interactive checkbox used for visual
7
- * presentation in read-only scenarios. Unlike the interactive `mdc-checkbox`, it does not
8
- * handle user interactions or form submissions.
9
- *
10
- * This component supports multiple visual states: checked, indeterminate, disabled, readonly,
11
- * and soft-disabled.
12
- *
13
- * ## When to use
14
- * Use StaticCheckbox to display checkbox states in read-only contexts such as summary views,
15
- * confirmation screens, or when showing historical form data. For interactive checkboxes, use
16
- * `mdc-checkbox` instead.
17
- *
18
- * ## Accessibility
19
- * - StaticCheckbox is decorative and non-interactive by design
20
- * - Always pair with descriptive text labels in the default slot
21
- * - Do not use this as a replacement for interactive checkboxes in forms
22
- *
23
6
  * @tagname mdc-staticcheckbox
24
7
  *
25
8
  * @dependency mdc-icon