@angular/material 18.1.2 → 18.1.4

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 (402) hide show
  1. package/button/_button-base.scss +5 -5
  2. package/checkbox/_checkbox-common.scss +9 -11
  3. package/chips/index.d.ts +3 -8
  4. package/core/ripple/_ripple.scss +1 -1
  5. package/core/theming/_definition.scss +2 -0
  6. package/core/tokens/_m3-tokens.scss +4 -2
  7. package/core/tokens/_token-definition.scss +266 -0
  8. package/core/tokens/_token-utils.scss +7 -265
  9. package/core/tokens/m2/mat/_app.scss +4 -4
  10. package/core/tokens/m2/mat/_autocomplete.scss +4 -4
  11. package/core/tokens/m2/mat/_badge.scss +4 -4
  12. package/core/tokens/m2/mat/_bottom-sheet.scss +4 -4
  13. package/core/tokens/m2/mat/_card.scss +4 -4
  14. package/core/tokens/m2/mat/_checkbox.scss +4 -4
  15. package/core/tokens/m2/mat/_chip.scss +4 -4
  16. package/core/tokens/m2/mat/_datepicker.scss +4 -4
  17. package/core/tokens/m2/mat/_dialog.scss +4 -4
  18. package/core/tokens/m2/mat/_divider.scss +4 -4
  19. package/core/tokens/m2/mat/_expansion.scss +4 -4
  20. package/core/tokens/m2/mat/_fab-small.scss +7 -6
  21. package/core/tokens/m2/mat/_fab.scss +7 -6
  22. package/core/tokens/m2/mat/_filled-button.scss +7 -6
  23. package/core/tokens/m2/mat/_form-field.scss +4 -4
  24. package/core/tokens/m2/mat/_full-pseudo-checkbox.scss +4 -4
  25. package/core/tokens/m2/mat/_grid-list.scss +4 -4
  26. package/core/tokens/m2/mat/_icon-button.scss +4 -4
  27. package/core/tokens/m2/mat/_icon.scss +4 -4
  28. package/core/tokens/m2/mat/_legacy-button-toggle.scss +4 -4
  29. package/core/tokens/m2/mat/_list.scss +4 -4
  30. package/core/tokens/m2/mat/_menu.scss +4 -4
  31. package/core/tokens/m2/mat/_minimal-pseudo-checkbox.scss +4 -4
  32. package/core/tokens/m2/mat/_optgroup.scss +4 -4
  33. package/core/tokens/m2/mat/_option.scss +4 -4
  34. package/core/tokens/m2/mat/_outlined-button.scss +4 -4
  35. package/core/tokens/m2/mat/_paginator.scss +4 -4
  36. package/core/tokens/m2/mat/_protected-button.scss +7 -6
  37. package/core/tokens/m2/mat/_radio.scss +4 -4
  38. package/core/tokens/m2/mat/_ripple.scss +4 -4
  39. package/core/tokens/m2/mat/_select.scss +7 -7
  40. package/core/tokens/m2/mat/_sidenav.scss +4 -4
  41. package/core/tokens/m2/mat/_slider.scss +4 -4
  42. package/core/tokens/m2/mat/_snack-bar.scss +4 -4
  43. package/core/tokens/m2/mat/_sort.scss +4 -4
  44. package/core/tokens/m2/mat/_standard-button-toggle.scss +4 -4
  45. package/core/tokens/m2/mat/_stepper.scss +4 -4
  46. package/core/tokens/m2/mat/_switch.scss +4 -4
  47. package/core/tokens/m2/mat/_tab-header-with-background.scss +4 -4
  48. package/core/tokens/m2/mat/_tab-header.scss +4 -4
  49. package/core/tokens/m2/mat/_table.scss +4 -4
  50. package/core/tokens/m2/mat/_text-button.scss +4 -4
  51. package/core/tokens/m2/mat/_toolbar.scss +4 -4
  52. package/core/tokens/m2/mat/_tree.scss +4 -4
  53. package/core/tokens/m2/mdc/_checkbox.scss +6 -6
  54. package/core/tokens/m2/mdc/_chip.scss +4 -4
  55. package/core/tokens/m2/mdc/_circular-progress.scss +4 -4
  56. package/core/tokens/m2/mdc/_dialog.scss +5 -5
  57. package/core/tokens/m2/mdc/_elevated-card.scss +4 -4
  58. package/core/tokens/m2/mdc/_extended-fab.scss +4 -4
  59. package/core/tokens/m2/mdc/_fab-small.scss +4 -4
  60. package/core/tokens/m2/mdc/_fab.scss +4 -4
  61. package/core/tokens/m2/mdc/_filled-button.scss +6 -6
  62. package/core/tokens/m2/mdc/_filled-text-field.scss +7 -7
  63. package/core/tokens/m2/mdc/_icon-button.scss +4 -4
  64. package/core/tokens/m2/mdc/_linear-progress.scss +4 -4
  65. package/core/tokens/m2/mdc/_list.scss +4 -4
  66. package/core/tokens/m2/mdc/_outlined-button.scss +5 -5
  67. package/core/tokens/m2/mdc/_outlined-card.scss +4 -4
  68. package/core/tokens/m2/mdc/_outlined-text-field.scss +7 -7
  69. package/core/tokens/m2/mdc/_plain-tooltip.scss +4 -4
  70. package/core/tokens/m2/mdc/_protected-button.scss +6 -6
  71. package/core/tokens/m2/mdc/_radio.scss +4 -4
  72. package/core/tokens/m2/mdc/_secondary-navigation-tab.scss +4 -4
  73. package/core/tokens/m2/mdc/_slider.scss +4 -4
  74. package/core/tokens/m2/mdc/_snack-bar.scss +4 -4
  75. package/core/tokens/m2/mdc/_switch.scss +4 -4
  76. package/core/tokens/m2/mdc/_tab-indicator.scss +4 -4
  77. package/core/tokens/m2/mdc/_text-button.scss +4 -4
  78. package/core/tokens/m3/mat/_app.scss +2 -2
  79. package/core/tokens/m3/mat/_autocomplete.scss +3 -4
  80. package/core/tokens/m3/mat/_badge.scss +18 -18
  81. package/core/tokens/m3/mat/_bottom-sheet.scss +4 -4
  82. package/core/tokens/m3/mat/_card.scss +4 -4
  83. package/core/tokens/m3/mat/_checkbox.scss +2 -2
  84. package/core/tokens/m3/mat/_chip.scss +5 -5
  85. package/core/tokens/m3/mat/_datepicker.scss +7 -7
  86. package/core/tokens/m3/mat/_dialog.scss +12 -11
  87. package/core/tokens/m3/mat/_divider.scss +3 -3
  88. package/core/tokens/m3/mat/_expansion.scss +7 -7
  89. package/core/tokens/m3/mat/_fab-small.scss +2 -2
  90. package/core/tokens/m3/mat/_fab.scss +2 -2
  91. package/core/tokens/m3/mat/_filled-button.scss +5 -5
  92. package/core/tokens/m3/mat/_form-field.scss +5 -5
  93. package/core/tokens/m3/mat/_full-pseudo-checkbox.scss +2 -2
  94. package/core/tokens/m3/mat/_grid-list.scss +2 -2
  95. package/core/tokens/m3/mat/_icon-button.scss +2 -2
  96. package/core/tokens/m3/mat/_icon.scss +3 -3
  97. package/core/tokens/m3/mat/_list.scss +2 -2
  98. package/core/tokens/m3/mat/_menu.scss +12 -12
  99. package/core/tokens/m3/mat/_minimal-pseudo-checkbox.scss +2 -2
  100. package/core/tokens/m3/mat/_optgroup.scss +3 -3
  101. package/core/tokens/m3/mat/_option.scss +2 -2
  102. package/core/tokens/m3/mat/_outlined-button.scss +5 -5
  103. package/core/tokens/m3/mat/_paginator.scss +3 -3
  104. package/core/tokens/m3/mat/_protected-button.scss +5 -5
  105. package/core/tokens/m3/mat/_radio.scss +2 -2
  106. package/core/tokens/m3/mat/_ripple.scss +2 -2
  107. package/core/tokens/m3/mat/_select.scss +4 -4
  108. package/core/tokens/m3/mat/_sidenav.scss +6 -5
  109. package/core/tokens/m3/mat/_slider.scss +12 -10
  110. package/core/tokens/m3/mat/_snack-bar.scss +2 -2
  111. package/core/tokens/m3/mat/_sort.scss +2 -2
  112. package/core/tokens/m3/mat/_standard-button-toggle.scss +6 -5
  113. package/core/tokens/m3/mat/_stepper.scss +3 -3
  114. package/core/tokens/m3/mat/_switch.scss +27 -22
  115. package/core/tokens/m3/mat/_tab-header.scss +4 -4
  116. package/core/tokens/m3/mat/_table.scss +7 -6
  117. package/core/tokens/m3/mat/_text-button.scss +6 -6
  118. package/core/tokens/m3/mat/_toolbar.scss +3 -3
  119. package/core/tokens/m3/mat/_tree.scss +2 -2
  120. package/core/tokens/m3/mdc/_checkbox.scss +10 -8
  121. package/core/tokens/m3/mdc/_chip.scss +16 -11
  122. package/core/tokens/m3/mdc/_circular-progress.scss +5 -4
  123. package/core/tokens/m3/mdc/_dialog.scss +4 -4
  124. package/core/tokens/m3/mdc/_elevated-card.scss +3 -3
  125. package/core/tokens/m3/mdc/_extended-fab.scss +9 -5
  126. package/core/tokens/m3/mdc/_fab-small.scss +8 -5
  127. package/core/tokens/m3/mdc/_fab.scss +6 -5
  128. package/core/tokens/m3/mdc/_filled-button.scss +6 -6
  129. package/core/tokens/m3/mdc/_filled-text-field.scss +7 -6
  130. package/core/tokens/m3/mdc/_icon-button.scss +10 -8
  131. package/core/tokens/m3/mdc/_linear-progress.scss +5 -4
  132. package/core/tokens/m3/mdc/_list.scss +3 -3
  133. package/core/tokens/m3/mdc/_outlined-button.scss +7 -6
  134. package/core/tokens/m3/mdc/_outlined-card.scss +3 -3
  135. package/core/tokens/m3/mdc/_outlined-text-field.scss +7 -6
  136. package/core/tokens/m3/mdc/_plain-tooltip.scss +3 -3
  137. package/core/tokens/m3/mdc/_protected-button.scss +6 -6
  138. package/core/tokens/m3/mdc/_radio.scss +4 -3
  139. package/core/tokens/m3/mdc/_secondary-navigation-tab.scss +4 -3
  140. package/core/tokens/m3/mdc/_slider.scss +4 -3
  141. package/core/tokens/m3/mdc/_snack-bar.scss +3 -3
  142. package/core/tokens/m3/mdc/_switch.scss +4 -3
  143. package/core/tokens/m3/mdc/_tab-indicator.scss +5 -4
  144. package/core/tokens/m3/mdc/_text-button.scss +6 -6
  145. package/esm2022/autocomplete/autocomplete-origin.mjs +4 -4
  146. package/esm2022/autocomplete/autocomplete-trigger.mjs +4 -4
  147. package/esm2022/autocomplete/autocomplete.mjs +4 -4
  148. package/esm2022/autocomplete/module.mjs +5 -5
  149. package/esm2022/badge/badge-module.mjs +5 -5
  150. package/esm2022/badge/badge.mjs +7 -7
  151. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +4 -4
  152. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +5 -5
  153. package/esm2022/bottom-sheet/bottom-sheet.mjs +4 -4
  154. package/esm2022/button/button-base.mjs +7 -7
  155. package/esm2022/button/button.mjs +7 -7
  156. package/esm2022/button/fab.mjs +13 -13
  157. package/esm2022/button/icon-button.mjs +7 -7
  158. package/esm2022/button/module.mjs +5 -5
  159. package/esm2022/button-toggle/button-toggle-module.mjs +5 -5
  160. package/esm2022/button-toggle/button-toggle.mjs +8 -8
  161. package/esm2022/card/card.mjs +43 -43
  162. package/esm2022/card/module.mjs +5 -5
  163. package/esm2022/checkbox/checkbox-required-validator.mjs +4 -4
  164. package/esm2022/checkbox/checkbox.mjs +4 -4
  165. package/esm2022/checkbox/module.mjs +9 -9
  166. package/esm2022/chips/chip-action.mjs +4 -4
  167. package/esm2022/chips/chip-edit-input.mjs +4 -4
  168. package/esm2022/chips/chip-grid.mjs +4 -4
  169. package/esm2022/chips/chip-icons.mjs +10 -10
  170. package/esm2022/chips/chip-input.mjs +4 -4
  171. package/esm2022/chips/chip-listbox.mjs +4 -4
  172. package/esm2022/chips/chip-option.mjs +6 -6
  173. package/esm2022/chips/chip-row.mjs +7 -7
  174. package/esm2022/chips/chip-set.mjs +4 -4
  175. package/esm2022/chips/chip.mjs +6 -27
  176. package/esm2022/chips/module.mjs +5 -5
  177. package/esm2022/core/common-behaviors/common-module.mjs +5 -5
  178. package/esm2022/core/datetime/index.mjs +9 -9
  179. package/esm2022/core/datetime/native-date-adapter.mjs +4 -4
  180. package/esm2022/core/error/error-options.mjs +7 -7
  181. package/esm2022/core/internal-form-field/internal-form-field.mjs +4 -4
  182. package/esm2022/core/line/line.mjs +8 -8
  183. package/esm2022/core/option/index.mjs +5 -5
  184. package/esm2022/core/option/optgroup.mjs +4 -4
  185. package/esm2022/core/option/option.mjs +4 -4
  186. package/esm2022/core/private/ripple-loader.mjs +4 -4
  187. package/esm2022/core/ripple/index.mjs +5 -5
  188. package/esm2022/core/ripple/ripple.mjs +4 -4
  189. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
  190. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
  191. package/esm2022/core/version.mjs +1 -1
  192. package/esm2022/datepicker/calendar-body.mjs +4 -4
  193. package/esm2022/datepicker/calendar.mjs +7 -7
  194. package/esm2022/datepicker/date-range-input-parts.mjs +10 -10
  195. package/esm2022/datepicker/date-range-input.mjs +4 -4
  196. package/esm2022/datepicker/date-range-picker.mjs +4 -4
  197. package/esm2022/datepicker/date-range-selection-strategy.mjs +4 -4
  198. package/esm2022/datepicker/date-selection-model.mjs +10 -10
  199. package/esm2022/datepicker/datepicker-actions.mjs +10 -10
  200. package/esm2022/datepicker/datepicker-base.mjs +7 -7
  201. package/esm2022/datepicker/datepicker-input-base.mjs +4 -4
  202. package/esm2022/datepicker/datepicker-input.mjs +4 -4
  203. package/esm2022/datepicker/datepicker-intl.mjs +4 -4
  204. package/esm2022/datepicker/datepicker-module.mjs +5 -5
  205. package/esm2022/datepicker/datepicker-toggle.mjs +7 -7
  206. package/esm2022/datepicker/datepicker.mjs +4 -4
  207. package/esm2022/datepicker/month-view.mjs +4 -4
  208. package/esm2022/datepicker/multi-year-view.mjs +4 -4
  209. package/esm2022/datepicker/year-view.mjs +4 -4
  210. package/esm2022/dialog/dialog-container.mjs +5 -5
  211. package/esm2022/dialog/dialog-content-directives.mjs +16 -16
  212. package/esm2022/dialog/dialog.mjs +4 -4
  213. package/esm2022/dialog/module.mjs +5 -5
  214. package/esm2022/divider/divider-module.mjs +5 -5
  215. package/esm2022/divider/divider.mjs +4 -4
  216. package/esm2022/expansion/accordion.mjs +4 -4
  217. package/esm2022/expansion/expansion-module.mjs +5 -5
  218. package/esm2022/expansion/expansion-panel-content.mjs +4 -4
  219. package/esm2022/expansion/expansion-panel-header.mjs +10 -10
  220. package/esm2022/expansion/expansion-panel.mjs +7 -7
  221. package/esm2022/form-field/directives/error.mjs +4 -4
  222. package/esm2022/form-field/directives/floating-label.mjs +4 -4
  223. package/esm2022/form-field/directives/hint.mjs +4 -4
  224. package/esm2022/form-field/directives/label.mjs +4 -4
  225. package/esm2022/form-field/directives/line-ripple.mjs +4 -4
  226. package/esm2022/form-field/directives/notched-outline.mjs +4 -4
  227. package/esm2022/form-field/directives/prefix.mjs +4 -4
  228. package/esm2022/form-field/directives/suffix.mjs +4 -4
  229. package/esm2022/form-field/form-field-control.mjs +4 -4
  230. package/esm2022/form-field/form-field.mjs +4 -4
  231. package/esm2022/form-field/module.mjs +5 -5
  232. package/esm2022/grid-list/grid-list-module.mjs +5 -5
  233. package/esm2022/grid-list/grid-list.mjs +4 -4
  234. package/esm2022/grid-list/grid-tile.mjs +16 -16
  235. package/esm2022/icon/icon-module.mjs +5 -5
  236. package/esm2022/icon/icon-registry.mjs +4 -4
  237. package/esm2022/icon/icon.mjs +4 -4
  238. package/esm2022/icon/testing/fake-icon-registry.mjs +8 -8
  239. package/esm2022/input/input.mjs +4 -4
  240. package/esm2022/input/module.mjs +5 -5
  241. package/esm2022/list/action-list.mjs +4 -4
  242. package/esm2022/list/list-base.mjs +7 -7
  243. package/esm2022/list/list-item-sections.mjs +19 -19
  244. package/esm2022/list/list-module.mjs +5 -5
  245. package/esm2022/list/list-option.mjs +4 -4
  246. package/esm2022/list/list.mjs +7 -7
  247. package/esm2022/list/nav-list.mjs +4 -4
  248. package/esm2022/list/selection-list.mjs +4 -4
  249. package/esm2022/list/subheader.mjs +4 -4
  250. package/esm2022/menu/menu-content.mjs +4 -4
  251. package/esm2022/menu/menu-item.mjs +4 -4
  252. package/esm2022/menu/menu-trigger.mjs +4 -4
  253. package/esm2022/menu/menu.mjs +4 -4
  254. package/esm2022/menu/module.mjs +5 -5
  255. package/esm2022/paginator/module.mjs +5 -5
  256. package/esm2022/paginator/paginator-intl.mjs +4 -4
  257. package/esm2022/paginator/paginator.mjs +4 -4
  258. package/esm2022/progress-bar/module.mjs +5 -5
  259. package/esm2022/progress-bar/progress-bar.mjs +4 -4
  260. package/esm2022/progress-spinner/module.mjs +5 -5
  261. package/esm2022/progress-spinner/progress-spinner.mjs +4 -4
  262. package/esm2022/radio/module.mjs +5 -5
  263. package/esm2022/radio/radio.mjs +7 -7
  264. package/esm2022/select/module.mjs +5 -5
  265. package/esm2022/select/select.mjs +7 -7
  266. package/esm2022/sidenav/drawer.mjs +11 -11
  267. package/esm2022/sidenav/sidenav-module.mjs +5 -5
  268. package/esm2022/sidenav/sidenav.mjs +10 -10
  269. package/esm2022/slide-toggle/module.mjs +9 -9
  270. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  271. package/esm2022/slide-toggle/slide-toggle.mjs +6 -6
  272. package/esm2022/slider/module.mjs +5 -5
  273. package/esm2022/slider/slider-input.mjs +7 -7
  274. package/esm2022/slider/slider-thumb.mjs +4 -4
  275. package/esm2022/slider/slider.mjs +4 -4
  276. package/esm2022/snack-bar/module.mjs +5 -5
  277. package/esm2022/snack-bar/simple-snack-bar.mjs +4 -4
  278. package/esm2022/snack-bar/snack-bar-container.mjs +4 -4
  279. package/esm2022/snack-bar/snack-bar-content.mjs +10 -10
  280. package/esm2022/snack-bar/snack-bar.mjs +4 -4
  281. package/esm2022/sort/sort-header-intl.mjs +4 -4
  282. package/esm2022/sort/sort-header.mjs +4 -4
  283. package/esm2022/sort/sort-module.mjs +5 -5
  284. package/esm2022/sort/sort.mjs +4 -4
  285. package/esm2022/stepper/step-content.mjs +4 -4
  286. package/esm2022/stepper/step-header.mjs +4 -4
  287. package/esm2022/stepper/step-label.mjs +4 -4
  288. package/esm2022/stepper/stepper-button.mjs +7 -7
  289. package/esm2022/stepper/stepper-icon.mjs +4 -4
  290. package/esm2022/stepper/stepper-intl.mjs +4 -4
  291. package/esm2022/stepper/stepper-module.mjs +5 -5
  292. package/esm2022/stepper/stepper.mjs +7 -7
  293. package/esm2022/table/cell.mjs +22 -22
  294. package/esm2022/table/module.mjs +5 -5
  295. package/esm2022/table/row.mjs +22 -22
  296. package/esm2022/table/table.mjs +7 -7
  297. package/esm2022/table/text-column.mjs +4 -4
  298. package/esm2022/tabs/ink-bar.mjs +4 -4
  299. package/esm2022/tabs/module.mjs +5 -5
  300. package/esm2022/tabs/paginated-tab-header.mjs +4 -4
  301. package/esm2022/tabs/tab-body.mjs +7 -7
  302. package/esm2022/tabs/tab-content.mjs +4 -4
  303. package/esm2022/tabs/tab-group.mjs +4 -4
  304. package/esm2022/tabs/tab-header.mjs +4 -4
  305. package/esm2022/tabs/tab-label-wrapper.mjs +4 -4
  306. package/esm2022/tabs/tab-label.mjs +4 -4
  307. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +10 -10
  308. package/esm2022/tabs/tab.mjs +4 -4
  309. package/esm2022/toolbar/toolbar-module.mjs +5 -5
  310. package/esm2022/toolbar/toolbar.mjs +7 -7
  311. package/esm2022/tooltip/module.mjs +5 -5
  312. package/esm2022/tooltip/tooltip.mjs +7 -7
  313. package/esm2022/tree/node.mjs +10 -10
  314. package/esm2022/tree/outlet.mjs +4 -4
  315. package/esm2022/tree/padding.mjs +4 -4
  316. package/esm2022/tree/toggle.mjs +4 -4
  317. package/esm2022/tree/tree-module.mjs +5 -5
  318. package/esm2022/tree/tree.mjs +4 -4
  319. package/fesm2022/autocomplete.mjs +13 -13
  320. package/fesm2022/autocomplete.mjs.map +1 -1
  321. package/fesm2022/badge.mjs +10 -10
  322. package/fesm2022/badge.mjs.map +1 -1
  323. package/fesm2022/bottom-sheet.mjs +10 -10
  324. package/fesm2022/bottom-sheet.mjs.map +1 -1
  325. package/fesm2022/button-toggle.mjs +11 -11
  326. package/fesm2022/button-toggle.mjs.map +1 -1
  327. package/fesm2022/button.mjs +34 -34
  328. package/fesm2022/button.mjs.map +1 -1
  329. package/fesm2022/card.mjs +46 -46
  330. package/fesm2022/card.mjs.map +1 -1
  331. package/fesm2022/checkbox.mjs +14 -14
  332. package/fesm2022/checkbox.mjs.map +1 -1
  333. package/fesm2022/chips.mjs +47 -68
  334. package/fesm2022/chips.mjs.map +1 -1
  335. package/fesm2022/core.mjs +59 -59
  336. package/fesm2022/core.mjs.map +1 -1
  337. package/fesm2022/datepicker.mjs +82 -82
  338. package/fesm2022/datepicker.mjs.map +1 -1
  339. package/fesm2022/dialog.mjs +26 -26
  340. package/fesm2022/dialog.mjs.map +1 -1
  341. package/fesm2022/divider.mjs +7 -7
  342. package/fesm2022/divider.mjs.map +1 -1
  343. package/fesm2022/expansion.mjs +25 -25
  344. package/fesm2022/expansion.mjs.map +1 -1
  345. package/fesm2022/form-field.mjs +34 -34
  346. package/fesm2022/form-field.mjs.map +1 -1
  347. package/fesm2022/grid-list.mjs +22 -22
  348. package/fesm2022/grid-list.mjs.map +1 -1
  349. package/fesm2022/icon/testing.mjs +7 -7
  350. package/fesm2022/icon/testing.mjs.map +1 -1
  351. package/fesm2022/icon.mjs +10 -10
  352. package/fesm2022/icon.mjs.map +1 -1
  353. package/fesm2022/input.mjs +7 -7
  354. package/fesm2022/input.mjs.map +1 -1
  355. package/fesm2022/list.mjs +49 -49
  356. package/fesm2022/list.mjs.map +1 -1
  357. package/fesm2022/menu.mjs +16 -16
  358. package/fesm2022/menu.mjs.map +1 -1
  359. package/fesm2022/paginator.mjs +10 -10
  360. package/fesm2022/paginator.mjs.map +1 -1
  361. package/fesm2022/progress-bar.mjs +7 -7
  362. package/fesm2022/progress-bar.mjs.map +1 -1
  363. package/fesm2022/progress-spinner.mjs +7 -7
  364. package/fesm2022/progress-spinner.mjs.map +1 -1
  365. package/fesm2022/radio.mjs +10 -10
  366. package/fesm2022/radio.mjs.map +1 -1
  367. package/fesm2022/select.mjs +10 -10
  368. package/fesm2022/select.mjs.map +1 -1
  369. package/fesm2022/sidenav.mjs +23 -23
  370. package/fesm2022/sidenav.mjs.map +1 -1
  371. package/fesm2022/slide-toggle.mjs +16 -16
  372. package/fesm2022/slide-toggle.mjs.map +1 -1
  373. package/fesm2022/slider.mjs +16 -16
  374. package/fesm2022/slider.mjs.map +1 -1
  375. package/fesm2022/snack-bar.mjs +22 -22
  376. package/fesm2022/snack-bar.mjs.map +1 -1
  377. package/fesm2022/sort.mjs +13 -13
  378. package/fesm2022/sort.mjs.map +1 -1
  379. package/fesm2022/stepper.mjs +31 -31
  380. package/fesm2022/stepper.mjs.map +1 -1
  381. package/fesm2022/table.mjs +55 -55
  382. package/fesm2022/table.mjs.map +1 -1
  383. package/fesm2022/tabs.mjs +43 -43
  384. package/fesm2022/tabs.mjs.map +1 -1
  385. package/fesm2022/toolbar.mjs +10 -10
  386. package/fesm2022/toolbar.mjs.map +1 -1
  387. package/fesm2022/tooltip.mjs +10 -10
  388. package/fesm2022/tooltip.mjs.map +1 -1
  389. package/fesm2022/tree.mjs +25 -25
  390. package/fesm2022/tree.mjs.map +1 -1
  391. package/form-field/_mdc-text-field-density-overrides.scss +4 -4
  392. package/form-field/_mdc-text-field-structure.scss +6 -6
  393. package/package.json +2 -2
  394. package/prebuilt-themes/azure-blue.css +1 -1
  395. package/prebuilt-themes/cyan-orange.css +1 -1
  396. package/prebuilt-themes/magenta-violet.css +1 -1
  397. package/prebuilt-themes/rose-red.css +1 -1
  398. package/radio/_radio-common.scss +5 -5
  399. package/schematics/ng-add/index.js +1 -1
  400. package/schematics/ng-add/index.mjs +1 -1
  401. package/schematics/ng-generate/m3-theme/index_bundled.js +2 -2
  402. package/schematics/ng-update/index_bundled.js +31 -31
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use '../../../style/elevation';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, elevated-card);
@@ -11,12 +11,12 @@ $prefix: (mdc, elevated-card);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC elevated-card
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $tokens: token-utils.get-mdc-tokens('elevated-card', $systems, $exclude-hardcoded);
14
+ $tokens: token-definition.get-mdc-tokens('elevated-card', $systems, $exclude-hardcoded);
15
15
  $elevation: map.get($tokens, container-elevation);
16
16
 
17
17
  @if ($elevation != null) {
18
18
  $tokens: map.set($tokens, container-elevation, elevation.get-box-shadow($elevation));
19
19
  }
20
20
 
21
- @return token-utils.namespace-tokens($prefix, $tokens, $token-slots);
21
+ @return token-definition.namespace-tokens($prefix, $tokens, $token-slots);
22
22
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use '../../../style/elevation';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, extended-fab);
@@ -11,7 +11,8 @@ $prefix: (mdc, extended-fab);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC extended-fab
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $tokens: token-utils.get-mdc-tokens('extended-fab-primary', $systems, $exclude-hardcoded);
14
+ $tokens:
15
+ token-definition.get-mdc-tokens('extended-fab-primary', $systems, $exclude-hardcoded);
15
16
  $elevation-tokens: (
16
17
  container-elevation,
17
18
  focus-container-elevation,
@@ -30,9 +31,12 @@ $prefix: (mdc, extended-fab);
30
31
  $variant-tokens: (
31
32
  // Color variants
32
33
  primary: (), // Default, no overrides needed.
33
- secondary: token-utils.get-mdc-tokens('extended-fab-secondary', $systems, $exclude-hardcoded),
34
- tertiary: token-utils.get-mdc-tokens('extended-fab-tertiary', $systems, $exclude-hardcoded)
34
+ secondary: token-definition.get-mdc-tokens(
35
+ 'extended-fab-secondary', $systems, $exclude-hardcoded),
36
+ tertiary: token-definition.get-mdc-tokens(
37
+ 'extended-fab-tertiary', $systems, $exclude-hardcoded)
35
38
  );
36
39
 
37
- @return token-utils.namespace-tokens($prefix, ($tokens, $variant-tokens), $token-slots);
40
+ @return token-definition.namespace-tokens(
41
+ $prefix, ($tokens, $variant-tokens), $token-slots);
38
42
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use '../../../style/elevation';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, fab-small);
@@ -11,7 +11,7 @@ $prefix: (mdc, fab-small);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC fab-small
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $tokens: token-utils.get-mdc-tokens('fab-primary-small', $systems, $exclude-hardcoded);
14
+ $tokens: token-definition.get-mdc-tokens('fab-primary-small', $systems, $exclude-hardcoded);
15
15
  $elevation-tokens: (
16
16
  container-elevation,
17
17
  focus-container-elevation,
@@ -30,9 +30,12 @@ $prefix: (mdc, fab-small);
30
30
  $variant-tokens: (
31
31
  // Color variants
32
32
  primary: (), // Default, no overrides needed.
33
- secondary: token-utils.get-mdc-tokens('fab-secondary-small', $systems, $exclude-hardcoded),
34
- tertiary: token-utils.get-mdc-tokens('fab-tertiary-small', $systems, $exclude-hardcoded)
33
+ secondary: token-definition.get-mdc-tokens(
34
+ 'fab-secondary-small', $systems, $exclude-hardcoded),
35
+ tertiary: token-definition.get-mdc-tokens(
36
+ 'fab-tertiary-small', $systems, $exclude-hardcoded)
35
37
  );
36
38
 
37
- @return token-utils.namespace-tokens($prefix, ($tokens, $variant-tokens), $token-slots);
39
+ @return token-definition.namespace-tokens(
40
+ $prefix, ($tokens, $variant-tokens), $token-slots);
38
41
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use '../../../style/elevation';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, fab);
@@ -11,7 +11,7 @@ $prefix: (mdc, fab);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC fab
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $tokens: token-utils.get-mdc-tokens('fab-primary', $systems, $exclude-hardcoded);
14
+ $tokens: token-definition.get-mdc-tokens('fab-primary', $systems, $exclude-hardcoded);
15
15
  $elevation-tokens: (
16
16
  container-elevation,
17
17
  focus-container-elevation,
@@ -30,9 +30,10 @@ $prefix: (mdc, fab);
30
30
  $variant-tokens: (
31
31
  // Color variants
32
32
  primary: (), // Default, no overrides needed.
33
- secondary: token-utils.get-mdc-tokens('fab-secondary', $systems, $exclude-hardcoded),
34
- tertiary: token-utils.get-mdc-tokens('fab-tertiary', $systems, $exclude-hardcoded)
33
+ secondary: token-definition.get-mdc-tokens('fab-secondary', $systems, $exclude-hardcoded),
34
+ tertiary: token-definition.get-mdc-tokens('fab-tertiary', $systems, $exclude-hardcoded)
35
35
  );
36
36
 
37
- @return token-utils.namespace-tokens($prefix, ($tokens, $variant-tokens), $token-slots);
37
+ @return token-definition.namespace-tokens(
38
+ $prefix, ($tokens, $variant-tokens), $token-slots);
38
39
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use 'sass:meta';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, filled-button);
@@ -11,7 +11,7 @@ $prefix: (mdc, filled-button);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC filled-button
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $mdc-tokens: token-utils.get-mdc-tokens('filled-button', $systems, $exclude-hardcoded);
14
+ $mdc-tokens: token-definition.get-mdc-tokens('filled-button', $systems, $exclude-hardcoded);
15
15
  $variant-tokens: (
16
16
  primary: (), // Default, no overrides needed.
17
17
  secondary: (
@@ -58,9 +58,9 @@ $prefix: (mdc, filled-button);
58
58
  )
59
59
  );
60
60
 
61
- @return token-utils.namespace-tokens($prefix, (
61
+ @return token-definition.namespace-tokens($prefix, (
62
62
  _fix-tokens($mdc-tokens),
63
- token-utils.map-values($variant-tokens, meta.get-function(_fix-tokens))
63
+ token-definition.map-values($variant-tokens, meta.get-function(_fix-tokens))
64
64
  ), $token-slots);
65
65
  }
66
66
 
@@ -71,9 +71,9 @@ $prefix: (mdc, filled-button);
71
71
  @function _fix-tokens($initial-tokens) {
72
72
  // Need to get the hardcoded values, because they include opacities that are used for the disabled
73
73
  // state.
74
- $hardcoded-tokens: token-utils.get-mdc-tokens('filled-button', (), false);
74
+ $hardcoded-tokens: token-definition.get-mdc-tokens('filled-button', (), false);
75
75
 
76
- @return token-utils.combine-color-tokens($initial-tokens, $hardcoded-tokens, (
76
+ @return token-definition.combine-color-tokens($initial-tokens, $hardcoded-tokens, (
77
77
  (
78
78
  color: disabled-label-text-color,
79
79
  opacity: disabled-label-text-opacity,
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
2
  @use 'sass:meta';
3
3
  @use 'sass:list';
4
- @use '../../token-utils';
4
+ @use '../../token-definition';
5
5
 
6
6
  // The prefix used to generate the fully qualified name for tokens in this file.
7
7
  $prefix: (mdc, filled-text-field);
@@ -12,7 +12,8 @@ $prefix: (mdc, filled-text-field);
12
12
  /// @param {Map} $token-slots Possible token slots
13
13
  /// @return {Map} A set of tokens for the MDC filled-text-field
14
14
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
15
- $mdc-tokens: token-utils.get-mdc-tokens('filled-text-field', $systems, $exclude-hardcoded);
15
+ $mdc-tokens: token-definition.get-mdc-tokens(
16
+ 'filled-text-field', $systems, $exclude-hardcoded);
16
17
  $variant-tokens: (
17
18
  primary: (), // Default, no overrides needed
18
19
  secondary: (
@@ -32,9 +33,9 @@ $prefix: (mdc, filled-text-field);
32
33
  ),
33
34
  );
34
35
 
35
- @return token-utils.namespace-tokens($prefix, (
36
+ @return token-definition.namespace-tokens($prefix, (
36
37
  _fix-tokens($mdc-tokens),
37
- token-utils.map-values($variant-tokens, meta.get-function(_fix-tokens))
38
+ token-definition.map-values($variant-tokens, meta.get-function(_fix-tokens))
38
39
  ), $token-slots);
39
40
  }
40
41
 
@@ -46,9 +47,9 @@ $prefix: (mdc, filled-text-field);
46
47
  @function _fix-tokens($initial-tokens) {
47
48
  // Need to get the hardcoded values, because they include opacities that are used for the disabled
48
49
  // state.
49
- $hardcoded-tokens: token-utils.get-mdc-tokens('filled-text-field', (), false);
50
+ $hardcoded-tokens: token-definition.get-mdc-tokens('filled-text-field', (), false);
50
51
 
51
- $tokens: token-utils.combine-color-tokens($initial-tokens, $hardcoded-tokens, (
52
+ $tokens: token-definition.combine-color-tokens($initial-tokens, $hardcoded-tokens, (
52
53
  (
53
54
  color: disabled-active-indicator-color,
54
55
  opacity: disabled-active-indicator-opacity
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use 'sass:meta';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, icon-button);
@@ -11,7 +11,7 @@ $prefix: (mdc, icon-button);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC icon-button
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $tokens: token-utils.get-mdc-tokens('icon-button', $systems, $exclude-hardcoded);
14
+ $tokens: token-definition.get-mdc-tokens('icon-button', $systems, $exclude-hardcoded);
15
15
  $variant-tokens: (
16
16
  primary: (
17
17
  icon-color: map.get($systems, md-sys-color, primary)
@@ -27,9 +27,9 @@ $prefix: (mdc, icon-button);
27
27
  )
28
28
  );
29
29
 
30
- @return token-utils.namespace-tokens($prefix, (
30
+ @return token-definition.namespace-tokens($prefix, (
31
31
  _fix-tokens($tokens),
32
- token-utils.map-values($variant-tokens, meta.get-function(_fix-tokens))
32
+ token-definition.map-values($variant-tokens, meta.get-function(_fix-tokens))
33
33
  ), $token-slots);
34
34
  }
35
35
 
@@ -40,16 +40,18 @@ $prefix: (mdc, icon-button);
40
40
  @function _fix-tokens($tokens) {
41
41
  // Need to get the hardcoded values, because they include opacities that are used for the disabled
42
42
  // state.
43
- $hardcoded-tokens: token-utils.get-mdc-tokens('icon-button', (), false);
43
+ $hardcoded-tokens: token-definition.get-mdc-tokens('icon-button', (), false);
44
44
 
45
45
  $rename-keys: (
46
46
  unselected-icon-color: icon-color,
47
47
  );
48
48
 
49
- $remapped-tokens: token-utils.rename-map-keys($tokens, $rename-keys);
50
- $remapped-hardcoded-tokens: token-utils.rename-map-keys($hardcoded-tokens, $rename-keys);
49
+ $remapped-tokens: token-definition.rename-map-keys($tokens, $rename-keys);
50
+ $remapped-hardcoded-tokens:
51
+ token-definition.rename-map-keys($hardcoded-tokens, $rename-keys);
51
52
 
52
- @return token-utils.combine-color-tokens($remapped-tokens, $remapped-hardcoded-tokens, (
53
+ @return token-definition.combine-color-tokens(
54
+ $remapped-tokens, $remapped-hardcoded-tokens, (
53
55
  (
54
56
  color: disabled-icon-color,
55
57
  opacity: disabled-icon-opacity,
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use '../../token-utils';
2
+ @use '../../token-definition';
3
3
 
4
4
  // The prefix used to generate the fully qualified name for tokens in this file.
5
5
  $prefix: (mdc, linear-progress);
@@ -10,8 +10,8 @@ $prefix: (mdc, linear-progress);
10
10
  /// @param {Map} $token-slots Possible token slots
11
11
  /// @return {Map} A set of tokens for the MDC linear-progress
12
12
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
13
- $mdc-tokens:
14
- token-utils.get-mdc-tokens('linear-progress-indicator', $systems, $exclude-hardcoded);
13
+ $mdc-tokens: token-definition.get-mdc-tokens(
14
+ 'linear-progress-indicator', $systems, $exclude-hardcoded);
15
15
  $variant-tokens: (
16
16
  primary: (), // Default, no overrides needed
17
17
  secondary: (
@@ -28,5 +28,6 @@ $prefix: (mdc, linear-progress);
28
28
  ),
29
29
  );
30
30
 
31
- @return token-utils.namespace-tokens($prefix, ($mdc-tokens, $variant-tokens), $token-slots);
31
+ @return token-definition.namespace-tokens(
32
+ $prefix, ($mdc-tokens, $variant-tokens), $token-slots);
32
33
  }
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use '../../token-utils';
2
+ @use '../../token-definition';
3
3
 
4
4
  // The prefix used to generate the fully qualified name for tokens in this file.
5
5
  $prefix: (mdc, list);
@@ -10,9 +10,9 @@ $prefix: (mdc, list);
10
10
  /// @param {Map} $token-slots Possible token slots
11
11
  /// @return {Map} A set of tokens for the MDC list
12
12
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
13
- $mdc-tokens: token-utils.get-mdc-tokens('list', $systems, $exclude-hardcoded);
13
+ $mdc-tokens: token-definition.get-mdc-tokens('list', $systems, $exclude-hardcoded);
14
14
 
15
- @return token-utils.namespace-tokens($prefix, _fix-tokens($mdc-tokens), $token-slots);
15
+ @return token-definition.namespace-tokens($prefix, _fix-tokens($mdc-tokens), $token-slots);
16
16
  }
17
17
 
18
18
  /// Fixes values in the list tokens that are inconsistent with its usage.
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use 'sass:meta';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, outlined-button);
@@ -11,7 +11,8 @@ $prefix: (mdc, outlined-button);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC outlined-button
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $mdc-tokens: token-utils.get-mdc-tokens('outlined-button', $systems, $exclude-hardcoded);
14
+ $mdc-tokens: token-definition.get-mdc-tokens(
15
+ 'outlined-button', $systems, $exclude-hardcoded);
15
16
  $variant-tokens: (
16
17
  primary: (), // Default, no overrides needed.
17
18
  secondary: (
@@ -58,9 +59,9 @@ $prefix: (mdc, outlined-button);
58
59
  )
59
60
  );
60
61
 
61
- @return token-utils.namespace-tokens($prefix, (
62
+ @return token-definition.namespace-tokens($prefix, (
62
63
  _fix-tokens($mdc-tokens),
63
- token-utils.map-values($variant-tokens, meta.get-function(_fix-tokens))
64
+ token-definition.map-values($variant-tokens, meta.get-function(_fix-tokens))
64
65
  ), $token-slots);
65
66
  }
66
67
 
@@ -68,9 +69,9 @@ $prefix: (mdc, outlined-button);
68
69
  /// @param {Map} $initial-tokens Map of outlined button tokens currently being generated.
69
70
  /// @return {Map} The given tokens, with the invalid values replaced with valid ones.
70
71
  @function _fix-tokens($initial-tokens) {
71
- $hardcoded-tokens: token-utils.get-mdc-tokens('outlined-button', (), false);
72
+ $hardcoded-tokens: token-definition.get-mdc-tokens('outlined-button', (), false);
72
73
 
73
- @return token-utils.combine-color-tokens($initial-tokens, $hardcoded-tokens, (
74
+ @return token-definition.combine-color-tokens($initial-tokens, $hardcoded-tokens, (
74
75
  (
75
76
  color: disabled-label-text-color,
76
77
  opacity: disabled-label-text-opacity,
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use '../../../style/elevation';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, outlined-card);
@@ -11,12 +11,12 @@ $prefix: (mdc, outlined-card);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC outlined-card
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $tokens: token-utils.get-mdc-tokens('outlined-card', $systems, $exclude-hardcoded);
14
+ $tokens: token-definition.get-mdc-tokens('outlined-card', $systems, $exclude-hardcoded);
15
15
  $elevation: map.get($tokens, container-elevation);
16
16
 
17
17
  @if ($elevation != null) {
18
18
  $tokens: map.set($tokens, container-elevation, elevation.get-box-shadow($elevation));
19
19
  }
20
20
 
21
- @return token-utils.namespace-tokens($prefix, $tokens, $token-slots);
21
+ @return token-definition.namespace-tokens($prefix, $tokens, $token-slots);
22
22
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use 'sass:meta';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, outlined-text-field);
@@ -11,7 +11,8 @@ $prefix: (mdc, outlined-text-field);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC outlined-text-field
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $mdc-tokens: token-utils.get-mdc-tokens('outlined-text-field', $systems, $exclude-hardcoded);
14
+ $mdc-tokens: token-definition.get-mdc-tokens(
15
+ 'outlined-text-field', $systems, $exclude-hardcoded);
15
16
  $variant-tokens: (
16
17
  primary: (), // Default, no overrides needed
17
18
  secondary: (
@@ -31,9 +32,9 @@ $prefix: (mdc, outlined-text-field);
31
32
  ),
32
33
  );
33
34
 
34
- @return token-utils.namespace-tokens($prefix, (
35
+ @return token-definition.namespace-tokens($prefix, (
35
36
  _fix-tokens($mdc-tokens),
36
- token-utils.map-values($variant-tokens, meta.get-function(_fix-tokens))
37
+ token-definition.map-values($variant-tokens, meta.get-function(_fix-tokens))
37
38
  ), $token-slots);
38
39
  }
39
40
 
@@ -46,9 +47,9 @@ $prefix: (mdc, outlined-text-field);
46
47
  @function _fix-tokens($initial-tokens) {
47
48
  // Need to get the hardcoded values, because they include opacities that are used for the disabled
48
49
  // state.
49
- $hardcoded-tokens: token-utils.get-mdc-tokens('outlined-text-field', (), false);
50
+ $hardcoded-tokens: token-definition.get-mdc-tokens('outlined-text-field', (), false);
50
51
 
51
- @return token-utils.combine-color-tokens($initial-tokens, $hardcoded-tokens, (
52
+ @return token-definition.combine-color-tokens($initial-tokens, $hardcoded-tokens, (
52
53
  (
53
54
  color: disabled-outline-color,
54
55
  opacity: disabled-outline-opacity
@@ -1,4 +1,4 @@
1
- @use '../../token-utils';
1
+ @use '../../token-definition';
2
2
 
3
3
  // The prefix used to generate the fully qualified name for tokens in this file.
4
4
  $prefix: (mdc, plain-tooltip);
@@ -9,7 +9,7 @@ $prefix: (mdc, plain-tooltip);
9
9
  /// @param {Map} $token-slots Possible token slots
10
10
  /// @return {Map} A set of tokens for the MDC plain-tooltip
11
11
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
12
- $mdc-tokens: token-utils.get-mdc-tokens('plain-tooltip', $systems, $exclude-hardcoded);
12
+ $mdc-tokens: token-definition.get-mdc-tokens('plain-tooltip', $systems, $exclude-hardcoded);
13
13
 
14
- @return token-utils.namespace-tokens($prefix, $mdc-tokens, $token-slots);
14
+ @return token-definition.namespace-tokens($prefix, $mdc-tokens, $token-slots);
15
15
  }
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
2
  @use 'sass:meta';
3
3
  @use '../../../style/elevation';
4
- @use '../../token-utils';
4
+ @use '../../token-definition';
5
5
 
6
6
  // The prefix used to generate the fully qualified name for tokens in this file.
7
7
  $prefix: (mdc, protected-button);
@@ -13,7 +13,7 @@ $prefix: (mdc, protected-button);
13
13
  /// @return {Map} A set of tokens for the MDC protected-button
14
14
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
15
15
  // Note: in M3 the "protected" button is called "elevated".
16
- $tokens: token-utils.get-mdc-tokens('elevated-button', $systems, $exclude-hardcoded);
16
+ $tokens: token-definition.get-mdc-tokens('elevated-button', $systems, $exclude-hardcoded);
17
17
  $variant-tokens: (
18
18
  primary: (), // Default, no overrides needed.
19
19
  secondary: (
@@ -57,9 +57,9 @@ $prefix: (mdc, protected-button);
57
57
  )
58
58
  );
59
59
 
60
- @return token-utils.namespace-tokens($prefix, (
60
+ @return token-definition.namespace-tokens($prefix, (
61
61
  _fix-tokens($tokens),
62
- token-utils.map-values($variant-tokens, meta.get-function(_fix-tokens)),
62
+ token-definition.map-values($variant-tokens, meta.get-function(_fix-tokens)),
63
63
  ), $token-slots);
64
64
  }
65
65
 
@@ -70,7 +70,7 @@ $prefix: (mdc, protected-button);
70
70
  @function _fix-tokens($initial-tokens) {
71
71
  // Need to get the hardcoded values, because they include
72
72
  // opacities that are used for the disabled state.
73
- $hardcoded-tokens: token-utils.get-mdc-tokens('elevated-button', (), false);
73
+ $hardcoded-tokens: token-definition.get-mdc-tokens('elevated-button', (), false);
74
74
  $tokens: $initial-tokens;
75
75
  $elevation-tokens: (
76
76
  container-elevation,
@@ -88,7 +88,7 @@ $prefix: (mdc, protected-button);
88
88
  }
89
89
  }
90
90
 
91
- @return token-utils.combine-color-tokens($tokens, $hardcoded-tokens, (
91
+ @return token-definition.combine-color-tokens($tokens, $hardcoded-tokens, (
92
92
  (
93
93
  color: disabled-label-text-color,
94
94
  opacity: disabled-label-text-opacity,
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use '../../token-utils';
2
+ @use '../../token-definition';
3
3
 
4
4
  // The prefix used to generate the fully qualified name for tokens in this file.
5
5
  $prefix: (mdc, radio);
@@ -10,7 +10,7 @@ $prefix: (mdc, radio);
10
10
  /// @param {Map} $token-slots Possible token slots
11
11
  /// @return {Map} A set of tokens for the MDC radio
12
12
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
13
- $mdc-tokens: token-utils.get-mdc-tokens('radio-button', $systems, $exclude-hardcoded);
13
+ $mdc-tokens: token-definition.get-mdc-tokens('radio-button', $systems, $exclude-hardcoded);
14
14
  $variant-tokens: (
15
15
  primary: (), // Default, no overrides needed
16
16
  secondary: (
@@ -42,5 +42,6 @@ $prefix: (mdc, radio);
42
42
  ),
43
43
  );
44
44
 
45
- @return token-utils.namespace-tokens($prefix, ($mdc-tokens, $variant-tokens), $token-slots);
45
+ @return token-definition.namespace-tokens(
46
+ $prefix, ($mdc-tokens, $variant-tokens), $token-slots);
46
47
  }
@@ -1,4 +1,4 @@
1
- @use '../../token-utils';
1
+ @use '../../token-definition';
2
2
 
3
3
  // The prefix used to generate the fully qualified name for tokens in this file.
4
4
  $prefix: (mdc, secondary-navigation-tab);
@@ -9,7 +9,8 @@ $prefix: (mdc, secondary-navigation-tab);
9
9
  /// @param {Map} $token-slots Possible token slots
10
10
  /// @return {Map} A set of tokens for the MDC tab
11
11
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
12
- $mdc-tokens: token-utils.get-mdc-tokens('secondary-navigation-tab', $systems, $exclude-hardcoded);
12
+ $mdc-tokens: token-definition.get-mdc-tokens(
13
+ 'secondary-navigation-tab', $systems, $exclude-hardcoded);
13
14
 
14
- @return token-utils.namespace-tokens($prefix, $mdc-tokens, $token-slots);
15
+ @return token-definition.namespace-tokens($prefix, $mdc-tokens, $token-slots);
15
16
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use '../../../style/elevation';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, slider);
@@ -11,7 +11,7 @@ $prefix: (mdc, slider);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC slider
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $tokens: token-utils.get-mdc-tokens('slider', $systems, $exclude-hardcoded);
14
+ $tokens: token-definition.get-mdc-tokens('slider', $systems, $exclude-hardcoded);
15
15
  $handle-elevation: map.get($tokens, 'handle-elevation');
16
16
 
17
17
  @if ($handle-elevation != null) {
@@ -64,5 +64,6 @@ $prefix: (mdc, slider);
64
64
  ),
65
65
  );
66
66
 
67
- @return token-utils.namespace-tokens($prefix, ($tokens, $variant-tokens), $token-slots);
67
+ @return token-definition.namespace-tokens(
68
+ $prefix, ($tokens, $variant-tokens), $token-slots);
68
69
  }
@@ -1,4 +1,4 @@
1
- @use '../../token-utils';
1
+ @use '../../token-definition';
2
2
 
3
3
  // The prefix used to generate the fully qualified name for tokens in this file.
4
4
  $prefix: (mdc, snackbar);
@@ -9,7 +9,7 @@ $prefix: (mdc, snackbar);
9
9
  /// @param {Map} $token-slots Possible token slots
10
10
  /// @return {Map} A set of tokens for the MDC snackbar
11
11
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
12
- $mdc-tokens: token-utils.get-mdc-tokens('snackbar', $systems, $exclude-hardcoded);
12
+ $mdc-tokens: token-definition.get-mdc-tokens('snackbar', $systems, $exclude-hardcoded);
13
13
 
14
- @return token-utils.namespace-tokens($prefix, $mdc-tokens, $token-slots);
14
+ @return token-definition.namespace-tokens($prefix, $mdc-tokens, $token-slots);
15
15
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use '../../../style/elevation';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, switch);
@@ -11,7 +11,7 @@ $prefix: (mdc, switch);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC switch
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $tokens: token-utils.get-mdc-tokens('switch', $systems, $exclude-hardcoded);
14
+ $tokens: token-definition.get-mdc-tokens('switch', $systems, $exclude-hardcoded);
15
15
  $elevation-tokens: (handle-elevation, disabled-handle-elevation);
16
16
 
17
17
  @each $token in $elevation-tokens {
@@ -77,5 +77,6 @@ $prefix: (mdc, switch);
77
77
  ),
78
78
  );
79
79
 
80
- @return token-utils.namespace-tokens($prefix, ($tokens, $variant-tokens), $token-slots);
80
+ @return token-definition.namespace-tokens(
81
+ $prefix, ($tokens, $variant-tokens), $token-slots);
81
82
  }
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @use '../../token-utils';
2
+ @use '../../token-definition';
3
3
 
4
4
  // The prefix used to generate the fully qualified name for tokens in this file.
5
5
  $prefix: (mdc, tab-indicator);
@@ -11,8 +11,8 @@ $prefix: (mdc, tab-indicator);
11
11
  /// @return {Map} A set of tokens for the MDC tab-indicator
12
12
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
13
13
  $tokens: (
14
- active-indicator-height: token-utils.hardcode(2px, $exclude-hardcoded),
15
- active-indicator-shape: token-utils.hardcode(0, $exclude-hardcoded),
14
+ active-indicator-height: token-definition.hardcode(2px, $exclude-hardcoded),
15
+ active-indicator-shape: token-definition.hardcode(0, $exclude-hardcoded),
16
16
  active-indicator-color: map.get($systems, md-sys-color, primary),
17
17
  );
18
18
  $variant-tokens: (
@@ -29,5 +29,6 @@ $prefix: (mdc, tab-indicator);
29
29
  )
30
30
  );
31
31
 
32
- @return token-utils.namespace-tokens($prefix, ($tokens, $variant-tokens), $token-slots);
32
+ @return token-definition.namespace-tokens(
33
+ $prefix, ($tokens, $variant-tokens), $token-slots);
33
34
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:map';
2
2
  @use 'sass:meta';
3
- @use '../../token-utils';
3
+ @use '../../token-definition';
4
4
 
5
5
  // The prefix used to generate the fully qualified name for tokens in this file.
6
6
  $prefix: (mdc, text-button);
@@ -11,7 +11,7 @@ $prefix: (mdc, text-button);
11
11
  /// @param {Map} $token-slots Possible token slots
12
12
  /// @return {Map} A set of tokens for the MDC text-button
13
13
  @function get-tokens($systems, $exclude-hardcoded, $token-slots) {
14
- $mdc-tokens: token-utils.get-mdc-tokens('text-button', $systems, $exclude-hardcoded);
14
+ $mdc-tokens: token-definition.get-mdc-tokens('text-button', $systems, $exclude-hardcoded);
15
15
  $variant-tokens: (
16
16
  primary: (), // Default, no overrides needed.
17
17
  secondary: (
@@ -55,9 +55,9 @@ $prefix: (mdc, text-button);
55
55
  )
56
56
  );
57
57
 
58
- @return token-utils.namespace-tokens($prefix, (
58
+ @return token-definition.namespace-tokens($prefix, (
59
59
  _fix-tokens($mdc-tokens),
60
- token-utils.map-values($variant-tokens, meta.get-function(_fix-tokens))
60
+ token-definition.map-values($variant-tokens, meta.get-function(_fix-tokens))
61
61
  ), $token-slots);
62
62
  }
63
63
 
@@ -68,9 +68,9 @@ $prefix: (mdc, text-button);
68
68
  @function _fix-tokens($initial-tokens) {
69
69
  // Need to get the hardcoded values, because they include opacities that are used for the disabled
70
70
  // state.
71
- $hardcoded-tokens: token-utils.get-mdc-tokens('text-button', (), false);
71
+ $hardcoded-tokens: token-definition.get-mdc-tokens('text-button', (), false);
72
72
 
73
- @return token-utils.combine-color-tokens($initial-tokens, $hardcoded-tokens, (
73
+ @return token-definition.combine-color-tokens($initial-tokens, $hardcoded-tokens, (
74
74
  (
75
75
  color: disabled-label-text-color,
76
76
  opacity: disabled-label-text-opacity,