@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.
- package/LICENSE +1 -1
- package/column-resize/_column-resize-theme.scss +51 -15
- package/column-resize/overlay-handle.d.ts +1 -0
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +3 -3
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +3 -3
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +3 -3
- package/esm2020/column-resize/column-resize-module.mjs +12 -12
- package/esm2020/column-resize/overlay-handle.mjs +13 -8
- package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +3 -3
- package/esm2020/column-resize/resizable-directives/resizable.mjs +3 -3
- package/esm2020/column-resize/resize-strategy.mjs +3 -3
- package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +3 -3
- package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +3 -3
- package/esm2020/mdc-autocomplete/autocomplete.mjs +3 -3
- package/esm2020/mdc-autocomplete/module.mjs +4 -4
- package/esm2020/mdc-button/button-base.mjs +14 -7
- package/esm2020/mdc-button/button.mjs +8 -8
- package/esm2020/mdc-button/fab.mjs +18 -18
- package/esm2020/mdc-button/icon-button.mjs +6 -6
- package/esm2020/mdc-button/module.mjs +4 -4
- package/esm2020/mdc-card/card.mjs +43 -43
- package/esm2020/mdc-card/module.mjs +4 -4
- package/esm2020/mdc-checkbox/checkbox.mjs +5 -5
- package/esm2020/mdc-checkbox/module.mjs +4 -4
- package/esm2020/mdc-chips/chip-edit-input.mjs +3 -3
- 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 +4 -4
- package/esm2020/mdc-core/option/index.mjs +4 -4
- package/esm2020/mdc-core/option/optgroup.mjs +3 -3
- package/esm2020/mdc-core/option/option.mjs +3 -3
- package/esm2020/mdc-dialog/dialog-container.mjs +4 -4
- package/esm2020/mdc-dialog/dialog-content-directives.mjs +12 -12
- package/esm2020/mdc-dialog/dialog.mjs +3 -3
- package/esm2020/mdc-dialog/module.mjs +4 -4
- package/esm2020/mdc-form-field/directives/error.mjs +3 -3
- package/esm2020/mdc-form-field/directives/floating-label.mjs +3 -3
- package/esm2020/mdc-form-field/directives/hint.mjs +3 -3
- package/esm2020/mdc-form-field/directives/label.mjs +3 -3
- package/esm2020/mdc-form-field/directives/line-ripple.mjs +3 -3
- package/esm2020/mdc-form-field/directives/notched-outline.mjs +3 -3
- package/esm2020/mdc-form-field/directives/prefix.mjs +3 -3
- package/esm2020/mdc-form-field/directives/suffix.mjs +3 -3
- package/esm2020/mdc-form-field/form-field.mjs +4 -4
- package/esm2020/mdc-form-field/module.mjs +4 -4
- package/esm2020/mdc-input/input.mjs +3 -3
- package/esm2020/mdc-input/module.mjs +4 -4
- package/esm2020/mdc-list/action-list.mjs +4 -4
- 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 +12 -12
- package/esm2020/mdc-list/list.mjs +7 -7
- package/esm2020/mdc-list/module.mjs +4 -4
- package/esm2020/mdc-list/nav-list.mjs +4 -4
- package/esm2020/mdc-list/selection-list.mjs +6 -6
- package/esm2020/mdc-menu/directives.mjs +6 -6
- package/esm2020/mdc-menu/menu-item.mjs +3 -3
- package/esm2020/mdc-menu/menu.mjs +3 -3
- package/esm2020/mdc-menu/module.mjs +4 -4
- package/esm2020/mdc-paginator/module.mjs +4 -4
- package/esm2020/mdc-paginator/paginator.mjs +3 -3
- package/esm2020/mdc-progress-bar/module.mjs +4 -4
- package/esm2020/mdc-progress-bar/progress-bar.mjs +4 -4
- package/esm2020/mdc-progress-spinner/module.mjs +4 -4
- package/esm2020/mdc-progress-spinner/progress-spinner.mjs +4 -4
- package/esm2020/mdc-radio/module.mjs +4 -4
- package/esm2020/mdc-radio/radio.mjs +7 -7
- package/esm2020/mdc-select/module.mjs +4 -4
- package/esm2020/mdc-select/select.mjs +8 -8
- package/esm2020/mdc-sidenav/module.mjs +4 -4
- package/esm2020/mdc-slide-toggle/module.mjs +4 -4
- package/esm2020/mdc-slide-toggle/slide-toggle.mjs +5 -5
- package/esm2020/mdc-slider/global-change-and-input-listener.mjs +3 -3
- package/esm2020/mdc-slider/module.mjs +4 -4
- package/esm2020/mdc-slider/slider.mjs +44 -26
- package/esm2020/mdc-snack-bar/module.mjs +4 -4
- package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +3 -3
- package/esm2020/mdc-snack-bar/snack-bar-container.mjs +4 -4
- package/esm2020/mdc-snack-bar/snack-bar-content.mjs +9 -9
- package/esm2020/mdc-snack-bar/snack-bar.mjs +3 -3
- package/esm2020/mdc-table/cell.mjs +21 -21
- package/esm2020/mdc-table/module.mjs +4 -4
- package/esm2020/mdc-table/row.mjs +21 -21
- package/esm2020/mdc-table/table.mjs +8 -8
- package/esm2020/mdc-table/text-column.mjs +3 -3
- package/esm2020/mdc-tabs/module.mjs +4 -4
- package/esm2020/mdc-tabs/tab-body.mjs +6 -6
- package/esm2020/mdc-tabs/tab-content.mjs +3 -3
- 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 +3 -3
- package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +8 -8
- package/esm2020/mdc-tabs/tab.mjs +3 -3
- package/esm2020/mdc-tooltip/module.mjs +4 -4
- package/esm2020/mdc-tooltip/tooltip.mjs +8 -8
- package/esm2020/menubar/menubar-item.mjs +3 -3
- package/esm2020/menubar/menubar-module.mjs +4 -4
- package/esm2020/menubar/menubar.mjs +3 -3
- package/esm2020/popover-edit/lens-directives.mjs +9 -9
- package/esm2020/popover-edit/popover-edit-module.mjs +4 -4
- package/esm2020/popover-edit/table-directives.mjs +12 -12
- package/esm2020/selection/row-selection.mjs +3 -3
- package/esm2020/selection/select-all.mjs +3 -3
- package/esm2020/selection/selection-column.mjs +3 -3
- package/esm2020/selection/selection-module.mjs +4 -4
- package/esm2020/selection/selection-toggle.mjs +3 -3
- package/esm2020/selection/selection.mjs +3 -3
- package/esm2020/version.mjs +1 -1
- package/fesm2015/column-resize.mjs +45 -40
- 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-button.mjs +40 -40
- package/fesm2015/mdc-button.mjs.map +1 -1
- package/fesm2015/mdc-card.mjs +47 -47
- 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-dialog.mjs +23 -23
- package/fesm2015/mdc-form-field.mjs +31 -31
- package/fesm2015/mdc-form-field.mjs.map +1 -1
- package/fesm2015/mdc-input.mjs +7 -7
- 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-paginator.mjs +7 -7
- package/fesm2015/mdc-progress-bar.mjs +8 -8
- 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-select.mjs +12 -12
- package/fesm2015/mdc-sidenav.mjs +4 -4
- package/fesm2015/mdc-slide-toggle.mjs +8 -8
- package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2015/mdc-slider.mjs +50 -32
- package/fesm2015/mdc-slider.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar.mjs +23 -23
- package/fesm2015/mdc-table.mjs +57 -57
- 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/popover-edit.mjs +25 -25
- package/fesm2015/selection.mjs +19 -19
- package/fesm2020/column-resize.mjs +45 -40
- 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-button.mjs +48 -41
- package/fesm2020/mdc-button.mjs.map +1 -1
- package/fesm2020/mdc-card.mjs +47 -47
- 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-dialog.mjs +23 -23
- package/fesm2020/mdc-form-field.mjs +31 -31
- package/fesm2020/mdc-form-field.mjs.map +1 -1
- package/fesm2020/mdc-input.mjs +7 -7
- 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-paginator.mjs +7 -7
- package/fesm2020/mdc-progress-bar.mjs +8 -8
- 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-select.mjs +12 -12
- package/fesm2020/mdc-sidenav.mjs +4 -4
- package/fesm2020/mdc-slide-toggle.mjs +8 -8
- package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2020/mdc-slider.mjs +50 -32
- package/fesm2020/mdc-slider.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar.mjs +23 -23
- package/fesm2020/mdc-table.mjs +57 -57
- 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/popover-edit.mjs +25 -25
- package/fesm2020/selection.mjs +19 -19
- package/mdc-button/button-base.d.ts +0 -3
- package/mdc-button/fab.d.ts +5 -7
- package/mdc-checkbox/_checkbox-theme.scss +32 -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-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-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/fesm2020/selection.mjs
CHANGED
|
@@ -37,9 +37,9 @@ class MatSelection extends CdkSelection {
|
|
|
37
37
|
this._multiple = coerceBooleanProperty(multiple);
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
MatSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0
|
|
41
|
-
MatSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0
|
|
40
|
+
MatSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelection, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
41
|
+
MatSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: MatSelection, selector: "[matSelection]", inputs: { multiple: ["matSelectionMultiple", "multiple"] }, outputs: { change: "matSelectionChange" }, providers: [{ provide: CdkSelection, useExisting: MatSelection }], exportAs: ["matSelection"], usesInheritance: true, ngImport: i0 });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelection, decorators: [{
|
|
43
43
|
type: Directive,
|
|
44
44
|
args: [{
|
|
45
45
|
selector: '[matSelection]',
|
|
@@ -73,9 +73,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImpor
|
|
|
73
73
|
*/
|
|
74
74
|
class MatSelectAll extends CdkSelectAll {
|
|
75
75
|
}
|
|
76
|
-
MatSelectAll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0
|
|
77
|
-
MatSelectAll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0
|
|
76
|
+
MatSelectAll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelectAll, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
77
|
+
MatSelectAll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: MatSelectAll, selector: "[matSelectAll]", providers: [{ provide: CdkSelectAll, useExisting: MatSelectAll }], exportAs: ["matSelectAll"], usesInheritance: true, ngImport: i0 });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelectAll, decorators: [{
|
|
79
79
|
type: Directive,
|
|
80
80
|
args: [{
|
|
81
81
|
selector: '[matSelectAll]',
|
|
@@ -103,9 +103,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImpor
|
|
|
103
103
|
*/
|
|
104
104
|
class MatSelectionToggle extends CdkSelectionToggle {
|
|
105
105
|
}
|
|
106
|
-
MatSelectionToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0
|
|
107
|
-
MatSelectionToggle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0
|
|
106
|
+
MatSelectionToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelectionToggle, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
107
|
+
MatSelectionToggle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: MatSelectionToggle, selector: "[matSelectionToggle]", inputs: { index: ["matSelectionToggleIndex", "index"], value: ["matSelectionToggleValue", "value"] }, providers: [{ provide: CdkSelectionToggle, useExisting: MatSelectionToggle }], exportAs: ["matSelectionToggle"], usesInheritance: true, ngImport: i0 });
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelectionToggle, decorators: [{
|
|
109
109
|
type: Directive,
|
|
110
110
|
args: [{
|
|
111
111
|
selector: '[matSelectionToggle]',
|
|
@@ -169,8 +169,8 @@ class MatSelectionColumn {
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
MatSelectionColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0
|
|
173
|
-
MatSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0
|
|
172
|
+
MatSelectionColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelectionColumn, deps: [{ token: MatTable, optional: true }, { token: MatSelection, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
173
|
+
MatSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.0", type: MatSelectionColumn, selector: "mat-selection-column", inputs: { name: "name" }, viewQueries: [{ propertyName: "_columnDef", first: true, predicate: MatColumnDef, descendants: true, static: true }, { propertyName: "_cell", first: true, predicate: MatCellDef, descendants: true, static: true }, { propertyName: "_headerCell", first: true, predicate: MatHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
|
|
174
174
|
<ng-container matColumnDef>
|
|
175
175
|
<th mat-header-cell *matHeaderCellDef class="mat-selection-column-header">
|
|
176
176
|
<mat-checkbox *ngIf="selection.multiple"
|
|
@@ -186,7 +186,7 @@ MatSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
186
186
|
</td>
|
|
187
187
|
</ng-container>
|
|
188
188
|
`, isInline: true, styles: ["th.mat-selection-column-header,td.mat-selection-column-cell{text-align:center;width:48px}\n"], components: [{ type: i1.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }], directives: [{ type: i2.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: MatSelectAll, selector: "[matSelectAll]", exportAs: ["matSelectAll"] }, { type: i2.MatCellDef, selector: "[matCellDef]" }, { type: i2.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: MatSelectionToggle, selector: "[matSelectionToggle]", inputs: ["matSelectionToggleIndex", "matSelectionToggleValue"], exportAs: ["matSelectionToggle"] }], pipes: { "async": i3.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelectionColumn, decorators: [{
|
|
190
190
|
type: Component,
|
|
191
191
|
args: [{ selector: 'mat-selection-column', template: `
|
|
192
192
|
<ng-container matColumnDef>
|
|
@@ -243,9 +243,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImpor
|
|
|
243
243
|
*/
|
|
244
244
|
class MatRowSelection extends CdkRowSelection {
|
|
245
245
|
}
|
|
246
|
-
MatRowSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0
|
|
247
|
-
MatRowSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0
|
|
248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0
|
|
246
|
+
MatRowSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatRowSelection, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
247
|
+
MatRowSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.0", type: MatRowSelection, selector: "[matRowSelection]", inputs: { index: ["matRowSelectionIndex", "index"], value: ["matRowSelectionValue", "value"] }, host: { properties: { "class.mat-selected": "_selection.isSelected(this.value, this.index)", "attr.aria-selected": "_selection.isSelected(this.value, this.index)" } }, providers: [{ provide: CdkRowSelection, useExisting: MatRowSelection }], usesInheritance: true, ngImport: i0 });
|
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatRowSelection, decorators: [{
|
|
249
249
|
type: Directive,
|
|
250
250
|
args: [{
|
|
251
251
|
selector: '[matRowSelection]',
|
|
@@ -270,14 +270,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImpor
|
|
|
270
270
|
*/
|
|
271
271
|
class MatSelectionModule {
|
|
272
272
|
}
|
|
273
|
-
MatSelectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0
|
|
274
|
-
MatSelectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0
|
|
273
|
+
MatSelectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
274
|
+
MatSelectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelectionModule, declarations: [MatSelectAll,
|
|
275
275
|
MatSelection,
|
|
276
276
|
MatSelectionToggle,
|
|
277
277
|
MatSelectionColumn,
|
|
278
278
|
MatRowSelection], imports: [CommonModule, MatTableModule, MatCheckboxModule], exports: [MatSelectAll, MatSelection, MatSelectionToggle, MatSelectionColumn, MatRowSelection] });
|
|
279
|
-
MatSelectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0
|
|
280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0
|
|
279
|
+
MatSelectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelectionModule, imports: [[CommonModule, MatTableModule, MatCheckboxModule]] });
|
|
280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.0", ngImport: i0, type: MatSelectionModule, decorators: [{
|
|
281
281
|
type: NgModule,
|
|
282
282
|
args: [{
|
|
283
283
|
imports: [CommonModule, MatTableModule, MatCheckboxModule],
|
|
@@ -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 { Platform } from '@angular/cdk/platform';
|
|
10
9
|
import { ElementRef, NgZone } from '@angular/core';
|
|
11
10
|
import { CanColor, CanDisable, CanDisableRipple, MatRipple } from '@angular/material-experimental/mdc-core';
|
|
@@ -43,8 +42,6 @@ export declare class MatButtonBase extends _MatButtonMixin implements CanDisable
|
|
|
43
42
|
/** Gets whether the button has one of the given attributes. */
|
|
44
43
|
private _hasHostAttributes;
|
|
45
44
|
_isRippleDisabled(): boolean;
|
|
46
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
47
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
48
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonBase, never>;
|
|
49
46
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonBase, never, never, {}, {}, never>;
|
|
50
47
|
}
|
package/mdc-button/fab.d.ts
CHANGED
|
@@ -30,11 +30,10 @@ export declare function MAT_FAB_DEFAULT_OPTIONS_FACTORY(): MatFabDefaultOptions;
|
|
|
30
30
|
export declare class MatFabButton extends MatButtonBase {
|
|
31
31
|
private _options?;
|
|
32
32
|
_isFab: boolean;
|
|
33
|
-
private _extended;
|
|
34
33
|
get extended(): boolean;
|
|
35
|
-
set extended(value:
|
|
34
|
+
set extended(value: BooleanInput);
|
|
35
|
+
private _extended;
|
|
36
36
|
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string, _options?: MatFabDefaultOptions | undefined);
|
|
37
|
-
static ngAcceptInputType_extended: BooleanInput;
|
|
38
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabButton, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
39
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabButton, "button[mat-fab]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "extended": "extended"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
40
39
|
}
|
|
@@ -60,13 +59,12 @@ export declare class MatMiniFabButton extends MatButtonBase {
|
|
|
60
59
|
export declare class MatFabAnchor extends MatAnchor {
|
|
61
60
|
private _options?;
|
|
62
61
|
_isFab: boolean;
|
|
63
|
-
private _extended;
|
|
64
62
|
get extended(): boolean;
|
|
65
|
-
set extended(value:
|
|
63
|
+
set extended(value: BooleanInput);
|
|
64
|
+
private _extended;
|
|
66
65
|
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string, _options?: MatFabDefaultOptions | undefined);
|
|
67
|
-
static ngAcceptInputType_extended: BooleanInput;
|
|
68
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabAnchor, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabAnchor, "a[mat-fab]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "extended": "extended"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabAnchor, "a[mat-fab]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; "extended": "extended"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
70
68
|
}
|
|
71
69
|
/**
|
|
72
70
|
* Material Design mini floating action button (FAB) component for anchor elements. Anchor elements
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@use '@material/checkbox/checkbox' as mdc-checkbox;
|
|
2
2
|
@use '@material/checkbox/checkbox-theme' as mdc-checkbox-theme;
|
|
3
|
-
@use '@material/ripple/ripple-theme' as mdc-ripple-theme;
|
|
4
3
|
@use '@material/form-field' as mdc-form-field;
|
|
5
4
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
6
5
|
@use '@material/theme/theme';
|
|
7
6
|
@use 'sass:map';
|
|
7
|
+
@use 'sass:color';
|
|
8
8
|
@use '../mdc-helpers/mdc-helpers';
|
|
9
9
|
@use '../../material/core/typography/typography';
|
|
10
10
|
@use '../../material/core/theming/theming';
|
|
@@ -13,22 +13,34 @@
|
|
|
13
13
|
|
|
14
14
|
// Mixin that includes the checkbox theme styles with a given palette.
|
|
15
15
|
// By default, the MDC checkbox always uses the `secondary` palette.
|
|
16
|
-
@mixin private-checkbox-styles-with-color($color) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
@mixin private-checkbox-styles-with-color($color, $mdcColor) {
|
|
17
|
+
$on-surface: mdc-theme-color.prop-value(on-surface);
|
|
18
|
+
$border-color: rgba($on-surface, color.opacity(mdc-checkbox-theme.$border-color));
|
|
19
|
+
$disabled-color: rgba($on-surface, color.opacity(mdc-checkbox-theme.$disabled-color));
|
|
20
|
+
|
|
21
|
+
@include mdc-checkbox-theme.theme((
|
|
22
|
+
selected-checkmark-color: mdc-theme-color.prop-value(on-#{$mdcColor}),
|
|
23
|
+
|
|
24
|
+
selected-focus-icon-color: $color,
|
|
25
|
+
selected-hover-icon-color: $color,
|
|
26
|
+
selected-hover-state-layer-color: $color,
|
|
27
|
+
selected-icon-color: $color,
|
|
28
|
+
selected-pressed-icon-color: $color,
|
|
29
|
+
unselected-focus-icon-color: $color,
|
|
30
|
+
unselected-hover-icon-color: $color,
|
|
31
|
+
|
|
32
|
+
selected-focus-state-layer-color: $on-surface,
|
|
33
|
+
selected-pressed-state-layer-color: $on-surface,
|
|
34
|
+
unselected-focus-state-layer-color: $on-surface,
|
|
35
|
+
unselected-hover-state-layer-color: $on-surface,
|
|
36
|
+
unselected-pressed-state-layer-color: $on-surface,
|
|
37
|
+
|
|
38
|
+
disabled-selected-icon-color: $disabled-color,
|
|
39
|
+
disabled-unselected-icon-color: $disabled-color,
|
|
40
|
+
|
|
41
|
+
unselected-icon-color: $border-color,
|
|
42
|
+
unselected-pressed-icon-color: $border-color,
|
|
43
|
+
));
|
|
32
44
|
}
|
|
33
45
|
|
|
34
46
|
// Apply ripple colors to the MatRipple element and the MDC ripple element when the
|
|
@@ -55,23 +67,8 @@
|
|
|
55
67
|
$accent: theming.get-color-from-palette(map.get($config, accent));
|
|
56
68
|
$warn: theming.get-color-from-palette(map.get($config, warn));
|
|
57
69
|
|
|
58
|
-
// Save original values of MDC global variables. We need to save these so we can restore the
|
|
59
|
-
// variables to their original values and prevent unintended side effects from using this mixin.
|
|
60
|
-
$orig-border-color: mdc-checkbox-theme.$border-color;
|
|
61
|
-
$orig-disabled-color: mdc-checkbox-theme.$disabled-color;
|
|
62
|
-
|
|
63
70
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
64
|
-
mdc-checkbox-theme.$border-color: rgba(
|
|
65
|
-
mdc-theme-color.prop-value(on-surface),
|
|
66
|
-
0.54
|
|
67
|
-
);
|
|
68
|
-
mdc-checkbox-theme.$disabled-color: rgba(
|
|
69
|
-
mdc-theme-color.prop-value(on-surface),
|
|
70
|
-
0.26
|
|
71
|
-
);
|
|
72
|
-
|
|
73
71
|
.mat-mdc-checkbox {
|
|
74
|
-
@include private-checkbox-styles-with-color(primary);
|
|
75
72
|
@include mdc-form-field.core-styles($query: mdc-helpers.$mat-theme-styles-query);
|
|
76
73
|
@include ripple-theme.color((
|
|
77
74
|
foreground: (
|
|
@@ -87,25 +84,21 @@
|
|
|
87
84
|
// class for accent and warn style, and applying the appropriate overrides below. Since we
|
|
88
85
|
// don't use MDC's ripple, we also need to set the color for our replacement ripple.
|
|
89
86
|
&.mat-primary {
|
|
90
|
-
@include private-checkbox-styles-with-color(primary);
|
|
87
|
+
@include private-checkbox-styles-with-color($primary, primary);
|
|
91
88
|
@include _selected-ripple-colors($primary, primary);
|
|
92
89
|
}
|
|
93
90
|
|
|
94
91
|
&.mat-accent {
|
|
95
|
-
@include private-checkbox-styles-with-color(secondary);
|
|
92
|
+
@include private-checkbox-styles-with-color($accent, secondary);
|
|
96
93
|
@include _selected-ripple-colors($accent, secondary);
|
|
97
94
|
}
|
|
98
95
|
|
|
99
96
|
&.mat-warn {
|
|
100
|
-
@include private-checkbox-styles-with-color(error);
|
|
97
|
+
@include private-checkbox-styles-with-color($warn, error);
|
|
101
98
|
@include _selected-ripple-colors($warn, error);
|
|
102
99
|
}
|
|
103
100
|
}
|
|
104
101
|
}
|
|
105
|
-
|
|
106
|
-
// Restore original values of MDC global variables.
|
|
107
|
-
mdc-checkbox-theme.$border-color: $orig-border-color;
|
|
108
|
-
mdc-checkbox-theme.$disabled-color: $orig-disabled-color;
|
|
109
102
|
}
|
|
110
103
|
|
|
111
104
|
@mixin typography($config-or-theme) {
|
|
@@ -52,7 +52,7 @@ export declare class MatCheckbox extends _MatCheckboxBase implements AfterViewIn
|
|
|
52
52
|
id: string;
|
|
53
53
|
/** Whether the checkbox is checked. */
|
|
54
54
|
get checked(): boolean;
|
|
55
|
-
set checked(checked:
|
|
55
|
+
set checked(checked: BooleanInput);
|
|
56
56
|
private _checked;
|
|
57
57
|
/**
|
|
58
58
|
* Whether the checkbox is indeterminate. This is also known as "mixed" mode and can be used to
|
|
@@ -61,15 +61,15 @@ export declare class MatCheckbox extends _MatCheckboxBase implements AfterViewIn
|
|
|
61
61
|
* set to false.
|
|
62
62
|
*/
|
|
63
63
|
get indeterminate(): boolean;
|
|
64
|
-
set indeterminate(indeterminate:
|
|
64
|
+
set indeterminate(indeterminate: BooleanInput);
|
|
65
65
|
private _indeterminate;
|
|
66
66
|
/** Whether the checkbox is required. */
|
|
67
67
|
get required(): boolean;
|
|
68
|
-
set required(required:
|
|
68
|
+
set required(required: BooleanInput);
|
|
69
69
|
private _required;
|
|
70
70
|
/** Whether to disable the ripple on this checkbox. */
|
|
71
71
|
get disableRipple(): boolean;
|
|
72
|
-
set disableRipple(disableRipple:
|
|
72
|
+
set disableRipple(disableRipple: BooleanInput);
|
|
73
73
|
private _disableRipple;
|
|
74
74
|
/** Event emitted when the checkbox's `checked` value changes. */
|
|
75
75
|
readonly change: EventEmitter<MatCheckboxChange>;
|
|
@@ -155,11 +155,6 @@ export declare class MatCheckbox extends _MatCheckboxBase implements AfterViewIn
|
|
|
155
155
|
* server-side rendering.
|
|
156
156
|
*/
|
|
157
157
|
private _syncIndeterminate;
|
|
158
|
-
static ngAcceptInputType_checked: BooleanInput;
|
|
159
|
-
static ngAcceptInputType_indeterminate: BooleanInput;
|
|
160
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
161
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
162
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
163
158
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckbox, [null, null, { attribute: "tabindex"; }, { optional: true; }, { optional: true; }]>;
|
|
164
159
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatCheckbox, "mat-checkbox", ["matCheckbox"], { "color": "color"; "disabled": "disabled"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaDescribedby": "aria-describedby"; "labelPosition": "labelPosition"; "name": "name"; "tabIndex": "tabIndex"; "value": "value"; "id": "id"; "checked": "checked"; "indeterminate": "indeterminate"; "required": "required"; "disableRipple": "disableRipple"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*"]>;
|
|
165
160
|
}
|
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
|
}
|
|
@@ -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
|
}
|