@angular/material 14.0.0-next.1 → 14.0.0-next.12
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/_index.scss +20 -1
- package/autocomplete/autocomplete-origin.d.ts +2 -2
- package/autocomplete/autocomplete-trigger.d.ts +16 -5
- package/autocomplete/autocomplete.d.ts +8 -2
- package/badge/_badge-theme.scss +11 -2
- package/badge/badge.d.ts +1 -1
- package/bottom-sheet/bottom-sheet-container.d.ts +1 -1
- package/button/button.d.ts +2 -2
- package/button-toggle/_button-toggle-theme.scss +14 -2
- package/button-toggle/button-toggle.d.ts +2 -2
- package/card/card.d.ts +14 -14
- package/checkbox/_checkbox-theme.scss +1 -1
- package/checkbox/checkbox-required-validator.d.ts +1 -1
- package/checkbox/checkbox.d.ts +2 -2
- package/checkbox/testing/checkbox-harness-filters.d.ts +2 -0
- package/chips/chip-input.d.ts +3 -6
- package/chips/chip-list.d.ts +21 -6
- package/chips/chip.d.ts +7 -7
- package/core/_core.scss +5 -7
- package/core/common-behaviors/error-state.d.ts +1 -2
- package/core/datetime/index.d.ts +1 -2
- package/core/line/line.d.ts +1 -1
- package/core/option/optgroup.d.ts +2 -2
- package/core/option/option.d.ts +2 -2
- package/core/ripple/_ripple.scss +2 -2
- package/core/ripple/index.d.ts +1 -2
- package/core/ripple/ripple-ref.d.ts +2 -1
- package/core/ripple/ripple-renderer.d.ts +16 -3
- package/core/ripple/ripple.d.ts +1 -1
- package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +1 -1
- package/core/style/_menu-common.scss +3 -2
- package/core/style/_vendor-prefixes.scss +1 -17
- package/core/theming/_theming.scss +10 -1
- package/core/typography/_typography.scss +51 -14
- package/datepicker/calendar-body.d.ts +34 -4
- package/datepicker/calendar.d.ts +2 -2
- package/datepicker/date-range-input-parts.d.ts +7 -4
- package/datepicker/date-range-input.d.ts +1 -1
- package/datepicker/date-range-picker.d.ts +1 -1
- package/datepicker/datepicker-actions.d.ts +3 -3
- package/datepicker/datepicker-base.d.ts +4 -2
- package/datepicker/datepicker-input-base.d.ts +1 -1
- package/datepicker/datepicker-input.d.ts +1 -1
- package/datepicker/datepicker-toggle.d.ts +2 -2
- package/datepicker/datepicker.d.ts +1 -1
- package/datepicker/month-view.d.ts +19 -1
- package/datepicker/multi-year-view.d.ts +19 -1
- package/datepicker/year-view.d.ts +19 -1
- package/dialog/dialog-animations.d.ts +10 -0
- package/dialog/dialog-config.d.ts +12 -1
- package/dialog/dialog-container.d.ts +14 -6
- package/dialog/dialog-content-directives.d.ts +8 -4
- package/dialog/dialog.d.ts +13 -7
- package/dialog/public-api.d.ts +1 -1
- package/dialog/testing/dialog-opener.d.ts +33 -0
- package/dialog/testing/public-api.d.ts +1 -0
- package/divider/divider.d.ts +1 -1
- package/esm2020/autocomplete/autocomplete-module.mjs +5 -5
- package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
- package/esm2020/autocomplete/autocomplete-trigger.mjs +102 -50
- package/esm2020/autocomplete/autocomplete.mjs +19 -9
- package/esm2020/autocomplete/testing/autocomplete-harness.mjs +7 -1
- package/esm2020/badge/badge-module.mjs +5 -5
- package/esm2020/badge/badge.mjs +4 -4
- package/esm2020/bottom-sheet/bottom-sheet-animations.mjs +10 -4
- package/esm2020/bottom-sheet/bottom-sheet-container.mjs +12 -7
- 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 +10 -10
- package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
- package/esm2020/button-toggle/button-toggle.mjs +8 -8
- package/esm2020/card/card-module.mjs +5 -5
- package/esm2020/card/card.mjs +44 -44
- package/esm2020/checkbox/checkbox-module.mjs +9 -9
- package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2020/checkbox/checkbox.mjs +12 -8
- package/esm2020/checkbox/testing/checkbox-harness-filters.mjs +1 -1
- package/esm2020/checkbox/testing/checkbox-harness.mjs +3 -2
- package/esm2020/chips/chip-input.mjs +4 -4
- package/esm2020/chips/chip-list.mjs +34 -9
- package/esm2020/chips/chip.mjs +20 -17
- package/esm2020/chips/chips-module.mjs +5 -5
- package/esm2020/core/common-behaviors/common-module.mjs +5 -5
- package/esm2020/core/common-behaviors/error-state.mjs +1 -8
- package/esm2020/core/datetime/index.mjs +9 -11
- 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 +8 -8
- package/esm2020/core/option/option.mjs +10 -10
- package/esm2020/core/ripple/index.mjs +6 -7
- package/esm2020/core/ripple/ripple-ref.mjs +5 -2
- package/esm2020/core/ripple/ripple-renderer.mjs +112 -54
- package/esm2020/core/ripple/ripple.mjs +4 -4
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
- package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +5 -5
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/calendar-body.mjs +57 -12
- package/esm2020/datepicker/calendar.mjs +27 -16
- package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
- package/esm2020/datepicker/date-range-input.mjs +6 -6
- 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 +12 -12
- package/esm2020/datepicker/datepicker-base.mjs +12 -20
- package/esm2020/datepicker/datepicker-input-base.mjs +12 -7
- 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 +10 -10
- package/esm2020/datepicker/datepicker.mjs +4 -4
- package/esm2020/datepicker/month-view.mjs +38 -11
- package/esm2020/datepicker/multi-year-view.mjs +42 -10
- package/esm2020/datepicker/year-view.mjs +41 -10
- package/esm2020/dialog/dialog-animations.mjs +17 -4
- package/esm2020/dialog/dialog-config.mjs +8 -1
- package/esm2020/dialog/dialog-container.mjs +44 -26
- package/esm2020/dialog/dialog-content-directives.mjs +31 -15
- package/esm2020/dialog/dialog-module.mjs +5 -5
- package/esm2020/dialog/dialog.mjs +24 -40
- package/esm2020/dialog/public-api.mjs +2 -2
- package/esm2020/dialog/testing/dialog-opener.mjs +67 -0
- package/esm2020/dialog/testing/public-api.mjs +2 -1
- package/esm2020/divider/divider-module.mjs +5 -5
- package/esm2020/divider/divider.mjs +5 -5
- package/esm2020/expansion/accordion.mjs +4 -4
- package/esm2020/expansion/expansion-module.mjs +5 -5
- package/esm2020/expansion/expansion-panel-base.mjs +14 -0
- package/esm2020/expansion/expansion-panel-content.mjs +14 -7
- package/esm2020/expansion/expansion-panel-header.mjs +11 -11
- package/esm2020/expansion/expansion-panel.mjs +13 -10
- package/esm2020/expansion/public-api.mjs +2 -1
- 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 +22 -14
- 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/form-field/testing/public-api.mjs +4 -4
- package/esm2020/grid-list/grid-list-module.mjs +5 -5
- package/esm2020/grid-list/grid-list.mjs +6 -6
- package/esm2020/grid-list/grid-tile.mjs +17 -17
- package/esm2020/icon/icon-module.mjs +5 -5
- package/esm2020/icon/icon-registry.mjs +12 -14
- package/esm2020/icon/icon.mjs +31 -28
- package/esm2020/icon/testing/fake-icon-registry.mjs +9 -9
- package/esm2020/input/input-module.mjs +5 -5
- package/esm2020/input/input.mjs +41 -24
- package/esm2020/list/list-module.mjs +5 -5
- package/esm2020/list/list.mjs +21 -23
- package/esm2020/list/selection-list.mjs +15 -38
- package/esm2020/list/testing/list-item-harness-base.mjs +1 -9
- package/esm2020/menu/menu-content.mjs +7 -7
- package/esm2020/menu/menu-errors.mjs +1 -12
- package/esm2020/menu/menu-item.mjs +10 -6
- package/esm2020/menu/menu-module.mjs +5 -5
- package/esm2020/menu/menu-trigger.mjs +73 -66
- package/esm2020/menu/menu.mjs +35 -14
- package/esm2020/paginator/paginator-intl.mjs +4 -4
- package/esm2020/paginator/paginator-module.mjs +5 -5
- package/esm2020/paginator/paginator.mjs +17 -13
- package/esm2020/paginator/testing/paginator-harness.mjs +11 -1
- package/esm2020/progress-bar/progress-bar-module.mjs +5 -5
- package/esm2020/progress-bar/progress-bar.mjs +8 -5
- package/esm2020/progress-spinner/progress-spinner-module.mjs +8 -8
- package/esm2020/progress-spinner/progress-spinner.mjs +14 -51
- package/esm2020/progress-spinner/public-api.mjs +10 -2
- package/esm2020/radio/radio-module.mjs +5 -5
- package/esm2020/radio/radio.mjs +42 -14
- package/esm2020/radio/testing/radio-harness-filters.mjs +1 -1
- package/esm2020/radio/testing/radio-harness.mjs +3 -2
- package/esm2020/select/select-module.mjs +5 -5
- package/esm2020/select/select.mjs +68 -30
- package/esm2020/sidenav/drawer.mjs +19 -14
- package/esm2020/sidenav/sidenav-module.mjs +7 -8
- package/esm2020/sidenav/sidenav.mjs +12 -12
- 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 +6 -5
- package/esm2020/slide-toggle/testing/slide-toggle-harness-filters.mjs +1 -1
- package/esm2020/slide-toggle/testing/slide-toggle-harness.mjs +4 -2
- package/esm2020/slider/slider-module.mjs +5 -5
- package/esm2020/slider/slider.mjs +5 -5
- package/esm2020/snack-bar/simple-snack-bar.mjs +7 -7
- package/esm2020/snack-bar/snack-bar-container.mjs +24 -18
- package/esm2020/snack-bar/snack-bar-module.mjs +5 -5
- package/esm2020/snack-bar/snack-bar.mjs +7 -7
- package/esm2020/sort/sort-header-intl.mjs +4 -4
- package/esm2020/sort/sort-header.mjs +16 -8
- package/esm2020/sort/sort-module.mjs +5 -5
- package/esm2020/sort/sort.mjs +4 -4
- package/esm2020/stepper/public-api.mjs +2 -2
- package/esm2020/stepper/step-content.mjs +4 -4
- package/esm2020/stepper/step-header.mjs +8 -8
- package/esm2020/stepper/step-label.mjs +4 -4
- package/esm2020/stepper/stepper-animations.mjs +9 -3
- 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 +6 -10
- package/esm2020/stepper/stepper.mjs +42 -66
- 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 +5 -5
- package/esm2020/tabs/ink-bar.mjs +11 -22
- package/esm2020/tabs/paginated-tab-header.mjs +27 -13
- package/esm2020/tabs/tab-body.mjs +11 -11
- package/esm2020/tabs/tab-content.mjs +4 -4
- package/esm2020/tabs/tab-group.mjs +59 -18
- package/esm2020/tabs/tab-header.mjs +8 -8
- package/esm2020/tabs/tab-label-wrapper.mjs +4 -4
- package/esm2020/tabs/tab-label.mjs +4 -4
- package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +18 -18
- package/esm2020/tabs/tab.mjs +4 -4
- package/esm2020/tabs/tabs-module.mjs +5 -5
- package/esm2020/toolbar/toolbar-module.mjs +5 -5
- package/esm2020/toolbar/toolbar.mjs +8 -8
- package/esm2020/tooltip/testing/tooltip-harness.mjs +12 -7
- package/esm2020/tooltip/tooltip-module.mjs +5 -5
- package/esm2020/tooltip/tooltip.mjs +126 -51
- package/esm2020/tree/node.mjs +10 -10
- package/esm2020/tree/outlet.mjs +4 -4
- package/esm2020/tree/padding.mjs +4 -4
- package/esm2020/tree/toggle.mjs +4 -4
- package/esm2020/tree/tree-module.mjs +5 -5
- package/esm2020/tree/tree.mjs +5 -5
- package/expansion/accordion.d.ts +1 -1
- package/expansion/expansion-panel-base.d.ts +22 -0
- package/expansion/expansion-panel-content.d.ts +5 -3
- package/expansion/expansion-panel-header.d.ts +3 -3
- package/expansion/expansion-panel.d.ts +2 -2
- package/expansion/public-api.d.ts +1 -0
- package/fesm2015/autocomplete/testing.mjs +6 -0
- package/fesm2015/autocomplete/testing.mjs.map +1 -1
- package/fesm2015/autocomplete.mjs +131 -68
- package/fesm2015/autocomplete.mjs.map +1 -1
- package/fesm2015/badge/testing.mjs.map +1 -1
- package/fesm2015/badge.mjs +7 -7
- package/fesm2015/badge.mjs.map +1 -1
- package/fesm2015/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2015/bottom-sheet.mjs +27 -16
- package/fesm2015/bottom-sheet.mjs.map +1 -1
- package/fesm2015/button/testing.mjs.map +1 -1
- package/fesm2015/button-toggle/testing.mjs.map +1 -1
- package/fesm2015/button-toggle.mjs +11 -11
- package/fesm2015/button-toggle.mjs.map +1 -1
- package/fesm2015/button.mjs +13 -13
- package/fesm2015/button.mjs.map +1 -1
- package/fesm2015/card/testing.mjs.map +1 -1
- package/fesm2015/card.mjs +47 -47
- package/fesm2015/card.mjs.map +1 -1
- package/fesm2015/checkbox/testing.mjs +2 -1
- package/fesm2015/checkbox/testing.mjs.map +1 -1
- package/fesm2015/checkbox.mjs +22 -18
- package/fesm2015/checkbox.mjs.map +1 -1
- package/fesm2015/chips/testing.mjs.map +1 -1
- package/fesm2015/chips.mjs +59 -31
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core/testing.mjs.map +1 -1
- package/fesm2015/core.mjs +181 -126
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker/testing.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +273 -130
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/dialog/testing.mjs +65 -2
- package/fesm2015/dialog/testing.mjs.map +1 -1
- package/fesm2015/dialog.mjs +144 -106
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/divider/testing.mjs.map +1 -1
- package/fesm2015/divider.mjs +8 -8
- package/fesm2015/divider.mjs.map +1 -1
- package/fesm2015/expansion/testing.mjs.map +1 -1
- package/fesm2015/expansion.mjs +56 -33
- package/fesm2015/expansion.mjs.map +1 -1
- package/fesm2015/form-field/testing/control.mjs.map +1 -1
- package/fesm2015/form-field/testing.mjs +1 -1
- package/fesm2015/form-field/testing.mjs.map +1 -1
- package/fesm2015/form-field.mjs +47 -38
- package/fesm2015/form-field.mjs.map +1 -1
- package/fesm2015/grid-list/testing.mjs.map +1 -1
- package/fesm2015/grid-list.mjs +25 -25
- package/fesm2015/grid-list.mjs.map +1 -1
- package/fesm2015/icon/testing.mjs +8 -8
- package/fesm2015/icon/testing.mjs.map +1 -1
- package/fesm2015/icon.mjs +45 -44
- package/fesm2015/icon.mjs.map +1 -1
- package/fesm2015/input/testing.mjs.map +1 -1
- package/fesm2015/input.mjs +45 -28
- package/fesm2015/input.mjs.map +1 -1
- package/fesm2015/list/testing.mjs +0 -10
- package/fesm2015/list/testing.mjs.map +1 -1
- package/fesm2015/list.mjs +41 -67
- package/fesm2015/list.mjs.map +1 -1
- package/fesm2015/material.mjs.map +1 -1
- package/fesm2015/menu/testing.mjs.map +1 -1
- package/fesm2015/menu.mjs +126 -101
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/paginator/testing.mjs +14 -0
- package/fesm2015/paginator/testing.mjs.map +1 -1
- package/fesm2015/paginator.mjs +23 -19
- package/fesm2015/paginator.mjs.map +1 -1
- package/fesm2015/progress-bar/testing.mjs.map +1 -1
- package/fesm2015/progress-bar.mjs +11 -8
- package/fesm2015/progress-bar.mjs.map +1 -1
- package/fesm2015/progress-spinner/testing.mjs.map +1 -1
- package/fesm2015/progress-spinner.mjs +31 -63
- package/fesm2015/progress-spinner.mjs.map +1 -1
- package/fesm2015/radio/testing.mjs +2 -1
- package/fesm2015/radio/testing.mjs.map +1 -1
- package/fesm2015/radio.mjs +46 -17
- package/fesm2015/radio.mjs.map +1 -1
- package/fesm2015/select/testing.mjs.map +1 -1
- package/fesm2015/select.mjs +72 -34
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2015/sidenav/testing.mjs.map +1 -1
- package/fesm2015/sidenav.mjs +36 -32
- package/fesm2015/sidenav.mjs.map +1 -1
- package/fesm2015/slide-toggle/testing.mjs +3 -1
- package/fesm2015/slide-toggle/testing.mjs.map +1 -1
- package/fesm2015/slide-toggle.mjs +16 -15
- package/fesm2015/slide-toggle.mjs.map +1 -1
- package/fesm2015/slider/testing.mjs.map +1 -1
- package/fesm2015/slider.mjs +8 -8
- package/fesm2015/slider.mjs.map +1 -1
- package/fesm2015/snack-bar/testing.mjs.map +1 -1
- package/fesm2015/snack-bar.mjs +39 -33
- package/fesm2015/snack-bar.mjs.map +1 -1
- package/fesm2015/sort/testing.mjs.map +1 -1
- package/fesm2015/sort.mjs +128 -120
- package/fesm2015/sort.mjs.map +1 -1
- package/fesm2015/stepper/testing.mjs.map +1 -1
- package/fesm2015/stepper.mjs +75 -96
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table/testing.mjs.map +1 -1
- package/fesm2015/table.mjs +58 -58
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/tabs/testing.mjs.map +1 -1
- package/fesm2015/tabs.mjs +139 -95
- package/fesm2015/tabs.mjs.map +1 -1
- package/fesm2015/toolbar/testing.mjs.map +1 -1
- package/fesm2015/toolbar.mjs +11 -11
- package/fesm2015/toolbar.mjs.map +1 -1
- package/fesm2015/tooltip/testing.mjs +11 -8
- package/fesm2015/tooltip/testing.mjs.map +1 -1
- package/fesm2015/tooltip.mjs +154 -79
- package/fesm2015/tooltip.mjs.map +1 -1
- package/fesm2015/tree/testing.mjs.map +1 -1
- package/fesm2015/tree.mjs +26 -26
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/autocomplete/testing.mjs +6 -0
- package/fesm2020/autocomplete/testing.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +130 -68
- package/fesm2020/autocomplete.mjs.map +1 -1
- package/fesm2020/badge/testing.mjs.map +1 -1
- package/fesm2020/badge.mjs +7 -7
- package/fesm2020/badge.mjs.map +1 -1
- package/fesm2020/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2020/bottom-sheet.mjs +27 -16
- package/fesm2020/bottom-sheet.mjs.map +1 -1
- package/fesm2020/button/testing.mjs.map +1 -1
- package/fesm2020/button-toggle/testing.mjs.map +1 -1
- package/fesm2020/button-toggle.mjs +11 -11
- package/fesm2020/button-toggle.mjs.map +1 -1
- package/fesm2020/button.mjs +13 -13
- package/fesm2020/button.mjs.map +1 -1
- package/fesm2020/card/testing.mjs.map +1 -1
- package/fesm2020/card.mjs +47 -47
- package/fesm2020/card.mjs.map +1 -1
- package/fesm2020/checkbox/testing.mjs +2 -1
- package/fesm2020/checkbox/testing.mjs.map +1 -1
- package/fesm2020/checkbox.mjs +22 -18
- package/fesm2020/checkbox.mjs.map +1 -1
- package/fesm2020/chips/testing.mjs.map +1 -1
- package/fesm2020/chips.mjs +59 -31
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +180 -126
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker/testing.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +273 -130
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/dialog/testing.mjs +65 -1
- package/fesm2020/dialog/testing.mjs.map +1 -1
- package/fesm2020/dialog.mjs +143 -106
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/divider/testing.mjs.map +1 -1
- package/fesm2020/divider.mjs +8 -8
- package/fesm2020/divider.mjs.map +1 -1
- package/fesm2020/expansion/testing.mjs.map +1 -1
- package/fesm2020/expansion.mjs +54 -33
- package/fesm2020/expansion.mjs.map +1 -1
- package/fesm2020/form-field/testing/control.mjs.map +1 -1
- package/fesm2020/form-field/testing.mjs +1 -1
- package/fesm2020/form-field/testing.mjs.map +1 -1
- package/fesm2020/form-field.mjs +46 -38
- package/fesm2020/form-field.mjs.map +1 -1
- package/fesm2020/grid-list/testing.mjs.map +1 -1
- package/fesm2020/grid-list.mjs +25 -25
- package/fesm2020/grid-list.mjs.map +1 -1
- package/fesm2020/icon/testing.mjs +8 -8
- package/fesm2020/icon/testing.mjs.map +1 -1
- package/fesm2020/icon.mjs +45 -44
- package/fesm2020/icon.mjs.map +1 -1
- package/fesm2020/input/testing.mjs.map +1 -1
- package/fesm2020/input.mjs +44 -27
- package/fesm2020/input.mjs.map +1 -1
- package/fesm2020/list/testing.mjs +0 -8
- package/fesm2020/list/testing.mjs.map +1 -1
- package/fesm2020/list.mjs +38 -63
- package/fesm2020/list.mjs.map +1 -1
- package/fesm2020/material.mjs.map +1 -1
- package/fesm2020/menu/testing.mjs.map +1 -1
- package/fesm2020/menu.mjs +122 -101
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/paginator/testing.mjs +10 -0
- package/fesm2020/paginator/testing.mjs.map +1 -1
- package/fesm2020/paginator.mjs +23 -19
- package/fesm2020/paginator.mjs.map +1 -1
- package/fesm2020/progress-bar/testing.mjs.map +1 -1
- package/fesm2020/progress-bar.mjs +11 -8
- package/fesm2020/progress-bar.mjs.map +1 -1
- package/fesm2020/progress-spinner/testing.mjs.map +1 -1
- package/fesm2020/progress-spinner.mjs +31 -61
- package/fesm2020/progress-spinner.mjs.map +1 -1
- package/fesm2020/radio/testing.mjs +2 -1
- package/fesm2020/radio/testing.mjs.map +1 -1
- package/fesm2020/radio.mjs +45 -17
- package/fesm2020/radio.mjs.map +1 -1
- package/fesm2020/select/testing.mjs.map +1 -1
- package/fesm2020/select.mjs +72 -34
- package/fesm2020/select.mjs.map +1 -1
- package/fesm2020/sidenav/testing.mjs.map +1 -1
- package/fesm2020/sidenav.mjs +36 -32
- package/fesm2020/sidenav.mjs.map +1 -1
- package/fesm2020/slide-toggle/testing.mjs +3 -1
- package/fesm2020/slide-toggle/testing.mjs.map +1 -1
- package/fesm2020/slide-toggle.mjs +16 -15
- package/fesm2020/slide-toggle.mjs.map +1 -1
- package/fesm2020/slider/testing.mjs.map +1 -1
- package/fesm2020/slider.mjs +8 -8
- package/fesm2020/slider.mjs.map +1 -1
- package/fesm2020/snack-bar/testing.mjs.map +1 -1
- package/fesm2020/snack-bar.mjs +39 -33
- package/fesm2020/snack-bar.mjs.map +1 -1
- package/fesm2020/sort/testing.mjs.map +1 -1
- package/fesm2020/sort.mjs +24 -16
- package/fesm2020/sort.mjs.map +1 -1
- package/fesm2020/stepper/testing.mjs.map +1 -1
- package/fesm2020/stepper.mjs +75 -96
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table/testing.mjs.map +1 -1
- package/fesm2020/table.mjs +58 -58
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/tabs/testing.mjs.map +1 -1
- package/fesm2020/tabs.mjs +138 -95
- package/fesm2020/tabs.mjs.map +1 -1
- package/fesm2020/toolbar/testing.mjs.map +1 -1
- package/fesm2020/toolbar.mjs +11 -11
- package/fesm2020/toolbar.mjs.map +1 -1
- package/fesm2020/tooltip/testing.mjs +11 -6
- package/fesm2020/tooltip/testing.mjs.map +1 -1
- package/fesm2020/tooltip.mjs +147 -71
- package/fesm2020/tooltip.mjs.map +1 -1
- package/fesm2020/tree/testing.mjs.map +1 -1
- package/fesm2020/tree.mjs +26 -26
- package/fesm2020/tree.mjs.map +1 -1
- package/form-field/error.d.ts +1 -1
- package/form-field/form-field-control.d.ts +4 -4
- package/form-field/form-field.d.ts +16 -9
- package/form-field/hint.d.ts +1 -1
- package/form-field/label.d.ts +1 -1
- package/form-field/placeholder.d.ts +1 -1
- package/form-field/prefix.d.ts +1 -1
- package/form-field/suffix.d.ts +1 -1
- package/form-field/testing/public-api.d.ts +1 -1
- package/grid-list/grid-list.d.ts +1 -1
- package/grid-list/grid-tile.d.ts +5 -5
- package/icon/icon-registry.d.ts +7 -9
- package/icon/icon.d.ts +13 -4
- package/icon/testing/fake-icon-registry.d.ts +1 -1
- package/input/input.d.ts +13 -2
- package/list/list.d.ts +6 -6
- package/list/selection-list.d.ts +5 -22
- package/list/testing/list-item-harness-base.d.ts +1 -7
- package/menu/menu-content.d.ts +2 -2
- package/menu/menu-errors.d.ts +0 -5
- package/menu/menu-item.d.ts +4 -3
- package/menu/menu-trigger.d.ts +23 -13
- package/menu/menu.d.ts +9 -4
- package/package.json +7 -7
- package/paginator/paginator.d.ts +13 -2
- package/paginator/testing/paginator-harness.d.ts +3 -0
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-bar/progress-bar.d.ts +1 -1
- package/progress-spinner/progress-spinner-module.d.ts +1 -1
- package/progress-spinner/progress-spinner.d.ts +4 -19
- package/progress-spinner/public-api.d.ts +8 -1
- package/radio/radio.d.ts +11 -6
- package/radio/testing/radio-harness-filters.d.ts +2 -0
- package/schematics/collection.json +4 -2
- package/schematics/migration.json +5 -0
- package/schematics/ng-add/fonts/material-fonts.js +4 -13
- package/schematics/ng-add/fonts/material-fonts.mjs +4 -13
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-add/schema.d.ts +2 -2
- package/schematics/ng-add/schema.js +1 -1
- package/schematics/ng-add/schema.json +29 -9
- package/schematics/ng-add/schema.mjs +1 -1
- package/schematics/ng-add/setup-project.js +16 -23
- package/schematics/ng-add/setup-project.mjs +16 -23
- package/schematics/ng-add/theming/theming.js +28 -39
- package/schematics/ng-add/theming/theming.mjs +28 -39
- package/schematics/ng-generate/address-form/index.js +5 -14
- package/schematics/ng-generate/address-form/index.mjs +5 -14
- package/schematics/ng-generate/address-form/schema.json +1 -1
- package/schematics/ng-generate/dashboard/index.js +5 -14
- package/schematics/ng-generate/dashboard/index.mjs +5 -14
- package/schematics/ng-generate/dashboard/schema.json +1 -1
- package/schematics/ng-generate/navigation/index.js +5 -14
- package/schematics/ng-generate/navigation/index.mjs +5 -14
- package/schematics/ng-generate/navigation/schema.json +1 -1
- package/schematics/ng-generate/table/index.js +5 -14
- package/schematics/ng-generate/table/index.mjs +5 -14
- package/schematics/ng-generate/table/schema.json +1 -1
- package/schematics/ng-generate/tree/index.js +5 -14
- package/schematics/ng-generate/tree/index.mjs +5 -14
- package/schematics/ng-generate/tree/schema.json +1 -1
- package/schematics/ng-update/data/constructor-checks.js +11 -1
- package/schematics/ng-update/data/constructor-checks.mjs +11 -1
- package/schematics/ng-update/data/css-selectors.js +7 -1
- package/schematics/ng-update/data/css-selectors.mjs +7 -1
- package/schematics/ng-update/data/index.js +6 -2
- package/schematics/ng-update/data/index.mjs +6 -2
- package/schematics/ng-update/index.d.ts +2 -0
- package/schematics/ng-update/index.js +7 -2
- package/schematics/ng-update/index.mjs +7 -2
- package/schematics/ng-update/migrations/hammer-gestures-v9/gesture-config.template +1 -1
- package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +8 -8
- package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +8 -8
- package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +14 -23
- package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +14 -23
- package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.js +3 -15
- package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.mjs +3 -15
- package/schematics/ng-update/migrations/theming-api-v12/migration.js +5 -5
- package/schematics/ng-update/migrations/theming-api-v12/migration.mjs +5 -5
- package/schematics/tsconfig.json +1 -4
- package/select/select.d.ts +27 -6
- package/sidenav/drawer.d.ts +3 -3
- package/sidenav/sidenav-module.d.ts +2 -3
- package/sidenav/sidenav.d.ts +3 -3
- package/slide-toggle/slide-toggle-required-validator.d.ts +1 -1
- package/slide-toggle/slide-toggle.d.ts +1 -1
- package/slide-toggle/testing/slide-toggle-harness-filters.d.ts +4 -0
- package/slider/slider.d.ts +1 -1
- package/snack-bar/simple-snack-bar.d.ts +1 -1
- package/snack-bar/snack-bar-container.d.ts +1 -1
- package/snack-bar/snack-bar.d.ts +1 -1
- package/sort/sort-header.d.ts +6 -6
- package/sort/sort.d.ts +7 -3
- package/stepper/public-api.d.ts +1 -1
- package/stepper/step-content.d.ts +1 -1
- package/stepper/step-header.d.ts +1 -1
- package/stepper/step-label.d.ts +1 -1
- package/stepper/stepper-animations.d.ts +2 -0
- package/stepper/stepper-button.d.ts +2 -2
- package/stepper/stepper-icon.d.ts +1 -1
- package/stepper/stepper-module.d.ts +1 -1
- package/stepper/stepper.d.ts +16 -39
- package/table/cell.d.ts +7 -7
- package/table/row.d.ts +7 -7
- package/table/table.d.ts +2 -2
- package/table/text-column.d.ts +1 -1
- package/tabs/_tabs-common.scss +6 -5
- package/tabs/ink-bar.d.ts +1 -6
- package/tabs/paginated-tab-header.d.ts +5 -3
- package/tabs/tab-body.d.ts +3 -3
- package/tabs/tab-content.d.ts +1 -1
- package/tabs/tab-group.d.ts +11 -5
- package/tabs/tab-header.d.ts +2 -2
- package/tabs/tab-label-wrapper.d.ts +1 -1
- package/tabs/tab-label.d.ts +1 -1
- package/tabs/tab-nav-bar/tab-nav-bar.d.ts +5 -5
- package/tabs/tab.d.ts +1 -1
- package/toolbar/toolbar.d.ts +2 -2
- package/tooltip/testing/tooltip-harness.d.ts +6 -0
- package/tooltip/tooltip.d.ts +40 -12
- package/tree/node.d.ts +3 -3
- package/tree/outlet.d.ts +1 -1
- package/tree/padding.d.ts +1 -1
- package/tree/toggle.d.ts +1 -1
- package/tree/tree.d.ts +1 -1
|
@@ -11,8 +11,6 @@ import { ErrorStateMatcher } from '../error/error-options';
|
|
|
11
11
|
import { AbstractConstructor, Constructor } from './constructor';
|
|
12
12
|
/** @docs-private */
|
|
13
13
|
export interface CanUpdateErrorState {
|
|
14
|
-
/** Emits whenever the component state changes. */
|
|
15
|
-
readonly stateChanges: Subject<void>;
|
|
16
14
|
/** Updates the error state based on the provided error state matcher. */
|
|
17
15
|
updateErrorState(): void;
|
|
18
16
|
/** Whether the component is in an error state. */
|
|
@@ -27,6 +25,7 @@ export interface HasErrorState {
|
|
|
27
25
|
_parentForm: NgForm;
|
|
28
26
|
_defaultErrorStateMatcher: ErrorStateMatcher;
|
|
29
27
|
ngControl: NgControl;
|
|
28
|
+
stateChanges: Subject<void>;
|
|
30
29
|
}
|
|
31
30
|
/**
|
|
32
31
|
* Mixin to augment a directive with updateErrorState method.
|
package/core/datetime/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/cdk/platform";
|
|
3
2
|
export * from './date-adapter';
|
|
4
3
|
export * from './date-formats';
|
|
5
4
|
export * from './native-date-adapter';
|
|
6
5
|
export * from './native-date-formats';
|
|
7
6
|
export declare class NativeDateModule {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeDateModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NativeDateModule, never,
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NativeDateModule, never, never, never>;
|
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<NativeDateModule>;
|
|
11
10
|
}
|
|
12
11
|
export declare class MatNativeDateModule {
|
package/core/line/line.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import * as i1 from "../common-behaviors/common-module";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class MatLine {
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatLine, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatLine, "[mat-line], [matLine]", never, {}, {}, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatLine, "[mat-line], [matLine]", never, {}, {}, never, never, false>;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Helper that takes a query list of lines and sets the correct class on the host.
|
|
@@ -22,7 +22,7 @@ export declare class _MatOptgroupBase extends _MatOptgroupMixinBase implements C
|
|
|
22
22
|
_inert: boolean;
|
|
23
23
|
constructor(parent?: MatOptionParentComponent);
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatOptgroupBase, [{ optional: true; }]>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptgroupBase, never, never, { "label": "label"; }, {}, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptgroupBase, never, never, { "label": "label"; }, {}, never, never, false>;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Injection token that can be used to reference instances of `MatOptgroup`. It serves as
|
|
@@ -35,6 +35,6 @@ export declare const MAT_OPTGROUP: InjectionToken<MatOptgroup>;
|
|
|
35
35
|
*/
|
|
36
36
|
export declare class MatOptgroup extends _MatOptgroupBase {
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatOptgroup, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatOptgroup, "mat-optgroup", ["matOptgroup"], { "disabled": "disabled"; }, {}, never, ["*", "mat-option, ng-container"]>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatOptgroup, "mat-optgroup", ["matOptgroup"], { "disabled": "disabled"; }, {}, never, ["*", "mat-option, ng-container"], false>;
|
|
39
39
|
}
|
|
40
40
|
export {};
|
package/core/option/option.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export declare class _MatOptionBase<T = any> implements FocusableOption, AfterVi
|
|
|
106
106
|
/** Emits the selection change event. */
|
|
107
107
|
private _emitSelectionChangeEvent;
|
|
108
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatOptionBase<any>, never>;
|
|
109
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptionBase<any>, never, never, { "value": "value"; "id": "id"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never>;
|
|
109
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatOptionBase<any>, never, never, { "value": "value"; "id": "id"; "disabled": "disabled"; }, { "onSelectionChange": "onSelectionChange"; }, never, never, false>;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
112
|
* Single option inside of a `<mat-select>` element.
|
|
@@ -114,7 +114,7 @@ export declare class _MatOptionBase<T = any> implements FocusableOption, AfterVi
|
|
|
114
114
|
export declare class MatOption<T = any> extends _MatOptionBase<T> {
|
|
115
115
|
constructor(element: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, parent: MatOptionParentComponent, group: MatOptgroup);
|
|
116
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatOption<any>, [null, null, { optional: true; }, { optional: true; }]>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatOption<any>, "mat-option", ["matOption"], {}, {}, never, ["*"]>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatOption<any>, "mat-option", ["matOption"], {}, {}, never, ["*"], false>;
|
|
118
118
|
}
|
|
119
119
|
/**
|
|
120
120
|
* Counts the amount of option group labels that precede the specified option.
|
package/core/ripple/_ripple.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use '
|
|
1
|
+
@use '@angular/cdk';
|
|
2
2
|
|
|
3
3
|
@mixin ripple() {
|
|
4
4
|
// The host element of an mat-ripple directive should always have a position of "absolute" or
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
transform: scale3d(0, 0, 0);
|
|
37
37
|
|
|
38
38
|
// In high contrast mode the ripple is opaque, causing it to obstruct the content.
|
|
39
|
-
@include
|
|
39
|
+
@include cdk.high-contrast(active, off) {
|
|
40
40
|
display: none;
|
|
41
41
|
}
|
|
42
42
|
}
|
package/core/ripple/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./ripple";
|
|
3
3
|
import * as i2 from "../common-behaviors/common-module";
|
|
4
|
-
import * as i3 from "@angular/cdk/platform";
|
|
5
4
|
export * from './ripple';
|
|
6
5
|
export * from './ripple-ref';
|
|
7
6
|
export * from './ripple-renderer';
|
|
8
7
|
export declare class MatRippleModule {
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatRippleModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatRippleModule, [typeof i1.MatRipple], [typeof i2.MatCommonModule
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatRippleModule, [typeof i1.MatRipple], [typeof i2.MatCommonModule], [typeof i1.MatRipple, typeof i2.MatCommonModule]>;
|
|
11
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatRippleModule>;
|
|
12
11
|
}
|
|
@@ -39,6 +39,7 @@ export declare class RippleRef {
|
|
|
39
39
|
element: HTMLElement;
|
|
40
40
|
/** Ripple configuration used for the ripple. */
|
|
41
41
|
config: RippleConfig;
|
|
42
|
+
_animationForciblyDisabledThroughCss: boolean;
|
|
42
43
|
/** Current state of the ripple. */
|
|
43
44
|
state: RippleState;
|
|
44
45
|
constructor(_renderer: {
|
|
@@ -47,7 +48,7 @@ export declare class RippleRef {
|
|
|
47
48
|
/** Reference to the ripple HTML element. */
|
|
48
49
|
element: HTMLElement,
|
|
49
50
|
/** Ripple configuration used for the ripple. */
|
|
50
|
-
config: RippleConfig);
|
|
51
|
+
config: RippleConfig, _animationForciblyDisabledThroughCss?: boolean);
|
|
51
52
|
/** Fades out the ripple element. */
|
|
52
53
|
fadeOut(): void;
|
|
53
54
|
}
|
|
@@ -43,7 +43,12 @@ export declare class RippleRenderer implements EventListenerObject {
|
|
|
43
43
|
private _triggerElement;
|
|
44
44
|
/** Whether the pointer is currently down or not. */
|
|
45
45
|
private _isPointerDown;
|
|
46
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Map of currently active ripple references.
|
|
48
|
+
* The ripple reference is mapped to its element event listeners.
|
|
49
|
+
* The reason why `| null` is used is that event listeners are added only
|
|
50
|
+
* when the condition is truthy (see the `_startFadeOutTransition` method).
|
|
51
|
+
*/
|
|
47
52
|
private _activeRipples;
|
|
48
53
|
/** Latest non-persistent ripple that was triggered. */
|
|
49
54
|
private _mostRecentTransientRipple;
|
|
@@ -77,16 +82,24 @@ export declare class RippleRenderer implements EventListenerObject {
|
|
|
77
82
|
* @docs-private
|
|
78
83
|
*/
|
|
79
84
|
handleEvent(event: Event): void;
|
|
85
|
+
/** Method that will be called if the fade-in or fade-in transition completed. */
|
|
86
|
+
private _finishRippleTransition;
|
|
87
|
+
/**
|
|
88
|
+
* Starts the fade-out transition of the given ripple if it's not persistent and the pointer
|
|
89
|
+
* is not held down anymore.
|
|
90
|
+
*/
|
|
91
|
+
private _startFadeOutTransition;
|
|
92
|
+
/** Destroys the given ripple by removing it from the DOM and updating its state. */
|
|
93
|
+
private _destroyRipple;
|
|
80
94
|
/** Function being called whenever the trigger is being pressed using mouse. */
|
|
81
95
|
private _onMousedown;
|
|
82
96
|
/** Function being called whenever the trigger is being pressed using touch. */
|
|
83
97
|
private _onTouchStart;
|
|
84
98
|
/** Function being called whenever the trigger is being released. */
|
|
85
99
|
private _onPointerUp;
|
|
86
|
-
/** Runs a timeout outside of the Angular zone to avoid triggering the change detection. */
|
|
87
|
-
private _runTimeoutOutsideZone;
|
|
88
100
|
/** Registers event listeners for a given list of events. */
|
|
89
101
|
private _registerEvents;
|
|
102
|
+
private _getActiveRipples;
|
|
90
103
|
/** Removes previously registered event listeners from the trigger element. */
|
|
91
104
|
_removeTriggerEvents(): void;
|
|
92
105
|
}
|
package/core/ripple/ripple.d.ts
CHANGED
|
@@ -109,5 +109,5 @@ export declare class MatRipple implements OnInit, OnDestroy, RippleTarget {
|
|
|
109
109
|
*/
|
|
110
110
|
launch(x: number, y: number, config?: RippleConfig): RippleRef;
|
|
111
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatRipple, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
112
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRipple, "[mat-ripple], [matRipple]", ["matRipple"], { "color": "matRippleColor"; "unbounded": "matRippleUnbounded"; "centered": "matRippleCentered"; "radius": "matRippleRadius"; "animation": "matRippleAnimation"; "disabled": "matRippleDisabled"; "trigger": "matRippleTrigger"; }, {}, never>;
|
|
112
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRipple, "[mat-ripple], [matRipple]", ["matRipple"], { "color": "matRippleColor"; "unbounded": "matRippleUnbounded"; "centered": "matRippleCentered"; "radius": "matRippleRadius"; "animation": "matRippleAnimation"; "disabled": "matRippleDisabled"; "trigger": "matRippleTrigger"; }, {}, never, never, false>;
|
|
113
113
|
}
|
|
@@ -25,5 +25,5 @@ export declare class MatPseudoCheckbox {
|
|
|
25
25
|
disabled: boolean;
|
|
26
26
|
constructor(_animationMode?: string | undefined);
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatPseudoCheckbox, [{ optional: true; }]>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatPseudoCheckbox, "mat-pseudo-checkbox", never, { "state": "state"; "disabled": "disabled"; }, {}, never, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatPseudoCheckbox, "mat-pseudo-checkbox", never, { "state": "state"; "disabled": "disabled"; }, {}, never, never, false>;
|
|
29
29
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
@use '
|
|
1
|
+
@use '@angular/cdk';
|
|
2
|
+
|
|
2
3
|
@use './list-common';
|
|
3
4
|
@use './layout-common';
|
|
4
5
|
|
|
@@ -84,7 +85,7 @@ $icon-margin: 16px !default;
|
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
// Fix for Chromium-based browsers blending in the `currentColor` with the background.
|
|
87
|
-
@include
|
|
88
|
+
@include cdk.high-contrast(active, off) {
|
|
88
89
|
fill: CanvasText;
|
|
89
90
|
}
|
|
90
91
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// stylelint-disable material/no-prefixes
|
|
2
2
|
@mixin user-select($value) {
|
|
3
3
|
-webkit-user-select: $value;
|
|
4
|
-
-moz-user-select: $value;
|
|
5
4
|
user-select: $value;
|
|
6
5
|
}
|
|
7
6
|
|
|
@@ -25,27 +24,12 @@
|
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
@mixin cursor-grab {
|
|
29
|
-
cursor: -webkit-grab;
|
|
30
|
-
cursor: grab;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@mixin cursor-grabbing {
|
|
34
|
-
cursor: -webkit-grabbing;
|
|
35
|
-
cursor: grabbing;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
27
|
@mixin backface-visibility($value) {
|
|
39
28
|
-webkit-backface-visibility: $value;
|
|
40
29
|
backface-visibility: $value;
|
|
41
30
|
}
|
|
42
31
|
|
|
43
|
-
@mixin
|
|
44
|
-
position: -webkit-sticky #{if($important, '!important', '')};
|
|
45
|
-
position: sticky #{if($important, '!important', '')};
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@mixin private-color-adjust($value) {
|
|
32
|
+
@mixin color-adjust($value) {
|
|
49
33
|
-webkit-print-color-adjust: $value;
|
|
50
34
|
color-adjust: $value;
|
|
51
35
|
}
|
|
@@ -74,7 +74,7 @@ $_emitted-density: () !default;
|
|
|
74
74
|
|
|
75
75
|
/// Gets a color from a theme palette (the output of mat-palette).
|
|
76
76
|
/// The hue can be one of the standard values (500, A400, etc.), one of the three preconfigured
|
|
77
|
-
/// hues (default, lighter, darker), or any of the aforementioned
|
|
77
|
+
/// hues (default, lighter, darker), or any of the aforementioned suffixed with "-contrast".
|
|
78
78
|
///
|
|
79
79
|
/// @param {Map} $palette The palette from which to extract a color.
|
|
80
80
|
/// @param {String | Number} $hue The hue from the palette to use. If this is a value between 0
|
|
@@ -437,3 +437,12 @@ $_emitted-density: () !default;
|
|
|
437
437
|
color: $theme-or-color-config
|
|
438
438
|
));
|
|
439
439
|
}
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
// Approximates an rgba color into a solid hex color, given a background color.
|
|
443
|
+
@function private-rgba-to-hex($color, $background-color) {
|
|
444
|
+
// We convert the rgba color into a solid one by taking the opacity from the rgba
|
|
445
|
+
// value and using it to determine the percentage of the background to put
|
|
446
|
+
// into foreground when mixing the colors together.
|
|
447
|
+
@return mix($background-color, rgba($color, 1), (1 - opacity($color)) * 100%);
|
|
448
|
+
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/// @param {String | Number} $font-weight The font-weight for this level.
|
|
9
9
|
/// @param {String} $font-family The font-family for this level.
|
|
10
10
|
/// @param {String} $letter-spacing The letter-spacing for this level.
|
|
11
|
-
/// @returns {Map} A map representing the definition of this
|
|
11
|
+
/// @returns {Map} A map representing the definition of this typographic level.
|
|
12
12
|
@function define-typography-level(
|
|
13
13
|
$font-size,
|
|
14
14
|
$line-height: $font-size,
|
|
@@ -183,22 +183,41 @@
|
|
|
183
183
|
@mixin typography-hierarchy($config-or-theme, $selector: '.mat-typography') {
|
|
184
184
|
$config: private-typography-to-2014-config(theming.get-typography-config($config-or-theme));
|
|
185
185
|
|
|
186
|
-
|
|
186
|
+
// Note that it seems redundant to prefix the class rules with the `$selector`, however it's
|
|
187
|
+
// necessary if we want to allow people to overwrite the tag selectors. This is due to
|
|
188
|
+
// selectors like `#{$selector} h1` being more specific than ones like `.mat-title`.
|
|
189
|
+
.mat-h1,
|
|
190
|
+
.mat-headline,
|
|
191
|
+
#{$selector} .mat-h1,
|
|
192
|
+
#{$selector} .mat-headline,
|
|
193
|
+
#{$selector} h1 {
|
|
187
194
|
@include typography-utils.typography-level($config, headline);
|
|
188
195
|
margin: 0 0 16px;
|
|
189
196
|
}
|
|
190
197
|
|
|
191
|
-
.mat-h2,
|
|
198
|
+
.mat-h2,
|
|
199
|
+
.mat-title,
|
|
200
|
+
#{$selector} .mat-h2,
|
|
201
|
+
#{$selector} .mat-title,
|
|
202
|
+
#{$selector} h2 {
|
|
192
203
|
@include typography-utils.typography-level($config, title);
|
|
193
204
|
margin: 0 0 16px;
|
|
194
205
|
}
|
|
195
206
|
|
|
196
|
-
.mat-h3,
|
|
207
|
+
.mat-h3,
|
|
208
|
+
.mat-subheading-2,
|
|
209
|
+
#{$selector} .mat-h3,
|
|
210
|
+
#{$selector} .mat-subheading-2,
|
|
211
|
+
#{$selector} h3 {
|
|
197
212
|
@include typography-utils.typography-level($config, subheading-2);
|
|
198
213
|
margin: 0 0 16px;
|
|
199
214
|
}
|
|
200
215
|
|
|
201
|
-
.mat-h4,
|
|
216
|
+
.mat-h4,
|
|
217
|
+
.mat-subheading-1,
|
|
218
|
+
#{$selector} .mat-h4,
|
|
219
|
+
#{$selector} .mat-subheading-1,
|
|
220
|
+
#{$selector} h4 {
|
|
202
221
|
@include typography-utils.typography-level($config, subheading-1);
|
|
203
222
|
margin: 0 0 16px;
|
|
204
223
|
}
|
|
@@ -206,7 +225,9 @@
|
|
|
206
225
|
// Note: the spec doesn't have anything that would correspond to h5 and h6, but we add these for
|
|
207
226
|
// consistency. The font sizes come from the Chrome user agent styles which have h5 at 0.83em
|
|
208
227
|
// and h6 at 0.67em.
|
|
209
|
-
.mat-h5,
|
|
228
|
+
.mat-h5,
|
|
229
|
+
#{$selector} .mat-h5,
|
|
230
|
+
#{$selector} h5 {
|
|
210
231
|
@include typography-utils.font-shorthand(
|
|
211
232
|
// calc is used here to support css variables
|
|
212
233
|
calc(#{typography-utils.font-size($config, body-1)} * 0.83),
|
|
@@ -218,7 +239,9 @@
|
|
|
218
239
|
margin: 0 0 12px;
|
|
219
240
|
}
|
|
220
241
|
|
|
221
|
-
.mat-h6,
|
|
242
|
+
.mat-h6,
|
|
243
|
+
#{$selector} .mat-h6,
|
|
244
|
+
#{$selector} h6 {
|
|
222
245
|
@include typography-utils.font-shorthand(
|
|
223
246
|
// calc is used here to support css variables
|
|
224
247
|
calc(#{typography-utils.font-size($config, body-1)} * 0.67),
|
|
@@ -230,11 +253,18 @@
|
|
|
230
253
|
margin: 0 0 12px;
|
|
231
254
|
}
|
|
232
255
|
|
|
233
|
-
.mat-body-strong,
|
|
256
|
+
.mat-body-strong,
|
|
257
|
+
.mat-body-2,
|
|
258
|
+
#{$selector} .mat-body-strong,
|
|
259
|
+
#{$selector} .mat-body-2 {
|
|
234
260
|
@include typography-utils.typography-level($config, body-2);
|
|
235
261
|
}
|
|
236
262
|
|
|
237
|
-
.mat-body,
|
|
263
|
+
.mat-body,
|
|
264
|
+
.mat-body-1,
|
|
265
|
+
#{$selector} .mat-body,
|
|
266
|
+
#{$selector} .mat-body-1,
|
|
267
|
+
#{$selector} {
|
|
238
268
|
@include typography-utils.typography-level($config, body-1);
|
|
239
269
|
|
|
240
270
|
p {
|
|
@@ -242,26 +272,33 @@
|
|
|
242
272
|
}
|
|
243
273
|
}
|
|
244
274
|
|
|
245
|
-
.mat-small,
|
|
275
|
+
.mat-small,
|
|
276
|
+
.mat-caption,
|
|
277
|
+
#{$selector} .mat-small,
|
|
278
|
+
#{$selector} .mat-caption {
|
|
246
279
|
@include typography-utils.typography-level($config, caption);
|
|
247
280
|
}
|
|
248
281
|
|
|
249
|
-
.mat-display-4,
|
|
282
|
+
.mat-display-4,
|
|
283
|
+
#{$selector} .mat-display-4 {
|
|
250
284
|
@include typography-utils.typography-level($config, display-4);
|
|
251
285
|
margin: 0 0 56px;
|
|
252
286
|
}
|
|
253
287
|
|
|
254
|
-
.mat-display-3,
|
|
288
|
+
.mat-display-3,
|
|
289
|
+
#{$selector} .mat-display-3 {
|
|
255
290
|
@include typography-utils.typography-level($config, display-3);
|
|
256
291
|
margin: 0 0 64px;
|
|
257
292
|
}
|
|
258
293
|
|
|
259
|
-
.mat-display-2,
|
|
294
|
+
.mat-display-2,
|
|
295
|
+
#{$selector} .mat-display-2 {
|
|
260
296
|
@include typography-utils.typography-level($config, display-2);
|
|
261
297
|
margin: 0 0 64px;
|
|
262
298
|
}
|
|
263
299
|
|
|
264
|
-
.mat-display-1,
|
|
300
|
+
.mat-display-1,
|
|
301
|
+
#{$selector} .mat-display-1 {
|
|
265
302
|
@include typography-utils.typography-level($config, display-1);
|
|
266
303
|
margin: 0 0 64px;
|
|
267
304
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
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 { ElementRef, EventEmitter, NgZone, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
8
|
+
import { ElementRef, EventEmitter, NgZone, OnChanges, SimpleChanges, OnDestroy, AfterViewChecked } from '@angular/core';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/** Extra CSS classes that can be associated with a calendar cell. */
|
|
11
11
|
export declare type MatCalendarCellCssClasses = string | string[] | Set<string> | {
|
|
@@ -36,7 +36,7 @@ export interface MatCalendarUserEvent<D> {
|
|
|
36
36
|
* An internal component used to display calendar data in a table.
|
|
37
37
|
* @docs-private
|
|
38
38
|
*/
|
|
39
|
-
export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
39
|
+
export declare class MatCalendarBody implements OnChanges, OnDestroy, AfterViewChecked {
|
|
40
40
|
private _elementRef;
|
|
41
41
|
private _ngZone;
|
|
42
42
|
/**
|
|
@@ -44,6 +44,10 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
44
44
|
* We need a flag like this, because some browsers fire focus events asynchronously.
|
|
45
45
|
*/
|
|
46
46
|
private _skipNextFocus;
|
|
47
|
+
/**
|
|
48
|
+
* Used to focus the active cell after change detection has run.
|
|
49
|
+
*/
|
|
50
|
+
private _focusActiveCellAfterViewChecked;
|
|
47
51
|
/** The label for the table. (e.g. "Jan 2017"). */
|
|
48
52
|
label: string;
|
|
49
53
|
/** The cells to display in the table. */
|
|
@@ -60,6 +64,7 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
60
64
|
numCols: number;
|
|
61
65
|
/** The cell number of the active cell in the table. */
|
|
62
66
|
activeCell: number;
|
|
67
|
+
ngAfterViewChecked(): void;
|
|
63
68
|
/** Whether a range is being selected. */
|
|
64
69
|
isRange: boolean;
|
|
65
70
|
/**
|
|
@@ -79,6 +84,7 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
79
84
|
readonly selectedValueChange: EventEmitter<MatCalendarUserEvent<number>>;
|
|
80
85
|
/** Emits when the preview has changed as a result of a user action. */
|
|
81
86
|
readonly previewChange: EventEmitter<MatCalendarUserEvent<MatCalendarCell<any> | null>>;
|
|
87
|
+
readonly activeDateChange: EventEmitter<MatCalendarUserEvent<number>>;
|
|
82
88
|
/** The number of blank cells to put at the beginning for the first row. */
|
|
83
89
|
_firstRowOffset: number;
|
|
84
90
|
/** Padding for the individual date cells. */
|
|
@@ -88,14 +94,38 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
88
94
|
constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
|
|
89
95
|
/** Called when a cell is clicked. */
|
|
90
96
|
_cellClicked(cell: MatCalendarCell, event: MouseEvent): void;
|
|
97
|
+
_emitActiveDateChange(cell: MatCalendarCell, event: FocusEvent): void;
|
|
91
98
|
/** Returns whether a cell should be marked as selected. */
|
|
92
99
|
_isSelected(value: number): boolean;
|
|
93
100
|
ngOnChanges(changes: SimpleChanges): void;
|
|
94
101
|
ngOnDestroy(): void;
|
|
95
102
|
/** Returns whether a cell is active. */
|
|
96
103
|
_isActiveCell(rowIndex: number, colIndex: number): boolean;
|
|
97
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Focuses the active cell after the microtask queue is empty.
|
|
106
|
+
*
|
|
107
|
+
* Adding a 0ms setTimeout seems to fix Voiceover losing focus when pressing PageUp/PageDown
|
|
108
|
+
* (issue #24330).
|
|
109
|
+
*
|
|
110
|
+
* Determined a 0ms by gradually increasing duration from 0 and testing two use cases with screen
|
|
111
|
+
* reader enabled:
|
|
112
|
+
*
|
|
113
|
+
* 1. Pressing PageUp/PageDown repeatedly with pausing between each key press.
|
|
114
|
+
* 2. Pressing and holding the PageDown key with repeated keys enabled.
|
|
115
|
+
*
|
|
116
|
+
* Test 1 worked roughly 95-99% of the time with 0ms and got a little bit better as the duration
|
|
117
|
+
* increased. Test 2 got slightly better until the duration was long enough to interfere with
|
|
118
|
+
* repeated keys. If the repeated key speed was faster than the timeout duration, then pressing
|
|
119
|
+
* and holding pagedown caused the entire page to scroll.
|
|
120
|
+
*
|
|
121
|
+
* Since repeated key speed can verify across machines, determined that any duration could
|
|
122
|
+
* potentially interfere with repeated keys. 0ms would be best because it almost entirely
|
|
123
|
+
* eliminates the focus being lost in Voiceover (#24330) without causing unintended side effects.
|
|
124
|
+
* Adding delay also complicates writing tests.
|
|
125
|
+
*/
|
|
98
126
|
_focusActiveCell(movePreview?: boolean): void;
|
|
127
|
+
/** Focuses the active cell after change detection has run and the microtask queue is empty. */
|
|
128
|
+
_scheduleFocusActiveCellAfterViewChecked(): void;
|
|
99
129
|
/** Gets whether a value is the start of the main range. */
|
|
100
130
|
_isRangeStart(value: number): boolean;
|
|
101
131
|
/** Gets whether a value is the end of the main range. */
|
|
@@ -142,5 +172,5 @@ export declare class MatCalendarBody implements OnChanges, OnDestroy {
|
|
|
142
172
|
/** Finds the MatCalendarCell that corresponds to a DOM node. */
|
|
143
173
|
private _getCellFromElement;
|
|
144
174
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCalendarBody, never>;
|
|
145
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarBody, "[mat-calendar-body]", ["matCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "startValue": "startValue"; "endValue": "endValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "isRange": "isRange"; "cellAspectRatio": "cellAspectRatio"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; "previewStart": "previewStart"; "previewEnd": "previewEnd"; }, { "selectedValueChange": "selectedValueChange"; "previewChange": "previewChange"; }, never, never>;
|
|
175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarBody, "[mat-calendar-body]", ["matCalendarBody"], { "label": "label"; "rows": "rows"; "todayValue": "todayValue"; "startValue": "startValue"; "endValue": "endValue"; "labelMinRequiredCells": "labelMinRequiredCells"; "numCols": "numCols"; "activeCell": "activeCell"; "isRange": "isRange"; "cellAspectRatio": "cellAspectRatio"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; "previewStart": "previewStart"; "previewEnd": "previewEnd"; }, { "selectedValueChange": "selectedValueChange"; "previewChange": "previewChange"; "activeDateChange": "activeDateChange"; }, never, never, false>;
|
|
146
176
|
}
|
package/datepicker/calendar.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare class MatCalendarHeader<D> {
|
|
|
49
49
|
/** Whether the two dates represent the same view in the current view mode (month or year). */
|
|
50
50
|
private _isSameView;
|
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCalendarHeader<any>, [null, null, { optional: true; }, { optional: true; }, null]>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarHeader<any>, "mat-calendar-header", ["matCalendarHeader"], {}, {}, never, ["*"]>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendarHeader<any>, "mat-calendar-header", ["matCalendarHeader"], {}, {}, never, ["*"], false>;
|
|
53
53
|
}
|
|
54
54
|
/** A calendar that is used as part of the datepicker. */
|
|
55
55
|
export declare class MatCalendar<D> implements AfterContentInit, AfterViewChecked, OnDestroy, OnChanges {
|
|
@@ -152,5 +152,5 @@ export declare class MatCalendar<D> implements AfterContentInit, AfterViewChecke
|
|
|
152
152
|
/** Returns the component instance that corresponds to the current calendar view. */
|
|
153
153
|
private _getCurrentViewComponent;
|
|
154
154
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCalendar<any>, [null, { optional: true; }, { optional: true; }, null]>;
|
|
155
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendar<any>, "mat-calendar", ["matCalendar"], { "headerComponent": "headerComponent"; "startAt": "startAt"; "startView": "startView"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "_userSelection": "_userSelection"; }, never, never>;
|
|
155
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCalendar<any>, "mat-calendar", ["matCalendar"], { "headerComponent": "headerComponent"; "startAt": "startAt"; "startView": "startView"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "dateFilter": "dateFilter"; "dateClass": "dateClass"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, { "selectedChange": "selectedChange"; "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "_userSelection": "_userSelection"; }, never, never, false>;
|
|
156
156
|
}
|
|
@@ -41,7 +41,10 @@ declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBa
|
|
|
41
41
|
private _injector;
|
|
42
42
|
_parentForm: NgForm;
|
|
43
43
|
_parentFormGroup: FormGroupDirective;
|
|
44
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* Form control bound to this input part.
|
|
46
|
+
* @docs-private
|
|
47
|
+
*/
|
|
45
48
|
ngControl: NgControl;
|
|
46
49
|
/** @docs-private */
|
|
47
50
|
abstract updateErrorState(): void;
|
|
@@ -71,7 +74,7 @@ declare abstract class MatDateRangeInputPartBase<D> extends MatDatepickerInputBa
|
|
|
71
74
|
protected _shouldHandleChangeEvent({ source }: DateSelectionModelChange<DateRange<D>>): boolean;
|
|
72
75
|
protected _assignValueProgrammatically(value: D | null): void;
|
|
73
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangeInputPartBase<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
74
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDateRangeInputPartBase<any>, never, never, {}, {}, never>;
|
|
77
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDateRangeInputPartBase<any>, never, never, {}, {}, never, never, false>;
|
|
75
78
|
}
|
|
76
79
|
declare const _MatDateRangeInputBase: import("@angular/material/core")._Constructor<CanUpdateErrorState> & import("@angular/material/core")._AbstractConstructor<CanUpdateErrorState> & typeof MatDateRangeInputPartBase;
|
|
77
80
|
/** Input for entering the start date in a `mat-date-range-input`. */
|
|
@@ -87,7 +90,7 @@ export declare class MatStartDate<D> extends _MatDateRangeInputBase<D> implement
|
|
|
87
90
|
/** Gets the value that should be used when mirroring the input's size. */
|
|
88
91
|
getMirrorValue(): string;
|
|
89
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatStartDate<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
90
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatStartDate<any>, "input[matStartDate]", never, { "errorStateMatcher": "errorStateMatcher"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never>;
|
|
93
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatStartDate<any>, "input[matStartDate]", never, { "errorStateMatcher": "errorStateMatcher"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, false>;
|
|
91
94
|
}
|
|
92
95
|
/** Input for entering the end date in a `mat-date-range-input`. */
|
|
93
96
|
export declare class MatEndDate<D> extends _MatDateRangeInputBase<D> implements CanUpdateErrorState {
|
|
@@ -100,6 +103,6 @@ export declare class MatEndDate<D> extends _MatDateRangeInputBase<D> implements
|
|
|
100
103
|
protected _assignValueToModel(value: D | null): void;
|
|
101
104
|
_onKeydown(event: KeyboardEvent): void;
|
|
102
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatEndDate<any>, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
103
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatEndDate<any>, "input[matEndDate]", never, { "errorStateMatcher": "errorStateMatcher"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never>;
|
|
106
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatEndDate<any>, "input[matEndDate]", never, { "errorStateMatcher": "errorStateMatcher"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, false>;
|
|
104
107
|
}
|
|
105
108
|
export {};
|
|
@@ -129,5 +129,5 @@ export declare class MatDateRangeInput<D> implements MatFormFieldControl<DateRan
|
|
|
129
129
|
/** Registers the current date selection model with the start/end inputs. */
|
|
130
130
|
private _registerModel;
|
|
131
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangeInput<any>, [null, null, { optional: true; self: true; }, { optional: true; }, { optional: true; }]>;
|
|
132
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangeInput<any>, "mat-date-range-input", ["matDateRangeInput"], { "rangePicker": "rangePicker"; "required": "required"; "dateFilter": "dateFilter"; "min": "min"; "max": "max"; "disabled": "disabled"; "separator": "separator"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, {}, ["_startInput", "_endInput"], ["input[matStartDate]", "input[matEndDate]"]>;
|
|
132
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangeInput<any>, "mat-date-range-input", ["matDateRangeInput"], { "rangePicker": "rangePicker"; "required": "required"; "dateFilter": "dateFilter"; "min": "min"; "max": "max"; "disabled": "disabled"; "separator": "separator"; "comparisonStart": "comparisonStart"; "comparisonEnd": "comparisonEnd"; }, {}, ["_startInput", "_endInput"], ["input[matStartDate]", "input[matEndDate]"], false>;
|
|
133
133
|
}
|
|
@@ -13,5 +13,5 @@ export interface MatDateRangePickerInput<D> extends MatDatepickerControl<D> {
|
|
|
13
13
|
export declare class MatDateRangePicker<D> extends MatDatepickerBase<MatDateRangePickerInput<D>, DateRange<D>, D> {
|
|
14
14
|
protected _forwardContentValues(instance: MatDatepickerContent<DateRange<D>, D>): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDateRangePicker<any>, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangePicker<any>, "mat-date-range-picker", ["matDateRangePicker"], {}, {}, never, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDateRangePicker<any>, "mat-date-range-picker", ["matDateRangePicker"], {}, {}, never, never, false>;
|
|
17
17
|
}
|
|
@@ -14,14 +14,14 @@ export declare class MatDatepickerApply {
|
|
|
14
14
|
constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>);
|
|
15
15
|
_applySelection(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerApply, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerApply, "[matDatepickerApply], [matDateRangePickerApply]", never, {}, {}, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerApply, "[matDatepickerApply], [matDateRangePickerApply]", never, {}, {}, never, never, false>;
|
|
18
18
|
}
|
|
19
19
|
/** Button that will close the datepicker and discard the current selection. */
|
|
20
20
|
export declare class MatDatepickerCancel {
|
|
21
21
|
_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>;
|
|
22
22
|
constructor(_datepicker: MatDatepickerBase<MatDatepickerControl<unknown>, unknown>);
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerCancel, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerCancel, "[matDatepickerCancel], [matDateRangePickerCancel]", never, {}, {}, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerCancel, "[matDatepickerCancel], [matDateRangePickerCancel]", never, {}, {}, never, never, false>;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Container that can be used to project a row of action buttons
|
|
@@ -36,5 +36,5 @@ export declare class MatDatepickerActions implements AfterViewInit, OnDestroy {
|
|
|
36
36
|
ngAfterViewInit(): void;
|
|
37
37
|
ngOnDestroy(): void;
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerActions, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerActions, "mat-datepicker-actions, mat-date-range-picker-actions", never, {}, {}, never, ["*"]>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerActions, "mat-datepicker-actions, mat-date-range-picker-actions", never, {}, {}, never, ["*"], false>;
|
|
40
40
|
}
|
|
@@ -73,6 +73,8 @@ export declare class MatDatepickerContent<S, D = ExtractDateTypeFromSelection<S>
|
|
|
73
73
|
_closeButtonFocused: boolean;
|
|
74
74
|
/** Portal with projected action buttons. */
|
|
75
75
|
_actionsPortal: TemplatePortal | null;
|
|
76
|
+
/** Id of the label for the `role="dialog"` element. */
|
|
77
|
+
_dialogLabelId: string | null;
|
|
76
78
|
constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _globalModel: MatDateSelectionModel<S, D>, _dateAdapter: DateAdapter<D>, _rangeSelectionStrategy: MatDateRangeSelectionStrategy<D>, intl: MatDatepickerIntl);
|
|
77
79
|
ngOnInit(): void;
|
|
78
80
|
ngAfterViewInit(): void;
|
|
@@ -83,7 +85,7 @@ export declare class MatDatepickerContent<S, D = ExtractDateTypeFromSelection<S>
|
|
|
83
85
|
/** Applies the current pending selection to the global model. */
|
|
84
86
|
_applyPendingSelection(): void;
|
|
85
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerContent<any, any>, [null, null, null, null, { optional: true; }, null]>;
|
|
86
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerContent<any, any>, "mat-datepicker-content", ["matDatepickerContent"], { "color": "color"; }, {}, never, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerContent<any, any>, "mat-datepicker-content", ["matDatepickerContent"], { "color": "color"; }, {}, never, never, false>;
|
|
87
89
|
}
|
|
88
90
|
/** Form control that can be associated with a datepicker. */
|
|
89
91
|
export interface MatDatepickerControl<D> {
|
|
@@ -265,6 +267,6 @@ export declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D
|
|
|
265
267
|
/** Gets an observable that will emit when the overlay is supposed to be closed. */
|
|
266
268
|
private _getCloseStream;
|
|
267
269
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerBase<any, any, any>, [null, null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
268
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerBase<any, any, any>, never, never, { "calendarHeaderComponent": "calendarHeaderComponent"; "startAt": "startAt"; "startView": "startView"; "color": "color"; "touchUi": "touchUi"; "disabled": "disabled"; "xPosition": "xPosition"; "yPosition": "yPosition"; "restoreFocus": "restoreFocus"; "dateClass": "dateClass"; "panelClass": "panelClass"; "opened": "opened"; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "openedStream": "opened"; "closedStream": "closed"; }, never>;
|
|
270
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerBase<any, any, any>, never, never, { "calendarHeaderComponent": "calendarHeaderComponent"; "startAt": "startAt"; "startView": "startView"; "color": "color"; "touchUi": "touchUi"; "disabled": "disabled"; "xPosition": "xPosition"; "yPosition": "yPosition"; "restoreFocus": "restoreFocus"; "dateClass": "dateClass"; "panelClass": "panelClass"; "opened": "opened"; }, { "yearSelected": "yearSelected"; "monthSelected": "monthSelected"; "viewChanged": "viewChanged"; "openedStream": "opened"; "closedStream": "closed"; }, never, never, false>;
|
|
269
271
|
}
|
|
270
272
|
export {};
|
|
@@ -127,7 +127,7 @@ export declare abstract class MatDatepickerInputBase<S, D = ExtractDateTypeFromS
|
|
|
127
127
|
/** Gets whether a value matches the current date filter. */
|
|
128
128
|
_matchesFilter(value: D | null): boolean;
|
|
129
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerInputBase<any, any>, [null, { optional: true; }, { optional: true; }]>;
|
|
130
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerInputBase<any, any>, never, never, { "value": "value"; "disabled": "disabled"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never>;
|
|
130
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDatepickerInputBase<any, any>, never, never, { "value": "value"; "disabled": "disabled"; }, { "dateChange": "dateChange"; "dateInput": "dateInput"; }, never, never, false>;
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
133
|
* Checks whether the `SimpleChanges` object from an `ngOnChanges`
|