@angular/material 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/autocomplete/autocomplete-trigger.d.ts +1 -2
- package/autocomplete/autocomplete.d.ts +1 -3
- package/badge/badge.d.ts +2 -5
- package/button/button.d.ts +0 -3
- package/button-toggle/button-toggle.d.ts +5 -13
- package/checkbox/checkbox.d.ts +6 -11
- package/chips/chip-input.d.ts +2 -4
- package/chips/chip-list.d.ts +4 -8
- package/chips/chip.d.ts +5 -11
- package/core/focus-indicators/_focus-indicators.scss +4 -0
- package/core/option/index.d.ts +1 -1
- package/core/option/optgroup.d.ts +0 -2
- package/core/option/option.d.ts +3 -4
- package/core/selection/index.d.ts +8 -8
- package/core/selection/pseudo-checkbox/pseudo-checkbox-module.d.ts +8 -0
- package/datepicker/date-range-input.d.ts +2 -4
- package/datepicker/datepicker-base.d.ts +4 -8
- package/datepicker/datepicker-input-base.d.ts +2 -4
- package/datepicker/datepicker-toggle.d.ts +1 -2
- package/divider/divider.d.ts +2 -4
- package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
- package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
- package/esm2020/autocomplete/autocomplete-trigger.mjs +7 -7
- package/esm2020/autocomplete/autocomplete.mjs +7 -7
- package/esm2020/badge/badge-module.mjs +5 -5
- package/esm2020/badge/badge.mjs +4 -4
- package/esm2020/bottom-sheet/bottom-sheet-container.mjs +4 -4
- package/esm2020/bottom-sheet/bottom-sheet-module.mjs +5 -5
- package/esm2020/bottom-sheet/bottom-sheet.mjs +4 -4
- package/esm2020/button/button-module.mjs +5 -5
- package/esm2020/button/button.mjs +7 -7
- package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
- package/esm2020/button-toggle/button-toggle.mjs +7 -7
- package/esm2020/card/card-module.mjs +5 -5
- package/esm2020/card/card.mjs +43 -43
- package/esm2020/checkbox/checkbox-module.mjs +9 -9
- package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2020/checkbox/checkbox.mjs +4 -4
- package/esm2020/chips/chip-input.mjs +4 -4
- package/esm2020/chips/chip-list.mjs +4 -4
- package/esm2020/chips/chip.mjs +13 -13
- package/esm2020/chips/chips-module.mjs +5 -5
- package/esm2020/core/common-behaviors/common-module.mjs +6 -6
- package/esm2020/core/common-behaviors/disable-ripple.mjs +1 -1
- package/esm2020/core/common-behaviors/disabled.mjs +1 -1
- package/esm2020/core/datetime/index.mjs +9 -9
- package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
- package/esm2020/core/error/error-options.mjs +7 -7
- package/esm2020/core/line/line.mjs +8 -8
- package/esm2020/core/option/index.mjs +5 -5
- package/esm2020/core/option/optgroup.mjs +14 -7
- package/esm2020/core/option/option.mjs +8 -8
- package/esm2020/core/ripple/index.mjs +5 -5
- package/esm2020/core/ripple/ripple.mjs +4 -4
- package/esm2020/core/selection/index.mjs +2 -18
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +25 -0
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/calendar-body.mjs +5 -5
- package/esm2020/datepicker/calendar.mjs +7 -7
- package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
- package/esm2020/datepicker/date-range-input.mjs +4 -4
- package/esm2020/datepicker/date-range-picker.mjs +4 -4
- package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
- package/esm2020/datepicker/date-selection-model.mjs +10 -10
- package/esm2020/datepicker/datepicker-actions.mjs +10 -10
- package/esm2020/datepicker/datepicker-base.mjs +7 -7
- package/esm2020/datepicker/datepicker-input-base.mjs +4 -4
- package/esm2020/datepicker/datepicker-input.mjs +4 -4
- package/esm2020/datepicker/datepicker-intl.mjs +4 -4
- package/esm2020/datepicker/datepicker-module.mjs +5 -5
- package/esm2020/datepicker/datepicker-toggle.mjs +7 -7
- package/esm2020/datepicker/datepicker.mjs +4 -4
- package/esm2020/datepicker/month-view.mjs +4 -4
- package/esm2020/datepicker/multi-year-view.mjs +4 -4
- package/esm2020/datepicker/year-view.mjs +4 -4
- package/esm2020/dialog/dialog-container.mjs +7 -7
- package/esm2020/dialog/dialog-content-directives.mjs +13 -13
- package/esm2020/dialog/dialog-module.mjs +5 -5
- package/esm2020/dialog/dialog.mjs +7 -7
- package/esm2020/divider/divider-module.mjs +5 -5
- package/esm2020/divider/divider.mjs +4 -4
- package/esm2020/expansion/accordion.mjs +4 -4
- package/esm2020/expansion/expansion-module.mjs +5 -5
- package/esm2020/expansion/expansion-panel-content.mjs +4 -4
- package/esm2020/expansion/expansion-panel-header.mjs +10 -10
- package/esm2020/expansion/expansion-panel.mjs +7 -7
- package/esm2020/form-field/error.mjs +4 -4
- package/esm2020/form-field/form-field-control.mjs +4 -4
- package/esm2020/form-field/form-field-module.mjs +5 -5
- package/esm2020/form-field/form-field.mjs +4 -4
- package/esm2020/form-field/hint.mjs +4 -4
- package/esm2020/form-field/label.mjs +4 -4
- package/esm2020/form-field/placeholder.mjs +4 -4
- package/esm2020/form-field/prefix.mjs +4 -4
- package/esm2020/form-field/suffix.mjs +4 -4
- package/esm2020/grid-list/grid-list-module.mjs +5 -5
- package/esm2020/grid-list/grid-list.mjs +4 -4
- package/esm2020/grid-list/grid-tile.mjs +16 -16
- package/esm2020/icon/icon-module.mjs +5 -5
- package/esm2020/icon/icon-registry.mjs +4 -4
- package/esm2020/icon/icon.mjs +4 -4
- package/esm2020/icon/testing/fake-icon-registry.mjs +8 -8
- package/esm2020/input/input-module.mjs +5 -5
- package/esm2020/input/input.mjs +4 -4
- package/esm2020/list/list-module.mjs +5 -5
- package/esm2020/list/list.mjs +19 -19
- package/esm2020/list/selection-list.mjs +7 -7
- package/esm2020/menu/menu-content.mjs +8 -10
- package/esm2020/menu/menu-item.mjs +7 -20
- package/esm2020/menu/menu-module.mjs +5 -5
- package/esm2020/menu/menu-trigger.mjs +9 -12
- package/esm2020/menu/menu.mjs +7 -7
- package/esm2020/paginator/paginator-intl.mjs +4 -4
- package/esm2020/paginator/paginator-module.mjs +5 -5
- package/esm2020/paginator/paginator.mjs +9 -9
- package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
- package/esm2020/progress-bar/progress-bar.mjs +4 -4
- package/esm2020/progress-spinner/progress-spinner-module.mjs +5 -5
- package/esm2020/progress-spinner/progress-spinner.mjs +7 -7
- package/esm2020/radio/radio-module.mjs +5 -5
- package/esm2020/radio/radio.mjs +14 -14
- package/esm2020/select/select-module.mjs +5 -5
- package/esm2020/select/select.mjs +10 -10
- package/esm2020/sidenav/drawer.mjs +11 -11
- package/esm2020/sidenav/sidenav-module.mjs +5 -5
- package/esm2020/sidenav/sidenav.mjs +10 -10
- package/esm2020/slide-toggle/slide-toggle-module.mjs +9 -9
- package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
- package/esm2020/slide-toggle/slide-toggle.mjs +4 -4
- package/esm2020/slider/slider-module.mjs +5 -5
- package/esm2020/slider/slider.mjs +4 -4
- package/esm2020/snack-bar/simple-snack-bar.mjs +4 -4
- package/esm2020/snack-bar/snack-bar-container.mjs +4 -4
- package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
- package/esm2020/snack-bar/snack-bar.mjs +4 -4
- package/esm2020/sort/sort-header-intl.mjs +4 -4
- package/esm2020/sort/sort-header.mjs +4 -4
- package/esm2020/sort/sort-module.mjs +5 -5
- package/esm2020/sort/sort.mjs +4 -4
- package/esm2020/stepper/step-content.mjs +4 -4
- package/esm2020/stepper/step-header.mjs +5 -5
- package/esm2020/stepper/step-label.mjs +4 -4
- package/esm2020/stepper/stepper-button.mjs +7 -7
- package/esm2020/stepper/stepper-icon.mjs +4 -4
- package/esm2020/stepper/stepper-intl.mjs +4 -4
- package/esm2020/stepper/stepper-module.mjs +5 -5
- package/esm2020/stepper/stepper.mjs +16 -16
- package/esm2020/table/cell.mjs +22 -22
- package/esm2020/table/row.mjs +22 -22
- package/esm2020/table/table-module.mjs +5 -5
- package/esm2020/table/table.mjs +9 -9
- package/esm2020/table/text-column.mjs +4 -4
- package/esm2020/tabs/ink-bar.mjs +4 -4
- package/esm2020/tabs/paginated-tab-header.mjs +4 -4
- package/esm2020/tabs/public-api.mjs +2 -2
- package/esm2020/tabs/tab-body.mjs +10 -10
- package/esm2020/tabs/tab-content.mjs +4 -4
- package/esm2020/tabs/tab-group.mjs +8 -8
- package/esm2020/tabs/tab-header.mjs +8 -8
- package/esm2020/tabs/tab-label-wrapper.mjs +11 -4
- package/esm2020/tabs/tab-label.mjs +4 -4
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +99 -17
- package/esm2020/tabs/tab.mjs +11 -4
- package/esm2020/tabs/tabs-module.mjs +10 -6
- package/esm2020/tabs/testing/tab-harness-filters.mjs +1 -1
- package/esm2020/tabs/testing/tab-nav-bar-harness.mjs +13 -1
- package/esm2020/tabs/testing/tab-nav-panel-harness.mjs +27 -0
- package/esm2020/toolbar/toolbar-module.mjs +5 -5
- package/esm2020/toolbar/toolbar.mjs +7 -7
- package/esm2020/tooltip/tooltip-module.mjs +5 -5
- package/esm2020/tooltip/tooltip.mjs +30 -18
- package/esm2020/tree/node.mjs +10 -10
- package/esm2020/tree/outlet.mjs +4 -4
- package/esm2020/tree/padding.mjs +4 -11
- package/esm2020/tree/toggle.mjs +4 -4
- package/esm2020/tree/tree-module.mjs +5 -5
- package/esm2020/tree/tree.mjs +4 -4
- package/expansion/accordion.d.ts +1 -2
- package/expansion/expansion-panel-header.d.ts +0 -2
- package/expansion/expansion-panel.d.ts +1 -2
- package/fesm2015/autocomplete.mjs +22 -22
- package/fesm2015/autocomplete.mjs.map +1 -1
- package/fesm2015/badge.mjs +7 -7
- package/fesm2015/badge.mjs.map +1 -1
- package/fesm2015/bottom-sheet.mjs +10 -10
- package/fesm2015/bottom-sheet.mjs.map +1 -1
- package/fesm2015/button-toggle.mjs +10 -10
- package/fesm2015/button-toggle.mjs.map +1 -1
- package/fesm2015/button.mjs +10 -10
- package/fesm2015/button.mjs.map +1 -1
- package/fesm2015/card.mjs +46 -46
- package/fesm2015/card.mjs.map +1 -1
- package/fesm2015/checkbox.mjs +14 -14
- package/fesm2015/checkbox.mjs.map +1 -1
- package/fesm2015/chips.mjs +22 -22
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +76 -61
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +83 -83
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/dialog.mjs +28 -28
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/divider.mjs +7 -7
- package/fesm2015/divider.mjs.map +1 -1
- package/fesm2015/expansion.mjs +25 -25
- package/fesm2015/expansion.mjs.map +1 -1
- package/fesm2015/form-field.mjs +28 -28
- package/fesm2015/form-field.mjs.map +1 -1
- package/fesm2015/grid-list.mjs +22 -22
- package/fesm2015/grid-list.mjs.map +1 -1
- package/fesm2015/icon/testing.mjs +7 -7
- package/fesm2015/icon/testing.mjs.map +1 -1
- package/fesm2015/icon.mjs +10 -10
- package/fesm2015/icon.mjs.map +1 -1
- package/fesm2015/input.mjs +7 -7
- package/fesm2015/input.mjs.map +1 -1
- package/fesm2015/list.mjs +28 -28
- package/fesm2015/list.mjs.map +1 -1
- package/fesm2015/menu.mjs +32 -48
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/paginator.mjs +15 -15
- package/fesm2015/paginator.mjs.map +1 -1
- package/fesm2015/progress-bar.mjs +7 -7
- package/fesm2015/progress-bar.mjs.map +1 -1
- package/fesm2015/progress-spinner.mjs +10 -10
- package/fesm2015/progress-spinner.mjs.map +1 -1
- package/fesm2015/radio.mjs +16 -16
- package/fesm2015/radio.mjs.map +1 -1
- package/fesm2015/select.mjs +13 -13
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2015/sidenav.mjs +23 -23
- package/fesm2015/sidenav.mjs.map +1 -1
- package/fesm2015/slide-toggle.mjs +14 -14
- package/fesm2015/slide-toggle.mjs.map +1 -1
- package/fesm2015/slider.mjs +7 -7
- package/fesm2015/slider.mjs.map +1 -1
- package/fesm2015/snack-bar.mjs +13 -13
- package/fesm2015/snack-bar.mjs.map +1 -1
- package/fesm2015/sort.mjs +13 -13
- package/fesm2015/sort.mjs.map +1 -1
- package/fesm2015/stepper.mjs +41 -41
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +57 -57
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/tabs/testing.mjs +34 -0
- package/fesm2015/tabs/testing.mjs.map +1 -1
- package/fesm2015/tabs.mjs +162 -62
- package/fesm2015/tabs.mjs.map +1 -1
- package/fesm2015/toolbar.mjs +10 -10
- package/fesm2015/toolbar.mjs.map +1 -1
- package/fesm2015/tooltip.mjs +33 -21
- package/fesm2015/tooltip.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -32
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +22 -22
- package/fesm2020/autocomplete.mjs.map +1 -1
- package/fesm2020/badge.mjs +7 -7
- package/fesm2020/badge.mjs.map +1 -1
- package/fesm2020/bottom-sheet.mjs +10 -10
- package/fesm2020/bottom-sheet.mjs.map +1 -1
- package/fesm2020/button-toggle.mjs +10 -10
- package/fesm2020/button-toggle.mjs.map +1 -1
- package/fesm2020/button.mjs +10 -10
- package/fesm2020/button.mjs.map +1 -1
- package/fesm2020/card.mjs +46 -46
- package/fesm2020/card.mjs.map +1 -1
- package/fesm2020/checkbox.mjs +14 -14
- package/fesm2020/checkbox.mjs.map +1 -1
- package/fesm2020/chips.mjs +22 -22
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +76 -61
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +83 -83
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/dialog.mjs +28 -28
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/divider.mjs +7 -7
- package/fesm2020/divider.mjs.map +1 -1
- package/fesm2020/expansion.mjs +25 -25
- package/fesm2020/expansion.mjs.map +1 -1
- package/fesm2020/form-field.mjs +28 -28
- package/fesm2020/form-field.mjs.map +1 -1
- package/fesm2020/grid-list.mjs +22 -22
- package/fesm2020/grid-list.mjs.map +1 -1
- package/fesm2020/icon/testing.mjs +7 -7
- package/fesm2020/icon/testing.mjs.map +1 -1
- package/fesm2020/icon.mjs +10 -10
- package/fesm2020/icon.mjs.map +1 -1
- package/fesm2020/input.mjs +7 -7
- package/fesm2020/input.mjs.map +1 -1
- package/fesm2020/list.mjs +28 -28
- package/fesm2020/list.mjs.map +1 -1
- package/fesm2020/menu.mjs +30 -48
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/paginator.mjs +15 -15
- package/fesm2020/paginator.mjs.map +1 -1
- package/fesm2020/progress-bar.mjs +7 -7
- package/fesm2020/progress-bar.mjs.map +1 -1
- package/fesm2020/progress-spinner.mjs +10 -10
- package/fesm2020/progress-spinner.mjs.map +1 -1
- package/fesm2020/radio.mjs +16 -16
- package/fesm2020/radio.mjs.map +1 -1
- package/fesm2020/select.mjs +13 -13
- package/fesm2020/select.mjs.map +1 -1
- package/fesm2020/sidenav.mjs +23 -23
- package/fesm2020/sidenav.mjs.map +1 -1
- package/fesm2020/slide-toggle.mjs +14 -14
- package/fesm2020/slide-toggle.mjs.map +1 -1
- package/fesm2020/slider.mjs +7 -7
- package/fesm2020/slider.mjs.map +1 -1
- package/fesm2020/snack-bar.mjs +13 -13
- package/fesm2020/snack-bar.mjs.map +1 -1
- package/fesm2020/sort.mjs +13 -13
- package/fesm2020/sort.mjs.map +1 -1
- package/fesm2020/stepper.mjs +41 -41
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +57 -57
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/tabs/testing.mjs +37 -0
- package/fesm2020/tabs/testing.mjs.map +1 -1
- package/fesm2020/tabs.mjs +161 -62
- package/fesm2020/tabs.mjs.map +1 -1
- package/fesm2020/toolbar.mjs +10 -10
- package/fesm2020/toolbar.mjs.map +1 -1
- package/fesm2020/tooltip.mjs +33 -21
- package/fesm2020/tooltip.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -32
- package/fesm2020/tree.mjs.map +1 -1
- package/form-field/form-field.d.ts +1 -2
- package/grid-list/grid-list.d.ts +1 -2
- package/grid-list/grid-tile.d.ts +2 -4
- package/icon/icon.d.ts +1 -2
- package/input/input.d.ts +4 -8
- package/list/list.d.ts +1 -7
- package/list/selection-list.d.ts +6 -12
- package/menu/menu-content.d.ts +5 -1
- package/menu/menu-item.d.ts +3 -15
- package/menu/menu-trigger.d.ts +6 -2
- package/menu/menu.d.ts +2 -4
- package/package.json +3 -2
- package/paginator/paginator.d.ts +5 -11
- package/progress-bar/progress-bar.d.ts +1 -2
- package/progress-spinner/progress-spinner.d.ts +3 -6
- package/radio/radio.d.ts +6 -13
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +1 -2
- package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +1 -2
- package/schematics/ng-update/migrations/theming-api-v12/migration.js +2 -2
- package/schematics/ng-update/migrations/theming-api-v12/migration.mjs +2 -2
- package/select/select.d.ts +4 -11
- package/sidenav/drawer.d.ts +6 -11
- package/sidenav/sidenav.d.ts +3 -6
- package/slide-toggle/slide-toggle.d.ts +3 -8
- package/slider/slider.d.ts +8 -18
- package/sort/sort-header.d.ts +1 -3
- package/sort/sort.d.ts +1 -3
- package/table/_table-flex-styles.scss +0 -9
- package/tabs/_tabs-common.scss +0 -1
- package/tabs/paginated-tab-header.d.ts +1 -2
- package/tabs/public-api.d.ts +1 -1
- package/tabs/tab-group.d.ts +4 -9
- package/tabs/tab-header.d.ts +2 -3
- package/tabs/tab-label-wrapper.d.ts +0 -2
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +33 -11
- package/tabs/tab.d.ts +0 -2
- package/tabs/tabs-module.d.ts +1 -1
- package/tabs/testing/tab-harness-filters.d.ts +3 -0
- package/tabs/testing/tab-nav-bar-harness.d.ts +3 -0
- package/tabs/testing/tab-nav-panel-harness.d.ts +23 -0
- package/tooltip/tooltip.d.ts +7 -6
- package/tree/node.d.ts +3 -6
- package/tree/padding.d.ts +2 -1
package/select/select.d.ts
CHANGED
|
@@ -179,15 +179,15 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
|
|
|
179
179
|
private _placeholder;
|
|
180
180
|
/** Whether the component is required. */
|
|
181
181
|
get required(): boolean;
|
|
182
|
-
set required(value:
|
|
182
|
+
set required(value: BooleanInput);
|
|
183
183
|
private _required;
|
|
184
184
|
/** Whether the user should be allowed to select multiple options. */
|
|
185
185
|
get multiple(): boolean;
|
|
186
|
-
set multiple(value:
|
|
186
|
+
set multiple(value: BooleanInput);
|
|
187
187
|
private _multiple;
|
|
188
188
|
/** Whether to center the active option over the trigger. */
|
|
189
189
|
get disableOptionCentering(): boolean;
|
|
190
|
-
set disableOptionCentering(value:
|
|
190
|
+
set disableOptionCentering(value: BooleanInput);
|
|
191
191
|
private _disableOptionCentering;
|
|
192
192
|
/**
|
|
193
193
|
* Function to compare the option values with the selected values. The first argument
|
|
@@ -208,7 +208,7 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
|
|
|
208
208
|
errorStateMatcher: ErrorStateMatcher;
|
|
209
209
|
/** Time to wait in milliseconds after the last keystroke before moving focus to an item. */
|
|
210
210
|
get typeaheadDebounceInterval(): number;
|
|
211
|
-
set typeaheadDebounceInterval(value:
|
|
211
|
+
set typeaheadDebounceInterval(value: NumberInput);
|
|
212
212
|
private _typeaheadDebounceInterval;
|
|
213
213
|
/**
|
|
214
214
|
* Function used to sort the values in a select in multiple mode.
|
|
@@ -358,13 +358,6 @@ export declare abstract class _MatSelectBase<C> extends _MatSelectMixinBase impl
|
|
|
358
358
|
* @docs-private
|
|
359
359
|
*/
|
|
360
360
|
get shouldLabelFloat(): boolean;
|
|
361
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
362
|
-
static ngAcceptInputType_multiple: BooleanInput;
|
|
363
|
-
static ngAcceptInputType_disableOptionCentering: BooleanInput;
|
|
364
|
-
static ngAcceptInputType_typeaheadDebounceInterval: NumberInput;
|
|
365
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
366
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
367
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
368
361
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatSelectBase<any>, [null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; self: true; }, { attribute: "tabindex"; }, null, null, { optional: true; }]>;
|
|
369
362
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatSelectBase<any>, never, never, { "panelClass": "panelClass"; "placeholder": "placeholder"; "required": "required"; "multiple": "multiple"; "disableOptionCentering": "disableOptionCentering"; "compareWith": "compareWith"; "value": "value"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "errorStateMatcher": "errorStateMatcher"; "typeaheadDebounceInterval": "typeaheadDebounceInterval"; "sortComparator": "sortComparator"; "id": "id"; }, { "openedChange": "openedChange"; "_openedStream": "opened"; "_closedStream": "closed"; "selectionChange": "selectionChange"; "valueChange": "valueChange"; }, never>;
|
|
370
363
|
}
|
package/sidenav/drawer.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export declare class MatDrawer implements AfterContentInit, AfterContentChecked,
|
|
|
68
68
|
private _mode;
|
|
69
69
|
/** Whether the drawer can be closed with the escape key or by clicking on the backdrop. */
|
|
70
70
|
get disableClose(): boolean;
|
|
71
|
-
set disableClose(value:
|
|
71
|
+
set disableClose(value: BooleanInput);
|
|
72
72
|
private _disableClose;
|
|
73
73
|
/**
|
|
74
74
|
* Whether the drawer should focus the first focusable element automatically when opened.
|
|
@@ -78,14 +78,14 @@ export declare class MatDrawer implements AfterContentInit, AfterContentChecked,
|
|
|
78
78
|
* instead.
|
|
79
79
|
*/
|
|
80
80
|
get autoFocus(): AutoFocusTarget | string | boolean;
|
|
81
|
-
set autoFocus(value: AutoFocusTarget | string |
|
|
81
|
+
set autoFocus(value: AutoFocusTarget | string | BooleanInput);
|
|
82
82
|
private _autoFocus;
|
|
83
83
|
/**
|
|
84
84
|
* Whether the drawer is opened. We overload this because we trigger an event when it
|
|
85
85
|
* starts or end.
|
|
86
86
|
*/
|
|
87
87
|
get opened(): boolean;
|
|
88
|
-
set opened(value:
|
|
88
|
+
set opened(value: BooleanInput);
|
|
89
89
|
private _opened;
|
|
90
90
|
/** How the sidenav was opened (keypress, mouse click etc.) */
|
|
91
91
|
private _openedVia;
|
|
@@ -168,9 +168,6 @@ export declare class MatDrawer implements AfterContentInit, AfterContentChecked,
|
|
|
168
168
|
_getWidth(): number;
|
|
169
169
|
/** Updates the enabled state of the focus trap. */
|
|
170
170
|
private _updateFocusTrapState;
|
|
171
|
-
static ngAcceptInputType_disableClose: BooleanInput;
|
|
172
|
-
static ngAcceptInputType_autoFocus: AutoFocusTarget | string | BooleanInput;
|
|
173
|
-
static ngAcceptInputType_opened: BooleanInput;
|
|
174
171
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDrawer, [null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
175
172
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatDrawer, "mat-drawer", ["matDrawer"], { "position": "position"; "mode": "mode"; "disableClose": "disableClose"; "autoFocus": "autoFocus"; "opened": "opened"; }, { "openedChange": "openedChange"; "_openedStream": "opened"; "openedStart": "openedStart"; "_closedStream": "closed"; "closedStart": "closedStart"; "onPositionChanged": "positionChanged"; }, never, ["*"]>;
|
|
176
173
|
}
|
|
@@ -205,15 +202,15 @@ export declare class MatDrawerContainer implements AfterContentInit, DoCheck, On
|
|
|
205
202
|
* `MAT_DRAWER_DEFAULT_AUTOSIZE` token.
|
|
206
203
|
*/
|
|
207
204
|
get autosize(): boolean;
|
|
208
|
-
set autosize(value:
|
|
205
|
+
set autosize(value: BooleanInput);
|
|
209
206
|
private _autosize;
|
|
210
207
|
/**
|
|
211
208
|
* Whether the drawer container should have a backdrop while one of the sidenavs is open.
|
|
212
209
|
* If explicitly set to `true`, the backdrop will be enabled for drawers in the `side`
|
|
213
210
|
* mode as well.
|
|
214
211
|
*/
|
|
215
|
-
get hasBackdrop():
|
|
216
|
-
set hasBackdrop(value:
|
|
212
|
+
get hasBackdrop(): boolean;
|
|
213
|
+
set hasBackdrop(value: BooleanInput);
|
|
217
214
|
_backdropOverride: boolean | null;
|
|
218
215
|
/** Event emitted when the drawer backdrop is clicked. */
|
|
219
216
|
readonly backdropClick: EventEmitter<void>;
|
|
@@ -284,8 +281,6 @@ export declare class MatDrawerContainer implements AfterContentInit, DoCheck, On
|
|
|
284
281
|
_isShowingBackdrop(): boolean;
|
|
285
282
|
private _canHaveBackdrop;
|
|
286
283
|
private _isDrawerOpen;
|
|
287
|
-
static ngAcceptInputType_autosize: BooleanInput;
|
|
288
|
-
static ngAcceptInputType_hasBackdrop: BooleanInput;
|
|
289
284
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDrawerContainer, [{ optional: true; }, null, null, null, null, null, { optional: true; }]>;
|
|
290
285
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatDrawerContainer, "mat-drawer-container", ["matDrawerContainer"], { "autosize": "autosize"; "hasBackdrop": "hasBackdrop"; }, { "backdropClick": "backdropClick"; }, ["_content", "_allDrawers"], ["mat-drawer", "mat-drawer-content", "*"]>;
|
|
291
286
|
}
|
package/sidenav/sidenav.d.ts
CHANGED
|
@@ -18,25 +18,22 @@ export declare class MatSidenavContent extends MatDrawerContent {
|
|
|
18
18
|
export declare class MatSidenav extends MatDrawer {
|
|
19
19
|
/** Whether the sidenav is fixed in the viewport. */
|
|
20
20
|
get fixedInViewport(): boolean;
|
|
21
|
-
set fixedInViewport(value:
|
|
21
|
+
set fixedInViewport(value: BooleanInput);
|
|
22
22
|
private _fixedInViewport;
|
|
23
23
|
/**
|
|
24
24
|
* The gap between the top of the sidenav and the top of the viewport when the sidenav is in fixed
|
|
25
25
|
* mode.
|
|
26
26
|
*/
|
|
27
27
|
get fixedTopGap(): number;
|
|
28
|
-
set fixedTopGap(value:
|
|
28
|
+
set fixedTopGap(value: NumberInput);
|
|
29
29
|
private _fixedTopGap;
|
|
30
30
|
/**
|
|
31
31
|
* The gap between the bottom of the sidenav and the bottom of the viewport when the sidenav is in
|
|
32
32
|
* fixed mode.
|
|
33
33
|
*/
|
|
34
34
|
get fixedBottomGap(): number;
|
|
35
|
-
set fixedBottomGap(value:
|
|
35
|
+
set fixedBottomGap(value: NumberInput);
|
|
36
36
|
private _fixedBottomGap;
|
|
37
|
-
static ngAcceptInputType_fixedInViewport: BooleanInput;
|
|
38
|
-
static ngAcceptInputType_fixedTopGap: NumberInput;
|
|
39
|
-
static ngAcceptInputType_fixedBottomGap: NumberInput;
|
|
40
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSidenav, never>;
|
|
41
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatSidenav, "mat-sidenav", ["matSidenav"], { "fixedInViewport": "fixedInViewport"; "fixedTopGap": "fixedTopGap"; "fixedBottomGap": "fixedBottomGap"; }, {}, never, ["*"]>;
|
|
42
39
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
|
|
9
|
-
import { BooleanInput
|
|
9
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
10
|
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
11
11
|
import { ControlValueAccessor } from '@angular/forms';
|
|
12
12
|
import { CanColor, CanDisable, CanDisableRipple, HasTabIndex } from '@angular/material/core';
|
|
@@ -62,10 +62,10 @@ export declare class MatSlideToggle extends _MatSlideToggleBase implements OnDes
|
|
|
62
62
|
ariaDescribedby: string;
|
|
63
63
|
/** Whether the slide-toggle is required. */
|
|
64
64
|
get required(): boolean;
|
|
65
|
-
set required(value:
|
|
65
|
+
set required(value: BooleanInput);
|
|
66
66
|
/** Whether the slide-toggle element is checked or not. */
|
|
67
67
|
get checked(): boolean;
|
|
68
|
-
set checked(value:
|
|
68
|
+
set checked(value: BooleanInput);
|
|
69
69
|
/** An event will be dispatched each time the slide-toggle changes its value. */
|
|
70
70
|
readonly change: EventEmitter<MatSlideToggleChange>;
|
|
71
71
|
/**
|
|
@@ -103,11 +103,6 @@ export declare class MatSlideToggle extends _MatSlideToggleBase implements OnDes
|
|
|
103
103
|
private _emitChangeEvent;
|
|
104
104
|
/** Method being called whenever the label text changes. */
|
|
105
105
|
_onLabelTextChange(): void;
|
|
106
|
-
static ngAcceptInputType_required: BooleanInput;
|
|
107
|
-
static ngAcceptInputType_checked: BooleanInput;
|
|
108
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
109
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
110
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
111
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggle, [null, null, null, { attribute: "tabindex"; }, null, { optional: true; }]>;
|
|
112
107
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatSlideToggle, "mat-slide-toggle", ["matSlideToggle"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; "name": "name"; "id": "id"; "labelPosition": "labelPosition"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaDescribedby": "aria-describedby"; "required": "required"; "checked": "checked"; }, { "change": "change"; "toggleChange": "toggleChange"; }, never, ["*"]>;
|
|
113
108
|
}
|
package/slider/slider.d.ts
CHANGED
|
@@ -43,34 +43,34 @@ export declare class MatSlider extends _MatSliderBase implements ControlValueAcc
|
|
|
43
43
|
_animationMode?: string | undefined;
|
|
44
44
|
/** Whether the slider is inverted. */
|
|
45
45
|
get invert(): boolean;
|
|
46
|
-
set invert(value:
|
|
46
|
+
set invert(value: BooleanInput);
|
|
47
47
|
private _invert;
|
|
48
48
|
/** The maximum value that the slider can have. */
|
|
49
49
|
get max(): number;
|
|
50
|
-
set max(v:
|
|
50
|
+
set max(v: NumberInput);
|
|
51
51
|
private _max;
|
|
52
52
|
/** The minimum value that the slider can have. */
|
|
53
53
|
get min(): number;
|
|
54
|
-
set min(v:
|
|
54
|
+
set min(v: NumberInput);
|
|
55
55
|
private _min;
|
|
56
56
|
/** The values at which the thumb will snap. */
|
|
57
57
|
get step(): number;
|
|
58
|
-
set step(v:
|
|
58
|
+
set step(v: NumberInput);
|
|
59
59
|
private _step;
|
|
60
60
|
/** Whether or not to show the thumb label. */
|
|
61
61
|
get thumbLabel(): boolean;
|
|
62
|
-
set thumbLabel(value:
|
|
62
|
+
set thumbLabel(value: BooleanInput);
|
|
63
63
|
private _thumbLabel;
|
|
64
64
|
/**
|
|
65
65
|
* How often to show ticks. Relative to the step so that a tick always appears on a step.
|
|
66
66
|
* Ex: Tick interval of 4 with a step of 3 will draw a tick every 4 steps (every 12 values).
|
|
67
67
|
*/
|
|
68
68
|
get tickInterval(): 'auto' | number;
|
|
69
|
-
set tickInterval(value: 'auto' |
|
|
69
|
+
set tickInterval(value: 'auto' | NumberInput);
|
|
70
70
|
private _tickInterval;
|
|
71
71
|
/** Value of the slider. */
|
|
72
72
|
get value(): number;
|
|
73
|
-
set value(v:
|
|
73
|
+
set value(v: NumberInput);
|
|
74
74
|
private _value;
|
|
75
75
|
/**
|
|
76
76
|
* Function that will be used to format the value before it is displayed
|
|
@@ -82,7 +82,7 @@ export declare class MatSlider extends _MatSliderBase implements ControlValueAcc
|
|
|
82
82
|
valueText: string;
|
|
83
83
|
/** Whether the slider is vertical. */
|
|
84
84
|
get vertical(): boolean;
|
|
85
|
-
set vertical(value:
|
|
85
|
+
set vertical(value: BooleanInput);
|
|
86
86
|
private _vertical;
|
|
87
87
|
/** Event emitted when the slider value has changed. */
|
|
88
88
|
readonly change: EventEmitter<MatSliderChange>;
|
|
@@ -261,16 +261,6 @@ export declare class MatSlider extends _MatSliderBase implements ControlValueAcc
|
|
|
261
261
|
* @param isDisabled
|
|
262
262
|
*/
|
|
263
263
|
setDisabledState(isDisabled: boolean): void;
|
|
264
|
-
static ngAcceptInputType_invert: BooleanInput;
|
|
265
|
-
static ngAcceptInputType_max: NumberInput;
|
|
266
|
-
static ngAcceptInputType_min: NumberInput;
|
|
267
|
-
static ngAcceptInputType_step: NumberInput;
|
|
268
|
-
static ngAcceptInputType_thumbLabel: BooleanInput;
|
|
269
|
-
static ngAcceptInputType_tickInterval: NumberInput;
|
|
270
|
-
static ngAcceptInputType_value: NumberInput;
|
|
271
|
-
static ngAcceptInputType_vertical: BooleanInput;
|
|
272
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
273
|
-
static ngAcceptInputType_tabIndex: NumberInput;
|
|
274
264
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSlider, [null, null, null, { optional: true; }, { attribute: "tabindex"; }, null, null, { optional: true; }]>;
|
|
275
265
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatSlider, "mat-slider", ["matSlider"], { "disabled": "disabled"; "color": "color"; "tabIndex": "tabIndex"; "invert": "invert"; "max": "max"; "min": "min"; "step": "step"; "thumbLabel": "thumbLabel"; "tickInterval": "tickInterval"; "value": "value"; "displayWith": "displayWith"; "valueText": "valueText"; "vertical": "vertical"; }, { "change": "change"; "input": "input"; "valueChange": "valueChange"; }, never, never>;
|
|
276
266
|
}
|
package/sort/sort-header.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ export declare class MatSortHeader extends _MatSortHeaderBase implements CanDisa
|
|
|
102
102
|
private _sortActionDescription;
|
|
103
103
|
/** Overrides the disable clear value of the containing MatSort for this MatSortable. */
|
|
104
104
|
get disableClear(): boolean;
|
|
105
|
-
set disableClear(v:
|
|
105
|
+
set disableClear(v: BooleanInput);
|
|
106
106
|
private _disableClear;
|
|
107
107
|
constructor(
|
|
108
108
|
/**
|
|
@@ -160,8 +160,6 @@ export declare class MatSortHeader extends _MatSortHeaderBase implements CanDisa
|
|
|
160
160
|
private _updateSortActionDescription;
|
|
161
161
|
/** Handles changes in the sorting state. */
|
|
162
162
|
private _handleStateChanges;
|
|
163
|
-
static ngAcceptInputType_disableClear: BooleanInput;
|
|
164
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
165
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSortHeader, [null, null, { optional: true; }, { optional: true; }, null, null, { optional: true; }]>;
|
|
166
164
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatSortHeader, "[mat-sort-header]", ["matSortHeader"], { "disabled": "disabled"; "id": "mat-sort-header"; "arrowPosition": "arrowPosition"; "start": "start"; "sortActionDescription": "sortActionDescription"; "disableClear": "disableClear"; }, {}, never, ["*"]>;
|
|
167
165
|
}
|
package/sort/sort.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export declare class MatSort extends _MatSortBase implements CanDisable, HasInit
|
|
|
61
61
|
* May be overriden by the MatSortable's disable clear input.
|
|
62
62
|
*/
|
|
63
63
|
get disableClear(): boolean;
|
|
64
|
-
set disableClear(v:
|
|
64
|
+
set disableClear(v: BooleanInput);
|
|
65
65
|
private _disableClear;
|
|
66
66
|
/** Event emitted when the user changes either the active sort or sort direction. */
|
|
67
67
|
readonly sortChange: EventEmitter<Sort>;
|
|
@@ -83,8 +83,6 @@ export declare class MatSort extends _MatSortBase implements CanDisable, HasInit
|
|
|
83
83
|
ngOnInit(): void;
|
|
84
84
|
ngOnChanges(): void;
|
|
85
85
|
ngOnDestroy(): void;
|
|
86
|
-
static ngAcceptInputType_disableClear: BooleanInput;
|
|
87
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
88
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSort, [{ optional: true; }]>;
|
|
89
87
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSort, "[matSort]", ["matSort"], { "disabled": "matSortDisabled"; "active": "matSortActive"; "start": "matSortStart"; "direction": "matSortDirection"; "disableClear": "matSortDisableClear"; }, { "sortChange": "matSortChange"; }, never>;
|
|
90
88
|
}
|
|
@@ -26,15 +26,6 @@ $row-horizontal-padding: 24px;
|
|
|
26
26
|
border-style: solid;
|
|
27
27
|
align-items: center;
|
|
28
28
|
box-sizing: border-box;
|
|
29
|
-
|
|
30
|
-
// Workaround for https://goo.gl/pFmjJD in IE 11. Adds a pseudo
|
|
31
|
-
// element that will stretch the row the correct height. See:
|
|
32
|
-
// https://connect.microsoft.com/IE/feedback/details/802625
|
|
33
|
-
&::after {
|
|
34
|
-
display: inline-block;
|
|
35
|
-
min-height: inherit;
|
|
36
|
-
content: '';
|
|
37
|
-
}
|
|
38
29
|
}
|
|
39
30
|
|
|
40
31
|
mat-cell, mat-header-cell, mat-footer-cell {
|
package/tabs/_tabs-common.scss
CHANGED
|
@@ -77,7 +77,7 @@ export declare abstract class MatPaginatedTabHeader implements AfterContentCheck
|
|
|
77
77
|
disablePagination: boolean;
|
|
78
78
|
/** The index of the active tab. */
|
|
79
79
|
get selectedIndex(): number;
|
|
80
|
-
set selectedIndex(value:
|
|
80
|
+
set selectedIndex(value: NumberInput);
|
|
81
81
|
private _selectedIndex;
|
|
82
82
|
/** Event emitted when the option is selected. */
|
|
83
83
|
readonly selectFocusedIndex: EventEmitter<number>;
|
|
@@ -189,7 +189,6 @@ export declare abstract class MatPaginatedTabHeader implements AfterContentCheck
|
|
|
189
189
|
* @returns Information on the current scroll distance and the maximum.
|
|
190
190
|
*/
|
|
191
191
|
private _scrollTo;
|
|
192
|
-
static ngAcceptInputType_selectedIndex: NumberInput;
|
|
193
192
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginatedTabHeader, [null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
194
193
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatPaginatedTabHeader, never, never, { "disablePagination": "disablePagination"; }, {}, never>;
|
|
195
194
|
}
|
package/tabs/public-api.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { MatTabHeader, _MatTabHeaderBase } from './tab-header';
|
|
|
13
13
|
export { MatTabLabelWrapper } from './tab-label-wrapper';
|
|
14
14
|
export { MatTab, MAT_TAB_GROUP } from './tab';
|
|
15
15
|
export { MatTabLabel, MAT_TAB } from './tab-label';
|
|
16
|
-
export { MatTabNav, MatTabLink, _MatTabNavBase, _MatTabLinkBase } from './tab-nav-bar/index';
|
|
16
|
+
export { MatTabNav, MatTabLink, MatTabNavPanel, _MatTabNavBase, _MatTabLinkBase, } from './tab-nav-bar/index';
|
|
17
17
|
export { MatTabContent } from './tab-content';
|
|
18
18
|
export { ScrollDirection } from './paginated-tab-header';
|
|
19
19
|
export * from './tabs-animations';
|
package/tabs/tab-group.d.ts
CHANGED
|
@@ -57,17 +57,17 @@ export declare abstract class _MatTabGroupBase extends _MatTabGroupMixinBase imp
|
|
|
57
57
|
private _tabLabelSubscription;
|
|
58
58
|
/** Whether the tab group should grow to the size of the active tab. */
|
|
59
59
|
get dynamicHeight(): boolean;
|
|
60
|
-
set dynamicHeight(value:
|
|
60
|
+
set dynamicHeight(value: BooleanInput);
|
|
61
61
|
private _dynamicHeight;
|
|
62
62
|
/** The index of the active tab. */
|
|
63
63
|
get selectedIndex(): number | null;
|
|
64
|
-
set selectedIndex(value:
|
|
64
|
+
set selectedIndex(value: NumberInput);
|
|
65
65
|
private _selectedIndex;
|
|
66
66
|
/** Position of the tab header. */
|
|
67
67
|
headerPosition: MatTabHeaderPosition;
|
|
68
68
|
/** Duration for the tab animation. Will be normalized to milliseconds if no units are set. */
|
|
69
69
|
get animationDuration(): string;
|
|
70
|
-
set animationDuration(value:
|
|
70
|
+
set animationDuration(value: NumberInput);
|
|
71
71
|
private _animationDuration;
|
|
72
72
|
/**
|
|
73
73
|
* `tabindex` to be set on the inner element that wraps the tab content. Can be used for improved
|
|
@@ -76,7 +76,7 @@ export declare abstract class _MatTabGroupBase extends _MatTabGroupMixinBase imp
|
|
|
76
76
|
* Read more at https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-2/tabs.html
|
|
77
77
|
*/
|
|
78
78
|
get contentTabIndex(): number | null;
|
|
79
|
-
set contentTabIndex(value:
|
|
79
|
+
set contentTabIndex(value: NumberInput);
|
|
80
80
|
private _contentTabIndex;
|
|
81
81
|
/**
|
|
82
82
|
* Whether pagination should be disabled. This can be used to avoid unnecessary
|
|
@@ -143,11 +143,6 @@ export declare abstract class _MatTabGroupBase extends _MatTabGroupMixinBase imp
|
|
|
143
143
|
_getTabIndex(tab: MatTab, idx: number): number | null;
|
|
144
144
|
/** Callback for when the focused state of a tab has changed. */
|
|
145
145
|
_tabFocusChanged(focusOrigin: FocusOrigin, index: number): void;
|
|
146
|
-
static ngAcceptInputType_dynamicHeight: BooleanInput;
|
|
147
|
-
static ngAcceptInputType_animationDuration: NumberInput;
|
|
148
|
-
static ngAcceptInputType_selectedIndex: NumberInput;
|
|
149
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
150
|
-
static ngAcceptInputType_contentTabIndex: NumberInput;
|
|
151
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatTabGroupBase, [null, null, { optional: true; }, { optional: true; }]>;
|
|
152
147
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatTabGroupBase, never, never, { "dynamicHeight": "dynamicHeight"; "selectedIndex": "selectedIndex"; "headerPosition": "headerPosition"; "animationDuration": "animationDuration"; "contentTabIndex": "contentTabIndex"; "disablePagination": "disablePagination"; "backgroundColor": "backgroundColor"; }, { "selectedIndexChange": "selectedIndexChange"; "focusChange": "focusChange"; "animationDone": "animationDone"; "selectedTabChange": "selectedTabChange"; }, never>;
|
|
153
148
|
}
|
package/tabs/tab-header.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ import * as i0 from "@angular/core";
|
|
|
20
20
|
*/
|
|
21
21
|
export declare abstract class _MatTabHeaderBase extends MatPaginatedTabHeader implements AfterContentChecked, AfterContentInit, AfterViewInit, OnDestroy {
|
|
22
22
|
/** Whether the ripple effect is disabled or not. */
|
|
23
|
-
get disableRipple():
|
|
24
|
-
set disableRipple(value:
|
|
23
|
+
get disableRipple(): boolean;
|
|
24
|
+
set disableRipple(value: BooleanInput);
|
|
25
25
|
private _disableRipple;
|
|
26
26
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
|
|
27
27
|
protected _itemSelected(event: KeyboardEvent): void;
|
|
@@ -44,7 +44,6 @@ export declare class MatTabHeader extends _MatTabHeaderBase {
|
|
|
44
44
|
_nextPaginator: ElementRef<HTMLElement>;
|
|
45
45
|
_previousPaginator: ElementRef<HTMLElement>;
|
|
46
46
|
constructor(elementRef: ElementRef, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, dir: Directionality, ngZone: NgZone, platform: Platform, animationMode?: string);
|
|
47
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
48
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabHeader, [null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
49
48
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabHeader, "mat-tab-header", never, { "selectedIndex": "selectedIndex"; }, { "selectFocusedIndex": "selectFocusedIndex"; "indexFocused": "indexFocused"; }, ["_items"], ["*"]>;
|
|
50
49
|
}
|
|
@@ -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 } from '@angular/core';
|
|
10
9
|
import { CanDisable } from '@angular/material/core';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
@@ -24,7 +23,6 @@ export declare class MatTabLabelWrapper extends _MatTabLabelWrapperBase implemen
|
|
|
24
23
|
focus(): void;
|
|
25
24
|
getOffsetLeft(): number;
|
|
26
25
|
getOffsetWidth(): number;
|
|
27
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
28
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabLabelWrapper, never>;
|
|
29
27
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabLabelWrapper, "[matTabLabelWrapper]", never, { "disabled": "disabled"; }, {}, never>;
|
|
30
28
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { FocusableOption, FocusMonitor } from '@angular/cdk/a11y';
|
|
9
9
|
import { Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import { BooleanInput
|
|
10
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
11
11
|
import { Platform } from '@angular/cdk/platform';
|
|
12
12
|
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
13
13
|
import { AfterContentChecked, AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, OnDestroy, QueryList } from '@angular/core';
|
|
@@ -23,24 +23,32 @@ export declare abstract class _MatTabNavBase extends MatPaginatedTabHeader imple
|
|
|
23
23
|
/** Query list of all tab links of the tab navigation. */
|
|
24
24
|
abstract _items: QueryList<MatPaginatedTabHeaderItem & {
|
|
25
25
|
active: boolean;
|
|
26
|
+
id: string;
|
|
26
27
|
}>;
|
|
27
28
|
/** Background color of the tab nav. */
|
|
28
29
|
get backgroundColor(): ThemePalette;
|
|
29
30
|
set backgroundColor(value: ThemePalette);
|
|
30
31
|
private _backgroundColor;
|
|
31
32
|
/** Whether the ripple effect is disabled or not. */
|
|
32
|
-
get disableRipple():
|
|
33
|
-
set disableRipple(value:
|
|
33
|
+
get disableRipple(): boolean;
|
|
34
|
+
set disableRipple(value: BooleanInput);
|
|
34
35
|
private _disableRipple;
|
|
35
36
|
/** Theme color of the nav bar. */
|
|
36
37
|
color: ThemePalette;
|
|
38
|
+
/**
|
|
39
|
+
* Associated tab panel controlled by the nav bar. If not provided, then the nav bar
|
|
40
|
+
* follows the ARIA link / navigation landmark pattern. If provided, it follows the
|
|
41
|
+
* ARIA tabs design pattern.
|
|
42
|
+
*/
|
|
43
|
+
tabPanel?: MatTabNavPanel;
|
|
37
44
|
constructor(elementRef: ElementRef, dir: Directionality, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, platform: Platform, animationMode?: string);
|
|
38
45
|
protected _itemSelected(): void;
|
|
39
46
|
ngAfterContentInit(): void;
|
|
40
47
|
/** Notifies the component that the active link has been changed. */
|
|
41
48
|
updateActiveLink(): void;
|
|
49
|
+
_getRole(): string | null;
|
|
42
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatTabNavBase, [null, { optional: true; }, null, null, null, null, { optional: true; }]>;
|
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatTabNavBase, never, never, { "backgroundColor": "backgroundColor"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never>;
|
|
51
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatTabNavBase, never, never, { "backgroundColor": "backgroundColor"; "disableRipple": "disableRipple"; "color": "color"; "tabPanel": "tabPanel"; }, {}, never>;
|
|
44
52
|
}
|
|
45
53
|
/**
|
|
46
54
|
* Navigation component matching the styles of the tab group header.
|
|
@@ -55,7 +63,6 @@ export declare class MatTabNav extends _MatTabNavBase {
|
|
|
55
63
|
_nextPaginator: ElementRef<HTMLElement>;
|
|
56
64
|
_previousPaginator: ElementRef<HTMLElement>;
|
|
57
65
|
constructor(elementRef: ElementRef, dir: Directionality, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, viewportRuler: ViewportRuler, platform: Platform, animationMode?: string);
|
|
58
|
-
static ngAcceptInputType_disableRipple: BooleanInput;
|
|
59
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabNav, [null, { optional: true; }, null, null, null, null, { optional: true; }]>;
|
|
60
67
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNav, "[mat-tab-nav-bar]", ["matTabNavBar", "matTabNav"], { "color": "color"; }, {}, ["_items"], ["*"]>;
|
|
61
68
|
}
|
|
@@ -71,7 +78,7 @@ export declare class _MatTabLinkBase extends _MatTabLinkMixinBase implements Aft
|
|
|
71
78
|
protected _isActive: boolean;
|
|
72
79
|
/** Whether the link is active. */
|
|
73
80
|
get active(): boolean;
|
|
74
|
-
set active(value:
|
|
81
|
+
set active(value: BooleanInput);
|
|
75
82
|
/**
|
|
76
83
|
* Ripple configuration for ripples that are launched on pointer down. The ripple config
|
|
77
84
|
* is set to the global ripple options since we don't have any configurable options for
|
|
@@ -84,6 +91,8 @@ export declare class _MatTabLinkBase extends _MatTabLinkMixinBase implements Aft
|
|
|
84
91
|
* @docs-private
|
|
85
92
|
*/
|
|
86
93
|
get rippleDisabled(): boolean;
|
|
94
|
+
/** Unique id for the tab. */
|
|
95
|
+
id: string;
|
|
87
96
|
constructor(_tabNavBar: _MatTabNavBase,
|
|
88
97
|
/** @docs-private */ elementRef: ElementRef, globalRippleOptions: RippleGlobalOptions | null, tabIndex: string, _focusMonitor: FocusMonitor, animationMode?: string);
|
|
89
98
|
/** Focuses the tab link. */
|
|
@@ -91,12 +100,14 @@ export declare class _MatTabLinkBase extends _MatTabLinkMixinBase implements Aft
|
|
|
91
100
|
ngAfterViewInit(): void;
|
|
92
101
|
ngOnDestroy(): void;
|
|
93
102
|
_handleFocus(): void;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
103
|
+
_handleKeydown(event: KeyboardEvent): void;
|
|
104
|
+
_getAriaControls(): string | null;
|
|
105
|
+
_getAriaSelected(): string | null;
|
|
106
|
+
_getAriaCurrent(): string | null;
|
|
107
|
+
_getRole(): string | null;
|
|
108
|
+
_getTabIndex(): number;
|
|
98
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatTabLinkBase, [null, null, { optional: true; }, { attribute: "tabindex"; }, null, { optional: true; }]>;
|
|
99
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatTabLinkBase, never, never, { "active": "active"; }, {}, never>;
|
|
110
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatTabLinkBase, never, never, { "active": "active"; "id": "id"; }, {}, never>;
|
|
100
111
|
}
|
|
101
112
|
/**
|
|
102
113
|
* Link inside of a `mat-tab-nav-bar`.
|
|
@@ -109,4 +120,15 @@ export declare class MatTabLink extends _MatTabLinkBase implements OnDestroy {
|
|
|
109
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabLink, [null, null, null, null, { optional: true; }, { attribute: "tabindex"; }, null, { optional: true; }]>;
|
|
110
121
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatTabLink, "[mat-tab-link], [matTabLink]", ["matTabLink"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; }, {}, never>;
|
|
111
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Tab panel component associated with MatTabNav.
|
|
125
|
+
*/
|
|
126
|
+
export declare class MatTabNavPanel {
|
|
127
|
+
/** Unique id for the tab panel. */
|
|
128
|
+
id: string;
|
|
129
|
+
/** Id of the active tab in the nav bar. */
|
|
130
|
+
_activeTabId?: string;
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabNavPanel, never>;
|
|
132
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatTabNavPanel, "mat-tab-nav-panel", ["matTabNavPanel"], { "id": "id"; }, {}, never, ["*"]>;
|
|
133
|
+
}
|
|
112
134
|
export {};
|
package/tabs/tab.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 { TemplatePortal } from '@angular/cdk/portal';
|
|
10
9
|
import { OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, ViewContainerRef, InjectionToken } from '@angular/core';
|
|
11
10
|
import { CanDisable } from '@angular/material/core';
|
|
@@ -74,7 +73,6 @@ export declare class MatTab extends _MatTabBase implements OnInit, CanDisable, O
|
|
|
74
73
|
* @docs-private
|
|
75
74
|
*/
|
|
76
75
|
protected _setTemplateLabelInput(value: MatTabLabel | undefined): void;
|
|
77
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
78
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTab, [null, { optional: true; }]>;
|
|
79
77
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatTab, "mat-tab", ["matTab"], { "disabled": "disabled"; "textLabel": "label"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; }, {}, ["templateLabel", "_explicitContent"], ["*"]>;
|
|
80
78
|
}
|
package/tabs/tabs-module.d.ts
CHANGED
|
@@ -15,6 +15,6 @@ import * as i13 from "@angular/cdk/observers";
|
|
|
15
15
|
import * as i14 from "@angular/cdk/a11y";
|
|
16
16
|
export declare class MatTabsModule {
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTabsModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTabsModule, [typeof i1.MatTabGroup, typeof i2.MatTabLabel, typeof i3.MatTab, typeof i4.MatInkBar, typeof i5.MatTabLabelWrapper, typeof i6.MatTabNav, typeof i6.MatTabLink, typeof i7.MatTabBody, typeof i7.MatTabBodyPortal, typeof i8.MatTabHeader, typeof i9.MatTabContent], [typeof i10.CommonModule, typeof i11.MatCommonModule, typeof i12.PortalModule, typeof i11.MatRippleModule, typeof i13.ObserversModule, typeof i14.A11yModule], [typeof i11.MatCommonModule, typeof i1.MatTabGroup, typeof i2.MatTabLabel, typeof i3.MatTab, typeof i6.MatTabNav, typeof i6.MatTabLink, typeof i9.MatTabContent]>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTabsModule, [typeof i1.MatTabGroup, typeof i2.MatTabLabel, typeof i3.MatTab, typeof i4.MatInkBar, typeof i5.MatTabLabelWrapper, typeof i6.MatTabNav, typeof i6.MatTabNavPanel, typeof i6.MatTabLink, typeof i7.MatTabBody, typeof i7.MatTabBodyPortal, typeof i8.MatTabHeader, typeof i9.MatTabContent], [typeof i10.CommonModule, typeof i11.MatCommonModule, typeof i12.PortalModule, typeof i11.MatRippleModule, typeof i13.ObserversModule, typeof i14.A11yModule], [typeof i11.MatCommonModule, typeof i1.MatTabGroup, typeof i2.MatTabLabel, typeof i3.MatTab, typeof i6.MatTabNav, typeof i6.MatTabNavPanel, typeof i6.MatTabLink, typeof i9.MatTabContent]>;
|
|
19
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatTabsModule>;
|
|
20
20
|
}
|
|
@@ -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 a standard 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
|
+
}
|
package/tooltip/tooltip.d.ts
CHANGED
|
@@ -90,11 +90,15 @@ export declare abstract class _MatTooltipBase<T extends _TooltipComponentBase> i
|
|
|
90
90
|
set position(value: TooltipPosition);
|
|
91
91
|
/** Disables the display of the tooltip. */
|
|
92
92
|
get disabled(): boolean;
|
|
93
|
-
set disabled(value:
|
|
93
|
+
set disabled(value: BooleanInput);
|
|
94
94
|
/** The default delay in ms before showing the tooltip after show is called */
|
|
95
|
-
showDelay: number;
|
|
95
|
+
get showDelay(): number;
|
|
96
|
+
set showDelay(value: NumberInput);
|
|
97
|
+
private _showDelay;
|
|
96
98
|
/** The default delay in ms before hiding the tooltip after hide is called */
|
|
97
|
-
hideDelay: number;
|
|
99
|
+
get hideDelay(): number;
|
|
100
|
+
set hideDelay(value: NumberInput);
|
|
101
|
+
private _hideDelay;
|
|
98
102
|
/**
|
|
99
103
|
* How touch gestures should be handled by the tooltip. On touch devices the tooltip directive
|
|
100
104
|
* uses a long press gesture to show and hide, however it can conflict with the native browser
|
|
@@ -186,9 +190,6 @@ export declare abstract class _MatTooltipBase<T extends _TooltipComponentBase> i
|
|
|
186
190
|
private _wheelListener;
|
|
187
191
|
/** Disables the native browser gestures, based on how the tooltip has been configured. */
|
|
188
192
|
private _disableNativeGesturesIfNecessary;
|
|
189
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
190
|
-
static ngAcceptInputType_hideDelay: NumberInput;
|
|
191
|
-
static ngAcceptInputType_showDelay: NumberInput;
|
|
192
193
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatTooltipBase<any>, never>;
|
|
193
194
|
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatTooltipBase<any>, never, never, { "position": "matTooltipPosition"; "disabled": "matTooltipDisabled"; "showDelay": "matTooltipShowDelay"; "hideDelay": "matTooltipHideDelay"; "touchGestures": "matTooltipTouchGestures"; "message": "matTooltip"; "tooltipClass": "matTooltipClass"; }, {}, never>;
|
|
194
195
|
}
|