@angular/material-experimental 13.1.0 → 13.2.0-next.1
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/_index.scss +2 -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 +14 -7
- 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-action.mjs +123 -0
- package/esm2020/mdc-chips/chip-edit-input.mjs +5 -5
- package/esm2020/mdc-chips/chip-grid.mjs +46 -96
- package/esm2020/mdc-chips/chip-icons.mjs +46 -101
- package/esm2020/mdc-chips/chip-input.mjs +6 -13
- package/esm2020/mdc-chips/chip-listbox.mjs +51 -156
- package/esm2020/mdc-chips/chip-option.mjs +84 -95
- package/esm2020/mdc-chips/chip-row.mjs +82 -90
- package/esm2020/mdc-chips/chip-set.mjs +119 -120
- package/esm2020/mdc-chips/chip.mjs +189 -181
- package/esm2020/mdc-chips/emit-event.mjs +27 -0
- package/esm2020/mdc-chips/module.mjs +8 -10
- package/esm2020/mdc-chips/testing/chip-harness.mjs +5 -1
- package/esm2020/mdc-chips/testing/chip-option-harness.mjs +2 -2
- package/esm2020/mdc-chips/testing/chip-row-harness.mjs +10 -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-core/public-api.mjs +2 -2
- 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 +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 +12 -10
- package/esm2020/mdc-list/list-base.mjs +138 -41
- package/esm2020/mdc-list/list-item-sections.mjs +138 -0
- package/esm2020/mdc-list/list-option.mjs +25 -17
- package/esm2020/mdc-list/list.mjs +24 -18
- package/esm2020/mdc-list/module.mjs +46 -23
- package/esm2020/mdc-list/nav-list.mjs +5 -5
- package/esm2020/mdc-list/public-api.mjs +3 -2
- package/esm2020/mdc-list/selection-list.mjs +8 -8
- package/esm2020/mdc-list/subheader.mjs +27 -0
- package/esm2020/mdc-list/testing/list-harness-filters.mjs +1 -1
- package/esm2020/mdc-list/testing/list-item-harness-base.mjs +96 -12
- package/esm2020/mdc-list/testing/public-api.mjs +2 -1
- 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 +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 +10 -6
- package/esm2020/mdc-tabs/public-api.mjs +2 -2
- 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 +47 -10
- package/esm2020/mdc-tabs/tab.mjs +4 -4
- package/esm2020/mdc-tabs/testing/tab-harness-filters.mjs +1 -1
- package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +13 -1
- package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +27 -0
- 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 +40 -40
- 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/testing.mjs +18 -8
- package/fesm2015/mdc-chips/testing.mjs.map +1 -1
- package/fesm2015/mdc-chips.mjs +758 -1061
- package/fesm2015/mdc-chips.mjs.map +1 -1
- package/fesm2015/mdc-core.mjs +11 -11
- 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 +7 -7
- package/fesm2015/mdc-input.mjs.map +1 -1
- package/fesm2015/mdc-list/testing.mjs +104 -12
- package/fesm2015/mdc-list/testing.mjs.map +1 -1
- package/fesm2015/mdc-list.mjs +361 -154
- 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 +23 -23
- 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/testing.mjs +34 -0
- package/fesm2015/mdc-tabs/testing.mjs.map +1 -1
- package/fesm2015/mdc-tabs.mjs +89 -41
- 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 +48 -41
- 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/testing.mjs +14 -1
- package/fesm2020/mdc-chips/testing.mjs.map +1 -1
- package/fesm2020/mdc-chips.mjs +738 -1066
- package/fesm2020/mdc-chips.mjs.map +1 -1
- package/fesm2020/mdc-core.mjs +11 -11
- 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 +7 -7
- package/fesm2020/mdc-input.mjs.map +1 -1
- package/fesm2020/mdc-list/testing.mjs +96 -12
- package/fesm2020/mdc-list/testing.mjs.map +1 -1
- package/fesm2020/mdc-list.mjs +359 -154
- 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 +23 -23
- 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/testing.mjs +37 -0
- package/fesm2020/mdc-tabs/testing.mjs.map +1 -1
- package/fesm2020/mdc-tabs.mjs +89 -41
- 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 +0 -3
- package/mdc-button/fab.d.ts +5 -7
- package/mdc-checkbox/_checkbox-theme.scss +32 -30
- package/mdc-checkbox/checkbox.d.ts +4 -9
- package/mdc-chips/_chips-theme.scss +53 -53
- package/mdc-chips/chip-action.d.ts +40 -0
- package/mdc-chips/chip-grid.d.ts +8 -26
- package/mdc-chips/chip-icons.d.ts +14 -40
- package/mdc-chips/chip-input.d.ts +2 -4
- package/mdc-chips/chip-listbox.d.ts +7 -46
- package/mdc-chips/chip-option.d.ts +17 -15
- package/mdc-chips/chip-row.d.ts +13 -30
- package/mdc-chips/chip-set.d.ts +27 -46
- package/mdc-chips/chip.d.ts +41 -45
- package/mdc-chips/emit-event.d.ts +16 -0
- package/mdc-chips/module.d.ts +13 -12
- package/mdc-chips/testing/chip-harness.d.ts +1 -0
- package/mdc-chips/testing/chip-row-harness.d.ts +4 -0
- package/mdc-core/_core-theme.scss +47 -14
- package/mdc-core/public-api.d.ts +1 -1
- package/mdc-form-field/form-field.d.ts +1 -2
- package/mdc-helpers/_focus-indicators.scss +15 -3
- package/mdc-list/_interactive-list-theme.scss +17 -11
- package/mdc-list/_list-option-theme.scss +2 -2
- package/mdc-list/_list-theme.scss +7 -3
- package/mdc-list/list-base.d.ts +59 -18
- package/mdc-list/list-item-sections.d.ts +77 -0
- package/mdc-list/list-option.d.ts +12 -10
- package/mdc-list/list.d.ts +6 -2
- package/mdc-list/module.d.ts +7 -5
- package/mdc-list/public-api.d.ts +2 -1
- package/mdc-list/selection-list.d.ts +1 -2
- package/mdc-list/subheader.d.ts +9 -0
- package/mdc-list/testing/list-harness-filters.d.ts +8 -0
- package/mdc-list/testing/list-item-harness-base.d.ts +34 -3
- package/mdc-list/testing/public-api.d.ts +1 -1
- 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/module.d.ts +1 -1
- package/mdc-tabs/public-api.d.ts +1 -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 +12 -3
- package/mdc-tabs/testing/tab-harness-filters.d.ts +3 -0
- package/mdc-tabs/testing/tab-nav-bar-harness.d.ts +3 -0
- package/mdc-tabs/testing/tab-nav-panel-harness.d.ts +23 -0
- 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/esm2020/mdc-chips/grid-focus-key-manager.mjs +0 -21
- package/esm2020/mdc-chips/grid-key-manager.mjs +0 -218
- package/esm2020/mdc-list/list-styling.mjs +0 -92
- package/mdc-chips/grid-focus-key-manager.d.ts +0 -28
- package/mdc-chips/grid-key-manager.d.ts +0 -116
- package/mdc-list/list-styling.d.ts +0 -40
|
@@ -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
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
3
3
|
@use '@material/data-table/data-table' as mdc-data-table;
|
|
4
|
-
@use '@material/data-table
|
|
4
|
+
@use '@material/data-table' as mdc-data-table-theme;
|
|
5
5
|
@use '../mdc-helpers/mdc-helpers';
|
|
6
6
|
@use '../../material/core/typography/typography';
|
|
7
7
|
@use '../../material/core/theming/theming';
|
package/mdc-tabs/module.d.ts
CHANGED
|
@@ -14,6 +14,6 @@ import * as i12 from "@angular/cdk/observers";
|
|
|
14
14
|
import * as i13 from "@angular/cdk/a11y";
|
|
15
15
|
export declare class MatTabsModule {
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabsModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTabsModule, [typeof i1.MatTabContent, typeof i2.MatTabLabel, typeof i3.MatTab, typeof i4.MatTabGroup, typeof i5.MatTabNav, typeof i5.MatTabLink, typeof i6.MatTabBody, typeof i6.MatTabBodyPortal, typeof i7.MatTabLabelWrapper, typeof i8.MatTabHeader], [typeof i9.CommonModule, typeof i10.MatCommonModule, typeof i11.PortalModule, typeof i10.MatRippleModule, typeof i12.ObserversModule, typeof i13.A11yModule], [typeof i10.MatCommonModule, typeof i1.MatTabContent, typeof i2.MatTabLabel, typeof i3.MatTab, typeof i4.MatTabGroup, typeof i5.MatTabNav, typeof i5.MatTabLink]>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTabsModule, [typeof i1.MatTabContent, typeof i2.MatTabLabel, typeof i3.MatTab, typeof i4.MatTabGroup, typeof i5.MatTabNav, typeof i5.MatTabNavPanel, typeof i5.MatTabLink, typeof i6.MatTabBody, typeof i6.MatTabBodyPortal, typeof i7.MatTabLabelWrapper, typeof i8.MatTabHeader], [typeof i9.CommonModule, typeof i10.MatCommonModule, typeof i11.PortalModule, typeof i10.MatRippleModule, typeof i12.ObserversModule, typeof i13.A11yModule], [typeof i10.MatCommonModule, typeof i1.MatTabContent, typeof i2.MatTabLabel, typeof i3.MatTab, typeof i4.MatTabGroup, typeof i5.MatTabNav, typeof i5.MatTabNavPanel, typeof i5.MatTabLink]>;
|
|
18
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatTabsModule>;
|
|
19
19
|
}
|
package/mdc-tabs/public-api.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export { MatTab } from './tab';
|
|
|
14
14
|
export { MatInkBar } from './ink-bar';
|
|
15
15
|
export { MatTabHeader } from './tab-header';
|
|
16
16
|
export { MatTabGroup } from './tab-group';
|
|
17
|
-
export { MatTabNav, MatTabLink } from './tab-nav-bar/tab-nav-bar';
|
|
17
|
+
export { MatTabNav, MatTabNavPanel, MatTabLink } from './tab-nav-bar/tab-nav-bar';
|
|
18
18
|
export { MatTabBodyPositionState, MatTabBodyOriginState, matTabsAnimations, _MatInkBarPositioner, _MAT_INK_BAR_POSITIONER, MatTabChangeEvent, MatTabHeaderPosition, MatTabsConfig, MAT_TABS_CONFIG, MAT_TAB_GROUP, MAT_TAB, ScrollDirection, } from '@angular/material/tabs';
|
package/mdc-tabs/tab-group.d.ts
CHANGED
|
@@ -22,10 +22,9 @@ export declare class MatTabGroup extends _MatTabGroupBase {
|
|
|
22
22
|
_tabHeader: MatTabHeader;
|
|
23
23
|
/** Whether the ink bar should fit its width to the size of the tab label content. */
|
|
24
24
|
get fitInkBarToContent(): boolean;
|
|
25
|
-
set fitInkBarToContent(v:
|
|
25
|
+
set fitInkBarToContent(v: BooleanInput);
|
|
26
26
|
private _fitInkBarToContent;
|
|
27
27
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, defaultConfig?: MatTabsConfig, animationMode?: string);
|
|
28
|
-
static ngAcceptInputType_fitInkBarToContent: BooleanInput;
|
|
29
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabGroup, [null, null, { optional: true; }, { optional: true; }]>;
|
|
30
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabGroup, "mat-tab-group", ["matTabGroup"], { "color": "color"; "disableRipple": "disableRipple"; "fitInkBarToContent": "fitInkBarToContent"; }, {}, ["_allTabs"], never>;
|
|
31
30
|
}
|
package/mdc-tabs/tab-header.d.ts
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
9
8
|
import { ElementRef, QueryList, AfterContentInit, ChangeDetectorRef, NgZone } from '@angular/core';
|
|
10
9
|
import { _MatTabHeaderBase } from '@angular/material/tabs';
|
|
11
10
|
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
@@ -31,7 +30,6 @@ export declare class MatTabHeader extends _MatTabHeaderBase implements AfterCont
|
|
|
31
30
|
_inkBar: MatInkBar;
|
|
32
31
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
|
|
33
32
|
ngAfterContentInit(): void;
|
|
34
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
35
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabHeader, [null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
36
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabHeader, "mat-tab-header", never, { "selectedIndex": "selectedIndex"; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_items"], ["*"]>;
|
|
37
35
|
}
|
|
@@ -19,11 +19,10 @@ export declare class MatTabLabelWrapper extends BaseMatTabLabelWrapper implement
|
|
|
19
19
|
_foundation: MatInkBarFoundation;
|
|
20
20
|
/** Whether the ink bar should fit its width to the size of the tab label content. */
|
|
21
21
|
get fitInkBarToContent(): boolean;
|
|
22
|
-
set fitInkBarToContent(v:
|
|
22
|
+
set fitInkBarToContent(v: BooleanInput);
|
|
23
23
|
constructor(elementRef: ElementRef, _document: any);
|
|
24
24
|
ngOnInit(): void;
|
|
25
25
|
ngOnDestroy(): void;
|
|
26
|
-
static ngAcceptInputType_fitInkBarToContent: BooleanInput;
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabLabelWrapper, never>;
|
|
28
27
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabLabelWrapper, "[matTabLabelWrapper]", never, { "disabled": "disabled"; "fitInkBarToContent": "fitInkBarToContent"; }, {}, never>;
|
|
29
28
|
}
|
|
@@ -23,7 +23,7 @@ import * as i0 from "@angular/core";
|
|
|
23
23
|
export declare class MatTabNav extends _MatTabNavBase implements AfterContentInit {
|
|
24
24
|
/** Whether the ink bar should fit its width to the size of the tab label content. */
|
|
25
25
|
get fitInkBarToContent(): boolean;
|
|
26
|
-
set fitInkBarToContent(v:
|
|
26
|
+
set fitInkBarToContent(v: BooleanInput);
|
|
27
27
|
_fitInkBarToContent: BehaviorSubject<boolean>;
|
|
28
28
|
_items: QueryList<MatTabLink>;
|
|
29
29
|
_tabListContainer: ElementRef;
|
|
@@ -34,8 +34,6 @@ export declare class MatTabNav extends _MatTabNavBase implements AfterContentIni
|
|
|
34
34
|
_inkBar: MatInkBar;
|
|
35
35
|
constructor(elementRef: ElementRef, dir: Directionality, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, platform: Platform, animationMode?: string, defaultConfig?: MatTabsConfig);
|
|
36
36
|
ngAfterContentInit(): void;
|
|
37
|
-
static ngAcceptInputType_fitInkBarToContent: BooleanInput;
|
|
38
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
39
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabNav, [null, { optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
40
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { "color": "color"; "fitInkBarToContent": "fitInkBarToContent"; }, {}, ["_items"], ["*"]>;
|
|
41
39
|
}
|
|
@@ -52,3 +50,14 @@ export declare class MatTabLink extends _MatTabLinkBase implements MatInkBarItem
|
|
|
52
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabLink, [null, null, { optional: true; }, { attribute: "tabindex"; }, null, null, { optional: true; }]>;
|
|
53
51
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabLink, "[mat-tab-link], [matTabLink]", ["matTabLink"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; }, {}, never, ["*"]>;
|
|
54
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Tab panel component associated with MatTabNav.
|
|
55
|
+
*/
|
|
56
|
+
export declare class MatTabNavPanel {
|
|
57
|
+
/** Unique id for the tab panel. */
|
|
58
|
+
id: string;
|
|
59
|
+
/** Id of the active tab in the nav bar. */
|
|
60
|
+
_activeTabId?: string;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabNavPanel, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNavPanel, "mat-tab-nav-panel", ["matTabNavPanel"], { "id": "id"; }, {}, never, ["*"]>;
|
|
63
|
+
}
|
|
@@ -24,3 +24,6 @@ export interface TabLinkHarnessFilters extends BaseHarnessFilters {
|
|
|
24
24
|
/** A set of criteria that can be used to filter a list of `MatTabNavBarHarness` instances. */
|
|
25
25
|
export interface TabNavBarHarnessFilters extends BaseHarnessFilters {
|
|
26
26
|
}
|
|
27
|
+
/** A set of criteria that can be used to filter a list of `MatTabNavBarHarness` instances. */
|
|
28
|
+
export interface TabNavPanelHarnessFilters extends BaseHarnessFilters {
|
|
29
|
+
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
9
9
|
import { TabNavBarHarnessFilters, TabLinkHarnessFilters } from './tab-harness-filters';
|
|
10
10
|
import { MatTabLinkHarness } from './tab-link-harness';
|
|
11
|
+
import { MatTabNavPanelHarness } from './tab-nav-panel-harness';
|
|
11
12
|
/** Harness for interacting with an MDC-based mat-tab-nav-bar in tests. */
|
|
12
13
|
export declare class MatTabNavBarHarness extends ComponentHarness {
|
|
13
14
|
/** The selector for the host element of a `MatTabNavBar` instance. */
|
|
@@ -32,4 +33,6 @@ export declare class MatTabNavBarHarness extends ComponentHarness {
|
|
|
32
33
|
* will be clicked.
|
|
33
34
|
*/
|
|
34
35
|
clickLink(filter?: TabLinkHarnessFilters): Promise<void>;
|
|
36
|
+
/** Gets the panel associated with the nav bar. */
|
|
37
|
+
getPanel(): Promise<MatTabNavPanelHarness>;
|
|
35
38
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { ContentContainerComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
9
|
+
import { TabNavPanelHarnessFilters } from './tab-harness-filters';
|
|
10
|
+
/** Harness for interacting with a standard mat-tab-nav-panel in tests. */
|
|
11
|
+
export declare class MatTabNavPanelHarness extends ContentContainerComponentHarness {
|
|
12
|
+
/** The selector for the host element of a `MatTabNavPanel` instance. */
|
|
13
|
+
static hostSelector: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets a `HarnessPredicate` that can be used to search for a `MatTabNavPanel` that meets
|
|
16
|
+
* certain criteria.
|
|
17
|
+
* @param options Options for filtering which tab nav panel instances are considered a match.
|
|
18
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
19
|
+
*/
|
|
20
|
+
static with(options?: TabNavPanelHarnessFilters): HarnessPredicate<MatTabNavPanelHarness>;
|
|
21
|
+
/** Gets the tab panel text content. */
|
|
22
|
+
getTextContent(): Promise<string>;
|
|
23
|
+
}
|