@angular/material 18.1.0-next.3 → 18.1.0-next.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 (257) hide show
  1. package/button/_button-base.scss +3 -1
  2. package/button/index.d.ts +2 -0
  3. package/button-toggle/index.d.ts +2 -2
  4. package/chips/index.d.ts +1 -2
  5. package/core/style/_vendor-prefixes.scss +5 -0
  6. package/core/tokens/_density.scss +1 -1
  7. package/core/tokens/m2/_index.scss +2 -2
  8. package/core/tokens/m2/mdc/{_tab.scss → _secondary-navigation-tab.scss} +1 -1
  9. package/core/tokens/m3/_index.scss +2 -2
  10. package/core/tokens/m3/mdc/{_tab.scss → _secondary-navigation-tab.scss} +1 -1
  11. package/esm2022/autocomplete/autocomplete-origin.mjs +3 -3
  12. package/esm2022/autocomplete/autocomplete-trigger.mjs +4 -5
  13. package/esm2022/autocomplete/autocomplete.mjs +3 -3
  14. package/esm2022/autocomplete/module.mjs +4 -4
  15. package/esm2022/badge/badge-module.mjs +4 -4
  16. package/esm2022/badge/badge.mjs +6 -6
  17. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +3 -3
  18. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +4 -4
  19. package/esm2022/bottom-sheet/bottom-sheet.mjs +3 -3
  20. package/esm2022/button/button-base.mjs +8 -7
  21. package/esm2022/button/button.mjs +8 -8
  22. package/esm2022/button/fab.mjs +16 -16
  23. package/esm2022/button/icon-button.mjs +8 -8
  24. package/esm2022/button/module.mjs +4 -4
  25. package/esm2022/button-toggle/button-toggle-module.mjs +4 -4
  26. package/esm2022/button-toggle/button-toggle.mjs +36 -27
  27. package/esm2022/card/card.mjs +42 -42
  28. package/esm2022/card/module.mjs +4 -4
  29. package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
  30. package/esm2022/checkbox/checkbox.mjs +3 -3
  31. package/esm2022/checkbox/module.mjs +8 -8
  32. package/esm2022/chips/chip-action.mjs +3 -3
  33. package/esm2022/chips/chip-edit-input.mjs +3 -3
  34. package/esm2022/chips/chip-grid.mjs +4 -11
  35. package/esm2022/chips/chip-icons.mjs +9 -9
  36. package/esm2022/chips/chip-input.mjs +3 -3
  37. package/esm2022/chips/chip-listbox.mjs +3 -3
  38. package/esm2022/chips/chip-option.mjs +3 -3
  39. package/esm2022/chips/chip-row.mjs +3 -3
  40. package/esm2022/chips/chip-set.mjs +3 -3
  41. package/esm2022/chips/chip.mjs +3 -3
  42. package/esm2022/chips/module.mjs +4 -4
  43. package/esm2022/core/common-behaviors/common-module.mjs +4 -4
  44. package/esm2022/core/datetime/index.mjs +8 -8
  45. package/esm2022/core/datetime/native-date-adapter.mjs +3 -3
  46. package/esm2022/core/error/error-options.mjs +6 -6
  47. package/esm2022/core/internal-form-field/internal-form-field.mjs +3 -3
  48. package/esm2022/core/line/line.mjs +7 -7
  49. package/esm2022/core/option/index.mjs +4 -4
  50. package/esm2022/core/option/optgroup.mjs +3 -3
  51. package/esm2022/core/option/option.mjs +3 -3
  52. package/esm2022/core/private/ripple-loader.mjs +3 -3
  53. package/esm2022/core/ripple/index.mjs +4 -4
  54. package/esm2022/core/ripple/ripple.mjs +3 -3
  55. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +4 -4
  56. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  57. package/esm2022/core/version.mjs +1 -1
  58. package/esm2022/datepicker/calendar-body.mjs +3 -3
  59. package/esm2022/datepicker/calendar.mjs +12 -9
  60. package/esm2022/datepicker/date-range-input-parts.mjs +9 -9
  61. package/esm2022/datepicker/date-range-input.mjs +3 -3
  62. package/esm2022/datepicker/date-range-picker.mjs +3 -3
  63. package/esm2022/datepicker/date-range-selection-strategy.mjs +3 -3
  64. package/esm2022/datepicker/date-selection-model.mjs +9 -9
  65. package/esm2022/datepicker/datepicker-actions.mjs +9 -9
  66. package/esm2022/datepicker/datepicker-base.mjs +6 -6
  67. package/esm2022/datepicker/datepicker-input-base.mjs +3 -3
  68. package/esm2022/datepicker/datepicker-input.mjs +3 -3
  69. package/esm2022/datepicker/datepicker-intl.mjs +3 -3
  70. package/esm2022/datepicker/datepicker-module.mjs +4 -4
  71. package/esm2022/datepicker/datepicker-toggle.mjs +6 -6
  72. package/esm2022/datepicker/datepicker.mjs +3 -3
  73. package/esm2022/datepicker/month-view.mjs +3 -3
  74. package/esm2022/datepicker/multi-year-view.mjs +3 -3
  75. package/esm2022/datepicker/year-view.mjs +3 -3
  76. package/esm2022/dialog/dialog-container.mjs +3 -3
  77. package/esm2022/dialog/dialog-content-directives.mjs +15 -15
  78. package/esm2022/dialog/dialog.mjs +3 -3
  79. package/esm2022/dialog/module.mjs +4 -4
  80. package/esm2022/divider/divider-module.mjs +4 -4
  81. package/esm2022/divider/divider.mjs +3 -3
  82. package/esm2022/expansion/accordion.mjs +3 -3
  83. package/esm2022/expansion/expansion-module.mjs +4 -4
  84. package/esm2022/expansion/expansion-panel-content.mjs +3 -3
  85. package/esm2022/expansion/expansion-panel-header.mjs +9 -9
  86. package/esm2022/expansion/expansion-panel.mjs +6 -6
  87. package/esm2022/form-field/directives/error.mjs +3 -3
  88. package/esm2022/form-field/directives/floating-label.mjs +3 -3
  89. package/esm2022/form-field/directives/hint.mjs +3 -3
  90. package/esm2022/form-field/directives/label.mjs +3 -3
  91. package/esm2022/form-field/directives/line-ripple.mjs +3 -3
  92. package/esm2022/form-field/directives/notched-outline.mjs +3 -3
  93. package/esm2022/form-field/directives/prefix.mjs +3 -3
  94. package/esm2022/form-field/directives/suffix.mjs +3 -3
  95. package/esm2022/form-field/form-field-control.mjs +3 -3
  96. package/esm2022/form-field/form-field.mjs +3 -3
  97. package/esm2022/form-field/module.mjs +4 -4
  98. package/esm2022/grid-list/grid-list-module.mjs +4 -4
  99. package/esm2022/grid-list/grid-list.mjs +3 -3
  100. package/esm2022/grid-list/grid-tile.mjs +15 -15
  101. package/esm2022/icon/icon-module.mjs +4 -4
  102. package/esm2022/icon/icon-registry.mjs +3 -3
  103. package/esm2022/icon/icon.mjs +3 -3
  104. package/esm2022/icon/testing/fake-icon-registry.mjs +7 -7
  105. package/esm2022/input/input.mjs +3 -3
  106. package/esm2022/input/module.mjs +4 -4
  107. package/esm2022/list/action-list.mjs +3 -3
  108. package/esm2022/list/list-base.mjs +6 -6
  109. package/esm2022/list/list-item-sections.mjs +18 -18
  110. package/esm2022/list/list-module.mjs +4 -4
  111. package/esm2022/list/list-option.mjs +11 -5
  112. package/esm2022/list/list.mjs +6 -6
  113. package/esm2022/list/nav-list.mjs +3 -3
  114. package/esm2022/list/selection-list.mjs +8 -6
  115. package/esm2022/list/subheader.mjs +3 -3
  116. package/esm2022/menu/menu-content.mjs +3 -3
  117. package/esm2022/menu/menu-item.mjs +3 -3
  118. package/esm2022/menu/menu-trigger.mjs +3 -3
  119. package/esm2022/menu/menu.mjs +3 -3
  120. package/esm2022/menu/module.mjs +4 -4
  121. package/esm2022/paginator/module.mjs +4 -4
  122. package/esm2022/paginator/paginator-intl.mjs +3 -3
  123. package/esm2022/paginator/paginator.mjs +3 -3
  124. package/esm2022/progress-bar/module.mjs +4 -4
  125. package/esm2022/progress-bar/progress-bar.mjs +12 -6
  126. package/esm2022/progress-spinner/module.mjs +4 -4
  127. package/esm2022/progress-spinner/progress-spinner.mjs +11 -5
  128. package/esm2022/radio/module.mjs +4 -4
  129. package/esm2022/radio/radio.mjs +16 -11
  130. package/esm2022/select/module.mjs +4 -4
  131. package/esm2022/select/select.mjs +6 -6
  132. package/esm2022/sidenav/drawer.mjs +13 -10
  133. package/esm2022/sidenav/sidenav-module.mjs +4 -4
  134. package/esm2022/sidenav/sidenav.mjs +9 -9
  135. package/esm2022/slide-toggle/module.mjs +8 -8
  136. package/esm2022/slide-toggle/slide-toggle-config.mjs +1 -1
  137. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +3 -3
  138. package/esm2022/slide-toggle/slide-toggle.mjs +3 -3
  139. package/esm2022/slider/module.mjs +4 -4
  140. package/esm2022/slider/slider-input.mjs +6 -6
  141. package/esm2022/slider/slider-thumb.mjs +3 -3
  142. package/esm2022/slider/slider.mjs +4 -4
  143. package/esm2022/snack-bar/module.mjs +4 -4
  144. package/esm2022/snack-bar/simple-snack-bar.mjs +3 -3
  145. package/esm2022/snack-bar/snack-bar-container.mjs +3 -3
  146. package/esm2022/snack-bar/snack-bar-content.mjs +9 -9
  147. package/esm2022/snack-bar/snack-bar.mjs +3 -3
  148. package/esm2022/sort/sort-header-intl.mjs +3 -3
  149. package/esm2022/sort/sort-header.mjs +3 -3
  150. package/esm2022/sort/sort-module.mjs +4 -4
  151. package/esm2022/sort/sort.mjs +3 -3
  152. package/esm2022/stepper/step-content.mjs +3 -3
  153. package/esm2022/stepper/step-header.mjs +3 -3
  154. package/esm2022/stepper/step-label.mjs +3 -3
  155. package/esm2022/stepper/stepper-button.mjs +6 -6
  156. package/esm2022/stepper/stepper-icon.mjs +3 -3
  157. package/esm2022/stepper/stepper-intl.mjs +3 -3
  158. package/esm2022/stepper/stepper-module.mjs +4 -4
  159. package/esm2022/stepper/stepper.mjs +6 -6
  160. package/esm2022/table/cell.mjs +21 -21
  161. package/esm2022/table/module.mjs +4 -4
  162. package/esm2022/table/row.mjs +21 -21
  163. package/esm2022/table/table.mjs +6 -6
  164. package/esm2022/table/text-column.mjs +3 -3
  165. package/esm2022/tabs/ink-bar.mjs +3 -3
  166. package/esm2022/tabs/module.mjs +4 -4
  167. package/esm2022/tabs/paginated-tab-header.mjs +3 -3
  168. package/esm2022/tabs/tab-body.mjs +11 -18
  169. package/esm2022/tabs/tab-content.mjs +3 -3
  170. package/esm2022/tabs/tab-group.mjs +12 -7
  171. package/esm2022/tabs/tab-header.mjs +5 -5
  172. package/esm2022/tabs/tab-label-wrapper.mjs +3 -3
  173. package/esm2022/tabs/tab-label.mjs +3 -3
  174. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +19 -13
  175. package/esm2022/tabs/tab.mjs +3 -3
  176. package/esm2022/toolbar/toolbar-module.mjs +4 -4
  177. package/esm2022/toolbar/toolbar.mjs +6 -6
  178. package/esm2022/tooltip/module.mjs +4 -4
  179. package/esm2022/tooltip/tooltip.mjs +8 -8
  180. package/esm2022/tree/node.mjs +9 -9
  181. package/esm2022/tree/outlet.mjs +3 -3
  182. package/esm2022/tree/padding.mjs +3 -3
  183. package/esm2022/tree/toggle.mjs +3 -3
  184. package/esm2022/tree/tree-module.mjs +4 -4
  185. package/esm2022/tree/tree.mjs +3 -3
  186. package/fesm2022/autocomplete.mjs +13 -14
  187. package/fesm2022/autocomplete.mjs.map +1 -1
  188. package/fesm2022/badge.mjs +10 -10
  189. package/fesm2022/bottom-sheet.mjs +10 -10
  190. package/fesm2022/button-toggle.mjs +39 -30
  191. package/fesm2022/button-toggle.mjs.map +1 -1
  192. package/fesm2022/button.mjs +43 -42
  193. package/fesm2022/button.mjs.map +1 -1
  194. package/fesm2022/card.mjs +46 -46
  195. package/fesm2022/checkbox.mjs +14 -14
  196. package/fesm2022/chips.mjs +40 -47
  197. package/fesm2022/chips.mjs.map +1 -1
  198. package/fesm2022/core.mjs +59 -59
  199. package/fesm2022/core.mjs.map +1 -1
  200. package/fesm2022/datepicker.mjs +87 -84
  201. package/fesm2022/datepicker.mjs.map +1 -1
  202. package/fesm2022/dialog.mjs +25 -25
  203. package/fesm2022/divider.mjs +7 -7
  204. package/fesm2022/expansion.mjs +25 -25
  205. package/fesm2022/form-field.mjs +34 -34
  206. package/fesm2022/grid-list.mjs +22 -22
  207. package/fesm2022/icon/testing.mjs +7 -7
  208. package/fesm2022/icon.mjs +10 -10
  209. package/fesm2022/input.mjs +7 -7
  210. package/fesm2022/list.mjs +59 -51
  211. package/fesm2022/list.mjs.map +1 -1
  212. package/fesm2022/menu.mjs +16 -16
  213. package/fesm2022/paginator.mjs +10 -10
  214. package/fesm2022/progress-bar.mjs +15 -9
  215. package/fesm2022/progress-bar.mjs.map +1 -1
  216. package/fesm2022/progress-spinner.mjs +14 -8
  217. package/fesm2022/progress-spinner.mjs.map +1 -1
  218. package/fesm2022/radio.mjs +19 -14
  219. package/fesm2022/radio.mjs.map +1 -1
  220. package/fesm2022/select.mjs +10 -10
  221. package/fesm2022/sidenav.mjs +26 -23
  222. package/fesm2022/sidenav.mjs.map +1 -1
  223. package/fesm2022/slide-toggle.mjs +14 -14
  224. package/fesm2022/slide-toggle.mjs.map +1 -1
  225. package/fesm2022/slider.mjs +16 -16
  226. package/fesm2022/slider.mjs.map +1 -1
  227. package/fesm2022/snack-bar.mjs +22 -22
  228. package/fesm2022/sort.mjs +13 -13
  229. package/fesm2022/stepper.mjs +31 -31
  230. package/fesm2022/table.mjs +55 -55
  231. package/fesm2022/tabs.mjs +62 -51
  232. package/fesm2022/tabs.mjs.map +1 -1
  233. package/fesm2022/toolbar.mjs +10 -10
  234. package/fesm2022/tooltip.mjs +11 -11
  235. package/fesm2022/tooltip.mjs.map +1 -1
  236. package/fesm2022/tree.mjs +25 -25
  237. package/list/index.d.ts +8 -1
  238. package/package.json +2 -2
  239. package/prebuilt-themes/deeppurple-amber.css +1 -1
  240. package/prebuilt-themes/indigo-pink.css +1 -1
  241. package/prebuilt-themes/pink-bluegrey.css +1 -1
  242. package/prebuilt-themes/purple-green.css +1 -1
  243. package/progress-bar/_progress-bar-theme.scss +10 -7
  244. package/progress-bar/index.d.ts +14 -2
  245. package/progress-spinner/index.d.ts +14 -2
  246. package/radio/index.d.ts +14 -1
  247. package/schematics/ng-add/index.js +1 -1
  248. package/schematics/ng-add/index.mjs +1 -1
  249. package/schematics/ng-generate/m3-theme/index_bundled.js +2 -2
  250. package/schematics/ng-update/index_bundled.js +31 -31
  251. package/sidenav/index.d.ts +1 -0
  252. package/slide-toggle/index.d.ts +7 -1
  253. package/slider/index.d.ts +7 -1
  254. package/tabs/_tabs-common.scss +94 -36
  255. package/tabs/_tabs-theme.scss +33 -25
  256. package/tabs/index.d.ts +20 -3
  257. package/tooltip/_tooltip-theme.scss +18 -16
@@ -605,9 +605,9 @@ var require_tslib = __commonJS({
605
605
  }
606
606
  });
607
607
 
608
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
608
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
609
609
  var require_attribute_selectors = __commonJS({
610
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
610
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
611
611
  "use strict";
612
612
  Object.defineProperty(exports, "__esModule", { value: true });
613
613
  exports.attributeSelectors = void 0;
@@ -615,9 +615,9 @@ var require_attribute_selectors = __commonJS({
615
615
  }
616
616
  });
617
617
 
618
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
618
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
619
619
  var require_class_names = __commonJS({
620
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
620
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
621
621
  "use strict";
622
622
  Object.defineProperty(exports, "__esModule", { value: true });
623
623
  exports.classNames = void 0;
@@ -625,9 +625,9 @@ var require_class_names = __commonJS({
625
625
  }
626
626
  });
627
627
 
628
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
628
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
629
629
  var require_constructor_checks = __commonJS({
630
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
630
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
631
631
  "use strict";
632
632
  Object.defineProperty(exports, "__esModule", { value: true });
633
633
  exports.constructorChecks = void 0;
@@ -635,9 +635,9 @@ var require_constructor_checks = __commonJS({
635
635
  }
636
636
  });
637
637
 
638
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
638
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
639
639
  var require_css_selectors = __commonJS({
640
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
640
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
641
641
  "use strict";
642
642
  Object.defineProperty(exports, "__esModule", { value: true });
643
643
  exports.cssSelectors = void 0;
@@ -645,9 +645,9 @@ var require_css_selectors = __commonJS({
645
645
  }
646
646
  });
647
647
 
648
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js
648
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js
649
649
  var require_css_tokens = __commonJS({
650
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js"(exports) {
650
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-tokens.js"(exports) {
651
651
  "use strict";
652
652
  Object.defineProperty(exports, "__esModule", { value: true });
653
653
  exports.cssTokens = void 0;
@@ -688,9 +688,9 @@ var require_css_tokens = __commonJS({
688
688
  }
689
689
  });
690
690
 
691
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
691
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
692
692
  var require_element_selectors = __commonJS({
693
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
693
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
694
694
  "use strict";
695
695
  Object.defineProperty(exports, "__esModule", { value: true });
696
696
  exports.elementSelectors = void 0;
@@ -698,9 +698,9 @@ var require_element_selectors = __commonJS({
698
698
  }
699
699
  });
700
700
 
701
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
701
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
702
702
  var require_input_names = __commonJS({
703
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
703
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
704
704
  "use strict";
705
705
  Object.defineProperty(exports, "__esModule", { value: true });
706
706
  exports.inputNames = void 0;
@@ -708,9 +708,9 @@ var require_input_names = __commonJS({
708
708
  }
709
709
  });
710
710
 
711
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
711
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
712
712
  var require_method_call_checks = __commonJS({
713
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
713
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
714
714
  "use strict";
715
715
  Object.defineProperty(exports, "__esModule", { value: true });
716
716
  exports.methodCallChecks = void 0;
@@ -718,9 +718,9 @@ var require_method_call_checks = __commonJS({
718
718
  }
719
719
  });
720
720
 
721
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
721
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
722
722
  var require_output_names = __commonJS({
723
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
723
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
724
724
  "use strict";
725
725
  Object.defineProperty(exports, "__esModule", { value: true });
726
726
  exports.outputNames = void 0;
@@ -728,9 +728,9 @@ var require_output_names = __commonJS({
728
728
  }
729
729
  });
730
730
 
731
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
731
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
732
732
  var require_property_names = __commonJS({
733
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
733
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
734
734
  "use strict";
735
735
  Object.defineProperty(exports, "__esModule", { value: true });
736
736
  exports.propertyNames = void 0;
@@ -738,9 +738,9 @@ var require_property_names = __commonJS({
738
738
  }
739
739
  });
740
740
 
741
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
741
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
742
742
  var require_symbol_removal = __commonJS({
743
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
743
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
744
744
  "use strict";
745
745
  Object.defineProperty(exports, "__esModule", { value: true });
746
746
  exports.symbolRemoval = void 0;
@@ -748,9 +748,9 @@ var require_symbol_removal = __commonJS({
748
748
  }
749
749
  });
750
750
 
751
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
751
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/index.js
752
752
  var require_data = __commonJS({
753
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
753
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
754
754
  "use strict";
755
755
  Object.defineProperty(exports, "__esModule", { value: true });
756
756
  var tslib_1 = require_tslib();
@@ -768,9 +768,9 @@ var require_data = __commonJS({
768
768
  }
769
769
  });
770
770
 
771
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
771
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
772
772
  var require_upgrade_data = __commonJS({
773
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
773
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
774
774
  "use strict";
775
775
  Object.defineProperty(exports, "__esModule", { value: true });
776
776
  exports.materialUpgradeData = void 0;
@@ -791,9 +791,9 @@ var require_upgrade_data = __commonJS({
791
791
  }
792
792
  });
793
793
 
794
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/migration.js
794
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/migration.js
795
795
  var require_migration = __commonJS({
796
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/migration.js"(exports) {
796
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/migration.js"(exports) {
797
797
  "use strict";
798
798
  Object.defineProperty(exports, "__esModule", { value: true });
799
799
  exports.migrateM2ThemingApiUsages = migrateM2ThemingApiUsages;
@@ -968,9 +968,9 @@ var require_migration = __commonJS({
968
968
  }
969
969
  });
970
970
 
971
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/index.js
971
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/index.js
972
972
  var require_m2_theming_v18 = __commonJS({
973
- "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/index.js"(exports) {
973
+ "bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/migrations/m2-theming-v18/index.js"(exports) {
974
974
  "use strict";
975
975
  Object.defineProperty(exports, "__esModule", { value: true });
976
976
  exports.M2ThemingMigration = void 0;
@@ -1002,7 +1002,7 @@ var require_m2_theming_v18 = __commonJS({
1002
1002
  }
1003
1003
  });
1004
1004
 
1005
- // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/index.mjs
1005
+ // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/index.mjs
1006
1006
  var ng_update_exports = {};
1007
1007
  __export(ng_update_exports, {
1008
1008
  updateToV18: () => updateToV18
@@ -145,6 +145,7 @@ export declare class MatDrawer implements AfterViewInit, AfterContentChecked, On
145
145
  */
146
146
  readonly _modeChanged: Subject<void>;
147
147
  private _injector;
148
+ private _changeDetectorRef;
148
149
  constructor(_elementRef: ElementRef<HTMLElement>, _focusTrapFactory: FocusTrapFactory, _focusMonitor: FocusMonitor, _platform: Platform, _ngZone: NgZone, _interactivityChecker: InteractivityChecker, _doc: any, _container?: MatDrawerContainer | undefined);
149
150
  /**
150
151
  * Focuses the provided element. If the element is not focusable, it will add a tabIndex
@@ -170,7 +170,13 @@ export declare class MatSlideToggleChange {
170
170
  export declare interface MatSlideToggleDefaultOptions {
171
171
  /** Whether toggle action triggers value changes in slide toggle. */
172
172
  disableToggleValue?: boolean;
173
- /** Default color for slide toggles. */
173
+ /**
174
+ * Default theme color of the slide toggle. This API is supported in M2 themes only,
175
+ * it has no effect in M3 themes.
176
+ *
177
+ * For information on applying color variants in M3, see
178
+ * https://material.angular.io/guide/theming#using-component-color-variants.
179
+ */
174
180
  color?: ThemePalette;
175
181
  /** Whether to hide the icon inside the slide toggle. */
176
182
  hideIcon?: boolean;
package/slider/index.d.ts CHANGED
@@ -80,7 +80,13 @@ export declare class MatSlider implements AfterViewInit, OnDestroy, _MatSlider {
80
80
  get min(): number;
81
81
  set min(v: number);
82
82
  private _min;
83
- /** Palette color of the slider. */
83
+ /**
84
+ * Theme color of the slider. This API is supported in M2 themes only, it
85
+ * has no effect in M3 themes.
86
+ *
87
+ * For information on applying color variants in M3, see
88
+ * https://material.angular.io/guide/theming#using-component-color-variants.
89
+ */
84
90
  color: ThemePalette;
85
91
  /** Whether ripples are disabled in the slider. */
86
92
  disableRipple: boolean;
@@ -1,29 +1,86 @@
1
- @use '@material/ripple' as mdc-ripple;
2
- @use '@material/tab' as mdc-tab;
3
- @use '@material/tab-indicator' as mdc-tab-indicator;
4
- @use '@material/tab-indicator/tab-indicator-theme' as mdc-tab-indicator-theme;
5
- @use '@material/tab/tab-theme' as mdc-tab-theme;
6
- @use '@material/theme/custom-properties' as mdc-custom-properties;
7
- @use '../core/mdc-helpers/mdc-helpers';
8
1
  @use '../core/style/vendor-prefixes';
9
2
  @use '../core/tokens/m2/mdc/tab-indicator' as tokens-mdc-tab-indicator;
10
- @use '../core/tokens/m2/mdc/tab' as tokens-mdc-tab;
3
+ @use '../core/tokens/m2/mdc/secondary-navigation-tab' as tokens-mdc-secondary-navigation-tab;
11
4
  @use '../core/tokens/m2/mat/tab-header' as tokens-mat-tab-header;
12
5
  @use '../core/tokens/m2/mat/tab-header-with-background' as tokens-mat-tab-header-with-background;
13
6
  @use '../core/tokens/token-utils';
14
- @use 'sass:map';
15
7
 
16
8
 
17
9
  $mat-tab-animation-duration: 500ms !default;
18
10
 
19
11
  // Combines the various structural styles we need for the tab group and tab nav bar.
20
12
  @mixin structural-styles {
21
- @include mdc-custom-properties.configure(
22
- $emit-fallback-values: false,
23
- $emit-fallback-vars: false
24
- ) {
25
- @include mdc-tab.static-styles($query: mdc-helpers.$mdc-base-styles-query);
26
- @include mdc-tab-indicator.static-styles($query: mdc-helpers.$mdc-base-styles-query);
13
+ .mdc-tab {
14
+ min-width: 90px;
15
+ padding: 0 24px;
16
+ display: flex;
17
+ flex: 1 0 auto;
18
+ justify-content: center;
19
+ box-sizing: border-box;
20
+ border: none;
21
+ outline: none;
22
+ text-align: center;
23
+ white-space: nowrap;
24
+ cursor: pointer;
25
+ z-index: 1;
26
+ }
27
+
28
+ .mdc-tab__content {
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: center;
32
+ height: inherit;
33
+ pointer-events: none;
34
+ }
35
+
36
+ .mdc-tab__text-label {
37
+ transition: 150ms color linear;
38
+ display: inline-block;
39
+ line-height: 1;
40
+ z-index: 2;
41
+ }
42
+
43
+ .mdc-tab--active .mdc-tab__text-label {
44
+ transition-delay: 100ms;
45
+ }
46
+
47
+ ._mat-animation-noopable .mdc-tab__text-label {
48
+ transition: none;
49
+ }
50
+
51
+ .mdc-tab-indicator {
52
+ display: flex;
53
+ position: absolute;
54
+ top: 0;
55
+ left: 0;
56
+ justify-content: center;
57
+ width: 100%;
58
+ height: 100%;
59
+ pointer-events: none;
60
+ z-index: 1;
61
+ }
62
+
63
+ .mdc-tab-indicator__content {
64
+ transition: var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);
65
+ transform-origin: left;
66
+ opacity: 0;
67
+ }
68
+
69
+ .mdc-tab-indicator__content--underline {
70
+ align-self: flex-end;
71
+ box-sizing: border-box;
72
+ width: 100%;
73
+ border-top-style: solid;
74
+ }
75
+
76
+ .mdc-tab-indicator--active .mdc-tab-indicator__content {
77
+ opacity: 1;
78
+ }
79
+
80
+ ._mat-animation-noopable, .mdc-tab-indicator--no-transition {
81
+ .mdc-tab-indicator__content {
82
+ transition: none;
83
+ }
27
84
  }
28
85
 
29
86
  .mat-mdc-tab-ripple {
@@ -37,14 +94,6 @@ $mat-tab-animation-duration: 500ms !default;
37
94
  }
38
95
 
39
96
  @mixin tab {
40
- @include mdc-custom-properties.configure(
41
- $emit-fallback-values: false,
42
- $emit-fallback-vars: false
43
- ) {
44
- @include mdc-tab-indicator-theme.theme-styles(tokens-mdc-tab-indicator.get-token-slots());
45
- @include mdc-tab-theme.secondary-navigation-tab-theme-styles(tokens-mdc-tab.get-token-slots());
46
- }
47
-
48
97
  -webkit-tap-highlight-color: transparent;
49
98
  -webkit-font-smoothing: antialiased;
50
99
  -moz-osx-font-smoothing: grayscale;
@@ -53,6 +102,13 @@ $mat-tab-animation-duration: 500ms !default;
53
102
  // Tabs might be `button` elements so we have to reset the user agent styling.
54
103
  background: none;
55
104
 
105
+ @include token-utils.use-tokens(
106
+ tokens-mdc-secondary-navigation-tab.$prefix,
107
+ tokens-mdc-secondary-navigation-tab.get-token-slots()
108
+ ) {
109
+ @include token-utils.create-token-slot(height, container-height);
110
+ }
111
+
56
112
  &.mdc-tab {
57
113
  // MDC's tabs stretch to fit the header by default, whereas stretching on our current ones
58
114
  // is an opt-in behavior. Also technically we don't need to combine the two classes, but
@@ -60,6 +116,17 @@ $mat-tab-animation-duration: 500ms !default;
60
116
  flex-grow: 0;
61
117
  }
62
118
 
119
+ .mdc-tab-indicator__content--underline {
120
+ @include token-utils.use-tokens(
121
+ tokens-mdc-tab-indicator.$prefix,
122
+ tokens-mdc-tab-indicator.get-token-slots()
123
+ ) {
124
+ @include token-utils.create-token-slot(border-color, active-indicator-color);
125
+ @include token-utils.create-token-slot(border-top-width, active-indicator-height);
126
+ @include token-utils.create-token-slot(border-radius, active-indicator-shape);
127
+ }
128
+ }
129
+
63
130
  @include token-utils.use-tokens(
64
131
  tokens-mat-tab-header.$prefix,
65
132
  tokens-mat-tab-header.get-token-slots()
@@ -185,18 +252,18 @@ $mat-tab-animation-duration: 500ms !default;
185
252
 
186
253
  // We need to handle the hover and focus indication ourselves, because we don't use MDC's ripple.
187
254
  &:hover .mdc-tab__ripple::before {
188
- opacity: map.get(mdc-ripple.$dark-ink-opacities, hover);
255
+ opacity: 0.04;
189
256
  }
190
257
 
191
258
  &.cdk-program-focused,
192
259
  &.cdk-keyboard-focused {
193
260
  .mdc-tab__ripple::before {
194
- opacity: map.get(mdc-ripple.$dark-ink-opacities, focus);
261
+ opacity: 0.12;
195
262
  }
196
263
  }
197
264
 
198
265
  .mat-ripple-element {
199
- opacity: map.get(mdc-ripple.$dark-ink-opacities, press);
266
+ opacity: 0.12;
200
267
 
201
268
  @include token-utils.use-tokens(
202
269
  tokens-mat-tab-header.$prefix,
@@ -243,7 +310,7 @@ $mat-tab-animation-duration: 500ms !default;
243
310
  }
244
311
 
245
312
  .mat-ripple-element {
246
- opacity: map.get(mdc-ripple.$dark-ink-opacities, press);
313
+ opacity: 0.12;
247
314
 
248
315
  @include token-utils.use-tokens(
249
316
  tokens-mat-tab-header.$prefix,
@@ -309,15 +376,6 @@ $mat-tab-animation-duration: 500ms !default;
309
376
  transition: none;
310
377
  }
311
378
  }
312
-
313
- // The `span` is in the selector in order to increase the specificity, ensuring
314
- // that it's always higher than the selector that declares the transition.
315
- ._mat-animation-noopable {
316
- span.mdc-tab-indicator__content,
317
- span.mdc-tab__text-label {
318
- transition: none;
319
- }
320
- }
321
379
  }
322
380
 
323
381
  // Structural styles for the element that wraps the paginated header items.
@@ -1,7 +1,5 @@
1
- @use '@material/tab-indicator/tab-indicator-theme' as mdc-tab-indicator-theme;
2
- @use '@material/tab/tab-theme' as mdc-tab-theme;
3
1
  @use '../core/style/sass-utils';
4
- @use '../core/tokens/m2/mdc/tab' as tokens-mdc-tab;
2
+ @use '../core/tokens/m2/mdc/secondary-navigation-tab' as tokens-mdc-secondary-navigation-tab;
5
3
  @use '../core/tokens/m2/mdc/tab-indicator' as tokens-mdc-tab-indicator;
6
4
  @use '../core/tokens/m2/mat/tab-header' as tokens-mat-tab-header;
7
5
  @use '../core/tokens/m2/mat/tab-header-with-background' as tokens-mat-tab-header-with-background;
@@ -20,14 +18,16 @@
20
18
  }
21
19
  @else {
22
20
  @include sass-utils.current-selector-or-root() {
23
- @include mdc-tab-indicator-theme.theme(tokens-mdc-tab-indicator.get-unthemable-tokens());
24
- @include mdc-tab-theme.secondary-navigation-tab-theme(tokens-mdc-tab.get-unthemable-tokens());
25
21
  @include token-utils.create-token-values(
26
- tokens-mat-tab-header.$prefix, tokens-mat-tab-header.get-unthemable-tokens());
22
+ tokens-mdc-secondary-navigation-tab.$prefix,
23
+ tokens-mdc-secondary-navigation-tab.get-unthemable-tokens());
27
24
  @include token-utils.create-token-values(
28
- tokens-mat-tab-header-with-background.$prefix,
29
- tokens-mat-tab-header-with-background.get-unthemable-tokens()
30
- );
25
+ tokens-mdc-tab-indicator.$prefix, tokens-mdc-tab-indicator.get-unthemable-tokens());
26
+ @include token-utils.create-token-values(
27
+ tokens-mat-tab-header.$prefix, tokens-mat-tab-header.get-unthemable-tokens());
28
+ @include token-utils.create-token-values(
29
+ tokens-mat-tab-header-with-background.$prefix,
30
+ tokens-mat-tab-header-with-background.get-unthemable-tokens());
31
31
  }
32
32
  }
33
33
  }
@@ -74,9 +74,12 @@
74
74
  }
75
75
 
76
76
  @mixin _palette-styles($theme, $palette-name) {
77
- @include mdc-tab-theme.secondary-navigation-tab-theme(
78
- tokens-mdc-tab.get-color-tokens($theme, $palette-name));
79
- @include mdc-tab-indicator-theme.theme(
77
+ @include token-utils.create-token-values(
78
+ tokens-mdc-secondary-navigation-tab.$prefix,
79
+ tokens-mdc-secondary-navigation-tab.get-color-tokens($theme, $palette-name)
80
+ );
81
+ @include token-utils.create-token-values(
82
+ tokens-mdc-tab-indicator.$prefix,
80
83
  tokens-mdc-tab-indicator.get-color-tokens($theme, $palette-name));
81
84
  @include token-utils.create-token-values(tokens-mat-tab-header.$prefix,
82
85
  tokens-mat-tab-header.get-color-tokens($theme, $palette-name));
@@ -90,10 +93,11 @@
90
93
  }
91
94
  @else {
92
95
  .mat-mdc-tab-header {
93
- @include mdc-tab-theme.secondary-navigation-tab-theme(
94
- tokens-mdc-tab.get-typography-tokens($theme));
95
- @include mdc-tab-indicator-theme.theme(
96
- tokens-mdc-tab-indicator.get-typography-tokens($theme));
96
+ @include token-utils.create-token-values(
97
+ tokens-mdc-secondary-navigation-tab.$prefix,
98
+ tokens-mdc-secondary-navigation-tab.get-typography-tokens($theme));
99
+ @include token-utils.create-token-values(
100
+ tokens-mdc-tab-indicator.$prefix, tokens-mdc-tab-indicator.get-typography-tokens($theme));
97
101
  @include token-utils.create-token-values(tokens-mat-tab-header.$prefix,
98
102
  tokens-mat-tab-header.get-typography-tokens($theme));
99
103
  @include token-utils.create-token-values(tokens-mat-tab-header-with-background.$prefix,
@@ -110,10 +114,11 @@
110
114
  }
111
115
  @else {
112
116
  .mat-mdc-tab-header {
113
- @include mdc-tab-theme.secondary-navigation-tab-theme(
114
- tokens-mdc-tab.get-density-tokens($theme));
115
- @include mdc-tab-indicator-theme.theme(
116
- tokens-mdc-tab-indicator.get-density-tokens($theme));
117
+ @include token-utils.create-token-values(
118
+ tokens-mdc-secondary-navigation-tab.$prefix,
119
+ tokens-mdc-secondary-navigation-tab.get-density-tokens($theme));
120
+ @include token-utils.create-token-values(
121
+ tokens-mdc-tab-indicator.$prefix, tokens-mdc-tab-indicator.get-density-tokens($theme));
117
122
  @include token-utils.create-token-values(tokens-mat-tab-header.$prefix,
118
123
  tokens-mat-tab-header.get-density-tokens($theme));
119
124
  @include token-utils.create-token-values(tokens-mat-tab-header-with-background.$prefix,
@@ -125,14 +130,14 @@
125
130
  /// Outputs the CSS variable values for the given tokens.
126
131
  /// @param {Map} $tokens The token values to emit.
127
132
  @mixin overrides($tokens: ()) {
128
- $tab-tokens: tokens-mdc-tab.get-token-slots();
133
+ $tab-tokens: tokens-mdc-secondary-navigation-tab.get-token-slots();
129
134
  $tab-indicator-tokens: tokens-mdc-tab-indicator.get-token-slots();
130
135
  $tab-header-tokens: tokens-mat-tab-header.get-token-slots();
131
136
  $tab-header-with-background-tokens: tokens-mat-tab-header-with-background.get-token-slots();
132
137
 
133
138
  @include token-utils.batch-create-token-values(
134
139
  $tokens,
135
- (prefix: tokens-mdc-tab.$prefix, tokens: $tab-tokens),
140
+ (prefix: tokens-mdc-secondary-navigation-tab.$prefix, tokens: $tab-tokens),
136
141
  (prefix: tokens-mdc-tab-indicator.$prefix, tokens: $tab-indicator-tokens),
137
142
  (prefix: tokens-mat-tab-header.$prefix, tokens: $tab-header-tokens),
138
143
  (
@@ -176,8 +181,11 @@
176
181
  $tokens, tokens-mat-tab-header.$prefix, $options...);
177
182
  // Don't pass $options here, because the mdc-tab doesn't have color variants,
178
183
  // only the mdc-tab-indicator and mat-tab-header do.
179
- $mdc-tab-tokens: token-utils.get-tokens-for($tokens, tokens-mdc-tab.$prefix);
180
- @include mdc-tab-theme.secondary-navigation-tab-theme($mdc-tab-tokens);
181
- @include mdc-tab-indicator-theme.theme($mdc-tab-indicator-tokens);
184
+ $mdc-secondary-navigation-tab-tokens:
185
+ token-utils.get-tokens-for($tokens, tokens-mdc-secondary-navigation-tab.$prefix);
186
+ @include token-utils.create-token-values(tokens-mdc-secondary-navigation-tab.$prefix,
187
+ $mdc-secondary-navigation-tab-tokens);
188
+ @include token-utils.create-token-values(tokens-mdc-tab-indicator.$prefix,
189
+ $mdc-tab-indicator-tokens);
182
190
  @include token-utils.create-token-values(tokens-mat-tab-header.$prefix, $mat-tab-header-tokens);
183
191
  }
package/tabs/index.d.ts CHANGED
@@ -563,7 +563,13 @@ export declare class MatTabGroup implements AfterContentInit, AfterContentChecke
563
563
  private _tabsSubscription;
564
564
  /** Subscription to changes in the tab labels. */
565
565
  private _tabLabelSubscription;
566
- /** Theme color of the tab group. */
566
+ /**
567
+ * Theme color of the tab group. This API is supported in M2 themes only, it
568
+ * has no effect in M3 themes.
569
+ *
570
+ * For information on applying color variants in M3, see
571
+ * https://material.angular.io/guide/theming#using-component-color-variants.
572
+ */
567
573
  color: ThemePalette;
568
574
  /** Whether the ink bar should fit its width to the size of the tab label content. */
569
575
  get fitInkBarToContent(): boolean;
@@ -606,7 +612,12 @@ export declare class MatTabGroup implements AfterContentInit, AfterContentChecke
606
612
  */
607
613
  preserveContent: boolean;
608
614
  /**
609
- * Background color of the tab group.
615
+ * Theme color of the background of the tab group. This API is supported in M2 themes only, it
616
+ * has no effect in M3 themes.
617
+ *
618
+ * For information on applying color variants in M3, see
619
+ * https://material.angular.io/guide/theming#using-component-color-variants.
620
+ *
610
621
  * @deprecated The background color should be customized through Sass theming APIs.
611
622
  * @breaking-change 20.0.0 Remove this input
612
623
  */
@@ -821,7 +832,13 @@ export declare class MatTabNav extends MatPaginatedTabHeader implements AfterCon
821
832
  private _animationDuration;
822
833
  /** Query list of all tab links of the tab navigation. */
823
834
  _items: QueryList<MatTabLink>;
824
- /** Background color of the tab nav. */
835
+ /**
836
+ * Theme color of the background of the tab nav. This API is supported in M2 themes only, it
837
+ * has no effect in M3 themes.
838
+ *
839
+ * For information on applying color variants in M3, see
840
+ * https://material.angular.io/guide/theming#using-component-color-variants.
841
+ */
825
842
  get backgroundColor(): ThemePalette;
826
843
  set backgroundColor(value: ThemePalette);
827
844
  private _backgroundColor;
@@ -1,5 +1,3 @@
1
- @use 'sass:map';
2
- @use '@material/tooltip/plain-tooltip-theme' as mdc-plain-tooltip-theme;
3
1
  @use '../core/style/sass-utils';
4
2
  @use '../core/theming/theming';
5
3
  @use '../core/theming/inspection';
@@ -15,7 +13,10 @@
15
13
  @else {
16
14
  // Add default values for tokens not related to color, typography, or density.
17
15
  @include sass-utils.current-selector-or-root() {
18
- @include mdc-plain-tooltip-theme.theme(tokens-mdc-plain-tooltip.get-unthemable-tokens());
16
+ @include token-utils.create-token-values(
17
+ tokens-mdc-plain-tooltip.$prefix,
18
+ tokens-mdc-plain-tooltip.get-unthemable-tokens()
19
+ );
19
20
  }
20
21
  }
21
22
  }
@@ -25,11 +26,11 @@
25
26
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
26
27
  }
27
28
  @else {
28
- $mdc-tooltip-color-tokens: tokens-mdc-plain-tooltip.get-color-tokens($theme);
29
-
30
- // Add values for MDC tooltip tokens.
31
29
  @include sass-utils.current-selector-or-root() {
32
- @include mdc-plain-tooltip-theme.theme($mdc-tooltip-color-tokens);
30
+ @include token-utils.create-token-values(
31
+ tokens-mdc-plain-tooltip.$prefix,
32
+ tokens-mdc-plain-tooltip.get-color-tokens($theme)
33
+ );
33
34
  }
34
35
  }
35
36
  }
@@ -39,11 +40,11 @@
39
40
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
40
41
  }
41
42
  @else {
42
- $mdc-tooltip-typography-tokens: tokens-mdc-plain-tooltip.get-typography-tokens($theme);
43
-
44
- // Add values for MDC tooltip tokens.
45
43
  @include sass-utils.current-selector-or-root() {
46
- @include mdc-plain-tooltip-theme.theme($mdc-tooltip-typography-tokens);
44
+ @include token-utils.create-token-values(
45
+ tokens-mdc-plain-tooltip.$prefix,
46
+ tokens-mdc-plain-tooltip.get-typography-tokens($theme)
47
+ );
47
48
  }
48
49
  }
49
50
  }
@@ -53,11 +54,11 @@
53
54
  @include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
54
55
  }
55
56
  @else {
56
- $mdc-tooltip-density-tokens: tokens-mdc-plain-tooltip.get-density-tokens($theme);
57
-
58
- // Add values for MDC tooltip tokens.
59
57
  @include sass-utils.current-selector-or-root() {
60
- @include mdc-plain-tooltip-theme.theme($mdc-tooltip-density-tokens);
58
+ @include token-utils.create-token-values(
59
+ tokens-mdc-plain-tooltip.$prefix,
60
+ tokens-mdc-plain-tooltip.get-density-tokens($theme)
61
+ );
61
62
  }
62
63
  }
63
64
  }
@@ -93,6 +94,7 @@
93
94
  @include validation.selector-defined(
94
95
  'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector');
95
96
  @if $tokens != () {
96
- @include mdc-plain-tooltip-theme.theme(map.get($tokens, tokens-mdc-plain-tooltip.$prefix));
97
+ $tokens: token-utils.get-tokens-for($tokens, tokens-mdc-plain-tooltip.$prefix);
98
+ @include token-utils.create-token-values(tokens-mdc-plain-tooltip.$prefix, $tokens);
97
99
  }
98
100
  }