@angular/material 18.0.2 → 18.0.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.
- package/_index.scss +1 -1
- package/autocomplete/index.d.ts +3 -0
- package/badge/index.d.ts +4 -1
- package/bottom-sheet/index.d.ts +0 -1
- package/button/index.d.ts +7 -1
- package/checkbox/index.d.ts +12 -2
- package/chips/index.d.ts +11 -3
- package/core/_core-theme.scss +8 -14
- package/core/_core.scss +18 -4
- package/core/m2/_typography.scss +1 -1
- package/core/theming/_palettes.scss +2 -0
- package/core/tokens/_density.scss +1 -0
- package/core/tokens/m2/mat/_app.scss +13 -1
- package/core/tokens/m2/mat/_menu.scss +3 -0
- package/core/tokens/m2/mat/_paginator.scss +1 -0
- package/core/tokens/m3/mat/_app.scss +9 -0
- package/core/tokens/m3/mat/_menu.scss +3 -0
- package/datepicker/index.d.ts +27 -3
- package/dialog/index.d.ts +0 -1
- package/dialog/testing/index.d.ts +1 -0
- package/esm2022/autocomplete/autocomplete-trigger.mjs +35 -7
- package/esm2022/badge/badge.mjs +5 -2
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +6 -7
- package/esm2022/button/button-base.mjs +1 -1
- package/esm2022/checkbox/checkbox-config.mjs +1 -1
- package/esm2022/checkbox/checkbox.mjs +3 -10
- package/esm2022/chips/chip-grid.mjs +11 -4
- package/esm2022/chips/chip-row.mjs +8 -13
- package/esm2022/chips/chip-set.mjs +7 -3
- package/esm2022/chips/chip.mjs +6 -6
- package/esm2022/core/option/optgroup.mjs +2 -2
- package/esm2022/core/option/option.mjs +3 -3
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/date-range-input-parts.mjs +14 -10
- package/esm2022/datepicker/date-range-input.mjs +17 -7
- package/esm2022/datepicker/datepicker-base.mjs +18 -17
- package/esm2022/datepicker/datepicker-input.mjs +16 -5
- package/esm2022/dialog/dialog-container.mjs +1 -6
- package/esm2022/dialog/testing/dialog-opener.mjs +4 -3
- package/esm2022/form-field/form-field.mjs +12 -6
- package/esm2022/icon/icon.mjs +8 -2
- package/esm2022/list/list-option.mjs +3 -3
- package/esm2022/list/selection-list.mjs +9 -2
- package/esm2022/menu/menu.mjs +13 -4
- package/esm2022/paginator/paginator.mjs +3 -3
- package/esm2022/radio/radio.mjs +4 -3
- package/esm2022/slide-toggle/slide-toggle.mjs +1 -1
- package/esm2022/slider/slider-interface.mjs +2 -2
- package/esm2022/stepper/step-header.mjs +1 -1
- package/esm2022/stepper/stepper.mjs +1 -1
- package/esm2022/tabs/tab-header.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +10 -4
- package/esm2022/toolbar/toolbar.mjs +1 -1
- package/fesm2022/autocomplete.mjs +28 -0
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +4 -1
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +5 -6
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +19 -13
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +5 -5
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +42 -9
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +3 -2
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +0 -5
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/form-field.mjs +9 -3
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/icon.mjs +7 -1
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/list.mjs +10 -3
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +12 -3
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +2 -2
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/radio.mjs +3 -2
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +1 -1
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/tabs.mjs +11 -5
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs.map +1 -1
- package/form-field/index.d.ts +12 -2
- package/icon/index.d.ts +14 -2
- package/list/_list-theme.scss +8 -5
- package/list/index.d.ts +8 -1
- package/package.json +2 -2
- package/paginator/index.d.ts +7 -1
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/radio/_radio-common.scss +238 -0
- package/radio/_radio-theme.scss +25 -32
- package/radio/index.d.ts +7 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/m3-theme/index_bundled.js +81 -2
- package/schematics/ng-generate/m3-theme/index_bundled.js.map +3 -3
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
- package/slide-toggle/index.d.ts +7 -1
- package/slider/index.d.ts +1 -1
- package/stepper/index.d.ts +21 -3
- package/tabs/index.d.ts +7 -1
- package/toolbar/index.d.ts +7 -1
package/slide-toggle/index.d.ts
CHANGED
|
@@ -89,7 +89,13 @@ export declare class MatSlideToggle implements OnDestroy, AfterContentInit, OnCh
|
|
|
89
89
|
ariaDescribedby: string;
|
|
90
90
|
/** Whether the slide-toggle is required. */
|
|
91
91
|
required: boolean;
|
|
92
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Theme color of the slide toggle. This API is supported in M2 themes only,
|
|
94
|
+
* it has no effect in M3 themes.
|
|
95
|
+
*
|
|
96
|
+
* For information on applying color variants in M3, see
|
|
97
|
+
* https://material.angular.io/guide/theming#using-component-color-variants.
|
|
98
|
+
*/
|
|
93
99
|
color: string | undefined;
|
|
94
100
|
/** Whether the slide toggle is disabled. */
|
|
95
101
|
disabled: boolean;
|
package/slider/index.d.ts
CHANGED
|
@@ -266,7 +266,7 @@ declare interface _MatSlider {
|
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* A simple change event emitted by the MatSlider component.
|
|
269
|
-
* @deprecated Use event bindings directly on the MatSliderThumbs for `change` and `input` events. See https://material.angular.io/guide/mdc-migration for information about migrating.
|
|
269
|
+
* @deprecated Use event bindings directly on the MatSliderThumbs for `change` and `input` events. See https://v17.material.angular.io/guide/mdc-migration for information about migrating.
|
|
270
270
|
* @breaking-change 17.0.0
|
|
271
271
|
*/
|
|
272
272
|
export declare class MatSliderChange {
|
package/stepper/index.d.ts
CHANGED
|
@@ -91,7 +91,13 @@ export declare class MatStep extends CdkStep implements ErrorStateMatcher, After
|
|
|
91
91
|
private _isSelected;
|
|
92
92
|
/** Content for step label given by `<ng-template matStepLabel>`. */
|
|
93
93
|
stepLabel: MatStepLabel;
|
|
94
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Theme color for the particular step. This API is supported in M2 themes
|
|
96
|
+
* only, it has no effect in M3 themes.
|
|
97
|
+
*
|
|
98
|
+
* For information on applying color variants in M3, see
|
|
99
|
+
* https://material.angular.io/guide/theming#using-component-color-variants.
|
|
100
|
+
*/
|
|
95
101
|
color: ThemePalette;
|
|
96
102
|
/** Content that will be rendered lazily. */
|
|
97
103
|
_lazyContent: MatStepContent;
|
|
@@ -140,7 +146,13 @@ export declare class MatStepHeader extends CdkStepHeader implements AfterViewIni
|
|
|
140
146
|
optional: boolean;
|
|
141
147
|
/** Whether the ripple should be disabled. */
|
|
142
148
|
disableRipple: boolean;
|
|
143
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* Theme color of the step header. This API is supported in M2 themes only, it
|
|
151
|
+
* has no effect in M3 themes.
|
|
152
|
+
*
|
|
153
|
+
* For information on applying color variants in M3, see
|
|
154
|
+
* https://material.angular.io/guide/theming#using-component-color-variants.
|
|
155
|
+
*/
|
|
144
156
|
color: ThemePalette;
|
|
145
157
|
constructor(_intl: MatStepperIntl, _focusMonitor: FocusMonitor, _elementRef: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef);
|
|
146
158
|
ngAfterViewInit(): void;
|
|
@@ -178,7 +190,13 @@ export declare class MatStepper extends CdkStepper implements AfterContentInit {
|
|
|
178
190
|
readonly animationDone: EventEmitter<void>;
|
|
179
191
|
/** Whether ripples should be disabled for the step headers. */
|
|
180
192
|
disableRipple: boolean;
|
|
181
|
-
/**
|
|
193
|
+
/**
|
|
194
|
+
* Theme color for all of the steps in stepper. This API is supported in M2
|
|
195
|
+
* themes only, it has no effect in M3 themes.
|
|
196
|
+
*
|
|
197
|
+
* For information on applying color variants in M3, see
|
|
198
|
+
* https://material.angular.io/guide/theming#using-component-color-variants.
|
|
199
|
+
*/
|
|
182
200
|
color: ThemePalette;
|
|
183
201
|
/**
|
|
184
202
|
* Whether the label should display in bottom or end position.
|
package/tabs/index.d.ts
CHANGED
|
@@ -827,7 +827,13 @@ export declare class MatTabNav extends MatPaginatedTabHeader implements AfterCon
|
|
|
827
827
|
private _backgroundColor;
|
|
828
828
|
/** Whether the ripple effect is disabled or not. */
|
|
829
829
|
disableRipple: boolean;
|
|
830
|
-
/**
|
|
830
|
+
/**
|
|
831
|
+
* Theme color of the nav bar. This API is supported in M2 themes only, it has
|
|
832
|
+
* no effect in M3 themes.
|
|
833
|
+
*
|
|
834
|
+
* For information on applying color variants in M3, see
|
|
835
|
+
* https://material.angular.io/guide/theming#using-component-color-variants.
|
|
836
|
+
*/
|
|
831
837
|
color: ThemePalette;
|
|
832
838
|
/**
|
|
833
839
|
* Associated tab panel controlled by the nav bar. If not provided, then the nav bar
|
package/toolbar/index.d.ts
CHANGED
|
@@ -16,7 +16,13 @@ declare namespace i2 {
|
|
|
16
16
|
export declare class MatToolbar implements AfterViewInit {
|
|
17
17
|
protected _elementRef: ElementRef;
|
|
18
18
|
private _platform;
|
|
19
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Theme color of the toolbar. This API is supported in M2 themes only, it has
|
|
21
|
+
* no effect in M3 themes.
|
|
22
|
+
*
|
|
23
|
+
* For information on applying color variants in M3, see
|
|
24
|
+
* https://material.angular.io/guide/theming#using-component-color-variants.
|
|
25
|
+
*/
|
|
20
26
|
color?: string | null;
|
|
21
27
|
private _document;
|
|
22
28
|
/** Reference to all toolbar row elements that have been projected. */
|