@angular/material-experimental 14.0.0-next.8 → 14.0.0-rc.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/_index.scss +3 -0
- package/column-resize/_column-resize-theme.scss +15 -17
- package/column-resize/index.d.ts +238 -6
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-module.mjs +13 -13
- package/esm2020/column-resize/overlay-handle.mjs +4 -4
- package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
- package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
- package/esm2020/column-resize/resize-strategy.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete.mjs +5 -5
- package/esm2020/mdc-autocomplete/module.mjs +5 -5
- package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +4 -4
- package/esm2020/mdc-button/button-base.mjs +7 -7
- package/esm2020/mdc-button/button.mjs +9 -9
- package/esm2020/mdc-button/fab.mjs +17 -17
- package/esm2020/mdc-button/icon-button.mjs +9 -9
- package/esm2020/mdc-button/module.mjs +5 -5
- package/esm2020/mdc-button/testing/button-harness.mjs +3 -3
- package/esm2020/mdc-card/card.mjs +44 -44
- package/esm2020/mdc-card/module.mjs +5 -5
- package/esm2020/mdc-card/testing/card-harness.mjs +4 -5
- package/esm2020/mdc-checkbox/checkbox.mjs +29 -283
- package/esm2020/mdc-checkbox/module.mjs +5 -5
- package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +2 -2
- package/esm2020/mdc-chips/chip-action.mjs +6 -5
- package/esm2020/mdc-chips/chip-edit-input.mjs +4 -4
- package/esm2020/mdc-chips/chip-grid.mjs +22 -9
- package/esm2020/mdc-chips/chip-icons.mjs +10 -10
- package/esm2020/mdc-chips/chip-input.mjs +8 -4
- package/esm2020/mdc-chips/chip-listbox.mjs +6 -6
- package/esm2020/mdc-chips/chip-option.mjs +8 -8
- package/esm2020/mdc-chips/chip-row.mjs +5 -5
- package/esm2020/mdc-chips/chip-set.mjs +6 -8
- package/esm2020/mdc-chips/chip-text-control.mjs +1 -1
- package/esm2020/mdc-chips/chip.mjs +8 -8
- package/esm2020/mdc-chips/module.mjs +6 -6
- package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +5 -5
- package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +5 -3
- package/esm2020/mdc-chips/testing/chip-harness.mjs +5 -5
- package/esm2020/mdc-chips/testing/chip-input-harness.mjs +5 -5
- package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +5 -3
- package/esm2020/mdc-chips/testing/chip-option-harness.mjs +3 -3
- package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +5 -5
- package/esm2020/mdc-chips/testing/chip-row-harness.mjs +1 -10
- package/esm2020/mdc-chips/testing/chip-set-harness.mjs +5 -3
- package/esm2020/mdc-core/option/index.mjs +5 -5
- package/esm2020/mdc-core/option/optgroup.mjs +5 -5
- package/esm2020/mdc-core/option/option.mjs +5 -5
- package/esm2020/mdc-core/testing/optgroup-harness.mjs +5 -5
- package/esm2020/mdc-core/testing/option-harness.mjs +4 -5
- package/esm2020/mdc-dialog/dialog-container.mjs +19 -18
- package/esm2020/mdc-dialog/dialog-content-directives.mjs +13 -13
- package/esm2020/mdc-dialog/dialog-ref.mjs +1 -6
- package/esm2020/mdc-dialog/dialog.mjs +12 -7
- package/esm2020/mdc-dialog/module.mjs +8 -7
- package/esm2020/mdc-dialog/public-api.mjs +2 -2
- package/esm2020/mdc-dialog/testing/dialog-harness.mjs +6 -7
- package/esm2020/mdc-form-field/directives/error.mjs +4 -4
- package/esm2020/mdc-form-field/directives/floating-label.mjs +26 -6
- package/esm2020/mdc-form-field/directives/hint.mjs +4 -4
- package/esm2020/mdc-form-field/directives/label.mjs +4 -4
- package/esm2020/mdc-form-field/directives/line-ripple.mjs +32 -11
- package/esm2020/mdc-form-field/directives/notched-outline.mjs +25 -46
- package/esm2020/mdc-form-field/directives/prefix.mjs +4 -4
- package/esm2020/mdc-form-field/directives/suffix.mjs +4 -4
- package/esm2020/mdc-form-field/form-field.mjs +17 -101
- package/esm2020/mdc-form-field/module.mjs +5 -5
- package/esm2020/mdc-form-field/testing/form-field-harness.mjs +4 -4
- package/esm2020/mdc-form-field/testing/public-api.mjs +4 -4
- package/esm2020/mdc-input/input.mjs +4 -4
- package/esm2020/mdc-input/module.mjs +5 -5
- package/esm2020/mdc-list/action-list.mjs +5 -5
- package/esm2020/mdc-list/interactive-list-base.mjs +4 -4
- package/esm2020/mdc-list/list-base.mjs +7 -7
- package/esm2020/mdc-list/list-item-sections.mjs +19 -19
- package/esm2020/mdc-list/list-option.mjs +9 -9
- package/esm2020/mdc-list/list.mjs +8 -8
- package/esm2020/mdc-list/module.mjs +9 -11
- package/esm2020/mdc-list/nav-list.mjs +5 -5
- package/esm2020/mdc-list/selection-list.mjs +6 -6
- package/esm2020/mdc-list/subheader.mjs +4 -4
- package/esm2020/mdc-list/testing/action-list-harness.mjs +7 -7
- package/esm2020/mdc-list/testing/list-harness.mjs +5 -7
- package/esm2020/mdc-list/testing/list-item-harness-base.mjs +6 -6
- package/esm2020/mdc-list/testing/nav-list-harness.mjs +7 -7
- package/esm2020/mdc-list/testing/selection-list-harness.mjs +7 -7
- package/esm2020/mdc-menu/directives.mjs +7 -7
- package/esm2020/mdc-menu/menu-item.mjs +6 -6
- package/esm2020/mdc-menu/menu.mjs +5 -5
- package/esm2020/mdc-menu/module.mjs +5 -5
- package/esm2020/mdc-menu/testing/menu-harness.mjs +5 -7
- package/esm2020/mdc-paginator/module.mjs +5 -5
- package/esm2020/mdc-paginator/paginator.mjs +10 -10
- package/esm2020/mdc-paginator/testing/paginator-harness.mjs +3 -4
- package/esm2020/mdc-progress-bar/module.mjs +5 -5
- package/esm2020/mdc-progress-bar/progress-bar.mjs +8 -5
- package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +5 -3
- package/esm2020/mdc-progress-spinner/module.mjs +5 -5
- package/esm2020/mdc-progress-spinner/progress-spinner.mjs +14 -61
- package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +5 -5
- package/esm2020/mdc-radio/module.mjs +5 -5
- package/esm2020/mdc-radio/radio.mjs +9 -43
- package/esm2020/mdc-radio/testing/radio-harness.mjs +7 -7
- package/esm2020/mdc-select/module.mjs +5 -5
- package/esm2020/mdc-select/select.mjs +11 -12
- package/esm2020/mdc-select/testing/select-harness.mjs +3 -4
- package/esm2020/mdc-slide-toggle/module.mjs +5 -5
- package/esm2020/mdc-slide-toggle/slide-toggle.mjs +16 -178
- package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +4 -3
- package/esm2020/mdc-slider/global-change-and-input-listener.mjs +4 -4
- package/esm2020/mdc-slider/module.mjs +5 -5
- package/esm2020/mdc-slider/slider.mjs +45 -16
- package/esm2020/mdc-slider/testing/slider-harness.mjs +6 -7
- package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +5 -6
- package/esm2020/mdc-snack-bar/module.mjs +5 -5
- package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +8 -8
- package/esm2020/mdc-snack-bar/snack-bar-container.mjs +52 -27
- package/esm2020/mdc-snack-bar/snack-bar-content.mjs +10 -10
- package/esm2020/mdc-snack-bar/snack-bar.mjs +4 -4
- package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +3 -4
- package/esm2020/mdc-table/cell.mjs +22 -22
- package/esm2020/mdc-table/module.mjs +5 -5
- package/esm2020/mdc-table/row.mjs +22 -22
- package/esm2020/mdc-table/table.mjs +9 -9
- package/esm2020/mdc-table/testing/cell-harness.mjs +8 -8
- package/esm2020/mdc-table/testing/row-harness.mjs +8 -8
- package/esm2020/mdc-table/testing/table-harness.mjs +2 -2
- package/esm2020/mdc-table/text-column.mjs +5 -5
- package/esm2020/mdc-tabs/ink-bar.mjs +93 -114
- package/esm2020/mdc-tabs/module.mjs +10 -12
- package/esm2020/mdc-tabs/tab-body.mjs +8 -8
- package/esm2020/mdc-tabs/tab-content.mjs +4 -4
- package/esm2020/mdc-tabs/tab-group.mjs +13 -13
- package/esm2020/mdc-tabs/tab-header.mjs +5 -5
- package/esm2020/mdc-tabs/tab-label-wrapper.mjs +10 -34
- package/esm2020/mdc-tabs/tab-label.mjs +4 -4
- package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +18 -27
- package/esm2020/mdc-tabs/tab.mjs +4 -4
- package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +4 -5
- package/esm2020/mdc-tabs/testing/tab-harness.mjs +3 -4
- package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +4 -5
- package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +5 -5
- package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +5 -5
- package/esm2020/mdc-tooltip/module.mjs +5 -5
- package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +4 -4
- package/esm2020/mdc-tooltip/tooltip.mjs +8 -8
- package/esm2020/menubar/menubar-item.mjs +8 -8
- package/esm2020/menubar/menubar-module.mjs +6 -6
- package/esm2020/menubar/menubar.mjs +8 -11
- package/esm2020/popover-edit/lens-directives.mjs +10 -10
- package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
- package/esm2020/popover-edit/table-directives.mjs +13 -13
- package/esm2020/selection/row-selection.mjs +4 -4
- package/esm2020/selection/select-all.mjs +4 -4
- package/esm2020/selection/selection-column.mjs +8 -8
- package/esm2020/selection/selection-module.mjs +5 -5
- package/esm2020/selection/selection-toggle.mjs +4 -4
- package/esm2020/selection/selection.mjs +4 -4
- package/esm2020/version.mjs +1 -1
- package/fesm2015/column-resize.mjs +36 -36
- package/fesm2015/column-resize.mjs.map +1 -1
- package/fesm2015/material-experimental.mjs +1 -1
- package/fesm2015/material-experimental.mjs.map +1 -1
- package/fesm2015/mdc-autocomplete/testing.mjs +3 -3
- package/fesm2015/mdc-autocomplete/testing.mjs.map +1 -1
- package/fesm2015/mdc-autocomplete.mjs +14 -14
- package/fesm2015/mdc-autocomplete.mjs.map +1 -1
- package/fesm2015/mdc-button/testing.mjs +1 -1
- package/fesm2015/mdc-button/testing.mjs.map +1 -1
- package/fesm2015/mdc-button.mjs +42 -42
- package/fesm2015/mdc-button.mjs.map +1 -1
- package/fesm2015/mdc-card/testing.mjs +2 -3
- package/fesm2015/mdc-card/testing.mjs.map +1 -1
- package/fesm2015/mdc-card.mjs +47 -47
- package/fesm2015/mdc-card.mjs.map +1 -1
- package/fesm2015/mdc-checkbox/testing.mjs +1 -1
- package/fesm2015/mdc-checkbox/testing.mjs.map +1 -1
- package/fesm2015/mdc-checkbox.mjs +34 -287
- package/fesm2015/mdc-checkbox.mjs.map +1 -1
- package/fesm2015/mdc-chips/testing.mjs +23 -25
- package/fesm2015/mdc-chips/testing.mjs.map +1 -1
- package/fesm2015/mdc-chips.mjs +75 -59
- package/fesm2015/mdc-chips.mjs.map +1 -1
- package/fesm2015/mdc-core/testing.mjs +5 -6
- package/fesm2015/mdc-core/testing.mjs.map +1 -1
- package/fesm2015/mdc-core.mjs +12 -12
- package/fesm2015/mdc-core.mjs.map +1 -1
- package/fesm2015/mdc-dialog/testing.mjs +5 -6
- package/fesm2015/mdc-dialog/testing.mjs.map +1 -1
- package/fesm2015/mdc-dialog.mjs +47 -46
- package/fesm2015/mdc-dialog.mjs.map +1 -1
- package/fesm2015/mdc-form-field/testing.mjs +4 -4
- package/fesm2015/mdc-form-field/testing.mjs.map +1 -1
- package/fesm2015/mdc-form-field.mjs +120 -175
- package/fesm2015/mdc-form-field.mjs.map +1 -1
- package/fesm2015/mdc-input.mjs +7 -7
- package/fesm2015/mdc-input.mjs.map +1 -1
- package/fesm2015/mdc-list/testing.mjs +27 -29
- package/fesm2015/mdc-list/testing.mjs.map +1 -1
- package/fesm2015/mdc-list.mjs +65 -67
- package/fesm2015/mdc-list.mjs.map +1 -1
- package/fesm2015/mdc-menu/testing.mjs +4 -6
- package/fesm2015/mdc-menu/testing.mjs.map +1 -1
- package/fesm2015/mdc-menu.mjs +18 -18
- package/fesm2015/mdc-menu.mjs.map +1 -1
- package/fesm2015/mdc-paginator/testing.mjs +2 -3
- package/fesm2015/mdc-paginator/testing.mjs.map +1 -1
- package/fesm2015/mdc-paginator.mjs +13 -13
- package/fesm2015/mdc-paginator.mjs.map +1 -1
- package/fesm2015/mdc-progress-bar/testing.mjs +3 -1
- package/fesm2015/mdc-progress-bar/testing.mjs.map +1 -1
- package/fesm2015/mdc-progress-bar.mjs +11 -8
- package/fesm2015/mdc-progress-bar.mjs.map +1 -1
- package/fesm2015/mdc-progress-spinner/testing.mjs +3 -3
- package/fesm2015/mdc-progress-spinner/testing.mjs.map +1 -1
- package/fesm2015/mdc-progress-spinner.mjs +17 -64
- package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
- package/fesm2015/mdc-radio/testing.mjs +6 -6
- package/fesm2015/mdc-radio/testing.mjs.map +1 -1
- package/fesm2015/mdc-radio.mjs +13 -47
- package/fesm2015/mdc-radio.mjs.map +1 -1
- package/fesm2015/mdc-select/testing.mjs +2 -3
- package/fesm2015/mdc-select/testing.mjs.map +1 -1
- package/fesm2015/mdc-select.mjs +14 -15
- package/fesm2015/mdc-select.mjs.map +1 -1
- package/fesm2015/mdc-slide-toggle/testing.mjs +3 -2
- package/fesm2015/mdc-slide-toggle/testing.mjs.map +1 -1
- package/fesm2015/mdc-slide-toggle.mjs +20 -184
- package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2015/mdc-slider/testing.mjs +7 -9
- package/fesm2015/mdc-slider/testing.mjs.map +1 -1
- package/fesm2015/mdc-slider.mjs +53 -22
- package/fesm2015/mdc-slider.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar/testing.mjs +2 -3
- package/fesm2015/mdc-snack-bar/testing.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar.mjs +77 -52
- package/fesm2015/mdc-snack-bar.mjs.map +1 -1
- package/fesm2015/mdc-table/testing.mjs +15 -15
- package/fesm2015/mdc-table/testing.mjs.map +1 -1
- package/fesm2015/mdc-table.mjs +58 -58
- package/fesm2015/mdc-table.mjs.map +1 -1
- package/fesm2015/mdc-tabs/testing.mjs +12 -15
- package/fesm2015/mdc-tabs/testing.mjs.map +1 -1
- package/fesm2015/mdc-tabs.mjs +153 -207
- package/fesm2015/mdc-tabs.mjs.map +1 -1
- package/fesm2015/mdc-tooltip/testing.mjs +3 -3
- package/fesm2015/mdc-tooltip/testing.mjs.map +1 -1
- package/fesm2015/mdc-tooltip.mjs +11 -11
- package/fesm2015/mdc-tooltip.mjs.map +1 -1
- package/fesm2015/menubar.mjs +17 -20
- package/fesm2015/menubar.mjs.map +1 -1
- package/fesm2015/popover-edit.mjs +25 -25
- package/fesm2015/popover-edit.mjs.map +1 -1
- package/fesm2015/selection.mjs +24 -24
- package/fesm2015/selection.mjs.map +1 -1
- package/fesm2020/column-resize.mjs +36 -36
- package/fesm2020/column-resize.mjs.map +1 -1
- package/fesm2020/material-experimental.mjs +1 -1
- package/fesm2020/material-experimental.mjs.map +1 -1
- package/fesm2020/mdc-autocomplete/testing.mjs +3 -3
- package/fesm2020/mdc-autocomplete/testing.mjs.map +1 -1
- package/fesm2020/mdc-autocomplete.mjs +14 -14
- package/fesm2020/mdc-autocomplete.mjs.map +1 -1
- package/fesm2020/mdc-button/testing.mjs +1 -1
- package/fesm2020/mdc-button/testing.mjs.map +1 -1
- package/fesm2020/mdc-button.mjs +42 -42
- package/fesm2020/mdc-button.mjs.map +1 -1
- package/fesm2020/mdc-card/testing.mjs +2 -3
- package/fesm2020/mdc-card/testing.mjs.map +1 -1
- package/fesm2020/mdc-card.mjs +47 -47
- package/fesm2020/mdc-card.mjs.map +1 -1
- package/fesm2020/mdc-checkbox/testing.mjs +1 -1
- package/fesm2020/mdc-checkbox/testing.mjs.map +1 -1
- package/fesm2020/mdc-checkbox.mjs +34 -287
- package/fesm2020/mdc-checkbox.mjs.map +1 -1
- package/fesm2020/mdc-chips/testing.mjs +23 -25
- package/fesm2020/mdc-chips/testing.mjs.map +1 -1
- package/fesm2020/mdc-chips.mjs +75 -59
- package/fesm2020/mdc-chips.mjs.map +1 -1
- package/fesm2020/mdc-core/testing.mjs +5 -6
- package/fesm2020/mdc-core/testing.mjs.map +1 -1
- package/fesm2020/mdc-core.mjs +12 -12
- package/fesm2020/mdc-core.mjs.map +1 -1
- package/fesm2020/mdc-dialog/testing.mjs +5 -6
- package/fesm2020/mdc-dialog/testing.mjs.map +1 -1
- package/fesm2020/mdc-dialog.mjs +47 -46
- package/fesm2020/mdc-dialog.mjs.map +1 -1
- package/fesm2020/mdc-form-field/testing.mjs +4 -4
- package/fesm2020/mdc-form-field/testing.mjs.map +1 -1
- package/fesm2020/mdc-form-field.mjs +112 -174
- package/fesm2020/mdc-form-field.mjs.map +1 -1
- package/fesm2020/mdc-input.mjs +7 -7
- package/fesm2020/mdc-input.mjs.map +1 -1
- package/fesm2020/mdc-list/testing.mjs +27 -29
- package/fesm2020/mdc-list/testing.mjs.map +1 -1
- package/fesm2020/mdc-list.mjs +65 -67
- package/fesm2020/mdc-list.mjs.map +1 -1
- package/fesm2020/mdc-menu/testing.mjs +4 -6
- package/fesm2020/mdc-menu/testing.mjs.map +1 -1
- package/fesm2020/mdc-menu.mjs +18 -18
- package/fesm2020/mdc-menu.mjs.map +1 -1
- package/fesm2020/mdc-paginator/testing.mjs +2 -3
- package/fesm2020/mdc-paginator/testing.mjs.map +1 -1
- package/fesm2020/mdc-paginator.mjs +13 -13
- package/fesm2020/mdc-paginator.mjs.map +1 -1
- package/fesm2020/mdc-progress-bar/testing.mjs +3 -1
- package/fesm2020/mdc-progress-bar/testing.mjs.map +1 -1
- package/fesm2020/mdc-progress-bar.mjs +11 -8
- package/fesm2020/mdc-progress-bar.mjs.map +1 -1
- package/fesm2020/mdc-progress-spinner/testing.mjs +3 -3
- package/fesm2020/mdc-progress-spinner/testing.mjs.map +1 -1
- package/fesm2020/mdc-progress-spinner.mjs +17 -64
- package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
- package/fesm2020/mdc-radio/testing.mjs +6 -6
- package/fesm2020/mdc-radio/testing.mjs.map +1 -1
- package/fesm2020/mdc-radio.mjs +13 -47
- package/fesm2020/mdc-radio.mjs.map +1 -1
- package/fesm2020/mdc-select/testing.mjs +2 -3
- package/fesm2020/mdc-select/testing.mjs.map +1 -1
- package/fesm2020/mdc-select.mjs +14 -15
- package/fesm2020/mdc-select.mjs.map +1 -1
- package/fesm2020/mdc-slide-toggle/testing.mjs +3 -2
- package/fesm2020/mdc-slide-toggle/testing.mjs.map +1 -1
- package/fesm2020/mdc-slide-toggle.mjs +20 -183
- package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2020/mdc-slider/testing.mjs +7 -9
- package/fesm2020/mdc-slider/testing.mjs.map +1 -1
- package/fesm2020/mdc-slider.mjs +51 -21
- package/fesm2020/mdc-slider.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar/testing.mjs +2 -3
- package/fesm2020/mdc-snack-bar/testing.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar.mjs +77 -52
- package/fesm2020/mdc-snack-bar.mjs.map +1 -1
- package/fesm2020/mdc-table/testing.mjs +15 -15
- package/fesm2020/mdc-table/testing.mjs.map +1 -1
- package/fesm2020/mdc-table.mjs +58 -58
- package/fesm2020/mdc-table.mjs.map +1 -1
- package/fesm2020/mdc-tabs/testing.mjs +12 -15
- package/fesm2020/mdc-tabs/testing.mjs.map +1 -1
- package/fesm2020/mdc-tabs.mjs +151 -205
- package/fesm2020/mdc-tabs.mjs.map +1 -1
- package/fesm2020/mdc-tooltip/testing.mjs +3 -3
- package/fesm2020/mdc-tooltip/testing.mjs.map +1 -1
- package/fesm2020/mdc-tooltip.mjs +11 -11
- package/fesm2020/mdc-tooltip.mjs.map +1 -1
- package/fesm2020/menubar.mjs +17 -20
- package/fesm2020/menubar.mjs.map +1 -1
- package/fesm2020/popover-edit.mjs +25 -25
- package/fesm2020/popover-edit.mjs.map +1 -1
- package/fesm2020/selection.mjs +24 -24
- package/fesm2020/selection.mjs.map +1 -1
- package/index.d.ts +6 -8
- package/mdc-autocomplete/_autocomplete-theme.scss +10 -10
- package/mdc-autocomplete/index.d.ts +95 -6
- package/mdc-autocomplete/testing/index.d.ts +32 -8
- package/mdc-button/_button-base.scss +4 -3
- package/mdc-button/_button-theme-private.scss +0 -1
- package/mdc-button/_button-theme.scss +11 -11
- package/mdc-button/_fab-theme.scss +10 -10
- package/mdc-button/_icon-button-theme.scss +11 -11
- package/mdc-button/index.d.ts +217 -5
- package/mdc-button/testing/index.d.ts +41 -8
- package/mdc-card/_card-theme.scss +11 -11
- package/mdc-card/index.d.ts +191 -5
- package/mdc-card/testing/index.d.ts +44 -8
- package/mdc-checkbox/_checkbox-private.scss +10 -3
- package/mdc-checkbox/_checkbox-theme.scss +19 -20
- package/mdc-checkbox/index.d.ts +79 -8
- package/mdc-checkbox/testing/index.d.ts +28 -8
- package/mdc-chips/_chips-theme.scss +20 -15
- package/mdc-chips/index.d.ts +1030 -5
- package/mdc-chips/testing/index.d.ts +232 -8
- package/mdc-color/_all-color.scss +4 -3
- package/mdc-core/_core-theme.scss +13 -13
- package/mdc-core/index.d.ts +204 -6
- package/mdc-core/option/_optgroup-theme.scss +11 -11
- package/mdc-core/option/_option-theme.scss +11 -11
- package/mdc-core/testing/index.d.ts +64 -8
- package/mdc-density/_all-density.scss +4 -3
- package/mdc-dialog/_dialog-theme.scss +49 -13
- package/mdc-dialog/index.d.ts +215 -6
- package/mdc-dialog/testing/index.d.ts +47 -8
- package/mdc-form-field/_form-field-density.scss +4 -3
- package/mdc-form-field/_form-field-focus-overlay.scss +2 -2
- package/mdc-form-field/_form-field-high-contrast.scss +5 -5
- package/mdc-form-field/_form-field-native-select.scss +5 -4
- package/mdc-form-field/_form-field-subscript.scss +5 -3
- package/mdc-form-field/_form-field-theme.scss +16 -16
- package/mdc-form-field/index.d.ts +428 -5
- package/mdc-form-field/testing/index.d.ts +48 -8
- package/mdc-helpers/_focus-indicators-theme.scss +6 -6
- package/mdc-helpers/_focus-indicators.scss +2 -2
- package/mdc-helpers/_mdc-helpers.scss +12 -14
- package/mdc-input/_input-theme.scss +10 -10
- package/mdc-input/index.d.ts +30 -8
- package/mdc-input/testing/index.d.ts +20 -8
- package/mdc-list/_interactive-list-theme.scss +2 -2
- package/mdc-list/_list-option-theme.scss +2 -2
- package/mdc-list/_list-theme.scss +18 -23
- package/mdc-list/index.d.ts +555 -5
- package/mdc-list/testing/index.d.ts +367 -6
- package/mdc-menu/_menu-theme.scss +10 -10
- package/mdc-menu/index.d.ts +108 -6
- package/mdc-menu/testing/index.d.ts +38 -8
- package/mdc-paginator/_paginator-theme.scss +20 -23
- package/mdc-paginator/index.d.ts +70 -6
- package/mdc-paginator/testing/index.d.ts +30 -8
- package/mdc-progress-bar/_progress-bar-theme.scss +8 -7
- package/mdc-progress-bar/index.d.ts +101 -8
- package/mdc-progress-bar/testing/index.d.ts +24 -8
- package/mdc-progress-spinner/_progress-spinner-theme.scss +8 -7
- package/mdc-progress-spinner/index.d.ts +87 -5
- package/mdc-progress-spinner/testing/index.d.ts +26 -8
- package/mdc-radio/_radio-theme.scss +21 -16
- package/mdc-radio/index.d.ts +70 -6
- package/mdc-radio/testing/index.d.ts +43 -8
- package/mdc-select/_select-theme.scss +10 -10
- package/mdc-select/index.d.ts +108 -5
- package/mdc-select/testing/index.d.ts +28 -8
- package/mdc-slide-toggle/_slide-toggle-theme.scss +14 -15
- package/mdc-slide-toggle/index.d.ts +83 -8
- package/mdc-slide-toggle/testing/index.d.ts +27 -8
- package/mdc-slider/_slider-theme.scss +11 -12
- package/mdc-slider/index.d.ts +426 -5
- package/mdc-slider/testing/index.d.ts +92 -8
- package/mdc-snack-bar/_snack-bar-theme.scss +11 -11
- package/mdc-snack-bar/index.d.ts +198 -6
- package/mdc-snack-bar/testing/index.d.ts +23 -8
- package/mdc-table/_table-theme.scss +12 -12
- package/mdc-table/index.d.ts +235 -5
- package/mdc-table/testing/index.d.ts +118 -8
- package/mdc-tabs/_tabs-common.scss +5 -4
- package/mdc-tabs/_tabs-theme.scss +14 -14
- package/mdc-tabs/index.d.ts +305 -6
- package/mdc-tabs/testing/index.d.ts +151 -8
- package/mdc-theming/_all-theme.scss +3 -2
- package/mdc-theming/prebuilt/deeppurple-amber.css +1 -1
- package/mdc-theming/prebuilt/indigo-pink.css +1 -1
- package/mdc-theming/prebuilt/pink-bluegrey.css +1 -1
- package/mdc-theming/prebuilt/purple-green.css +1 -1
- package/mdc-tooltip/_tooltip-theme.scss +12 -13
- package/mdc-tooltip/index.d.ts +115 -5
- package/mdc-tooltip/testing/index.d.ts +26 -8
- package/mdc-typography/_all-typography.scss +5 -5
- package/menubar/index.d.ts +42 -6
- package/package.json +79 -33
- package/popover-edit/_popover-edit-theme.scss +23 -26
- package/popover-edit/index.d.ts +99 -6
- package/selection/_selection.scss +3 -3
- package/selection/index.d.ts +137 -5
- package/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -25
- package/column-resize/column-resize-directives/column-resize.d.ts +0 -25
- package/column-resize/column-resize-directives/common.d.ts +0 -20
- package/column-resize/column-resize-directives/default-enabled-column-resize-flex.d.ts +0 -25
- package/column-resize/column-resize-directives/default-enabled-column-resize.d.ts +0 -25
- package/column-resize/column-resize-module.d.ts +0 -25
- package/column-resize/column-resize_public_index.d.ts +0 -4
- package/column-resize/overlay-handle.d.ts +0 -33
- package/column-resize/package.json +0 -9
- package/column-resize/public-api.d.ts +0 -16
- package/column-resize/resizable-directives/common.d.ts +0 -19
- package/column-resize/resizable-directives/default-enabled-resizable.d.ts +0 -37
- package/column-resize/resizable-directives/resizable.d.ts +0 -36
- package/column-resize/resize-strategy.d.ts +0 -22
- package/mdc-autocomplete/animations.d.ts +0 -9
- package/mdc-autocomplete/autocomplete-origin.d.ts +0 -10
- package/mdc-autocomplete/autocomplete-trigger.d.ts +0 -12
- package/mdc-autocomplete/autocomplete.d.ts +0 -21
- package/mdc-autocomplete/mdc-autocomplete_public_index.d.ts +0 -4
- package/mdc-autocomplete/module.d.ts +0 -13
- package/mdc-autocomplete/package.json +0 -9
- package/mdc-autocomplete/public-api.d.ts +0 -12
- package/mdc-autocomplete/testing/autocomplete-harness-filters.d.ts +0 -13
- package/mdc-autocomplete/testing/autocomplete-harness.d.ts +0 -26
- package/mdc-autocomplete/testing/package.json +0 -9
- package/mdc-autocomplete/testing/public-api.d.ts +0 -9
- package/mdc-button/button-base.d.ts +0 -70
- package/mdc-button/button.d.ts +0 -40
- package/mdc-button/fab.d.ts +0 -80
- package/mdc-button/icon-button.d.ts +0 -33
- package/mdc-button/mdc-button_public_index.d.ts +0 -4
- package/mdc-button/module.d.ts +0 -10
- package/mdc-button/package.json +0 -9
- package/mdc-button/public-api.d.ts +0 -11
- package/mdc-button/testing/button-harness.d.ts +0 -41
- package/mdc-button/testing/package.json +0 -9
- package/mdc-button/testing/public-api.d.ts +0 -9
- package/mdc-card/card.d.ts +0 -152
- package/mdc-card/mdc-card_public_index.d.ts +0 -4
- package/mdc-card/module.d.ts +0 -9
- package/mdc-card/package.json +0 -9
- package/mdc-card/public-api.d.ts +0 -9
- package/mdc-card/testing/card-harness-filters.d.ts +0 -17
- package/mdc-card/testing/card-harness.d.ts +0 -36
- package/mdc-card/testing/package.json +0 -9
- package/mdc-card/testing/public-api.d.ts +0 -9
- package/mdc-checkbox/checkbox.d.ts +0 -155
- package/mdc-checkbox/mdc-checkbox_public_index.d.ts +0 -4
- package/mdc-checkbox/module.d.ts +0 -9
- package/mdc-checkbox/package.json +0 -9
- package/mdc-checkbox/public-api.d.ts +0 -15
- package/mdc-checkbox/testing/checkbox-harness.d.ts +0 -26
- package/mdc-checkbox/testing/package.json +0 -9
- package/mdc-checkbox/testing/public-api.d.ts +0 -9
- package/mdc-chips/chip-action.d.ts +0 -40
- package/mdc-chips/chip-default-options.d.ts +0 -15
- package/mdc-chips/chip-edit-input.d.ts +0 -25
- package/mdc-chips/chip-grid.d.ts +0 -207
- package/mdc-chips/chip-icons.d.ts +0 -73
- package/mdc-chips/chip-input.d.ts +0 -92
- package/mdc-chips/chip-listbox.d.ts +0 -152
- package/mdc-chips/chip-option.d.ts +0 -81
- package/mdc-chips/chip-row.d.ts +0 -62
- package/mdc-chips/chip-set.d.ts +0 -115
- package/mdc-chips/chip-text-control.d.ts +0 -20
- package/mdc-chips/chip.d.ts +0 -139
- package/mdc-chips/emit-event.d.ts +0 -16
- package/mdc-chips/mdc-chips_public_index.d.ts +0 -4
- package/mdc-chips/module.d.ts +0 -18
- package/mdc-chips/package.json +0 -9
- package/mdc-chips/public-api.d.ts +0 -19
- package/mdc-chips/testing/chip-avatar-harness.d.ts +0 -20
- package/mdc-chips/testing/chip-grid-harness.d.ts +0 -29
- package/mdc-chips/testing/chip-harness-filters.d.ts +0 -34
- package/mdc-chips/testing/chip-harness.d.ts +0 -36
- package/mdc-chips/testing/chip-input-harness.d.ts +0 -47
- package/mdc-chips/testing/chip-listbox-harness.d.ts +0 -38
- package/mdc-chips/testing/chip-option-harness.d.ts +0 -27
- package/mdc-chips/testing/chip-remove-harness.d.ts +0 -22
- package/mdc-chips/testing/chip-row-harness.d.ts +0 -22
- package/mdc-chips/testing/chip-set-harness.d.ts +0 -20
- package/mdc-chips/testing/package.json +0 -9
- package/mdc-chips/testing/public-api.d.ts +0 -17
- package/mdc-core/mdc-core_public_index.d.ts +0 -4
- package/mdc-core/option/index.d.ts +0 -13
- package/mdc-core/option/optgroup.d.ts +0 -9
- package/mdc-core/option/option.d.ts +0 -19
- package/mdc-core/package.json +0 -9
- package/mdc-core/public-api.d.ts +0 -9
- package/mdc-core/testing/optgroup-harness-filters.d.ts +0 -11
- package/mdc-core/testing/optgroup-harness.d.ts +0 -33
- package/mdc-core/testing/option-harness-filters.d.ts +0 -12
- package/mdc-core/testing/option-harness.d.ts +0 -35
- package/mdc-core/testing/package.json +0 -9
- package/mdc-core/testing/public-api.d.ts +0 -11
- package/mdc-dialog/dialog-container.d.ts +0 -53
- package/mdc-dialog/dialog-content-directives.d.ts +0 -64
- package/mdc-dialog/dialog-ref.d.ts +0 -16
- package/mdc-dialog/dialog.d.ts +0 -45
- package/mdc-dialog/mdc-dialog_public_index.d.ts +0 -4
- package/mdc-dialog/module.d.ts +0 -11
- package/mdc-dialog/package.json +0 -9
- package/mdc-dialog/public-api.d.ts +0 -13
- package/mdc-dialog/testing/dialog-harness.d.ts +0 -30
- package/mdc-dialog/testing/dialog-opener.d.ts +0 -18
- package/mdc-dialog/testing/package.json +0 -9
- package/mdc-dialog/testing/public-api.d.ts +0 -10
- package/mdc-form-field/directives/error.d.ts +0 -22
- package/mdc-form-field/directives/floating-label.d.ts +0 -34
- package/mdc-form-field/directives/hint.d.ts +0 -10
- package/mdc-form-field/directives/label.d.ts +0 -6
- package/mdc-form-field/directives/line-ripple.d.ts +0 -24
- package/mdc-form-field/directives/notched-outline.d.ts +0 -37
- package/mdc-form-field/directives/prefix.d.ts +0 -22
- package/mdc-form-field/directives/suffix.d.ts +0 -22
- package/mdc-form-field/form-field.d.ts +0 -212
- package/mdc-form-field/mdc-form-field_public_index.d.ts +0 -4
- package/mdc-form-field/module.d.ts +0 -18
- package/mdc-form-field/package.json +0 -9
- package/mdc-form-field/public-api.d.ts +0 -15
- package/mdc-form-field/testing/form-field-harness.d.ts +0 -41
- package/mdc-form-field/testing/package.json +0 -9
- package/mdc-form-field/testing/public-api.d.ts +0 -10
- package/mdc-input/input.d.ts +0 -6
- package/mdc-input/mdc-input_public_index.d.ts +0 -4
- package/mdc-input/module.d.ts +0 -10
- package/mdc-input/package.json +0 -9
- package/mdc-input/public-api.d.ts +0 -10
- package/mdc-input/testing/package.json +0 -9
- package/mdc-input/testing/public-api.d.ts +0 -8
- package/mdc-list/action-list.d.ts +0 -7
- package/mdc-list/interactive-list-base.d.ts +0 -41
- package/mdc-list/list-base.d.ts +0 -120
- package/mdc-list/list-item-sections.d.ts +0 -77
- package/mdc-list/list-option-types.d.ts +0 -28
- package/mdc-list/list-option.d.ts +0 -98
- package/mdc-list/list.d.ts +0 -31
- package/mdc-list/mdc-list_public_index.d.ts +0 -4
- package/mdc-list/module.d.ts +0 -17
- package/mdc-list/nav-list.d.ts +0 -7
- package/mdc-list/package.json +0 -9
- package/mdc-list/public-api.d.ts +0 -18
- package/mdc-list/selection-list.d.ts +0 -118
- package/mdc-list/subheader.d.ts +0 -9
- package/mdc-list/testing/action-list-harness.d.ts +0 -44
- package/mdc-list/testing/list-harness-base.d.ts +0 -100
- package/mdc-list/testing/list-harness-filters.d.ts +0 -40
- package/mdc-list/testing/list-harness.d.ts +0 -36
- package/mdc-list/testing/list-item-harness-base.d.ts +0 -79
- package/mdc-list/testing/nav-list-harness.d.ts +0 -46
- package/mdc-list/testing/package.json +0 -9
- package/mdc-list/testing/public-api.d.ts +0 -13
- package/mdc-list/testing/selection-list-harness.d.ts +0 -74
- package/mdc-menu/directives.d.ts +0 -12
- package/mdc-menu/mdc-menu_public_index.d.ts +0 -4
- package/mdc-menu/menu-item.d.ts +0 -9
- package/mdc-menu/menu.d.ts +0 -22
- package/mdc-menu/module.d.ts +0 -13
- package/mdc-menu/package.json +0 -9
- package/mdc-menu/public-api.d.ts +0 -12
- package/mdc-menu/testing/menu-harness.d.ts +0 -35
- package/mdc-menu/testing/package.json +0 -9
- package/mdc-menu/testing/public-api.d.ts +0 -9
- package/mdc-paginator/mdc-paginator_public_index.d.ts +0 -4
- package/mdc-paginator/module.d.ts +0 -11
- package/mdc-paginator/package.json +0 -9
- package/mdc-paginator/paginator.d.ts +0 -40
- package/mdc-paginator/public-api.d.ts +0 -10
- package/mdc-paginator/testing/package.json +0 -9
- package/mdc-paginator/testing/paginator-harness.d.ts +0 -29
- package/mdc-paginator/testing/public-api.d.ts +0 -9
- package/mdc-progress-bar/mdc-progress-bar_public_index.d.ts +0 -4
- package/mdc-progress-bar/module.d.ts +0 -8
- package/mdc-progress-bar/package.json +0 -9
- package/mdc-progress-bar/progress-bar.d.ts +0 -67
- package/mdc-progress-bar/public-api.d.ts +0 -10
- package/mdc-progress-bar/testing/package.json +0 -9
- package/mdc-progress-bar/testing/progress-bar-harness.d.ts +0 -22
- package/mdc-progress-bar/testing/public-api.d.ts +0 -9
- package/mdc-progress-bar/testing/testing_public_index.d.ts +0 -4
- package/mdc-progress-spinner/mdc-progress-spinner_public_index.d.ts +0 -4
- package/mdc-progress-spinner/module.d.ts +0 -9
- package/mdc-progress-spinner/package.json +0 -9
- package/mdc-progress-spinner/progress-spinner.d.ts +0 -77
- package/mdc-progress-spinner/public-api.d.ts +0 -10
- package/mdc-progress-spinner/testing/package.json +0 -9
- package/mdc-progress-spinner/testing/progress-spinner-harness.d.ts +0 -26
- package/mdc-progress-spinner/testing/public-api.d.ts +0 -9
- package/mdc-progress-spinner/testing/testing_public_index.d.ts +0 -4
- package/mdc-radio/mdc-radio_public_index.d.ts +0 -4
- package/mdc-radio/module.d.ts +0 -9
- package/mdc-radio/package.json +0 -9
- package/mdc-radio/public-api.d.ts +0 -10
- package/mdc-radio/radio.d.ts +0 -53
- package/mdc-radio/testing/package.json +0 -9
- package/mdc-radio/testing/public-api.d.ts +0 -9
- package/mdc-radio/testing/radio-harness.d.ts +0 -36
- package/mdc-select/mdc-select_public_index.d.ts +0 -4
- package/mdc-select/module.d.ts +0 -12
- package/mdc-select/package.json +0 -9
- package/mdc-select/public-api.d.ts +0 -11
- package/mdc-select/select-animations.d.ts +0 -23
- package/mdc-select/select-errors.d.ts +0 -26
- package/mdc-select/select.d.ts +0 -54
- package/mdc-select/testing/package.json +0 -9
- package/mdc-select/testing/public-api.d.ts +0 -9
- package/mdc-select/testing/select-harness-filters.d.ts +0 -11
- package/mdc-select/testing/select-harness.d.ts +0 -25
- package/mdc-slide-toggle/mdc-slide-toggle_public_index.d.ts +0 -4
- package/mdc-slide-toggle/module.d.ts +0 -10
- package/mdc-slide-toggle/package.json +0 -9
- package/mdc-slide-toggle/public-api.d.ts +0 -11
- package/mdc-slide-toggle/slide-toggle-config.d.ts +0 -18
- package/mdc-slide-toggle/slide-toggle.d.ts +0 -107
- package/mdc-slide-toggle/testing/package.json +0 -9
- package/mdc-slide-toggle/testing/public-api.d.ts +0 -9
- package/mdc-slide-toggle/testing/slide-toggle-harness.d.ts +0 -25
- package/mdc-slider/global-change-and-input-listener.d.ts +0 -29
- package/mdc-slider/mdc-slider_public_index.d.ts +0 -4
- package/mdc-slider/module.d.ts +0 -9
- package/mdc-slider/package.json +0 -9
- package/mdc-slider/public-api.d.ts +0 -9
- package/mdc-slider/slider.d.ts +0 -367
- package/mdc-slider/testing/package.json +0 -9
- package/mdc-slider/testing/public-api.d.ts +0 -10
- package/mdc-slider/testing/slider-harness-filters.d.ts +0 -23
- package/mdc-slider/testing/slider-harness.d.ts +0 -35
- package/mdc-slider/testing/slider-thumb-harness.d.ts +0 -52
- package/mdc-snack-bar/mdc-snack-bar_public_index.d.ts +0 -4
- package/mdc-snack-bar/module.d.ts +0 -14
- package/mdc-snack-bar/package.json +0 -9
- package/mdc-snack-bar/public-api.d.ts +0 -13
- package/mdc-snack-bar/simple-snack-bar.d.ts +0 -19
- package/mdc-snack-bar/snack-bar-container.d.ts +0 -79
- package/mdc-snack-bar/snack-bar-content.d.ts +0 -16
- package/mdc-snack-bar/snack-bar.d.ts +0 -26
- package/mdc-snack-bar/testing/package.json +0 -9
- package/mdc-snack-bar/testing/public-api.d.ts +0 -9
- package/mdc-snack-bar/testing/snack-bar-harness.d.ts +0 -24
- package/mdc-table/cell.d.ts +0 -59
- package/mdc-table/mdc-table_public_index.d.ts +0 -4
- package/mdc-table/module.d.ts +0 -12
- package/mdc-table/package.json +0 -9
- package/mdc-table/public-api.d.ts +0 -14
- package/mdc-table/row.d.ts +0 -55
- package/mdc-table/table-data-source.d.ts +0 -23
- package/mdc-table/table.d.ts +0 -27
- package/mdc-table/testing/cell-harness.d.ts +0 -44
- package/mdc-table/testing/package.json +0 -9
- package/mdc-table/testing/public-api.d.ts +0 -11
- package/mdc-table/testing/row-harness.d.ts +0 -48
- package/mdc-table/testing/table-harness.d.ts +0 -24
- package/mdc-table/text-column.d.ts +0 -22
- package/mdc-tabs/ink-bar.d.ts +0 -72
- package/mdc-tabs/mdc-tabs_public_index.d.ts +0 -4
- package/mdc-tabs/module.d.ts +0 -19
- package/mdc-tabs/package.json +0 -9
- package/mdc-tabs/public-api.d.ts +0 -18
- package/mdc-tabs/tab-body.d.ts +0 -31
- package/mdc-tabs/tab-content.d.ts +0 -7
- package/mdc-tabs/tab-group.d.ts +0 -34
- package/mdc-tabs/tab-header.d.ts +0 -35
- package/mdc-tabs/tab-label-wrapper.d.ts +0 -28
- package/mdc-tabs/tab-label.d.ts +0 -7
- package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +0 -68
- package/mdc-tabs/tab.d.ts +0 -22
- package/mdc-tabs/testing/package.json +0 -9
- package/mdc-tabs/testing/public-api.d.ts +0 -12
- package/mdc-tabs/testing/tab-group-harness.d.ts +0 -35
- package/mdc-tabs/testing/tab-harness-filters.d.ts +0 -29
- package/mdc-tabs/testing/tab-harness.d.ts +0 -38
- package/mdc-tabs/testing/tab-link-harness.d.ts +0 -29
- package/mdc-tabs/testing/tab-nav-bar-harness.d.ts +0 -38
- package/mdc-tabs/testing/tab-nav-panel-harness.d.ts +0 -23
- package/mdc-tooltip/mdc-tooltip_public_index.d.ts +0 -4
- package/mdc-tooltip/module.d.ts +0 -12
- package/mdc-tooltip/package.json +0 -9
- package/mdc-tooltip/public-api.d.ts +0 -11
- package/mdc-tooltip/testing/package.json +0 -9
- package/mdc-tooltip/testing/public-api.d.ts +0 -9
- package/mdc-tooltip/testing/tooltip-harness.d.ts +0 -24
- package/mdc-tooltip/tooltip-animations.d.ts +0 -15
- package/mdc-tooltip/tooltip.d.ts +0 -52
- package/menubar/menubar-item.d.ts +0 -12
- package/menubar/menubar-module.d.ts +0 -9
- package/menubar/menubar.d.ts +0 -10
- package/menubar/menubar_public_index.d.ts +0 -4
- package/menubar/package.json +0 -9
- package/menubar/public-api.d.ts +0 -10
- package/popover-edit/lens-directives.d.ts +0 -22
- package/popover-edit/package.json +0 -9
- package/popover-edit/popover-edit-module.d.ts +0 -10
- package/popover-edit/popover-edit_public_index.d.ts +0 -4
- package/popover-edit/public-api.d.ts +0 -10
- package/popover-edit/table-directives.d.ts +0 -41
- package/public-api.d.ts +0 -8
- package/selection/package.json +0 -9
- package/selection/public-api.d.ts +0 -13
- package/selection/row-selection.d.ts +0 -22
- package/selection/select-all.d.ts +0 -23
- package/selection/selection-column.d.ts +0 -34
- package/selection/selection-module.d.ts +0 -14
- package/selection/selection-toggle.d.ts +0 -25
- package/selection/selection.d.ts +0 -22
- package/selection/selection_public_index.d.ts +0 -4
- package/version.d.ts +0 -10
|
@@ -1,8 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { AsyncFactoryFn } from '@angular/cdk/testing';
|
|
2
|
+
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
3
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
4
|
+
import { _MatRadioButtonHarnessBase } from '@angular/material/radio/testing';
|
|
5
|
+
import { _MatRadioGroupHarnessBase } from '@angular/material/radio/testing';
|
|
6
|
+
import { RadioButtonHarnessFilters } from '@angular/material/radio/testing';
|
|
7
|
+
import { RadioGroupHarnessFilters } from '@angular/material/radio/testing';
|
|
8
|
+
import { TestElement } from '@angular/cdk/testing';
|
|
9
|
+
|
|
10
|
+
/** Harness for interacting with an MDC-based mat-radio-button in tests. */
|
|
11
|
+
export declare class MatRadioButtonHarness extends _MatRadioButtonHarnessBase {
|
|
12
|
+
/** The selector for the host element of a `MatRadioButton` instance. */
|
|
13
|
+
static hostSelector: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets a `HarnessPredicate` that can be used to search for a radio button with specific
|
|
16
|
+
* attributes.
|
|
17
|
+
* @param options Options for filtering which radio button instances are considered a match.
|
|
18
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
19
|
+
*/
|
|
20
|
+
static with<T extends MatRadioButtonHarness>(this: ComponentHarnessConstructor<T>, options?: RadioButtonHarnessFilters): HarnessPredicate<T>;
|
|
21
|
+
protected _textLabel: AsyncFactoryFn<TestElement>;
|
|
22
|
+
protected _clickLabel: AsyncFactoryFn<TestElement>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Harness for interacting with an MDC-based mat-radio-group in tests. */
|
|
26
|
+
export declare class MatRadioGroupHarness extends _MatRadioGroupHarnessBase<typeof MatRadioButtonHarness, MatRadioButtonHarness, RadioButtonHarnessFilters> {
|
|
27
|
+
/** The selector for the host element of a `MatRadioGroup` instance. */
|
|
28
|
+
static hostSelector: string;
|
|
29
|
+
protected _buttonClass: typeof MatRadioButtonHarness;
|
|
30
|
+
/**
|
|
31
|
+
* Gets a `HarnessPredicate` that can be used to search for a radio group with specific
|
|
32
|
+
* attributes.
|
|
33
|
+
* @param options Options for filtering which radio group instances are considered a match.
|
|
34
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
35
|
+
*/
|
|
36
|
+
static with<T extends MatRadioGroupHarness>(this: ComponentHarnessConstructor<T>, options?: RadioGroupHarnessFilters): HarnessPredicate<T>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { RadioButtonHarnessFilters }
|
|
40
|
+
|
|
41
|
+
export { RadioGroupHarnessFilters }
|
|
42
|
+
|
|
43
|
+
export { }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
2
3
|
@use '@material/menu-surface' as mdc-menu-surface;
|
|
3
4
|
@use '@material/list/evolution-mixins' as mdc-list;
|
|
4
5
|
@use '@material/typography' as mdc-typography;
|
|
6
|
+
|
|
5
7
|
@use '../mdc-helpers/mdc-helpers';
|
|
6
|
-
@use '../../material/core/typography/typography';
|
|
7
|
-
@use '../../material/core/theming/theming';
|
|
8
8
|
|
|
9
9
|
// Gets the color to use for some text that is highlighted while a select has focus.
|
|
10
10
|
@function _get-mdc-focused-text-color($palette) {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@mixin color($config-or-theme) {
|
|
15
|
-
$config:
|
|
15
|
+
$config: mat.get-color-config($config-or-theme);
|
|
16
16
|
|
|
17
17
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
18
18
|
$disabled-color: rgba(mdc-theme-color.prop-value(on-surface), 0.38);
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
@mixin typography($config-or-theme) {
|
|
65
|
-
$config:
|
|
66
|
-
|
|
65
|
+
$config: mat.private-typography-to-2018-config(
|
|
66
|
+
mat.get-typography-config($config-or-theme));
|
|
67
67
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
68
68
|
@include mdc-menu-surface.core-styles(mdc-helpers.$mat-typography-styles-query);
|
|
69
69
|
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
@mixin density($config-or-theme) {}
|
|
81
81
|
|
|
82
82
|
@mixin theme($theme-or-color-config) {
|
|
83
|
-
$theme:
|
|
84
|
-
@include
|
|
85
|
-
$color:
|
|
86
|
-
$density:
|
|
87
|
-
$typography:
|
|
83
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
84
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-select') {
|
|
85
|
+
$color: mat.get-color-config($theme);
|
|
86
|
+
$density: mat.get-density-config($theme);
|
|
87
|
+
$typography: mat.get-typography-config($theme);
|
|
88
88
|
|
|
89
89
|
@if $color != null {
|
|
90
90
|
@include color($color);
|
package/mdc-select/index.d.ts
CHANGED
|
@@ -1,8 +1,111 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { AnimationTriggerMetadata } from '@angular/animations';
|
|
3
|
+
import { CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
4
|
+
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
5
|
+
import { ElementRef } from '@angular/core';
|
|
6
|
+
import * as i0 from '@angular/core';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import * as i3 from '@angular/cdk/overlay';
|
|
9
|
+
import * as i4 from '@angular/material-experimental/mdc-core';
|
|
10
|
+
import * as i5 from '@angular/cdk/scrolling';
|
|
11
|
+
import * as i6 from '@angular/material-experimental/mdc-form-field';
|
|
12
|
+
import { MAT_SELECT_CONFIG } from '@angular/material/select';
|
|
13
|
+
import { MAT_SELECT_SCROLL_STRATEGY } from '@angular/material/select';
|
|
14
|
+
import { MAT_SELECT_SCROLL_STRATEGY_PROVIDER } from '@angular/material/select';
|
|
15
|
+
import { MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY } from '@angular/material/select';
|
|
16
|
+
import { MAT_SELECT_TRIGGER } from '@angular/material/select';
|
|
17
|
+
import { MatOptgroup } from '@angular/material-experimental/mdc-core';
|
|
18
|
+
import { MatOption } from '@angular/material-experimental/mdc-core';
|
|
19
|
+
import { _MatSelectBase } from '@angular/material/select';
|
|
20
|
+
import { MatSelectConfig } from '@angular/material/select';
|
|
21
|
+
import { OnInit } from '@angular/core';
|
|
22
|
+
import { QueryList } from '@angular/core';
|
|
23
|
+
|
|
24
|
+
declare namespace i1 {
|
|
25
|
+
export {
|
|
26
|
+
MatSelectChange,
|
|
27
|
+
MatSelectTrigger,
|
|
28
|
+
MatSelect
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { MAT_SELECT_CONFIG }
|
|
33
|
+
|
|
34
|
+
export { MAT_SELECT_SCROLL_STRATEGY }
|
|
35
|
+
|
|
36
|
+
export { MAT_SELECT_SCROLL_STRATEGY_PROVIDER }
|
|
37
|
+
|
|
38
|
+
export { MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY }
|
|
39
|
+
|
|
40
|
+
export { MAT_SELECT_TRIGGER }
|
|
41
|
+
|
|
42
|
+
export declare class MatSelect extends _MatSelectBase<MatSelectChange> implements OnInit, AfterViewInit {
|
|
43
|
+
options: QueryList<MatOption>;
|
|
44
|
+
optionGroups: QueryList<MatOptgroup>;
|
|
45
|
+
customTrigger: MatSelectTrigger;
|
|
46
|
+
_positions: ConnectedPosition[];
|
|
47
|
+
/** Ideal origin for the overlay panel. */
|
|
48
|
+
_preferredOverlayOrigin: CdkOverlayOrigin | ElementRef | undefined;
|
|
49
|
+
/** Width of the overlay panel. */
|
|
50
|
+
_overlayWidth: number;
|
|
51
|
+
get shouldLabelFloat(): boolean;
|
|
52
|
+
ngOnInit(): void;
|
|
53
|
+
ngAfterViewInit(): void;
|
|
54
|
+
open(): void;
|
|
55
|
+
close(): void;
|
|
56
|
+
/** Scrolls the active option into view. */
|
|
57
|
+
protected _scrollOptionIntoView(index: number): void;
|
|
58
|
+
protected _positioningSettled(): void;
|
|
59
|
+
protected _getChangeEvent(value: any): MatSelectChange;
|
|
60
|
+
/** Gets how wide the overlay panel should be. */
|
|
61
|
+
private _getOverlayWidth;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelect, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatSelect, "mat-select", ["matSelect"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "tabIndex": "tabIndex"; }, {}, ["customTrigger", "options", "optionGroups"], ["mat-select-trigger", "*"], false>;
|
|
64
|
+
}
|
|
65
|
+
|
|
1
66
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
67
|
+
* The following are all the animations for the mat-select component, with each
|
|
68
|
+
* const containing the metadata for one animation.
|
|
4
69
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
70
|
+
* The values below match the implementation of the AngularJS Material mat-select animation.
|
|
71
|
+
* @docs-private
|
|
7
72
|
*/
|
|
8
|
-
export
|
|
73
|
+
export declare const matSelectAnimations: {
|
|
74
|
+
/**
|
|
75
|
+
* @deprecated No longer being used. To be removed.
|
|
76
|
+
* @breaking-change 12.0.0
|
|
77
|
+
*/
|
|
78
|
+
readonly transformPanelWrap: AnimationTriggerMetadata;
|
|
79
|
+
readonly transformPanel: AnimationTriggerMetadata;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/** Change event object that is emitted when the select value has changed. */
|
|
83
|
+
export declare class MatSelectChange {
|
|
84
|
+
/** Reference to the select that emitted the change event. */
|
|
85
|
+
source: MatSelect;
|
|
86
|
+
/** Current value of the select that emitted the event. */
|
|
87
|
+
value: any;
|
|
88
|
+
constructor(
|
|
89
|
+
/** Reference to the select that emitted the change event. */
|
|
90
|
+
source: MatSelect,
|
|
91
|
+
/** Current value of the select that emitted the event. */
|
|
92
|
+
value: any);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export { MatSelectConfig }
|
|
96
|
+
|
|
97
|
+
export declare class MatSelectModule {
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectModule, never>;
|
|
99
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSelectModule, [typeof i1.MatSelect, typeof i1.MatSelectTrigger], [typeof i2.CommonModule, typeof i3.OverlayModule, typeof i4.MatOptionModule, typeof i4.MatCommonModule], [typeof i5.CdkScrollableModule, typeof i6.MatFormFieldModule, typeof i1.MatSelect, typeof i1.MatSelectTrigger, typeof i4.MatOptionModule, typeof i4.MatCommonModule]>;
|
|
100
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatSelectModule>;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Allows the user to customize the trigger that is displayed when the select has a value.
|
|
105
|
+
*/
|
|
106
|
+
export declare class MatSelectTrigger {
|
|
107
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectTrigger, never>;
|
|
108
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSelectTrigger, "mat-select-trigger", never, {}, {}, never, never, false>;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export { }
|
|
@@ -1,8 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
2
|
+
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
3
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
4
|
+
import { MatOptgroupHarness } from '@angular/material-experimental/mdc-core/testing';
|
|
5
|
+
import { MatOptionHarness } from '@angular/material-experimental/mdc-core/testing';
|
|
6
|
+
import { _MatSelectHarnessBase } from '@angular/material/select/testing';
|
|
7
|
+
import { OptgroupHarnessFilters } from '@angular/material-experimental/mdc-core/testing';
|
|
8
|
+
import { OptionHarnessFilters } from '@angular/material-experimental/mdc-core/testing';
|
|
9
|
+
|
|
10
|
+
/** Harness for interacting with an MDC-based mat-select in tests. */
|
|
11
|
+
export declare class MatSelectHarness extends _MatSelectHarnessBase<typeof MatOptionHarness, MatOptionHarness, OptionHarnessFilters, typeof MatOptgroupHarness, MatOptgroupHarness, OptgroupHarnessFilters> {
|
|
12
|
+
static hostSelector: string;
|
|
13
|
+
protected _prefix: string;
|
|
14
|
+
protected _optionClass: typeof MatOptionHarness;
|
|
15
|
+
protected _optionGroupClass: typeof MatOptgroupHarness;
|
|
16
|
+
/**
|
|
17
|
+
* Gets a `HarnessPredicate` that can be used to search for a select with specific attributes.
|
|
18
|
+
* @param options Options for filtering which select instances are considered a match.
|
|
19
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
20
|
+
*/
|
|
21
|
+
static with<T extends MatSelectHarness>(this: ComponentHarnessConstructor<T>, options?: SelectHarnessFilters): HarnessPredicate<T>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** A set of criteria that can be used to filter a list of `MatSelectHarness` instances. */
|
|
25
|
+
export declare interface SelectHarnessFilters extends BaseHarnessFilters {
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { }
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use 'sass:color';
|
|
3
|
+
@use '@angular/material' as mat;
|
|
3
4
|
@use '@material/switch/switch-theme' as mdc-switch-theme;
|
|
4
5
|
@use '@material/theme/color-palette' as mdc-color-palette;
|
|
5
6
|
@use '@material/form-field' as mdc-form-field;
|
|
7
|
+
|
|
6
8
|
@use '../mdc-helpers/mdc-helpers';
|
|
7
|
-
@use '../../material/core/typography/typography';
|
|
8
|
-
@use '../../material/core/theming/theming';
|
|
9
|
-
@use '../../material/core/theming/palette';
|
|
10
9
|
|
|
11
10
|
// Generates all color mapping for the properties that only change based on the theme.
|
|
12
11
|
@function _get-theme-base-map($is-dark) {
|
|
@@ -70,10 +69,10 @@
|
|
|
70
69
|
}
|
|
71
70
|
|
|
72
71
|
@mixin color($config-or-theme) {
|
|
73
|
-
$config:
|
|
74
|
-
$primary:
|
|
75
|
-
$accent:
|
|
76
|
-
$warn:
|
|
72
|
+
$config: mat.get-color-config($config-or-theme);
|
|
73
|
+
$primary: mat.get-color-from-palette(map.get($config, primary));
|
|
74
|
+
$accent: mat.get-color-from-palette(map.get($config, accent));
|
|
75
|
+
$warn: mat.get-color-from-palette(map.get($config, warn));
|
|
77
76
|
$is-dark: map.get($config, is-dark);
|
|
78
77
|
|
|
79
78
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
@@ -99,27 +98,27 @@
|
|
|
99
98
|
}
|
|
100
99
|
|
|
101
100
|
@mixin typography($config-or-theme) {
|
|
102
|
-
$config:
|
|
103
|
-
|
|
101
|
+
$config: mat.private-typography-to-2018-config(
|
|
102
|
+
mat.get-typography-config($config-or-theme));
|
|
104
103
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
105
104
|
@include mdc-form-field.core-styles($query: mdc-helpers.$mat-typography-styles-query);
|
|
106
105
|
}
|
|
107
106
|
}
|
|
108
107
|
|
|
109
108
|
@mixin density($config-or-theme) {
|
|
110
|
-
$density-scale:
|
|
109
|
+
$density-scale: mat.get-density-config($config-or-theme);
|
|
111
110
|
.mat-mdc-slide-toggle {
|
|
112
111
|
@include mdc-switch-theme.theme(mdc-switch-theme.density($density-scale));
|
|
113
112
|
}
|
|
114
113
|
}
|
|
115
114
|
|
|
116
115
|
@mixin theme($theme-or-color-config) {
|
|
117
|
-
$theme:
|
|
116
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
118
117
|
|
|
119
|
-
@include
|
|
120
|
-
$color:
|
|
121
|
-
$density:
|
|
122
|
-
$typography:
|
|
118
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-slide-toggle') {
|
|
119
|
+
$color: mat.get-color-config($theme);
|
|
120
|
+
$density: mat.get-density-config($theme);
|
|
121
|
+
$typography: mat.get-typography-config($theme);
|
|
123
122
|
|
|
124
123
|
@if $color != null {
|
|
125
124
|
@include color($color);
|
|
@@ -1,8 +1,83 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { ElementRef } from '@angular/core';
|
|
4
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import * as i2 from '@angular/material/slide-toggle';
|
|
7
|
+
import * as i3 from '@angular/material-experimental/mdc-core';
|
|
8
|
+
import * as i4 from '@angular/common';
|
|
9
|
+
import { InjectionToken } from '@angular/core';
|
|
10
|
+
import { MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR } from '@angular/material/slide-toggle';
|
|
11
|
+
import { _MatSlideToggleBase } from '@angular/material/slide-toggle';
|
|
12
|
+
import { MatSlideToggleRequiredValidator } from '@angular/material/slide-toggle';
|
|
13
|
+
import { ThemePalette } from '@angular/material-experimental/mdc-core';
|
|
14
|
+
import { Type } from '@angular/core';
|
|
15
|
+
|
|
16
|
+
declare namespace i1 {
|
|
17
|
+
export {
|
|
18
|
+
MAT_SLIDE_TOGGLE_VALUE_ACCESSOR,
|
|
19
|
+
MatSlideToggleChange,
|
|
20
|
+
MatSlideToggle
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Injection token to be used to override the default options for `mat-slide-toggle`. */
|
|
25
|
+
export declare const MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS: InjectionToken<MatSlideToggleDefaultOptions>;
|
|
26
|
+
|
|
27
|
+
export { MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR }
|
|
28
|
+
|
|
29
|
+
/** @docs-private */
|
|
30
|
+
export declare const MAT_SLIDE_TOGGLE_VALUE_ACCESSOR: {
|
|
31
|
+
provide: InjectionToken<readonly ControlValueAccessor[]>;
|
|
32
|
+
useExisting: Type<any>;
|
|
33
|
+
multi: boolean;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export declare class MatSlideToggle extends _MatSlideToggleBase<MatSlideToggleChange> {
|
|
37
|
+
/** Unique ID for the label element. */
|
|
38
|
+
_labelId: string;
|
|
39
|
+
/** Returns the unique id for the visual hidden button. */
|
|
40
|
+
get buttonId(): string;
|
|
41
|
+
/** Reference to the MDC switch element. */
|
|
42
|
+
_switchElement: ElementRef<HTMLElement>;
|
|
43
|
+
constructor(elementRef: ElementRef, focusMonitor: FocusMonitor, changeDetectorRef: ChangeDetectorRef, tabIndex: string, defaults: MatSlideToggleDefaultOptions, animationMode?: string);
|
|
44
|
+
/** Method being called whenever the underlying button is clicked. */
|
|
45
|
+
_handleClick(): void;
|
|
46
|
+
/** Focuses the slide-toggle. */
|
|
47
|
+
focus(): void;
|
|
48
|
+
protected _createChangeEvent(isChecked: boolean): MatSlideToggleChange;
|
|
49
|
+
_getAriaLabelledBy(): string | null;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggle, [null, null, null, { attribute: "tabindex"; }, null, { optional: true; }]>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatSlideToggle, "mat-slide-toggle", ["matSlideToggle"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, ["*"], false>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** Change event object emitted by a MatSlideToggle. */
|
|
55
|
+
export declare class MatSlideToggleChange {
|
|
56
|
+
/** The source MatSlideToggle of the event. */
|
|
57
|
+
source: MatSlideToggle;
|
|
58
|
+
/** The new `checked` value of the MatSlideToggle. */
|
|
59
|
+
checked: boolean;
|
|
60
|
+
constructor(
|
|
61
|
+
/** The source MatSlideToggle of the event. */
|
|
62
|
+
source: MatSlideToggle,
|
|
63
|
+
/** The new `checked` value of the MatSlideToggle. */
|
|
64
|
+
checked: boolean);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/** Default `mat-slide-toggle` options that can be overridden. */
|
|
68
|
+
export declare interface MatSlideToggleDefaultOptions {
|
|
69
|
+
/** Whether toggle action triggers value changes in slide toggle. */
|
|
70
|
+
disableToggleValue?: boolean;
|
|
71
|
+
/** Default color for slide toggles. */
|
|
72
|
+
color?: ThemePalette;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export declare class MatSlideToggleModule {
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSlideToggleModule, never>;
|
|
77
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSlideToggleModule, [typeof i1.MatSlideToggle], [typeof i2._MatSlideToggleRequiredValidatorModule, typeof i3.MatCommonModule, typeof i3.MatRippleModule, typeof i4.CommonModule], [typeof i2._MatSlideToggleRequiredValidatorModule, typeof i1.MatSlideToggle, typeof i3.MatCommonModule]>;
|
|
78
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatSlideToggleModule>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { MatSlideToggleRequiredValidator }
|
|
82
|
+
|
|
83
|
+
export { }
|
|
@@ -1,8 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { AsyncFactoryFn } from '@angular/cdk/testing';
|
|
2
|
+
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
3
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
4
|
+
import { _MatSlideToggleHarnessBase } from '@angular/material/slide-toggle/testing';
|
|
5
|
+
import { SlideToggleHarnessFilters } from '@angular/material/slide-toggle/testing';
|
|
6
|
+
import { TestElement } from '@angular/cdk/testing';
|
|
7
|
+
|
|
8
|
+
/** Harness for interacting with a MDC-based mat-slide-toggle in tests. */
|
|
9
|
+
export declare class MatSlideToggleHarness extends _MatSlideToggleHarnessBase {
|
|
10
|
+
protected _nativeElement: AsyncFactoryFn<TestElement>;
|
|
11
|
+
static hostSelector: string;
|
|
12
|
+
/**
|
|
13
|
+
* Gets a `HarnessPredicate` that can be used to search for a slide-toggle w/ specific attributes.
|
|
14
|
+
* @param options Options for narrowing the search:
|
|
15
|
+
* - `selector` finds a slide-toggle whose host element matches the given selector.
|
|
16
|
+
* - `label` finds a slide-toggle with specific label text.
|
|
17
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
18
|
+
*/
|
|
19
|
+
static with<T extends MatSlideToggleHarness>(this: ComponentHarnessConstructor<T>, options?: SlideToggleHarnessFilters): HarnessPredicate<T>;
|
|
20
|
+
toggle(): Promise<void>;
|
|
21
|
+
isRequired(): Promise<boolean>;
|
|
22
|
+
isChecked(): Promise<boolean>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { SlideToggleHarnessFilters }
|
|
26
|
+
|
|
27
|
+
export { }
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
|
|
3
|
+
@use '@angular/material' as mat;
|
|
3
4
|
@use '@material/slider/slider' as mdc-slider;
|
|
4
5
|
@use '@material/slider/slider-theme';
|
|
5
6
|
@use '@material/theme/variables' as theme-variables;
|
|
7
|
+
|
|
6
8
|
@use '../mdc-helpers/mdc-helpers';
|
|
7
|
-
@use '../../material/core/typography/typography';
|
|
8
|
-
@use '../../material/core/ripple/ripple-theme';
|
|
9
|
-
@use '../../material/core/theming/theming';
|
|
10
9
|
|
|
11
10
|
@mixin color($config-or-theme) {
|
|
12
|
-
$config:
|
|
11
|
+
$config: mat.get-color-config($config-or-theme);
|
|
13
12
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
14
13
|
@include mdc-slider.without-ripple($query: mdc-helpers.$mat-theme-styles-query);
|
|
15
14
|
|
|
@@ -47,8 +46,8 @@
|
|
|
47
46
|
}
|
|
48
47
|
|
|
49
48
|
@mixin typography($config-or-theme) {
|
|
50
|
-
$config:
|
|
51
|
-
|
|
49
|
+
$config: mat.private-typography-to-2018-config(
|
|
50
|
+
mat.get-typography-config($config-or-theme));
|
|
52
51
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
53
52
|
@include mdc-slider.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
|
|
54
53
|
}
|
|
@@ -57,11 +56,11 @@
|
|
|
57
56
|
@mixin density($config-or-theme) {}
|
|
58
57
|
|
|
59
58
|
@mixin theme($theme-or-color-config) {
|
|
60
|
-
$theme:
|
|
61
|
-
@include
|
|
62
|
-
$color:
|
|
63
|
-
$density:
|
|
64
|
-
$typography:
|
|
59
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
60
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-slider') {
|
|
61
|
+
$color: mat.get-color-config($theme);
|
|
62
|
+
$density: mat.get-density-config($theme);
|
|
63
|
+
$typography: mat.get-typography-config($theme);
|
|
65
64
|
|
|
66
65
|
@if $color != null {
|
|
67
66
|
@include color($color);
|
|
@@ -112,7 +111,7 @@
|
|
|
112
111
|
$query: mdc-helpers.$mat-theme-styles-query
|
|
113
112
|
);
|
|
114
113
|
$ripple-color: map.get(theme-variables.$property-values, $color);
|
|
115
|
-
@include ripple-
|
|
114
|
+
@include mat.ripple-color((
|
|
116
115
|
foreground: (
|
|
117
116
|
base: $ripple-color
|
|
118
117
|
),
|