@angular/material-experimental 14.0.0-next.3 → 14.0.0-next.6
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/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 +6 -5
- package/esm2020/mdc-autocomplete/autocomplete.mjs +4 -4
- package/esm2020/mdc-autocomplete/module.mjs +5 -5
- package/esm2020/mdc-button/button-base.mjs +8 -8
- package/esm2020/mdc-button/button.mjs +7 -7
- package/esm2020/mdc-button/fab.mjs +13 -13
- 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 +6 -4
- package/esm2020/mdc-checkbox/module.mjs +5 -5
- package/esm2020/mdc-chips/chip-action.mjs +4 -4
- package/esm2020/mdc-chips/chip-edit-input.mjs +4 -4
- package/esm2020/mdc-chips/chip-grid.mjs +17 -9
- package/esm2020/mdc-chips/chip-icons.mjs +10 -10
- package/esm2020/mdc-chips/chip-input.mjs +4 -4
- package/esm2020/mdc-chips/chip-listbox.mjs +6 -9
- package/esm2020/mdc-chips/chip-option.mjs +4 -4
- package/esm2020/mdc-chips/chip-row.mjs +4 -4
- package/esm2020/mdc-chips/chip-set.mjs +11 -11
- package/esm2020/mdc-chips/chip.mjs +4 -4
- package/esm2020/mdc-chips/module.mjs +5 -5
- package/esm2020/mdc-chips/testing/public-api.mjs +2 -1
- 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 +6 -6
- package/esm2020/mdc-dialog/dialog-content-directives.mjs +13 -13
- package/esm2020/mdc-dialog/dialog.mjs +10 -5
- package/esm2020/mdc-dialog/module.mjs +5 -5
- package/esm2020/mdc-dialog/testing/dialog-opener.mjs +45 -0
- package/esm2020/mdc-dialog/testing/public-api.mjs +2 -1
- package/esm2020/mdc-form-field/directives/error.mjs +4 -4
- package/esm2020/mdc-form-field/directives/floating-label.mjs +5 -10
- 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 +47 -38
- package/esm2020/mdc-form-field/module.mjs +5 -5
- package/esm2020/mdc-input/input.mjs +4 -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 +4 -4
- package/esm2020/mdc-list/list-base.mjs +7 -7
- package/esm2020/mdc-list/list-item-sections.mjs +19 -19
- package/esm2020/mdc-list/list-option.mjs +5 -5
- package/esm2020/mdc-list/list.mjs +20 -8
- package/esm2020/mdc-list/module.mjs +5 -5
- package/esm2020/mdc-list/nav-list.mjs +4 -4
- package/esm2020/mdc-list/selection-list.mjs +4 -4
- package/esm2020/mdc-list/subheader.mjs +4 -4
- package/esm2020/mdc-menu/directives.mjs +7 -7
- package/esm2020/mdc-menu/menu-item.mjs +4 -4
- package/esm2020/mdc-menu/menu.mjs +5 -5
- package/esm2020/mdc-menu/module.mjs +5 -5
- package/esm2020/mdc-paginator/module.mjs +5 -5
- package/esm2020/mdc-paginator/paginator.mjs +5 -5
- package/esm2020/mdc-paginator/public-api.mjs +1 -1
- 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 +7 -7
- package/esm2020/mdc-select/module.mjs +5 -5
- package/esm2020/mdc-select/select.mjs +9 -9
- package/esm2020/mdc-slide-toggle/module.mjs +5 -5
- package/esm2020/mdc-slide-toggle/slide-toggle.mjs +5 -4
- 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 +20 -20
- package/esm2020/mdc-snack-bar/module.mjs +5 -5
- package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +4 -4
- 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 +4 -4
- 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 +18 -6
- package/esm2020/mdc-tabs/tab-header.mjs +5 -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 +24 -12
- package/esm2020/mdc-tabs/tab.mjs +4 -4
- package/esm2020/mdc-tooltip/module.mjs +5 -5
- package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +4 -1
- package/esm2020/mdc-tooltip/tooltip.mjs +31 -15
- 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/testing.mjs.map +1 -1
- package/fesm2015/mdc-autocomplete.mjs +15 -14
- package/fesm2015/mdc-autocomplete.mjs.map +1 -1
- package/fesm2015/mdc-button/testing.mjs.map +1 -1
- package/fesm2015/mdc-button.mjs +35 -35
- package/fesm2015/mdc-button.mjs.map +1 -1
- package/fesm2015/mdc-card/testing.mjs.map +1 -1
- package/fesm2015/mdc-card.mjs +47 -47
- package/fesm2015/mdc-card.mjs.map +1 -1
- package/fesm2015/mdc-checkbox/testing.mjs.map +1 -1
- package/fesm2015/mdc-checkbox.mjs +9 -7
- package/fesm2015/mdc-checkbox.mjs.map +1 -1
- package/fesm2015/mdc-chips/testing.mjs +2 -2
- package/fesm2015/mdc-chips/testing.mjs.map +1 -1
- package/fesm2015/mdc-chips.mjs +61 -57
- package/fesm2015/mdc-chips.mjs.map +1 -1
- package/fesm2015/mdc-core/testing.mjs.map +1 -1
- package/fesm2015/mdc-core.mjs +10 -10
- package/fesm2015/mdc-core.mjs.map +1 -1
- package/fesm2015/mdc-dialog/testing.mjs +44 -2
- package/fesm2015/mdc-dialog/testing.mjs.map +1 -1
- package/fesm2015/mdc-dialog.mjs +30 -25
- package/fesm2015/mdc-dialog.mjs.map +1 -1
- package/fesm2015/mdc-form-field/testing.mjs.map +1 -1
- package/fesm2015/mdc-form-field.mjs +76 -72
- package/fesm2015/mdc-form-field.mjs.map +1 -1
- package/fesm2015/mdc-input/testing.mjs.map +1 -1
- package/fesm2015/mdc-input.mjs +7 -7
- package/fesm2015/mdc-input.mjs.map +1 -1
- package/fesm2015/mdc-list/testing.mjs.map +1 -1
- package/fesm2015/mdc-list.mjs +65 -54
- package/fesm2015/mdc-list.mjs.map +1 -1
- package/fesm2015/mdc-menu/testing.mjs.map +1 -1
- package/fesm2015/mdc-menu.mjs +17 -17
- package/fesm2015/mdc-menu.mjs.map +1 -1
- package/fesm2015/mdc-paginator/testing.mjs.map +1 -1
- package/fesm2015/mdc-paginator.mjs +8 -8
- package/fesm2015/mdc-paginator.mjs.map +1 -1
- package/fesm2015/mdc-progress-bar/testing.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/testing.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/testing.mjs.map +1 -1
- package/fesm2015/mdc-radio.mjs +10 -10
- package/fesm2015/mdc-radio.mjs.map +1 -1
- package/fesm2015/mdc-select/testing.mjs.map +1 -1
- package/fesm2015/mdc-select.mjs +12 -12
- package/fesm2015/mdc-select.mjs.map +1 -1
- package/fesm2015/mdc-slide-toggle/testing.mjs.map +1 -1
- package/fesm2015/mdc-slide-toggle.mjs +8 -7
- package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2015/mdc-slider/testing.mjs.map +1 -1
- package/fesm2015/mdc-slider.mjs +35 -26
- package/fesm2015/mdc-slider.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar/testing.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar.mjs +23 -23
- package/fesm2015/mdc-snack-bar.mjs.map +1 -1
- package/fesm2015/mdc-table/testing.mjs.map +1 -1
- package/fesm2015/mdc-table.mjs +57 -57
- package/fesm2015/mdc-table.mjs.map +1 -1
- package/fesm2015/mdc-tabs/testing.mjs.map +1 -1
- package/fesm2015/mdc-tabs.mjs +66 -42
- package/fesm2015/mdc-tabs.mjs.map +1 -1
- package/fesm2015/mdc-tooltip/testing.mjs +3 -0
- package/fesm2015/mdc-tooltip/testing.mjs.map +1 -1
- package/fesm2015/mdc-tooltip.mjs +60 -41
- 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/testing.mjs.map +1 -1
- package/fesm2020/mdc-autocomplete.mjs +15 -14
- package/fesm2020/mdc-autocomplete.mjs.map +1 -1
- package/fesm2020/mdc-button/testing.mjs.map +1 -1
- package/fesm2020/mdc-button.mjs +35 -35
- package/fesm2020/mdc-button.mjs.map +1 -1
- package/fesm2020/mdc-card/testing.mjs.map +1 -1
- package/fesm2020/mdc-card.mjs +47 -47
- package/fesm2020/mdc-card.mjs.map +1 -1
- package/fesm2020/mdc-checkbox/testing.mjs.map +1 -1
- package/fesm2020/mdc-checkbox.mjs +9 -7
- package/fesm2020/mdc-checkbox.mjs.map +1 -1
- package/fesm2020/mdc-chips/testing.mjs +1 -1
- package/fesm2020/mdc-chips/testing.mjs.map +1 -1
- package/fesm2020/mdc-chips.mjs +61 -57
- package/fesm2020/mdc-chips.mjs.map +1 -1
- package/fesm2020/mdc-core/testing.mjs.map +1 -1
- package/fesm2020/mdc-core.mjs +10 -10
- package/fesm2020/mdc-core.mjs.map +1 -1
- package/fesm2020/mdc-dialog/testing.mjs +44 -2
- package/fesm2020/mdc-dialog/testing.mjs.map +1 -1
- package/fesm2020/mdc-dialog.mjs +30 -25
- package/fesm2020/mdc-dialog.mjs.map +1 -1
- package/fesm2020/mdc-form-field/testing.mjs.map +1 -1
- package/fesm2020/mdc-form-field.mjs +75 -71
- package/fesm2020/mdc-form-field.mjs.map +1 -1
- package/fesm2020/mdc-input/testing.mjs.map +1 -1
- package/fesm2020/mdc-input.mjs +7 -7
- package/fesm2020/mdc-input.mjs.map +1 -1
- package/fesm2020/mdc-list/testing.mjs.map +1 -1
- package/fesm2020/mdc-list.mjs +65 -54
- package/fesm2020/mdc-list.mjs.map +1 -1
- package/fesm2020/mdc-menu/testing.mjs.map +1 -1
- package/fesm2020/mdc-menu.mjs +17 -17
- package/fesm2020/mdc-menu.mjs.map +1 -1
- package/fesm2020/mdc-paginator/testing.mjs.map +1 -1
- package/fesm2020/mdc-paginator.mjs +8 -8
- package/fesm2020/mdc-paginator.mjs.map +1 -1
- package/fesm2020/mdc-progress-bar/testing.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/testing.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/testing.mjs.map +1 -1
- package/fesm2020/mdc-radio.mjs +10 -10
- package/fesm2020/mdc-radio.mjs.map +1 -1
- package/fesm2020/mdc-select/testing.mjs.map +1 -1
- package/fesm2020/mdc-select.mjs +12 -12
- package/fesm2020/mdc-select.mjs.map +1 -1
- package/fesm2020/mdc-slide-toggle/testing.mjs.map +1 -1
- package/fesm2020/mdc-slide-toggle.mjs +8 -7
- package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2020/mdc-slider/testing.mjs.map +1 -1
- package/fesm2020/mdc-slider.mjs +26 -26
- package/fesm2020/mdc-slider.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar/testing.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar.mjs +23 -23
- package/fesm2020/mdc-snack-bar.mjs.map +1 -1
- package/fesm2020/mdc-table/testing.mjs.map +1 -1
- package/fesm2020/mdc-table.mjs +57 -57
- package/fesm2020/mdc-table.mjs.map +1 -1
- package/fesm2020/mdc-tabs/testing.mjs.map +1 -1
- package/fesm2020/mdc-tabs.mjs +66 -42
- package/fesm2020/mdc-tabs.mjs.map +1 -1
- package/fesm2020/mdc-tooltip/testing.mjs +3 -0
- package/fesm2020/mdc-tooltip/testing.mjs.map +1 -1
- package/fesm2020/mdc-tooltip.mjs +57 -40
- 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-theme.scss +5 -2
- package/mdc-button/_icon-button-theme.scss +2 -1
- package/mdc-chips/chip-grid.d.ts +18 -5
- package/mdc-chips/chip-listbox.d.ts +1 -2
- package/mdc-chips/chip-set.d.ts +3 -1
- package/mdc-chips/testing/public-api.d.ts +1 -0
- package/mdc-dialog/dialog.d.ts +6 -1
- package/mdc-dialog/testing/dialog-opener.d.ts +18 -0
- package/mdc-dialog/testing/public-api.d.ts +1 -0
- package/mdc-form-field/_form-field-density.scss +2 -2
- package/mdc-form-field/_form-field-high-contrast.scss +14 -5
- package/mdc-form-field/_form-field-theme.scss +1 -1
- package/mdc-form-field/_mdc-text-field-structure-overrides.scss +2 -2
- package/mdc-form-field/directives/floating-label.d.ts +1 -3
- package/mdc-form-field/form-field.d.ts +17 -8
- package/mdc-helpers/_mdc-helpers.scss +1 -2
- package/mdc-list/_list-theme.scss +9 -0
- package/mdc-list/list.d.ts +5 -1
- package/mdc-paginator/public-api.d.ts +1 -1
- package/mdc-select/_select-theme.scss +1 -1
- package/mdc-table/_table-theme.scss +2 -9
- package/mdc-tabs/_tabs-common.scss +9 -0
- package/mdc-tabs/tab-group.d.ts +5 -1
- package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +5 -1
- package/mdc-theming/prebuilt/deeppurple-amber.css +1 -1
- package/mdc-theming/prebuilt/indigo-pink.css +1 -1
- package/mdc-theming/prebuilt/pink-bluegrey.css +1 -1
- package/mdc-theming/prebuilt/purple-green.css +1 -1
- package/mdc-tooltip/testing/tooltip-harness.d.ts +3 -0
- package/mdc-tooltip/tooltip.d.ts +6 -2
- package/package.json +8 -8
package/mdc-dialog/dialog.d.ts
CHANGED
|
@@ -34,7 +34,12 @@ export declare class MatDialog extends _MatDialogBase<MatDialogContainer> {
|
|
|
34
34
|
* @deprecated `_location` parameter to be removed.
|
|
35
35
|
* @breaking-change 10.0.0
|
|
36
36
|
*/
|
|
37
|
-
location: Location, defaultOptions: MatDialogConfig, scrollStrategy: any, parentDialog: MatDialog, overlayContainer: OverlayContainer,
|
|
37
|
+
location: Location, defaultOptions: MatDialogConfig, scrollStrategy: any, parentDialog: MatDialog, overlayContainer: OverlayContainer,
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated No longer used. To be removed.
|
|
40
|
+
* @breaking-change 14.0.0
|
|
41
|
+
*/
|
|
42
|
+
animationMode?: 'NoopAnimations' | 'BrowserAnimations');
|
|
38
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialog, [null, null, { optional: true; }, { optional: true; }, null, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
|
|
39
44
|
static ɵprov: i0.ɵɵInjectableDeclaration<MatDialog>;
|
|
40
45
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
import { ComponentType } from '@angular/cdk/overlay';
|
|
9
|
+
import { _MatTestDialogOpenerBase } from '@angular/material/dialog/testing';
|
|
10
|
+
import { MatDialog, MatDialogContainer, MatDialogConfig } from '@angular/material-experimental/mdc-dialog';
|
|
11
|
+
/** Test component that immediately opens a dialog when bootstrapped. */
|
|
12
|
+
export declare class MatTestDialogOpener<T = unknown, R = unknown> extends _MatTestDialogOpenerBase<MatDialogContainer, T, R> {
|
|
13
|
+
constructor(dialog: MatDialog);
|
|
14
|
+
/** Static method that prepares this class to open the provided component. */
|
|
15
|
+
static withComponent<T = unknown, R = unknown>(component: ComponentType<T>, config?: MatDialogConfig): ComponentType<MatTestDialogOpener<T, R>>;
|
|
16
|
+
}
|
|
17
|
+
export declare class MatTestDialogOpenerModule {
|
|
18
|
+
}
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
// on whether a textarea is used. This is not possible in our implementation of the
|
|
78
78
|
// form-field because we do not know what type of form-field control is set up. Hence
|
|
79
79
|
// we always use a fixed position for the label. This does not have any implications.
|
|
80
|
-
.mat-mdc-form-field .mat-mdc-text-field-wrapper .mdc-floating-label {
|
|
80
|
+
.mat-mdc-form-field .mat-mdc-text-field-wrapper .mat-mdc-floating-label {
|
|
81
81
|
top: math.div($height, 2);
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
// Update the spacing for filled form fields to account for the hidden floating label.
|
|
108
108
|
@include _infix-vertical-spacing-filled(
|
|
109
109
|
$no-label-padding, $no-label-padding);
|
|
110
|
-
.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mdc-floating-label {
|
|
110
|
+
.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label {
|
|
111
111
|
display: none;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -4,11 +4,20 @@
|
|
|
4
4
|
$focus-indicator-width: 3px;
|
|
5
5
|
$focus-indicator-style: dashed;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
.mat-form-field-appearance-fill {
|
|
8
|
+
// The outline of the `fill` appearance is achieved through a background color
|
|
9
|
+
// which won't be visible in high contrast mode. Add an outline to replace it.
|
|
10
|
+
.mat-mdc-text-field-wrapper {
|
|
11
|
+
@include a11y.high-contrast(active, off) {
|
|
12
|
+
outline: solid 1px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Use GreyText for the disabled outline color which will account for the user's configuration.
|
|
17
|
+
&.mat-form-field-disabled .mat-mdc-text-field-wrapper {
|
|
18
|
+
@include a11y.high-contrast(active, off) {
|
|
19
|
+
outline-color: GrayText;
|
|
20
|
+
}
|
|
12
21
|
}
|
|
13
22
|
}
|
|
14
23
|
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
// shows `body1` for text fields though, so we manually override the typography.
|
|
77
77
|
// Note: Form controls inherit the typography from the parent form field.
|
|
78
78
|
.mat-mdc-form-field,
|
|
79
|
-
.mat-mdc-
|
|
79
|
+
.mat-mdc-floating-label {
|
|
80
80
|
@include mdc-typography.typography(body1, $query: mdc-helpers.$mat-typography-styles-query);
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
// In order to ensure proper alignment of the floating label, we reset its line-height.
|
|
21
21
|
// The line-height is not important as the element is absolutely positioned and only has one line
|
|
22
22
|
// of text.
|
|
23
|
-
.mat-mdc-form-field .mdc-floating-label.mdc-floating-label {
|
|
23
|
+
.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label {
|
|
24
24
|
line-height: normal;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
// the notched outline container, and already applies a specific horizontal spacing which
|
|
96
96
|
// we do not want to overwrite. *Note*: We need to have increased specificity for this
|
|
97
97
|
// override because the `right` property will be set with higher specificity in RTL mode.
|
|
98
|
-
.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mdc-floating-label {
|
|
98
|
+
.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label {
|
|
99
99
|
left: auto;
|
|
100
100
|
right: auto;
|
|
101
101
|
}
|
|
@@ -24,13 +24,11 @@ export declare class MatFormFieldFloatingLabel {
|
|
|
24
24
|
private _elementRef;
|
|
25
25
|
/** Whether the label is floating. */
|
|
26
26
|
floating: boolean;
|
|
27
|
-
/** Whether the label is required. */
|
|
28
|
-
required: boolean;
|
|
29
27
|
constructor(_elementRef: ElementRef);
|
|
30
28
|
/** Gets the width of the label. Used for the outline notch. */
|
|
31
29
|
getWidth(): number;
|
|
32
30
|
/** Gets the HTML element for the floating label. */
|
|
33
31
|
get element(): HTMLElement;
|
|
34
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldFloatingLabel, never>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFormFieldFloatingLabel, "label[matFormFieldFloatingLabel]", never, { "floating": "floating";
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFormFieldFloatingLabel, "label[matFormFieldFloatingLabel]", never, { "floating": "floating"; }, {}, never>;
|
|
36
34
|
}
|
|
@@ -32,9 +32,18 @@ export declare type SubscriptSizing = 'fixed' | 'dynamic';
|
|
|
32
32
|
* using the `MAT_FORM_FIELD_DEFAULT_OPTIONS` injection token.
|
|
33
33
|
*/
|
|
34
34
|
export interface MatFormFieldDefaultOptions {
|
|
35
|
+
/** Default form field appearance style. */
|
|
35
36
|
appearance?: MatFormFieldAppearance;
|
|
37
|
+
/** Default color of the form field. */
|
|
38
|
+
color?: ThemePalette;
|
|
39
|
+
/** Whether the required marker should be hidden by default. */
|
|
36
40
|
hideRequiredMarker?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Whether the label for form fields should by default float `always`,
|
|
43
|
+
* `never`, or `auto` (only when necessary).
|
|
44
|
+
*/
|
|
37
45
|
floatLabel?: FloatLabelType;
|
|
46
|
+
/** Whether the form field should reserve space for one line by default. */
|
|
38
47
|
subscriptSizing?: SubscriptSizing;
|
|
39
48
|
}
|
|
40
49
|
/**
|
|
@@ -43,7 +52,7 @@ export interface MatFormFieldDefaultOptions {
|
|
|
43
52
|
*/
|
|
44
53
|
export declare const MAT_FORM_FIELD_DEFAULT_OPTIONS: InjectionToken<MatFormFieldDefaultOptions>;
|
|
45
54
|
/** Container for form controls that applies Material Design styling and behavior. */
|
|
46
|
-
export declare class MatFormField implements
|
|
55
|
+
export declare class MatFormField implements AfterContentInit, AfterContentChecked, AfterViewInit, OnDestroy {
|
|
47
56
|
private _elementRef;
|
|
48
57
|
private _changeDetectorRef;
|
|
49
58
|
private _ngZone;
|
|
@@ -69,13 +78,13 @@ export declare class MatFormField implements AfterViewInit, OnDestroy, AfterCont
|
|
|
69
78
|
get hideRequiredMarker(): boolean;
|
|
70
79
|
set hideRequiredMarker(value: BooleanInput);
|
|
71
80
|
private _hideRequiredMarker;
|
|
72
|
-
/** The color palette for the form
|
|
81
|
+
/** The color palette for the form field. */
|
|
73
82
|
color: ThemePalette;
|
|
74
83
|
/** Whether the label should always float or float as the user types. */
|
|
75
84
|
get floatLabel(): FloatLabelType;
|
|
76
85
|
set floatLabel(value: FloatLabelType);
|
|
77
86
|
private _floatLabel;
|
|
78
|
-
/** The form
|
|
87
|
+
/** The form field appearance style. */
|
|
79
88
|
get appearance(): MatFormFieldAppearance;
|
|
80
89
|
set appearance(value: MatFormFieldAppearance);
|
|
81
90
|
private _appearance;
|
|
@@ -120,20 +129,20 @@ export declare class MatFormField implements AfterViewInit, OnDestroy, AfterCont
|
|
|
120
129
|
*/
|
|
121
130
|
getLabelId(): string | null;
|
|
122
131
|
/**
|
|
123
|
-
* Gets an ElementRef for the element that a overlay attached to the form
|
|
132
|
+
* Gets an ElementRef for the element that a overlay attached to the form field
|
|
124
133
|
* should be positioned relative to.
|
|
125
134
|
*/
|
|
126
135
|
getConnectedOverlayOrigin(): ElementRef;
|
|
127
136
|
/** Animates the placeholder up and locks it in position. */
|
|
128
137
|
_animateAndLockLabel(): void;
|
|
129
|
-
/** Initializes the registered form
|
|
138
|
+
/** Initializes the registered form field control. */
|
|
130
139
|
private _initializeControl;
|
|
131
140
|
private _checkPrefixAndSuffixTypes;
|
|
132
141
|
/** Initializes the prefix and suffix containers. */
|
|
133
142
|
private _initializePrefixAndSuffix;
|
|
134
143
|
/**
|
|
135
144
|
* Initializes the subscript by validating hints and synchronizing "aria-describedby" ids
|
|
136
|
-
* with the custom form
|
|
145
|
+
* with the custom form field control. Also subscribes to hint and error changes in order
|
|
137
146
|
* to be able to validate and synchronize ids on change.
|
|
138
147
|
*/
|
|
139
148
|
private _initializeSubscript;
|
|
@@ -143,7 +152,7 @@ export declare class MatFormField implements AfterViewInit, OnDestroy, AfterCont
|
|
|
143
152
|
/**
|
|
144
153
|
* The floating label in the docked state needs to account for prefixes. The horizontal offset
|
|
145
154
|
* is calculated whenever the appearance changes to `outline`, the prefixes change, or when the
|
|
146
|
-
* form
|
|
155
|
+
* form field is added to the DOM. This method sets up all subscriptions which are needed to
|
|
147
156
|
* trigger the label offset update. In general, we want to avoid performing measurements often,
|
|
148
157
|
* so we rely on the `NgZone` as indicator when the offset should be recalculated, instead of
|
|
149
158
|
* checking every change detection cycle.
|
|
@@ -155,7 +164,7 @@ export declare class MatFormField implements AfterViewInit, OnDestroy, AfterCont
|
|
|
155
164
|
/**
|
|
156
165
|
* Whether the label should display in the infix. Labels in the outline appearance are
|
|
157
166
|
* displayed as part of the notched-outline and are horizontally offset to account for
|
|
158
|
-
* form
|
|
167
|
+
* form field prefix content. This won't work in server side rendering since we cannot
|
|
159
168
|
* measure the width of the prefix container. To make the docked label appear as if the
|
|
160
169
|
* right offset has been calculated, we forcibly render the label inside the infix. Since
|
|
161
170
|
* the label is part of the infix, the label cannot overflow the prefix content.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// TODO(mmalerba): this file should be split into separate cohesive partials for things like
|
|
2
|
-
// "theming", "typography", "core".
|
|
3
|
-
// gulp-based release build process. We can update this when we switch to bazel.
|
|
2
|
+
// "theming", "typography", "core".
|
|
4
3
|
|
|
5
4
|
@use '@material/feature-targeting' as mdc-feature-targeting;
|
|
6
5
|
@use '@material/typography' as mdc-typography;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
@use './list-option-theme';
|
|
5
5
|
@use '../mdc-helpers/mdc-helpers';
|
|
6
6
|
@use '../../material/core/typography/typography';
|
|
7
|
+
@use '../../material/core/typography/typography-utils';
|
|
7
8
|
@use '../../material/core/theming/theming';
|
|
8
9
|
|
|
9
10
|
|
|
@@ -55,6 +56,14 @@
|
|
|
55
56
|
@include mdc-list.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
|
|
56
57
|
@include list-option-theme.private-list-option-typography-styles();
|
|
57
58
|
}
|
|
59
|
+
|
|
60
|
+
// According to the public spec this should be subtitle-1.
|
|
61
|
+
// However, body-1 and subtitle-1 are nearly identical in the public spec,
|
|
62
|
+
// and the Google-specific spec states that it should be body-1.
|
|
63
|
+
// For consistency, we use body-1 for both public and Google internal.
|
|
64
|
+
.mat-mdc-list-item .mdc-list-item__primary-text {
|
|
65
|
+
@include typography-utils.typography-level($config, body-1);
|
|
66
|
+
}
|
|
58
67
|
}
|
|
59
68
|
|
|
60
69
|
@mixin theme($theme-or-color-config) {
|
package/mdc-list/list.d.ts
CHANGED
|
@@ -21,7 +21,11 @@ export declare class MatListItem extends MatListItemBase {
|
|
|
21
21
|
_meta: QueryList<MatListItemMeta>;
|
|
22
22
|
_unscopedContent: ElementRef<HTMLSpanElement>;
|
|
23
23
|
_itemText: ElementRef<HTMLElement>;
|
|
24
|
+
/** Indicates whether an item in a `<mat-nav-list>` is the currently active page. */
|
|
25
|
+
get activated(): boolean;
|
|
26
|
+
set activated(activated: boolean);
|
|
27
|
+
_activated: boolean;
|
|
24
28
|
constructor(element: ElementRef, ngZone: NgZone, listBase: MatListBase, platform: Platform, globalRippleOptions?: RippleGlobalOptions, animationMode?: string);
|
|
25
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItem, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatListItem, "mat-list-item, a[mat-list-item], button[mat-list-item]", ["matListItem"], {}, {}, ["_lines", "_titles", "_meta"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"]>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatListItem, "mat-list-item, a[mat-list-item], button[mat-list-item]", ["matListItem"], { "activated": "activated"; }, {}, ["_lines", "_titles", "_meta"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"]>;
|
|
27
31
|
}
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export * from './module';
|
|
9
9
|
export * from './paginator';
|
|
10
|
-
export { MatPaginatorIntl, MAT_PAGINATOR_INTL_PROVIDER_FACTORY, MAT_PAGINATOR_INTL_PROVIDER, PageEvent, } from '@angular/material/paginator';
|
|
10
|
+
export { MatPaginatorIntl, MAT_PAGINATOR_INTL_PROVIDER_FACTORY, MAT_PAGINATOR_INTL_PROVIDER, PageEvent, MatPaginatorSelectConfig, } from '@angular/material/paginator';
|
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
$orig-row-hover-fill-color: mdc-data-table-theme.$row-hover-fill-color;
|
|
16
16
|
$orig-header-row-text-color: mdc-data-table-theme.$header-row-text-color;
|
|
17
17
|
$orig-row-text-color: mdc-data-table-theme.$row-text-color;
|
|
18
|
-
$orig-sort-icon-color: mdc-data-table-theme.$sort-icon-color;
|
|
19
|
-
$orig-sort-icon-active-color: mdc-data-table-theme.$sort-icon-active-color;
|
|
20
18
|
$orig-stroke-color: mdc-data-table-theme.$stroke-color;
|
|
21
19
|
|
|
22
20
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
@@ -25,12 +23,9 @@
|
|
|
25
23
|
mdc-data-table-theme.$row-hover-fill-color: rgba(mdc-theme-color.prop-value(on-surface), 0.04);
|
|
26
24
|
mdc-data-table-theme.$header-row-text-color: rgba(mdc-theme-color.prop-value(on-surface), 0.87);
|
|
27
25
|
mdc-data-table-theme.$row-text-color: rgba(mdc-theme-color.prop-value(on-surface), 0.87);
|
|
28
|
-
mdc-data-table-theme.$sort-icon-color: rgba(mdc-theme-color.prop-value(on-surface), 0.6);
|
|
29
|
-
mdc-data-table-theme.$sort-icon-active-color:
|
|
30
|
-
rgba(mdc-theme-color.prop-value(on-surface), 0.87);
|
|
31
26
|
mdc-data-table-theme.$stroke-color: rgba(mdc-theme-color.prop-value(on-surface), 0.12);
|
|
32
27
|
|
|
33
|
-
@include mdc-data-table.
|
|
28
|
+
@include mdc-data-table.table-styles($query: mdc-helpers.$mat-theme-styles-query);
|
|
34
29
|
}
|
|
35
30
|
|
|
36
31
|
// Restore original values of MDC global variables.
|
|
@@ -39,8 +34,6 @@
|
|
|
39
34
|
mdc-data-table-theme.$row-hover-fill-color: $orig-row-hover-fill-color;
|
|
40
35
|
mdc-data-table-theme.$header-row-text-color: $orig-header-row-text-color;
|
|
41
36
|
mdc-data-table-theme.$row-text-color: $orig-row-text-color;
|
|
42
|
-
mdc-data-table-theme.$sort-icon-color: $orig-sort-icon-color;
|
|
43
|
-
mdc-data-table-theme.$sort-icon-active-color: $orig-sort-icon-active-color;
|
|
44
37
|
mdc-data-table-theme.$stroke-color: $orig-stroke-color;
|
|
45
38
|
|
|
46
39
|
.mat-mdc-table {
|
|
@@ -53,7 +46,7 @@
|
|
|
53
46
|
$config: typography.private-typography-to-2018-config(
|
|
54
47
|
theming.get-typography-config($config-or-theme));
|
|
55
48
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
56
|
-
@include mdc-data-table.
|
|
49
|
+
@include mdc-data-table.table-styles($query: mdc-helpers.$mat-typography-styles-query);
|
|
57
50
|
}
|
|
58
51
|
}
|
|
59
52
|
|
|
@@ -104,6 +104,15 @@ $mat-tab-animation-duration: 500ms !default;
|
|
|
104
104
|
z-index: 2;
|
|
105
105
|
-webkit-tap-highlight-color: transparent;
|
|
106
106
|
touch-action: none;
|
|
107
|
+
box-sizing: content-box;
|
|
108
|
+
background: none;
|
|
109
|
+
border: none;
|
|
110
|
+
outline: 0;
|
|
111
|
+
padding: 0;
|
|
112
|
+
|
|
113
|
+
&::-moz-focus-inner {
|
|
114
|
+
border: 0;
|
|
115
|
+
}
|
|
107
116
|
|
|
108
117
|
.mat-ripple-element {
|
|
109
118
|
opacity: map.get(mdc-ripple.$dark-ink-opacities, press);
|
package/mdc-tabs/tab-group.d.ts
CHANGED
|
@@ -24,7 +24,11 @@ export declare class MatTabGroup extends _MatTabGroupBase {
|
|
|
24
24
|
get fitInkBarToContent(): boolean;
|
|
25
25
|
set fitInkBarToContent(v: BooleanInput);
|
|
26
26
|
private _fitInkBarToContent;
|
|
27
|
+
/** Whether tabs should be stretched to fill the header. */
|
|
28
|
+
get stretchTabs(): boolean;
|
|
29
|
+
set stretchTabs(v: BooleanInput);
|
|
30
|
+
private _stretchTabs;
|
|
27
31
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, defaultConfig?: MatTabsConfig, animationMode?: string);
|
|
28
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabGroup, [null, null, { optional: true; }, { optional: true; }]>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabGroup, "mat-tab-group", ["matTabGroup"], { "color": "color"; "disableRipple": "disableRipple"; "fitInkBarToContent": "fitInkBarToContent"; }, {}, ["_allTabs"], never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabGroup, "mat-tab-group", ["matTabGroup"], { "color": "color"; "disableRipple": "disableRipple"; "fitInkBarToContent": "fitInkBarToContent"; "stretchTabs": "mat-stretch-tabs"; }, {}, ["_allTabs"], never>;
|
|
30
34
|
}
|
|
@@ -25,6 +25,10 @@ export declare class MatTabNav extends _MatTabNavBase implements AfterContentIni
|
|
|
25
25
|
get fitInkBarToContent(): boolean;
|
|
26
26
|
set fitInkBarToContent(v: BooleanInput);
|
|
27
27
|
_fitInkBarToContent: BehaviorSubject<boolean>;
|
|
28
|
+
/** Whether tabs should be stretched to fill the header. */
|
|
29
|
+
get stretchTabs(): boolean;
|
|
30
|
+
set stretchTabs(v: BooleanInput);
|
|
31
|
+
private _stretchTabs;
|
|
28
32
|
_items: QueryList<MatTabLink>;
|
|
29
33
|
_tabListContainer: ElementRef;
|
|
30
34
|
_tabList: ElementRef;
|
|
@@ -35,7 +39,7 @@ export declare class MatTabNav extends _MatTabNavBase implements AfterContentIni
|
|
|
35
39
|
constructor(elementRef: ElementRef, dir: Directionality, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, platform: Platform, animationMode?: string, defaultConfig?: MatTabsConfig);
|
|
36
40
|
ngAfterContentInit(): void;
|
|
37
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabNav, [null, { optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { "color": "color"; "fitInkBarToContent": "fitInkBarToContent"; }, {}, ["_items"], ["*"]>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { "color": "color"; "fitInkBarToContent": "fitInkBarToContent"; "stretchTabs": "mat-stretch-tabs"; }, {}, ["_items"], ["*"]>;
|
|
39
43
|
}
|
|
40
44
|
/**
|
|
41
45
|
* Link inside of a `mat-tab-nav-bar`.
|