@angular/material-experimental 13.1.0-next.3 → 13.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/LICENSE +1 -1
  2. package/column-resize/_column-resize-theme.scss +51 -15
  3. package/column-resize/overlay-handle.d.ts +1 -0
  4. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
  5. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +3 -3
  6. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +3 -3
  7. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +3 -3
  8. package/esm2020/column-resize/column-resize-module.mjs +12 -12
  9. package/esm2020/column-resize/overlay-handle.mjs +13 -8
  10. package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +3 -3
  11. package/esm2020/column-resize/resizable-directives/resizable.mjs +3 -3
  12. package/esm2020/column-resize/resize-strategy.mjs +3 -3
  13. package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +3 -3
  14. package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +3 -3
  15. package/esm2020/mdc-autocomplete/autocomplete.mjs +3 -3
  16. package/esm2020/mdc-autocomplete/module.mjs +4 -4
  17. package/esm2020/mdc-button/button-base.mjs +14 -7
  18. package/esm2020/mdc-button/button.mjs +8 -8
  19. package/esm2020/mdc-button/fab.mjs +18 -18
  20. package/esm2020/mdc-button/icon-button.mjs +6 -6
  21. package/esm2020/mdc-button/module.mjs +4 -4
  22. package/esm2020/mdc-card/card.mjs +43 -43
  23. package/esm2020/mdc-card/module.mjs +4 -4
  24. package/esm2020/mdc-checkbox/checkbox.mjs +5 -5
  25. package/esm2020/mdc-checkbox/module.mjs +4 -4
  26. package/esm2020/mdc-chips/chip-edit-input.mjs +3 -3
  27. package/esm2020/mdc-chips/chip-grid.mjs +4 -6
  28. package/esm2020/mdc-chips/chip-icons.mjs +17 -10
  29. package/esm2020/mdc-chips/chip-input.mjs +4 -4
  30. package/esm2020/mdc-chips/chip-listbox.mjs +4 -4
  31. package/esm2020/mdc-chips/chip-option.mjs +4 -4
  32. package/esm2020/mdc-chips/chip-row.mjs +5 -5
  33. package/esm2020/mdc-chips/chip-set.mjs +4 -4
  34. package/esm2020/mdc-chips/chip.mjs +8 -8
  35. package/esm2020/mdc-chips/module.mjs +4 -4
  36. package/esm2020/mdc-core/option/index.mjs +4 -4
  37. package/esm2020/mdc-core/option/optgroup.mjs +3 -3
  38. package/esm2020/mdc-core/option/option.mjs +3 -3
  39. package/esm2020/mdc-dialog/dialog-container.mjs +4 -4
  40. package/esm2020/mdc-dialog/dialog-content-directives.mjs +12 -12
  41. package/esm2020/mdc-dialog/dialog.mjs +3 -3
  42. package/esm2020/mdc-dialog/module.mjs +4 -4
  43. package/esm2020/mdc-form-field/directives/error.mjs +3 -3
  44. package/esm2020/mdc-form-field/directives/floating-label.mjs +3 -3
  45. package/esm2020/mdc-form-field/directives/hint.mjs +3 -3
  46. package/esm2020/mdc-form-field/directives/label.mjs +3 -3
  47. package/esm2020/mdc-form-field/directives/line-ripple.mjs +3 -3
  48. package/esm2020/mdc-form-field/directives/notched-outline.mjs +3 -3
  49. package/esm2020/mdc-form-field/directives/prefix.mjs +3 -3
  50. package/esm2020/mdc-form-field/directives/suffix.mjs +3 -3
  51. package/esm2020/mdc-form-field/form-field.mjs +4 -4
  52. package/esm2020/mdc-form-field/module.mjs +4 -4
  53. package/esm2020/mdc-input/input.mjs +3 -3
  54. package/esm2020/mdc-input/module.mjs +4 -4
  55. package/esm2020/mdc-list/action-list.mjs +4 -4
  56. package/esm2020/mdc-list/interactive-list-base.mjs +12 -10
  57. package/esm2020/mdc-list/list-base.mjs +7 -7
  58. package/esm2020/mdc-list/list-option.mjs +6 -6
  59. package/esm2020/mdc-list/list-styling.mjs +12 -12
  60. package/esm2020/mdc-list/list.mjs +7 -7
  61. package/esm2020/mdc-list/module.mjs +4 -4
  62. package/esm2020/mdc-list/nav-list.mjs +4 -4
  63. package/esm2020/mdc-list/selection-list.mjs +6 -6
  64. package/esm2020/mdc-menu/directives.mjs +6 -6
  65. package/esm2020/mdc-menu/menu-item.mjs +3 -3
  66. package/esm2020/mdc-menu/menu.mjs +3 -3
  67. package/esm2020/mdc-menu/module.mjs +4 -4
  68. package/esm2020/mdc-paginator/module.mjs +4 -4
  69. package/esm2020/mdc-paginator/paginator.mjs +3 -3
  70. package/esm2020/mdc-progress-bar/module.mjs +4 -4
  71. package/esm2020/mdc-progress-bar/progress-bar.mjs +4 -4
  72. package/esm2020/mdc-progress-spinner/module.mjs +4 -4
  73. package/esm2020/mdc-progress-spinner/progress-spinner.mjs +4 -4
  74. package/esm2020/mdc-radio/module.mjs +4 -4
  75. package/esm2020/mdc-radio/radio.mjs +7 -7
  76. package/esm2020/mdc-select/module.mjs +4 -4
  77. package/esm2020/mdc-select/select.mjs +8 -8
  78. package/esm2020/mdc-sidenav/module.mjs +4 -4
  79. package/esm2020/mdc-slide-toggle/module.mjs +4 -4
  80. package/esm2020/mdc-slide-toggle/slide-toggle.mjs +5 -5
  81. package/esm2020/mdc-slider/global-change-and-input-listener.mjs +3 -3
  82. package/esm2020/mdc-slider/module.mjs +4 -4
  83. package/esm2020/mdc-slider/slider.mjs +44 -26
  84. package/esm2020/mdc-snack-bar/module.mjs +4 -4
  85. package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +3 -3
  86. package/esm2020/mdc-snack-bar/snack-bar-container.mjs +4 -4
  87. package/esm2020/mdc-snack-bar/snack-bar-content.mjs +9 -9
  88. package/esm2020/mdc-snack-bar/snack-bar.mjs +3 -3
  89. package/esm2020/mdc-table/cell.mjs +21 -21
  90. package/esm2020/mdc-table/module.mjs +4 -4
  91. package/esm2020/mdc-table/row.mjs +21 -21
  92. package/esm2020/mdc-table/table.mjs +8 -8
  93. package/esm2020/mdc-table/text-column.mjs +3 -3
  94. package/esm2020/mdc-tabs/module.mjs +4 -4
  95. package/esm2020/mdc-tabs/tab-body.mjs +6 -6
  96. package/esm2020/mdc-tabs/tab-content.mjs +3 -3
  97. package/esm2020/mdc-tabs/tab-group.mjs +6 -6
  98. package/esm2020/mdc-tabs/tab-header.mjs +12 -5
  99. package/esm2020/mdc-tabs/tab-label-wrapper.mjs +4 -4
  100. package/esm2020/mdc-tabs/tab-label.mjs +3 -3
  101. package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +8 -8
  102. package/esm2020/mdc-tabs/tab.mjs +3 -3
  103. package/esm2020/mdc-tooltip/module.mjs +4 -4
  104. package/esm2020/mdc-tooltip/tooltip.mjs +8 -8
  105. package/esm2020/menubar/menubar-item.mjs +3 -3
  106. package/esm2020/menubar/menubar-module.mjs +4 -4
  107. package/esm2020/menubar/menubar.mjs +3 -3
  108. package/esm2020/popover-edit/lens-directives.mjs +9 -9
  109. package/esm2020/popover-edit/popover-edit-module.mjs +4 -4
  110. package/esm2020/popover-edit/table-directives.mjs +12 -12
  111. package/esm2020/selection/row-selection.mjs +3 -3
  112. package/esm2020/selection/select-all.mjs +3 -3
  113. package/esm2020/selection/selection-column.mjs +3 -3
  114. package/esm2020/selection/selection-module.mjs +4 -4
  115. package/esm2020/selection/selection-toggle.mjs +3 -3
  116. package/esm2020/selection/selection.mjs +3 -3
  117. package/esm2020/version.mjs +1 -1
  118. package/fesm2015/column-resize.mjs +45 -40
  119. package/fesm2015/column-resize.mjs.map +1 -1
  120. package/fesm2015/material-experimental.mjs +1 -1
  121. package/fesm2015/material-experimental.mjs.map +1 -1
  122. package/fesm2015/mdc-autocomplete.mjs +13 -13
  123. package/fesm2015/mdc-button.mjs +40 -40
  124. package/fesm2015/mdc-button.mjs.map +1 -1
  125. package/fesm2015/mdc-card.mjs +47 -47
  126. package/fesm2015/mdc-checkbox.mjs +8 -8
  127. package/fesm2015/mdc-checkbox.mjs.map +1 -1
  128. package/fesm2015/mdc-chips.mjs +49 -44
  129. package/fesm2015/mdc-chips.mjs.map +1 -1
  130. package/fesm2015/mdc-core.mjs +10 -10
  131. package/fesm2015/mdc-dialog.mjs +23 -23
  132. package/fesm2015/mdc-form-field.mjs +31 -31
  133. package/fesm2015/mdc-form-field.mjs.map +1 -1
  134. package/fesm2015/mdc-input.mjs +7 -7
  135. package/fesm2015/mdc-list.mjs +58 -56
  136. package/fesm2015/mdc-list.mjs.map +1 -1
  137. package/fesm2015/mdc-menu.mjs +16 -16
  138. package/fesm2015/mdc-paginator.mjs +7 -7
  139. package/fesm2015/mdc-progress-bar.mjs +8 -8
  140. package/fesm2015/mdc-progress-spinner.mjs +7 -7
  141. package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
  142. package/fesm2015/mdc-radio.mjs +11 -11
  143. package/fesm2015/mdc-select.mjs +12 -12
  144. package/fesm2015/mdc-sidenav.mjs +4 -4
  145. package/fesm2015/mdc-slide-toggle.mjs +8 -8
  146. package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
  147. package/fesm2015/mdc-slider.mjs +50 -32
  148. package/fesm2015/mdc-slider.mjs.map +1 -1
  149. package/fesm2015/mdc-snack-bar.mjs +23 -23
  150. package/fesm2015/mdc-table.mjs +57 -57
  151. package/fesm2015/mdc-tabs.mjs +45 -38
  152. package/fesm2015/mdc-tabs.mjs.map +1 -1
  153. package/fesm2015/mdc-tooltip.mjs +11 -11
  154. package/fesm2015/mdc-tooltip.mjs.map +1 -1
  155. package/fesm2015/menubar.mjs +10 -10
  156. package/fesm2015/popover-edit.mjs +25 -25
  157. package/fesm2015/selection.mjs +19 -19
  158. package/fesm2020/column-resize.mjs +45 -40
  159. package/fesm2020/column-resize.mjs.map +1 -1
  160. package/fesm2020/material-experimental.mjs +1 -1
  161. package/fesm2020/material-experimental.mjs.map +1 -1
  162. package/fesm2020/mdc-autocomplete.mjs +13 -13
  163. package/fesm2020/mdc-button.mjs +48 -41
  164. package/fesm2020/mdc-button.mjs.map +1 -1
  165. package/fesm2020/mdc-card.mjs +47 -47
  166. package/fesm2020/mdc-checkbox.mjs +8 -8
  167. package/fesm2020/mdc-checkbox.mjs.map +1 -1
  168. package/fesm2020/mdc-chips.mjs +49 -44
  169. package/fesm2020/mdc-chips.mjs.map +1 -1
  170. package/fesm2020/mdc-core.mjs +10 -10
  171. package/fesm2020/mdc-dialog.mjs +23 -23
  172. package/fesm2020/mdc-form-field.mjs +31 -31
  173. package/fesm2020/mdc-form-field.mjs.map +1 -1
  174. package/fesm2020/mdc-input.mjs +7 -7
  175. package/fesm2020/mdc-list.mjs +58 -56
  176. package/fesm2020/mdc-list.mjs.map +1 -1
  177. package/fesm2020/mdc-menu.mjs +16 -16
  178. package/fesm2020/mdc-paginator.mjs +7 -7
  179. package/fesm2020/mdc-progress-bar.mjs +8 -8
  180. package/fesm2020/mdc-progress-spinner.mjs +7 -7
  181. package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
  182. package/fesm2020/mdc-radio.mjs +11 -11
  183. package/fesm2020/mdc-select.mjs +12 -12
  184. package/fesm2020/mdc-sidenav.mjs +4 -4
  185. package/fesm2020/mdc-slide-toggle.mjs +8 -8
  186. package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
  187. package/fesm2020/mdc-slider.mjs +50 -32
  188. package/fesm2020/mdc-slider.mjs.map +1 -1
  189. package/fesm2020/mdc-snack-bar.mjs +23 -23
  190. package/fesm2020/mdc-table.mjs +57 -57
  191. package/fesm2020/mdc-tabs.mjs +45 -38
  192. package/fesm2020/mdc-tabs.mjs.map +1 -1
  193. package/fesm2020/mdc-tooltip.mjs +11 -11
  194. package/fesm2020/mdc-tooltip.mjs.map +1 -1
  195. package/fesm2020/menubar.mjs +10 -10
  196. package/fesm2020/popover-edit.mjs +25 -25
  197. package/fesm2020/selection.mjs +19 -19
  198. package/mdc-button/button-base.d.ts +0 -3
  199. package/mdc-button/fab.d.ts +5 -7
  200. package/mdc-checkbox/_checkbox-theme.scss +32 -39
  201. package/mdc-checkbox/checkbox.d.ts +4 -9
  202. package/mdc-chips/chip-grid.d.ts +2 -4
  203. package/mdc-chips/chip-icons.d.ts +0 -3
  204. package/mdc-chips/chip-input.d.ts +2 -4
  205. package/mdc-chips/chip-listbox.d.ts +3 -6
  206. package/mdc-chips/chip-option.d.ts +2 -4
  207. package/mdc-chips/chip-row.d.ts +0 -2
  208. package/mdc-chips/chip-set.d.ts +2 -4
  209. package/mdc-chips/chip.d.ts +4 -9
  210. package/mdc-form-field/form-field.d.ts +1 -2
  211. package/mdc-helpers/_focus-indicators.scss +4 -0
  212. package/mdc-list/_list-option-theme.scss +2 -2
  213. package/mdc-list/_list-theme.scss +7 -3
  214. package/mdc-list/list-base.d.ts +3 -7
  215. package/mdc-list/list-option.d.ts +1 -2
  216. package/mdc-list/selection-list.d.ts +1 -2
  217. package/mdc-progress-spinner/progress-spinner.d.ts +3 -6
  218. package/mdc-select/_select-theme.scss +6 -27
  219. package/mdc-slide-toggle/slide-toggle.d.ts +5 -10
  220. package/mdc-slider/slider.d.ts +20 -16
  221. package/mdc-table/_table-theme.scss +1 -1
  222. package/mdc-tabs/_tabs-common.scss +0 -1
  223. package/mdc-tabs/tab-group.d.ts +1 -2
  224. package/mdc-tabs/tab-header.d.ts +0 -2
  225. package/mdc-tabs/tab-label-wrapper.d.ts +1 -2
  226. package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +1 -3
  227. package/mdc-theming/prebuilt/deeppurple-amber.css +1 -0
  228. package/mdc-theming/prebuilt/indigo-pink.css +1 -1
  229. package/mdc-theming/prebuilt/pink-bluegrey.css +1 -0
  230. package/mdc-theming/prebuilt/purple-green.css +1 -0
  231. package/mdc-tooltip/_tooltip-theme.scss +1 -1
  232. package/package.json +17 -3
@@ -30,7 +30,7 @@ export declare abstract class MatListItemBase implements AfterContentInit, OnDes
30
30
  private _disableRipple;
31
31
  /** Whether the list-item is disabled. */
32
32
  get disabled(): boolean;
33
- set disabled(value: boolean);
33
+ set disabled(value: BooleanInput);
34
34
  private _disabled;
35
35
  private _subscriptions;
36
36
  private _rippleRenderer;
@@ -57,8 +57,6 @@ export declare abstract class MatListItemBase implements AfterContentInit, OnDes
57
57
  * appropriately when they change.
58
58
  */
59
59
  private _monitorLines;
60
- static ngAcceptInputType_disabled: BooleanInput;
61
- static ngAcceptInputType_disableRipple: BooleanInput;
62
60
  static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemBase, [null, null, null, null, { optional: true; }, { optional: true; }]>;
63
61
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemBase, never, never, { "disableRipple": "disableRipple"; "disabled": "disabled"; }, {}, ["_avatars", "_icons"]>;
64
62
  }
@@ -66,14 +64,12 @@ export declare abstract class MatListBase {
66
64
  _isNonInteractive: boolean;
67
65
  /** Whether ripples for all list items is disabled. */
68
66
  get disableRipple(): boolean;
69
- set disableRipple(value: boolean);
67
+ set disableRipple(value: BooleanInput);
70
68
  private _disableRipple;
71
69
  /** Whether all list items are disabled. */
72
70
  get disabled(): boolean;
73
- set disabled(value: boolean);
71
+ set disabled(value: BooleanInput);
74
72
  private _disabled;
75
- static ngAcceptInputType_disabled: BooleanInput;
76
- static ngAcceptInputType_disableRipple: BooleanInput;
77
73
  static ɵfac: i0.ɵɵFactoryDeclaration<MatListBase, never>;
78
74
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatListBase, never, never, { "disableRipple": "disableRipple"; "disabled": "disabled"; }, {}, never>;
79
75
  }
@@ -61,7 +61,7 @@ export declare class MatListOption extends MatListItemBase implements ListOption
61
61
  private _value;
62
62
  /** Whether the option is selected. */
63
63
  get selected(): boolean;
64
- set selected(value: boolean);
64
+ set selected(value: BooleanInput);
65
65
  private _selected;
66
66
  constructor(element: ElementRef, ngZone: NgZone, platform: Platform, _selectionList: SelectionList, _changeDetectorRef: ChangeDetectorRef, globalRippleOptions?: RippleGlobalOptions, animationMode?: string);
67
67
  ngOnInit(): void;
@@ -90,7 +90,6 @@ export declare class MatListOption extends MatListItemBase implements ListOption
90
90
  * list changed.
91
91
  */
92
92
  _markForCheck(): void;
93
- static ngAcceptInputType_selected: BooleanInput;
94
93
  static ɵfac: i0.ɵɵFactoryDeclaration<MatListOption, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
95
94
  static ɵcmp: i0.ɵɵComponentDeclaration<MatListOption, "mat-list-option", ["matListOption"], { "checkboxPosition": "checkboxPosition"; "color": "color"; "value": "value"; "selected": "selected"; }, { "selectedChange": "selectedChange"; }, ["lines"], ["[mat-list-avatar],[matListAvatar],[mat-list-icon],[matListIcon]", "*", "mat-divider"]>;
96
95
  }
@@ -53,7 +53,7 @@ export declare class MatSelectionList extends MatInteractiveListBase<MatListOpti
53
53
  compareWith: (o1: any, o2: any) => boolean;
54
54
  /** Whether selection is limited to one or multiple items (default multiple). */
55
55
  get multiple(): boolean;
56
- set multiple(value: boolean);
56
+ set multiple(value: BooleanInput);
57
57
  /** The currently selected options. */
58
58
  selectedOptions: SelectionModel<MatListOption>;
59
59
  /** View to model callback that should be called whenever the selected options change. */
@@ -113,7 +113,6 @@ export declare class MatSelectionList extends MatInteractiveListBase<MatListOpti
113
113
  private _setAllOptionsSelected;
114
114
  /** The option components contained within this selection-list. */
115
115
  get options(): QueryList<MatListOption>;
116
- static ngAcceptInputType_multiple: BooleanInput;
117
116
  static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectionList, never>;
118
117
  static ɵcmp: i0.ɵɵComponentDeclaration<MatSelectionList, "mat-selection-list", ["matSelectionList"], { "color": "color"; "compareWith": "compareWith"; "multiple": "multiple"; }, { "selectionChange": "selectionChange"; }, ["_items"], ["*"]>;
119
118
  }
@@ -41,15 +41,15 @@ export declare class MatProgressSpinner extends _MatProgressSpinnerBase implemen
41
41
  private _value;
42
42
  /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */
43
43
  get value(): number;
44
- set value(v: number);
44
+ set value(v: NumberInput);
45
45
  private _diameter;
46
46
  /** The diameter of the progress spinner (will set width and height of svg). */
47
47
  get diameter(): number;
48
- set diameter(size: number);
48
+ set diameter(size: NumberInput);
49
49
  private _strokeWidth;
50
50
  /** Stroke width of the progress spinner. */
51
51
  get strokeWidth(): number;
52
- set strokeWidth(value: number);
52
+ set strokeWidth(value: NumberInput);
53
53
  /** The radius of the spinner, adjusted for stroke width. */
54
54
  _circleRadius(): number;
55
55
  /** The view box of the spinner's svg element. */
@@ -64,9 +64,6 @@ export declare class MatProgressSpinner extends _MatProgressSpinnerBase implemen
64
64
  ngOnDestroy(): void;
65
65
  /** Syncs the state of the progress spinner with the MDC foundation. */
66
66
  private _syncFoundation;
67
- static ngAcceptInputType_diameter: NumberInput;
68
- static ngAcceptInputType_strokeWidth: NumberInput;
69
- static ngAcceptInputType_value: NumberInput;
70
67
  static ɵfac: i0.ɵɵFactoryDeclaration<MatProgressSpinner, [null, { optional: true; }, null]>;
71
68
  static ɵcmp: i0.ɵɵComponentDeclaration<MatProgressSpinner, "mat-progress-spinner, mat-spinner", ["matProgressSpinner"], { "color": "color"; "mode": "mode"; "value": "value"; "diameter": "diameter"; "strokeWidth": "strokeWidth"; }, {}, never, never>;
72
69
  }
@@ -1,7 +1,6 @@
1
1
  @use '@material/theme/theme-color' as mdc-theme-color;
2
2
  @use '@material/menu-surface' as mdc-menu-surface;
3
3
  @use '@material/list/evolution-mixins' as mdc-list;
4
- @use '@material/select' as mdc-select;
5
4
  @use '@material/typography' as mdc-typography;
6
5
  @use '../mdc-helpers/mdc-helpers';
7
6
  @use '../../material/core/typography/typography';
@@ -15,38 +14,25 @@
15
14
  @mixin color($config-or-theme) {
16
15
  $config: theming.get-color-config($config-or-theme);
17
16
 
18
- // Save original values of MDC global variables. We need to save these so we can restore the
19
- // variables to their original values and prevent unintended side effects from using this mixin.
20
- $orig-ink-color: mdc-select.$ink-color;
21
- $orig-label-color: mdc-select.$label-color;
22
- $orig-disabled-label-color: mdc-select.$disabled-label-color;
23
- $orig-dropdown-icon-color: mdc-select.$dropdown-icon-color;
24
- $orig-disabled-dropdown-icon-color: mdc-select.$disabled-dropdown-icon-color;
25
-
26
17
  @include mdc-helpers.mat-using-mdc-theme($config) {
27
- mdc-select.$ink-color: rgba(mdc-theme-color.prop-value(on-surface), 0.87);
28
- mdc-select.$label-color: rgba(mdc-theme-color.prop-value(on-surface), 0.6);
29
- mdc-select.$disabled-label-color: rgba(mdc-theme-color.prop-value(on-surface), 0.38);
30
- mdc-select.$dropdown-icon-color: rgba(mdc-theme-color.prop-value(on-surface), 0.54);
31
- mdc-select.$disabled-dropdown-icon-color: rgba(mdc-theme-color.prop-value(on-surface), 0.38);
32
-
18
+ $disabled-color: rgba(mdc-theme-color.prop-value(on-surface), 0.38);
33
19
  @include mdc-menu-surface.core-styles(mdc-helpers.$mat-theme-styles-query);
34
20
  @include mdc-list.without-ripple(mdc-helpers.$mat-theme-styles-query);
35
21
 
36
22
  .mat-mdc-select-value {
37
- color: mdc-select.$ink-color;
23
+ color: rgba(mdc-theme-color.prop-value(on-surface), 0.87);
38
24
  }
39
25
 
40
26
  .mat-mdc-select-placeholder {
41
- color: mdc-select.$label-color;
27
+ color: rgba(mdc-theme-color.prop-value(on-surface), 0.6);
42
28
  }
43
29
 
44
30
  .mat-mdc-select-disabled .mat-mdc-select-value {
45
- color: mdc-select.$disabled-label-color;
31
+ color: $disabled-color;
46
32
  }
47
33
 
48
34
  .mat-mdc-select-arrow {
49
- color: mdc-select.$dropdown-icon-color;
35
+ color: rgba(mdc-theme-color.prop-value(on-surface), 0.54);
50
36
  }
51
37
 
52
38
  .mat-mdc-form-field {
@@ -69,17 +55,10 @@
69
55
  }
70
56
 
71
57
  .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow {
72
- color: mdc-select.$disabled-dropdown-icon-color;
58
+ color: $disabled-color;
73
59
  }
74
60
  }
75
61
  }
76
-
77
- // Restore original values of MDC global variables.
78
- mdc-select.$ink-color: $orig-ink-color;
79
- mdc-select.$label-color: $orig-label-color;
80
- mdc-select.$disabled-label-color: $orig-disabled-label-color;
81
- mdc-select.$dropdown-icon-color: $orig-dropdown-icon-color;
82
- mdc-select.$disabled-dropdown-icon-color: $orig-disabled-dropdown-icon-color;
83
62
  }
84
63
 
85
64
  @mixin typography($config-or-theme) {
@@ -52,7 +52,7 @@ export declare class MatSlideToggle implements ControlValueAccessor, AfterViewIn
52
52
  id: string;
53
53
  /** Tabindex for the input element. */
54
54
  get tabIndex(): number;
55
- set tabIndex(value: number);
55
+ set tabIndex(value: NumberInput);
56
56
  private _tabIndex;
57
57
  /** Whether the label should appear after or before the slide-toggle. Defaults to 'after'. */
58
58
  labelPosition: 'before' | 'after';
@@ -64,17 +64,17 @@ export declare class MatSlideToggle implements ControlValueAccessor, AfterViewIn
64
64
  ariaDescribedby: string;
65
65
  /** Whether the slide-toggle is required. */
66
66
  get required(): boolean;
67
- set required(value: boolean);
67
+ set required(value: BooleanInput);
68
68
  /** Whether the slide-toggle element is checked or not. */
69
69
  get checked(): boolean;
70
- set checked(value: boolean);
70
+ set checked(value: BooleanInput);
71
71
  /** Whether to disable the ripple on this checkbox. */
72
72
  get disableRipple(): boolean;
73
- set disableRipple(disableRipple: boolean);
73
+ set disableRipple(disableRipple: BooleanInput);
74
74
  private _disableRipple;
75
75
  /** Whether the slide toggle is disabled. */
76
76
  get disabled(): boolean;
77
- set disabled(disabled: boolean);
77
+ set disabled(disabled: BooleanInput);
78
78
  private _disabled;
79
79
  /** An event will be dispatched each time the slide-toggle changes its value. */
80
80
  readonly change: EventEmitter<MatSlideToggleChange>;
@@ -102,11 +102,6 @@ export declare class MatSlideToggle implements ControlValueAccessor, AfterViewIn
102
102
  /** Toggles the checked state of the slide-toggle. */
103
103
  toggle(): void;
104
104
  _getAriaLabelledBy(): string | null;
105
- static ngAcceptInputType_tabIndex: NumberInput;
106
- static ngAcceptInputType_required: BooleanInput;
107
- static ngAcceptInputType_checked: BooleanInput;
108
- static ngAcceptInputType_disableRipple: BooleanInput;
109
- static ngAcceptInputType_disabled: BooleanInput;
110
105
  static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggle, [null, null, null, { attribute: "tabindex"; }, null, { optional: true; }]>;
111
106
  static ɵcmp: i0.ɵɵComponentDeclaration<MatSlideToggle, "mat-slide-toggle", ["matSlideToggle"], { "color": "color"; "name": "name"; "id": "id"; "tabIndex": "tabIndex"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaDescribedby": "aria-describedby"; "required": "required"; "checked": "checked"; "disableRipple": "disableRipple"; "disabled": "disabled"; }, { "change": "change"; "toggleChange": "toggleChange"; }, never, ["*"]>;
112
107
  }
@@ -44,8 +44,10 @@ export declare class MatSliderVisualThumb implements AfterViewInit, OnDestroy {
44
44
  disableRipple: boolean;
45
45
  /** The MatRipple for this slider thumb. */
46
46
  private readonly _ripple;
47
- /** The slider thumb knob */
47
+ /** The slider thumb knob. */
48
48
  _knob: ElementRef<HTMLElement>;
49
+ /** The slider thumb value indicator container. */
50
+ _valueIndicatorContainer: ElementRef<HTMLElement>;
49
51
  /** The slider input corresponding to this slider thumb. */
50
52
  private _sliderInput;
51
53
  /** The RippleRef for the slider thumbs hover state. */
@@ -83,6 +85,11 @@ export declare class MatSliderVisualThumb implements AfterViewInit, OnDestroy {
83
85
  _getHostElement(): HTMLElement;
84
86
  /** Gets the native HTML element of the slider thumb knob. */
85
87
  _getKnob(): HTMLElement;
88
+ /**
89
+ * Gets the native HTML element of the slider thumb value indicator
90
+ * container.
91
+ */
92
+ _getValueIndicatorContainer(): HTMLElement;
86
93
  static ɵfac: i0.ɵɵFactoryDeclaration<MatSliderVisualThumb, never>;
87
94
  static ɵcmp: i0.ɵɵComponentDeclaration<MatSliderVisualThumb, "mat-slider-visual-thumb", never, { "discrete": "discrete"; "thumbPosition": "thumbPosition"; "valueIndicatorText": "valueIndicatorText"; "disableRipple": "disableRipple"; }, {}, never, never>;
88
95
  }
@@ -99,7 +106,7 @@ export declare class MatSliderThumb implements AfterViewInit, ControlValueAccess
99
106
  private readonly _elementRef;
100
107
  /** The current value of this slider input. */
101
108
  get value(): number;
102
- set value(v: number);
109
+ set value(v: NumberInput);
103
110
  /**
104
111
  * Emits when the raw value of the slider changes. This is here primarily
105
112
  * to facilitate the two-way binding for the `value` input.
@@ -206,7 +213,6 @@ export declare class MatSliderThumb implements AfterViewInit, ControlValueAccess
206
213
  * `displayWith` function is used to set the `aria-valuetext` attribute.
207
214
  */
208
215
  private _initializeAriaValueText;
209
- static ngAcceptInputType_value: NumberInput;
210
216
  static ɵfac: i0.ɵɵFactoryDeclaration<MatSliderThumb, never>;
211
217
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatSliderThumb, "input[matSliderThumb], input[matSliderStartThumb], input[matSliderEndThumb]", ["matSliderThumb"], { "value": "value"; }, { "valueChange": "valueChange"; "dragStart": "dragStart"; "dragEnd": "dragEnd"; "_blur": "_blur"; "_focus": "_focus"; }, never>;
212
218
  }
@@ -234,27 +240,27 @@ export declare class MatSlider extends _MatSliderMixinBase implements AfterViewI
234
240
  _inputs: QueryList<MatSliderThumb>;
235
241
  /** Whether the slider is disabled. */
236
242
  get disabled(): boolean;
237
- set disabled(v: boolean);
243
+ set disabled(v: BooleanInput);
238
244
  private _disabled;
239
245
  /** Whether the slider displays a numeric value label upon pressing the thumb. */
240
246
  get discrete(): boolean;
241
- set discrete(v: boolean);
247
+ set discrete(v: BooleanInput);
242
248
  private _discrete;
243
249
  /** Whether the slider displays tick marks along the slider track. */
244
250
  get showTickMarks(): boolean;
245
- set showTickMarks(v: boolean);
251
+ set showTickMarks(v: BooleanInput);
246
252
  private _showTickMarks;
247
253
  /** The minimum value that the slider can have. */
248
254
  get min(): number;
249
- set min(v: number);
255
+ set min(v: NumberInput);
250
256
  private _min;
251
257
  /** The maximum value that the slider can have. */
252
258
  get max(): number;
253
- set max(v: number);
259
+ set max(v: NumberInput);
254
260
  private _max;
255
261
  /** The values at which the thumb will snap. */
256
262
  get step(): number;
257
- set step(v: number);
263
+ set step(v: NumberInput);
258
264
  private _step;
259
265
  /**
260
266
  * Function that will be used to format the value before it is displayed
@@ -337,6 +343,11 @@ export declare class MatSlider extends _MatSliderMixinBase implements AfterViewI
337
343
  _getThumbElement(thumbPosition: Thumb): HTMLElement;
338
344
  /** Gets the slider knob HTML element of the given thumb position. */
339
345
  _getKnobElement(thumbPosition: Thumb): HTMLElement;
346
+ /**
347
+ * Gets the slider value indicator container HTML element of the given thumb
348
+ * position.
349
+ */
350
+ _getValueIndicatorContainerElement(thumbPosition: Thumb): HTMLElement;
340
351
  /**
341
352
  * Sets the value indicator text of the given thumb position using the given value.
342
353
  *
@@ -350,13 +361,6 @@ export declare class MatSlider extends _MatSliderMixinBase implements AfterViewI
350
361
  _getTickMarkClass(tickMark: TickMark): string;
351
362
  /** Whether the slider thumb ripples should be disabled. */
352
363
  _isRippleDisabled(): boolean;
353
- static ngAcceptInputType_disabled: BooleanInput;
354
- static ngAcceptInputType_discrete: BooleanInput;
355
- static ngAcceptInputType_showTickMarks: BooleanInput;
356
- static ngAcceptInputType_min: NumberInput;
357
- static ngAcceptInputType_max: NumberInput;
358
- static ngAcceptInputType_step: NumberInput;
359
- static ngAcceptInputType_disableRipple: BooleanInput;
360
364
  static ɵfac: i0.ɵɵFactoryDeclaration<MatSlider, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
361
365
  static ɵcmp: i0.ɵɵComponentDeclaration<MatSlider, "mat-slider", ["matSlider"], { "color": "color"; "disableRipple": "disableRipple"; "disabled": "disabled"; "discrete": "discrete"; "showTickMarks": "showTickMarks"; "min": "min"; "max": "max"; "step": "step"; "displayWith": "displayWith"; }, {}, ["_inputs"], ["*"]>;
362
366
  }
@@ -1,7 +1,7 @@
1
1
  @use 'sass:map';
2
2
  @use '@material/theme/theme-color' as mdc-theme-color;
3
3
  @use '@material/data-table/data-table' as mdc-data-table;
4
- @use '@material/data-table/data-table-theme' as mdc-data-table-theme;
4
+ @use '@material/data-table' as mdc-data-table-theme;
5
5
  @use '../mdc-helpers/mdc-helpers';
6
6
  @use '../../material/core/typography/typography';
7
7
  @use '../../material/core/theming/theming';
@@ -128,7 +128,6 @@ $mat-tab-animation-duration: 500ms !default;
128
128
  .mat-mdc-tab-header-pagination-chevron {
129
129
  border-style: solid;
130
130
  border-width: 2px 2px 0 0;
131
- content: '';
132
131
  height: 8px;
133
132
  width: 8px;
134
133
  }
@@ -22,10 +22,9 @@ export declare class MatTabGroup extends _MatTabGroupBase {
22
22
  _tabHeader: MatTabHeader;
23
23
  /** Whether the ink bar should fit its width to the size of the tab label content. */
24
24
  get fitInkBarToContent(): boolean;
25
- set fitInkBarToContent(v: boolean);
25
+ set fitInkBarToContent(v: BooleanInput);
26
26
  private _fitInkBarToContent;
27
27
  constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, defaultConfig?: MatTabsConfig, animationMode?: string);
28
- static ngAcceptInputType_fitInkBarToContent: BooleanInput;
29
28
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTabGroup, [null, null, { optional: true; }, { optional: true; }]>;
30
29
  static ɵcmp: i0.ɵɵComponentDeclaration<MatTabGroup, "mat-tab-group", ["matTabGroup"], { "color": "color"; "disableRipple": "disableRipple"; "fitInkBarToContent": "fitInkBarToContent"; }, {}, ["_allTabs"], never>;
31
30
  }
@@ -5,7 +5,6 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- import { BooleanInput } from '@angular/cdk/coercion';
9
8
  import { ElementRef, QueryList, AfterContentInit, ChangeDetectorRef, NgZone } from '@angular/core';
10
9
  import { _MatTabHeaderBase } from '@angular/material/tabs';
11
10
  import { ViewportRuler } from '@angular/cdk/scrolling';
@@ -31,7 +30,6 @@ export declare class MatTabHeader extends _MatTabHeaderBase implements AfterCont
31
30
  _inkBar: MatInkBar;
32
31
  constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
33
32
  ngAfterContentInit(): void;
34
- static ngAcceptInputType_disableRipple: BooleanInput;
35
33
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTabHeader, [null, null, null, { optional: true; }, null, null, { optional: true; }]>;
36
34
  static ɵcmp: i0.ɵɵComponentDeclaration<MatTabHeader, "mat-tab-header", never, { "selectedIndex": "selectedIndex"; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_items"], ["*"]>;
37
35
  }
@@ -19,11 +19,10 @@ export declare class MatTabLabelWrapper extends BaseMatTabLabelWrapper implement
19
19
  _foundation: MatInkBarFoundation;
20
20
  /** Whether the ink bar should fit its width to the size of the tab label content. */
21
21
  get fitInkBarToContent(): boolean;
22
- set fitInkBarToContent(v: boolean);
22
+ set fitInkBarToContent(v: BooleanInput);
23
23
  constructor(elementRef: ElementRef, _document: any);
24
24
  ngOnInit(): void;
25
25
  ngOnDestroy(): void;
26
- static ngAcceptInputType_fitInkBarToContent: BooleanInput;
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTabLabelWrapper, never>;
28
27
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabLabelWrapper, "[matTabLabelWrapper]", never, { "disabled": "disabled"; "fitInkBarToContent": "fitInkBarToContent"; }, {}, never>;
29
28
  }
@@ -23,7 +23,7 @@ import * as i0 from "@angular/core";
23
23
  export declare class MatTabNav extends _MatTabNavBase implements AfterContentInit {
24
24
  /** Whether the ink bar should fit its width to the size of the tab label content. */
25
25
  get fitInkBarToContent(): boolean;
26
- set fitInkBarToContent(v: boolean);
26
+ set fitInkBarToContent(v: BooleanInput);
27
27
  _fitInkBarToContent: BehaviorSubject<boolean>;
28
28
  _items: QueryList<MatTabLink>;
29
29
  _tabListContainer: ElementRef;
@@ -34,8 +34,6 @@ export declare class MatTabNav extends _MatTabNavBase implements AfterContentIni
34
34
  _inkBar: MatInkBar;
35
35
  constructor(elementRef: ElementRef, dir: Directionality, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, platform: Platform, animationMode?: string, defaultConfig?: MatTabsConfig);
36
36
  ngAfterContentInit(): void;
37
- static ngAcceptInputType_fitInkBarToContent: BooleanInput;
38
- static ngAcceptInputType_disableRipple: BooleanInput;
39
37
  static ɵfac: i0.ɵɵFactoryDeclaration<MatTabNav, [null, { optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }]>;
40
38
  static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { "color": "color"; "fitInkBarToContent": "fitInkBarToContent"; }, {}, ["_items"], ["*"]>;
41
39
  }