@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,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { ButtonHarnessFilters } from '@angular/material/button/testing';
|
|
2
|
+
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
3
|
+
import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
4
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
5
|
+
|
|
6
|
+
export { ButtonHarnessFilters }
|
|
7
|
+
|
|
8
|
+
/** Harness for interacting with a MDC-based mat-button in tests. */
|
|
9
|
+
export declare class MatButtonHarness extends ContentContainerComponentHarness {
|
|
10
|
+
static hostSelector: string;
|
|
11
|
+
/**
|
|
12
|
+
* Gets a `HarnessPredicate` that can be used to search for a button with specific attributes.
|
|
13
|
+
* @param options Options for narrowing the search:
|
|
14
|
+
* - `selector` finds a button whose host element matches the given selector.
|
|
15
|
+
* - `text` finds a button with specific text content.
|
|
16
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
17
|
+
*/
|
|
18
|
+
static with<T extends MatButtonHarness>(this: ComponentHarnessConstructor<T>, options?: ButtonHarnessFilters): HarnessPredicate<T>;
|
|
19
|
+
/**
|
|
20
|
+
* Clicks the button at the given position relative to its top-left.
|
|
21
|
+
* @param relativeX The relative x position of the click.
|
|
22
|
+
* @param relativeY The relative y position of the click.
|
|
23
|
+
*/
|
|
24
|
+
click(relativeX: number, relativeY: number): Promise<void>;
|
|
25
|
+
/** Clicks the button at its center. */
|
|
26
|
+
click(location: 'center'): Promise<void>;
|
|
27
|
+
/** Clicks the button. */
|
|
28
|
+
click(): Promise<void>;
|
|
29
|
+
/** Gets a boolean promise indicating if the button is disabled. */
|
|
30
|
+
isDisabled(): Promise<boolean>;
|
|
31
|
+
/** Gets a promise for the button's label text. */
|
|
32
|
+
getText(): Promise<string>;
|
|
33
|
+
/** Focuses the button and returns a void promise that indicates when the action is complete. */
|
|
34
|
+
focus(): Promise<void>;
|
|
35
|
+
/** Blurs the button and returns a void promise that indicates when the action is complete. */
|
|
36
|
+
blur(): Promise<void>;
|
|
37
|
+
/** Whether the button is focused. */
|
|
38
|
+
isFocused(): Promise<boolean>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { }
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use '@material/card' as mdc-card;
|
|
2
3
|
@use '@material/typography' as mdc-typography;
|
|
3
4
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
4
5
|
@use 'sass:color';
|
|
5
6
|
@use 'sass:map';
|
|
7
|
+
|
|
6
8
|
@use '../mdc-helpers/mdc-helpers';
|
|
7
|
-
@use '../../material/core/typography/typography';
|
|
8
|
-
@use '../../material/core/theming/theming';
|
|
9
9
|
|
|
10
10
|
@mixin color($config-or-theme) {
|
|
11
|
-
$config:
|
|
11
|
+
$config: mat.get-color-config($config-or-theme);
|
|
12
12
|
$foreground: map.get($config, foreground);
|
|
13
13
|
$is-dark-theme: map.get($config, is-dark);
|
|
14
14
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
// Card subtitles are an Angular Material construct (not MDC), so we explicitly set their
|
|
27
27
|
// color to secondary text here.
|
|
28
28
|
.mat-mdc-card-subtitle {
|
|
29
|
-
color:
|
|
29
|
+
color: mat.get-color-from-palette($foreground, secondary-text);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
@mixin typography($config-or-theme) {
|
|
38
|
-
$config:
|
|
39
|
-
|
|
38
|
+
$config: mat.private-typography-to-2018-config(
|
|
39
|
+
mat.get-typography-config($config-or-theme));
|
|
40
40
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
41
41
|
@include mdc-card.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
|
|
42
42
|
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
@mixin density($config-or-theme) {}
|
|
56
56
|
|
|
57
57
|
@mixin theme($theme-or-color-config) {
|
|
58
|
-
$theme:
|
|
59
|
-
@include
|
|
60
|
-
$color:
|
|
61
|
-
$density:
|
|
62
|
-
$typography:
|
|
58
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
59
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-card') {
|
|
60
|
+
$color: mat.get-color-config($theme);
|
|
61
|
+
$density: mat.get-density-config($theme);
|
|
62
|
+
$typography: mat.get-typography-config($theme);
|
|
63
63
|
|
|
64
64
|
@if $color != null {
|
|
65
65
|
@include color($color);
|
package/mdc-card/index.d.ts
CHANGED
|
@@ -1,8 +1,194 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i2 from '@angular/material-experimental/mdc-core';
|
|
3
|
+
import * as i3 from '@angular/common';
|
|
4
|
+
import { InjectionToken } from '@angular/core';
|
|
5
|
+
|
|
6
|
+
declare namespace i1 {
|
|
7
|
+
export {
|
|
8
|
+
MatCardAppearance,
|
|
9
|
+
MatCardConfig,
|
|
10
|
+
MAT_CARD_CONFIG,
|
|
11
|
+
MatCard,
|
|
12
|
+
MatCardTitle,
|
|
13
|
+
MatCardTitleGroup,
|
|
14
|
+
MatCardContent,
|
|
15
|
+
MatCardSubtitle,
|
|
16
|
+
MatCardActions,
|
|
17
|
+
MatCardHeader,
|
|
18
|
+
MatCardFooter,
|
|
19
|
+
MatCardImage,
|
|
20
|
+
MatCardSmImage,
|
|
21
|
+
MatCardMdImage,
|
|
22
|
+
MatCardLgImage,
|
|
23
|
+
MatCardXlImage,
|
|
24
|
+
MatCardAvatar
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** Injection token that can be used to provide the default options the card module. */
|
|
29
|
+
export declare const MAT_CARD_CONFIG: InjectionToken<MatCardConfig>;
|
|
30
|
+
|
|
1
31
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
32
|
+
* Material Design card component. Cards contain content and actions about a single subject.
|
|
33
|
+
* See https://material.io/design/components/cards.html
|
|
4
34
|
*
|
|
5
|
-
*
|
|
6
|
-
* found in the LICENSE file at https://angular.io/license
|
|
35
|
+
* MatCard provides no behaviors, instead serving as a purely visual treatment.
|
|
7
36
|
*/
|
|
8
|
-
export
|
|
37
|
+
export declare class MatCard {
|
|
38
|
+
appearance: MatCardAppearance;
|
|
39
|
+
constructor(config?: MatCardConfig);
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCard, [{ optional: true; }]>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCard, "mat-card", ["matCard"], { "appearance": "appearance"; }, {}, never, ["*"], false>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Bottom area of a card that contains action buttons, intended for use within `<mat-card>`.
|
|
46
|
+
* This component is an optional convenience for use with other convenience elements, such as
|
|
47
|
+
* `<mat-card-content>`; any custom action block element may be used in its place.
|
|
48
|
+
*
|
|
49
|
+
* MatCardActions provides no behaviors, instead serving as a purely visual treatment.
|
|
50
|
+
*/
|
|
51
|
+
export declare class MatCardActions {
|
|
52
|
+
/** Position of the actions inside the card. */
|
|
53
|
+
align: 'start' | 'end';
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardActions, never>;
|
|
55
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardActions, "mat-card-actions", ["matCardActions"], { "align": "align"; }, {}, never, never, false>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export declare type MatCardAppearance = 'outlined' | 'raised';
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Avatar image content for a card, intended for use within `<mat-card>`. Can be applied to
|
|
62
|
+
* any media element, such as `<img>` or `<picture>`.
|
|
63
|
+
*
|
|
64
|
+
* This component is an optional convenience for use with other convenience elements, such as
|
|
65
|
+
* `<mat-card-title>`; any custom media element may be used in its place.
|
|
66
|
+
*
|
|
67
|
+
* MatCardAvatar provides no behaviors, instead serving as a purely visual treatment.
|
|
68
|
+
*/
|
|
69
|
+
export declare class MatCardAvatar {
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardAvatar, never>;
|
|
71
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardAvatar, "[mat-card-avatar], [matCardAvatar]", never, {}, {}, never, never, false>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** Object that can be used to configure the default options for the card module. */
|
|
75
|
+
export declare interface MatCardConfig {
|
|
76
|
+
/** Default appearance for cards. */
|
|
77
|
+
appearance?: MatCardAppearance;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Content of a card, intended for use within `<mat-card>`. This component is an optional
|
|
82
|
+
* convenience for use with other convenience elements, such as `<mat-card-title>`; any custom
|
|
83
|
+
* content block element may be used in its place.
|
|
84
|
+
*
|
|
85
|
+
* MatCardContent provides no behaviors, instead serving as a purely visual treatment.
|
|
86
|
+
*/
|
|
87
|
+
export declare class MatCardContent {
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardContent, never>;
|
|
89
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardContent, "mat-card-content", never, {}, {}, never, never, false>;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Footer area a card, intended for use within `<mat-card>`.
|
|
94
|
+
* This component is an optional convenience for use with other convenience elements, such as
|
|
95
|
+
* `<mat-card-content>`; any custom footer block element may be used in its place.
|
|
96
|
+
*
|
|
97
|
+
* MatCardFooter provides no behaviors, instead serving as a purely visual treatment.
|
|
98
|
+
*/
|
|
99
|
+
export declare class MatCardFooter {
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardFooter, never>;
|
|
101
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardFooter, "mat-card-footer", never, {}, {}, never, never, false>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Header region of a card, intended for use within `<mat-card>`. This header captures
|
|
106
|
+
* a card title, subtitle, and avatar. This component is an optional convenience for use with
|
|
107
|
+
* other convenience elements, such as `<mat-card-footer>`; any custom header block element may be
|
|
108
|
+
* used in its place.
|
|
109
|
+
*
|
|
110
|
+
* MatCardHeader provides no behaviors, instead serving as a purely visual treatment.
|
|
111
|
+
*/
|
|
112
|
+
export declare class MatCardHeader {
|
|
113
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardHeader, never>;
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCardHeader, "mat-card-header", never, {}, {}, never, ["[mat-card-avatar], [matCardAvatar]", "mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]", "*"], false>;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Primary image content for a card, intended for use within `<mat-card>`. Can be applied to
|
|
119
|
+
* any media element, such as `<img>` or `<picture>`.
|
|
120
|
+
*
|
|
121
|
+
* This component is an optional convenience for use with other convenience elements, such as
|
|
122
|
+
* `<mat-card-content>`; any custom media element may be used in its place.
|
|
123
|
+
*
|
|
124
|
+
* MatCardImage provides no behaviors, instead serving as a purely visual treatment.
|
|
125
|
+
*/
|
|
126
|
+
export declare class MatCardImage {
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardImage, never>;
|
|
128
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardImage, "[mat-card-image], [matCardImage]", never, {}, {}, never, never, false>;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/** Same as `MatCardImage`, but large. */
|
|
132
|
+
export declare class MatCardLgImage {
|
|
133
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardLgImage, never>;
|
|
134
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardLgImage, "[mat-card-lg-image], [matCardImageLarge]", never, {}, {}, never, never, false>;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** Same as `MatCardImage`, but medium. */
|
|
138
|
+
export declare class MatCardMdImage {
|
|
139
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardMdImage, never>;
|
|
140
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardMdImage, "[mat-card-md-image], [matCardImageMedium]", never, {}, {}, never, never, false>;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export declare class MatCardModule {
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardModule, never>;
|
|
145
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatCardModule, [typeof i1.MatCard, typeof i1.MatCardActions, typeof i1.MatCardAvatar, typeof i1.MatCardContent, typeof i1.MatCardFooter, typeof i1.MatCardHeader, typeof i1.MatCardImage, typeof i1.MatCardLgImage, typeof i1.MatCardMdImage, typeof i1.MatCardSmImage, typeof i1.MatCardSubtitle, typeof i1.MatCardTitle, typeof i1.MatCardTitleGroup, typeof i1.MatCardXlImage], [typeof i2.MatCommonModule, typeof i3.CommonModule], [typeof i1.MatCard, typeof i1.MatCardActions, typeof i1.MatCardAvatar, typeof i1.MatCardContent, typeof i1.MatCardFooter, typeof i1.MatCardHeader, typeof i1.MatCardImage, typeof i1.MatCardLgImage, typeof i1.MatCardMdImage, typeof i1.MatCardSmImage, typeof i1.MatCardSubtitle, typeof i1.MatCardTitle, typeof i1.MatCardTitleGroup, typeof i1.MatCardXlImage, typeof i2.MatCommonModule]>;
|
|
146
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatCardModule>;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/** Same as `MatCardImage`, but small. */
|
|
150
|
+
export declare class MatCardSmImage {
|
|
151
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardSmImage, never>;
|
|
152
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSmImage, "[mat-card-sm-image], [matCardImageSmall]", never, {}, {}, never, never, false>;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Sub-title of a card, intended for use within `<mat-card>` beneath a `<mat-card-title>`. This
|
|
157
|
+
* component is an optional convenience for use with other convenience elements, such as
|
|
158
|
+
* `<mat-card-title>`.
|
|
159
|
+
*
|
|
160
|
+
* MatCardSubtitle provides no behaviors, instead serving as a purely visual treatment.
|
|
161
|
+
*/
|
|
162
|
+
export declare class MatCardSubtitle {
|
|
163
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardSubtitle, never>;
|
|
164
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSubtitle, "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]", never, {}, {}, never, never, false>;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Title of a card, intended for use within `<mat-card>`. This component is an optional
|
|
169
|
+
* convenience for one variety of card title; any custom title element may be used in its place.
|
|
170
|
+
*
|
|
171
|
+
* MatCardTitle provides no behaviors, instead serving as a purely visual treatment.
|
|
172
|
+
*/
|
|
173
|
+
export declare class MatCardTitle {
|
|
174
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardTitle, never>;
|
|
175
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardTitle, "mat-card-title, [mat-card-title], [matCardTitle]", never, {}, {}, never, never, false>;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Container intended to be used within the `<mat-card>` component. Can contain exactly one
|
|
180
|
+
* `<mat-card-title>`, one `<mat-card-subtitle>` and one content image of any size
|
|
181
|
+
* (e.g. `<img matCardLgImage>`).
|
|
182
|
+
*/
|
|
183
|
+
export declare class MatCardTitleGroup {
|
|
184
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardTitleGroup, never>;
|
|
185
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCardTitleGroup, "mat-card-title-group", never, {}, {}, never, ["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]", "[mat-card-image], [matCardImage],\n [mat-card-sm-image], [matCardImageSmall],\n [mat-card-md-image], [matCardImageMedium],\n [mat-card-lg-image], [matCardImageLarge],\n [mat-card-xl-image], [matCardImageXLarge]", "*"], false>;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** Same as `MatCardImage`, but extra-large. */
|
|
189
|
+
export declare class MatCardXlImage {
|
|
190
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardXlImage, never>;
|
|
191
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardXlImage, "[mat-card-xl-image], [matCardImageXLarge]", never, {}, {}, never, never, false>;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export { }
|
|
@@ -1,8 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
2
|
+
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
3
|
+
import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
4
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
5
|
+
|
|
6
|
+
/** A set of criteria that can be used to filter a list of `MatCardHarness` instances. */
|
|
7
|
+
export declare interface CardHarnessFilters extends BaseHarnessFilters {
|
|
8
|
+
/** Only find instances whose text matches the given value. */
|
|
9
|
+
text?: string | RegExp;
|
|
10
|
+
/** Only find instances whose title matches the given value. */
|
|
11
|
+
title?: string | RegExp;
|
|
12
|
+
/** Only find instances whose subtitle matches the given value. */
|
|
13
|
+
subtitle?: string | RegExp;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** Harness for interacting with an MDC-based mat-card in tests. */
|
|
17
|
+
export declare class MatCardHarness extends ContentContainerComponentHarness<MatCardSection> {
|
|
18
|
+
/** The selector for the host element of a `MatCard` instance. */
|
|
19
|
+
static hostSelector: string;
|
|
20
|
+
/**
|
|
21
|
+
* Gets a `HarnessPredicate` that can be used to search for a card with specific attributes.
|
|
22
|
+
* @param options Options for filtering which card instances are considered a match.
|
|
23
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
24
|
+
*/
|
|
25
|
+
static with<T extends MatCardHarness>(this: ComponentHarnessConstructor<T>, options?: CardHarnessFilters): HarnessPredicate<T>;
|
|
26
|
+
private _title;
|
|
27
|
+
private _subtitle;
|
|
28
|
+
/** Gets all of the card's content as text. */
|
|
29
|
+
getText(): Promise<string>;
|
|
30
|
+
/** Gets the cards's title text. */
|
|
31
|
+
getTitleText(): Promise<string>;
|
|
32
|
+
/** Gets the cards's subtitle text. */
|
|
33
|
+
getSubtitleText(): Promise<string>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** Selectors for different sections of the mat-card that can container user content. */
|
|
37
|
+
export declare const enum MatCardSection {
|
|
38
|
+
HEADER = ".mat-mdc-card-header",
|
|
39
|
+
CONTENT = ".mat-mdc-card-content",
|
|
40
|
+
ACTIONS = ".mat-mdc-card-actions",
|
|
41
|
+
FOOTER = ".mat-mdc-card-footer"
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { }
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use 'sass:color';
|
|
3
|
+
@use '@angular/material' as mat;
|
|
3
4
|
@use '@material/checkbox/checkbox-theme' as mdc-checkbox-theme;
|
|
4
5
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
5
6
|
|
|
@@ -22,10 +23,16 @@ $private-checkbox-theme-config: map.merge(mdc-checkbox-theme.$light-theme, (
|
|
|
22
23
|
|
|
23
24
|
// Mixin that includes the checkbox theme styles with a given palette.
|
|
24
25
|
// By default, the MDC checkbox always uses the `secondary` palette.
|
|
25
|
-
@mixin private-checkbox-styles-with-color($color, $mdc-color) {
|
|
26
|
+
@mixin private-checkbox-styles-with-color($color-config, $color, $mdc-color) {
|
|
27
|
+
$is-dark: map-get($color-config, is-dark);
|
|
26
28
|
$on-surface: mdc-theme-color.prop-value(on-surface);
|
|
27
29
|
$border-color: rgba($on-surface, color.opacity(mdc-checkbox-theme.$border-color));
|
|
28
30
|
$disabled-color: rgba($on-surface, color.opacity(mdc-checkbox-theme.$disabled-color));
|
|
31
|
+
$active-border-color: if(
|
|
32
|
+
$is-dark,
|
|
33
|
+
mat.get-color-from-palette(mat.$gray-palette, 200),
|
|
34
|
+
mat.get-color-from-palette(mat.$gray-palette, 900)
|
|
35
|
+
);
|
|
29
36
|
|
|
30
37
|
@include mdc-checkbox-theme.theme((
|
|
31
38
|
selected-checkmark-color: mdc-theme-color.prop-value(on-#{$mdc-color}),
|
|
@@ -34,8 +41,8 @@ $private-checkbox-theme-config: map.merge(mdc-checkbox-theme.$light-theme, (
|
|
|
34
41
|
selected-hover-icon-color: $color,
|
|
35
42
|
selected-icon-color: $color,
|
|
36
43
|
selected-pressed-icon-color: $color,
|
|
37
|
-
unselected-focus-icon-color: $color,
|
|
38
|
-
unselected-hover-icon-color: $color,
|
|
44
|
+
unselected-focus-icon-color: $active-border-color,
|
|
45
|
+
unselected-hover-icon-color: $active-border-color,
|
|
39
46
|
|
|
40
47
|
disabled-selected-icon-color: $disabled-color,
|
|
41
48
|
disabled-unselected-icon-color: $disabled-color,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use '@material/checkbox/checkbox' as mdc-checkbox;
|
|
2
3
|
@use '@material/checkbox/checkbox-theme' as mdc-checkbox-theme;
|
|
3
4
|
@use '@material/form-field' as mdc-form-field;
|
|
@@ -5,10 +6,8 @@
|
|
|
5
6
|
@use '@material/theme/theme';
|
|
6
7
|
@use 'sass:map';
|
|
7
8
|
@use 'sass:color';
|
|
9
|
+
|
|
8
10
|
@use '../mdc-helpers/mdc-helpers';
|
|
9
|
-
@use '../../material/core/typography/typography';
|
|
10
|
-
@use '../../material/core/theming/theming';
|
|
11
|
-
@use '../../material/core/ripple/ripple-theme';
|
|
12
11
|
@use './checkbox-private';
|
|
13
12
|
|
|
14
13
|
// Apply ripple colors to the MatRipple element and the MDC ripple element when the
|
|
@@ -16,7 +15,7 @@
|
|
|
16
15
|
@mixin _selected-ripple-colors($theme, $mdc-color) {
|
|
17
16
|
.mdc-checkbox--selected ~ {
|
|
18
17
|
.mat-mdc-checkbox-ripple {
|
|
19
|
-
@include ripple-
|
|
18
|
+
@include mat.ripple-color((
|
|
20
19
|
foreground: (
|
|
21
20
|
base: mdc-theme-color.prop-value($mdc-color)
|
|
22
21
|
),
|
|
@@ -30,15 +29,15 @@
|
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
@mixin color($config-or-theme) {
|
|
33
|
-
$config:
|
|
34
|
-
$primary:
|
|
35
|
-
$accent:
|
|
36
|
-
$warn:
|
|
32
|
+
$config: mat.get-color-config($config-or-theme);
|
|
33
|
+
$primary: mat.get-color-from-palette(map.get($config, primary));
|
|
34
|
+
$accent: mat.get-color-from-palette(map.get($config, accent));
|
|
35
|
+
$warn: mat.get-color-from-palette(map.get($config, warn));
|
|
37
36
|
|
|
38
37
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
39
38
|
.mat-mdc-checkbox {
|
|
40
39
|
@include mdc-form-field.core-styles($query: mdc-helpers.$mat-theme-styles-query);
|
|
41
|
-
@include ripple-
|
|
40
|
+
@include mat.ripple-color((
|
|
42
41
|
foreground: (
|
|
43
42
|
base: mdc-theme-color.prop-value(on-surface)
|
|
44
43
|
),
|
|
@@ -52,17 +51,17 @@
|
|
|
52
51
|
// class for accent and warn style, and applying the appropriate overrides below. Since we
|
|
53
52
|
// don't use MDC's ripple, we also need to set the color for our replacement ripple.
|
|
54
53
|
&.mat-primary {
|
|
55
|
-
@include checkbox-private.private-checkbox-styles-with-color($primary, primary);
|
|
54
|
+
@include checkbox-private.private-checkbox-styles-with-color($config, $primary, primary);
|
|
56
55
|
@include _selected-ripple-colors($primary, primary);
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
&.mat-accent {
|
|
60
|
-
@include checkbox-private.private-checkbox-styles-with-color($accent, secondary);
|
|
59
|
+
@include checkbox-private.private-checkbox-styles-with-color($config, $accent, secondary);
|
|
61
60
|
@include _selected-ripple-colors($accent, secondary);
|
|
62
61
|
}
|
|
63
62
|
|
|
64
63
|
&.mat-warn {
|
|
65
|
-
@include checkbox-private.private-checkbox-styles-with-color($warn, error);
|
|
64
|
+
@include checkbox-private.private-checkbox-styles-with-color($config, $warn, error);
|
|
66
65
|
@include _selected-ripple-colors($warn, error);
|
|
67
66
|
}
|
|
68
67
|
}
|
|
@@ -70,8 +69,8 @@
|
|
|
70
69
|
}
|
|
71
70
|
|
|
72
71
|
@mixin typography($config-or-theme) {
|
|
73
|
-
$config:
|
|
74
|
-
|
|
72
|
+
$config: mat.private-typography-to-2018-config(
|
|
73
|
+
mat.get-typography-config($config-or-theme));
|
|
75
74
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
76
75
|
@include mdc-checkbox.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
|
|
77
76
|
@include mdc-form-field.core-styles($query: mdc-helpers.$mat-typography-styles-query);
|
|
@@ -79,7 +78,7 @@
|
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
@mixin density($config-or-theme) {
|
|
82
|
-
$density-scale:
|
|
81
|
+
$density-scale: mat.get-density-config($config-or-theme);
|
|
83
82
|
|
|
84
83
|
@include mdc-helpers.disable-fallback-declarations {
|
|
85
84
|
.mat-mdc-checkbox .mdc-checkbox {
|
|
@@ -98,11 +97,11 @@
|
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
@mixin theme($theme-or-color-config) {
|
|
101
|
-
$theme:
|
|
102
|
-
@include
|
|
103
|
-
$color:
|
|
104
|
-
$density:
|
|
105
|
-
$typography:
|
|
100
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
101
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-checkbox') {
|
|
102
|
+
$color: mat.get-color-config($theme);
|
|
103
|
+
$density: mat.get-density-config($theme);
|
|
104
|
+
$typography: mat.get-typography-config($theme);
|
|
106
105
|
|
|
107
106
|
@if $color != null {
|
|
108
107
|
@include color($color);
|
package/mdc-checkbox/index.d.ts
CHANGED
|
@@ -1,8 +1,79 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { CanColor } from '@angular/material-experimental/mdc-core';
|
|
2
|
+
import { CanDisable } from '@angular/material-experimental/mdc-core';
|
|
3
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
4
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
5
|
+
import { ElementRef } from '@angular/core';
|
|
6
|
+
import * as i0 from '@angular/core';
|
|
7
|
+
import * as i2 from '@angular/material-experimental/mdc-core';
|
|
8
|
+
import * as i3 from '@angular/material/checkbox';
|
|
9
|
+
import { MAT_CHECKBOX_DEFAULT_OPTIONS } from '@angular/material/checkbox';
|
|
10
|
+
import { MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY } from '@angular/material/checkbox';
|
|
11
|
+
import { MAT_CHECKBOX_REQUIRED_VALIDATOR } from '@angular/material/checkbox';
|
|
12
|
+
import { _MatCheckboxBase } from '@angular/material/checkbox';
|
|
13
|
+
import { MatCheckboxClickAction } from '@angular/material/checkbox';
|
|
14
|
+
import { MatCheckboxDefaultOptions } from '@angular/material/checkbox';
|
|
15
|
+
import { MatCheckboxRequiredValidator } from '@angular/material/checkbox';
|
|
16
|
+
import { _MatCheckboxRequiredValidatorModule } from '@angular/material/checkbox';
|
|
17
|
+
import { NgZone } from '@angular/core';
|
|
18
|
+
import { TransitionCheckState } from '@angular/material/checkbox';
|
|
19
|
+
|
|
20
|
+
declare namespace i1 {
|
|
21
|
+
export {
|
|
22
|
+
MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR,
|
|
23
|
+
MatCheckboxChange,
|
|
24
|
+
MatCheckbox
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export declare const MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR: any;
|
|
29
|
+
|
|
30
|
+
export { MAT_CHECKBOX_DEFAULT_OPTIONS }
|
|
31
|
+
|
|
32
|
+
export { MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY }
|
|
33
|
+
|
|
34
|
+
export { MAT_CHECKBOX_REQUIRED_VALIDATOR }
|
|
35
|
+
|
|
36
|
+
export declare class MatCheckbox extends _MatCheckboxBase<MatCheckboxChange> implements ControlValueAccessor, CanColor, CanDisable {
|
|
37
|
+
protected _animationClasses: {
|
|
38
|
+
uncheckedToChecked: string;
|
|
39
|
+
uncheckedToIndeterminate: string;
|
|
40
|
+
checkedToUnchecked: string;
|
|
41
|
+
checkedToIndeterminate: string;
|
|
42
|
+
indeterminateToChecked: string;
|
|
43
|
+
indeterminateToUnchecked: string;
|
|
44
|
+
};
|
|
45
|
+
constructor(elementRef: ElementRef<HTMLElement>, changeDetectorRef: ChangeDetectorRef, ngZone: NgZone, tabIndex: string, animationMode?: string, options?: MatCheckboxDefaultOptions);
|
|
46
|
+
/** Focuses the checkbox. */
|
|
47
|
+
focus(): void;
|
|
48
|
+
protected _createChangeEvent(isChecked: boolean): MatCheckboxChange;
|
|
49
|
+
protected _getAnimationTargetElement(): HTMLInputElement;
|
|
50
|
+
_onInputClick(): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckbox, [null, null, null, { attribute: "tabindex"; }, { optional: true; }, { optional: true; }]>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCheckbox, "mat-checkbox", ["matCheckbox"], { "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, ["*"], false>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** Change event object emitted by MatCheckbox. */
|
|
56
|
+
export declare class MatCheckboxChange {
|
|
57
|
+
/** The source MatCheckbox of the event. */
|
|
58
|
+
source: MatCheckbox;
|
|
59
|
+
/** The new `checked` value of the checkbox. */
|
|
60
|
+
checked: boolean;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export { MatCheckboxClickAction }
|
|
64
|
+
|
|
65
|
+
export { MatCheckboxDefaultOptions }
|
|
66
|
+
|
|
67
|
+
export declare class MatCheckboxModule {
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckboxModule, never>;
|
|
69
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatCheckboxModule, [typeof i1.MatCheckbox], [typeof i2.MatCommonModule, typeof i2.MatRippleModule, typeof i3._MatCheckboxRequiredValidatorModule], [typeof i1.MatCheckbox, typeof i2.MatCommonModule, typeof i3._MatCheckboxRequiredValidatorModule]>;
|
|
70
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MatCheckboxModule>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export { MatCheckboxRequiredValidator }
|
|
74
|
+
|
|
75
|
+
export { _MatCheckboxRequiredValidatorModule }
|
|
76
|
+
|
|
77
|
+
export { TransitionCheckState }
|
|
78
|
+
|
|
79
|
+
export { }
|
|
@@ -1,8 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export
|
|
1
|
+
import { AsyncFactoryFn } from '@angular/cdk/testing';
|
|
2
|
+
import { CheckboxHarnessFilters } from '@angular/material/checkbox/testing';
|
|
3
|
+
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
4
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
5
|
+
import { _MatCheckboxHarnessBase } from '@angular/material/checkbox/testing';
|
|
6
|
+
import { TestElement } from '@angular/cdk/testing';
|
|
7
|
+
|
|
8
|
+
export { CheckboxHarnessFilters }
|
|
9
|
+
|
|
10
|
+
/** Harness for interacting with a MDC-based mat-checkbox in tests. */
|
|
11
|
+
export declare class MatCheckboxHarness extends _MatCheckboxHarnessBase {
|
|
12
|
+
static hostSelector: string;
|
|
13
|
+
/**
|
|
14
|
+
* Gets a `HarnessPredicate` that can be used to search for a checkbox with specific attributes.
|
|
15
|
+
* @param options Options for narrowing the search:
|
|
16
|
+
* - `selector` finds a checkbox whose host element matches the given selector.
|
|
17
|
+
* - `label` finds a checkbox with specific label text.
|
|
18
|
+
* - `name` finds a checkbox with specific name.
|
|
19
|
+
* @return a `HarnessPredicate` configured with the given options.
|
|
20
|
+
*/
|
|
21
|
+
static with<T extends MatCheckboxHarness>(this: ComponentHarnessConstructor<T>, options?: CheckboxHarnessFilters): HarnessPredicate<T>;
|
|
22
|
+
protected _input: AsyncFactoryFn<TestElement>;
|
|
23
|
+
protected _label: AsyncFactoryFn<TestElement>;
|
|
24
|
+
private _inputContainer;
|
|
25
|
+
toggle(): Promise<void>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { }
|