@angular/material-experimental 13.1.0-rc.0 → 13.1.3
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/LICENSE +1 -1
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-module.mjs +13 -13
- package/esm2020/column-resize/overlay-handle.mjs +4 -4
- package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
- package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
- package/esm2020/column-resize/resize-strategy.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete.mjs +4 -4
- package/esm2020/mdc-autocomplete/module.mjs +5 -5
- package/esm2020/mdc-button/button-base.mjs +29 -19
- package/esm2020/mdc-button/button.mjs +9 -9
- package/esm2020/mdc-button/fab.mjs +18 -18
- package/esm2020/mdc-button/icon-button.mjs +7 -7
- package/esm2020/mdc-button/module.mjs +5 -5
- package/esm2020/mdc-card/card.mjs +44 -44
- package/esm2020/mdc-card/module.mjs +5 -5
- package/esm2020/mdc-checkbox/checkbox.mjs +5 -5
- package/esm2020/mdc-checkbox/module.mjs +5 -5
- package/esm2020/mdc-chips/chip-edit-input.mjs +4 -4
- package/esm2020/mdc-chips/chip-grid.mjs +4 -6
- package/esm2020/mdc-chips/chip-icons.mjs +17 -10
- package/esm2020/mdc-chips/chip-input.mjs +4 -4
- package/esm2020/mdc-chips/chip-listbox.mjs +4 -4
- package/esm2020/mdc-chips/chip-option.mjs +4 -4
- package/esm2020/mdc-chips/chip-row.mjs +5 -5
- package/esm2020/mdc-chips/chip-set.mjs +4 -4
- package/esm2020/mdc-chips/chip.mjs +8 -8
- package/esm2020/mdc-chips/module.mjs +5 -5
- package/esm2020/mdc-core/option/index.mjs +5 -5
- package/esm2020/mdc-core/option/optgroup.mjs +4 -4
- package/esm2020/mdc-core/option/option.mjs +4 -4
- package/esm2020/mdc-dialog/dialog-container.mjs +5 -5
- package/esm2020/mdc-dialog/dialog-content-directives.mjs +13 -13
- package/esm2020/mdc-dialog/dialog.mjs +4 -4
- package/esm2020/mdc-dialog/module.mjs +5 -5
- package/esm2020/mdc-form-field/directives/error.mjs +4 -4
- package/esm2020/mdc-form-field/directives/floating-label.mjs +4 -4
- package/esm2020/mdc-form-field/directives/hint.mjs +4 -4
- package/esm2020/mdc-form-field/directives/label.mjs +4 -4
- package/esm2020/mdc-form-field/directives/line-ripple.mjs +4 -4
- package/esm2020/mdc-form-field/directives/notched-outline.mjs +4 -4
- package/esm2020/mdc-form-field/directives/prefix.mjs +4 -4
- package/esm2020/mdc-form-field/directives/suffix.mjs +4 -4
- package/esm2020/mdc-form-field/form-field.mjs +4 -4
- package/esm2020/mdc-form-field/module.mjs +5 -5
- package/esm2020/mdc-input/input.mjs +5 -4
- package/esm2020/mdc-input/module.mjs +5 -5
- package/esm2020/mdc-list/action-list.mjs +5 -5
- package/esm2020/mdc-list/interactive-list-base.mjs +12 -10
- package/esm2020/mdc-list/list-base.mjs +7 -7
- package/esm2020/mdc-list/list-option.mjs +6 -6
- package/esm2020/mdc-list/list-styling.mjs +13 -13
- package/esm2020/mdc-list/list.mjs +8 -8
- package/esm2020/mdc-list/module.mjs +5 -5
- package/esm2020/mdc-list/nav-list.mjs +5 -5
- package/esm2020/mdc-list/selection-list.mjs +6 -6
- package/esm2020/mdc-menu/directives.mjs +7 -7
- package/esm2020/mdc-menu/menu-item.mjs +4 -4
- package/esm2020/mdc-menu/menu.mjs +4 -4
- package/esm2020/mdc-menu/module.mjs +5 -5
- package/esm2020/mdc-paginator/module.mjs +5 -5
- package/esm2020/mdc-paginator/paginator.mjs +4 -4
- package/esm2020/mdc-progress-bar/module.mjs +5 -5
- package/esm2020/mdc-progress-bar/progress-bar.mjs +5 -5
- package/esm2020/mdc-progress-spinner/module.mjs +5 -5
- package/esm2020/mdc-progress-spinner/progress-spinner.mjs +4 -4
- package/esm2020/mdc-radio/module.mjs +5 -5
- package/esm2020/mdc-radio/radio.mjs +8 -8
- package/esm2020/mdc-select/module.mjs +5 -5
- package/esm2020/mdc-select/select.mjs +9 -9
- package/esm2020/mdc-sidenav/module.mjs +5 -5
- package/esm2020/mdc-slide-toggle/module.mjs +5 -5
- package/esm2020/mdc-slide-toggle/slide-toggle.mjs +5 -5
- package/esm2020/mdc-slider/global-change-and-input-listener.mjs +4 -4
- package/esm2020/mdc-slider/module.mjs +5 -5
- package/esm2020/mdc-slider/slider.mjs +33 -12
- package/esm2020/mdc-snack-bar/module.mjs +7 -7
- package/esm2020/mdc-snack-bar/public-api.mjs +2 -2
- package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +7 -7
- package/esm2020/mdc-snack-bar/snack-bar-container.mjs +5 -5
- package/esm2020/mdc-snack-bar/snack-bar-content.mjs +10 -10
- package/esm2020/mdc-snack-bar/snack-bar.mjs +26 -12
- package/esm2020/mdc-table/cell.mjs +22 -22
- package/esm2020/mdc-table/module.mjs +5 -5
- package/esm2020/mdc-table/row.mjs +22 -22
- package/esm2020/mdc-table/table.mjs +9 -9
- package/esm2020/mdc-table/text-column.mjs +4 -4
- package/esm2020/mdc-tabs/module.mjs +5 -5
- package/esm2020/mdc-tabs/tab-body.mjs +7 -7
- package/esm2020/mdc-tabs/tab-content.mjs +4 -4
- package/esm2020/mdc-tabs/tab-group.mjs +6 -6
- package/esm2020/mdc-tabs/tab-header.mjs +12 -5
- package/esm2020/mdc-tabs/tab-label-wrapper.mjs +4 -4
- package/esm2020/mdc-tabs/tab-label.mjs +4 -4
- package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +8 -8
- package/esm2020/mdc-tabs/tab.mjs +4 -4
- package/esm2020/mdc-tooltip/module.mjs +5 -5
- package/esm2020/mdc-tooltip/tooltip.mjs +8 -8
- package/esm2020/menubar/menubar-item.mjs +4 -4
- package/esm2020/menubar/menubar-module.mjs +5 -5
- package/esm2020/menubar/menubar.mjs +4 -4
- package/esm2020/popover-edit/lens-directives.mjs +10 -10
- package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
- package/esm2020/popover-edit/table-directives.mjs +13 -13
- package/esm2020/selection/row-selection.mjs +4 -4
- package/esm2020/selection/select-all.mjs +4 -4
- package/esm2020/selection/selection-column.mjs +4 -4
- package/esm2020/selection/selection-module.mjs +5 -5
- package/esm2020/selection/selection-toggle.mjs +4 -4
- package/esm2020/selection/selection.mjs +4 -4
- package/esm2020/version.mjs +1 -1
- package/fesm2015/column-resize.mjs +36 -36
- package/fesm2015/column-resize.mjs.map +1 -1
- package/fesm2015/material-experimental.mjs +1 -1
- package/fesm2015/material-experimental.mjs.map +1 -1
- package/fesm2015/mdc-autocomplete.mjs +13 -13
- package/fesm2015/mdc-autocomplete.mjs.map +1 -1
- package/fesm2015/mdc-button.mjs +55 -52
- package/fesm2015/mdc-button.mjs.map +1 -1
- package/fesm2015/mdc-card.mjs +47 -47
- package/fesm2015/mdc-card.mjs.map +1 -1
- package/fesm2015/mdc-checkbox.mjs +8 -8
- package/fesm2015/mdc-checkbox.mjs.map +1 -1
- package/fesm2015/mdc-chips.mjs +49 -44
- package/fesm2015/mdc-chips.mjs.map +1 -1
- package/fesm2015/mdc-core.mjs +10 -10
- package/fesm2015/mdc-core.mjs.map +1 -1
- package/fesm2015/mdc-dialog.mjs +23 -23
- package/fesm2015/mdc-dialog.mjs.map +1 -1
- package/fesm2015/mdc-form-field.mjs +31 -31
- package/fesm2015/mdc-form-field.mjs.map +1 -1
- package/fesm2015/mdc-input.mjs +8 -7
- package/fesm2015/mdc-input.mjs.map +1 -1
- package/fesm2015/mdc-list.mjs +58 -56
- package/fesm2015/mdc-list.mjs.map +1 -1
- package/fesm2015/mdc-menu.mjs +16 -16
- package/fesm2015/mdc-menu.mjs.map +1 -1
- package/fesm2015/mdc-paginator.mjs +7 -7
- package/fesm2015/mdc-paginator.mjs.map +1 -1
- package/fesm2015/mdc-progress-bar.mjs +8 -8
- package/fesm2015/mdc-progress-bar.mjs.map +1 -1
- package/fesm2015/mdc-progress-spinner.mjs +7 -7
- package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
- package/fesm2015/mdc-radio.mjs +11 -11
- package/fesm2015/mdc-radio.mjs.map +1 -1
- package/fesm2015/mdc-select.mjs +12 -12
- package/fesm2015/mdc-select.mjs.map +1 -1
- package/fesm2015/mdc-sidenav.mjs +4 -4
- package/fesm2015/mdc-sidenav.mjs.map +1 -1
- package/fesm2015/mdc-slide-toggle.mjs +8 -8
- package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2015/mdc-slider.mjs +39 -18
- package/fesm2015/mdc-slider.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar.mjs +47 -42
- package/fesm2015/mdc-snack-bar.mjs.map +1 -1
- package/fesm2015/mdc-table.mjs +57 -57
- package/fesm2015/mdc-table.mjs.map +1 -1
- package/fesm2015/mdc-tabs.mjs +45 -38
- package/fesm2015/mdc-tabs.mjs.map +1 -1
- package/fesm2015/mdc-tooltip.mjs +11 -11
- package/fesm2015/mdc-tooltip.mjs.map +1 -1
- package/fesm2015/menubar.mjs +10 -10
- package/fesm2015/menubar.mjs.map +1 -1
- package/fesm2015/popover-edit.mjs +25 -25
- package/fesm2015/popover-edit.mjs.map +1 -1
- package/fesm2015/selection.mjs +19 -19
- package/fesm2015/selection.mjs.map +1 -1
- package/fesm2020/column-resize.mjs +36 -36
- package/fesm2020/column-resize.mjs.map +1 -1
- package/fesm2020/material-experimental.mjs +1 -1
- package/fesm2020/material-experimental.mjs.map +1 -1
- package/fesm2020/mdc-autocomplete.mjs +13 -13
- package/fesm2020/mdc-autocomplete.mjs.map +1 -1
- package/fesm2020/mdc-button.mjs +63 -53
- package/fesm2020/mdc-button.mjs.map +1 -1
- package/fesm2020/mdc-card.mjs +47 -47
- package/fesm2020/mdc-card.mjs.map +1 -1
- package/fesm2020/mdc-checkbox.mjs +8 -8
- package/fesm2020/mdc-checkbox.mjs.map +1 -1
- package/fesm2020/mdc-chips.mjs +49 -44
- package/fesm2020/mdc-chips.mjs.map +1 -1
- package/fesm2020/mdc-core.mjs +10 -10
- package/fesm2020/mdc-core.mjs.map +1 -1
- package/fesm2020/mdc-dialog.mjs +23 -23
- package/fesm2020/mdc-dialog.mjs.map +1 -1
- package/fesm2020/mdc-form-field.mjs +31 -31
- package/fesm2020/mdc-form-field.mjs.map +1 -1
- package/fesm2020/mdc-input.mjs +8 -7
- package/fesm2020/mdc-input.mjs.map +1 -1
- package/fesm2020/mdc-list.mjs +58 -56
- package/fesm2020/mdc-list.mjs.map +1 -1
- package/fesm2020/mdc-menu.mjs +16 -16
- package/fesm2020/mdc-menu.mjs.map +1 -1
- package/fesm2020/mdc-paginator.mjs +7 -7
- package/fesm2020/mdc-paginator.mjs.map +1 -1
- package/fesm2020/mdc-progress-bar.mjs +8 -8
- package/fesm2020/mdc-progress-bar.mjs.map +1 -1
- package/fesm2020/mdc-progress-spinner.mjs +7 -7
- package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
- package/fesm2020/mdc-radio.mjs +11 -11
- package/fesm2020/mdc-radio.mjs.map +1 -1
- package/fesm2020/mdc-select.mjs +12 -12
- package/fesm2020/mdc-select.mjs.map +1 -1
- package/fesm2020/mdc-sidenav.mjs +4 -4
- package/fesm2020/mdc-sidenav.mjs.map +1 -1
- package/fesm2020/mdc-slide-toggle.mjs +8 -8
- package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2020/mdc-slider.mjs +39 -18
- package/fesm2020/mdc-slider.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar.mjs +45 -35
- package/fesm2020/mdc-snack-bar.mjs.map +1 -1
- package/fesm2020/mdc-table.mjs +57 -57
- package/fesm2020/mdc-table.mjs.map +1 -1
- package/fesm2020/mdc-tabs.mjs +45 -38
- package/fesm2020/mdc-tabs.mjs.map +1 -1
- package/fesm2020/mdc-tooltip.mjs +11 -11
- package/fesm2020/mdc-tooltip.mjs.map +1 -1
- package/fesm2020/menubar.mjs +10 -10
- package/fesm2020/menubar.mjs.map +1 -1
- package/fesm2020/popover-edit.mjs +25 -25
- package/fesm2020/popover-edit.mjs.map +1 -1
- package/fesm2020/selection.mjs +19 -19
- package/fesm2020/selection.mjs.map +1 -1
- package/mdc-button/button-base.d.ts +5 -6
- package/mdc-button/fab.d.ts +5 -7
- package/mdc-checkbox/_checkbox-theme.scss +44 -39
- package/mdc-checkbox/checkbox.d.ts +4 -9
- package/mdc-chips/chip-grid.d.ts +2 -4
- package/mdc-chips/chip-icons.d.ts +0 -3
- package/mdc-chips/chip-input.d.ts +2 -4
- package/mdc-chips/chip-listbox.d.ts +3 -6
- package/mdc-chips/chip-option.d.ts +2 -4
- package/mdc-chips/chip-row.d.ts +0 -2
- package/mdc-chips/chip-set.d.ts +2 -4
- package/mdc-chips/chip.d.ts +4 -9
- package/mdc-core/option/option.d.ts +3 -3
- package/mdc-form-field/form-field.d.ts +1 -2
- package/mdc-helpers/_focus-indicators.scss +4 -0
- package/mdc-list/_list-option-theme.scss +2 -2
- package/mdc-list/_list-theme.scss +7 -3
- package/mdc-list/list-base.d.ts +3 -7
- package/mdc-list/list-option.d.ts +1 -2
- package/mdc-list/selection-list.d.ts +1 -2
- package/mdc-progress-spinner/progress-spinner.d.ts +3 -6
- package/mdc-select/_select-theme.scss +6 -27
- package/mdc-slide-toggle/slide-toggle.d.ts +5 -10
- package/mdc-slider/slider.d.ts +20 -16
- package/mdc-snack-bar/module.d.ts +1 -1
- package/mdc-snack-bar/public-api.d.ts +1 -1
- package/mdc-snack-bar/simple-snack-bar.d.ts +4 -4
- package/mdc-snack-bar/snack-bar.d.ts +17 -5
- package/mdc-table/_table-theme.scss +1 -1
- package/mdc-tabs/_tabs-common.scss +0 -1
- package/mdc-tabs/tab-group.d.ts +1 -2
- package/mdc-tabs/tab-header.d.ts +0 -2
- package/mdc-tabs/tab-label-wrapper.d.ts +1 -2
- package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +1 -3
- package/mdc-theming/prebuilt/deeppurple-amber.css +1 -0
- package/mdc-theming/prebuilt/indigo-pink.css +1 -1
- package/mdc-theming/prebuilt/pink-bluegrey.css +1 -0
- package/mdc-theming/prebuilt/purple-green.css +1 -0
- package/mdc-tooltip/_tooltip-theme.scss +1 -1
- package/package.json +17 -3
package/mdc-chips/chip-grid.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
|
|
|
78
78
|
* @docs-private
|
|
79
79
|
*/
|
|
80
80
|
get disabled(): boolean;
|
|
81
|
-
set disabled(value:
|
|
81
|
+
set disabled(value: BooleanInput);
|
|
82
82
|
/**
|
|
83
83
|
* Implemented as part of MatFormFieldControl.
|
|
84
84
|
* @docs-private
|
|
@@ -105,7 +105,7 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
|
|
|
105
105
|
* @docs-private
|
|
106
106
|
*/
|
|
107
107
|
get required(): boolean;
|
|
108
|
-
set required(value:
|
|
108
|
+
set required(value: BooleanInput);
|
|
109
109
|
protected _required: boolean | undefined;
|
|
110
110
|
/**
|
|
111
111
|
* Implemented as part of MatFormFieldControl.
|
|
@@ -206,8 +206,6 @@ export declare class MatChipGrid extends _MatChipGridMixinBase implements AfterC
|
|
|
206
206
|
private _updateFocusForDestroyedChips;
|
|
207
207
|
/** Focus input element. */
|
|
208
208
|
private _focusInput;
|
|
209
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
210
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
211
209
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid, [null, null, { optional: true; }, { optional: true; }, { optional: true; }, null, { optional: true; self: true; }]>;
|
|
212
210
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipGrid, "mat-chip-grid", never, { "tabIndex": "tabIndex"; "disabled": "disabled"; "placeholder": "placeholder"; "required": "required"; "value": "value"; "errorStateMatcher": "errorStateMatcher"; }, { "change": "change"; "valueChange": "valueChange"; }, ["_chips"], ["*"]>;
|
|
213
211
|
}
|
|
@@ -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, NumberInput } from '@angular/cdk/coercion';
|
|
9
8
|
import { ChangeDetectorRef, ElementRef, InjectionToken, OnDestroy } from '@angular/core';
|
|
10
9
|
import { CanDisable, HasTabIndex } from '@angular/material-experimental/mdc-core';
|
|
11
10
|
import { Subject } from 'rxjs';
|
|
@@ -91,8 +90,6 @@ export declare class MatChipRemove extends _MatChipRemoveMixinBase implements Ca
|
|
|
91
90
|
/** Emits a MouseEvent when the user clicks on the remove icon. */
|
|
92
91
|
_handleClick(event: MouseEvent): void;
|
|
93
92
|
focus(): void;
|
|
94
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
95
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
96
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRemove, never>;
|
|
97
94
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipRemove, "[matChipRemove]", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; }, {}, never>;
|
|
98
95
|
}
|
|
@@ -46,7 +46,7 @@ export declare class MatChipInput implements MatChipTextControl, AfterContentIni
|
|
|
46
46
|
* Whether or not the chipEnd event will be emitted when the input is blurred.
|
|
47
47
|
*/
|
|
48
48
|
get addOnBlur(): boolean;
|
|
49
|
-
set addOnBlur(value:
|
|
49
|
+
set addOnBlur(value: BooleanInput);
|
|
50
50
|
_addOnBlur: boolean;
|
|
51
51
|
/**
|
|
52
52
|
* The list of key codes that will trigger a chipEnd event.
|
|
@@ -62,7 +62,7 @@ export declare class MatChipInput implements MatChipTextControl, AfterContentIni
|
|
|
62
62
|
id: string;
|
|
63
63
|
/** Whether the input is disabled. */
|
|
64
64
|
get disabled(): boolean;
|
|
65
|
-
set disabled(value:
|
|
65
|
+
set disabled(value: BooleanInput);
|
|
66
66
|
private _disabled;
|
|
67
67
|
/** Whether the input is empty. */
|
|
68
68
|
get empty(): boolean;
|
|
@@ -90,8 +90,6 @@ export declare class MatChipInput implements MatChipTextControl, AfterContentIni
|
|
|
90
90
|
clear(): void;
|
|
91
91
|
/** Checks whether a keycode is one of the configured separators. */
|
|
92
92
|
private _isSeparatorKey;
|
|
93
|
-
static ngAcceptInputType_addOnBlur: BooleanInput;
|
|
94
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
95
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, [null, null, { optional: true; }]>;
|
|
96
94
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": "matChipInputFor"; "addOnBlur": "matChipInputAddOnBlur"; "separatorKeyCodes": "matChipInputSeparatorKeyCodes"; "placeholder": "placeholder"; "id": "id"; "disabled": "disabled"; }, { "chipEnd": "matChipInputTokenEnd"; }, never>;
|
|
97
95
|
}
|
|
@@ -60,7 +60,7 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
|
|
|
60
60
|
get role(): string | null;
|
|
61
61
|
/** Whether the user should be allowed to select multiple chips. */
|
|
62
62
|
get multiple(): boolean;
|
|
63
|
-
set multiple(value:
|
|
63
|
+
set multiple(value: BooleanInput);
|
|
64
64
|
private _multiple;
|
|
65
65
|
/** The array of selected chips inside the chip listbox. */
|
|
66
66
|
get selected(): MatChipOption[] | MatChipOption;
|
|
@@ -73,7 +73,7 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
|
|
|
73
73
|
* the chips inside the chip listbox are always ignored.
|
|
74
74
|
*/
|
|
75
75
|
get selectable(): boolean;
|
|
76
|
-
set selectable(value:
|
|
76
|
+
set selectable(value: BooleanInput);
|
|
77
77
|
protected _selectable: boolean;
|
|
78
78
|
/**
|
|
79
79
|
* A function to compare the option values with the selected values. The first argument
|
|
@@ -85,7 +85,7 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
|
|
|
85
85
|
private _compareWith;
|
|
86
86
|
/** Whether this chip listbox is required. */
|
|
87
87
|
get required(): boolean;
|
|
88
|
-
set required(value:
|
|
88
|
+
set required(value: BooleanInput);
|
|
89
89
|
protected _required: boolean;
|
|
90
90
|
/** Combined stream of all of the child chips' selection change events. */
|
|
91
91
|
get chipSelectionChanges(): Observable<MatChipSelectionChange>;
|
|
@@ -184,9 +184,6 @@ export declare class MatChipListbox extends MatChipSet implements AfterContentIn
|
|
|
184
184
|
* key manager state and focus the next closest chip.
|
|
185
185
|
*/
|
|
186
186
|
private _updateFocusForDestroyedChips;
|
|
187
|
-
static ngAcceptInputType_multiple: BooleanInput;
|
|
188
|
-
static ngAcceptInputType_selectable: BooleanInput;
|
|
189
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
190
187
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipListbox, [null, null, { optional: true; }]>;
|
|
191
188
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipListbox, "mat-chip-listbox", never, { "tabIndex": "tabIndex"; "multiple": "multiple"; "ariaOrientation": "aria-orientation"; "selectable": "selectable"; "compareWith": "compareWith"; "required": "required"; "value": "value"; }, { "change": "change"; }, ["_chips"], ["*"]>;
|
|
192
189
|
}
|
|
@@ -42,11 +42,11 @@ export declare class MatChipOption extends MatChip implements AfterContentInit {
|
|
|
42
42
|
* non-selectable if its parent chip list is not selectable.
|
|
43
43
|
*/
|
|
44
44
|
get selectable(): boolean;
|
|
45
|
-
set selectable(value:
|
|
45
|
+
set selectable(value: BooleanInput);
|
|
46
46
|
protected _selectable: boolean;
|
|
47
47
|
/** Whether the chip is selected. */
|
|
48
48
|
get selected(): boolean;
|
|
49
|
-
set selected(value:
|
|
49
|
+
set selected(value: BooleanInput);
|
|
50
50
|
/** The ARIA selected applied to the chip. */
|
|
51
51
|
get ariaSelected(): string | null;
|
|
52
52
|
/** The unstyled chip selector for this component. */
|
|
@@ -72,8 +72,6 @@ export declare class MatChipOption extends MatChip implements AfterContentInit {
|
|
|
72
72
|
_click(event: MouseEvent): void;
|
|
73
73
|
/** Handles custom key presses. */
|
|
74
74
|
_keydown(event: KeyboardEvent): void;
|
|
75
|
-
static ngAcceptInputType_selectable: BooleanInput;
|
|
76
|
-
static ngAcceptInputType_selected: BooleanInput;
|
|
77
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipOption, never>;
|
|
78
76
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipOption, "mat-basic-chip-option, mat-chip-option", never, { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "selectable": "selectable"; "selected": "selected"; }, { "selectionChange": "selectionChange"; }, never, ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"]>;
|
|
79
77
|
}
|
package/mdc-chips/chip-row.d.ts
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
import { Directionality } from '@angular/cdk/bidi';
|
|
9
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
9
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
11
10
|
import { RippleGlobalOptions } from '@angular/material-experimental/mdc-core';
|
|
12
11
|
import { MatChip, MatChipEvent } from './chip';
|
|
@@ -73,7 +72,6 @@ export declare class MatChipRow extends MatChip implements AfterContentInit, Aft
|
|
|
73
72
|
* two values is guaranteed to be defined.
|
|
74
73
|
*/
|
|
75
74
|
private _getEditInput;
|
|
76
|
-
static ngAcceptInputType_editable: BooleanInput;
|
|
77
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
78
76
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, mat-basic-chip-row", never, { "color": "color"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; "editable": "editable"; }, { "edited": "edited"; }, ["contentEditInput"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipTrailingIcon]", "[matChipRemove]", "[matChipEditInput]"]>;
|
|
79
77
|
}
|
package/mdc-chips/chip-set.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
import { Directionality } from '@angular/cdk/bidi';
|
|
9
|
-
import { BooleanInput
|
|
9
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
10
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
|
11
11
|
import { HasTabIndex } from '@angular/material-experimental/mdc-core';
|
|
12
12
|
import { deprecated } from '@material/chips';
|
|
@@ -65,7 +65,7 @@ export declare class MatChipSet extends _MatChipSetMixinBase implements AfterCon
|
|
|
65
65
|
};
|
|
66
66
|
/** Whether the chip set is disabled. */
|
|
67
67
|
get disabled(): boolean;
|
|
68
|
-
set disabled(value:
|
|
68
|
+
set disabled(value: BooleanInput);
|
|
69
69
|
protected _disabled: boolean;
|
|
70
70
|
/** Whether the chip list contains chips or not. */
|
|
71
71
|
get empty(): boolean;
|
|
@@ -124,8 +124,6 @@ export declare class MatChipSet extends _MatChipSetMixinBase implements AfterCon
|
|
|
124
124
|
*/
|
|
125
125
|
protected _originatesFromEditingChip(event: Event): boolean;
|
|
126
126
|
private _checkForClassInHierarchy;
|
|
127
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
128
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
129
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet, [null, null, { optional: true; }]>;
|
|
130
128
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": "disabled"; "role": "role"; }, {}, ["_chips"], ["*"]>;
|
|
131
129
|
}
|
package/mdc-chips/chip.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
import { Directionality } from '@angular/cdk/bidi';
|
|
9
|
-
import { BooleanInput
|
|
9
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
10
|
import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
11
11
|
import { CanColor, CanDisable, CanDisableRipple, HasTabIndex, MatRipple, RippleGlobalOptions } from '@angular/material-experimental/mdc-core';
|
|
12
12
|
import { deprecated } from '@material/chips';
|
|
@@ -66,7 +66,7 @@ export declare class MatChip extends _MatChipMixinBase implements AfterContentIn
|
|
|
66
66
|
/** A unique id for the chip. If none is supplied, it will be auto-generated. */
|
|
67
67
|
id: string;
|
|
68
68
|
get disabled(): boolean;
|
|
69
|
-
set disabled(value:
|
|
69
|
+
set disabled(value: BooleanInput);
|
|
70
70
|
protected _disabled: boolean;
|
|
71
71
|
private _textElement;
|
|
72
72
|
/** The value of the chip. Defaults to the content inside the mdc-chip__text element. */
|
|
@@ -77,13 +77,13 @@ export declare class MatChip extends _MatChipMixinBase implements AfterContentIn
|
|
|
77
77
|
* Determines whether or not the chip displays the remove styling and emits (removed) events.
|
|
78
78
|
*/
|
|
79
79
|
get removable(): boolean;
|
|
80
|
-
set removable(value:
|
|
80
|
+
set removable(value: BooleanInput);
|
|
81
81
|
protected _removable: boolean;
|
|
82
82
|
/**
|
|
83
83
|
* Colors the chip for emphasis as if it were selected.
|
|
84
84
|
*/
|
|
85
85
|
get highlighted(): boolean;
|
|
86
|
-
set highlighted(value:
|
|
86
|
+
set highlighted(value: BooleanInput);
|
|
87
87
|
protected _highlighted: boolean;
|
|
88
88
|
/** Emitted when the user interacts with the chip. */
|
|
89
89
|
readonly interaction: EventEmitter<string>;
|
|
@@ -132,11 +132,6 @@ export declare class MatChip extends _MatChipMixinBase implements AfterContentIn
|
|
|
132
132
|
protected _onEditStart(): void;
|
|
133
133
|
/** Overridden by MatChipRow. */
|
|
134
134
|
protected _onEditFinish(): void;
|
|
135
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
136
|
-
static ngAcceptInputType_removable: BooleanInput;
|
|
137
|
-
static ngAcceptInputType_highlighted: BooleanInput;
|
|
138
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
139
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
140
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
141
136
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, mat-chip", ["matChip"], { "color": "color"; "disableRipple": "disableRipple"; "id": "id"; "disabled": "disabled"; "value": "value"; "removable": "removable"; "highlighted": "highlighted"; }, { "interaction": "interaction"; "destroyed": "destroyed"; "removed": "removed"; }, ["leadingIcon", "trailingIcon", "removeIcon"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"]>;
|
|
142
137
|
}
|
|
@@ -12,8 +12,8 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
/**
|
|
13
13
|
* Single option inside of a `<mat-select>` element.
|
|
14
14
|
*/
|
|
15
|
-
export declare class MatOption extends _MatOptionBase {
|
|
15
|
+
export declare class MatOption<T = any> extends _MatOptionBase<T> {
|
|
16
16
|
constructor(element: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, parent: MatOptionParentComponent, group: MatOptgroup);
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatOption
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatOption
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatOption<any>, [null, null, { optional: true; }, { optional: true; }]>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatOption<any>, "mat-option", ["matOption"], {}, {}, never, ["*"]>;
|
|
19
19
|
}
|
|
@@ -64,7 +64,7 @@ export declare class MatFormField implements AfterViewInit, OnDestroy, AfterCont
|
|
|
64
64
|
_hintChildren: QueryList<MatHint>;
|
|
65
65
|
/** Whether the required marker should be hidden. */
|
|
66
66
|
get hideRequiredMarker(): boolean;
|
|
67
|
-
set hideRequiredMarker(value:
|
|
67
|
+
set hideRequiredMarker(value: BooleanInput);
|
|
68
68
|
private _hideRequiredMarker;
|
|
69
69
|
/** The color palette for the form-field. */
|
|
70
70
|
color: ThemePalette;
|
|
@@ -184,7 +184,6 @@ export declare class MatFormField implements AfterViewInit, OnDestroy, AfterCont
|
|
|
184
184
|
private _updateOutlineLabelOffset;
|
|
185
185
|
/** Checks whether the form field is attached to the DOM. */
|
|
186
186
|
private _isAttachedToDom;
|
|
187
|
-
static ngAcceptInputType_hideRequiredMarker: BooleanInput;
|
|
188
187
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormField, [null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
189
188
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatFormField, "mat-form-field", ["matFormField"], { "hideRequiredMarker": "hideRequiredMarker"; "color": "color"; "floatLabel": "floatLabel"; "appearance": "appearance"; "hintLabel": "hintLabel"; }, {}, ["_labelChildNonStatic", "_labelChildStatic", "_formFieldControl", "_prefixChildren", "_suffixChildren", "_errorChildren", "_hintChildren"], ["mat-label", "[matPrefix], [matIconPrefix]", "[matTextPrefix]", "*", "[matTextSuffix]", "[matSuffix], [matIconSuffix]", "mat-error", "mat-hint:not([align='end'])", "mat-hint[align='end']"]>;
|
|
190
189
|
}
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
pointer-events: none;
|
|
29
29
|
border: $border-width $border-style transparent;
|
|
30
30
|
border-radius: $border-radius;
|
|
31
|
+
|
|
32
|
+
.cdk-high-contrast-active & {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
// By default, all focus indicators are flush with the bounding box of their
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
// Mixin that overrides the selected item and checkbox colors for list options. By
|
|
7
7
|
// default, the MDC list uses the `primary` color for list items. The MDC checkbox
|
|
8
8
|
// inside list options by default uses the `primary` color too.
|
|
9
|
-
@mixin private-list-option-color-override($color) {
|
|
9
|
+
@mixin private-list-option-color-override($color, $mdcColor) {
|
|
10
10
|
& .mdc-list-item__start, & .mdc-list-item__end {
|
|
11
|
-
@include checkbox-theme.private-checkbox-styles-with-color($color);
|
|
11
|
+
@include checkbox-theme.private-checkbox-styles-with-color($color, $mdcColor);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
1
2
|
@use '@material/list/evolution-mixins' as mdc-list;
|
|
2
3
|
@use './interactive-list-theme';
|
|
3
4
|
@use './list-option-theme';
|
|
@@ -11,6 +12,9 @@
|
|
|
11
12
|
|
|
12
13
|
@mixin color($config-or-theme) {
|
|
13
14
|
$config: theming.get-color-config($config-or-theme);
|
|
15
|
+
$primary: theming.get-color-from-palette(map.get($config, primary));
|
|
16
|
+
$accent: theming.get-color-from-palette(map.get($config, accent));
|
|
17
|
+
$warn: theming.get-color-from-palette(map.get($config, warn));
|
|
14
18
|
|
|
15
19
|
// MDC's state styles are tied in with their ripple. Since we don't use the MDC
|
|
16
20
|
// ripple, we need to add the hover, focus and selected states manually.
|
|
@@ -20,13 +24,13 @@
|
|
|
20
24
|
@include mdc-list.without-ripple($query: mdc-helpers.$mat-theme-styles-query);
|
|
21
25
|
|
|
22
26
|
.mat-mdc-list-option {
|
|
23
|
-
@include list-option-theme.private-list-option-color-override(primary);
|
|
27
|
+
@include list-option-theme.private-list-option-color-override($primary, primary);
|
|
24
28
|
}
|
|
25
29
|
.mat-mdc-list-option.mat-accent {
|
|
26
|
-
@include list-option-theme.private-list-option-color-override(secondary);
|
|
30
|
+
@include list-option-theme.private-list-option-color-override($accent, secondary);
|
|
27
31
|
}
|
|
28
32
|
.mat-mdc-list-option.mat-warn {
|
|
29
|
-
@include list-option-theme.private-list-option-color-override(error);
|
|
33
|
+
@include list-option-theme.private-list-option-color-override($warn, error);
|
|
30
34
|
}
|
|
31
35
|
}
|
|
32
36
|
}
|
package/mdc-list/list-base.d.ts
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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:
|
|
31
|
+
color: $disabled-color;
|
|
46
32
|
}
|
|
47
33
|
|
|
48
34
|
.mat-mdc-select-arrow {
|
|
49
|
-
color: mdc-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
70
|
+
set checked(value: BooleanInput);
|
|
71
71
|
/** Whether to disable the ripple on this checkbox. */
|
|
72
72
|
get disableRipple(): boolean;
|
|
73
|
-
set disableRipple(disableRipple:
|
|
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:
|
|
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
|
}
|
package/mdc-slider/slider.d.ts
CHANGED
|
@@ -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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
}
|
|
@@ -9,6 +9,6 @@ import * as i7 from "@angular/material-experimental/mdc-button";
|
|
|
9
9
|
import * as i8 from "@angular/material-experimental/mdc-core";
|
|
10
10
|
export declare class MatSnackBarModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSnackBarModule, [typeof i1.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSnackBarModule, [typeof i1.SimpleSnackBar, typeof i2.MatSnackBarContainer, typeof i3.MatSnackBarLabel, typeof i3.MatSnackBarActions, typeof i3.MatSnackBarAction], [typeof i4.OverlayModule, typeof i5.PortalModule, typeof i6.CommonModule, typeof i7.MatButtonModule, typeof i8.MatCommonModule], [typeof i8.MatCommonModule, typeof i2.MatSnackBarContainer, typeof i3.MatSnackBarLabel, typeof i3.MatSnackBarActions, typeof i3.MatSnackBarAction]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatSnackBarModule>;
|
|
14
14
|
}
|