@angular/material 20.0.0-next.0 → 20.0.0-next.2

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 (368) hide show
  1. package/autocomplete/_autocomplete-theme.scss +4 -4
  2. package/autocomplete/index.d.ts +96 -126
  3. package/autocomplete/testing/index.d.ts +6 -11
  4. package/badge/_badge-theme.scss +5 -5
  5. package/badge/index.d.ts +8 -112
  6. package/badge/testing/index.d.ts +7 -8
  7. package/badge.d-49a8a74b.d.ts +98 -0
  8. package/bottom-sheet/_bottom-sheet-theme.scss +3 -3
  9. package/bottom-sheet/index.d.ts +88 -103
  10. package/bottom-sheet/testing/index.d.ts +4 -6
  11. package/button/_button-theme.scss +84 -32
  12. package/button/_fab-theme.scss +13 -13
  13. package/button/_icon-button-theme.scss +5 -5
  14. package/button/index.d.ts +10 -245
  15. package/button/testing/index.d.ts +13 -10
  16. package/button-toggle/_button-toggle-theme.scss +8 -8
  17. package/button-toggle/index.d.ts +12 -285
  18. package/button-toggle/testing/index.d.ts +38 -37
  19. package/button-toggle.d-edc8acff.d.ts +257 -0
  20. package/card/_card-theme.scss +12 -12
  21. package/card/index.d.ts +80 -117
  22. package/card/testing/index.d.ts +11 -15
  23. package/checkbox/_checkbox-theme.scss +10 -10
  24. package/checkbox/index.d.ts +43 -104
  25. package/checkbox/testing/index.d.ts +6 -10
  26. package/chips/_chips-theme.scss +14 -14
  27. package/chips/index.d.ts +599 -693
  28. package/chips/testing/index.d.ts +78 -93
  29. package/common-module.d-0e6515ae.d.ts +43 -0
  30. package/core/_core-theme.scss +2 -2
  31. package/core/index.d.ts +50 -979
  32. package/core/option/_optgroup-theme.scss +2 -2
  33. package/core/option/_option-theme.scss +4 -4
  34. package/core/ripple/_ripple-theme.scss +3 -3
  35. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +4 -4
  36. package/core/testing/index.d.ts +3 -65
  37. package/core/theming/_color-api-backwards-compatibility.scss +19 -8
  38. package/core/tokens/_density.scss +3 -0
  39. package/core/tokens/_token-definition.scss +1 -2
  40. package/core/tokens/_token-utils.scss +20 -5
  41. package/core/tokens/m2/_index.scss +2 -0
  42. package/core/tokens/m2/mat/_tonal-button.scss +110 -0
  43. package/core/tokens/m3/_index.scss +2 -0
  44. package/core/tokens/m3/definitions/_index.scss +1 -1
  45. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +3 -1
  46. package/core/tokens/m3/definitions/_md-sys-color.scss +44 -2
  47. package/core/tokens/m3/definitions/_md-sys-typescale.scss +20 -1
  48. package/core/tokens/m3/mat/_tonal-button.scss +101 -0
  49. package/date-adapter.d-c6835d41.d.ts +267 -0
  50. package/date-range-input-harness.d-549a9f7e.d.ts +278 -0
  51. package/datepicker/_datepicker-theme.scss +8 -7
  52. package/datepicker/index.d.ts +1332 -1482
  53. package/datepicker/testing/index.d.ts +5 -287
  54. package/dialog/_dialog-theme.scss +6 -6
  55. package/dialog/index.d.ts +59 -453
  56. package/dialog/testing/index.d.ts +22 -26
  57. package/dialog.d-57867441.d.ts +335 -0
  58. package/divider/_divider-theme.scss +2 -2
  59. package/divider/index.d.ts +6 -11
  60. package/divider/testing/index.d.ts +2 -16
  61. package/divider-harness.d-d34fede4.d.ts +14 -0
  62. package/error-options.d-448d9046.d.ts +17 -0
  63. package/expansion/_expansion-theme.scss +4 -4
  64. package/expansion/index.d.ts +139 -190
  65. package/expansion/testing/index.d.ts +25 -31
  66. package/fesm2022/autocomplete/testing.mjs +2 -1
  67. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  68. package/fesm2022/autocomplete.mjs +56 -32
  69. package/fesm2022/autocomplete.mjs.map +1 -1
  70. package/fesm2022/badge/testing.mjs.map +1 -1
  71. package/fesm2022/badge.mjs +14 -17
  72. package/fesm2022/badge.mjs.map +1 -1
  73. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  74. package/fesm2022/bottom-sheet.mjs +13 -15
  75. package/fesm2022/bottom-sheet.mjs.map +1 -1
  76. package/fesm2022/button/testing.mjs +34 -15
  77. package/fesm2022/button/testing.mjs.map +1 -1
  78. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  79. package/fesm2022/button-toggle.mjs +22 -15
  80. package/fesm2022/button-toggle.mjs.map +1 -1
  81. package/fesm2022/button.mjs +14 -395
  82. package/fesm2022/button.mjs.map +1 -1
  83. package/fesm2022/card/testing.mjs.map +1 -1
  84. package/fesm2022/card.mjs +49 -51
  85. package/fesm2022/card.mjs.map +1 -1
  86. package/fesm2022/checkbox/testing.mjs.map +1 -1
  87. package/fesm2022/checkbox.mjs +32 -73
  88. package/fesm2022/checkbox.mjs.map +1 -1
  89. package/fesm2022/chips/testing.mjs.map +1 -1
  90. package/fesm2022/chips.mjs +51 -46
  91. package/fesm2022/chips.mjs.map +1 -1
  92. package/fesm2022/common-module-2d64df09.mjs +42 -0
  93. package/fesm2022/common-module-2d64df09.mjs.map +1 -0
  94. package/fesm2022/core/testing.mjs +3 -76
  95. package/fesm2022/core/testing.mjs.map +1 -1
  96. package/fesm2022/core.mjs +38 -1598
  97. package/fesm2022/core.mjs.map +1 -1
  98. package/fesm2022/date-formats-b618acb8.mjs +190 -0
  99. package/fesm2022/date-formats-b618acb8.mjs.map +1 -0
  100. package/fesm2022/date-range-input-harness-de70be6a.mjs +467 -0
  101. package/fesm2022/date-range-input-harness-de70be6a.mjs.map +1 -0
  102. package/fesm2022/datepicker/testing.mjs +5 -465
  103. package/fesm2022/datepicker/testing.mjs.map +1 -1
  104. package/fesm2022/datepicker.mjs +162 -131
  105. package/fesm2022/datepicker.mjs.map +1 -1
  106. package/fesm2022/dialog/testing.mjs +12 -1
  107. package/fesm2022/dialog/testing.mjs.map +1 -1
  108. package/fesm2022/dialog.mjs +14 -895
  109. package/fesm2022/dialog.mjs.map +1 -1
  110. package/fesm2022/divider/testing.mjs +2 -17
  111. package/fesm2022/divider/testing.mjs.map +1 -1
  112. package/fesm2022/divider-harness-8099453f.mjs +18 -0
  113. package/fesm2022/divider-harness-8099453f.mjs.map +1 -0
  114. package/fesm2022/divider.mjs +10 -12
  115. package/fesm2022/divider.mjs.map +1 -1
  116. package/fesm2022/error-options-4a00765e.mjs +29 -0
  117. package/fesm2022/error-options-4a00765e.mjs.map +1 -0
  118. package/fesm2022/error-state-8f4ce1af.mjs +37 -0
  119. package/fesm2022/error-state-8f4ce1af.mjs.map +1 -0
  120. package/fesm2022/expansion/testing.mjs.map +1 -1
  121. package/fesm2022/expansion.mjs +30 -32
  122. package/fesm2022/expansion.mjs.map +1 -1
  123. package/fesm2022/form-field/testing/control.mjs +2 -10
  124. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  125. package/fesm2022/form-field/testing.mjs +7 -6
  126. package/fesm2022/form-field/testing.mjs.map +1 -1
  127. package/fesm2022/form-field-6d755764.mjs +1076 -0
  128. package/fesm2022/form-field-6d755764.mjs.map +1 -0
  129. package/fesm2022/form-field-control-harness-efefd4cf.mjs +11 -0
  130. package/fesm2022/form-field-control-harness-efefd4cf.mjs.map +1 -0
  131. package/fesm2022/form-field.mjs +14 -1110
  132. package/fesm2022/form-field.mjs.map +1 -1
  133. package/fesm2022/grid-list/testing.mjs +1 -1
  134. package/fesm2022/grid-list/testing.mjs.map +1 -1
  135. package/fesm2022/grid-list.mjs +30 -173
  136. package/fesm2022/grid-list.mjs.map +1 -1
  137. package/fesm2022/icon/testing.mjs +12 -12
  138. package/fesm2022/icon/testing.mjs.map +1 -1
  139. package/fesm2022/icon-button-0850d958.mjs +211 -0
  140. package/fesm2022/icon-button-0850d958.mjs.map +1 -0
  141. package/fesm2022/icon-module-3f77a24d.mjs +395 -0
  142. package/fesm2022/icon-module-3f77a24d.mjs.map +1 -0
  143. package/fesm2022/icon-registry-13a3b98e.mjs +639 -0
  144. package/fesm2022/icon-registry-13a3b98e.mjs.map +1 -0
  145. package/fesm2022/icon.mjs +11 -1016
  146. package/fesm2022/icon.mjs.map +1 -1
  147. package/fesm2022/index-1763d3a6.mjs +22 -0
  148. package/fesm2022/index-1763d3a6.mjs.map +1 -0
  149. package/fesm2022/index-4bc1d6d3.mjs +20 -0
  150. package/fesm2022/index-4bc1d6d3.mjs.map +1 -0
  151. package/fesm2022/input/testing.mjs +5 -113
  152. package/fesm2022/input/testing.mjs.map +1 -1
  153. package/fesm2022/input-harness-e68bb132.mjs +115 -0
  154. package/fesm2022/input-harness-e68bb132.mjs.map +1 -0
  155. package/fesm2022/input-value-accessor-8a79a24e.mjs +12 -0
  156. package/fesm2022/input-value-accessor-8a79a24e.mjs.map +1 -0
  157. package/fesm2022/input.mjs +21 -23
  158. package/fesm2022/input.mjs.map +1 -1
  159. package/fesm2022/internal-form-field-434c4039.mjs +27 -0
  160. package/fesm2022/internal-form-field-434c4039.mjs.map +1 -0
  161. package/fesm2022/line-d6afe347.mjs +59 -0
  162. package/fesm2022/line-d6afe347.mjs.map +1 -0
  163. package/fesm2022/list/testing.mjs +2 -2
  164. package/fesm2022/list/testing.mjs.map +1 -1
  165. package/fesm2022/list.mjs +59 -56
  166. package/fesm2022/list.mjs.map +1 -1
  167. package/fesm2022/menu/testing.mjs.map +1 -1
  168. package/fesm2022/menu.mjs +37 -25
  169. package/fesm2022/menu.mjs.map +1 -1
  170. package/fesm2022/module-1c16a0a9.mjs +1293 -0
  171. package/fesm2022/module-1c16a0a9.mjs.map +1 -0
  172. package/fesm2022/module-47e3be58.mjs +970 -0
  173. package/fesm2022/module-47e3be58.mjs.map +1 -0
  174. package/fesm2022/module-a5f9ab72.mjs +875 -0
  175. package/fesm2022/module-a5f9ab72.mjs.map +1 -0
  176. package/fesm2022/module-cf951a02.mjs +214 -0
  177. package/fesm2022/module-cf951a02.mjs.map +1 -0
  178. package/fesm2022/module-d757bba0.mjs +38 -0
  179. package/fesm2022/module-d757bba0.mjs.map +1 -0
  180. package/fesm2022/optgroup-harness-5e66b138.mjs +36 -0
  181. package/fesm2022/optgroup-harness-5e66b138.mjs.map +1 -0
  182. package/fesm2022/option-07c3c660.mjs +348 -0
  183. package/fesm2022/option-07c3c660.mjs.map +1 -0
  184. package/fesm2022/option-harness-3b7c1106.mjs +46 -0
  185. package/fesm2022/option-harness-3b7c1106.mjs.map +1 -0
  186. package/fesm2022/paginator/testing.mjs +4 -1
  187. package/fesm2022/paginator/testing.mjs.map +1 -1
  188. package/fesm2022/paginator.mjs +52 -22
  189. package/fesm2022/paginator.mjs.map +1 -1
  190. package/fesm2022/progress-bar/testing.mjs +0 -4
  191. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  192. package/fesm2022/progress-bar.mjs +15 -13
  193. package/fesm2022/progress-bar.mjs.map +1 -1
  194. package/fesm2022/progress-spinner/testing.mjs +0 -4
  195. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  196. package/fesm2022/progress-spinner.mjs +15 -13
  197. package/fesm2022/progress-spinner.mjs.map +1 -1
  198. package/fesm2022/pseudo-checkbox-af5a4ea4.mjs +52 -0
  199. package/fesm2022/pseudo-checkbox-af5a4ea4.mjs.map +1 -0
  200. package/fesm2022/pseudo-checkbox-module-216fae38.mjs +20 -0
  201. package/fesm2022/pseudo-checkbox-module-216fae38.mjs.map +1 -0
  202. package/fesm2022/public-api-c5ab57f5.mjs +147 -0
  203. package/fesm2022/public-api-c5ab57f5.mjs.map +1 -0
  204. package/fesm2022/radio/testing.mjs.map +1 -1
  205. package/fesm2022/radio.mjs +23 -15
  206. package/fesm2022/radio.mjs.map +1 -1
  207. package/fesm2022/ripple-9939d1f5.mjs +639 -0
  208. package/fesm2022/ripple-9939d1f5.mjs.map +1 -0
  209. package/fesm2022/ripple-loader-f2078c66.mjs +165 -0
  210. package/fesm2022/ripple-loader-f2078c66.mjs.map +1 -0
  211. package/fesm2022/select/testing.mjs +5 -121
  212. package/fesm2022/select/testing.mjs.map +1 -1
  213. package/fesm2022/select-harness-69d47123.mjs +123 -0
  214. package/fesm2022/select-harness-69d47123.mjs.map +1 -0
  215. package/fesm2022/select.mjs +30 -1311
  216. package/fesm2022/select.mjs.map +1 -1
  217. package/fesm2022/sidenav/testing.mjs +1 -1
  218. package/fesm2022/sidenav/testing.mjs.map +1 -1
  219. package/fesm2022/sidenav.mjs +31 -31
  220. package/fesm2022/sidenav.mjs.map +1 -1
  221. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  222. package/fesm2022/slide-toggle.mjs +27 -75
  223. package/fesm2022/slide-toggle.mjs.map +1 -1
  224. package/fesm2022/slider/testing.mjs.map +1 -1
  225. package/fesm2022/slider.mjs +27 -23
  226. package/fesm2022/slider.mjs.map +1 -1
  227. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  228. package/fesm2022/snack-bar.mjs +38 -30
  229. package/fesm2022/snack-bar.mjs.map +1 -1
  230. package/fesm2022/sort/testing.mjs.map +1 -1
  231. package/fesm2022/sort.mjs +26 -20
  232. package/fesm2022/sort.mjs.map +1 -1
  233. package/fesm2022/stepper/testing.mjs.map +1 -1
  234. package/fesm2022/stepper.mjs +52 -39
  235. package/fesm2022/stepper.mjs.map +1 -1
  236. package/fesm2022/structural-styles-d5ada3b3.mjs +18 -0
  237. package/fesm2022/structural-styles-d5ada3b3.mjs.map +1 -0
  238. package/fesm2022/table/testing.mjs.map +1 -1
  239. package/fesm2022/table.mjs +58 -60
  240. package/fesm2022/table.mjs.map +1 -1
  241. package/fesm2022/tabs/testing.mjs.map +1 -1
  242. package/fesm2022/tabs.mjs +54 -58
  243. package/fesm2022/tabs.mjs.map +1 -1
  244. package/fesm2022/timepicker/testing.mjs +1 -1
  245. package/fesm2022/timepicker/testing.mjs.map +1 -1
  246. package/fesm2022/timepicker.mjs +37 -26
  247. package/fesm2022/timepicker.mjs.map +1 -1
  248. package/fesm2022/toolbar/testing.mjs.map +1 -1
  249. package/fesm2022/toolbar.mjs +13 -15
  250. package/fesm2022/toolbar.mjs.map +1 -1
  251. package/fesm2022/tooltip/testing.mjs.map +1 -1
  252. package/fesm2022/tooltip.mjs +15 -960
  253. package/fesm2022/tooltip.mjs.map +1 -1
  254. package/fesm2022/tree/testing.mjs.map +1 -1
  255. package/fesm2022/tree.mjs +28 -30
  256. package/fesm2022/tree.mjs.map +1 -1
  257. package/form-field/_form-field-theme.scss +16 -16
  258. package/form-field/index.d.ts +16 -508
  259. package/form-field/testing/control/index.d.ts +2 -10
  260. package/form-field/testing/index.d.ts +19 -24
  261. package/form-field-control-harness.d-2d91f25a.d.ts +10 -0
  262. package/form-field-control.d-eb86711c.d.ts +62 -0
  263. package/form-field.d-2edbc094.d.ts +367 -0
  264. package/grid-list/_grid-list-theme.scss +1 -1
  265. package/grid-list/index.d.ts +128 -152
  266. package/grid-list/testing/index.d.ts +39 -44
  267. package/icon/_icon-theme.scss +2 -2
  268. package/icon/index.d.ts +9 -470
  269. package/icon/testing/index.d.ts +41 -44
  270. package/icon-module.d-aa3bbba0.d.ts +167 -0
  271. package/icon-registry.d-1dffe9de.d.ts +286 -0
  272. package/index.d-0536b706.d.ts +11 -0
  273. package/index.d-37e31cd3.d.ts +13 -0
  274. package/index.d.ts +2 -3
  275. package/input/index.d.ts +33 -62
  276. package/input/testing/index.d.ts +13 -71
  277. package/input-harness.d-4eecd1d3.d.ts +60 -0
  278. package/line.d-570a2537.d.ts +25 -0
  279. package/list/_list-theme.scss +15 -15
  280. package/list/index.d.ts +155 -244
  281. package/list/testing/index.d.ts +158 -180
  282. package/list-option-types.d-8739f903.d.ts +15 -0
  283. package/menu/_menu-theme.scss +3 -3
  284. package/menu/index.d.ts +183 -231
  285. package/menu/testing/index.d.ts +17 -23
  286. package/module.d-74a721b9.d.ts +326 -0
  287. package/module.d-792a497c.d.ts +213 -0
  288. package/module.d-ba05faa6.d.ts +448 -0
  289. package/module.d-c17c834e.d.ts +18 -0
  290. package/optgroup-harness.d-7f741f69.d.ts +31 -0
  291. package/option-harness.d-3d33fc9a.d.ts +34 -0
  292. package/option-parent.d-559ad5c5.d.ts +19 -0
  293. package/option.d-6f493d78.d.ts +146 -0
  294. package/package.json +2 -2
  295. package/paginator/_paginator-theme.scss +3 -3
  296. package/paginator/index.d.ts +31 -216
  297. package/paginator/testing/index.d.ts +14 -15
  298. package/paginator.d-40b1766e.d.ts +199 -0
  299. package/palette.d-ec4a617c.d.ts +4 -0
  300. package/prebuilt-themes/deeppurple-amber.css +1 -1
  301. package/prebuilt-themes/indigo-pink.css +1 -1
  302. package/prebuilt-themes/pink-bluegrey.css +1 -1
  303. package/prebuilt-themes/purple-green.css +1 -1
  304. package/progress-bar/_progress-bar-theme.scss +2 -2
  305. package/progress-bar/index.d.ts +40 -59
  306. package/progress-bar/testing/index.d.ts +7 -10
  307. package/progress-spinner/_progress-spinner-theme.scss +4 -4
  308. package/progress-spinner/index.d.ts +8 -110
  309. package/progress-spinner/testing/index.d.ts +10 -11
  310. package/progress-spinner.d-1fc040c5.d.ts +96 -0
  311. package/pseudo-checkbox-module.d-3abc0461.d.ts +44 -0
  312. package/radio/_radio-theme.scss +12 -12
  313. package/radio/index.d.ts +151 -170
  314. package/radio/testing/index.d.ts +61 -67
  315. package/ripple-loader.d-8aac2988.d.ts +48 -0
  316. package/ripple.d-2fb57d04.d.ts +255 -0
  317. package/schematics/ng-add/index.js +1 -1
  318. package/schematics/ng-add/index.mjs +1 -1
  319. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
  320. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
  321. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
  322. package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
  323. package/schematics/ng-generate/theme-color/schema.json +10 -0
  324. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
  325. package/schematics/ng-update/index_bundled.js +31 -31
  326. package/select/_select-theme.scss +6 -6
  327. package/select/index.d.ts +25 -505
  328. package/select/testing/index.d.ts +5 -67
  329. package/select-harness.d-7441a7ac.d.ts +63 -0
  330. package/sidenav/_sidenav-theme.scss +2 -2
  331. package/sidenav/index.d.ts +49 -92
  332. package/sidenav/testing/index.d.ts +58 -63
  333. package/slide-toggle/_slide-toggle-theme.scss +10 -10
  334. package/slide-toggle/index.d.ts +39 -110
  335. package/slide-toggle/testing/index.d.ts +17 -21
  336. package/slider/_slider-theme.scss +10 -10
  337. package/slider/index.d.ts +281 -328
  338. package/slider/testing/index.d.ts +42 -47
  339. package/snack-bar/_snack-bar-theme.scss +4 -4
  340. package/snack-bar/index.d.ts +152 -185
  341. package/snack-bar/testing/index.d.ts +7 -9
  342. package/sort/_sort-theme.scss +3 -3
  343. package/sort/index.d.ts +61 -169
  344. package/sort/testing/index.d.ts +22 -25
  345. package/sort-direction.d-f4ce4649.d.ts +3 -0
  346. package/sort.d-c2b79a45.d.ts +87 -0
  347. package/stepper/_stepper-theme.scss +5 -5
  348. package/stepper/index.d.ts +115 -167
  349. package/stepper/testing/index.d.ts +43 -52
  350. package/table/_table-theme.scss +4 -4
  351. package/table/index.d.ts +97 -156
  352. package/table/testing/index.d.ts +64 -78
  353. package/tabs/_tabs-theme.scss +16 -16
  354. package/tabs/index.d.ts +309 -383
  355. package/tabs/testing/index.d.ts +67 -76
  356. package/timepicker/_timepicker-theme.scss +4 -4
  357. package/timepicker/index.d.ts +127 -160
  358. package/timepicker/testing/index.d.ts +20 -26
  359. package/toolbar/_toolbar-theme.scss +4 -4
  360. package/toolbar/index.d.ts +15 -26
  361. package/toolbar/testing/index.d.ts +13 -16
  362. package/tooltip/_tooltip-theme.scss +4 -4
  363. package/tooltip/index.d.ts +11 -355
  364. package/tooltip/testing/index.d.ts +7 -10
  365. package/tree/_tree-theme.scss +3 -3
  366. package/tree/index.d.ts +117 -163
  367. package/tree/testing/index.d.ts +52 -58
  368. /package/core/tokens/m3/definitions/{unused/_md-comp-filled-tonal-button.scss → _md-comp-filled-tonal-button.scss} +0 -0
@@ -1,18 +1,13 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { ElementRef } from '@angular/core';
3
1
  import * as i0 from '@angular/core';
4
- import * as i1 from '@angular/material/core';
5
- import { QueryList } from '@angular/core';
2
+ import { AfterViewInit, ElementRef, QueryList } from '@angular/core';
3
+ import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
4
+ import '@angular/cdk/bidi';
6
5
 
7
- declare namespace i2 {
8
- export {
9
- throwToolbarMixedModesError,
10
- MatToolbarRow,
11
- MatToolbar
12
- }
6
+ declare class MatToolbarRow {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarRow, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MatToolbarRow, "mat-toolbar-row", ["matToolbarRow"], {}, {}, never, never, true, never>;
13
9
  }
14
-
15
- export declare class MatToolbar implements AfterViewInit {
10
+ declare class MatToolbar implements AfterViewInit {
16
11
  protected _elementRef: ElementRef<any>;
17
12
  private _platform;
18
13
  private _document;
@@ -35,22 +30,16 @@ export declare class MatToolbar implements AfterViewInit {
35
30
  static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbar, never>;
36
31
  static ɵcmp: i0.ɵɵComponentDeclaration<MatToolbar, "mat-toolbar", ["matToolbar"], { "color": { "alias": "color"; "required": false; }; }, {}, ["_toolbarRows"], ["*", "mat-toolbar-row"], true, never>;
37
32
  }
38
-
39
- export declare class MatToolbarModule {
40
- static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarModule, never>;
41
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatToolbarModule, never, [typeof i1.MatCommonModule, typeof i2.MatToolbar, typeof i2.MatToolbarRow], [typeof i2.MatToolbar, typeof i2.MatToolbarRow, typeof i1.MatCommonModule]>;
42
- static ɵinj: i0.ɵɵInjectorDeclaration<MatToolbarModule>;
43
- }
44
-
45
- export declare class MatToolbarRow {
46
- static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarRow, never>;
47
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatToolbarRow, "mat-toolbar-row", ["matToolbarRow"], {}, {}, never, never, true, never>;
48
- }
49
-
50
33
  /**
51
34
  * Throws an exception when attempting to combine the different toolbar row modes.
52
35
  * @docs-private
53
36
  */
54
- export declare function throwToolbarMixedModesError(): void;
37
+ declare function throwToolbarMixedModesError(): void;
38
+
39
+ declare class MatToolbarModule {
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatToolbarModule, never>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatToolbarModule, never, [typeof MatCommonModule, typeof MatToolbar, typeof MatToolbarRow], [typeof MatToolbar, typeof MatToolbarRow, typeof MatCommonModule]>;
42
+ static ɵinj: i0.ɵɵInjectorDeclaration<MatToolbarModule>;
43
+ }
55
44
 
56
- export { }
45
+ export { MatToolbar, MatToolbarModule, MatToolbarRow, throwToolbarMixedModesError };
@@ -1,9 +1,17 @@
1
- import { BaseHarnessFilters } from '@angular/cdk/testing';
2
- import { ContentContainerComponentHarness } from '@angular/cdk/testing';
3
- import { HarnessPredicate } from '@angular/cdk/testing';
1
+ import { BaseHarnessFilters, ContentContainerComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
4
2
 
3
+ /** A set of criteria that can be used to filter a list of `MatToolbarHarness` instances. */
4
+ interface ToolbarHarnessFilters extends BaseHarnessFilters {
5
+ /** Only find instances whose text matches the given value. */
6
+ text?: string | RegExp;
7
+ }
8
+
9
+ /** Selectors for different sections of the mat-toolbar that contain user content. */
10
+ declare enum MatToolbarSection {
11
+ ROW = ".mat-toolbar-row"
12
+ }
5
13
  /** Harness for interacting with a standard mat-toolbar in tests. */
6
- export declare class MatToolbarHarness extends ContentContainerComponentHarness<MatToolbarSection> {
14
+ declare class MatToolbarHarness extends ContentContainerComponentHarness<MatToolbarSection> {
7
15
  static hostSelector: string;
8
16
  private _getRows;
9
17
  /**
@@ -21,15 +29,4 @@ export declare class MatToolbarHarness extends ContentContainerComponentHarness<
21
29
  getRowsAsText(): Promise<string[]>;
22
30
  }
23
31
 
24
- /** Selectors for different sections of the mat-toolbar that contain user content. */
25
- export declare enum MatToolbarSection {
26
- ROW = ".mat-toolbar-row"
27
- }
28
-
29
- /** A set of criteria that can be used to filter a list of `MatToolbarHarness` instances. */
30
- export declare interface ToolbarHarnessFilters extends BaseHarnessFilters {
31
- /** Only find instances whose text matches the given value. */
32
- text?: string | RegExp;
33
- }
34
-
35
- export { }
32
+ export { MatToolbarHarness, MatToolbarSection, type ToolbarHarnessFilters };
@@ -12,7 +12,7 @@
12
12
  } @else {
13
13
  // Add default values for tokens not related to color, typography, or density.
14
14
  @include sass-utils.current-selector-or-root() {
15
- @include token-utils.create-token-values(
15
+ @include token-utils.create-token-values-mixed(
16
16
  tokens-mdc-plain-tooltip.$prefix,
17
17
  tokens-mdc-plain-tooltip.get-unthemable-tokens()
18
18
  );
@@ -25,7 +25,7 @@
25
25
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
26
26
  } @else {
27
27
  @include sass-utils.current-selector-or-root() {
28
- @include token-utils.create-token-values(
28
+ @include token-utils.create-token-values-mixed(
29
29
  tokens-mdc-plain-tooltip.$prefix,
30
30
  tokens-mdc-plain-tooltip.get-color-tokens($theme)
31
31
  );
@@ -38,7 +38,7 @@
38
38
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
39
39
  } @else {
40
40
  @include sass-utils.current-selector-or-root() {
41
- @include token-utils.create-token-values(
41
+ @include token-utils.create-token-values-mixed(
42
42
  tokens-mdc-plain-tooltip.$prefix,
43
43
  tokens-mdc-plain-tooltip.get-typography-tokens($theme)
44
44
  );
@@ -51,7 +51,7 @@
51
51
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
52
52
  } @else {
53
53
  @include sass-utils.current-selector-or-root() {
54
- @include token-utils.create-token-values(
54
+ @include token-utils.create-token-values-mixed(
55
55
  tokens-mdc-plain-tooltip.$prefix,
56
56
  tokens-mdc-plain-tooltip.get-density-tokens($theme)
57
57
  );
@@ -1,215 +1,12 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { BooleanInput } from '@angular/cdk/coercion';
3
- import { ConnectedPosition } from '@angular/cdk/overlay';
4
- import { Directionality } from '@angular/cdk/bidi';
5
- import { ElementRef } from '@angular/core';
6
- import * as i0 from '@angular/core';
7
- import * as i1 from '@angular/cdk/a11y';
8
- import * as i2 from '@angular/cdk/overlay';
9
- import * as i3 from '@angular/material/core';
10
- import * as i5 from '@angular/cdk/scrolling';
11
- import { InjectionToken } from '@angular/core';
12
- import { NumberInput } from '@angular/cdk/coercion';
13
- import { Observable } from 'rxjs';
14
- import { OnDestroy } from '@angular/core';
15
- import { OriginConnectionPosition } from '@angular/cdk/overlay';
16
- import { Overlay } from '@angular/cdk/overlay';
17
- import { OverlayConnectionPosition } from '@angular/cdk/overlay';
18
- import { OverlayRef } from '@angular/cdk/overlay';
19
- import { ScrollStrategy } from '@angular/cdk/overlay';
20
-
21
- /**
22
- * Creates an error to be thrown if the user supplied an invalid tooltip position.
23
- * @docs-private
24
- */
25
- export declare function getMatTooltipInvalidPositionError(position: string): Error;
26
-
27
- declare namespace i4 {
28
- export {
29
- getMatTooltipInvalidPositionError,
30
- MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY,
31
- MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY,
32
- TooltipPosition,
33
- TooltipTouchGestures,
34
- TooltipVisibility,
35
- SCROLL_THROTTLE_MS,
36
- MAT_TOOLTIP_SCROLL_STRATEGY,
37
- MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER,
38
- MAT_TOOLTIP_DEFAULT_OPTIONS,
39
- MatTooltipDefaultOptions,
40
- TOOLTIP_PANEL_CLASS,
41
- MatTooltip,
42
- TooltipComponent
43
- }
44
- }
45
-
46
- /** Injection token to be used to override the default options for `matTooltip`. */
47
- export declare const MAT_TOOLTIP_DEFAULT_OPTIONS: InjectionToken<MatTooltipDefaultOptions>;
48
-
49
- /** @docs-private */
50
- export declare function MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY(): MatTooltipDefaultOptions;
51
-
52
- /** Injection token that determines the scroll handling while a tooltip is visible. */
53
- export declare const MAT_TOOLTIP_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
54
-
55
- /** @docs-private */
56
- export declare function MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
57
-
58
- /** @docs-private */
59
- export declare const MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER: {
60
- provide: InjectionToken<() => ScrollStrategy>;
61
- deps: (typeof Overlay)[];
62
- useFactory: typeof MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY;
63
- };
64
-
65
- /**
66
- * Directive that attaches a material design tooltip to the host element. Animates the showing and
67
- * hiding of a tooltip provided position (defaults to below the element).
68
- *
69
- * https://material.io/design/components/tooltips.html
70
- */
71
- export declare class MatTooltip implements OnDestroy, AfterViewInit {
72
- private _elementRef;
73
- private _ngZone;
74
- private _platform;
75
- private _ariaDescriber;
76
- private _focusMonitor;
77
- protected _dir: Directionality;
78
- private _injector;
79
- private _viewContainerRef;
80
- private _defaultOptions;
81
- _overlayRef: OverlayRef | null;
82
- _tooltipInstance: TooltipComponent | null;
83
- private _portal;
84
- private _position;
85
- private _positionAtOrigin;
86
- private _disabled;
87
- private _tooltipClass;
88
- private _viewInitialized;
89
- private _pointerExitEventsInitialized;
90
- private readonly _tooltipComponent;
91
- private _viewportMargin;
92
- private _currentPosition;
93
- private readonly _cssClassPrefix;
94
- private _ariaDescriptionPending;
95
- private _dirSubscribed;
96
- /** Allows the user to define the position of the tooltip relative to the parent element */
97
- get position(): TooltipPosition;
98
- set position(value: TooltipPosition);
99
- /**
100
- * Whether tooltip should be relative to the click or touch origin
101
- * instead of outside the element bounding box.
102
- */
103
- get positionAtOrigin(): boolean;
104
- set positionAtOrigin(value: BooleanInput);
105
- /** Disables the display of the tooltip. */
106
- get disabled(): boolean;
107
- set disabled(value: BooleanInput);
108
- /** The default delay in ms before showing the tooltip after show is called */
109
- get showDelay(): number;
110
- set showDelay(value: NumberInput);
111
- private _showDelay;
112
- /** The default delay in ms before hiding the tooltip after hide is called */
113
- get hideDelay(): number;
114
- set hideDelay(value: NumberInput);
115
- private _hideDelay;
116
- /**
117
- * How touch gestures should be handled by the tooltip. On touch devices the tooltip directive
118
- * uses a long press gesture to show and hide, however it can conflict with the native browser
119
- * gestures. To work around the conflict, Angular Material disables native gestures on the
120
- * trigger, but that might not be desirable on particular elements (e.g. inputs and draggable
121
- * elements). The different values for this option configure the touch event handling as follows:
122
- * - `auto` - Enables touch gestures for all elements, but tries to avoid conflicts with native
123
- * browser gestures on particular elements. In particular, it allows text selection on inputs
124
- * and textareas, and preserves the native browser dragging on elements marked as `draggable`.
125
- * - `on` - Enables touch gestures for all elements and disables native
126
- * browser gestures with no exceptions.
127
- * - `off` - Disables touch gestures. Note that this will prevent the tooltip from
128
- * showing on touch devices.
129
- */
130
- touchGestures: TooltipTouchGestures;
131
- /** The message to be displayed in the tooltip */
132
- get message(): string;
133
- set message(value: string | null | undefined);
134
- private _message;
135
- /** Classes to be passed to the tooltip. Supports the same syntax as `ngClass`. */
136
- get tooltipClass(): string | string[] | Set<string> | {
137
- [key: string]: any;
138
- };
139
- set tooltipClass(value: string | string[] | Set<string> | {
140
- [key: string]: any;
141
- });
142
- /** Manually-bound passive event listeners. */
143
- private readonly _passiveListeners;
144
- /** Timer started at the last `touchstart` event. */
145
- private _touchstartTimeout;
146
- /** Emits when the component is destroyed. */
147
- private readonly _destroyed;
148
- /** Whether ngOnDestroyed has been called. */
149
- private _isDestroyed;
150
- constructor(...args: unknown[]);
151
- ngAfterViewInit(): void;
152
- /**
153
- * Dispose the tooltip when destroyed.
154
- */
155
- ngOnDestroy(): void;
156
- /** Shows the tooltip after the delay in ms, defaults to tooltip-delay-show or 0ms if no input */
157
- show(delay?: number, origin?: {
158
- x: number;
159
- y: number;
160
- }): void;
161
- /** Hides the tooltip after the delay in ms, defaults to tooltip-delay-hide or 0ms if no input */
162
- hide(delay?: number): void;
163
- /** Shows/hides the tooltip */
164
- toggle(origin?: {
165
- x: number;
166
- y: number;
167
- }): void;
168
- /** Returns true if the tooltip is currently visible to the user */
169
- _isTooltipVisible(): boolean;
170
- /** Create the overlay config and position strategy */
171
- private _createOverlay;
172
- /** Detaches the currently-attached tooltip. */
173
- private _detach;
174
- /** Updates the position of the current tooltip. */
175
- private _updatePosition;
176
- /** Adds the configured offset to a position. Used as a hook for child classes. */
177
- protected _addOffset(position: ConnectedPosition): ConnectedPosition;
178
- /**
179
- * Returns the origin position and a fallback position based on the user's position preference.
180
- * The fallback position is the inverse of the origin (e.g. `'below' -> 'above'`).
181
- */
182
- _getOrigin(): {
183
- main: OriginConnectionPosition;
184
- fallback: OriginConnectionPosition;
185
- };
186
- /** Returns the overlay position and a fallback position based on the user's preference */
187
- _getOverlayPosition(): {
188
- main: OverlayConnectionPosition;
189
- fallback: OverlayConnectionPosition;
190
- };
191
- /** Updates the tooltip message and repositions the overlay according to the new message length */
192
- private _updateTooltipMessage;
193
- /** Updates the tooltip class */
194
- private _setTooltipClass;
195
- /** Inverts an overlay position. */
196
- private _invertPosition;
197
- /** Updates the class on the overlay panel based on the current position of the tooltip. */
198
- private _updateCurrentPositionClass;
199
- /** Binds the pointer events to the tooltip trigger. */
200
- private _setupPointerEnterEventsIfNeeded;
201
- private _setupPointerExitEventsIfNeeded;
202
- private _addListeners;
203
- private _platformSupportsMouseEvents;
204
- /** Listener for the `wheel` event on the element. */
205
- private _wheelListener;
206
- /** Disables the native browser gestures, based on how the tooltip has been configured. */
207
- private _disableNativeGesturesIfNecessary;
208
- /** Updates the tooltip's ARIA description based on it current state. */
209
- private _syncAriaDescription;
210
- static ɵfac: i0.ɵɵFactoryDeclaration<MatTooltip, never>;
211
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatTooltip, "[matTooltip]", ["matTooltip"], { "position": { "alias": "matTooltipPosition"; "required": false; }; "positionAtOrigin": { "alias": "matTooltipPositionAtOrigin"; "required": false; }; "disabled": { "alias": "matTooltipDisabled"; "required": false; }; "showDelay": { "alias": "matTooltipShowDelay"; "required": false; }; "hideDelay": { "alias": "matTooltipHideDelay"; "required": false; }; "touchGestures": { "alias": "matTooltipTouchGestures"; "required": false; }; "message": { "alias": "matTooltip"; "required": false; }; "tooltipClass": { "alias": "matTooltipClass"; "required": false; }; }, {}, never, never, true, never>;
212
- }
1
+ export { h as MAT_TOOLTIP_DEFAULT_OPTIONS, f as MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY, c as MAT_TOOLTIP_SCROLL_STRATEGY, d as MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY, e as MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER, k as MatTooltip, i as MatTooltipDefaultOptions, M as MatTooltipModule, S as SCROLL_THROTTLE_MS, j as TOOLTIP_PANEL_CLASS, l as TooltipComponent, T as TooltipPosition, a as TooltipTouchGestures, b as TooltipVisibility, g as getMatTooltipInvalidPositionError } from '../module.d-74a721b9.js';
2
+ import '@angular/core';
3
+ import '@angular/cdk/a11y';
4
+ import '@angular/cdk/overlay';
5
+ import '../common-module.d-0e6515ae.js';
6
+ import '@angular/cdk/bidi';
7
+ import '@angular/cdk/coercion';
8
+ import 'rxjs';
9
+ import '@angular/cdk/scrolling';
213
10
 
214
11
  /**
215
12
  * Animations used by MatTooltip.
@@ -217,149 +14,8 @@ export declare class MatTooltip implements OnDestroy, AfterViewInit {
217
14
  * @deprecated No longer being used, to be removed.
218
15
  * @breaking-change 21.0.0
219
16
  */
220
- export declare const matTooltipAnimations: {
17
+ declare const matTooltipAnimations: {
221
18
  readonly tooltipState: any;
222
19
  };
223
20
 
224
- /** Default `matTooltip` options that can be overridden. */
225
- export declare interface MatTooltipDefaultOptions {
226
- /** Default delay when the tooltip is shown. */
227
- showDelay: number;
228
- /** Default delay when the tooltip is hidden. */
229
- hideDelay: number;
230
- /** Default delay when hiding the tooltip on a touch device. */
231
- touchendHideDelay: number;
232
- /** Time between the user putting the pointer on a tooltip trigger and the long press event being fired on a touch device. */
233
- touchLongPressShowDelay?: number;
234
- /** Default touch gesture handling for tooltips. */
235
- touchGestures?: TooltipTouchGestures;
236
- /** Default position for tooltips. */
237
- position?: TooltipPosition;
238
- /**
239
- * Default value for whether tooltips should be positioned near the click or touch origin
240
- * instead of outside the element bounding box.
241
- */
242
- positionAtOrigin?: boolean;
243
- /** Disables the ability for the user to interact with the tooltip element. */
244
- disableTooltipInteractivity?: boolean;
245
- /**
246
- * Default classes to be applied to the tooltip. These default classes will not be applied if
247
- * `tooltipClass` is defined directly on the tooltip element, as it will override the default.
248
- */
249
- tooltipClass?: string | string[];
250
- }
251
-
252
- export declare class MatTooltipModule {
253
- static ɵfac: i0.ɵɵFactoryDeclaration<MatTooltipModule, never>;
254
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatTooltipModule, never, [typeof i1.A11yModule, typeof i2.OverlayModule, typeof i3.MatCommonModule, typeof i4.MatTooltip, typeof i4.TooltipComponent], [typeof i4.MatTooltip, typeof i4.TooltipComponent, typeof i3.MatCommonModule, typeof i5.CdkScrollableModule]>;
255
- static ɵinj: i0.ɵɵInjectorDeclaration<MatTooltipModule>;
256
- }
257
-
258
- /** Time in ms to throttle repositioning after scroll events. */
259
- export declare const SCROLL_THROTTLE_MS = 20;
260
-
261
- /**
262
- * CSS class that will be attached to the overlay panel.
263
- * @deprecated
264
- * @breaking-change 13.0.0 remove this variable
265
- */
266
- export declare const TOOLTIP_PANEL_CLASS = "mat-mdc-tooltip-panel";
267
-
268
- /**
269
- * Internal component that wraps the tooltip's content.
270
- * @docs-private
271
- */
272
- export declare class TooltipComponent implements OnDestroy {
273
- private _changeDetectorRef;
274
- protected _elementRef: ElementRef<HTMLElement>;
275
- _isMultiline: boolean;
276
- /** Message to display in the tooltip */
277
- message: string;
278
- /** Classes to be added to the tooltip. Supports the same syntax as `ngClass`. */
279
- tooltipClass: string | string[] | Set<string> | {
280
- [key: string]: any;
281
- };
282
- /** The timeout ID of any current timer set to show the tooltip */
283
- private _showTimeoutId;
284
- /** The timeout ID of any current timer set to hide the tooltip */
285
- private _hideTimeoutId;
286
- /** Element that caused the tooltip to open. */
287
- _triggerElement: HTMLElement;
288
- /** Amount of milliseconds to delay the closing sequence. */
289
- _mouseLeaveHideDelay: number;
290
- /** Whether animations are currently disabled. */
291
- private _animationsDisabled;
292
- /** Reference to the internal tooltip element. */
293
- _tooltip: ElementRef<HTMLElement>;
294
- /** Whether interactions on the page should close the tooltip */
295
- private _closeOnInteraction;
296
- /** Whether the tooltip is currently visible. */
297
- private _isVisible;
298
- /** Subject for notifying that the tooltip has been hidden from the view */
299
- private readonly _onHide;
300
- /** Name of the show animation and the class that toggles it. */
301
- private readonly _showAnimation;
302
- /** Name of the hide animation and the class that toggles it. */
303
- private readonly _hideAnimation;
304
- constructor(...args: unknown[]);
305
- /**
306
- * Shows the tooltip with an animation originating from the provided origin
307
- * @param delay Amount of milliseconds to the delay showing the tooltip.
308
- */
309
- show(delay: number): void;
310
- /**
311
- * Begins the animation to hide the tooltip after the provided delay in ms.
312
- * @param delay Amount of milliseconds to delay showing the tooltip.
313
- */
314
- hide(delay: number): void;
315
- /** Returns an observable that notifies when the tooltip has been hidden from view. */
316
- afterHidden(): Observable<void>;
317
- /** Whether the tooltip is being displayed. */
318
- isVisible(): boolean;
319
- ngOnDestroy(): void;
320
- /**
321
- * Interactions on the HTML body should close the tooltip immediately as defined in the
322
- * material design spec.
323
- * https://material.io/design/components/tooltips.html#behavior
324
- */
325
- _handleBodyInteraction(): void;
326
- /**
327
- * Marks that the tooltip needs to be checked in the next change detection run.
328
- * Mainly used for rendering the initial text before positioning a tooltip, which
329
- * can be problematic in components with OnPush change detection.
330
- */
331
- _markForCheck(): void;
332
- _handleMouseLeave({ relatedTarget }: MouseEvent): void;
333
- /**
334
- * Callback for when the timeout in this.show() gets completed.
335
- * This method is only needed by the mdc-tooltip, and so it is only implemented
336
- * in the mdc-tooltip, not here.
337
- */
338
- protected _onShow(): void;
339
- /** Whether the tooltip text has overflown to the next line */
340
- private _isTooltipMultiline;
341
- /** Event listener dispatched when an animation on the tooltip finishes. */
342
- _handleAnimationEnd({ animationName }: AnimationEvent): void;
343
- /** Cancels any pending animation sequences. */
344
- _cancelPendingAnimations(): void;
345
- /** Handles the cleanup after an animation has finished. */
346
- private _finalizeAnimation;
347
- /** Toggles the visibility of the tooltip element. */
348
- private _toggleVisibility;
349
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
350
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "mat-tooltip-component", never, {}, {}, never, never, true, never>;
351
- }
352
-
353
- /** Possible positions for a tooltip. */
354
- export declare type TooltipPosition = 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
355
-
356
- /**
357
- * Options for how the tooltip trigger should handle touch gestures.
358
- * See `MatTooltip.touchGestures` for more information.
359
- */
360
- export declare type TooltipTouchGestures = 'auto' | 'on' | 'off';
361
-
362
- /** Possible visibility states of a tooltip. */
363
- export declare type TooltipVisibility = 'initial' | 'visible' | 'hidden';
364
-
365
- export { }
21
+ export { matTooltipAnimations };
@@ -1,10 +1,11 @@
1
- import { BaseHarnessFilters } from '@angular/cdk/testing';
2
- import { ComponentHarness } from '@angular/cdk/testing';
3
- import { ComponentHarnessConstructor } from '@angular/cdk/testing';
4
- import { HarnessPredicate } from '@angular/cdk/testing';
1
+ import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
2
+
3
+ /** A set of criteria that can be used to filter a list of `MatTooltipHarness` instances. */
4
+ interface TooltipHarnessFilters extends BaseHarnessFilters {
5
+ }
5
6
 
6
7
  /** Harness for interacting with a mat-tooltip in tests. */
7
- export declare class MatTooltipHarness extends ComponentHarness {
8
+ declare class MatTooltipHarness extends ComponentHarness {
8
9
  static hostSelector: string;
9
10
  private _optionalPanel;
10
11
  private _hiddenClass;
@@ -30,8 +31,4 @@ export declare class MatTooltipHarness extends ComponentHarness {
30
31
  getTooltipText(): Promise<string>;
31
32
  }
32
33
 
33
- /** A set of criteria that can be used to filter a list of `MatTooltipHarness` instances. */
34
- export declare interface TooltipHarnessFilters extends BaseHarnessFilters {
35
- }
36
-
37
- export { }
34
+ export { MatTooltipHarness, type TooltipHarnessFilters };
@@ -19,7 +19,7 @@
19
19
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
20
20
  } @else {
21
21
  @include sass-utils.current-selector-or-root() {
22
- @include token-utils.create-token-values(
22
+ @include token-utils.create-token-values-mixed(
23
23
  tokens-mat-tree.$prefix,
24
24
  tokens-mat-tree.get-color-tokens($theme)
25
25
  );
@@ -35,7 +35,7 @@
35
35
  $theme: inspection.private-get-typography-back-compat-theme($theme);
36
36
 
37
37
  @include sass-utils.current-selector-or-root() {
38
- @include token-utils.create-token-values(
38
+ @include token-utils.create-token-values-mixed(
39
39
  tokens-mat-tree.$prefix,
40
40
  tokens-mat-tree.get-typography-tokens($theme)
41
41
  );
@@ -50,7 +50,7 @@
50
50
  $density-scale: inspection.get-theme-density($theme);
51
51
 
52
52
  @include sass-utils.current-selector-or-root() {
53
- @include token-utils.create-token-values(
53
+ @include token-utils.create-token-values-mixed(
54
54
  tokens-mat-tree.$prefix,
55
55
  tokens-mat-tree.get-density-tokens($theme)
56
56
  );