@angular/material 20.0.0-next.1 → 20.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 (740) hide show
  1. package/_index.scss +1 -1
  2. package/autocomplete/_autocomplete-theme.scss +18 -18
  3. package/{core/tokens/m2/mat/_autocomplete.scss → autocomplete/_m2-autocomplete.scss} +7 -7
  4. package/{core/tokens/m3/mat/_autocomplete.scss → autocomplete/_m3-autocomplete.scss} +4 -4
  5. package/autocomplete/index.d.ts +20 -13
  6. package/autocomplete/testing/index.d.ts +4 -3
  7. package/badge/_badge-theme.scss +21 -21
  8. package/{core/tokens/m2/mat/_badge.scss → badge/_m2-badge.scss} +6 -6
  9. package/{core/tokens/m3/mat/_badge.scss → badge/_m3-badge.scss} +28 -27
  10. package/badge/index.d.ts +5 -5
  11. package/badge/testing/index.d.ts +4 -3
  12. package/{badge.d-49a8a74b.d.ts → badge.d-D0iThVg0.d.ts} +4 -3
  13. package/bottom-sheet/_bottom-sheet-theme.scss +15 -15
  14. package/{core/tokens/m2/mat/_bottom-sheet.scss → bottom-sheet/_m2-bottom-sheet.scss} +6 -6
  15. package/{core/tokens/m3/mat/_bottom-sheet.scss → bottom-sheet/_m3-bottom-sheet.scss} +5 -5
  16. package/bottom-sheet/index.d.ts +6 -3
  17. package/bottom-sheet/testing/index.d.ts +2 -1
  18. package/button/_button-theme.scss +34 -333
  19. package/button/_fab-theme.scss +23 -128
  20. package/button/_icon-button-theme.scss +29 -36
  21. package/button/_m2-button.scss +249 -0
  22. package/button/_m2-fab.scss +132 -0
  23. package/{core/tokens/m2/mat/_icon-button.scss → button/_m2-icon-button.scss} +35 -26
  24. package/button/_m3-button.scss +260 -0
  25. package/button/_m3-fab.scss +187 -0
  26. package/{core/tokens/m3/mat/_icon-button.scss → button/_m3-icon-button.scss} +32 -7
  27. package/button/index.d.ts +215 -8
  28. package/button/testing/index.d.ts +10 -2
  29. package/button-toggle/_button-toggle-theme.scss +26 -44
  30. package/{core/tokens/m2/mat/_standard-button-toggle.scss → button-toggle/_m2-button-toggle.scss} +40 -20
  31. package/{core/tokens/m3/mat/_standard-button-toggle.scss → button-toggle/_m3-button-toggle.scss} +24 -9
  32. package/button-toggle/index.d.ts +6 -6
  33. package/button-toggle/testing/index.d.ts +3 -2
  34. package/{button-toggle.d-edc8acff.d.ts → button-toggle.d-B_G01PhW.d.ts} +3 -2
  35. package/card/_card-theme.scss +18 -70
  36. package/{core/tokens/m2/mat/_card.scss → card/_m2-card.scss} +20 -18
  37. package/card/_m3-card.scss +48 -0
  38. package/card/index.d.ts +4 -3
  39. package/card/testing/index.d.ts +2 -1
  40. package/checkbox/_checkbox-theme.scss +30 -52
  41. package/{core/tokens/m2/mdc/_checkbox.scss → checkbox/_m2-checkbox.scss} +31 -53
  42. package/checkbox/_m3-checkbox.scss +103 -0
  43. package/checkbox/index.d.ts +5 -4
  44. package/checkbox/testing/index.d.ts +2 -1
  45. package/chips/_chips-theme.scss +24 -67
  46. package/chips/_m2-chip.scss +127 -0
  47. package/chips/_m3-chip.scss +129 -0
  48. package/chips/index.d.ts +31 -7
  49. package/chips/testing/index.d.ts +2 -1
  50. package/{common-module.d-0e6515ae.d.ts → common-module.d-C8xzHJDr.d.ts} +2 -1
  51. package/core/_core-theme.scss +34 -54
  52. package/core/_core.scss +6 -6
  53. package/core/{tokens/m2/mat/_app.scss → _m2-app.scss} +8 -7
  54. package/core/{tokens/m3/mat/_app.scss → _m3-app.scss} +4 -4
  55. package/core/density/private/_all-density.scss +38 -38
  56. package/core/index.d.ts +28 -15
  57. package/core/m2/_theming.scss +68 -44
  58. package/core/{tokens/m2/mat/_optgroup.scss → option/_m2-optgroup.scss} +6 -6
  59. package/core/{tokens/m2/mat/_option.scss → option/_m2-option.scss} +6 -6
  60. package/core/{tokens/m3/mat/_optgroup.scss → option/_m3-optgroup.scss} +4 -4
  61. package/core/option/_m3-option.scss +57 -0
  62. package/core/option/_optgroup-theme.scss +10 -14
  63. package/core/option/_option-theme.scss +14 -22
  64. package/core/{tokens/m2/mat/_ripple.scss → ripple/_m2-ripple.scss} +6 -6
  65. package/core/{tokens/m3/mat/_ripple.scss → ripple/_m3-ripple.scss} +3 -3
  66. package/core/ripple/_ripple-theme.scss +15 -15
  67. package/core/ripple/_ripple.scss +3 -4
  68. package/core/{tokens/m2/mat/_full-pseudo-checkbox.scss → selection/pseudo-checkbox/_m2-pseudo-checkbox.scss} +15 -13
  69. package/core/selection/pseudo-checkbox/_m3-pseudo-checkbox.scss +49 -0
  70. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +10 -38
  71. package/core/testing/index.d.ts +32 -3
  72. package/core/theming/_color-api-backwards-compatibility.scss +19 -8
  73. package/core/theming/_definition.scss +2 -3
  74. package/core/theming/_inspection.scss +3 -2
  75. package/core/tokens/_m2-tokens.scss +131 -0
  76. package/core/tokens/_m2-utils.scss +109 -0
  77. package/core/tokens/_m3-system.scss +67 -27
  78. package/core/tokens/_m3-tokens.scss +113 -33
  79. package/core/tokens/_m3-utils.scss +85 -0
  80. package/core/tokens/_token-utils.scss +69 -67
  81. package/core/tokens/m3/_index.scss +8 -163
  82. package/core/tokens/m3/{definitions/_md-sys-color.scss → _md-sys-color.scss} +44 -2
  83. package/core/tokens/m3/{definitions/_md-sys-typescale.scss → _md-sys-typescale.scss} +20 -1
  84. package/{date-range-input-harness.d-549a9f7e.d.ts → date-range-input-harness.d-CaEyN8dT.d.ts} +3 -2
  85. package/datepicker/_datepicker-theme.scss +27 -42
  86. package/{core/tokens/m2/mat/_datepicker.scss → datepicker/_m2-datepicker.scss} +7 -7
  87. package/{core/tokens/m3/mat/_datepicker.scss → datepicker/_m3-datepicker.scss} +13 -11
  88. package/datepicker/index.d.ts +25 -20
  89. package/datepicker/testing/index.d.ts +4 -4
  90. package/dialog/_dialog-theme.scss +12 -39
  91. package/{core/tokens/m2/mdc/_dialog.scss → dialog/_m2-dialog.scss} +21 -50
  92. package/dialog/_m3-dialog.scss +47 -0
  93. package/dialog/index.d.ts +4 -4
  94. package/dialog/testing/index.d.ts +4 -3
  95. package/{dialog.d-57867441.d.ts → dialog.d-DsYAn2Gk.d.ts} +9 -5
  96. package/divider/_divider-theme.scss +10 -14
  97. package/{core/tokens/m2/mat/_divider.scss → divider/_m2-divider.scss} +6 -6
  98. package/{core/tokens/m3/mat/_divider.scss → divider/_m3-divider.scss} +3 -3
  99. package/divider/index.d.ts +1 -1
  100. package/divider/testing/index.d.ts +15 -2
  101. package/expansion/_expansion-theme.scss +19 -22
  102. package/{core/tokens/m2/mat/_expansion.scss → expansion/_m2-expansion.scss} +7 -7
  103. package/{core/tokens/m3/mat/_expansion.scss → expansion/_m3-expansion.scss} +22 -8
  104. package/expansion/index.d.ts +3 -2
  105. package/expansion/testing/index.d.ts +2 -1
  106. package/fesm2022/animation-DfMFjxHu.mjs +41 -0
  107. package/fesm2022/animation-DfMFjxHu.mjs.map +1 -0
  108. package/fesm2022/autocomplete/testing.mjs +2 -2
  109. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  110. package/fesm2022/autocomplete.mjs +50 -43
  111. package/fesm2022/autocomplete.mjs.map +1 -1
  112. package/fesm2022/badge/testing.mjs.map +1 -1
  113. package/fesm2022/badge.mjs +20 -18
  114. package/fesm2022/badge.mjs.map +1 -1
  115. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  116. package/fesm2022/bottom-sheet.mjs +31 -18
  117. package/fesm2022/bottom-sheet.mjs.map +1 -1
  118. package/fesm2022/button/testing.mjs +34 -15
  119. package/fesm2022/button/testing.mjs.map +1 -1
  120. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  121. package/fesm2022/button-toggle.mjs +21 -19
  122. package/fesm2022/button-toggle.mjs.map +1 -1
  123. package/fesm2022/button.mjs +219 -9
  124. package/fesm2022/button.mjs.map +1 -1
  125. package/fesm2022/card/testing.mjs.map +1 -1
  126. package/fesm2022/card.mjs +50 -48
  127. package/fesm2022/card.mjs.map +1 -1
  128. package/fesm2022/checkbox/testing.mjs.map +1 -1
  129. package/fesm2022/checkbox.mjs +19 -17
  130. package/fesm2022/checkbox.mjs.map +1 -1
  131. package/fesm2022/chips/testing.mjs +7 -1
  132. package/fesm2022/chips/testing.mjs.map +1 -1
  133. package/fesm2022/chips.mjs +101 -68
  134. package/fesm2022/chips.mjs.map +1 -1
  135. package/fesm2022/{common-module-2d64df09.mjs → common-module-DZl8g1kc.mjs} +5 -5
  136. package/fesm2022/common-module-DZl8g1kc.mjs.map +1 -0
  137. package/fesm2022/core/testing.mjs +35 -3
  138. package/fesm2022/core/testing.mjs.map +1 -1
  139. package/fesm2022/core.mjs +30 -51
  140. package/fesm2022/core.mjs.map +1 -1
  141. package/fesm2022/{date-formats-b618acb8.mjs → date-formats-K6TQue-Y.mjs} +1 -1
  142. package/fesm2022/date-formats-K6TQue-Y.mjs.map +1 -0
  143. package/fesm2022/{date-range-input-harness-ee47cdb0.mjs → date-range-input-harness-Bp1T4oUe.mjs} +2 -2
  144. package/fesm2022/date-range-input-harness-Bp1T4oUe.mjs.map +1 -0
  145. package/fesm2022/datepicker/testing.mjs +3 -3
  146. package/fesm2022/datepicker/testing.mjs.map +1 -1
  147. package/fesm2022/datepicker.mjs +153 -142
  148. package/fesm2022/datepicker.mjs.map +1 -1
  149. package/fesm2022/dialog/testing.mjs +4 -2
  150. package/fesm2022/dialog/testing.mjs.map +1 -1
  151. package/fesm2022/dialog.mjs +4 -2
  152. package/fesm2022/dialog.mjs.map +1 -1
  153. package/fesm2022/divider/testing.mjs +17 -2
  154. package/fesm2022/divider/testing.mjs.map +1 -1
  155. package/fesm2022/divider.mjs +9 -9
  156. package/fesm2022/divider.mjs.map +1 -1
  157. package/fesm2022/{error-options-4a00765e.mjs → error-options-BWOa3B4G.mjs} +7 -7
  158. package/fesm2022/error-options-BWOa3B4G.mjs.map +1 -0
  159. package/fesm2022/{error-state-8f4ce1af.mjs → error-state-Dtb1IHM-.mjs} +1 -1
  160. package/fesm2022/error-state-Dtb1IHM-.mjs.map +1 -0
  161. package/fesm2022/expansion/testing.mjs.map +1 -1
  162. package/fesm2022/expansion.mjs +34 -33
  163. package/fesm2022/expansion.mjs.map +1 -1
  164. package/fesm2022/form-field/testing/control.mjs +10 -2
  165. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  166. package/fesm2022/form-field/testing.mjs +6 -6
  167. package/fesm2022/form-field/testing.mjs.map +1 -1
  168. package/fesm2022/form-field-BZd6Vhww.mjs +1101 -0
  169. package/fesm2022/form-field-BZd6Vhww.mjs.map +1 -0
  170. package/fesm2022/form-field.mjs +6 -4
  171. package/fesm2022/form-field.mjs.map +1 -1
  172. package/fesm2022/grid-list/testing.mjs +2 -2
  173. package/fesm2022/grid-list/testing.mjs.map +1 -1
  174. package/fesm2022/grid-list.mjs +30 -31
  175. package/fesm2022/grid-list.mjs.map +1 -1
  176. package/fesm2022/icon/testing.mjs +8 -9
  177. package/fesm2022/icon/testing.mjs.map +1 -1
  178. package/fesm2022/icon-button-4VvBKIK4.mjs +212 -0
  179. package/fesm2022/icon-button-4VvBKIK4.mjs.map +1 -0
  180. package/fesm2022/{icon-registry-13a3b98e.mjs → icon-registry-Bk5cM8Z5.mjs} +5 -6
  181. package/fesm2022/icon-registry-Bk5cM8Z5.mjs.map +1 -0
  182. package/fesm2022/icon.mjs +396 -9
  183. package/fesm2022/icon.mjs.map +1 -1
  184. package/fesm2022/{index-1763d3a6.mjs → index-BHJ4tVIe.mjs} +9 -9
  185. package/fesm2022/index-BHJ4tVIe.mjs.map +1 -0
  186. package/fesm2022/{index-4bc1d6d3.mjs → index-D2rZ0V78.mjs} +7 -7
  187. package/fesm2022/index-D2rZ0V78.mjs.map +1 -0
  188. package/fesm2022/input/testing.mjs +2 -2
  189. package/fesm2022/input/testing.mjs.map +1 -1
  190. package/fesm2022/{input-harness-ed59decc.mjs → input-harness-oQzj5EsQ.mjs} +2 -2
  191. package/fesm2022/input-harness-oQzj5EsQ.mjs.map +1 -0
  192. package/fesm2022/{input-value-accessor-8a79a24e.mjs → input-value-accessor-D1GvPuqO.mjs} +1 -1
  193. package/fesm2022/input-value-accessor-D1GvPuqO.mjs.map +1 -0
  194. package/fesm2022/input.mjs +28 -34
  195. package/fesm2022/input.mjs.map +1 -1
  196. package/fesm2022/{internal-form-field-434c4039.mjs → internal-form-field-DVvKYBKJ.mjs} +5 -5
  197. package/fesm2022/internal-form-field-DVvKYBKJ.mjs.map +1 -0
  198. package/fesm2022/{line-d6afe347.mjs → line-Dwrcg_t9.mjs} +9 -9
  199. package/fesm2022/line-Dwrcg_t9.mjs.map +1 -0
  200. package/fesm2022/list/testing.mjs +1 -1
  201. package/fesm2022/list/testing.mjs.map +1 -1
  202. package/fesm2022/list.mjs +68 -68
  203. package/fesm2022/list.mjs.map +1 -1
  204. package/fesm2022/material.mjs.map +1 -1
  205. package/fesm2022/menu/testing.mjs.map +1 -1
  206. package/fesm2022/menu.mjs +40 -41
  207. package/fesm2022/menu.mjs.map +1 -1
  208. package/fesm2022/{module-d757bba0.mjs → module-CTd5xD2i.mjs} +9 -8
  209. package/fesm2022/module-CTd5xD2i.mjs.map +1 -0
  210. package/fesm2022/{module-a5f9ab72.mjs → module-D-cNfopD.mjs} +56 -40
  211. package/fesm2022/module-D-cNfopD.mjs.map +1 -0
  212. package/fesm2022/{module-47e3be58.mjs → module-X29xYsIk.mjs} +33 -33
  213. package/fesm2022/module-X29xYsIk.mjs.map +1 -0
  214. package/fesm2022/{module-3bf2775f.mjs → module-qRXgbi2L.mjs} +50 -31
  215. package/fesm2022/module-qRXgbi2L.mjs.map +1 -0
  216. package/fesm2022/{option-07c3c660.mjs → option-MOeehkAg.mjs} +13 -13
  217. package/fesm2022/option-MOeehkAg.mjs.map +1 -0
  218. package/fesm2022/{option-harness-3b7c1106.mjs → option-harness-BFcc-M_4.mjs} +1 -1
  219. package/fesm2022/option-harness-BFcc-M_4.mjs.map +1 -0
  220. package/fesm2022/paginator/testing.mjs +4 -4
  221. package/fesm2022/paginator/testing.mjs.map +1 -1
  222. package/fesm2022/paginator.mjs +30 -28
  223. package/fesm2022/paginator.mjs.map +1 -1
  224. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  225. package/fesm2022/progress-bar.mjs +13 -14
  226. package/fesm2022/progress-bar.mjs.map +1 -1
  227. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  228. package/fesm2022/progress-spinner.mjs +15 -15
  229. package/fesm2022/progress-spinner.mjs.map +1 -1
  230. package/fesm2022/{pseudo-checkbox-af5a4ea4.mjs → pseudo-checkbox-BFGIaGxz.mjs} +9 -8
  231. package/fesm2022/pseudo-checkbox-BFGIaGxz.mjs.map +1 -0
  232. package/fesm2022/{pseudo-checkbox-module-216fae38.mjs → pseudo-checkbox-module-Dxth-mPi.mjs} +7 -7
  233. package/fesm2022/pseudo-checkbox-module-Dxth-mPi.mjs.map +1 -0
  234. package/fesm2022/{public-api-c5ab57f5.mjs → public-api-BoO5eSq-.mjs} +1 -1
  235. package/fesm2022/public-api-BoO5eSq-.mjs.map +1 -0
  236. package/fesm2022/radio/testing.mjs.map +1 -1
  237. package/fesm2022/radio.mjs +20 -20
  238. package/fesm2022/radio.mjs.map +1 -1
  239. package/fesm2022/{ripple-9939d1f5.mjs → ripple-CuyVtN3V.mjs} +12 -11
  240. package/fesm2022/ripple-CuyVtN3V.mjs.map +1 -0
  241. package/fesm2022/{ripple-loader-f2078c66.mjs → ripple-loader-pOctSZby.mjs} +15 -18
  242. package/fesm2022/ripple-loader-pOctSZby.mjs.map +1 -0
  243. package/fesm2022/select/testing.mjs +122 -5
  244. package/fesm2022/select/testing.mjs.map +1 -1
  245. package/fesm2022/select.mjs +15 -13
  246. package/fesm2022/select.mjs.map +1 -1
  247. package/fesm2022/sidenav/testing.mjs.map +1 -1
  248. package/fesm2022/sidenav.mjs +32 -31
  249. package/fesm2022/sidenav.mjs.map +1 -1
  250. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  251. package/fesm2022/slide-toggle.mjs +17 -17
  252. package/fesm2022/slide-toggle.mjs.map +1 -1
  253. package/fesm2022/slider/testing.mjs.map +1 -1
  254. package/fesm2022/slider.mjs +31 -28
  255. package/fesm2022/slider.mjs.map +1 -1
  256. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  257. package/fesm2022/snack-bar.mjs +47 -53
  258. package/fesm2022/snack-bar.mjs.map +1 -1
  259. package/fesm2022/sort/testing.mjs.map +1 -1
  260. package/fesm2022/sort.mjs +20 -18
  261. package/fesm2022/sort.mjs.map +1 -1
  262. package/fesm2022/stepper/testing.mjs.map +1 -1
  263. package/fesm2022/stepper.mjs +46 -44
  264. package/fesm2022/stepper.mjs.map +1 -1
  265. package/fesm2022/{structural-styles-d5ada3b3.mjs → structural-styles-CasigI3l.mjs} +5 -5
  266. package/fesm2022/structural-styles-CasigI3l.mjs.map +1 -0
  267. package/fesm2022/table/testing.mjs.map +1 -1
  268. package/fesm2022/table.mjs +59 -61
  269. package/fesm2022/table.mjs.map +1 -1
  270. package/fesm2022/tabs/testing.mjs.map +1 -1
  271. package/fesm2022/tabs.mjs +82 -74
  272. package/fesm2022/tabs.mjs.map +1 -1
  273. package/fesm2022/timepicker/testing.mjs +1 -1
  274. package/fesm2022/timepicker/testing.mjs.map +1 -1
  275. package/fesm2022/timepicker.mjs +43 -40
  276. package/fesm2022/timepicker.mjs.map +1 -1
  277. package/fesm2022/toolbar/testing.mjs.map +1 -1
  278. package/fesm2022/toolbar.mjs +13 -14
  279. package/fesm2022/toolbar.mjs.map +1 -1
  280. package/fesm2022/tooltip/testing.mjs.map +1 -1
  281. package/fesm2022/tooltip.mjs +4 -2
  282. package/fesm2022/tooltip.mjs.map +1 -1
  283. package/fesm2022/tree/testing.mjs.map +1 -1
  284. package/fesm2022/tree.mjs +27 -27
  285. package/fesm2022/tree.mjs.map +1 -1
  286. package/form-field/_form-field-theme.scss +30 -97
  287. package/{core/tokens/m2/mat/_form-field.scss → form-field/_m2-form-field.scss} +94 -13
  288. package/form-field/_m3-form-field.scss +153 -0
  289. package/form-field/index.d.ts +5 -5
  290. package/form-field/testing/control/index.d.ts +10 -2
  291. package/form-field/testing/index.d.ts +8 -8
  292. package/{form-field-control.d-eb86711c.d.ts → form-field-control.d-DvB4ZVlf.d.ts} +2 -0
  293. package/{form-field.d-2edbc094.d.ts → form-field.d-b9aHrR4I.d.ts} +17 -11
  294. package/grid-list/_grid-list-theme.scss +8 -10
  295. package/{core/tokens/m2/mat/_grid-list.scss → grid-list/_m2-grid-list.scss} +6 -6
  296. package/{core/tokens/m3/mat/_grid-list.scss → grid-list/_m3-grid-list.scss} +2 -2
  297. package/grid-list/index.d.ts +3 -4
  298. package/grid-list/testing/index.d.ts +2 -1
  299. package/icon/_icon-theme.scss +13 -13
  300. package/{core/tokens/m2/mat/_icon.scss → icon/_m2-icon.scss} +5 -5
  301. package/{core/tokens/m3/mat/_icon.scss → icon/_m3-icon.scss} +8 -6
  302. package/icon/index.d.ts +4 -4
  303. package/icon/testing/index.d.ts +3 -2
  304. package/{icon-module.d-aa3bbba0.d.ts → icon-module.d-sA1hmRKS.d.ts} +4 -3
  305. package/{icon-registry.d-1dffe9de.d.ts → icon-registry.d-BVwP8t9_.d.ts} +2 -1
  306. package/{index.d-0536b706.d.ts → index.d-C5neTPvr.d.ts} +2 -2
  307. package/{index.d-37e31cd3.d.ts → index.d-CikM2bbf.d.ts} +4 -4
  308. package/input/_input-theme.scss +1 -1
  309. package/input/index.d.ts +15 -11
  310. package/input/testing/index.d.ts +4 -3
  311. package/{input-harness.d-4eecd1d3.d.ts → input-harness.d-8fkAAbu2.d.ts} +3 -2
  312. package/{line.d-570a2537.d.ts → line.d-C-QdueRc.d.ts} +1 -1
  313. package/list/_list-theme.scss +41 -71
  314. package/list/_m2-list.scss +133 -0
  315. package/list/_m3-list.scss +92 -0
  316. package/list/index.d.ts +11 -11
  317. package/list/testing/index.d.ts +4 -3
  318. package/{core/tokens/m2/mat/_menu.scss → menu/_m2-menu.scss} +7 -7
  319. package/{core/tokens/m3/mat/_menu.scss → menu/_m3-menu.scss} +14 -17
  320. package/menu/_menu-theme.scss +12 -18
  321. package/menu/index.d.ts +10 -8
  322. package/menu/testing/index.d.ts +2 -1
  323. package/{module.d-c17c834e.d.ts → module.d-BGzxQfCs.d.ts} +2 -2
  324. package/{module.d-ba05faa6.d.ts → module.d-CH_8jCsD.d.ts} +17 -11
  325. package/{module.d-74a721b9.d.ts → module.d-m-qXd3m8.d.ts} +8 -5
  326. package/{option-harness.d-3d33fc9a.d.ts → option-harness.d-IqsW95GR.d.ts} +2 -1
  327. package/{option-parent.d-559ad5c5.d.ts → option-parent.d-CnYuuMkO.d.ts} +2 -1
  328. package/package.json +5 -2
  329. package/{core/tokens/m2/mat/_paginator.scss → paginator/_m2-paginator.scss} +7 -7
  330. package/{core/tokens/m3/mat/_paginator.scss → paginator/_m3-paginator.scss} +20 -4
  331. package/paginator/_paginator-theme.scss +17 -18
  332. package/paginator/index.d.ts +19 -19
  333. package/paginator/testing/index.d.ts +6 -5
  334. package/{paginator.d-40b1766e.d.ts → paginator.d-3kymf0wo.d.ts} +4 -3
  335. package/prebuilt-themes/azure-blue.css +1 -1
  336. package/prebuilt-themes/cyan-orange.css +1 -1
  337. package/prebuilt-themes/deeppurple-amber.css +1 -1
  338. package/prebuilt-themes/indigo-pink.css +1 -1
  339. package/prebuilt-themes/magenta-violet.css +1 -1
  340. package/prebuilt-themes/pink-bluegrey.css +1 -1
  341. package/prebuilt-themes/purple-green.css +1 -1
  342. package/prebuilt-themes/rose-red.css +1 -1
  343. package/{core/tokens/m2/mdc/_linear-progress.scss → progress-bar/_m2-progress-bar.scss} +7 -8
  344. package/{core/tokens/m3/mdc/_linear-progress.scss → progress-bar/_m3-progress-bar.scss} +11 -6
  345. package/progress-bar/_progress-bar-theme.scss +11 -11
  346. package/progress-bar/index.d.ts +4 -4
  347. package/progress-bar/testing/index.d.ts +2 -1
  348. package/{core/tokens/m2/mdc/_tab-indicator.scss → progress-spinner/_m2-progress-spinner.scss} +10 -11
  349. package/{core/tokens/m3/mdc/_circular-progress.scss → progress-spinner/_m3-progress-spinner.scss} +10 -6
  350. package/progress-spinner/_progress-spinner-theme.scss +17 -17
  351. package/progress-spinner/index.d.ts +5 -5
  352. package/progress-spinner/testing/index.d.ts +4 -3
  353. package/{progress-spinner.d-1fc040c5.d.ts → progress-spinner.d-DtYCWeYd.d.ts} +3 -2
  354. package/{pseudo-checkbox-module.d-3abc0461.d.ts → pseudo-checkbox-module.d-BHmTZ10P.d.ts} +4 -3
  355. package/{core/tokens/m2/mdc/_radio.scss → radio/_m2-radio.scss} +28 -36
  356. package/radio/_m3-radio.scss +79 -0
  357. package/radio/_radio-theme.scss +27 -56
  358. package/radio/index.d.ts +6 -5
  359. package/radio/testing/index.d.ts +2 -1
  360. package/{ripple-loader.d-8aac2988.d.ts → ripple-loader.d-9me-KFSi.d.ts} +1 -1
  361. package/{ripple.d-2fb57d04.d.ts → ripple.d-BT30YVLB.d.ts} +3 -2
  362. package/schematics/ng-add/fonts/material-fonts.js +3 -3
  363. package/schematics/ng-add/fonts/material-fonts.js.map +1 -0
  364. package/schematics/ng-add/index.js +2 -2
  365. package/schematics/ng-add/index.js.map +1 -0
  366. package/schematics/ng-add/package-config.js +1 -1
  367. package/schematics/ng-add/package-config.js.map +1 -0
  368. package/schematics/ng-add/schema.js +1 -1
  369. package/schematics/ng-add/schema.js.map +1 -0
  370. package/schematics/ng-add/setup-project.js +5 -5
  371. package/schematics/ng-add/setup-project.js.map +1 -0
  372. package/schematics/ng-add/theming/create-custom-theme.js +1 -1
  373. package/schematics/ng-add/theming/create-custom-theme.js.map +1 -0
  374. package/schematics/ng-add/theming/theming.js +6 -8
  375. package/schematics/ng-add/theming/theming.js.map +1 -0
  376. package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
  377. package/schematics/ng-generate/address-form/index.js +1 -1
  378. package/schematics/ng-generate/address-form/index.js.map +1 -0
  379. package/schematics/ng-generate/address-form/schema.js +1 -1
  380. package/schematics/ng-generate/address-form/schema.js.map +1 -0
  381. package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
  382. package/schematics/ng-generate/dashboard/index.js +1 -1
  383. package/schematics/ng-generate/dashboard/index.js.map +1 -0
  384. package/schematics/ng-generate/dashboard/schema.js +1 -1
  385. package/schematics/ng-generate/dashboard/schema.js.map +1 -0
  386. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
  387. package/schematics/ng-generate/navigation/index.js +1 -1
  388. package/schematics/ng-generate/navigation/index.js.map +1 -0
  389. package/schematics/ng-generate/navigation/schema.js +1 -1
  390. package/schematics/ng-generate/navigation/schema.js.map +1 -0
  391. package/schematics/ng-generate/table/index.js +1 -1
  392. package/schematics/ng-generate/table/index.js.map +1 -0
  393. package/schematics/ng-generate/table/schema.js +1 -1
  394. package/schematics/ng-generate/table/schema.js.map +1 -0
  395. package/schematics/ng-generate/theme-color/index_bundled.js +1711 -225
  396. package/schematics/ng-generate/theme-color/index_bundled.js.map +2 -3
  397. package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
  398. package/schematics/ng-generate/tree/index.js +1 -1
  399. package/schematics/ng-generate/tree/index.js.map +1 -0
  400. package/schematics/ng-generate/tree/schema.js +1 -1
  401. package/schematics/ng-generate/tree/schema.js.map +1 -0
  402. package/schematics/ng-update/index_bundled.js +3465 -4099
  403. package/schematics/ng-update/index_bundled.js.map +3 -4
  404. package/schematics/tsconfig.json +26 -0
  405. package/{core/tokens/m2/mat/_select.scss → select/_m2-select.scss} +11 -11
  406. package/{core/tokens/m3/mat/_select.scss → select/_m3-select.scss} +22 -7
  407. package/select/_select-theme.scss +30 -26
  408. package/select/index.d.ts +12 -12
  409. package/select/testing/index.d.ts +64 -5
  410. package/{core/tokens/m2/mat/_sidenav.scss → sidenav/_m2-sidenav.scss} +7 -7
  411. package/{core/tokens/m3/mat/_sidenav.scss → sidenav/_m3-sidenav.scss} +6 -6
  412. package/sidenav/_sidenav-theme.scss +12 -16
  413. package/sidenav/index.d.ts +4 -3
  414. package/sidenav/testing/index.d.ts +2 -1
  415. package/slide-toggle/_m2-slide-toggle.scss +167 -0
  416. package/slide-toggle/_m3-slide-toggle.scss +160 -0
  417. package/slide-toggle/_slide-toggle-theme.scss +55 -48
  418. package/slide-toggle/index.d.ts +4 -3
  419. package/slide-toggle/testing/index.d.ts +2 -1
  420. package/{core/tokens/m2/mdc/_slider.scss → slider/_m2-slider.scss} +29 -68
  421. package/slider/_m3-slider.scss +121 -0
  422. package/slider/_slider-theme.scss +18 -53
  423. package/slider/index.d.ts +6 -5
  424. package/slider/testing/index.d.ts +2 -1
  425. package/{core/tokens/m2/mat/_snack-bar.scss → snack-bar/_m2-snack-bar.scss} +23 -8
  426. package/snack-bar/_m3-snack-bar.scss +25 -0
  427. package/snack-bar/_snack-bar-theme.scss +11 -30
  428. package/snack-bar/index.d.ts +14 -14
  429. package/snack-bar/testing/index.d.ts +2 -1
  430. package/{core/tokens/m2/mat/_sort.scss → sort/_m2-sort.scss} +6 -6
  431. package/{core/tokens/m3/mat/_sort.scss → sort/_m3-sort.scss} +2 -2
  432. package/sort/_sort-theme.scss +12 -18
  433. package/sort/index.d.ts +7 -7
  434. package/sort/testing/index.d.ts +3 -2
  435. package/{sort.d-c2b79a45.d.ts → sort.d-i-bF_IaU.d.ts} +3 -2
  436. package/{core/tokens/m2/mat/_stepper.scss → stepper/_m2-stepper.scss} +7 -34
  437. package/stepper/_m3-stepper.scss +102 -0
  438. package/stepper/_stepper-theme.scss +26 -21
  439. package/stepper/index.d.ts +9 -8
  440. package/stepper/testing/index.d.ts +2 -1
  441. package/{core/tokens/m2/mat/_table.scss → table/_m2-table.scss} +7 -7
  442. package/table/_m3-table.scss +44 -0
  443. package/table/_table-theme.scss +18 -22
  444. package/table/index.d.ts +7 -7
  445. package/table/testing/index.d.ts +2 -1
  446. package/{core/tokens/m2/mat/_tab-header.scss → tabs/_m2-tabs.scss} +42 -11
  447. package/tabs/_m3-tabs.scss +70 -0
  448. package/tabs/_tabs-theme.scss +47 -125
  449. package/tabs/index.d.ts +17 -10
  450. package/tabs/testing/index.d.ts +2 -1
  451. package/{core/tokens/m2/mat/_timepicker.scss → timepicker/_m2-timepicker.scss} +7 -7
  452. package/{core/tokens/m3/mat/_timepicker.scss → timepicker/_m3-timepicker.scss} +4 -4
  453. package/timepicker/_timepicker-theme.scss +18 -18
  454. package/timepicker/index.d.ts +4 -5
  455. package/timepicker/testing/index.d.ts +3 -2
  456. package/{core/tokens/m2/mat/_toolbar.scss → toolbar/_m2-toolbar.scss} +7 -7
  457. package/{core/tokens/m3/mat/_toolbar.scss → toolbar/_m3-toolbar.scss} +18 -4
  458. package/toolbar/_toolbar-theme.scss +26 -21
  459. package/toolbar/index.d.ts +1 -1
  460. package/toolbar/testing/index.d.ts +2 -1
  461. package/{core/tokens/m2/mdc/_plain-tooltip.scss → tooltip/_m2-tooltip.scss} +7 -17
  462. package/tooltip/_m3-tooltip.scss +25 -0
  463. package/tooltip/_tooltip-theme.scss +18 -18
  464. package/tooltip/index.d.ts +2 -2
  465. package/tooltip/testing/index.d.ts +2 -1
  466. package/{core/tokens/m2/mat/_tree.scss → tree/_m2-tree.scss} +7 -7
  467. package/{core/tokens/m3/mat/_tree.scss → tree/_m3-tree.scss} +15 -2
  468. package/tree/_tree-theme.scss +19 -15
  469. package/tree/index.d.ts +1 -1
  470. package/tree/testing/index.d.ts +2 -1
  471. package/button/_button-base.scss +0 -181
  472. package/checkbox/_checkbox-common.scss +0 -585
  473. package/core/style/_button-common.scss +0 -17
  474. package/core/style/_form-common.scss +0 -21
  475. package/core/style/_list-common.scss +0 -49
  476. package/core/style/_menu-common.scss +0 -94
  477. package/core/theming/_palette-deprecated.scss +0 -76
  478. package/core/theming/_theming-deprecated.scss +0 -27
  479. package/core/tokens/_density.scss +0 -193
  480. package/core/tokens/_token-definition.scss +0 -273
  481. package/core/tokens/m2/_index.scss +0 -187
  482. package/core/tokens/m2/mat/_checkbox.scss +0 -50
  483. package/core/tokens/m2/mat/_chip.scss +0 -63
  484. package/core/tokens/m2/mat/_dialog.scss +0 -51
  485. package/core/tokens/m2/mat/_fab-small.scss +0 -108
  486. package/core/tokens/m2/mat/_fab.scss +0 -108
  487. package/core/tokens/m2/mat/_filled-button.scss +0 -102
  488. package/core/tokens/m2/mat/_legacy-button-toggle.scss +0 -59
  489. package/core/tokens/m2/mat/_list.scss +0 -44
  490. package/core/tokens/m2/mat/_minimal-pseudo-checkbox.scss +0 -43
  491. package/core/tokens/m2/mat/_outlined-button.scss +0 -88
  492. package/core/tokens/m2/mat/_protected-button.scss +0 -102
  493. package/core/tokens/m2/mat/_radio.scss +0 -52
  494. package/core/tokens/m2/mat/_slider.scss +0 -69
  495. package/core/tokens/m2/mat/_switch.scss +0 -76
  496. package/core/tokens/m2/mat/_tab-header-with-background.scss +0 -42
  497. package/core/tokens/m2/mat/_text-button.scss +0 -91
  498. package/core/tokens/m2/mdc/_chip.scss +0 -313
  499. package/core/tokens/m2/mdc/_circular-progress.scss +0 -61
  500. package/core/tokens/m2/mdc/_elevated-card.scss +0 -77
  501. package/core/tokens/m2/mdc/_extended-fab.scss +0 -87
  502. package/core/tokens/m2/mdc/_fab-small.scss +0 -92
  503. package/core/tokens/m2/mdc/_fab.scss +0 -93
  504. package/core/tokens/m2/mdc/_filled-button.scss +0 -124
  505. package/core/tokens/m2/mdc/_filled-text-field.scss +0 -181
  506. package/core/tokens/m2/mdc/_icon-button.scss +0 -91
  507. package/core/tokens/m2/mdc/_list.scss +0 -219
  508. package/core/tokens/m2/mdc/_outlined-button.scss +0 -124
  509. package/core/tokens/m2/mdc/_outlined-card.scss +0 -85
  510. package/core/tokens/m2/mdc/_outlined-text-field.scss +0 -163
  511. package/core/tokens/m2/mdc/_protected-button.scss +0 -129
  512. package/core/tokens/m2/mdc/_secondary-navigation-tab.scss +0 -87
  513. package/core/tokens/m2/mdc/_snack-bar.scss +0 -93
  514. package/core/tokens/m2/mdc/_switch.scss +0 -192
  515. package/core/tokens/m2/mdc/_text-button.scss +0 -98
  516. package/core/tokens/m3/definitions/_index.scss +0 -94
  517. package/core/tokens/m3/definitions/_md-comp-checkbox.scss +0 -120
  518. package/core/tokens/m3/definitions/_md-comp-circular-progress-indicator.scss +0 -27
  519. package/core/tokens/m3/definitions/_md-comp-data-table.scss +0 -90
  520. package/core/tokens/m3/definitions/_md-comp-dialog.scss +0 -123
  521. package/core/tokens/m3/definitions/_md-comp-elevated-button.scss +0 -87
  522. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +0 -53
  523. package/core/tokens/m3/definitions/_md-comp-extended-fab-primary.scss +0 -90
  524. package/core/tokens/m3/definitions/_md-comp-extended-fab-secondary.scss +0 -91
  525. package/core/tokens/m3/definitions/_md-comp-extended-fab-tertiary.scss +0 -91
  526. package/core/tokens/m3/definitions/_md-comp-fab-primary-small.scss +0 -59
  527. package/core/tokens/m3/definitions/_md-comp-fab-primary.scss +0 -59
  528. package/core/tokens/m3/definitions/_md-comp-fab-secondary-small.scss +0 -60
  529. package/core/tokens/m3/definitions/_md-comp-fab-secondary.scss +0 -60
  530. package/core/tokens/m3/definitions/_md-comp-fab-tertiary-small.scss +0 -60
  531. package/core/tokens/m3/definitions/_md-comp-fab-tertiary.scss +0 -60
  532. package/core/tokens/m3/definitions/_md-comp-filled-button.scss +0 -85
  533. package/core/tokens/m3/definitions/_md-comp-filled-card.scss +0 -52
  534. package/core/tokens/m3/definitions/_md-comp-filled-icon-button.scss +0 -73
  535. package/core/tokens/m3/definitions/_md-comp-filled-text-field.scss +0 -189
  536. package/core/tokens/m3/definitions/_md-comp-icon-button.scss +0 -64
  537. package/core/tokens/m3/definitions/_md-comp-linear-progress-indicator.scss +0 -29
  538. package/core/tokens/m3/definitions/_md-comp-list.scss +0 -252
  539. package/core/tokens/m3/definitions/_md-comp-outlined-button.scss +0 -80
  540. package/core/tokens/m3/definitions/_md-comp-outlined-card.scss +0 -59
  541. package/core/tokens/m3/definitions/_md-comp-outlined-icon-button.scss +0 -73
  542. package/core/tokens/m3/definitions/_md-comp-outlined-text-field.scss +0 -171
  543. package/core/tokens/m3/definitions/_md-comp-plain-tooltip.scss +0 -51
  544. package/core/tokens/m3/definitions/_md-comp-radio-button.scss +0 -62
  545. package/core/tokens/m3/definitions/_md-comp-secondary-navigation-tab.scss +0 -80
  546. package/core/tokens/m3/definitions/_md-comp-slider.scss +0 -110
  547. package/core/tokens/m3/definitions/_md-comp-snackbar.scss +0 -125
  548. package/core/tokens/m3/definitions/_md-comp-switch.scss +0 -130
  549. package/core/tokens/m3/definitions/_md-comp-text-button.scss +0 -73
  550. package/core/tokens/m3/definitions/unused/_md-comp-assist-chip.scss +0 -105
  551. package/core/tokens/m3/definitions/unused/_md-comp-badge.scss +0 -54
  552. package/core/tokens/m3/definitions/unused/_md-comp-banner.scss +0 -71
  553. package/core/tokens/m3/definitions/unused/_md-comp-bottom-app-bar.scss +0 -29
  554. package/core/tokens/m3/definitions/unused/_md-comp-carousel-item.scss +0 -59
  555. package/core/tokens/m3/definitions/unused/_md-comp-date-input-modal.scss +0 -87
  556. package/core/tokens/m3/definitions/unused/_md-comp-date-picker-docked.scss +0 -248
  557. package/core/tokens/m3/definitions/unused/_md-comp-date-picker-modal.scss +0 -313
  558. package/core/tokens/m3/definitions/unused/_md-comp-divider.scss +0 -19
  559. package/core/tokens/m3/definitions/unused/_md-comp-extended-fab-branded.scss +0 -82
  560. package/core/tokens/m3/definitions/unused/_md-comp-extended-fab-surface.scss +0 -86
  561. package/core/tokens/m3/definitions/unused/_md-comp-fab-branded-large.scss +0 -54
  562. package/core/tokens/m3/definitions/unused/_md-comp-fab-branded.scss +0 -54
  563. package/core/tokens/m3/definitions/unused/_md-comp-fab-primary-large.scss +0 -59
  564. package/core/tokens/m3/definitions/unused/_md-comp-fab-secondary-large.scss +0 -60
  565. package/core/tokens/m3/definitions/unused/_md-comp-fab-surface-large.scss +0 -58
  566. package/core/tokens/m3/definitions/unused/_md-comp-fab-surface-small.scss +0 -58
  567. package/core/tokens/m3/definitions/unused/_md-comp-fab-surface.scss +0 -58
  568. package/core/tokens/m3/definitions/unused/_md-comp-fab-tertiary-large.scss +0 -60
  569. package/core/tokens/m3/definitions/unused/_md-comp-filled-autocomplete.scss +0 -269
  570. package/core/tokens/m3/definitions/unused/_md-comp-filled-menu-button.scss +0 -94
  571. package/core/tokens/m3/definitions/unused/_md-comp-filled-select.scss +0 -274
  572. package/core/tokens/m3/definitions/unused/_md-comp-filled-tonal-button.scss +0 -95
  573. package/core/tokens/m3/definitions/unused/_md-comp-filled-tonal-icon-button.scss +0 -80
  574. package/core/tokens/m3/definitions/unused/_md-comp-filter-chip.scss +0 -205
  575. package/core/tokens/m3/definitions/unused/_md-comp-full-screen-dialog.scss +0 -109
  576. package/core/tokens/m3/definitions/unused/_md-comp-input-chip.scss +0 -180
  577. package/core/tokens/m3/definitions/unused/_md-comp-menu.scss +0 -31
  578. package/core/tokens/m3/definitions/unused/_md-comp-navigation-bar.scss +0 -110
  579. package/core/tokens/m3/definitions/unused/_md-comp-navigation-drawer.scss +0 -162
  580. package/core/tokens/m3/definitions/unused/_md-comp-navigation-rail.scss +0 -127
  581. package/core/tokens/m3/definitions/unused/_md-comp-outlined-autocomplete.scss +0 -259
  582. package/core/tokens/m3/definitions/unused/_md-comp-outlined-menu-button.scss +0 -90
  583. package/core/tokens/m3/definitions/unused/_md-comp-outlined-segmented-button.scss +0 -108
  584. package/core/tokens/m3/definitions/unused/_md-comp-outlined-select.scss +0 -264
  585. package/core/tokens/m3/definitions/unused/_md-comp-primary-navigation-tab.scss +0 -117
  586. package/core/tokens/m3/definitions/unused/_md-comp-rich-tooltip.scss +0 -121
  587. package/core/tokens/m3/definitions/unused/_md-comp-scrim.scss +0 -19
  588. package/core/tokens/m3/definitions/unused/_md-comp-search-bar.scss +0 -97
  589. package/core/tokens/m3/definitions/unused/_md-comp-search-view.scss +0 -91
  590. package/core/tokens/m3/definitions/unused/_md-comp-sheet-bottom.scss +0 -39
  591. package/core/tokens/m3/definitions/unused/_md-comp-sheet-floating.scss +0 -28
  592. package/core/tokens/m3/definitions/unused/_md-comp-sheet-side.scss +0 -87
  593. package/core/tokens/m3/definitions/unused/_md-comp-standard-menu-button.scss +0 -94
  594. package/core/tokens/m3/definitions/unused/_md-comp-suggestion-chip.scss +0 -121
  595. package/core/tokens/m3/definitions/unused/_md-comp-time-input.scss +0 -222
  596. package/core/tokens/m3/definitions/unused/_md-comp-time-picker.scss +0 -268
  597. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-large.scss +0 -59
  598. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-medium.scss +0 -59
  599. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-small-centered.scss +0 -62
  600. package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-small.scss +0 -60
  601. package/core/tokens/m3/mat/_card.scss +0 -24
  602. package/core/tokens/m3/mat/_checkbox.scss +0 -26
  603. package/core/tokens/m3/mat/_chip.scss +0 -46
  604. package/core/tokens/m3/mat/_dialog.scss +0 -32
  605. package/core/tokens/m3/mat/_fab-small.scss +0 -50
  606. package/core/tokens/m3/mat/_fab.scss +0 -50
  607. package/core/tokens/m3/mat/_filled-button.scss +0 -54
  608. package/core/tokens/m3/mat/_form-field.scss +0 -59
  609. package/core/tokens/m3/mat/_full-pseudo-checkbox.scss +0 -42
  610. package/core/tokens/m3/mat/_list.scss +0 -19
  611. package/core/tokens/m3/mat/_minimal-pseudo-checkbox.scss +0 -33
  612. package/core/tokens/m3/mat/_option.scss +0 -55
  613. package/core/tokens/m3/mat/_outlined-button.scss +0 -54
  614. package/core/tokens/m3/mat/_protected-button.scss +0 -55
  615. package/core/tokens/m3/mat/_radio.scss +0 -45
  616. package/core/tokens/m3/mat/_slider.scss +0 -58
  617. package/core/tokens/m3/mat/_snack-bar.scss +0 -18
  618. package/core/tokens/m3/mat/_stepper.scss +0 -79
  619. package/core/tokens/m3/mat/_switch.scss +0 -56
  620. package/core/tokens/m3/mat/_tab-header.scss +0 -51
  621. package/core/tokens/m3/mat/_table.scss +0 -29
  622. package/core/tokens/m3/mat/_text-button.scss +0 -55
  623. package/core/tokens/m3/mdc/_checkbox.scss +0 -112
  624. package/core/tokens/m3/mdc/_chip.scss +0 -93
  625. package/core/tokens/m3/mdc/_dialog.scss +0 -23
  626. package/core/tokens/m3/mdc/_elevated-card.scss +0 -22
  627. package/core/tokens/m3/mdc/_extended-fab.scss +0 -42
  628. package/core/tokens/m3/mdc/_fab-small.scss +0 -41
  629. package/core/tokens/m3/mdc/_fab.scss +0 -39
  630. package/core/tokens/m3/mdc/_filled-button.scss +0 -86
  631. package/core/tokens/m3/mdc/_filled-text-field.scss +0 -91
  632. package/core/tokens/m3/mdc/_icon-button.scss +0 -60
  633. package/core/tokens/m3/mdc/_list.scss +0 -37
  634. package/core/tokens/m3/mdc/_outlined-button.scss +0 -84
  635. package/core/tokens/m3/mdc/_outlined-card.scss +0 -22
  636. package/core/tokens/m3/mdc/_outlined-text-field.scss +0 -86
  637. package/core/tokens/m3/mdc/_plain-tooltip.scss +0 -15
  638. package/core/tokens/m3/mdc/_protected-button.scss +0 -101
  639. package/core/tokens/m3/mdc/_radio.scss +0 -47
  640. package/core/tokens/m3/mdc/_secondary-navigation-tab.scss +0 -16
  641. package/core/tokens/m3/mdc/_slider.scss +0 -69
  642. package/core/tokens/m3/mdc/_snack-bar.scss +0 -15
  643. package/core/tokens/m3/mdc/_switch.scss +0 -82
  644. package/core/tokens/m3/mdc/_tab-indicator.scss +0 -34
  645. package/core/tokens/m3/mdc/_text-button.scss +0 -79
  646. package/core/typography/_typography-utils-deprecated.scss +0 -6
  647. package/datepicker/_datepicker-legacy-compat.scss +0 -85
  648. package/divider/_divider-offset.scss +0 -12
  649. package/divider-harness.d-d34fede4.d.ts +0 -14
  650. package/expansion/_expansion-variables.scss +0 -30
  651. package/fesm2022/common-module-2d64df09.mjs.map +0 -1
  652. package/fesm2022/date-formats-b618acb8.mjs.map +0 -1
  653. package/fesm2022/date-range-input-harness-ee47cdb0.mjs.map +0 -1
  654. package/fesm2022/divider-harness-3394f29a.mjs +0 -18
  655. package/fesm2022/divider-harness-3394f29a.mjs.map +0 -1
  656. package/fesm2022/error-options-4a00765e.mjs.map +0 -1
  657. package/fesm2022/error-state-8f4ce1af.mjs.map +0 -1
  658. package/fesm2022/form-field-6d755764.mjs +0 -1076
  659. package/fesm2022/form-field-6d755764.mjs.map +0 -1
  660. package/fesm2022/form-field-control-harness-af6fd278.mjs +0 -11
  661. package/fesm2022/form-field-control-harness-af6fd278.mjs.map +0 -1
  662. package/fesm2022/icon-button-47f1b5d9.mjs +0 -248
  663. package/fesm2022/icon-button-47f1b5d9.mjs.map +0 -1
  664. package/fesm2022/icon-module-3f77a24d.mjs +0 -395
  665. package/fesm2022/icon-module-3f77a24d.mjs.map +0 -1
  666. package/fesm2022/icon-registry-13a3b98e.mjs.map +0 -1
  667. package/fesm2022/index-1763d3a6.mjs.map +0 -1
  668. package/fesm2022/index-4bc1d6d3.mjs.map +0 -1
  669. package/fesm2022/input-harness-ed59decc.mjs.map +0 -1
  670. package/fesm2022/input-value-accessor-8a79a24e.mjs.map +0 -1
  671. package/fesm2022/internal-form-field-434c4039.mjs.map +0 -1
  672. package/fesm2022/line-d6afe347.mjs.map +0 -1
  673. package/fesm2022/module-3bf2775f.mjs.map +0 -1
  674. package/fesm2022/module-47e3be58.mjs.map +0 -1
  675. package/fesm2022/module-a5f9ab72.mjs.map +0 -1
  676. package/fesm2022/module-d757bba0.mjs.map +0 -1
  677. package/fesm2022/module-df9f7af3.mjs +0 -152
  678. package/fesm2022/module-df9f7af3.mjs.map +0 -1
  679. package/fesm2022/optgroup-harness-5e66b138.mjs +0 -36
  680. package/fesm2022/optgroup-harness-5e66b138.mjs.map +0 -1
  681. package/fesm2022/option-07c3c660.mjs.map +0 -1
  682. package/fesm2022/option-harness-3b7c1106.mjs.map +0 -1
  683. package/fesm2022/pseudo-checkbox-af5a4ea4.mjs.map +0 -1
  684. package/fesm2022/pseudo-checkbox-module-216fae38.mjs.map +0 -1
  685. package/fesm2022/public-api-c5ab57f5.mjs.map +0 -1
  686. package/fesm2022/ripple-9939d1f5.mjs.map +0 -1
  687. package/fesm2022/ripple-loader-f2078c66.mjs.map +0 -1
  688. package/fesm2022/select-harness-8c55824d.mjs +0 -123
  689. package/fesm2022/select-harness-8c55824d.mjs.map +0 -1
  690. package/fesm2022/structural-styles-d5ada3b3.mjs.map +0 -1
  691. package/form-field/_form-field-focus-overlay.scss +0 -31
  692. package/form-field/_form-field-high-contrast.scss +0 -39
  693. package/form-field/_form-field-native-select.scss +0 -97
  694. package/form-field/_form-field-subscript.scss +0 -95
  695. package/form-field/_mdc-text-field-density-overrides.scss +0 -60
  696. package/form-field/_mdc-text-field-structure-overrides.scss +0 -186
  697. package/form-field/_mdc-text-field-structure.scss +0 -621
  698. package/form-field/_mdc-text-field-textarea-overrides.scss +0 -36
  699. package/form-field/_user-agent-overrides.scss +0 -24
  700. package/form-field-control-harness.d-2d91f25a.d.ts +0 -10
  701. package/list/_list-inherited-structure.scss +0 -504
  702. package/list/_list-item-hcm-indicator.scss +0 -29
  703. package/module.d-18a67f56.d.ts +0 -206
  704. package/optgroup-harness.d-7f741f69.d.ts +0 -31
  705. package/radio/_radio-common.scss +0 -259
  706. package/schematics/ng-add/fonts/material-fonts.mjs +0 -34
  707. package/schematics/ng-add/index.mjs +0 -54
  708. package/schematics/ng-add/package-config.mjs +0 -51
  709. package/schematics/ng-add/schema.mjs +0 -10
  710. package/schematics/ng-add/setup-project.mjs +0 -75
  711. package/schematics/ng-add/theming/create-custom-theme.mjs +0 -30
  712. package/schematics/ng-add/theming/theming.mjs +0 -151
  713. package/schematics/ng-generate/address-form/index.mjs +0 -43
  714. package/schematics/ng-generate/address-form/schema.mjs +0 -10
  715. package/schematics/ng-generate/dashboard/index.mjs +0 -42
  716. package/schematics/ng-generate/dashboard/schema.mjs +0 -10
  717. package/schematics/ng-generate/navigation/index.mjs +0 -42
  718. package/schematics/ng-generate/navigation/schema.mjs +0 -10
  719. package/schematics/ng-generate/table/index.mjs +0 -40
  720. package/schematics/ng-generate/table/schema.mjs +0 -10
  721. package/schematics/ng-generate/tree/index.mjs +0 -40
  722. package/schematics/ng-generate/tree/schema.mjs +0 -10
  723. package/schematics/schematics.externs.js +0 -0
  724. package/select-harness.d-7441a7ac.d.ts +0 -63
  725. package/stepper/_stepper-variables.scss +0 -29
  726. package/table/_table-flex-styles.scss +0 -61
  727. package/tabs/_tabs-common.scss +0 -497
  728. package/toolbar/_toolbar-variables.scss +0 -28
  729. /package/core/tokens/m3/{definitions/_md-ref-palette.scss → _md-ref-palette.scss} +0 -0
  730. /package/core/tokens/m3/{definitions/_md-ref-typeface.scss → _md-ref-typeface.scss} +0 -0
  731. /package/core/tokens/m3/{definitions/_md-sys-elevation.scss → _md-sys-elevation.scss} +0 -0
  732. /package/core/tokens/m3/{definitions/_md-sys-motion.scss → _md-sys-motion.scss} +0 -0
  733. /package/core/tokens/m3/{definitions/_md-sys-shape.scss → _md-sys-shape.scss} +0 -0
  734. /package/core/tokens/m3/{definitions/_md-sys-state.scss → _md-sys-state.scss} +0 -0
  735. /package/{date-adapter.d-c6835d41.d.ts → date-adapter.d-CtKXIxk0.d.ts} +0 -0
  736. /package/{error-options.d-448d9046.d.ts → error-options.d-CGdTZUYk.d.ts} +0 -0
  737. /package/{list-option-types.d-8739f903.d.ts → list-option-types.d-77dQtwu8.d.ts} +0 -0
  738. /package/{option.d-6f493d78.d.ts → option.d-BVGX3edu.d.ts} +0 -0
  739. /package/{palette.d-ec4a617c.d.ts → palette.d-BSSFKjO6.d.ts} +0 -0
  740. /package/{sort-direction.d-f4ce4649.d.ts → sort-direction.d-CF7VUsH-.d.ts} +0 -0
@@ -1,206 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, AfterViewInit, OnDestroy, ElementRef, NgZone } from '@angular/core';
3
- import { M as MatCommonModule } from './common-module.d-0e6515ae.js';
4
- import { M as MatRippleModule } from './index.d-0536b706.js';
5
- import { FocusOrigin } from '@angular/cdk/a11y';
6
- import { T as ThemePalette } from './palette.d-ec4a617c.js';
7
- import { M as MatRippleLoader } from './ripple-loader.d-8aac2988.js';
8
-
9
- /** Object that can be used to configure the default options for the button component. */
10
- interface MatButtonConfig {
11
- /** Whether disabled buttons should be interactive. */
12
- disabledInteractive?: boolean;
13
- /** Default palette color to apply to buttons. */
14
- color?: ThemePalette;
15
- }
16
- /** Injection token that can be used to provide the default options the button component. */
17
- declare const MAT_BUTTON_CONFIG: InjectionToken<MatButtonConfig>;
18
- /** Base class for all buttons. */
19
- declare class MatButtonBase implements AfterViewInit, OnDestroy {
20
- _elementRef: ElementRef<any>;
21
- _ngZone: NgZone;
22
- _animationMode: "NoopAnimations" | "BrowserAnimations" | null;
23
- private readonly _focusMonitor;
24
- private _cleanupClick;
25
- private _renderer;
26
- /**
27
- * Handles the lazy creation of the MatButton ripple.
28
- * Used to improve initial load time of large applications.
29
- */
30
- protected _rippleLoader: MatRippleLoader;
31
- /** Whether the button is set on an anchor node. */
32
- protected _isAnchor: boolean;
33
- /** Whether this button is a FAB. Used to apply the correct class on the ripple. */
34
- protected _isFab: boolean;
35
- /**
36
- * Theme color of the button. This API is supported in M2 themes only, it has
37
- * no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/button/styling.
38
- *
39
- * For information on applying color variants in M3, see
40
- * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
41
- */
42
- color?: string | null;
43
- /** Whether the ripple effect is disabled or not. */
44
- get disableRipple(): boolean;
45
- set disableRipple(value: any);
46
- private _disableRipple;
47
- /** Whether the button is disabled. */
48
- get disabled(): boolean;
49
- set disabled(value: any);
50
- private _disabled;
51
- /** `aria-disabled` value of the button. */
52
- ariaDisabled: boolean | undefined;
53
- /**
54
- * Natively disabled buttons prevent focus and any pointer events from reaching the button.
55
- * In some scenarios this might not be desirable, because it can prevent users from finding out
56
- * why the button is disabled (e.g. via tooltip).
57
- *
58
- * Enabling this input will change the button so that it is styled to be disabled and will be
59
- * marked as `aria-disabled`, but it will allow the button to receive events and focus.
60
- *
61
- * Note that by enabling this, you need to set the `tabindex` yourself if the button isn't
62
- * meant to be tabbable and you have to prevent the button action (e.g. form submissions).
63
- */
64
- disabledInteractive: boolean;
65
- /** Tab index for the button. */
66
- tabIndex: number;
67
- /**
68
- * Backwards-compatibility input that handles pre-existing `[tabindex]` bindings.
69
- * @docs-private
70
- */
71
- set _tabindex(value: number);
72
- constructor(...args: unknown[]);
73
- ngAfterViewInit(): void;
74
- ngOnDestroy(): void;
75
- /** Focuses the button. */
76
- focus(origin?: FocusOrigin, options?: FocusOptions): void;
77
- protected _getAriaDisabled(): boolean | null;
78
- protected _getDisabledAttribute(): true | null;
79
- private _updateRippleDisabled;
80
- protected _getTabIndex(): number;
81
- private _setupAsAnchor;
82
- static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonBase, never>;
83
- static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonBase, never, never, { "color": { "alias": "color"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaDisabled": { "alias": "aria-disabled"; "required": false; }; "disabledInteractive": { "alias": "disabledInteractive"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "_tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, never, true, never>;
84
- static ngAcceptInputType_disableRipple: unknown;
85
- static ngAcceptInputType_disabled: unknown;
86
- static ngAcceptInputType_ariaDisabled: unknown;
87
- static ngAcceptInputType_disabledInteractive: unknown;
88
- static ngAcceptInputType_tabIndex: unknown;
89
- static ngAcceptInputType__tabindex: unknown;
90
- }
91
-
92
- /**
93
- * Material Design button component. Users interact with a button to perform an action.
94
- * See https://material.io/components/buttons
95
- *
96
- * The `MatButton` class applies to native button elements and captures the appearances for
97
- * "text button", "outlined button", and "contained button" per the Material Design
98
- * specification. `MatButton` additionally captures an additional "flat" appearance, which matches
99
- * "contained" but without elevation.
100
- */
101
- declare class MatButton extends MatButtonBase {
102
- static ɵfac: i0.ɵɵFactoryDeclaration<MatButton, never>;
103
- static ɵcmp: i0.ɵɵComponentDeclaration<MatButton, " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", ["matButton", "matAnchor"], {}, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
104
- }
105
- /**
106
- * Material Design button component for anchor elements. Anchor elements are used to provide
107
- * links for the user to navigate across different routes or pages.
108
- * See https://material.io/components/buttons
109
- *
110
- * The `MatAnchor` class applies to native anchor elements and captures the appearances for
111
- * "text button", "outlined button", and "contained button" per the Material Design
112
- * specification. `MatAnchor` additionally captures an additional "flat" appearance, which matches
113
- * "contained" but without elevation.
114
- */
115
- declare const MatAnchor: typeof MatButton;
116
- type MatAnchor = MatButton;
117
-
118
- /** Default FAB options that can be overridden. */
119
- interface MatFabDefaultOptions {
120
- /**
121
- * Default theme color of the button. This API is supported in M2 themes
122
- * only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.io/components/button/styling.
123
- *
124
- * For information on applying color variants in M3, see
125
- * https://material.angular.io/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants.
126
- */
127
- color?: ThemePalette;
128
- }
129
- /** Injection token to be used to override the default options for FAB. */
130
- declare const MAT_FAB_DEFAULT_OPTIONS: InjectionToken<MatFabDefaultOptions>;
131
- /**
132
- * @docs-private
133
- * @deprecated No longer used, will be removed.
134
- * @breaking-change 21.0.0
135
- */
136
- declare function MAT_FAB_DEFAULT_OPTIONS_FACTORY(): MatFabDefaultOptions;
137
- /**
138
- * Material Design floating action button (FAB) component. These buttons represent the primary
139
- * or most common action for users to interact with.
140
- * See https://material.io/components/buttons-floating-action-button/
141
- *
142
- * The `MatFabButton` class has two appearances: normal and extended.
143
- */
144
- declare class MatFabButton extends MatButtonBase {
145
- private _options;
146
- _isFab: boolean;
147
- extended: boolean;
148
- constructor(...args: unknown[]);
149
- static ɵfac: i0.ɵɵFactoryDeclaration<MatFabButton, never>;
150
- static ɵcmp: i0.ɵɵComponentDeclaration<MatFabButton, "button[mat-fab], a[mat-fab]", ["matButton", "matAnchor"], { "extended": { "alias": "extended"; "required": false; }; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
151
- static ngAcceptInputType_extended: unknown;
152
- }
153
- /**
154
- * Material Design mini floating action button (FAB) component. These buttons represent the primary
155
- * or most common action for users to interact with.
156
- * See https://material.io/components/buttons-floating-action-button/
157
- */
158
- declare class MatMiniFabButton extends MatButtonBase {
159
- private _options;
160
- _isFab: boolean;
161
- constructor(...args: unknown[]);
162
- static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabButton, never>;
163
- static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabButton, "button[mat-mini-fab], a[mat-mini-fab]", ["matButton", "matAnchor"], {}, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"], true, never>;
164
- }
165
- /**
166
- * Material Design floating action button (FAB) component for anchor elements. Anchor elements
167
- * are used to provide links for the user to navigate across different routes or pages.
168
- * See https://material.io/components/buttons-floating-action-button/
169
- *
170
- * The `MatFabAnchor` class has two appearances: normal and extended.
171
- */
172
- declare const MatFabAnchor: typeof MatFabButton;
173
- type MatFabAnchor = MatFabButton;
174
- /**
175
- * Material Design mini floating action button (FAB) component for anchor elements. Anchor elements
176
- * are used to provide links for the user to navigate across different routes or pages.
177
- * See https://material.io/components/buttons-floating-action-button/
178
- */
179
- declare const MatMiniFabAnchor: typeof MatMiniFabButton;
180
- type MatMiniFabAnchor = MatMiniFabButton;
181
-
182
- /**
183
- * Material Design icon button component. This type of button displays a single interactive icon for
184
- * users to perform an action.
185
- * See https://material.io/develop/web/components/buttons/icon-buttons/
186
- */
187
- declare class MatIconButton extends MatButtonBase {
188
- constructor(...args: unknown[]);
189
- static ɵfac: i0.ɵɵFactoryDeclaration<MatIconButton, never>;
190
- static ɵcmp: i0.ɵɵComponentDeclaration<MatIconButton, "button[mat-icon-button], a[mat-icon-button]", ["matButton", "matAnchor"], {}, {}, never, ["*"], true, never>;
191
- }
192
- /**
193
- * Material Design icon button component for anchor elements. This button displays a single
194
- * interaction icon that allows users to navigate across different routes or pages.
195
- * See https://material.io/develop/web/components/buttons/icon-buttons/
196
- */
197
- declare const MatIconAnchor: typeof MatIconButton;
198
- type MatIconAnchor = MatIconButton;
199
-
200
- declare class MatButtonModule {
201
- static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonModule, never>;
202
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatButtonModule, never, [typeof MatCommonModule, typeof MatRippleModule, typeof MatButton, typeof MatMiniFabButton, typeof MatIconButton, typeof MatFabButton], [typeof MatCommonModule, typeof MatButton, typeof MatMiniFabButton, typeof MatIconButton, typeof MatFabButton]>;
203
- static ɵinj: i0.ɵɵInjectorDeclaration<MatButtonModule>;
204
- }
205
-
206
- export { MAT_BUTTON_CONFIG as M, type MatButtonConfig as a, MatButton as b, MatAnchor as c, type MatFabDefaultOptions as d, MAT_FAB_DEFAULT_OPTIONS as e, MAT_FAB_DEFAULT_OPTIONS_FACTORY as f, MatFabButton as g, MatMiniFabButton as h, MatFabAnchor as i, MatMiniFabAnchor as j, MatIconButton as k, MatIconAnchor as l, MatButtonModule as m };
@@ -1,31 +0,0 @@
1
- import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
2
- import { O as OptionHarnessFilters, M as MatOptionHarness } from './option-harness.d-3d33fc9a.js';
3
-
4
- interface OptgroupHarnessFilters extends BaseHarnessFilters {
5
- labelText?: string | RegExp;
6
- }
7
-
8
- /** Harness for interacting with a `mat-optgroup` in tests. */
9
- declare class MatOptgroupHarness extends ComponentHarness {
10
- /** Selector used to locate option group instances. */
11
- static hostSelector: string;
12
- private _label;
13
- /**
14
- * Gets a `HarnessPredicate` that can be used to search for a option group with specific
15
- * attributes.
16
- * @param options Options for filtering which option instances are considered a match.
17
- * @return a `HarnessPredicate` configured with the given options.
18
- */
19
- static with<T extends MatOptgroupHarness>(this: ComponentHarnessConstructor<T>, options?: OptgroupHarnessFilters): HarnessPredicate<T>;
20
- /** Gets the option group's label text. */
21
- getLabelText(): Promise<string>;
22
- /** Gets whether the option group is disabled. */
23
- isDisabled(): Promise<boolean>;
24
- /**
25
- * Gets the options that are inside the group.
26
- * @param filter Optionally filters which options are included.
27
- */
28
- getOptions(filter?: OptionHarnessFilters): Promise<MatOptionHarness[]>;
29
- }
30
-
31
- export { MatOptgroupHarness as M, type OptgroupHarnessFilters as O };
@@ -1,259 +0,0 @@
1
- @use '../core/tokens/m2/mdc/radio' as tokens-mdc-radio;
2
- @use '../core/tokens/token-utils';
3
-
4
- $_icon-size: 20px;
5
-
6
- @function _enter-transition($name) {
7
- @return $name 90ms cubic-bezier(0, 0, 0.2, 1);
8
- }
9
-
10
- @function _exit-transition($name) {
11
- @return $name 90ms cubic-bezier(0.4, 0, 0.6, 1);
12
- }
13
-
14
- // Structural styles for a radio button. Shared with the selection list.
15
- @mixin radio-structure($is-interactive) {
16
- $tokens: tokens-mdc-radio.$prefix, tokens-mdc-radio.get-token-slots();
17
-
18
- .mdc-radio {
19
- display: inline-block;
20
- position: relative;
21
- flex: 0 0 auto;
22
- box-sizing: content-box;
23
- width: $_icon-size;
24
- height: $_icon-size;
25
- cursor: pointer;
26
-
27
- // This is something we inherited from MDC, but it shouldn't be necessary.
28
- // Removing it will likely lead to screenshot diffs.
29
- will-change: opacity, transform, border-color, color;
30
-
31
- @include token-utils.use-tokens($tokens...) {
32
- $size-token: token-utils.get-token-variable(state-layer-size);
33
- padding: calc((#{$size-token} - #{$_icon-size}) / 2);
34
- }
35
-
36
- @if ($is-interactive) {
37
- // MDC's hover indication comes from their ripple which we don't use.
38
- &:hover > .mdc-radio__native-control:not([disabled]):not(:focus) {
39
- & ~ .mdc-radio__background::before {
40
- opacity: 0.04;
41
- transform: scale(1);
42
- }
43
- }
44
-
45
- &:hover > .mdc-radio__native-control:not([disabled]) ~ .mdc-radio__background {
46
- > .mdc-radio__outer-circle {
47
- @include token-utils.use-tokens($tokens...) {
48
- @include token-utils.create-token-slot(border-color, unselected-hover-icon-color);
49
- }
50
- }
51
- }
52
-
53
- &:hover > .mdc-radio__native-control:enabled:checked + .mdc-radio__background {
54
- > .mdc-radio__outer-circle,
55
- > .mdc-radio__inner-circle {
56
- @include token-utils.use-tokens($tokens...) {
57
- @include token-utils.create-token-slot(border-color, selected-hover-icon-color);
58
- }
59
- }
60
- }
61
-
62
- &:active > .mdc-radio__native-control:enabled:not(:checked) + .mdc-radio__background {
63
- > .mdc-radio__outer-circle {
64
- @include token-utils.use-tokens($tokens...) {
65
- @include token-utils.create-token-slot(border-color, unselected-pressed-icon-color);
66
- }
67
- }
68
- }
69
-
70
- &:active > .mdc-radio__native-control:enabled:checked + .mdc-radio__background {
71
- > .mdc-radio__outer-circle,
72
- > .mdc-radio__inner-circle {
73
- @include token-utils.use-tokens($tokens...) {
74
- @include token-utils.create-token-slot(border-color, selected-pressed-icon-color);
75
- }
76
- }
77
- }
78
- }
79
- }
80
-
81
- .mdc-radio__background {
82
- display: inline-block;
83
- position: relative;
84
- box-sizing: border-box;
85
- width: $_icon-size;
86
- height: $_icon-size;
87
-
88
- &::before {
89
- position: absolute;
90
- transform: scale(0, 0);
91
- border-radius: 50%;
92
- opacity: 0;
93
- pointer-events: none;
94
- content: '';
95
- transition: _exit-transition(opacity), _exit-transition(transform);
96
-
97
- @include token-utils.use-tokens($tokens...) {
98
- $size: token-utils.get-token-variable(state-layer-size);
99
- $offset: calc(-1 * (#{$size} - #{$_icon-size}) / 2);
100
- width: $size;
101
- height: $size;
102
- top: $offset;
103
- left: $offset;
104
- }
105
- }
106
- }
107
-
108
- .mdc-radio__outer-circle {
109
- position: absolute;
110
- top: 0;
111
- left: 0;
112
- box-sizing: border-box;
113
- width: 100%;
114
- height: 100%;
115
- border-width: 2px;
116
- border-style: solid;
117
- border-radius: 50%;
118
- transition: _exit-transition(border-color);
119
- }
120
-
121
- .mdc-radio__inner-circle {
122
- position: absolute;
123
- top: 0;
124
- left: 0;
125
- box-sizing: border-box;
126
- width: 100%;
127
- height: 100%;
128
- transform: scale(0, 0);
129
- border-width: 10px;
130
- border-style: solid;
131
- border-radius: 50%;
132
- transition: _exit-transition(transform), _exit-transition(border-color);
133
- }
134
-
135
- .mdc-radio__native-control {
136
- position: absolute;
137
- margin: 0;
138
- padding: 0;
139
- opacity: 0;
140
- top: 0;
141
- right: 0;
142
- left: 0;
143
- cursor: inherit;
144
- z-index: 1;
145
-
146
- @include token-utils.use-tokens($tokens...) {
147
- @include token-utils.create-token-slot(width, state-layer-size);
148
- @include token-utils.create-token-slot(height, state-layer-size);
149
- }
150
-
151
- &:checked, &:disabled {
152
- + .mdc-radio__background {
153
- transition: _enter-transition(opacity), _enter-transition(transform);
154
-
155
- > .mdc-radio__outer-circle {
156
- transition: _enter-transition(border-color);
157
- }
158
-
159
- > .mdc-radio__inner-circle {
160
- transition: _enter-transition(transform), _enter-transition(border-color);
161
- }
162
- }
163
- }
164
-
165
- @if ($is-interactive) {
166
- &:focus + .mdc-radio__background::before {
167
- transform: scale(1);
168
- opacity: 0.12;
169
- transition: _enter-transition(opacity), _enter-transition(transform);
170
- }
171
- }
172
-
173
- &:disabled {
174
- @include token-utils.use-tokens($tokens...) {
175
- &:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle {
176
- @include token-utils.create-token-slot(border-color, disabled-unselected-icon-color);
177
- @include token-utils.create-token-slot(opacity, disabled-unselected-icon-opacity);
178
- }
179
-
180
- + .mdc-radio__background {
181
- cursor: default;
182
-
183
- > .mdc-radio__inner-circle,
184
- > .mdc-radio__outer-circle {
185
- @include token-utils.create-token-slot(border-color, disabled-selected-icon-color);
186
- @include token-utils.create-token-slot(opacity, disabled-selected-icon-opacity);
187
- }
188
- }
189
- }
190
- }
191
-
192
- &:enabled {
193
- @include token-utils.use-tokens($tokens...) {
194
- &:not(:checked) + .mdc-radio__background > .mdc-radio__outer-circle {
195
- @include token-utils.create-token-slot(border-color, unselected-icon-color);
196
- }
197
-
198
- &:checked + .mdc-radio__background {
199
- > .mdc-radio__outer-circle,
200
- > .mdc-radio__inner-circle {
201
- @include token-utils.create-token-slot(border-color, selected-icon-color);
202
- }
203
- }
204
-
205
- @if ($is-interactive) {
206
- &:focus:checked + .mdc-radio__background {
207
- > .mdc-radio__inner-circle,
208
- > .mdc-radio__outer-circle {
209
- @include token-utils.create-token-slot(border-color, selected-focus-icon-color);
210
- }
211
- }
212
- }
213
- }
214
- }
215
-
216
- &:checked + .mdc-radio__background > .mdc-radio__inner-circle {
217
- transform: scale(0.5);
218
- transition: _enter-transition(transform), _enter-transition(border-color);
219
- }
220
- }
221
-
222
- @if ($is-interactive) {
223
- &.mat-mdc-radio-disabled-interactive .mdc-radio--disabled {
224
- pointer-events: auto;
225
-
226
- @include token-utils.use-tokens($tokens...) {
227
- // stylelint-disable selector-combinator-space-before
228
- .mdc-radio__native-control:not(:checked) + .mdc-radio__background
229
- > .mdc-radio__outer-circle {
230
- @include token-utils.create-token-slot(border-color, disabled-unselected-icon-color);
231
- @include token-utils.create-token-slot(opacity, disabled-unselected-icon-opacity);
232
- }
233
- // stylelint-enable selector-combinator-space-before
234
-
235
- &:hover .mdc-radio__native-control:checked + .mdc-radio__background,
236
- .mdc-radio__native-control:checked:focus + .mdc-radio__background,
237
- .mdc-radio__native-control + .mdc-radio__background {
238
- > .mdc-radio__inner-circle,
239
- > .mdc-radio__outer-circle {
240
- @include token-utils.create-token-slot(border-color, disabled-selected-icon-color);
241
- @include token-utils.create-token-slot(opacity, disabled-selected-icon-opacity);
242
- }
243
- }
244
- }
245
- }
246
- }
247
- }
248
-
249
- // Conditionally disables the animations of the radio button.
250
- @mixin radio-noop-animations() {
251
- &._mat-animation-noopable {
252
- .mdc-radio__background::before,
253
- .mdc-radio__outer-circle,
254
- .mdc-radio__inner-circle {
255
- // Needs to be `!important`, because MDC's selectors are really specific.
256
- transition: none !important;
257
- }
258
- }
259
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- /**
3
- * @license
4
- * Copyright Google LLC All Rights Reserved.
5
- *
6
- * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.dev/license
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.addFontsToIndex = addFontsToIndex;
11
- const schematics_1 = require("@angular-devkit/schematics");
12
- const schematics_2 = require("@angular/cdk/schematics");
13
- const workspace_1 = require("@schematics/angular/utility/workspace");
14
- /** Adds the Material Design fonts to the index HTML file. */
15
- function addFontsToIndex(options) {
16
- return async (host) => {
17
- const workspace = await (0, workspace_1.getWorkspace)(host);
18
- const project = (0, schematics_2.getProjectFromWorkspace)(workspace, options.project);
19
- const projectIndexFiles = (0, schematics_2.getProjectIndexFiles)(project);
20
- if (!projectIndexFiles.length) {
21
- throw new schematics_1.SchematicsException('No project index HTML file could be found.');
22
- }
23
- const fonts = [
24
- 'https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap',
25
- 'https://fonts.googleapis.com/icon?family=Material+Icons',
26
- ];
27
- projectIndexFiles.forEach(indexFilePath => {
28
- fonts.forEach(font => {
29
- (0, schematics_2.appendHtmlElementToHead)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uczogU2NoZW1hKTogUnVsZSB7XG4gIHJldHVybiBhc3luYyAoaG9zdDogVHJlZSkgPT4ge1xuICAgIGNvbnN0IHdvcmtzcGFjZSA9IGF3YWl0IGdldFdvcmtzcGFjZShob3N0KTtcbiAgICBjb25zdCBwcm9qZWN0ID0gZ2V0UHJvamVjdEZyb21Xb3Jrc3BhY2Uod29ya3NwYWNlLCBvcHRpb25zLnByb2plY3QpO1xuICAgIGNvbnN0IHByb2plY3RJbmRleEZpbGVzID0gZ2V0UHJvamVjdEluZGV4RmlsZXMocHJvamVjdCk7XG5cbiAgICBpZiAoIXByb2plY3RJbmRleEZpbGVzLmxlbmd0aCkge1xuICAgICAgdGhyb3cgbmV3IFNjaGVtYXRpY3NFeGNlcHRpb24oJ05vIHByb2plY3QgaW5kZXggSFRNTCBmaWxlIGNvdWxkIGJlIGZvdW5kLicpO1xuICAgIH1cblxuICAgIGNvbnN0IGZvbnRzID0gW1xuICAgICAgJ2h0dHBzOi8vZm9udHMuZ29vZ2xlYXBpcy5jb20vY3NzMj9mYW1pbHk9Um9ib3RvOndnaHRAMzAwOzQwMDs1MDAmZGlzcGxheT1zd2FwJyxcbiAgICAgICdodHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL2ljb24/ZmFtaWx5PU1hdGVyaWFsK0ljb25zJyxcbiAgICBdO1xuXG4gICAgcHJvamVjdEluZGV4RmlsZXMuZm9yRWFjaChpbmRleEZpbGVQYXRoID0+IHtcbiAgICAgIGZvbnRzLmZvckVhY2goZm9udCA9PiB7XG4gICAgICAgIGFwcGVuZEh0bWxFbGVtZW50VG9IZWFkKGhvc3QsIGluZGV4RmlsZVBhdGgsIGA8bGluayBocmVmPVwiJHtmb250fVwiIHJlbD1cInN0eWxlc2hlZXRcIj5gKTtcbiAgICAgIH0pO1xuICAgIH0pO1xuICB9O1xufVxuIl19
@@ -1,54 +0,0 @@
1
- "use strict";
2
- /**
3
- * @license
4
- * Copyright Google LLC All Rights Reserved.
5
- *
6
- * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.dev/license
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.default = default_1;
11
- const tasks_1 = require("@angular-devkit/schematics/tasks");
12
- const package_config_1 = require("./package-config");
13
- /**
14
- * Version range that will be used for the Angular CDK and Angular Material if this
15
- * schematic has been run outside of the CLI `ng add` command. In those cases, there
16
- * can be no dependency on `@angular/material` in the `package.json` file, and we need
17
- * to manually insert the dependency based on the build version placeholder.
18
- *
19
- * Note that the fallback version range does not use caret, but tilde because that is
20
- * the default for Angular framework dependencies in CLI projects.
21
- */
22
- const fallbackMaterialVersionRange = `~20.0.0-next.1`;
23
- /**
24
- * Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
25
- * automatically executed if developers run `ng add @angular/material`.
26
- *
27
- * Since the Angular Material schematics depend on the schematic utility functions from the CDK,
28
- * we need to install the CDK before loading the schematic files that import from the CDK.
29
- */
30
- function default_1(options) {
31
- return (host, context) => {
32
- // Version tag of the `@angular/core` dependency that has been loaded from the `package.json`
33
- // of the CLI project. This tag should be preferred because all Angular dependencies should
34
- // have the same version tag if possible.
35
- const ngCoreVersionTag = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/core');
36
- const materialVersionRange = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/material');
37
- const angularDependencyVersion = ngCoreVersionTag || `^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0`;
38
- // The CLI inserts `@angular/material` into the `package.json` before this schematic runs.
39
- // This means that we do not need to insert Angular Material into `package.json` files again.
40
- // In some cases though, it could happen that this schematic runs outside of the CLI `ng add`
41
- // command, or Material is only listed a dev dependency. If that is the case, we insert a
42
- // version based on the current build version (substituted version placeholder).
43
- if (materialVersionRange === null) {
44
- (0, package_config_1.addPackageToPackageJson)(host, '@angular/material', fallbackMaterialVersionRange);
45
- }
46
- (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', materialVersionRange || fallbackMaterialVersionRange);
47
- (0, package_config_1.addPackageToPackageJson)(host, '@angular/forms', angularDependencyVersion);
48
- // Since the Angular Material schematics depend on the schematic utility functions from the
49
- // CDK, we need to install the CDK before loading the schematic files that import from the CDK.
50
- const installTaskId = context.addTask(new tasks_1.NodePackageInstallTask());
51
- context.addTask(new tasks_1.RunSchematicTask('ng-add-setup-project', options), [installTaskId]);
52
- };
53
- }
54
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWF0ZXJpYWwvc2NoZW1hdGljcy9uZy1hZGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7R0FNRzs7QUF5QkgsNEJBK0JDO0FBckRELDREQUEwRjtBQUMxRixxREFBMkY7QUFHM0Y7Ozs7Ozs7O0dBUUc7QUFDSCxNQUFNLDRCQUE0QixHQUFHLG9CQUFvQixDQUFDO0FBRTFEOzs7Ozs7R0FNRztBQUNILG1CQUF5QixPQUFlO0lBQ3RDLE9BQU8sQ0FBQyxJQUFVLEVBQUUsT0FBeUIsRUFBRSxFQUFFO1FBQy9DLDZGQUE2RjtRQUM3RiwyRkFBMkY7UUFDM0YseUNBQXlDO1FBQ3pDLE1BQU0sZ0JBQWdCLEdBQUcsSUFBQSxpREFBZ0MsRUFBQyxJQUFJLEVBQUUsZUFBZSxDQUFDLENBQUM7UUFDakYsTUFBTSxvQkFBb0IsR0FBRyxJQUFBLGlEQUFnQyxFQUFDLElBQUksRUFBRSxtQkFBbUIsQ0FBQyxDQUFDO1FBQ3pGLE1BQU0sd0JBQXdCLEdBQUcsZ0JBQWdCLElBQUksVUFBVSxDQUFDO1FBRWhFLDBGQUEwRjtRQUMxRiw2RkFBNkY7UUFDN0YsNkZBQTZGO1FBQzdGLHlGQU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BhY2thZ2VUb1BhY2thZ2VKc29uKFxuICAgICAgaG9zdCxcbiAgICAgICdAYW5ndWxhci9jZGsnLFxuICAgICAgbWF0ZXJpYWxWZXJzaW9uUmFuZ2UgfHwgZmFsbGJhY2tNYXRlcmlhbFZlcnNpb25SYW5nZSxcbiAgICApO1xuICAgIGFkZFBhY2thZ2VUb1BhY2thZ2VKc29uKGhvc3QsICdAYW5ndWxhci9mb3JtcycsIGFuZ3VsYXJEZXBlbmRlbmN5VmVyc2lvbik7XG5cbiAgICAvLyBTaW5jZSB0aGUgQW5ndWxhciBNYXRlcmlhbCBzY2hlbWF0aWNzIGRlcGVuZCBvbiB0aGUgc2NoZW1hdGljIHV0aWxpdHkgZnVuY3Rpb25zIGZyb20gdGhlXG4gICAgLy8gQ0RLLCB3ZSBuZWVkIHRvIGluc3RhbGwgdGhlIENESyBiZWZvcmUgbG9hZGluZyB0aGUgc2NoZW1hdGljIGZpbGVzIHRoYXQgaW1wb3J0IGZyb20gdGhlIENESy5cbiAgICBjb25zdCBpbnN0YWxsVGFza0lkID0gY29udGV4dC5hZGRUYXNrKG5ldyBOb2RlUGFja2FnZUluc3RhbGxUYXNrKCkpO1xuXG4gICAgY29udGV4dC5hZGRUYXNrKG5ldyBSdW5TY2hlbWF0aWNUYXNrKCduZy1hZGQtc2V0dXAtcHJvamVjdCcsIG9wdGlvbnMpLCBbaW5zdGFsbFRhc2tJZF0pO1xuICB9O1xufVxuIl19
@@ -1,51 +0,0 @@
1
- "use strict";
2
- /**
3
- * @license
4
- * Copyright Google LLC All Rights Reserved.
5
- *
6
- * Use of this source code is governed by an MIT-style license that can be
7
- * found in the LICENSE file at https://angular.dev/license
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.addPackageToPackageJson = addPackageToPackageJson;
11
- exports.getPackageVersionFromPackageJson = getPackageVersionFromPackageJson;
12
- /**
13
- * Sorts the keys of the given object.
14
- * @returns A new object instance with sorted keys
15
- */
16
- function sortObjectByKeys(obj) {
17
- return Object.keys(obj)
18
- .sort()
19
- .reduce((result, key) => {
20
- result[key] = obj[key];
21
- return result;
22
- }, {});
23
- }
24
- /** Adds a package to the package.json in the given host tree. */
25
- function addPackageToPackageJson(host, pkg, version) {
26
- if (host.exists('package.json')) {
27
- const sourceText = host.read('package.json').toString('utf-8');
28
- const json = JSON.parse(sourceText);
29
- if (!json.dependencies) {
30
- json.dependencies = {};
31
- }
32
- if (!json.dependencies[pkg]) {
33
- json.dependencies[pkg] = version;
34
- json.dependencies = sortObjectByKeys(json.dependencies);
35
- }
36
- host.overwrite('package.json', JSON.stringify(json, null, 2));
37
- }
38
- return host;
39
- }
40
- /** Gets the version of the specified package by looking at the package.json in the given tree. */
41
- function getPackageVersionFromPackageJson(tree, name) {
42
- if (!tree.exists('package.json')) {
43
- return null;
44
- }
45
- const packageJson = JSON.parse(tree.read('package.json').toString('utf8'));
46
- if (packageJson.dependencies && packageJson.dependencies[name]) {
47
- return packageJson.dependencies[name];
48
- }
49
- return null;
50
- }
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFja2FnZS1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWF0ZXJpYWwvc2NoZW1hdGljcy9uZy1hZGQvcGFja2FnZS1jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7R0FNRzs7QUF5QkgsMERBa0JDO0FBR0QsNEVBWUM7QUFsREQ7OztHQUdHO0FBQ0gsU0FBUyxnQkFBZ0IsQ0FBQyxHQUEyQjtJQUNuRCxPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDO1NBQ3BCLElBQUksRUFBRTtTQUNOLE1BQU0sQ0FDTCxDQUFDLE1BQU0sRUFBRSxHQUFHLEVBQUUsRUFBRTtRQUNkLE1BQU0sQ0FBQyxHQUFHLENBQU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