@angular/material 19.0.0-next.1 → 19.0.0-next.10

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 (831) hide show
  1. package/_index.scss +6 -6
  2. package/autocomplete/_autocomplete-theme.scss +37 -24
  3. package/autocomplete/index.d.ts +5 -15
  4. package/badge/_badge-theme.scss +38 -24
  5. package/badge/index.d.ts +3 -7
  6. package/bottom-sheet/_bottom-sheet-theme.scss +32 -20
  7. package/bottom-sheet/index.d.ts +5 -15
  8. package/button/_button-base.scss +2 -2
  9. package/button/_button-theme.scss +229 -105
  10. package/button/_fab-theme.scss +95 -44
  11. package/button/_icon-button-theme.scss +38 -25
  12. package/button/index.d.ts +24 -36
  13. package/button-toggle/_button-toggle-theme.scss +62 -37
  14. package/button-toggle/index.d.ts +5 -8
  15. package/card/_card-theme.scss +79 -38
  16. package/card/index.d.ts +2 -2
  17. package/checkbox/_checkbox-common.scss +4 -4
  18. package/checkbox/_checkbox-theme.scss +16 -10
  19. package/checkbox/index.d.ts +16 -14
  20. package/chips/_chips-theme.scss +64 -30
  21. package/chips/index.d.ts +19 -35
  22. package/core/_core-theme.scss +59 -55
  23. package/core/_core.scss +17 -14
  24. package/core/focus-indicators/_private.scss +21 -82
  25. package/core/index.d.ts +116 -200
  26. package/core/option/_optgroup-theme.scss +29 -18
  27. package/core/option/_option-theme.scss +34 -21
  28. package/core/ripple/_ripple-theme.scss +33 -21
  29. package/core/ripple/_ripple.scss +1 -1
  30. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +49 -23
  31. package/core/style/_elevation.scss +1 -1
  32. package/core/style/_menu-common.scss +1 -1
  33. package/core/style/_sass-utils.scss +4 -0
  34. package/core/theming/_all-theme.scss +3 -0
  35. package/core/theming/_config-validation.scss +4 -4
  36. package/core/theming/_definition.scss +12 -2
  37. package/core/theming/_palettes.scss +132 -45
  38. package/core/tokens/_density.scss +1 -0
  39. package/core/tokens/_m3-system.scss +162 -36
  40. package/core/tokens/_token-utils.scss +91 -34
  41. package/core/tokens/m2/_index.scss +2 -0
  42. package/core/tokens/m2/mat/_badge.scss +12 -3
  43. package/core/tokens/m2/mat/_timepicker.scss +44 -0
  44. package/core/tokens/m2/mdc/_radio.scss +1 -1
  45. package/core/tokens/m3/_index.scss +2 -0
  46. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +1 -1
  47. package/core/tokens/m3/definitions/_md-sys-color.scss +6 -6
  48. package/core/tokens/m3/mat/_badge.scss +3 -0
  49. package/core/tokens/m3/mat/_sidenav.scss +0 -1
  50. package/core/tokens/m3/mat/_timepicker.scss +22 -0
  51. package/core/typography/_all-typography.scss +2 -0
  52. package/datepicker/_datepicker-theme.scss +53 -32
  53. package/datepicker/index.d.ts +45 -71
  54. package/dialog/_dialog-theme.scss +46 -23
  55. package/dialog/index.d.ts +16 -37
  56. package/dialog/testing/index.d.ts +1 -1
  57. package/divider/_divider-theme.scss +28 -17
  58. package/expansion/_expansion-theme.scss +36 -24
  59. package/expansion/index.d.ts +9 -13
  60. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  61. package/fesm2022/autocomplete.mjs +43 -75
  62. package/fesm2022/autocomplete.mjs.map +1 -1
  63. package/fesm2022/badge/testing.mjs.map +1 -1
  64. package/fesm2022/badge.mjs +24 -31
  65. package/fesm2022/badge.mjs.map +1 -1
  66. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  67. package/fesm2022/bottom-sheet.mjs +26 -41
  68. package/fesm2022/bottom-sheet.mjs.map +1 -1
  69. package/fesm2022/button/testing.mjs.map +1 -1
  70. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  71. package/fesm2022/button-toggle.mjs +30 -45
  72. package/fesm2022/button-toggle.mjs.map +1 -1
  73. package/fesm2022/button.mjs +79 -157
  74. package/fesm2022/button.mjs.map +1 -1
  75. package/fesm2022/card/testing.mjs.map +1 -1
  76. package/fesm2022/card.mjs +53 -68
  77. package/fesm2022/card.mjs.map +1 -1
  78. package/fesm2022/checkbox/testing.mjs.map +1 -1
  79. package/fesm2022/checkbox.mjs +41 -44
  80. package/fesm2022/checkbox.mjs.map +1 -1
  81. package/fesm2022/chips/testing.mjs.map +1 -1
  82. package/fesm2022/chips.mjs +131 -184
  83. package/fesm2022/chips.mjs.map +1 -1
  84. package/fesm2022/core/testing.mjs.map +1 -1
  85. package/fesm2022/core.mjs +370 -411
  86. package/fesm2022/core.mjs.map +1 -1
  87. package/fesm2022/datepicker/testing.mjs.map +1 -1
  88. package/fesm2022/datepicker.mjs +208 -349
  89. package/fesm2022/datepicker.mjs.map +1 -1
  90. package/fesm2022/dialog/testing.mjs +3 -4
  91. package/fesm2022/dialog/testing.mjs.map +1 -1
  92. package/fesm2022/dialog.mjs +50 -113
  93. package/fesm2022/dialog.mjs.map +1 -1
  94. package/fesm2022/divider/testing.mjs.map +1 -1
  95. package/fesm2022/divider.mjs +8 -8
  96. package/fesm2022/divider.mjs.map +1 -1
  97. package/fesm2022/expansion/testing.mjs.map +1 -1
  98. package/fesm2022/expansion.mjs +60 -98
  99. package/fesm2022/expansion.mjs.map +1 -1
  100. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  101. package/fesm2022/form-field/testing.mjs.map +1 -1
  102. package/fesm2022/form-field.mjs +91 -102
  103. package/fesm2022/form-field.mjs.map +1 -1
  104. package/fesm2022/grid-list/testing.mjs.map +1 -1
  105. package/fesm2022/grid-list.mjs +39 -49
  106. package/fesm2022/grid-list.mjs.map +1 -1
  107. package/fesm2022/icon/testing.mjs +7 -7
  108. package/fesm2022/icon/testing.mjs.map +1 -1
  109. package/fesm2022/icon.mjs +22 -31
  110. package/fesm2022/icon.mjs.map +1 -1
  111. package/fesm2022/input/testing.mjs.map +1 -1
  112. package/fesm2022/input.mjs +58 -59
  113. package/fesm2022/input.mjs.map +1 -1
  114. package/fesm2022/list/testing.mjs.map +1 -1
  115. package/fesm2022/list.mjs +112 -158
  116. package/fesm2022/list.mjs.map +1 -1
  117. package/fesm2022/material.mjs.map +1 -1
  118. package/fesm2022/menu/testing.mjs.map +1 -1
  119. package/fesm2022/menu.mjs +69 -118
  120. package/fesm2022/menu.mjs.map +1 -1
  121. package/fesm2022/paginator/testing.mjs +2 -2
  122. package/fesm2022/paginator/testing.mjs.map +1 -1
  123. package/fesm2022/paginator.mjs +11 -11
  124. package/fesm2022/paginator.mjs.map +1 -1
  125. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  126. package/fesm2022/progress-bar.mjs +19 -26
  127. package/fesm2022/progress-bar.mjs.map +1 -1
  128. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  129. package/fesm2022/progress-spinner.mjs +15 -21
  130. package/fesm2022/progress-spinner.mjs.map +1 -1
  131. package/fesm2022/radio/testing.mjs.map +1 -1
  132. package/fesm2022/radio.mjs +33 -45
  133. package/fesm2022/radio.mjs.map +1 -1
  134. package/fesm2022/select/testing.mjs.map +1 -1
  135. package/fesm2022/select.mjs +36 -69
  136. package/fesm2022/select.mjs.map +1 -1
  137. package/fesm2022/sidenav/testing.mjs.map +1 -1
  138. package/fesm2022/sidenav.mjs +72 -94
  139. package/fesm2022/sidenav.mjs.map +1 -1
  140. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  141. package/fesm2022/slide-toggle.mjs +31 -38
  142. package/fesm2022/slide-toggle.mjs.map +1 -1
  143. package/fesm2022/slider/testing.mjs.map +1 -1
  144. package/fesm2022/slider.mjs +66 -74
  145. package/fesm2022/slider.mjs.map +1 -1
  146. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  147. package/fesm2022/snack-bar.mjs +52 -68
  148. package/fesm2022/snack-bar.mjs.map +1 -1
  149. package/fesm2022/sort/testing.mjs.map +1 -1
  150. package/fesm2022/sort.mjs +34 -52
  151. package/fesm2022/sort.mjs.map +1 -1
  152. package/fesm2022/stepper/testing.mjs.map +1 -1
  153. package/fesm2022/stepper.mjs +63 -77
  154. package/fesm2022/stepper.mjs.map +1 -1
  155. package/fesm2022/table/testing.mjs.map +1 -1
  156. package/fesm2022/table.mjs +59 -75
  157. package/fesm2022/table.mjs.map +1 -1
  158. package/fesm2022/tabs/testing.mjs.map +1 -1
  159. package/fesm2022/tabs.mjs +140 -199
  160. package/fesm2022/tabs.mjs.map +1 -1
  161. package/fesm2022/timepicker/testing.mjs +196 -0
  162. package/fesm2022/timepicker/testing.mjs.map +1 -0
  163. package/fesm2022/timepicker.mjs +842 -0
  164. package/fesm2022/timepicker.mjs.map +1 -0
  165. package/fesm2022/toolbar/testing.mjs.map +1 -1
  166. package/fesm2022/toolbar.mjs +18 -23
  167. package/fesm2022/toolbar.mjs.map +1 -1
  168. package/fesm2022/tooltip/testing.mjs.map +1 -1
  169. package/fesm2022/tooltip.mjs +69 -75
  170. package/fesm2022/tooltip.mjs.map +1 -1
  171. package/fesm2022/tree/testing.mjs.map +1 -1
  172. package/fesm2022/tree.mjs +36 -69
  173. package/fesm2022/tree.mjs.map +1 -1
  174. package/form-field/_form-field-high-contrast.scss +4 -4
  175. package/form-field/_form-field-theme.scss +114 -61
  176. package/form-field/_mdc-text-field-structure.scss +51 -49
  177. package/form-field/index.d.ts +13 -25
  178. package/grid-list/_grid-list-theme.scss +25 -15
  179. package/grid-list/index.d.ts +6 -8
  180. package/icon/_icon-theme.scss +22 -14
  181. package/icon/index.d.ts +3 -3
  182. package/input/_input-theme.scss +18 -11
  183. package/input/index.d.ts +6 -8
  184. package/list/_list-inherited-structure.scss +1 -13
  185. package/list/_list-item-hcm-indicator.scss +1 -1
  186. package/list/_list-theme.scss +89 -47
  187. package/list/index.d.ts +10 -14
  188. package/menu/_menu-theme.scss +33 -21
  189. package/menu/index.d.ts +15 -50
  190. package/package.json +10 -146
  191. package/paginator/_paginator-theme.scss +39 -23
  192. package/prebuilt-themes/azure-blue.css +1 -1
  193. package/prebuilt-themes/cyan-orange.css +1 -1
  194. package/prebuilt-themes/deeppurple-amber.css +1 -1
  195. package/prebuilt-themes/indigo-pink.css +1 -1
  196. package/prebuilt-themes/magenta-violet.css +1 -1
  197. package/prebuilt-themes/pink-bluegrey.css +1 -1
  198. package/prebuilt-themes/purple-green.css +1 -1
  199. package/prebuilt-themes/rose-red.css +1 -1
  200. package/progress-bar/_progress-bar-theme.scss +20 -16
  201. package/progress-bar/index.d.ts +3 -5
  202. package/progress-spinner/_progress-spinner-theme.scss +41 -25
  203. package/progress-spinner/index.d.ts +2 -2
  204. package/radio/_radio-theme.scss +60 -32
  205. package/radio/index.d.ts +5 -8
  206. package/schematics/collection.json +3 -3
  207. package/schematics/ng-add/fonts/material-fonts.d.ts +1 -1
  208. package/schematics/ng-add/fonts/material-fonts.js +2 -2
  209. package/schematics/ng-add/fonts/material-fonts.mjs +2 -2
  210. package/schematics/ng-add/index.d.ts +1 -1
  211. package/schematics/ng-add/index.js +3 -3
  212. package/schematics/ng-add/index.mjs +3 -3
  213. package/schematics/ng-add/package-config.d.ts +1 -1
  214. package/schematics/ng-add/package-config.js +2 -2
  215. package/schematics/ng-add/package-config.mjs +2 -2
  216. package/schematics/ng-add/schema.d.ts +1 -1
  217. package/schematics/ng-add/schema.js +2 -2
  218. package/schematics/ng-add/schema.mjs +2 -2
  219. package/schematics/ng-add/setup-project.d.ts +1 -1
  220. package/schematics/ng-add/setup-project.js +3 -3
  221. package/schematics/ng-add/setup-project.mjs +3 -3
  222. package/schematics/ng-add/theming/create-custom-theme.d.ts +1 -1
  223. package/schematics/ng-add/theming/create-custom-theme.js +2 -7
  224. package/schematics/ng-add/theming/create-custom-theme.mjs +2 -7
  225. package/schematics/ng-add/theming/theming.d.ts +1 -1
  226. package/schematics/ng-add/theming/theming.js +2 -2
  227. package/schematics/ng-add/theming/theming.mjs +2 -2
  228. package/schematics/ng-generate/address-form/index.d.ts +1 -1
  229. package/schematics/ng-generate/address-form/index.js +2 -2
  230. package/schematics/ng-generate/address-form/index.mjs +2 -2
  231. package/schematics/ng-generate/address-form/schema.d.ts +1 -1
  232. package/schematics/ng-generate/address-form/schema.js +2 -2
  233. package/schematics/ng-generate/address-form/schema.mjs +2 -2
  234. package/schematics/ng-generate/dashboard/index.d.ts +1 -1
  235. package/schematics/ng-generate/dashboard/index.js +2 -2
  236. package/schematics/ng-generate/dashboard/index.mjs +2 -2
  237. package/schematics/ng-generate/dashboard/schema.d.ts +1 -1
  238. package/schematics/ng-generate/dashboard/schema.js +2 -2
  239. package/schematics/ng-generate/dashboard/schema.mjs +2 -2
  240. package/schematics/ng-generate/navigation/index.d.ts +1 -1
  241. package/schematics/ng-generate/navigation/index.js +2 -2
  242. package/schematics/ng-generate/navigation/index.mjs +2 -2
  243. package/schematics/ng-generate/navigation/schema.d.ts +1 -1
  244. package/schematics/ng-generate/navigation/schema.js +2 -2
  245. package/schematics/ng-generate/navigation/schema.mjs +2 -2
  246. package/schematics/ng-generate/table/index.d.ts +1 -1
  247. package/schematics/ng-generate/table/index.js +2 -2
  248. package/schematics/ng-generate/table/index.mjs +2 -2
  249. package/schematics/ng-generate/table/schema.d.ts +1 -1
  250. package/schematics/ng-generate/table/schema.js +2 -2
  251. package/schematics/ng-generate/table/schema.mjs +2 -2
  252. package/schematics/ng-generate/{m3-theme → theme-color}/index_bundled.js +481 -289
  253. package/schematics/ng-generate/theme-color/index_bundled.js.map +7 -0
  254. package/schematics/ng-generate/{m3-theme → theme-color}/schema.json +7 -13
  255. package/schematics/ng-generate/tree/index.d.ts +1 -1
  256. package/schematics/ng-generate/tree/index.js +2 -2
  257. package/schematics/ng-generate/tree/index.mjs +2 -2
  258. package/schematics/ng-generate/tree/schema.d.ts +1 -1
  259. package/schematics/ng-generate/tree/schema.js +2 -2
  260. package/schematics/ng-generate/tree/schema.mjs +2 -2
  261. package/schematics/ng-update/index_bundled.js +6518 -2
  262. package/schematics/ng-update/index_bundled.js.map +4 -4
  263. package/select/_select-theme.scss +38 -25
  264. package/select/index.d.ts +4 -14
  265. package/sidenav/_sidenav-theme.scss +28 -17
  266. package/sidenav/index.d.ts +7 -17
  267. package/slide-toggle/_slide-toggle-theme.scss +52 -28
  268. package/slide-toggle/index.d.ts +2 -2
  269. package/slider/_slider-theme.scss +62 -38
  270. package/slider/index.d.ts +8 -8
  271. package/snack-bar/_snack-bar-theme.scss +29 -17
  272. package/snack-bar/index.d.ts +6 -22
  273. package/sort/_sort-theme.scss +33 -21
  274. package/sort/index.d.ts +4 -20
  275. package/stepper/_stepper-theme.scss +40 -27
  276. package/stepper/index.d.ts +6 -13
  277. package/table/_table-theme.scss +36 -23
  278. package/tabs/_tabs-common.scss +2 -2
  279. package/tabs/_tabs-theme.scss +97 -50
  280. package/tabs/index.d.ts +28 -35
  281. package/timepicker/_timepicker-theme.scss +124 -0
  282. package/timepicker/index.d.ts +297 -0
  283. package/timepicker/testing/index.d.ts +113 -0
  284. package/toolbar/_toolbar-theme.scss +35 -22
  285. package/toolbar/index.d.ts +3 -4
  286. package/tooltip/_tooltip-theme.scss +18 -15
  287. package/tooltip/index.d.ts +5 -12
  288. package/tree/_tree-theme.scss +33 -21
  289. package/tree/index.d.ts +5 -18
  290. package/core/focus-indicators/_focus-indicators-theme.scss +0 -11
  291. package/core/focus-indicators/_focus-indicators.scss +0 -6
  292. package/esm2022/autocomplete/animations.mjs +0 -24
  293. package/esm2022/autocomplete/autocomplete-origin.mjs +0 -31
  294. package/esm2022/autocomplete/autocomplete-trigger.mjs +0 -902
  295. package/esm2022/autocomplete/autocomplete.mjs +0 -238
  296. package/esm2022/autocomplete/autocomplete_public_index.mjs +0 -5
  297. package/esm2022/autocomplete/index.mjs +0 -9
  298. package/esm2022/autocomplete/module.mjs +0 -61
  299. package/esm2022/autocomplete/public-api.mjs +0 -14
  300. package/esm2022/autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  301. package/esm2022/autocomplete/testing/autocomplete-harness.mjs +0 -105
  302. package/esm2022/autocomplete/testing/index.mjs +0 -9
  303. package/esm2022/autocomplete/testing/public-api.mjs +0 -10
  304. package/esm2022/badge/badge-module.mjs +0 -27
  305. package/esm2022/badge/badge.mjs +0 -288
  306. package/esm2022/badge/badge_public_index.mjs +0 -5
  307. package/esm2022/badge/index.mjs +0 -9
  308. package/esm2022/badge/public-api.mjs +0 -10
  309. package/esm2022/badge/testing/badge-harness-filters.mjs +0 -9
  310. package/esm2022/badge/testing/badge-harness.mjs +0 -71
  311. package/esm2022/badge/testing/index.mjs +0 -9
  312. package/esm2022/badge/testing/public-api.mjs +0 -10
  313. package/esm2022/bottom-sheet/bottom-sheet-animations.mjs +0 -26
  314. package/esm2022/bottom-sheet/bottom-sheet-config.mjs +0 -48
  315. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +0 -85
  316. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +0 -28
  317. package/esm2022/bottom-sheet/bottom-sheet-ref.mjs +0 -104
  318. package/esm2022/bottom-sheet/bottom-sheet.mjs +0 -115
  319. package/esm2022/bottom-sheet/bottom-sheet_public_index.mjs +0 -5
  320. package/esm2022/bottom-sheet/index.mjs +0 -9
  321. package/esm2022/bottom-sheet/public-api.mjs +0 -14
  322. package/esm2022/bottom-sheet/testing/bottom-sheet-harness-filters.mjs +0 -9
  323. package/esm2022/bottom-sheet/testing/bottom-sheet-harness.mjs +0 -35
  324. package/esm2022/bottom-sheet/testing/index.mjs +0 -9
  325. package/esm2022/bottom-sheet/testing/public-api.mjs +0 -10
  326. package/esm2022/button/button-base.mjs +0 -230
  327. package/esm2022/button/button.mjs +0 -67
  328. package/esm2022/button/button_public_index.mjs +0 -5
  329. package/esm2022/button/fab.mjs +0 -166
  330. package/esm2022/button/icon-button.mjs +0 -56
  331. package/esm2022/button/index.mjs +0 -9
  332. package/esm2022/button/module.mjs +0 -65
  333. package/esm2022/button/public-api.mjs +0 -13
  334. package/esm2022/button/testing/button-harness-filters.mjs +0 -9
  335. package/esm2022/button/testing/button-harness.mjs +0 -80
  336. package/esm2022/button/testing/index.mjs +0 -9
  337. package/esm2022/button/testing/public-api.mjs +0 -10
  338. package/esm2022/button-toggle/button-toggle-module.mjs +0 -24
  339. package/esm2022/button-toggle/button-toggle.mjs +0 -651
  340. package/esm2022/button-toggle/button-toggle_public_index.mjs +0 -5
  341. package/esm2022/button-toggle/index.mjs +0 -9
  342. package/esm2022/button-toggle/public-api.mjs +0 -10
  343. package/esm2022/button-toggle/testing/button-toggle-group-harness-filters.mjs +0 -9
  344. package/esm2022/button-toggle/testing/button-toggle-group-harness.mjs +0 -47
  345. package/esm2022/button-toggle/testing/button-toggle-harness-filters.mjs +0 -9
  346. package/esm2022/button-toggle/testing/button-toggle-harness.mjs +0 -105
  347. package/esm2022/button-toggle/testing/index.mjs +0 -9
  348. package/esm2022/button-toggle/testing/public-api.mjs +0 -12
  349. package/esm2022/card/card.mjs +0 -273
  350. package/esm2022/card/card_public_index.mjs +0 -5
  351. package/esm2022/card/index.mjs +0 -9
  352. package/esm2022/card/module.mjs +0 -67
  353. package/esm2022/card/public-api.mjs +0 -10
  354. package/esm2022/card/testing/card-harness-filters.mjs +0 -9
  355. package/esm2022/card/testing/card-harness.mjs +0 -50
  356. package/esm2022/card/testing/index.mjs +0 -9
  357. package/esm2022/card/testing/public-api.mjs +0 -10
  358. package/esm2022/checkbox/checkbox-config.mjs +0 -22
  359. package/esm2022/checkbox/checkbox-required-validator.mjs +0 -41
  360. package/esm2022/checkbox/checkbox.mjs +0 -443
  361. package/esm2022/checkbox/checkbox_public_index.mjs +0 -5
  362. package/esm2022/checkbox/index.mjs +0 -9
  363. package/esm2022/checkbox/module.mjs +0 -41
  364. package/esm2022/checkbox/public-api.mjs +0 -12
  365. package/esm2022/checkbox/testing/checkbox-harness-filters.mjs +0 -9
  366. package/esm2022/checkbox/testing/checkbox-harness.mjs +0 -138
  367. package/esm2022/checkbox/testing/index.mjs +0 -9
  368. package/esm2022/checkbox/testing/public-api.mjs +0 -9
  369. package/esm2022/chips/chip-action.mjs +0 -113
  370. package/esm2022/chips/chip-edit-input.mjs +0 -61
  371. package/esm2022/chips/chip-grid.mjs +0 -420
  372. package/esm2022/chips/chip-icons.mjs +0 -107
  373. package/esm2022/chips/chip-input.mjs +0 -192
  374. package/esm2022/chips/chip-listbox.mjs +0 -369
  375. package/esm2022/chips/chip-option.mjs +0 -190
  376. package/esm2022/chips/chip-row.mjs +0 -173
  377. package/esm2022/chips/chip-set.mjs +0 -283
  378. package/esm2022/chips/chip-text-control.mjs +0 -9
  379. package/esm2022/chips/chip.mjs +0 -322
  380. package/esm2022/chips/chips_public_index.mjs +0 -5
  381. package/esm2022/chips/index.mjs +0 -9
  382. package/esm2022/chips/module.mjs +0 -85
  383. package/esm2022/chips/public-api.mjs +0 -20
  384. package/esm2022/chips/testing/chip-avatar-harness.mjs +0 -22
  385. package/esm2022/chips/testing/chip-edit-input-harness.mjs +0 -33
  386. package/esm2022/chips/testing/chip-grid-harness.mjs +0 -45
  387. package/esm2022/chips/testing/chip-harness-filters.mjs +0 -9
  388. package/esm2022/chips/testing/chip-harness.mjs +0 -62
  389. package/esm2022/chips/testing/chip-input-harness.mjs +0 -85
  390. package/esm2022/chips/testing/chip-listbox-harness.mjs +0 -61
  391. package/esm2022/chips/testing/chip-option-harness.mjs +0 -45
  392. package/esm2022/chips/testing/chip-remove-harness.mjs +0 -26
  393. package/esm2022/chips/testing/chip-row-harness.mjs +0 -40
  394. package/esm2022/chips/testing/chip-set-harness.mjs +0 -26
  395. package/esm2022/chips/testing/index.mjs +0 -9
  396. package/esm2022/chips/testing/public-api.mjs +0 -19
  397. package/esm2022/chips/tokens.mjs +0 -39
  398. package/esm2022/core/animation/animation.mjs +0 -21
  399. package/esm2022/core/common-behaviors/color.mjs +0 -33
  400. package/esm2022/core/common-behaviors/common-module.mjs +0 -127
  401. package/esm2022/core/common-behaviors/constructor.mjs +0 -9
  402. package/esm2022/core/common-behaviors/disable-ripple.mjs +0 -24
  403. package/esm2022/core/common-behaviors/disabled.mjs +0 -23
  404. package/esm2022/core/common-behaviors/error-state.mjs +0 -66
  405. package/esm2022/core/common-behaviors/index.mjs +0 -15
  406. package/esm2022/core/common-behaviors/initialized.mjs +0 -62
  407. package/esm2022/core/common-behaviors/tabindex.mjs +0 -25
  408. package/esm2022/core/core_public_index.mjs +0 -5
  409. package/esm2022/core/datetime/date-adapter.mjs +0 -109
  410. package/esm2022/core/datetime/date-formats.mjs +0 -10
  411. package/esm2022/core/datetime/index.mjs +0 -46
  412. package/esm2022/core/datetime/native-date-adapter.mjs +0 -221
  413. package/esm2022/core/datetime/native-date-formats.mjs +0 -19
  414. package/esm2022/core/error/error-options.mjs +0 -33
  415. package/esm2022/core/index.mjs +0 -9
  416. package/esm2022/core/internal-form-field/internal-form-field.mjs +0 -29
  417. package/esm2022/core/line/line.mjs +0 -64
  418. package/esm2022/core/option/index.mjs +0 -30
  419. package/esm2022/core/option/optgroup.mjs +0 -71
  420. package/esm2022/core/option/option-parent.mjs +0 -13
  421. package/esm2022/core/option/option.mjs +0 -283
  422. package/esm2022/core/private/index.mjs +0 -9
  423. package/esm2022/core/private/ripple-loader.mjs +0 -160
  424. package/esm2022/core/public-api.mjs +0 -19
  425. package/esm2022/core/ripple/index.mjs +0 -27
  426. package/esm2022/core/ripple/ripple-event-manager.mjs +0 -69
  427. package/esm2022/core/ripple/ripple-ref.mjs +0 -39
  428. package/esm2022/core/ripple/ripple-renderer.mjs +0 -354
  429. package/esm2022/core/ripple/ripple.mjs +0 -156
  430. package/esm2022/core/selection/index.mjs +0 -10
  431. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +0 -24
  432. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +0 -62
  433. package/esm2022/core/testing/index.mjs +0 -9
  434. package/esm2022/core/testing/optgroup-harness-filters.mjs +0 -9
  435. package/esm2022/core/testing/optgroup-harness.mjs +0 -43
  436. package/esm2022/core/testing/option-harness-filters.mjs +0 -9
  437. package/esm2022/core/testing/option-harness.mjs +0 -53
  438. package/esm2022/core/testing/public-api.mjs +0 -12
  439. package/esm2022/core/version.mjs +0 -11
  440. package/esm2022/datepicker/aria-accessible-name.mjs +0 -159
  441. package/esm2022/datepicker/calendar-body.mjs +0 -509
  442. package/esm2022/datepicker/calendar.mjs +0 -426
  443. package/esm2022/datepicker/date-range-input-parts.mjs +0 -372
  444. package/esm2022/datepicker/date-range-input.mjs +0 -369
  445. package/esm2022/datepicker/date-range-picker.mjs +0 -51
  446. package/esm2022/datepicker/date-range-selection-strategy.mjs +0 -97
  447. package/esm2022/datepicker/date-selection-model.mjs +0 -188
  448. package/esm2022/datepicker/datepicker-actions.mjs +0 -91
  449. package/esm2022/datepicker/datepicker-animations.mjs +0 -35
  450. package/esm2022/datepicker/datepicker-base.mjs +0 -609
  451. package/esm2022/datepicker/datepicker-errors.mjs +0 -14
  452. package/esm2022/datepicker/datepicker-input-base.mjs +0 -311
  453. package/esm2022/datepicker/datepicker-input.mjs +0 -200
  454. package/esm2022/datepicker/datepicker-intl.mjs +0 -69
  455. package/esm2022/datepicker/datepicker-module.mjs +0 -138
  456. package/esm2022/datepicker/datepicker-toggle.mjs +0 -113
  457. package/esm2022/datepicker/datepicker.mjs +0 -38
  458. package/esm2022/datepicker/datepicker_public_index.mjs +0 -5
  459. package/esm2022/datepicker/index.mjs +0 -9
  460. package/esm2022/datepicker/month-view.mjs +0 -460
  461. package/esm2022/datepicker/multi-year-view.mjs +0 -330
  462. package/esm2022/datepicker/public-api.mjs +0 -27
  463. package/esm2022/datepicker/testing/calendar-cell-harness.mjs +0 -138
  464. package/esm2022/datepicker/testing/calendar-harness.mjs +0 -83
  465. package/esm2022/datepicker/testing/date-range-input-harness.mjs +0 -98
  466. package/esm2022/datepicker/testing/datepicker-harness-filters.mjs +0 -9
  467. package/esm2022/datepicker/testing/datepicker-input-harness-base.mjs +0 -81
  468. package/esm2022/datepicker/testing/datepicker-input-harness.mjs +0 -58
  469. package/esm2022/datepicker/testing/datepicker-toggle-harness.mjs +0 -41
  470. package/esm2022/datepicker/testing/datepicker-trigger-harness-base.mjs +0 -65
  471. package/esm2022/datepicker/testing/index.mjs +0 -9
  472. package/esm2022/datepicker/testing/public-api.mjs +0 -14
  473. package/esm2022/datepicker/year-view.mjs +0 -324
  474. package/esm2022/dialog/dialog-animations.mjs +0 -38
  475. package/esm2022/dialog/dialog-config.mjs +0 -59
  476. package/esm2022/dialog/dialog-container.mjs +0 -253
  477. package/esm2022/dialog/dialog-content-directives.mjs +0 -212
  478. package/esm2022/dialog/dialog-ref.mjs +0 -177
  479. package/esm2022/dialog/dialog.mjs +0 -212
  480. package/esm2022/dialog/dialog_public_index.mjs +0 -5
  481. package/esm2022/dialog/index.mjs +0 -9
  482. package/esm2022/dialog/module.mjs +0 -45
  483. package/esm2022/dialog/public-api.mjs +0 -15
  484. package/esm2022/dialog/testing/dialog-harness-filters.mjs +0 -9
  485. package/esm2022/dialog/testing/dialog-harness.mjs +0 -84
  486. package/esm2022/dialog/testing/dialog-opener.mjs +0 -58
  487. package/esm2022/dialog/testing/index.mjs +0 -10
  488. package/esm2022/dialog/testing/public-api.mjs +0 -10
  489. package/esm2022/divider/divider-module.mjs +0 -24
  490. package/esm2022/divider/divider.mjs +0 -48
  491. package/esm2022/divider/divider_public_index.mjs +0 -5
  492. package/esm2022/divider/index.mjs +0 -9
  493. package/esm2022/divider/public-api.mjs +0 -10
  494. package/esm2022/divider/testing/divider-harness-filters.mjs +0 -9
  495. package/esm2022/divider/testing/divider-harness.mjs +0 -22
  496. package/esm2022/divider/testing/index.mjs +0 -9
  497. package/esm2022/divider/testing/public-api.mjs +0 -10
  498. package/esm2022/expansion/accordion-base.mjs +0 -14
  499. package/esm2022/expansion/accordion.mjs +0 -96
  500. package/esm2022/expansion/expansion-animations.mjs +0 -51
  501. package/esm2022/expansion/expansion-module.mjs +0 -65
  502. package/esm2022/expansion/expansion-panel-base.mjs +0 -14
  503. package/esm2022/expansion/expansion-panel-content.mjs +0 -35
  504. package/esm2022/expansion/expansion-panel-header.mjs +0 -218
  505. package/esm2022/expansion/expansion-panel.mjs +0 -211
  506. package/esm2022/expansion/expansion_public_index.mjs +0 -5
  507. package/esm2022/expansion/index.mjs +0 -9
  508. package/esm2022/expansion/public-api.mjs +0 -16
  509. package/esm2022/expansion/testing/accordion-harness.mjs +0 -31
  510. package/esm2022/expansion/testing/expansion-harness-filters.mjs +0 -9
  511. package/esm2022/expansion/testing/expansion-harness.mjs +0 -128
  512. package/esm2022/expansion/testing/index.mjs +0 -9
  513. package/esm2022/expansion/testing/public-api.mjs +0 -11
  514. package/esm2022/form-field/directives/error.mjs +0 -48
  515. package/esm2022/form-field/directives/floating-label.mjs +0 -135
  516. package/esm2022/form-field/directives/hint.mjs +0 -40
  517. package/esm2022/form-field/directives/label.mjs +0 -22
  518. package/esm2022/form-field/directives/line-ripple.mjs +0 -60
  519. package/esm2022/form-field/directives/notched-outline.mjs +0 -66
  520. package/esm2022/form-field/directives/prefix.mjs +0 -38
  521. package/esm2022/form-field/directives/suffix.mjs +0 -38
  522. package/esm2022/form-field/form-field-animations.mjs +0 -24
  523. package/esm2022/form-field/form-field-control.mjs +0 -11
  524. package/esm2022/form-field/form-field-errors.mjs +0 -20
  525. package/esm2022/form-field/form-field.mjs +0 -620
  526. package/esm2022/form-field/form-field_public_index.mjs +0 -5
  527. package/esm2022/form-field/index.mjs +0 -9
  528. package/esm2022/form-field/module.mjs +0 -51
  529. package/esm2022/form-field/public-api.mjs +0 -18
  530. package/esm2022/form-field/testing/control/form-field-control-harness.mjs +0 -15
  531. package/esm2022/form-field/testing/control/index.mjs +0 -9
  532. package/esm2022/form-field/testing/error-harness.mjs +0 -29
  533. package/esm2022/form-field/testing/form-field-harness-filters.mjs +0 -9
  534. package/esm2022/form-field/testing/form-field-harness.mjs +0 -179
  535. package/esm2022/form-field/testing/index.mjs +0 -9
  536. package/esm2022/form-field/testing/public-api.mjs +0 -15
  537. package/esm2022/grid-list/grid-list-base.mjs +0 -14
  538. package/esm2022/grid-list/grid-list-module.mjs +0 -59
  539. package/esm2022/grid-list/grid-list.mjs +0 -146
  540. package/esm2022/grid-list/grid-list_public_index.mjs +0 -5
  541. package/esm2022/grid-list/grid-tile.mjs +0 -128
  542. package/esm2022/grid-list/index.mjs +0 -9
  543. package/esm2022/grid-list/public-api.mjs +0 -14
  544. package/esm2022/grid-list/testing/grid-list-harness-filters.mjs +0 -9
  545. package/esm2022/grid-list/testing/grid-list-harness.mjs +0 -76
  546. package/esm2022/grid-list/testing/grid-tile-harness.mjs +0 -71
  547. package/esm2022/grid-list/testing/index.mjs +0 -9
  548. package/esm2022/grid-list/testing/public-api.mjs +0 -11
  549. package/esm2022/grid-list/tile-coordinator.mjs +0 -145
  550. package/esm2022/grid-list/tile-styler.mjs +0 -231
  551. package/esm2022/icon/fake-svgs.mjs +0 -62
  552. package/esm2022/icon/icon-module.mjs +0 -24
  553. package/esm2022/icon/icon-registry.mjs +0 -592
  554. package/esm2022/icon/icon.mjs +0 -379
  555. package/esm2022/icon/icon_public_index.mjs +0 -5
  556. package/esm2022/icon/index.mjs +0 -9
  557. package/esm2022/icon/public-api.mjs +0 -11
  558. package/esm2022/icon/testing/fake-icon-registry.mjs +0 -92
  559. package/esm2022/icon/testing/icon-harness-filters.mjs +0 -14
  560. package/esm2022/icon/testing/icon-harness.mjs +0 -60
  561. package/esm2022/icon/testing/index.mjs +0 -9
  562. package/esm2022/icon/testing/public-api.mjs +0 -11
  563. package/esm2022/icon/testing/testing_public_index.mjs +0 -5
  564. package/esm2022/icon/trusted-types.mjs +0 -43
  565. package/esm2022/index.mjs +0 -14
  566. package/esm2022/input/index.mjs +0 -9
  567. package/esm2022/input/input-errors.mjs +0 -12
  568. package/esm2022/input/input-value-accessor.mjs +0 -16
  569. package/esm2022/input/input.mjs +0 -524
  570. package/esm2022/input/input_public_index.mjs +0 -5
  571. package/esm2022/input/module.mjs +0 -26
  572. package/esm2022/input/public-api.mjs +0 -14
  573. package/esm2022/input/testing/index.mjs +0 -9
  574. package/esm2022/input/testing/input-harness-filters.mjs +0 -9
  575. package/esm2022/input/testing/input-harness.mjs +0 -119
  576. package/esm2022/input/testing/native-option-harness.mjs +0 -42
  577. package/esm2022/input/testing/native-select-harness-filters.mjs +0 -9
  578. package/esm2022/input/testing/native-select-harness.mjs +0 -79
  579. package/esm2022/input/testing/public-api.mjs +0 -13
  580. package/esm2022/list/action-list.mjs +0 -31
  581. package/esm2022/list/index.mjs +0 -9
  582. package/esm2022/list/list-base.mjs +0 -284
  583. package/esm2022/list/list-item-sections.mjs +0 -144
  584. package/esm2022/list/list-module.mjs +0 -97
  585. package/esm2022/list/list-option-types.mjs +0 -16
  586. package/esm2022/list/list-option.mjs +0 -295
  587. package/esm2022/list/list.mjs +0 -103
  588. package/esm2022/list/list_public_index.mjs +0 -5
  589. package/esm2022/list/nav-list.mjs +0 -37
  590. package/esm2022/list/public-api.mjs +0 -18
  591. package/esm2022/list/selection-list.mjs +0 -391
  592. package/esm2022/list/subheader.mjs +0 -28
  593. package/esm2022/list/testing/action-list-harness.mjs +0 -59
  594. package/esm2022/list/testing/index.mjs +0 -9
  595. package/esm2022/list/testing/list-harness-base.mjs +0 -95
  596. package/esm2022/list/testing/list-harness-filters.mjs +0 -9
  597. package/esm2022/list/testing/list-harness.mjs +0 -41
  598. package/esm2022/list/testing/list-item-harness-base.mjs +0 -162
  599. package/esm2022/list/testing/nav-list-harness.mjs +0 -69
  600. package/esm2022/list/testing/public-api.mjs +0 -14
  601. package/esm2022/list/testing/selection-list-harness.mjs +0 -122
  602. package/esm2022/list/tokens.mjs +0 -11
  603. package/esm2022/menu/index.mjs +0 -9
  604. package/esm2022/menu/menu-animations.mjs +0 -61
  605. package/esm2022/menu/menu-content.mjs +0 -87
  606. package/esm2022/menu/menu-errors.mjs +0 -35
  607. package/esm2022/menu/menu-item.mjs +0 -148
  608. package/esm2022/menu/menu-panel.mjs +0 -14
  609. package/esm2022/menu/menu-positions.mjs +0 -9
  610. package/esm2022/menu/menu-trigger.mjs +0 -542
  611. package/esm2022/menu/menu.mjs +0 -405
  612. package/esm2022/menu/menu_public_index.mjs +0 -5
  613. package/esm2022/menu/module.mjs +0 -63
  614. package/esm2022/menu/public-api.mjs +0 -16
  615. package/esm2022/menu/testing/index.mjs +0 -9
  616. package/esm2022/menu/testing/menu-harness-filters.mjs +0 -9
  617. package/esm2022/menu/testing/menu-harness.mjs +0 -166
  618. package/esm2022/menu/testing/public-api.mjs +0 -10
  619. package/esm2022/paginator/index.mjs +0 -9
  620. package/esm2022/paginator/module.mjs +0 -28
  621. package/esm2022/paginator/paginator-intl.mjs +0 -62
  622. package/esm2022/paginator/paginator.mjs +0 -266
  623. package/esm2022/paginator/paginator_public_index.mjs +0 -5
  624. package/esm2022/paginator/public-api.mjs +0 -11
  625. package/esm2022/paginator/testing/index.mjs +0 -9
  626. package/esm2022/paginator/testing/paginator-harness-filters.mjs +0 -9
  627. package/esm2022/paginator/testing/paginator-harness.mjs +0 -98
  628. package/esm2022/paginator/testing/public-api.mjs +0 -10
  629. package/esm2022/progress-bar/index.mjs +0 -9
  630. package/esm2022/progress-bar/module.mjs +0 -24
  631. package/esm2022/progress-bar/progress-bar.mjs +0 -181
  632. package/esm2022/progress-bar/progress-bar_public_index.mjs +0 -5
  633. package/esm2022/progress-bar/public-api.mjs +0 -10
  634. package/esm2022/progress-bar/testing/index.mjs +0 -9
  635. package/esm2022/progress-bar/testing/progress-bar-harness-filters.mjs +0 -9
  636. package/esm2022/progress-bar/testing/progress-bar-harness.mjs +0 -33
  637. package/esm2022/progress-bar/testing/public-api.mjs +0 -10
  638. package/esm2022/progress-bar/testing/testing_public_index.mjs +0 -5
  639. package/esm2022/progress-spinner/index.mjs +0 -9
  640. package/esm2022/progress-spinner/module.mjs +0 -25
  641. package/esm2022/progress-spinner/progress-spinner.mjs +0 -166
  642. package/esm2022/progress-spinner/progress-spinner_public_index.mjs +0 -5
  643. package/esm2022/progress-spinner/public-api.mjs +0 -10
  644. package/esm2022/progress-spinner/testing/index.mjs +0 -9
  645. package/esm2022/progress-spinner/testing/progress-spinner-harness-filters.mjs +0 -9
  646. package/esm2022/progress-spinner/testing/progress-spinner-harness.mjs +0 -35
  647. package/esm2022/progress-spinner/testing/public-api.mjs +0 -10
  648. package/esm2022/progress-spinner/testing/testing_public_index.mjs +0 -5
  649. package/esm2022/radio/index.mjs +0 -9
  650. package/esm2022/radio/module.mjs +0 -25
  651. package/esm2022/radio/public-api.mjs +0 -10
  652. package/esm2022/radio/radio.mjs +0 -680
  653. package/esm2022/radio/radio_public_index.mjs +0 -5
  654. package/esm2022/radio/testing/index.mjs +0 -9
  655. package/esm2022/radio/testing/public-api.mjs +0 -10
  656. package/esm2022/radio/testing/radio-harness-filters.mjs +0 -9
  657. package/esm2022/radio/testing/radio-harness.mjs +0 -228
  658. package/esm2022/select/index.mjs +0 -9
  659. package/esm2022/select/module.mjs +0 -59
  660. package/esm2022/select/public-api.mjs +0 -15
  661. package/esm2022/select/select-animations.mjs +0 -38
  662. package/esm2022/select/select-errors.mjs +0 -35
  663. package/esm2022/select/select.mjs +0 -1160
  664. package/esm2022/select/select_public_index.mjs +0 -5
  665. package/esm2022/select/testing/index.mjs +0 -9
  666. package/esm2022/select/testing/public-api.mjs +0 -10
  667. package/esm2022/select/testing/select-harness-filters.mjs +0 -9
  668. package/esm2022/select/testing/select-harness.mjs +0 -129
  669. package/esm2022/sidenav/drawer-animations.mjs +0 -33
  670. package/esm2022/sidenav/drawer.mjs +0 -863
  671. package/esm2022/sidenav/index.mjs +0 -9
  672. package/esm2022/sidenav/public-api.mjs +0 -12
  673. package/esm2022/sidenav/sidenav-module.mjs +0 -60
  674. package/esm2022/sidenav/sidenav.mjs +0 -148
  675. package/esm2022/sidenav/sidenav_public_index.mjs +0 -5
  676. package/esm2022/sidenav/testing/drawer-container-harness.mjs +0 -36
  677. package/esm2022/sidenav/testing/drawer-content-harness.mjs +0 -23
  678. package/esm2022/sidenav/testing/drawer-harness-filters.mjs +0 -9
  679. package/esm2022/sidenav/testing/drawer-harness.mjs +0 -49
  680. package/esm2022/sidenav/testing/index.mjs +0 -9
  681. package/esm2022/sidenav/testing/public-api.mjs +0 -15
  682. package/esm2022/sidenav/testing/sidenav-container-harness.mjs +0 -36
  683. package/esm2022/sidenav/testing/sidenav-content-harness.mjs +0 -23
  684. package/esm2022/sidenav/testing/sidenav-harness.mjs +0 -28
  685. package/esm2022/slide-toggle/index.mjs +0 -9
  686. package/esm2022/slide-toggle/module.mjs +0 -41
  687. package/esm2022/slide-toggle/public-api.mjs +0 -12
  688. package/esm2022/slide-toggle/slide-toggle-config.mjs +0 -14
  689. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +0 -44
  690. package/esm2022/slide-toggle/slide-toggle.mjs +0 -273
  691. package/esm2022/slide-toggle/slide-toggle_public_index.mjs +0 -5
  692. package/esm2022/slide-toggle/testing/index.mjs +0 -9
  693. package/esm2022/slide-toggle/testing/public-api.mjs +0 -10
  694. package/esm2022/slide-toggle/testing/slide-toggle-harness-filters.mjs +0 -9
  695. package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +0 -110
  696. package/esm2022/slider/index.mjs +0 -9
  697. package/esm2022/slider/module.mjs +0 -39
  698. package/esm2022/slider/public-api.mjs +0 -13
  699. package/esm2022/slider/slider-input.mjs +0 -701
  700. package/esm2022/slider/slider-interface.mjs +0 -56
  701. package/esm2022/slider/slider-thumb.mjs +0 -231
  702. package/esm2022/slider/slider.mjs +0 -746
  703. package/esm2022/slider/slider_public_index.mjs +0 -5
  704. package/esm2022/slider/testing/index.mjs +0 -9
  705. package/esm2022/slider/testing/public-api.mjs +0 -11
  706. package/esm2022/slider/testing/slider-harness-filters.mjs +0 -7
  707. package/esm2022/slider/testing/slider-harness.mjs +0 -67
  708. package/esm2022/slider/testing/slider-thumb-harness.mjs +0 -95
  709. package/esm2022/snack-bar/index.mjs +0 -9
  710. package/esm2022/snack-bar/module.mjs +0 -47
  711. package/esm2022/snack-bar/public-api.mjs +0 -16
  712. package/esm2022/snack-bar/simple-snack-bar.mjs +0 -40
  713. package/esm2022/snack-bar/snack-bar-animations.mjs +0 -30
  714. package/esm2022/snack-bar/snack-bar-config.mjs +0 -33
  715. package/esm2022/snack-bar/snack-bar-container.mjs +0 -277
  716. package/esm2022/snack-bar/snack-bar-content.mjs +0 -55
  717. package/esm2022/snack-bar/snack-bar-ref.mjs +0 -89
  718. package/esm2022/snack-bar/snack-bar.mjs +0 -267
  719. package/esm2022/snack-bar/snack-bar_public_index.mjs +0 -5
  720. package/esm2022/snack-bar/testing/index.mjs +0 -9
  721. package/esm2022/snack-bar/testing/public-api.mjs +0 -10
  722. package/esm2022/snack-bar/testing/snack-bar-harness-filters.mjs +0 -9
  723. package/esm2022/snack-bar/testing/snack-bar-harness.mjs +0 -101
  724. package/esm2022/sort/index.mjs +0 -9
  725. package/esm2022/sort/public-api.mjs +0 -14
  726. package/esm2022/sort/sort-animations.mjs +0 -69
  727. package/esm2022/sort/sort-direction.mjs +0 -9
  728. package/esm2022/sort/sort-errors.mjs +0 -24
  729. package/esm2022/sort/sort-header-intl.mjs +0 -41
  730. package/esm2022/sort/sort-header.mjs +0 -317
  731. package/esm2022/sort/sort-module.mjs +0 -27
  732. package/esm2022/sort/sort.mjs +0 -155
  733. package/esm2022/sort/sort_public_index.mjs +0 -5
  734. package/esm2022/sort/testing/index.mjs +0 -9
  735. package/esm2022/sort/testing/public-api.mjs +0 -11
  736. package/esm2022/sort/testing/sort-harness-filters.mjs +0 -2
  737. package/esm2022/sort/testing/sort-harness.mjs +0 -36
  738. package/esm2022/sort/testing/sort-header-harness.mjs +0 -56
  739. package/esm2022/stepper/index.mjs +0 -9
  740. package/esm2022/stepper/public-api.mjs +0 -17
  741. package/esm2022/stepper/step-content.mjs +0 -27
  742. package/esm2022/stepper/step-header.mjs +0 -105
  743. package/esm2022/stepper/step-label.mjs +0 -22
  744. package/esm2022/stepper/stepper-animations.mjs +0 -47
  745. package/esm2022/stepper/stepper-button.mjs +0 -43
  746. package/esm2022/stepper/stepper-icon.mjs +0 -30
  747. package/esm2022/stepper/stepper-intl.mjs +0 -43
  748. package/esm2022/stepper/stepper-module.mjs +0 -88
  749. package/esm2022/stepper/stepper.mjs +0 -205
  750. package/esm2022/stepper/stepper_public_index.mjs +0 -5
  751. package/esm2022/stepper/testing/index.mjs +0 -9
  752. package/esm2022/stepper/testing/public-api.mjs +0 -12
  753. package/esm2022/stepper/testing/step-harness-filters.mjs +0 -7
  754. package/esm2022/stepper/testing/step-harness.mjs +0 -90
  755. package/esm2022/stepper/testing/stepper-button-harnesses.mjs +0 -48
  756. package/esm2022/stepper/testing/stepper-harness.mjs +0 -51
  757. package/esm2022/table/cell.mjs +0 -147
  758. package/esm2022/table/index.mjs +0 -9
  759. package/esm2022/table/module.mjs +0 -93
  760. package/esm2022/table/public-api.mjs +0 -14
  761. package/esm2022/table/row.mjs +0 -163
  762. package/esm2022/table/table-data-source.mjs +0 -317
  763. package/esm2022/table/table.mjs +0 -122
  764. package/esm2022/table/table_public_index.mjs +0 -5
  765. package/esm2022/table/testing/cell-harness.mjs +0 -77
  766. package/esm2022/table/testing/index.mjs +0 -9
  767. package/esm2022/table/testing/public-api.mjs +0 -12
  768. package/esm2022/table/testing/row-harness.mjs +0 -84
  769. package/esm2022/table/testing/table-harness-filters.mjs +0 -2
  770. package/esm2022/table/testing/table-harness.mjs +0 -86
  771. package/esm2022/table/text-column.mjs +0 -60
  772. package/esm2022/tabs/index.mjs +0 -9
  773. package/esm2022/tabs/ink-bar.mjs +0 -149
  774. package/esm2022/tabs/module.mjs +0 -60
  775. package/esm2022/tabs/paginated-tab-header.mjs +0 -539
  776. package/esm2022/tabs/public-api.mjs +0 -21
  777. package/esm2022/tabs/tab-body.mjs +0 -199
  778. package/esm2022/tabs/tab-config.mjs +0 -11
  779. package/esm2022/tabs/tab-content.mjs +0 -32
  780. package/esm2022/tabs/tab-group.mjs +0 -469
  781. package/esm2022/tabs/tab-header.mjs +0 -86
  782. package/esm2022/tabs/tab-label-wrapper.mjs +0 -49
  783. package/esm2022/tabs/tab-label.mjs +0 -44
  784. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +0 -388
  785. package/esm2022/tabs/tab.mjs +0 -128
  786. package/esm2022/tabs/tabs-animations.mjs +0 -45
  787. package/esm2022/tabs/tabs_public_index.mjs +0 -5
  788. package/esm2022/tabs/testing/index.mjs +0 -9
  789. package/esm2022/tabs/testing/public-api.mjs +0 -13
  790. package/esm2022/tabs/testing/tab-group-harness.mjs +0 -56
  791. package/esm2022/tabs/testing/tab-harness-filters.mjs +0 -2
  792. package/esm2022/tabs/testing/tab-harness.mjs +0 -66
  793. package/esm2022/tabs/testing/tab-link-harness.mjs +0 -40
  794. package/esm2022/tabs/testing/tab-nav-bar-harness.mjs +0 -66
  795. package/esm2022/tabs/testing/tab-nav-panel-harness.mjs +0 -27
  796. package/esm2022/toolbar/index.mjs +0 -9
  797. package/esm2022/toolbar/public-api.mjs +0 -10
  798. package/esm2022/toolbar/testing/index.mjs +0 -9
  799. package/esm2022/toolbar/testing/public-api.mjs +0 -10
  800. package/esm2022/toolbar/testing/toolbar-harness-filters.mjs +0 -9
  801. package/esm2022/toolbar/testing/toolbar-harness.mjs +0 -44
  802. package/esm2022/toolbar/toolbar-module.mjs +0 -24
  803. package/esm2022/toolbar/toolbar.mjs +0 -84
  804. package/esm2022/toolbar/toolbar_public_index.mjs +0 -5
  805. package/esm2022/tooltip/index.mjs +0 -9
  806. package/esm2022/tooltip/module.mjs +0 -29
  807. package/esm2022/tooltip/public-api.mjs +0 -11
  808. package/esm2022/tooltip/testing/index.mjs +0 -9
  809. package/esm2022/tooltip/testing/public-api.mjs +0 -10
  810. package/esm2022/tooltip/testing/tooltip-harness-filters.mjs +0 -9
  811. package/esm2022/tooltip/testing/tooltip-harness.mjs +0 -66
  812. package/esm2022/tooltip/tooltip-animations.mjs +0 -24
  813. package/esm2022/tooltip/tooltip.mjs +0 -920
  814. package/esm2022/tooltip/tooltip_public_index.mjs +0 -5
  815. package/esm2022/tree/data-source/flat-data-source.mjs +0 -156
  816. package/esm2022/tree/data-source/nested-data-source.mjs +0 -38
  817. package/esm2022/tree/index.mjs +0 -9
  818. package/esm2022/tree/node.mjs +0 -220
  819. package/esm2022/tree/outlet.mjs +0 -46
  820. package/esm2022/tree/padding.mjs +0 -46
  821. package/esm2022/tree/public-api.mjs +0 -16
  822. package/esm2022/tree/testing/index.mjs +0 -9
  823. package/esm2022/tree/testing/node-harness.mjs +0 -73
  824. package/esm2022/tree/testing/public-api.mjs +0 -11
  825. package/esm2022/tree/testing/tree-harness-filters.mjs +0 -9
  826. package/esm2022/tree/testing/tree-harness.mjs +0 -123
  827. package/esm2022/tree/toggle.mjs +0 -27
  828. package/esm2022/tree/tree-module.mjs +0 -50
  829. package/esm2022/tree/tree.mjs +0 -34
  830. package/esm2022/tree/tree_public_index.mjs +0 -5
  831. package/schematics/ng-generate/m3-theme/index_bundled.js.map +0 -7
package/dialog/index.d.ts CHANGED
@@ -1,17 +1,13 @@
1
1
  import { AnimationTriggerMetadata } from '@angular/animations';
2
2
  import { CdkDialogContainer } from '@angular/cdk/dialog';
3
- import { ComponentFactoryResolver } from '@angular/core';
4
3
  import { ComponentPortal } from '@angular/cdk/portal';
5
4
  import { ComponentRef } from '@angular/core';
6
5
  import { ComponentType } from '@angular/cdk/overlay';
7
6
  import { Dialog } from '@angular/cdk/dialog';
8
7
  import { DialogRef } from '@angular/cdk/dialog';
9
8
  import { Direction } from '@angular/cdk/bidi';
10
- import { ElementRef } from '@angular/core';
11
9
  import { EventEmitter } from '@angular/core';
12
- import { FocusMonitor } from '@angular/cdk/a11y';
13
10
  import { FocusOrigin } from '@angular/cdk/a11y';
14
- import { FocusTrapFactory } from '@angular/cdk/a11y';
15
11
  import * as i0 from '@angular/core';
16
12
  import * as i1 from '@angular/cdk/scrolling';
17
13
  import * as i1_2 from '@angular/cdk/dialog';
@@ -20,16 +16,11 @@ import * as i3 from '@angular/cdk/portal';
20
16
  import * as i4 from '@angular/material/core';
21
17
  import { InjectionToken } from '@angular/core';
22
18
  import { Injector } from '@angular/core';
23
- import { InteractivityChecker } from '@angular/cdk/a11y';
24
- import { Location as Location_2 } from '@angular/common';
25
- import { NgZone } from '@angular/core';
26
19
  import { Observable } from 'rxjs';
27
20
  import { OnChanges } from '@angular/core';
28
21
  import { OnDestroy } from '@angular/core';
29
22
  import { OnInit } from '@angular/core';
30
23
  import { Overlay } from '@angular/cdk/overlay';
31
- import { OverlayContainer } from '@angular/cdk/overlay';
32
- import { OverlayRef } from '@angular/cdk/overlay';
33
24
  import { ScrollStrategy } from '@angular/cdk/overlay';
34
25
  import { SimpleChanges } from '@angular/core';
35
26
  import { Subject } from 'rxjs';
@@ -134,10 +125,10 @@ export declare class MatDialog implements OnDestroy {
134
125
  private _defaultOptions;
135
126
  private _scrollStrategy;
136
127
  private _parentDialog;
128
+ protected _dialog: Dialog;
137
129
  private readonly _openDialogsAtThisLevel;
138
130
  private readonly _afterAllClosedAtThisLevel;
139
131
  private readonly _afterOpenedAtThisLevel;
140
- protected _dialog: Dialog;
141
132
  protected dialogConfigClass: typeof MatDialogConfig;
142
133
  private readonly _dialogRefConstructor;
143
134
  private readonly _dialogContainerType;
@@ -152,22 +143,7 @@ export declare class MatDialog implements OnDestroy {
152
143
  * Will emit on subscribe if there are no open dialogs to begin with.
153
144
  */
154
145
  readonly afterAllClosed: Observable<void>;
155
- constructor(_overlay: Overlay, injector: Injector,
156
- /**
157
- * @deprecated `_location` parameter to be removed.
158
- * @breaking-change 10.0.0
159
- */
160
- location: Location_2, _defaultOptions: MatDialogConfig, _scrollStrategy: any, _parentDialog: MatDialog,
161
- /**
162
- * @deprecated No longer used. To be removed.
163
- * @breaking-change 15.0.0
164
- */
165
- _overlayContainer: OverlayContainer,
166
- /**
167
- * @deprecated No longer used. To be removed.
168
- * @breaking-change 14.0.0
169
- */
170
- _animationMode?: 'NoopAnimations' | 'BrowserAnimations');
146
+ constructor(...args: unknown[]);
171
147
  /**
172
148
  * Opens a modal dialog containing the given component.
173
149
  * @param component Type of the component to load into the dialog.
@@ -194,7 +170,7 @@ export declare class MatDialog implements OnDestroy {
194
170
  getDialogById(id: string): MatDialogRef<any> | undefined;
195
171
  ngOnDestroy(): void;
196
172
  private _closeDialogs;
197
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialog, [null, null, { optional: true; }, { optional: true; }, null, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
173
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialog, never>;
198
174
  static ɵprov: i0.ɵɵInjectableDeclaration<MatDialog>;
199
175
  }
200
176
 
@@ -225,7 +201,7 @@ export declare const matDialogAnimations: {
225
201
  * Button that will close the current dialog.
226
202
  */
227
203
  export declare class MatDialogClose implements OnInit, OnChanges {
228
- dialogRef: MatDialogRef<any>;
204
+ dialogRef: MatDialogRef<any, any>;
229
205
  private _elementRef;
230
206
  private _dialog;
231
207
  /** Screen-reader label for the button. */
@@ -235,11 +211,11 @@ export declare class MatDialogClose implements OnInit, OnChanges {
235
211
  /** Dialog close input. */
236
212
  dialogResult: any;
237
213
  _matDialogClose: any;
238
- constructor(dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
214
+ constructor(...args: unknown[]);
239
215
  ngOnInit(): void;
240
216
  ngOnChanges(changes: SimpleChanges): void;
241
217
  _onButtonClick(event: MouseEvent): void;
242
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogClose, [{ optional: true; }, null, null]>;
218
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogClose, never>;
243
219
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogClose, "[mat-dialog-close], [matDialogClose]", ["matDialogClose"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dialogResult": { "alias": "mat-dialog-close"; "required": false; }; "_matDialogClose": { "alias": "matDialogClose"; "required": false; }; }, {}, never, never, true, never>;
244
220
  }
245
221
 
@@ -318,8 +294,12 @@ export declare class MatDialogConfig<D = any> {
318
294
  * the `HashLocationStrategy`).
319
295
  */
320
296
  closeOnNavigation?: boolean;
321
- /** Alternate `ComponentFactoryResolver` to use when resolving the associated component. */
322
- componentFactoryResolver?: ComponentFactoryResolver;
297
+ /**
298
+ * Alternate `ComponentFactoryResolver` to use when resolving the associated component.
299
+ * @deprecated No longer used. Will be removed.
300
+ * @breaking-change 20.0.0
301
+ */
302
+ componentFactoryResolver?: unknown;
323
303
  /**
324
304
  * Duration of the enter animation in ms.
325
305
  * Should be a number, string type is deprecated.
@@ -350,7 +330,6 @@ export declare class MatDialogContainer extends CdkDialogContainer<MatDialogConf
350
330
  private _exitAnimationDuration;
351
331
  /** Current timer for dialog animations. */
352
332
  private _animationTimer;
353
- constructor(elementRef: ElementRef, focusTrapFactory: FocusTrapFactory, _document: any, dialogConfig: MatDialogConfig, interactivityChecker: InteractivityChecker, ngZone: NgZone, overlayRef: OverlayRef, _unusedAnimationMode?: string, focusMonitor?: FocusMonitor);
354
333
  protected _contentAttached(): void;
355
334
  /** Starts the dialog open animation if enabled. */
356
335
  private _startOpenAnimation;
@@ -387,7 +366,7 @@ export declare class MatDialogContainer extends CdkDialogContainer<MatDialogConf
387
366
  protected _openAnimationDone(totalTime: number): void;
388
367
  ngOnDestroy(): void;
389
368
  attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
390
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContainer, [null, null, { optional: true; }, null, null, null, null, { optional: true; }, null]>;
369
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContainer, never>;
391
370
  static ɵcmp: i0.ɵɵComponentDeclaration<MatDialogContainer, "mat-dialog-container", never, {}, {}, never, never, true, never>;
392
371
  }
393
372
 
@@ -400,15 +379,15 @@ export declare class MatDialogContent {
400
379
  }
401
380
 
402
381
  declare abstract class MatDialogLayoutSection implements OnInit, OnDestroy {
403
- protected _dialogRef: MatDialogRef<any>;
382
+ protected _dialogRef: MatDialogRef<any, any>;
404
383
  private _elementRef;
405
384
  private _dialog;
406
- constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
385
+ constructor(...args: unknown[]);
407
386
  protected abstract _onAdd(): void;
408
387
  protected abstract _onRemove(): void;
409
388
  ngOnInit(): void;
410
389
  ngOnDestroy(): void;
411
- static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogLayoutSection, [{ optional: true; }, null, null]>;
390
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogLayoutSection, never>;
412
391
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogLayoutSection, never, never, {}, {}, never, never, true, never>;
413
392
  }
414
393
 
@@ -76,7 +76,7 @@ export declare class MatTestDialogOpener<T = unknown, R = unknown> implements On
76
76
  private readonly _ngZone;
77
77
  /** Static method that prepares this class to open the provided component. */
78
78
  static withComponent<T = unknown, R = unknown>(component: ComponentType<T>, config?: MatDialogConfig): ComponentType<MatTestDialogOpener<T, R>>;
79
- constructor(dialog: MatDialog);
79
+ constructor(...args: unknown[]);
80
80
  ngOnDestroy(): void;
81
81
  }
82
82
 
@@ -9,11 +9,12 @@
9
9
  @mixin base($theme) {
10
10
  @if inspection.get-theme-version($theme) == 1 {
11
11
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
12
- }
13
- @else {
12
+ } @else {
14
13
  @include sass-utils.current-selector-or-root() {
15
14
  @include token-utils.create-token-values(
16
- tokens-mat-divider.$prefix, tokens-mat-divider.get-unthemable-tokens());
15
+ tokens-mat-divider.$prefix,
16
+ tokens-mat-divider.get-unthemable-tokens()
17
+ );
17
18
  }
18
19
  }
19
20
  }
@@ -21,11 +22,12 @@
21
22
  @mixin color($theme) {
22
23
  @if inspection.get-theme-version($theme) == 1 {
23
24
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
24
- }
25
- @else {
25
+ } @else {
26
26
  @include sass-utils.current-selector-or-root() {
27
- @include token-utils.create-token-values(tokens-mat-divider.$prefix,
28
- tokens-mat-divider.get-color-tokens($theme));
27
+ @include token-utils.create-token-values(
28
+ tokens-mat-divider.$prefix,
29
+ tokens-mat-divider.get-color-tokens($theme)
30
+ );
29
31
  }
30
32
  }
31
33
  }
@@ -33,30 +35,36 @@
33
35
  @mixin typography($theme) {
34
36
  @if inspection.get-theme-version($theme) == 1 {
35
37
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
38
+ } @else {
36
39
  }
37
- @else {}
38
40
  }
39
41
 
40
42
  @mixin density($theme) {
41
43
  @if inspection.get-theme-version($theme) == 1 {
42
44
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
45
+ } @else {
43
46
  }
44
- @else {}
45
47
  }
46
48
 
47
- @mixin overrides($tokens: ()) {
48
- @include token-utils.batch-create-token-values(
49
- $tokens,
50
- (prefix: tokens-mat-divider.$prefix, tokens: tokens-mat-divider.get-token-slots()),
49
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
50
+ @function _define-overrides() {
51
+ @return (
52
+ (
53
+ namespace: tokens-mat-divider.$prefix,
54
+ tokens: tokens-mat-divider.get-token-slots(),
55
+ ),
51
56
  );
52
57
  }
53
58
 
59
+ @mixin overrides($tokens: ()) {
60
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
61
+ }
62
+
54
63
  @mixin theme($theme) {
55
64
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-divider') {
56
65
  @if inspection.get-theme-version($theme) == 1 {
57
66
  @include _theme-from-tokens(inspection.get-theme-tokens($theme));
58
- }
59
- @else {
67
+ } @else {
60
68
  @include base($theme);
61
69
  @if inspection.theme-has($theme, color) {
62
70
  @include color($theme);
@@ -73,9 +81,12 @@
73
81
 
74
82
  @mixin _theme-from-tokens($tokens) {
75
83
  @include validation.selector-defined(
76
- 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector');
84
+ 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector'
85
+ );
77
86
  @if ($tokens != ()) {
78
87
  @include token-utils.create-token-values(
79
- tokens-mat-divider.$prefix, map.get($tokens, tokens-mat-divider.$prefix));
88
+ tokens-mat-divider.$prefix,
89
+ map.get($tokens, tokens-mat-divider.$prefix)
90
+ );
80
91
  }
81
92
  }
@@ -10,11 +10,12 @@
10
10
  @mixin base($theme) {
11
11
  @if inspection.get-theme-version($theme) == 1 {
12
12
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
13
- }
14
- @else {
13
+ } @else {
15
14
  @include sass-utils.current-selector-or-root() {
16
15
  @include token-utils.create-token-values(
17
- tokens-mat-expansion.$prefix, tokens-mat-expansion.get-unthemable-tokens());
16
+ tokens-mat-expansion.$prefix,
17
+ tokens-mat-expansion.get-unthemable-tokens()
18
+ );
18
19
  }
19
20
  }
20
21
  }
@@ -22,11 +23,12 @@
22
23
  @mixin color($theme) {
23
24
  @if inspection.get-theme-version($theme) == 1 {
24
25
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
25
- }
26
- @else {
26
+ } @else {
27
27
  @include sass-utils.current-selector-or-root() {
28
- @include token-utils.create-token-values(tokens-mat-expansion.$prefix,
29
- tokens-mat-expansion.get-color-tokens($theme));
28
+ @include token-utils.create-token-values(
29
+ tokens-mat-expansion.$prefix,
30
+ tokens-mat-expansion.get-color-tokens($theme)
31
+ );
30
32
  }
31
33
  }
32
34
  }
@@ -34,14 +36,15 @@
34
36
  @mixin typography($theme) {
35
37
  @if inspection.get-theme-version($theme) == 1 {
36
38
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
37
- }
38
- @else {
39
+ } @else {
39
40
  // TODO(mmalerba): Stop calling this and resolve resulting screen diffs.
40
41
  $theme: inspection.private-get-typography-back-compat-theme($theme);
41
42
 
42
43
  @include sass-utils.current-selector-or-root() {
43
- @include token-utils.create-token-values(tokens-mat-expansion.$prefix,
44
- tokens-mat-expansion.get-typography-tokens($theme));
44
+ @include token-utils.create-token-values(
45
+ tokens-mat-expansion.$prefix,
46
+ tokens-mat-expansion.get-typography-tokens($theme)
47
+ );
45
48
  }
46
49
  }
47
50
  }
@@ -49,28 +52,35 @@
49
52
  @mixin density($theme) {
50
53
  @if inspection.get-theme-version($theme) == 1 {
51
54
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
52
- }
53
- @else {
55
+ } @else {
54
56
  @include sass-utils.current-selector-or-root() {
55
- @include token-utils.create-token-values(tokens-mat-expansion.$prefix,
56
- tokens-mat-expansion.get-density-tokens($theme));
57
+ @include token-utils.create-token-values(
58
+ tokens-mat-expansion.$prefix,
59
+ tokens-mat-expansion.get-density-tokens($theme)
60
+ );
57
61
  }
58
62
  }
59
63
  }
60
64
 
61
- @mixin overrides($tokens: ()) {
62
- @include token-utils.batch-create-token-values(
63
- $tokens,
64
- (prefix: tokens-mat-expansion.$prefix, tokens: tokens-mat-expansion.get-token-slots()),
65
+ /// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
66
+ @function _define-overrides() {
67
+ @return (
68
+ (
69
+ namespace: tokens-mat-expansion.$prefix,
70
+ tokens: tokens-mat-expansion.get-token-slots(),
71
+ ),
65
72
  );
66
73
  }
67
74
 
75
+ @mixin overrides($tokens: ()) {
76
+ @include token-utils.batch-create-token-values($tokens, _define-overrides()...);
77
+ }
78
+
68
79
  @mixin theme($theme) {
69
80
  @include theming.private-check-duplicate-theme-styles($theme, 'mat-expansion') {
70
81
  @if inspection.get-theme-version($theme) == 1 {
71
82
  @include _theme-from-tokens(inspection.get-theme-tokens($theme));
72
- }
73
- @else {
83
+ } @else {
74
84
  @include base($theme);
75
85
  @if inspection.theme-has($theme, color) {
76
86
  @include color($theme);
@@ -85,12 +95,14 @@
85
95
  }
86
96
  }
87
97
 
88
-
89
98
  @mixin _theme-from-tokens($tokens) {
90
99
  @include validation.selector-defined(
91
- 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector');
100
+ 'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector'
101
+ );
92
102
  @if ($tokens != ()) {
93
103
  @include token-utils.create-token-values(
94
- tokens-mat-expansion.$prefix, map.get($tokens, tokens-mat-expansion.$prefix));
104
+ tokens-mat-expansion.$prefix,
105
+ map.get($tokens, tokens-mat-expansion.$prefix)
106
+ );
95
107
  }
96
108
  }
@@ -4,11 +4,9 @@ import { AnimationEvent as AnimationEvent_2 } from '@angular/animations';
4
4
  import { AnimationTriggerMetadata } from '@angular/animations';
5
5
  import { CdkAccordion } from '@angular/cdk/accordion';
6
6
  import { CdkAccordionItem } from '@angular/cdk/accordion';
7
- import { ChangeDetectorRef } from '@angular/core';
8
7
  import { ElementRef } from '@angular/core';
9
8
  import { EventEmitter } from '@angular/core';
10
9
  import { FocusableOption } from '@angular/cdk/a11y';
11
- import { FocusMonitor } from '@angular/cdk/a11y';
12
10
  import { FocusOrigin } from '@angular/cdk/a11y';
13
11
  import * as i0 from '@angular/core';
14
12
  import * as i1 from '@angular/material/core';
@@ -22,8 +20,6 @@ import { SimpleChanges } from '@angular/core';
22
20
  import { Subject } from 'rxjs';
23
21
  import { TemplatePortal } from '@angular/cdk/portal';
24
22
  import { TemplateRef } from '@angular/core';
25
- import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
26
- import { ViewContainerRef } from '@angular/core';
27
23
 
28
24
  /** Time and timing curve for expansion panel animations. */
29
25
  export declare const EXPANSION_PANEL_ANIMATION_TIMING = "225ms cubic-bezier(0.4,0.0,0.2,1)";
@@ -170,7 +166,7 @@ export declare class MatExpansionModule {
170
166
  */
171
167
  export declare class MatExpansionPanel extends CdkAccordionItem implements AfterContentInit, OnChanges, OnDestroy {
172
168
  private _viewContainerRef;
173
- _animationMode: string;
169
+ _animationMode: "NoopAnimations" | "BrowserAnimations" | null;
174
170
  protected _animationsDisabled: boolean;
175
171
  private _document;
176
172
  /** Whether the toggle indicator should be hidden. */
@@ -197,7 +193,7 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
197
193
  _portal: TemplatePortal;
198
194
  /** ID for the associated header element. Used for a11y labelling. */
199
195
  _headerId: string;
200
- constructor(accordion: MatAccordionBase, _changeDetectorRef: ChangeDetectorRef, _uniqueSelectionDispatcher: UniqueSelectionDispatcher, _viewContainerRef: ViewContainerRef, _document: any, _animationMode: string, defaultOptions?: MatExpansionPanelDefaultOptions);
196
+ constructor(...args: unknown[]);
201
197
  /** Determines whether the expansion panel should have spacing between it and its siblings. */
202
198
  _hasSpacing(): boolean;
203
199
  /** Gets the expanded state string. */
@@ -217,7 +213,7 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
217
213
  protected _animationStarted(event: AnimationEvent_2): void;
218
214
  /** Called when the expansion animation has finished. */
219
215
  protected _animationDone(event: AnimationEvent_2): void;
220
- static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanel, [{ optional: true; skipSelf: true; }, null, null, null, null, { optional: true; }, { optional: true; }]>;
216
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanel, never>;
221
217
  static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanel, "mat-expansion-panel", ["matExpansionPanel"], { "hideToggle": { "alias": "hideToggle"; "required": false; }; "togglePosition": { "alias": "togglePosition"; "required": false; }; }, { "afterExpand": "afterExpand"; "afterCollapse": "afterCollapse"; }, ["_lazyContent"], ["mat-expansion-panel-header", "*", "mat-action-row"], true, never>;
222
218
  static ngAcceptInputType_hideToggle: unknown;
223
219
  }
@@ -245,9 +241,9 @@ declare interface MatExpansionPanelBase extends CdkAccordionItem {
245
241
  */
246
242
  export declare class MatExpansionPanelContent {
247
243
  _template: TemplateRef<any>;
248
- _expansionPanel?: MatExpansionPanelBase | undefined;
249
- constructor(_template: TemplateRef<any>, _expansionPanel?: MatExpansionPanelBase | undefined);
250
- static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelContent, [null, { optional: true; }]>;
244
+ _expansionPanel: MatExpansionPanelBase | null;
245
+ constructor(...args: unknown[]);
246
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelContent, never>;
251
247
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatExpansionPanelContent, "ng-template[matExpansionPanelContent]", never, {}, {}, never, never, true, never>;
252
248
  }
253
249
 
@@ -280,9 +276,9 @@ export declare class MatExpansionPanelHeader implements AfterViewInit, OnDestroy
280
276
  private _element;
281
277
  private _focusMonitor;
282
278
  private _changeDetectorRef;
283
- _animationMode?: string | undefined;
279
+ _animationMode: "NoopAnimations" | "BrowserAnimations" | null;
284
280
  private _parentChangeSubscription;
285
- constructor(panel: MatExpansionPanel, _element: ElementRef, _focusMonitor: FocusMonitor, _changeDetectorRef: ChangeDetectorRef, defaultOptions?: MatExpansionPanelDefaultOptions, _animationMode?: string | undefined, tabIndex?: string);
281
+ constructor(...args: unknown[]);
286
282
  /** Height of the header while the panel is expanded. */
287
283
  expandedHeight: string;
288
284
  /** Height of the header while the panel is collapsed. */
@@ -321,7 +317,7 @@ export declare class MatExpansionPanelHeader implements AfterViewInit, OnDestroy
321
317
  focus(origin?: FocusOrigin, options?: FocusOptions): void;
322
318
  ngAfterViewInit(): void;
323
319
  ngOnDestroy(): void;
324
- static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelHeader, [{ host: true; }, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
320
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatExpansionPanelHeader, never>;
325
321
  static ɵcmp: i0.ɵɵComponentDeclaration<MatExpansionPanelHeader, "mat-expansion-panel-header", never, { "expandedHeight": { "alias": "expandedHeight"; "required": false; }; "collapsedHeight": { "alias": "collapsedHeight"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["mat-panel-title", "mat-panel-description", "*"], true, never>;
326
322
  static ngAcceptInputType_tabIndex: unknown;
327
323
  }
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/autocomplete/testing/autocomplete-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '@angular/material/core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport class MatAutocompleteHarness extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n\n /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionHarnessFilters, 'ancestor'>): Promise<MatOptionHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptionHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionHarnessFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(\n filters?: Omit<OptgroupHarnessFilters, 'ancestor'>,\n ): Promise<MatOptgroupHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptgroupHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptgroupHarnessFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionHarnessFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`mat-mdc-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n protected async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-controls')}`;\n }\n}\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/autocomplete/testing/autocomplete-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {\n ComponentHarness,\n ComponentHarnessConstructor,\n HarnessPredicate,\n TestElement,\n} from '@angular/cdk/testing';\nimport {\n MatOptgroupHarness,\n MatOptionHarness,\n OptgroupHarnessFilters,\n OptionHarnessFilters,\n} from '@angular/material/core/testing';\nimport {AutocompleteHarnessFilters} from './autocomplete-harness-filters';\n\nexport class MatAutocompleteHarness extends ComponentHarness {\n private _documentRootLocator = this.documentRootLocatorFactory();\n\n /** The selector for the host element of a `MatAutocomplete` instance. */\n static hostSelector = '.mat-mdc-autocomplete-trigger';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for an autocomplete with specific\n * attributes.\n * @param options Options for filtering which autocomplete instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with<T extends MatAutocompleteHarness>(\n this: ComponentHarnessConstructor<T>,\n options: AutocompleteHarnessFilters = {},\n ): HarnessPredicate<T> {\n return new HarnessPredicate(this, options)\n .addOption('value', options.value, (harness, value) =>\n HarnessPredicate.stringMatches(harness.getValue(), value),\n )\n .addOption('disabled', options.disabled, async (harness, disabled) => {\n return (await harness.isDisabled()) === disabled;\n });\n }\n\n /** Gets the value of the autocomplete input. */\n async getValue(): Promise<string> {\n return (await this.host()).getProperty<string>('value');\n }\n\n /** Whether the autocomplete input is disabled. */\n async isDisabled(): Promise<boolean> {\n const disabled = (await this.host()).getAttribute('disabled');\n return coerceBooleanProperty(await disabled);\n }\n\n /** Focuses the autocomplete input. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the autocomplete input. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the autocomplete input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Enters text into the autocomplete. */\n async enterText(value: string): Promise<void> {\n return (await this.host()).sendKeys(value);\n }\n\n /** Clears the input value. */\n async clear(): Promise<void> {\n return (await this.host()).clear();\n }\n\n /** Gets the options inside the autocomplete panel. */\n async getOptions(filters?: Omit<OptionHarnessFilters, 'ancestor'>): Promise<MatOptionHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error('Unable to retrieve options for autocomplete. Autocomplete panel is closed.');\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptionHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptionHarnessFilters),\n )();\n }\n\n /** Gets the option groups inside the autocomplete panel. */\n async getOptionGroups(\n filters?: Omit<OptgroupHarnessFilters, 'ancestor'>,\n ): Promise<MatOptgroupHarness[]> {\n if (!(await this.isOpen())) {\n throw new Error(\n 'Unable to retrieve option groups for autocomplete. Autocomplete panel is closed.',\n );\n }\n\n return this._documentRootLocator.locatorForAll(\n MatOptgroupHarness.with({\n ...(filters || {}),\n ancestor: await this._getPanelSelector(),\n } as OptgroupHarnessFilters),\n )();\n }\n\n /** Selects the first option matching the given filters. */\n async selectOption(filters: OptionHarnessFilters): Promise<void> {\n await this.focus(); // Focus the input to make sure the autocomplete panel is shown.\n const options = await this.getOptions(filters);\n if (!options.length) {\n throw Error(`Could not find a mat-option matching ${JSON.stringify(filters)}`);\n }\n await options[0].click();\n }\n\n /** Whether the autocomplete is open. */\n async isOpen(): Promise<boolean> {\n const panel = await this._getPanel();\n return !!panel && (await panel.hasClass(`mat-mdc-autocomplete-visible`));\n }\n\n /** Gets the panel associated with this autocomplete trigger. */\n private async _getPanel(): Promise<TestElement | null> {\n // Technically this is static, but it needs to be in a\n // function, because the autocomplete's panel ID can changed.\n return this._documentRootLocator.locatorForOptional(await this._getPanelSelector())();\n }\n\n /** Gets the selector that can be used to find the autocomplete trigger's panel. */\n protected async _getPanelSelector(): Promise<string> {\n return `#${await (await this.host()).getAttribute('aria-controls')}`;\n }\n}\n"],"names":[],"mappings":"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"}