@angular/material 21.0.0-next.1 → 21.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 (389) hide show
  1. package/chips/_m3-chip.scss +2 -5
  2. package/core/focus-indicators/_private.scss +16 -0
  3. package/core/tokens/_classes.scss +130 -145
  4. package/core/tokens/m2/_md-sys-color-internal.scss +11 -0
  5. package/core/tokens/m2/_md-sys-color.scss +28 -19
  6. package/core/tokens/m3/_md-sys-color-internal.scss +11 -0
  7. package/core/tokens/m3/_md-sys-color.scss +5 -31
  8. package/core/tokens/m3/_md-sys-typescale-internal.scss +5 -0
  9. package/core/tokens/m3/_md-sys-typescale.scss +2 -16
  10. package/fesm2022/{animation.mjs → _animation-chunk.mjs} +2 -23
  11. package/fesm2022/_animation-chunk.mjs.map +1 -0
  12. package/fesm2022/{date-formats.mjs → _date-formats-chunk.mjs} +3 -11
  13. package/fesm2022/_date-formats-chunk.mjs.map +1 -0
  14. package/fesm2022/{date-range-input-harness.mjs → _date-range-input-harness-chunk.mjs} +1 -1
  15. package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -0
  16. package/fesm2022/{error-options.mjs → _error-options-chunk.mjs} +1 -1
  17. package/fesm2022/_error-options-chunk.mjs.map +1 -0
  18. package/fesm2022/{error-state.mjs → _error-state-chunk.mjs} +1 -1
  19. package/fesm2022/_error-state-chunk.mjs.map +1 -0
  20. package/fesm2022/_form-field-chunk.mjs +1114 -0
  21. package/fesm2022/_form-field-chunk.mjs.map +1 -0
  22. package/fesm2022/{icon-button.mjs → _icon-button-chunk.mjs} +4 -4
  23. package/fesm2022/_icon-button-chunk.mjs.map +1 -0
  24. package/fesm2022/{icon-registry.mjs → _icon-registry-chunk.mjs} +3 -30
  25. package/fesm2022/_icon-registry-chunk.mjs.map +1 -0
  26. package/fesm2022/{input-harness.mjs → _input-harness-chunk.mjs} +1 -1
  27. package/fesm2022/_input-harness-chunk.mjs.map +1 -0
  28. package/fesm2022/{input-value-accessor.mjs → _input-value-accessor-chunk.mjs} +1 -1
  29. package/fesm2022/_input-value-accessor-chunk.mjs.map +1 -0
  30. package/fesm2022/{internal-form-field.mjs → _internal-form-field-chunk.mjs} +1 -1
  31. package/fesm2022/_internal-form-field-chunk.mjs.map +1 -0
  32. package/fesm2022/{line.mjs → _line-chunk.mjs} +6 -6
  33. package/fesm2022/_line-chunk.mjs.map +1 -0
  34. package/fesm2022/{option.mjs → _option-chunk.mjs} +6 -6
  35. package/fesm2022/_option-chunk.mjs.map +1 -0
  36. package/fesm2022/{option-harness.mjs → _option-harness-chunk.mjs} +1 -1
  37. package/fesm2022/_option-harness-chunk.mjs.map +1 -0
  38. package/fesm2022/{option-module.mjs → _option-module-chunk.mjs} +9 -9
  39. package/fesm2022/_option-module-chunk.mjs.map +1 -0
  40. package/fesm2022/{pseudo-checkbox.mjs → _pseudo-checkbox-chunk.mjs} +2 -2
  41. package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -0
  42. package/fesm2022/{pseudo-checkbox-module.mjs → _pseudo-checkbox-module-chunk.mjs} +7 -7
  43. package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -0
  44. package/fesm2022/{public-api.mjs → _public-api-chunk.mjs} +1 -1
  45. package/fesm2022/_public-api-chunk.mjs.map +1 -0
  46. package/fesm2022/{ripple.mjs → _ripple-chunk.mjs} +4 -4
  47. package/fesm2022/_ripple-chunk.mjs.map +1 -0
  48. package/fesm2022/{ripple-loader.mjs → _ripple-loader-chunk.mjs} +3 -3
  49. package/fesm2022/_ripple-loader-chunk.mjs.map +1 -0
  50. package/fesm2022/{ripple-module.mjs → _ripple-module-chunk.mjs} +7 -7
  51. package/fesm2022/_ripple-module-chunk.mjs.map +1 -0
  52. package/fesm2022/{structural-styles.mjs → _structural-styles-chunk.mjs} +1 -1
  53. package/fesm2022/_structural-styles-chunk.mjs.map +1 -0
  54. package/fesm2022/{tooltip2.mjs → _tooltip-chunk.mjs} +8 -35
  55. package/fesm2022/_tooltip-chunk.mjs.map +1 -0
  56. package/fesm2022/{autocomplete/testing.mjs → autocomplete-testing.mjs} +3 -3
  57. package/fesm2022/autocomplete-testing.mjs.map +1 -0
  58. package/fesm2022/autocomplete.mjs +20 -52
  59. package/fesm2022/autocomplete.mjs.map +1 -1
  60. package/fesm2022/{badge/testing.mjs → badge-testing.mjs} +1 -1
  61. package/fesm2022/badge-testing.mjs.map +1 -0
  62. package/fesm2022/badge.mjs +6 -7
  63. package/fesm2022/badge.mjs.map +1 -1
  64. package/fesm2022/{bottom-sheet/testing.mjs → bottom-sheet-testing.mjs} +1 -1
  65. package/fesm2022/bottom-sheet-testing.mjs.map +1 -0
  66. package/fesm2022/bottom-sheet.mjs +12 -90
  67. package/fesm2022/bottom-sheet.mjs.map +1 -1
  68. package/fesm2022/{button/testing.mjs → button-testing.mjs} +6 -2
  69. package/fesm2022/button-testing.mjs.map +1 -0
  70. package/fesm2022/{button-toggle/testing.mjs → button-toggle-testing.mjs} +1 -1
  71. package/fesm2022/button-toggle-testing.mjs.map +1 -0
  72. package/fesm2022/button-toggle.mjs +17 -26
  73. package/fesm2022/button-toggle.mjs.map +1 -1
  74. package/fesm2022/button.mjs +24 -46
  75. package/fesm2022/button.mjs.map +1 -1
  76. package/fesm2022/{card/testing.mjs → card-testing.mjs} +1 -1
  77. package/fesm2022/card-testing.mjs.map +1 -0
  78. package/fesm2022/card.mjs +6 -8
  79. package/fesm2022/card.mjs.map +1 -1
  80. package/fesm2022/{checkbox/testing.mjs → checkbox-testing.mjs} +1 -1
  81. package/fesm2022/checkbox-testing.mjs.map +1 -0
  82. package/fesm2022/checkbox.mjs +21 -31
  83. package/fesm2022/checkbox.mjs.map +1 -1
  84. package/fesm2022/{chips/testing.mjs → chips-testing.mjs} +1 -7
  85. package/fesm2022/chips-testing.mjs.map +1 -0
  86. package/fesm2022/chips.mjs +42 -22
  87. package/fesm2022/chips.mjs.map +1 -1
  88. package/fesm2022/{core/testing.mjs → core-testing.mjs} +2 -2
  89. package/fesm2022/core-testing.mjs.map +1 -0
  90. package/fesm2022/core.mjs +17 -24
  91. package/fesm2022/core.mjs.map +1 -1
  92. package/fesm2022/{datepicker/testing.mjs → datepicker-testing.mjs} +3 -3
  93. package/fesm2022/datepicker-testing.mjs.map +1 -0
  94. package/fesm2022/datepicker.mjs +114 -268
  95. package/fesm2022/datepicker.mjs.map +1 -1
  96. package/fesm2022/{dialog/testing.mjs → dialog-testing.mjs} +7 -8
  97. package/fesm2022/dialog-testing.mjs.map +1 -0
  98. package/fesm2022/dialog.mjs +882 -115
  99. package/fesm2022/dialog.mjs.map +1 -1
  100. package/fesm2022/{divider/testing.mjs → divider-testing.mjs} +1 -1
  101. package/fesm2022/divider-testing.mjs.map +1 -0
  102. package/fesm2022/divider.mjs +5 -7
  103. package/fesm2022/divider.mjs.map +1 -1
  104. package/fesm2022/{expansion/testing.mjs → expansion-testing.mjs} +1 -1
  105. package/fesm2022/expansion-testing.mjs.map +1 -0
  106. package/fesm2022/expansion.mjs +10 -114
  107. package/fesm2022/expansion.mjs.map +1 -1
  108. package/fesm2022/{form-field/testing/control.mjs → form-field-testing-control.mjs} +1 -1
  109. package/fesm2022/form-field-testing-control.mjs.map +1 -0
  110. package/fesm2022/{form-field/testing.mjs → form-field-testing.mjs} +5 -5
  111. package/fesm2022/form-field-testing.mjs.map +1 -0
  112. package/fesm2022/form-field.mjs +20 -51
  113. package/fesm2022/form-field.mjs.map +1 -1
  114. package/fesm2022/{grid-list/testing.mjs → grid-list-testing.mjs} +2 -2
  115. package/fesm2022/grid-list-testing.mjs.map +1 -0
  116. package/fesm2022/grid-list.mjs +9 -14
  117. package/fesm2022/grid-list.mjs.map +1 -1
  118. package/fesm2022/{icon/testing.mjs → icon-testing.mjs} +2 -2
  119. package/fesm2022/icon-testing.mjs.map +1 -0
  120. package/fesm2022/icon.mjs +17 -25
  121. package/fesm2022/icon.mjs.map +1 -1
  122. package/fesm2022/{input/testing.mjs → input-testing.mjs} +3 -3
  123. package/fesm2022/{input/testing.mjs.map → input-testing.mjs.map} +1 -1
  124. package/fesm2022/input.mjs +12 -13
  125. package/fesm2022/input.mjs.map +1 -1
  126. package/fesm2022/{list/testing.mjs → list-testing.mjs} +2 -2
  127. package/fesm2022/list-testing.mjs.map +1 -0
  128. package/fesm2022/list.mjs +14 -15
  129. package/fesm2022/list.mjs.map +1 -1
  130. package/fesm2022/{menu/testing.mjs → menu-testing.mjs} +1 -1
  131. package/fesm2022/menu-testing.mjs.map +1 -0
  132. package/fesm2022/menu.mjs +25 -173
  133. package/fesm2022/menu.mjs.map +1 -1
  134. package/fesm2022/{paginator/testing.mjs → paginator-testing.mjs} +2 -2
  135. package/fesm2022/paginator-testing.mjs.map +1 -0
  136. package/fesm2022/paginator.mjs +23 -44
  137. package/fesm2022/paginator.mjs.map +1 -1
  138. package/fesm2022/{progress-bar/testing.mjs → progress-bar-testing.mjs} +1 -1
  139. package/fesm2022/progress-bar-testing.mjs.map +1 -0
  140. package/fesm2022/progress-bar.mjs +20 -25
  141. package/fesm2022/progress-bar.mjs.map +1 -1
  142. package/fesm2022/{progress-spinner/testing.mjs → progress-spinner-testing.mjs} +1 -1
  143. package/fesm2022/progress-spinner-testing.mjs.map +1 -0
  144. package/fesm2022/progress-spinner.mjs +7 -17
  145. package/fesm2022/progress-spinner.mjs.map +1 -1
  146. package/fesm2022/{radio/testing.mjs → radio-testing.mjs} +1 -1
  147. package/fesm2022/radio-testing.mjs.map +1 -0
  148. package/fesm2022/radio.mjs +16 -25
  149. package/fesm2022/radio.mjs.map +1 -1
  150. package/fesm2022/{select/testing.mjs → select-testing.mjs} +1 -1
  151. package/fesm2022/select-testing.mjs.map +1 -0
  152. package/fesm2022/select.mjs +1299 -96
  153. package/fesm2022/select.mjs.map +1 -1
  154. package/fesm2022/{sidenav/testing.mjs → sidenav-testing.mjs} +1 -1
  155. package/fesm2022/sidenav-testing.mjs.map +1 -0
  156. package/fesm2022/sidenav.mjs +10 -100
  157. package/fesm2022/sidenav.mjs.map +1 -1
  158. package/fesm2022/{slide-toggle/testing.mjs → slide-toggle-testing.mjs} +1 -1
  159. package/fesm2022/slide-toggle-testing.mjs.map +1 -0
  160. package/fesm2022/slide-toggle.mjs +9 -10
  161. package/fesm2022/slide-toggle.mjs.map +1 -1
  162. package/fesm2022/{slider/testing.mjs → slider-testing.mjs} +1 -1
  163. package/fesm2022/slider-testing.mjs.map +1 -0
  164. package/fesm2022/slider.mjs +11 -25
  165. package/fesm2022/slider.mjs.map +1 -1
  166. package/fesm2022/{snack-bar/testing.mjs → snack-bar-testing.mjs} +1 -1
  167. package/fesm2022/snack-bar-testing.mjs.map +1 -0
  168. package/fesm2022/snack-bar.mjs +15 -109
  169. package/fesm2022/snack-bar.mjs.map +1 -1
  170. package/fesm2022/{sort/testing.mjs → sort-testing.mjs} +1 -1
  171. package/fesm2022/sort-testing.mjs.map +1 -0
  172. package/fesm2022/sort.mjs +11 -338
  173. package/fesm2022/sort.mjs.map +1 -1
  174. package/fesm2022/{stepper/testing.mjs → stepper-testing.mjs} +3 -2
  175. package/fesm2022/stepper-testing.mjs.map +1 -0
  176. package/fesm2022/stepper.mjs +19 -192
  177. package/fesm2022/stepper.mjs.map +1 -1
  178. package/fesm2022/{table/testing.mjs → table-testing.mjs} +36 -4
  179. package/fesm2022/table-testing.mjs.map +1 -0
  180. package/fesm2022/table.mjs +14 -11
  181. package/fesm2022/table.mjs.map +1 -1
  182. package/fesm2022/{tabs/testing.mjs → tabs-testing.mjs} +1 -1
  183. package/fesm2022/tabs-testing.mjs.map +1 -0
  184. package/fesm2022/tabs.mjs +27 -181
  185. package/fesm2022/tabs.mjs.map +1 -1
  186. package/fesm2022/{timepicker/testing.mjs → timepicker-testing.mjs} +2 -2
  187. package/fesm2022/timepicker-testing.mjs.map +1 -0
  188. package/fesm2022/timepicker.mjs +27 -21
  189. package/fesm2022/timepicker.mjs.map +1 -1
  190. package/fesm2022/{toolbar/testing.mjs → toolbar-testing.mjs} +1 -1
  191. package/fesm2022/toolbar-testing.mjs.map +1 -0
  192. package/fesm2022/toolbar.mjs +5 -7
  193. package/fesm2022/toolbar.mjs.map +1 -1
  194. package/fesm2022/{tooltip/testing.mjs → tooltip-testing.mjs} +1 -1
  195. package/fesm2022/tooltip-testing.mjs.map +1 -0
  196. package/fesm2022/tooltip.mjs +22 -55
  197. package/fesm2022/tooltip.mjs.map +1 -1
  198. package/fesm2022/{tree/testing.mjs → tree-testing.mjs} +1 -1
  199. package/fesm2022/tree-testing.mjs.map +1 -0
  200. package/fesm2022/tree.mjs +6 -8
  201. package/fesm2022/tree.mjs.map +1 -1
  202. package/package.json +115 -114
  203. package/prebuilt-themes/deeppurple-amber.css +1 -1
  204. package/prebuilt-themes/indigo-pink.css +1 -1
  205. package/prebuilt-themes/pink-bluegrey.css +1 -1
  206. package/prebuilt-themes/purple-green.css +1 -1
  207. package/schematics/ng-add/index.js +1 -1
  208. package/slider/_m2-slider.scss +1 -0
  209. package/slider/_m3-slider.scss +5 -2
  210. package/{badge.d.d.ts → types/_badge-chunk.d.ts} +1 -1
  211. package/{button-toggle.d.d.ts → types/_button-toggle-chunk.d.ts} +1 -7
  212. package/{date-adapter.d.d.ts → types/_date-adapter-chunk.d.ts} +1 -7
  213. package/{form-field.d.d.ts → types/_form-field-chunk.d.ts} +2 -2
  214. package/{form-field-module.d.d.ts → types/_form-field-module-chunk.d.ts} +4 -4
  215. package/{icon-module.d.d.ts → types/_icon-module-chunk.d.ts} +4 -10
  216. package/{icon-registry.d.d.ts → types/_icon-registry-chunk.d.ts} +2 -18
  217. package/{line.d.d.ts → types/_line-chunk.d.ts} +2 -2
  218. package/types/_option-module-chunk.d.ts +13 -0
  219. package/{paginator.d.d.ts → types/_paginator-chunk.d.ts} +4 -20
  220. package/{progress-spinner.d.d.ts → types/_progress-spinner-chunk.d.ts} +4 -10
  221. package/{pseudo-checkbox-module.d.d.ts → types/_pseudo-checkbox-module-chunk.d.ts} +2 -2
  222. package/{ripple.d.d.ts → types/_ripple-chunk.d.ts} +3 -3
  223. package/{ripple-module.d.d.ts → types/_ripple-module-chunk.d.ts} +3 -3
  224. package/{sort.d.d.ts → types/_sort-chunk.d.ts} +1 -1
  225. package/{autocomplete/testing/index.d.ts → types/autocomplete-testing.d.ts} +2 -2
  226. package/{autocomplete/index.d.ts → types/autocomplete.d.ts} +10 -33
  227. package/{badge/testing/index.d.ts → types/badge-testing.d.ts} +2 -2
  228. package/types/badge.d.ts +14 -0
  229. package/{bottom-sheet/index.d.ts → types/bottom-sheet.d.ts} +10 -14
  230. package/{button/testing/index.d.ts → types/button-testing.d.ts} +2 -0
  231. package/{button-toggle/testing/index.d.ts → types/button-toggle-testing.d.ts} +1 -1
  232. package/types/button-toggle.d.ts +16 -0
  233. package/{button/index.d.ts → types/button.d.ts} +7 -14
  234. package/{card/index.d.ts → types/card.d.ts} +2 -3
  235. package/{checkbox/index.d.ts → types/checkbox.d.ts} +4 -11
  236. package/{chips/index.d.ts → types/chips.d.ts} +55 -50
  237. package/{core/testing/index.d.ts → types/core-testing.d.ts} +1 -1
  238. package/{core/index.d.ts → types/core.d.ts} +14 -41
  239. package/{datepicker/testing/index.d.ts → types/datepicker-testing.d.ts} +2 -2
  240. package/{datepicker/index.d.ts → types/datepicker.d.ts} +48 -101
  241. package/{dialog/testing/index.d.ts → types/dialog-testing.d.ts} +1 -1
  242. package/{dialog/index.d.ts → types/dialog.d.ts} +9 -32
  243. package/{divider/index.d.ts → types/divider.d.ts} +2 -3
  244. package/{expansion/index.d.ts → types/expansion.d.ts} +5 -41
  245. package/{form-field/testing/control/index.d.ts → types/form-field-testing-control.d.ts} +1 -1
  246. package/{form-field/testing/index.d.ts → types/form-field-testing.d.ts} +4 -4
  247. package/{form-field/index.d.ts → types/form-field.d.ts} +6 -17
  248. package/{grid-list/index.d.ts → types/grid-list.d.ts} +3 -4
  249. package/{icon/testing/index.d.ts → types/icon-testing.d.ts} +1 -1
  250. package/types/icon.d.ts +8 -0
  251. package/{input/testing/index.d.ts → types/input-testing.d.ts} +2 -2
  252. package/{input/index.d.ts → types/input.d.ts} +10 -11
  253. package/{list/testing/index.d.ts → types/list-testing.d.ts} +2 -2
  254. package/{list/index.d.ts → types/list.d.ts} +10 -11
  255. package/{menu/index.d.ts → types/menu.d.ts} +7 -48
  256. package/{paginator/testing/index.d.ts → types/paginator-testing.d.ts} +1 -1
  257. package/types/paginator.d.ts +35 -0
  258. package/{progress-bar/index.d.ts → types/progress-bar.d.ts} +4 -11
  259. package/{progress-spinner/testing/index.d.ts → types/progress-spinner-testing.d.ts} +2 -2
  260. package/{progress-spinner/index.d.ts → types/progress-spinner.d.ts} +5 -6
  261. package/{radio/index.d.ts → types/radio.d.ts} +6 -13
  262. package/{select-module.d.d.ts → types/select.d.ts} +19 -26
  263. package/{sidenav/index.d.ts → types/sidenav.d.ts} +4 -21
  264. package/{slide-toggle/index.d.ts → types/slide-toggle.d.ts} +3 -4
  265. package/{slider/index.d.ts → types/slider.d.ts} +5 -5
  266. package/{snack-bar/index.d.ts → types/snack-bar.d.ts} +9 -25
  267. package/{sort/testing/index.d.ts → types/sort-testing.d.ts} +1 -1
  268. package/{sort/index.d.ts → types/sort.d.ts} +8 -40
  269. package/{stepper/index.d.ts → types/stepper.d.ts} +11 -39
  270. package/{table/testing/index.d.ts → types/table-testing.d.ts} +27 -1
  271. package/{table/index.d.ts → types/table.d.ts} +11 -11
  272. package/{tabs/index.d.ts → types/tabs.d.ts} +6 -22
  273. package/{timepicker/testing/index.d.ts → types/timepicker-testing.d.ts} +1 -1
  274. package/{timepicker/index.d.ts → types/timepicker.d.ts} +151 -130
  275. package/{toolbar/index.d.ts → types/toolbar.d.ts} +2 -3
  276. package/{tooltip-module.d.d.ts → types/tooltip.d.ts} +7 -29
  277. package/{tree/index.d.ts → types/tree.d.ts} +2 -3
  278. package/badge/index.d.ts +0 -15
  279. package/button-toggle/index.d.ts +0 -17
  280. package/common-module.d.d.ts +0 -44
  281. package/fesm2022/animation.mjs.map +0 -1
  282. package/fesm2022/autocomplete/testing.mjs.map +0 -1
  283. package/fesm2022/badge/testing.mjs.map +0 -1
  284. package/fesm2022/bottom-sheet/testing.mjs.map +0 -1
  285. package/fesm2022/button/testing.mjs.map +0 -1
  286. package/fesm2022/button-toggle/testing.mjs.map +0 -1
  287. package/fesm2022/card/testing.mjs.map +0 -1
  288. package/fesm2022/checkbox/testing.mjs.map +0 -1
  289. package/fesm2022/chips/testing.mjs.map +0 -1
  290. package/fesm2022/common-module.mjs +0 -42
  291. package/fesm2022/common-module.mjs.map +0 -1
  292. package/fesm2022/core/testing.mjs.map +0 -1
  293. package/fesm2022/date-formats.mjs.map +0 -1
  294. package/fesm2022/date-range-input-harness.mjs.map +0 -1
  295. package/fesm2022/datepicker/testing.mjs.map +0 -1
  296. package/fesm2022/dialog/testing.mjs.map +0 -1
  297. package/fesm2022/dialog-module.mjs +0 -891
  298. package/fesm2022/dialog-module.mjs.map +0 -1
  299. package/fesm2022/divider/testing.mjs.map +0 -1
  300. package/fesm2022/error-options.mjs.map +0 -1
  301. package/fesm2022/error-state.mjs.map +0 -1
  302. package/fesm2022/expansion/testing.mjs.map +0 -1
  303. package/fesm2022/form-field/testing/control.mjs.map +0 -1
  304. package/fesm2022/form-field/testing.mjs.map +0 -1
  305. package/fesm2022/form-field-module.mjs +0 -39
  306. package/fesm2022/form-field-module.mjs.map +0 -1
  307. package/fesm2022/form-field2.mjs +0 -1114
  308. package/fesm2022/form-field2.mjs.map +0 -1
  309. package/fesm2022/grid-list/testing.mjs.map +0 -1
  310. package/fesm2022/icon/testing.mjs.map +0 -1
  311. package/fesm2022/icon-button.mjs.map +0 -1
  312. package/fesm2022/icon-registry.mjs.map +0 -1
  313. package/fesm2022/input-harness.mjs.map +0 -1
  314. package/fesm2022/input-value-accessor.mjs.map +0 -1
  315. package/fesm2022/internal-form-field.mjs.map +0 -1
  316. package/fesm2022/line.mjs.map +0 -1
  317. package/fesm2022/list/testing.mjs.map +0 -1
  318. package/fesm2022/menu/testing.mjs.map +0 -1
  319. package/fesm2022/option-harness.mjs.map +0 -1
  320. package/fesm2022/option-module.mjs.map +0 -1
  321. package/fesm2022/option.mjs.map +0 -1
  322. package/fesm2022/paginator/testing.mjs.map +0 -1
  323. package/fesm2022/progress-bar/testing.mjs.map +0 -1
  324. package/fesm2022/progress-spinner/testing.mjs.map +0 -1
  325. package/fesm2022/pseudo-checkbox-module.mjs.map +0 -1
  326. package/fesm2022/pseudo-checkbox.mjs.map +0 -1
  327. package/fesm2022/public-api.mjs.map +0 -1
  328. package/fesm2022/radio/testing.mjs.map +0 -1
  329. package/fesm2022/ripple-loader.mjs.map +0 -1
  330. package/fesm2022/ripple-module.mjs.map +0 -1
  331. package/fesm2022/ripple.mjs.map +0 -1
  332. package/fesm2022/select/testing.mjs.map +0 -1
  333. package/fesm2022/select-module.mjs +0 -1318
  334. package/fesm2022/select-module.mjs.map +0 -1
  335. package/fesm2022/sidenav/testing.mjs.map +0 -1
  336. package/fesm2022/slide-toggle/testing.mjs.map +0 -1
  337. package/fesm2022/slider/testing.mjs.map +0 -1
  338. package/fesm2022/snack-bar/testing.mjs.map +0 -1
  339. package/fesm2022/sort/testing.mjs.map +0 -1
  340. package/fesm2022/stepper/testing.mjs.map +0 -1
  341. package/fesm2022/structural-styles.mjs.map +0 -1
  342. package/fesm2022/table/testing.mjs.map +0 -1
  343. package/fesm2022/tabs/testing.mjs.map +0 -1
  344. package/fesm2022/timepicker/testing.mjs.map +0 -1
  345. package/fesm2022/toolbar/testing.mjs.map +0 -1
  346. package/fesm2022/tooltip/testing.mjs.map +0 -1
  347. package/fesm2022/tooltip-module.mjs +0 -24
  348. package/fesm2022/tooltip-module.mjs.map +0 -1
  349. package/fesm2022/tooltip2.mjs.map +0 -1
  350. package/fesm2022/tree/testing.mjs.map +0 -1
  351. package/icon/index.d.ts +0 -9
  352. package/option-module.d.d.ts +0 -13
  353. package/paginator/index.d.ts +0 -36
  354. package/select/index.d.ts +0 -38
  355. package/tooltip/index.d.ts +0 -21
  356. /package/{date-range-input-harness.d.d.ts → types/_date-range-input-harness-chunk.d.ts} +0 -0
  357. /package/{dialog.d.d.ts → types/_dialog-chunk.d.ts} +0 -0
  358. /package/{error-options.d.d.ts → types/_error-options-chunk.d.ts} +0 -0
  359. /package/{form-field-control.d.d.ts → types/_form-field-control-chunk.d.ts} +0 -0
  360. /package/{form-field-control-harness.d.d.ts → types/_form-field-control-harness-chunk.d.ts} +0 -0
  361. /package/{input-harness.d.d.ts → types/_input-harness-chunk.d.ts} +0 -0
  362. /package/{list-option-types.d.d.ts → types/_list-option-types-chunk.d.ts} +0 -0
  363. /package/{option.d.d.ts → types/_option-chunk.d.ts} +0 -0
  364. /package/{option-harness.d.d.ts → types/_option-harness-chunk.d.ts} +0 -0
  365. /package/{option-parent.d.d.ts → types/_option-parent-chunk.d.ts} +0 -0
  366. /package/{palette.d.d.ts → types/_palette-chunk.d.ts} +0 -0
  367. /package/{ripple-loader.d.d.ts → types/_ripple-loader-chunk.d.ts} +0 -0
  368. /package/{sort-direction.d.d.ts → types/_sort-direction-chunk.d.ts} +0 -0
  369. /package/{bottom-sheet/testing/index.d.ts → types/bottom-sheet-testing.d.ts} +0 -0
  370. /package/{card/testing/index.d.ts → types/card-testing.d.ts} +0 -0
  371. /package/{checkbox/testing/index.d.ts → types/checkbox-testing.d.ts} +0 -0
  372. /package/{chips/testing/index.d.ts → types/chips-testing.d.ts} +0 -0
  373. /package/{divider/testing/index.d.ts → types/divider-testing.d.ts} +0 -0
  374. /package/{expansion/testing/index.d.ts → types/expansion-testing.d.ts} +0 -0
  375. /package/{grid-list/testing/index.d.ts → types/grid-list-testing.d.ts} +0 -0
  376. /package/{index.d.ts → types/material.d.ts} +0 -0
  377. /package/{menu/testing/index.d.ts → types/menu-testing.d.ts} +0 -0
  378. /package/{progress-bar/testing/index.d.ts → types/progress-bar-testing.d.ts} +0 -0
  379. /package/{radio/testing/index.d.ts → types/radio-testing.d.ts} +0 -0
  380. /package/{select/testing/index.d.ts → types/select-testing.d.ts} +0 -0
  381. /package/{sidenav/testing/index.d.ts → types/sidenav-testing.d.ts} +0 -0
  382. /package/{slide-toggle/testing/index.d.ts → types/slide-toggle-testing.d.ts} +0 -0
  383. /package/{slider/testing/index.d.ts → types/slider-testing.d.ts} +0 -0
  384. /package/{snack-bar/testing/index.d.ts → types/snack-bar-testing.d.ts} +0 -0
  385. /package/{stepper/testing/index.d.ts → types/stepper-testing.d.ts} +0 -0
  386. /package/{tabs/testing/index.d.ts → types/tabs-testing.d.ts} +0 -0
  387. /package/{toolbar/testing/index.d.ts → types/toolbar-testing.d.ts} +0 -0
  388. /package/{tooltip/testing/index.d.ts → types/tooltip-testing.d.ts} +0 -0
  389. /package/{tree/testing/index.d.ts → types/tree-testing.d.ts} +0 -0
package/fesm2022/sort.mjs CHANGED
@@ -1,14 +1,13 @@
1
+ import { BidiModule } from '@angular/cdk/bidi';
1
2
  import * as i0 from '@angular/core';
2
- import { InjectionToken, EventEmitter, booleanAttribute, Directive, Optional, Inject, Input, Output, Injectable, SkipSelf, inject, ChangeDetectorRef, ElementRef, signal, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import { InjectionToken, EventEmitter, booleanAttribute, Directive, Optional, Inject, Input, Output, Injectable, inject, ChangeDetectorRef, ElementRef, signal, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
4
  import { FocusMonitor, AriaDescriber } from '@angular/cdk/a11y';
4
5
  import { SPACE, ENTER } from '@angular/cdk/keycodes';
5
6
  import { ReplaySubject, Subject, merge } from 'rxjs';
6
7
  import { _CdkPrivateStyleLoader } from '@angular/cdk/private';
7
- import { _animationsDisabled } from './animation.mjs';
8
- import { _StructuralStylesLoader } from './structural-styles.mjs';
9
- import { MatCommonModule } from './common-module.mjs';
8
+ import { _animationsDisabled } from './_animation-chunk.mjs';
9
+ import { _StructuralStylesLoader } from './_structural-styles-chunk.mjs';
10
10
  import '@angular/cdk/layout';
11
- import '@angular/cdk/bidi';
12
11
 
13
12
  /** @docs-private */
14
13
  function getSortDuplicateSortableIdError(id) {
@@ -195,25 +194,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2",
195
194
  type: Injectable,
196
195
  args: [{ providedIn: 'root' }]
197
196
  }] });
198
- /**
199
- * @docs-private
200
- * @deprecated No longer used, will be removed.
201
- * @breaking-change 21.0.0
202
- */
203
- function MAT_SORT_HEADER_INTL_PROVIDER_FACTORY(parentIntl) {
204
- return parentIntl || new MatSortHeaderIntl();
205
- }
206
- /**
207
- * @docs-private
208
- * @deprecated No longer used, will be removed.
209
- * @breaking-change 21.0.0
210
- */
211
- const MAT_SORT_HEADER_INTL_PROVIDER = {
212
- // If there is already an MatSortHeaderIntl available, use that. Otherwise, provide a new one.
213
- provide: MatSortHeaderIntl,
214
- deps: [[new Optional(), new SkipSelf(), MatSortHeaderIntl]],
215
- useFactory: MAT_SORT_HEADER_INTL_PROVIDER_FACTORY,
216
- };
217
197
 
218
198
  /**
219
199
  * Applies sorting behavior (click to change sort) and styles to an element, including an
@@ -369,7 +349,7 @@ class MatSortHeader {
369
349
  this._sortActionDescription = newDescription;
370
350
  }
371
351
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortHeader, deps: [], target: i0.ɵɵFactoryTarget.Component });
372
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0-next.2", type: MatSortHeader, isStandalone: true, selector: "[mat-sort-header]", inputs: { id: ["mat-sort-header", "id"], arrowPosition: "arrowPosition", start: "start", disabled: ["disabled", "disabled", booleanAttribute], sortActionDescription: "sortActionDescription", disableClear: ["disableClear", "disableClear", booleanAttribute] }, host: { listeners: { "click": "_toggleOnInteraction()", "keydown": "_handleKeydown($event)", "mouseleave": "_recentlyCleared.set(null)" }, properties: { "attr.aria-sort": "_getAriaSortAttribute()", "class.mat-sort-header-disabled": "_isDisabled()" }, classAttribute: "mat-sort-header" }, exportAs: ["matSortHeader"], ngImport: i0, template: "<!--\n We set the `tabindex` on an element inside the table header, rather than the header itself,\n because of a bug in NVDA where having a `tabindex` on a `th` breaks keyboard navigation in the\n table (see https://github.com/nvaccess/nvda/issues/7718). This allows for the header to both\n be focusable, and have screen readers read out its `aria-sort` state. We prefer this approach\n over having a button with an `aria-label` inside the header, because the button's `aria-label`\n will be read out as the user is navigating the table's cell (see #13012).\n\n The approach is based off of: https://dequeuniversity.com/library/aria/tables/sf-sortable-grid\n-->\n<div class=\"mat-sort-header-container mat-focus-indicator\"\n [class.mat-sort-header-sorted]=\"_isSorted()\"\n [class.mat-sort-header-position-before]=\"arrowPosition === 'before'\"\n [class.mat-sort-header-descending]=\"this._sort.direction === 'desc'\"\n [class.mat-sort-header-ascending]=\"this._sort.direction === 'asc'\"\n [class.mat-sort-header-recently-cleared-ascending]=\"_recentlyCleared() === 'asc'\"\n [class.mat-sort-header-recently-cleared-descending]=\"_recentlyCleared() === 'desc'\"\n [class.mat-sort-header-animations-disabled]=\"_animationsDisabled\"\n [attr.tabindex]=\"_isDisabled() ? null : 0\"\n [attr.role]=\"_isDisabled() ? null : 'button'\">\n\n <!--\n TODO(crisbeto): this div isn't strictly necessary, but we have to keep it due to a large\n number of screenshot diff failures. It should be removed eventually. Note that the difference\n isn't visible with a shorter header, but once it breaks up into multiple lines, this element\n causes it to be center-aligned, whereas removing it will keep the text to the left.\n -->\n <div class=\"mat-sort-header-content\">\n <ng-content></ng-content>\n </div>\n\n <!-- Disable animations while a current animation is running -->\n @if (_renderArrow()) {\n <div class=\"mat-sort-header-arrow\">\n <svg viewBox=\"0 -960 960 960\" focusable=\"false\" aria-hidden=\"true\">\n <path d=\"M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z\"/>\n </svg>\n </div>\n }\n</div>\n", styles: [".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
352
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0-next.2", type: MatSortHeader, isStandalone: true, selector: "[mat-sort-header]", inputs: { id: ["mat-sort-header", "id"], arrowPosition: "arrowPosition", start: "start", disabled: ["disabled", "disabled", booleanAttribute], sortActionDescription: "sortActionDescription", disableClear: ["disableClear", "disableClear", booleanAttribute] }, host: { listeners: { "click": "_toggleOnInteraction()", "keydown": "_handleKeydown($event)", "mouseleave": "_recentlyCleared.set(null)" }, properties: { "attr.aria-sort": "_getAriaSortAttribute()", "class.mat-sort-header-disabled": "_isDisabled()" }, classAttribute: "mat-sort-header" }, exportAs: ["matSortHeader"], ngImport: i0, template: "<!--\n We set the `tabindex` on an element inside the table header, rather than the header itself,\n because of a bug in NVDA where having a `tabindex` on a `th` breaks keyboard navigation in the\n table (see https://github.com/nvaccess/nvda/issues/7718). This allows for the header to both\n be focusable, and have screen readers read out its `aria-sort` state. We prefer this approach\n over having a button with an `aria-label` inside the header, because the button's `aria-label`\n will be read out as the user is navigating the table's cell (see #13012).\n\n The approach is based off of: https://dequeuniversity.com/library/aria/tables/sf-sortable-grid\n-->\n<div class=\"mat-sort-header-container mat-focus-indicator\"\n [class.mat-sort-header-sorted]=\"_isSorted()\"\n [class.mat-sort-header-position-before]=\"arrowPosition === 'before'\"\n [class.mat-sort-header-descending]=\"_sort.direction === 'desc'\"\n [class.mat-sort-header-ascending]=\"_sort.direction === 'asc'\"\n [class.mat-sort-header-recently-cleared-ascending]=\"_recentlyCleared() === 'asc'\"\n [class.mat-sort-header-recently-cleared-descending]=\"_recentlyCleared() === 'desc'\"\n [class.mat-sort-header-animations-disabled]=\"_animationsDisabled\"\n [attr.tabindex]=\"_isDisabled() ? null : 0\"\n [attr.role]=\"_isDisabled() ? null : 'button'\">\n\n <!--\n TODO(crisbeto): this div isn't strictly necessary, but we have to keep it due to a large\n number of screenshot diff failures. It should be removed eventually. Note that the difference\n isn't visible with a shorter header, but once it breaks up into multiple lines, this element\n causes it to be center-aligned, whereas removing it will keep the text to the left.\n -->\n <div class=\"mat-sort-header-content\">\n <ng-content></ng-content>\n </div>\n\n <!-- Disable animations while a current animation is running -->\n @if (_renderArrow()) {\n <div class=\"mat-sort-header-arrow\">\n <ng-content select=\"[matSortHeaderIcon]\">\n <svg viewBox=\"0 -960 960 960\" focusable=\"false\" aria-hidden=\"true\">\n <path d=\"M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z\"/>\n </svg>\n </ng-content>\n </div>\n }\n</div>\n", styles: [".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow>svg,.mat-sort-header-arrow [matSortHeaderIcon]{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
373
353
  }
374
354
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortHeader, decorators: [{
375
355
  type: Component,
@@ -380,7 +360,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2",
380
360
  '(mouseleave)': '_recentlyCleared.set(null)',
381
361
  '[attr.aria-sort]': '_getAriaSortAttribute()',
382
362
  '[class.mat-sort-header-disabled]': '_isDisabled()',
383
- }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<!--\n We set the `tabindex` on an element inside the table header, rather than the header itself,\n because of a bug in NVDA where having a `tabindex` on a `th` breaks keyboard navigation in the\n table (see https://github.com/nvaccess/nvda/issues/7718). This allows for the header to both\n be focusable, and have screen readers read out its `aria-sort` state. We prefer this approach\n over having a button with an `aria-label` inside the header, because the button's `aria-label`\n will be read out as the user is navigating the table's cell (see #13012).\n\n The approach is based off of: https://dequeuniversity.com/library/aria/tables/sf-sortable-grid\n-->\n<div class=\"mat-sort-header-container mat-focus-indicator\"\n [class.mat-sort-header-sorted]=\"_isSorted()\"\n [class.mat-sort-header-position-before]=\"arrowPosition === 'before'\"\n [class.mat-sort-header-descending]=\"this._sort.direction === 'desc'\"\n [class.mat-sort-header-ascending]=\"this._sort.direction === 'asc'\"\n [class.mat-sort-header-recently-cleared-ascending]=\"_recentlyCleared() === 'asc'\"\n [class.mat-sort-header-recently-cleared-descending]=\"_recentlyCleared() === 'desc'\"\n [class.mat-sort-header-animations-disabled]=\"_animationsDisabled\"\n [attr.tabindex]=\"_isDisabled() ? null : 0\"\n [attr.role]=\"_isDisabled() ? null : 'button'\">\n\n <!--\n TODO(crisbeto): this div isn't strictly necessary, but we have to keep it due to a large\n number of screenshot diff failures. It should be removed eventually. Note that the difference\n isn't visible with a shorter header, but once it breaks up into multiple lines, this element\n causes it to be center-aligned, whereas removing it will keep the text to the left.\n -->\n <div class=\"mat-sort-header-content\">\n <ng-content></ng-content>\n </div>\n\n <!-- Disable animations while a current animation is running -->\n @if (_renderArrow()) {\n <div class=\"mat-sort-header-arrow\">\n <svg viewBox=\"0 -960 960 960\" focusable=\"false\" aria-hidden=\"true\">\n <path d=\"M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z\"/>\n </svg>\n </div>\n }\n</div>\n", styles: [".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow svg{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}\n"] }]
363
+ }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<!--\n We set the `tabindex` on an element inside the table header, rather than the header itself,\n because of a bug in NVDA where having a `tabindex` on a `th` breaks keyboard navigation in the\n table (see https://github.com/nvaccess/nvda/issues/7718). This allows for the header to both\n be focusable, and have screen readers read out its `aria-sort` state. We prefer this approach\n over having a button with an `aria-label` inside the header, because the button's `aria-label`\n will be read out as the user is navigating the table's cell (see #13012).\n\n The approach is based off of: https://dequeuniversity.com/library/aria/tables/sf-sortable-grid\n-->\n<div class=\"mat-sort-header-container mat-focus-indicator\"\n [class.mat-sort-header-sorted]=\"_isSorted()\"\n [class.mat-sort-header-position-before]=\"arrowPosition === 'before'\"\n [class.mat-sort-header-descending]=\"_sort.direction === 'desc'\"\n [class.mat-sort-header-ascending]=\"_sort.direction === 'asc'\"\n [class.mat-sort-header-recently-cleared-ascending]=\"_recentlyCleared() === 'asc'\"\n [class.mat-sort-header-recently-cleared-descending]=\"_recentlyCleared() === 'desc'\"\n [class.mat-sort-header-animations-disabled]=\"_animationsDisabled\"\n [attr.tabindex]=\"_isDisabled() ? null : 0\"\n [attr.role]=\"_isDisabled() ? null : 'button'\">\n\n <!--\n TODO(crisbeto): this div isn't strictly necessary, but we have to keep it due to a large\n number of screenshot diff failures. It should be removed eventually. Note that the difference\n isn't visible with a shorter header, but once it breaks up into multiple lines, this element\n causes it to be center-aligned, whereas removing it will keep the text to the left.\n -->\n <div class=\"mat-sort-header-content\">\n <ng-content></ng-content>\n </div>\n\n <!-- Disable animations while a current animation is running -->\n @if (_renderArrow()) {\n <div class=\"mat-sort-header-arrow\">\n <ng-content select=\"[matSortHeaderIcon]\">\n <svg viewBox=\"0 -960 960 960\" focusable=\"false\" aria-hidden=\"true\">\n <path d=\"M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z\"/>\n </svg>\n </ng-content>\n </div>\n }\n</div>\n", styles: [".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow>svg,.mat-sort-header-arrow [matSortHeaderIcon]{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}\n"] }]
384
364
  }], ctorParameters: () => [], propDecorators: { id: [{
385
365
  type: Input,
386
366
  args: ['mat-sort-header']
@@ -400,323 +380,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2",
400
380
 
401
381
  class MatSortModule {
402
382
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
403
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, imports: [MatCommonModule, MatSort, MatSortHeader], exports: [MatSort, MatSortHeader] });
404
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, providers: [MAT_SORT_HEADER_INTL_PROVIDER], imports: [MatCommonModule] });
383
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, imports: [MatSort, MatSortHeader], exports: [MatSort, MatSortHeader, BidiModule] });
384
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, imports: [BidiModule] });
405
385
  }
406
386
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, decorators: [{
407
387
  type: NgModule,
408
388
  args: [{
409
- imports: [MatCommonModule, MatSort, MatSortHeader],
410
- exports: [MatSort, MatSortHeader],
411
- providers: [MAT_SORT_HEADER_INTL_PROVIDER],
389
+ imports: [MatSort, MatSortHeader],
390
+ exports: [MatSort, MatSortHeader, BidiModule],
412
391
  }]
413
392
  }] });
414
393
 
415
- /**
416
- * Animations used by MatSort.
417
- * @docs-private
418
- * @deprecated No longer being used, to be removed.
419
- * @breaking-change 21.0.0
420
- */
421
- const matSortAnimations = {
422
- // Represents:
423
- // trigger('indicator', [
424
- // state('active-asc, asc', style({transform: 'translateY(0px)'})),
425
- // // 10px is the height of the sort indicator, minus the width of the pointers
426
- // state('active-desc, desc', style({transform: 'translateY(10px)'})),
427
- // transition('active-asc <=> active-desc', animate(SORT_ANIMATION_TRANSITION)),
428
- // ])
429
- /** Animation that moves the sort indicator. */
430
- indicator: {
431
- type: 7,
432
- name: 'indicator',
433
- definitions: [
434
- {
435
- type: 0,
436
- name: 'active-asc, asc',
437
- styles: { type: 6, styles: { transform: 'translateY(0px)' }, offset: null },
438
- },
439
- {
440
- type: 0,
441
- name: 'active-desc, desc',
442
- styles: { type: 6, styles: { transform: 'translateY(10px)' }, offset: null },
443
- },
444
- {
445
- type: 1,
446
- expr: 'active-asc <=> active-desc',
447
- animation: { type: 4, styles: null, timings: '225ms cubic-bezier(0.4,0.0,0.2,1)' },
448
- options: null,
449
- },
450
- ],
451
- options: {},
452
- },
453
- // Represents:
454
- // trigger('leftPointer', [
455
- // state('active-asc, asc', style({transform: 'rotate(-45deg)'})),
456
- // state('active-desc, desc', style({transform: 'rotate(45deg)'})),
457
- // transition('active-asc <=> active-desc', animate(SORT_ANIMATION_TRANSITION)),
458
- // ])
459
- /** Animation that rotates the left pointer of the indicator based on the sorting direction. */
460
- leftPointer: {
461
- type: 7,
462
- name: 'leftPointer',
463
- definitions: [
464
- {
465
- type: 0,
466
- name: 'active-asc, asc',
467
- styles: { type: 6, styles: { transform: 'rotate(-45deg)' }, offset: null },
468
- },
469
- {
470
- type: 0,
471
- name: 'active-desc, desc',
472
- styles: { type: 6, styles: { transform: 'rotate(45deg)' }, offset: null },
473
- },
474
- {
475
- type: 1,
476
- expr: 'active-asc <=> active-desc',
477
- animation: { type: 4, styles: null, timings: '225ms cubic-bezier(0.4,0.0,0.2,1)' },
478
- options: null,
479
- },
480
- ],
481
- options: {},
482
- },
483
- // Represents:
484
- // trigger('rightPointer', [
485
- // state('active-asc, asc', style({transform: 'rotate(45deg)'})),
486
- // state('active-desc, desc', style({transform: 'rotate(-45deg)'})),
487
- // transition('active-asc <=> active-desc', animate(SORT_ANIMATION_TRANSITION)),
488
- // ])
489
- /** Animation that rotates the right pointer of the indicator based on the sorting direction. */
490
- rightPointer: {
491
- type: 7,
492
- name: 'rightPointer',
493
- definitions: [
494
- {
495
- type: 0,
496
- name: 'active-asc, asc',
497
- styles: { type: 6, styles: { transform: 'rotate(45deg)' }, offset: null },
498
- },
499
- {
500
- type: 0,
501
- name: 'active-desc, desc',
502
- styles: { type: 6, styles: { transform: 'rotate(-45deg)' }, offset: null },
503
- },
504
- {
505
- type: 1,
506
- expr: 'active-asc <=> active-desc',
507
- animation: { type: 4, styles: null, timings: '225ms cubic-bezier(0.4,0.0,0.2,1)' },
508
- options: null,
509
- },
510
- ],
511
- options: {},
512
- },
513
- // Represents:
514
- // trigger('arrowOpacity', [
515
- // state('desc-to-active, asc-to-active, active', style({opacity: 1})),
516
- // state('desc-to-hint, asc-to-hint, hint', style({opacity: 0.54})),
517
- // state(
518
- // 'hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void',
519
- // style({opacity: 0}),
520
- // ),
521
- // // Transition between all states except for immediate transitions
522
- // transition('* => asc, * => desc, * => active, * => hint, * => void', animate('0ms')),
523
- // transition('* <=> *', animate(SORT_ANIMATION_TRANSITION)),
524
- // ])
525
- /** Animation that controls the arrow opacity. */
526
- arrowOpacity: {
527
- type: 7,
528
- name: 'arrowOpacity',
529
- definitions: [
530
- {
531
- type: 0,
532
- name: 'desc-to-active, asc-to-active, active',
533
- styles: { type: 6, styles: { 'opacity': 1 }, offset: null },
534
- },
535
- {
536
- type: 0,
537
- name: 'desc-to-hint, asc-to-hint, hint',
538
- styles: { type: 6, styles: { 'opacity': 0.54 }, offset: null },
539
- },
540
- {
541
- type: 0,
542
- name: 'hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void',
543
- styles: { type: 6, styles: { 'opacity': 0 }, offset: null },
544
- },
545
- {
546
- type: 1,
547
- expr: '* => asc, * => desc, * => active, * => hint, * => void',
548
- animation: { type: 4, styles: null, timings: '0ms' },
549
- options: null,
550
- },
551
- {
552
- type: 1,
553
- expr: '* <=> *',
554
- animation: { type: 4, styles: null, timings: '225ms cubic-bezier(0.4,0.0,0.2,1)' },
555
- options: null,
556
- },
557
- ],
558
- options: {},
559
- },
560
- // Represents:
561
- // trigger('arrowPosition', [
562
- // // Hidden Above => Hint Center
563
- // transition(
564
- // '* => desc-to-hint, * => desc-to-active',
565
- // animate(
566
- // SORT_ANIMATION_TRANSITION,
567
- // keyframes([style({transform: 'translateY(-25%)'}), style({transform: 'translateY(0)'})]),
568
- // ),
569
- // ),
570
- // // Hint Center => Hidden Below
571
- // transition(
572
- // '* => hint-to-desc, * => active-to-desc',
573
- // animate(
574
- // SORT_ANIMATION_TRANSITION,
575
- // keyframes([style({transform: 'translateY(0)'}), style({transform: 'translateY(25%)'})]),
576
- // ),
577
- // ),
578
- // // Hidden Below => Hint Center
579
- // transition(
580
- // '* => asc-to-hint, * => asc-to-active',
581
- // animate(
582
- // SORT_ANIMATION_TRANSITION,
583
- // keyframes([style({transform: 'translateY(25%)'}), style({transform: 'translateY(0)'})]),
584
- // ),
585
- // ),
586
- // // Hint Center => Hidden Above
587
- // transition(
588
- // '* => hint-to-asc, * => active-to-asc',
589
- // animate(
590
- // SORT_ANIMATION_TRANSITION,
591
- // keyframes([style({transform: 'translateY(0)'}), style({transform: 'translateY(-25%)'})]),
592
- // ),
593
- // ),
594
- // state(
595
- // 'desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active',
596
- // style({transform: 'translateY(0)'}),
597
- // ),
598
- // state('hint-to-desc, active-to-desc, desc', style({transform: 'translateY(-25%)'})),
599
- // state('hint-to-asc, active-to-asc, asc', style({transform: 'translateY(25%)'})),
600
- // ])
601
- /**
602
- * Animation for the translation of the arrow as a whole. States are separated into two
603
- * groups: ones with animations and others that are immediate. Immediate states are asc, desc,
604
- * peek, and active. The other states define a specific animation (source-to-destination)
605
- * and are determined as a function of their prev user-perceived state and what the next state
606
- * should be.
607
- */
608
- arrowPosition: {
609
- type: 7,
610
- name: 'arrowPosition',
611
- definitions: [
612
- {
613
- type: 1,
614
- expr: '* => desc-to-hint, * => desc-to-active',
615
- animation: {
616
- type: 4,
617
- styles: {
618
- type: 5,
619
- 'steps': [
620
- { type: 6, styles: { transform: 'translateY(-25%)' }, offset: null },
621
- { type: 6, styles: { transform: 'translateY(0)' }, offset: null },
622
- ],
623
- },
624
- timings: '225ms cubic-bezier(0.4,0.0,0.2,1)',
625
- },
626
- options: null,
627
- },
628
- {
629
- type: 1,
630
- expr: '* => hint-to-desc, * => active-to-desc',
631
- animation: {
632
- type: 4,
633
- styles: {
634
- type: 5,
635
- 'steps': [
636
- { type: 6, styles: { transform: 'translateY(0)' }, offset: null },
637
- { type: 6, styles: { transform: 'translateY(25%)' }, offset: null },
638
- ],
639
- },
640
- timings: '225ms cubic-bezier(0.4,0.0,0.2,1)',
641
- },
642
- options: null,
643
- },
644
- {
645
- type: 1,
646
- expr: '* => asc-to-hint, * => asc-to-active',
647
- animation: {
648
- type: 4,
649
- styles: {
650
- type: 5,
651
- 'steps': [
652
- { type: 6, styles: { transform: 'translateY(25%)' }, offset: null },
653
- { type: 6, styles: { transform: 'translateY(0)' }, offset: null },
654
- ],
655
- },
656
- timings: '225ms cubic-bezier(0.4,0.0,0.2,1)',
657
- },
658
- options: null,
659
- },
660
- {
661
- type: 1,
662
- expr: '* => hint-to-asc, * => active-to-asc',
663
- animation: {
664
- type: 4,
665
- styles: {
666
- type: 5,
667
- 'steps': [
668
- { type: 6, styles: { transform: 'translateY(0)' }, offset: null },
669
- { type: 6, styles: { transform: 'translateY(-25%)' }, offset: null },
670
- ],
671
- },
672
- timings: '225ms cubic-bezier(0.4,0.0,0.2,1)',
673
- },
674
- options: null,
675
- },
676
- {
677
- type: 0,
678
- name: 'desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active',
679
- styles: { type: 6, styles: { transform: 'translateY(0)' }, offset: null },
680
- },
681
- {
682
- type: 0,
683
- name: 'hint-to-desc, active-to-desc, desc',
684
- styles: { type: 6, styles: { transform: 'translateY(-25%)' }, offset: null },
685
- },
686
- {
687
- type: 0,
688
- name: 'hint-to-asc, active-to-asc, asc',
689
- styles: { type: 6, styles: { transform: 'translateY(25%)' }, offset: null },
690
- },
691
- ],
692
- options: {},
693
- },
694
- // Represents:
695
- // trigger('allowChildren', [
696
- // transition('* <=> *', [query('@*', animateChild(), {optional: true})]),
697
- // ])
698
- /** Necessary trigger that calls animate on children animations. */
699
- allowChildren: {
700
- type: 7,
701
- name: 'allowChildren',
702
- definitions: [
703
- {
704
- type: 1,
705
- expr: '* <=> *',
706
- animation: [
707
- {
708
- type: 11,
709
- selector: '@*',
710
- animation: { type: 9, options: null },
711
- options: { optional: true },
712
- },
713
- ],
714
- options: null,
715
- },
716
- ],
717
- options: {},
718
- },
719
- };
720
-
721
- export { MAT_SORT_DEFAULT_OPTIONS, MAT_SORT_HEADER_INTL_PROVIDER, MAT_SORT_HEADER_INTL_PROVIDER_FACTORY, MatSort, MatSortHeader, MatSortHeaderIntl, MatSortModule, matSortAnimations };
394
+ export { MAT_SORT_DEFAULT_OPTIONS, MatSort, MatSortHeader, MatSortHeaderIntl, MatSortModule };
722
395
  //# sourceMappingURL=sort.mjs.map