@angular/material-experimental 14.0.0-next.1 → 14.0.0-next.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_index.scss +3 -0
- package/column-resize/_column-resize-theme.scss +15 -17
- package/column-resize/column-resize-directives/column-resize-flex.d.ts +1 -1
- package/column-resize/column-resize-directives/column-resize.d.ts +1 -1
- package/column-resize/column-resize-directives/default-enabled-column-resize-flex.d.ts +1 -1
- package/column-resize/column-resize-directives/default-enabled-column-resize.d.ts +1 -1
- package/column-resize/overlay-handle.d.ts +1 -1
- package/column-resize/resizable-directives/default-enabled-resizable.d.ts +1 -1
- package/column-resize/resizable-directives/resizable.d.ts +1 -1
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-module.mjs +13 -13
- package/esm2020/column-resize/overlay-handle.mjs +4 -4
- package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
- package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
- package/esm2020/column-resize/resize-strategy.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +4 -4
- package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +6 -5
- package/esm2020/mdc-autocomplete/autocomplete.mjs +5 -5
- package/esm2020/mdc-autocomplete/module.mjs +5 -5
- package/esm2020/mdc-button/button-base.mjs +8 -8
- 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-card/card.mjs +44 -44
- package/esm2020/mdc-card/module.mjs +5 -5
- package/esm2020/mdc-checkbox/checkbox.mjs +10 -5
- package/esm2020/mdc-checkbox/module.mjs +5 -5
- package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +3 -2
- package/esm2020/mdc-chips/chip-action.mjs +6 -5
- package/esm2020/mdc-chips/chip-edit-input.mjs +5 -5
- package/esm2020/mdc-chips/chip-grid.mjs +35 -14
- 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 +8 -11
- 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 +13 -15
- package/esm2020/mdc-chips/chip-text-control.mjs +1 -1
- package/esm2020/mdc-chips/chip.mjs +8 -8
- package/esm2020/mdc-chips/module.mjs +5 -5
- package/esm2020/mdc-chips/testing/public-api.mjs +2 -1
- 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-dialog/dialog-container.mjs +7 -8
- package/esm2020/mdc-dialog/dialog-content-directives.mjs +27 -15
- package/esm2020/mdc-dialog/dialog.mjs +10 -5
- package/esm2020/mdc-dialog/module.mjs +5 -5
- package/esm2020/mdc-dialog/testing/dialog-opener.mjs +45 -0
- package/esm2020/mdc-dialog/testing/public-api.mjs +2 -1
- package/esm2020/mdc-form-field/directives/error.mjs +4 -4
- package/esm2020/mdc-form-field/directives/floating-label.mjs +5 -10
- package/esm2020/mdc-form-field/directives/hint.mjs +4 -4
- package/esm2020/mdc-form-field/directives/label.mjs +4 -4
- package/esm2020/mdc-form-field/directives/line-ripple.mjs +4 -4
- package/esm2020/mdc-form-field/directives/notched-outline.mjs +4 -4
- package/esm2020/mdc-form-field/directives/prefix.mjs +4 -4
- package/esm2020/mdc-form-field/directives/suffix.mjs +4 -4
- package/esm2020/mdc-form-field/form-field.mjs +59 -47
- package/esm2020/mdc-form-field/module.mjs +5 -5
- 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 +6 -6
- package/esm2020/mdc-list/interactive-list-base.mjs +5 -5
- 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 +21 -9
- package/esm2020/mdc-list/module.mjs +5 -5
- 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-menu/directives.mjs +7 -7
- package/esm2020/mdc-menu/menu-item.mjs +6 -6
- package/esm2020/mdc-menu/menu.mjs +9 -9
- package/esm2020/mdc-menu/module.mjs +5 -5
- package/esm2020/mdc-paginator/module.mjs +5 -5
- package/esm2020/mdc-paginator/paginator.mjs +10 -10
- package/esm2020/mdc-paginator/public-api.mjs +1 -1
- package/esm2020/mdc-progress-bar/module.mjs +5 -5
- package/esm2020/mdc-progress-bar/progress-bar.mjs +8 -5
- package/esm2020/mdc-progress-spinner/module.mjs +5 -5
- package/esm2020/mdc-progress-spinner/progress-spinner.mjs +8 -5
- package/esm2020/mdc-radio/module.mjs +5 -5
- package/esm2020/mdc-radio/radio.mjs +9 -8
- package/esm2020/mdc-radio/testing/radio-harness.mjs +3 -2
- package/esm2020/mdc-select/module.mjs +5 -5
- package/esm2020/mdc-select/select.mjs +11 -12
- package/esm2020/mdc-slide-toggle/module.mjs +5 -5
- package/esm2020/mdc-slide-toggle/slide-toggle.mjs +6 -5
- package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +4 -2
- 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 +53 -24
- 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 +37 -25
- package/esm2020/mdc-snack-bar/snack-bar-content.mjs +10 -10
- package/esm2020/mdc-snack-bar/snack-bar.mjs +4 -4
- package/esm2020/mdc-table/cell.mjs +22 -22
- package/esm2020/mdc-table/module.mjs +5 -5
- package/esm2020/mdc-table/row.mjs +22 -22
- package/esm2020/mdc-table/table.mjs +9 -9
- package/esm2020/mdc-table/text-column.mjs +5 -5
- package/esm2020/mdc-tabs/ink-bar.mjs +4 -2
- package/esm2020/mdc-tabs/module.mjs +5 -5
- 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 +25 -13
- package/esm2020/mdc-tabs/tab-header.mjs +5 -5
- package/esm2020/mdc-tabs/tab-label-wrapper.mjs +4 -4
- package/esm2020/mdc-tabs/tab-label.mjs +4 -4
- package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +29 -12
- package/esm2020/mdc-tabs/tab.mjs +4 -4
- package/esm2020/mdc-tooltip/module.mjs +5 -5
- package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +4 -1
- package/esm2020/mdc-tooltip/tooltip.mjs +31 -15
- package/esm2020/menubar/menubar-item.mjs +20 -6
- package/esm2020/menubar/menubar-module.mjs +6 -6
- package/esm2020/menubar/menubar.mjs +11 -14
- 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.map +1 -1
- package/fesm2015/mdc-autocomplete.mjs +16 -15
- package/fesm2015/mdc-autocomplete.mjs.map +1 -1
- package/fesm2015/mdc-button/testing.mjs.map +1 -1
- package/fesm2015/mdc-button.mjs +43 -43
- package/fesm2015/mdc-button.mjs.map +1 -1
- 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 +2 -1
- package/fesm2015/mdc-checkbox/testing.mjs.map +1 -1
- package/fesm2015/mdc-checkbox.mjs +13 -8
- package/fesm2015/mdc-checkbox.mjs.map +1 -1
- package/fesm2015/mdc-chips/testing.mjs +2 -2
- package/fesm2015/mdc-chips/testing.mjs.map +1 -1
- package/fesm2015/mdc-chips.mjs +96 -76
- package/fesm2015/mdc-chips.mjs.map +1 -1
- 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 +44 -2
- package/fesm2015/mdc-dialog/testing.mjs.map +1 -1
- package/fesm2015/mdc-dialog.mjs +45 -29
- package/fesm2015/mdc-dialog.mjs.map +1 -1
- package/fesm2015/mdc-form-field/testing.mjs +1 -1
- package/fesm2015/mdc-form-field/testing.mjs.map +1 -1
- package/fesm2015/mdc-form-field.mjs +84 -77
- package/fesm2015/mdc-form-field.mjs.map +1 -1
- package/fesm2015/mdc-input/testing.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.map +1 -1
- package/fesm2015/mdc-list.mjs +74 -63
- package/fesm2015/mdc-list.mjs.map +1 -1
- package/fesm2015/mdc-menu/testing.mjs.map +1 -1
- package/fesm2015/mdc-menu.mjs +21 -21
- package/fesm2015/mdc-menu.mjs.map +1 -1
- 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.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.map +1 -1
- package/fesm2015/mdc-progress-spinner.mjs +11 -8
- package/fesm2015/mdc-progress-spinner.mjs.map +1 -1
- package/fesm2015/mdc-radio/testing.mjs +2 -1
- package/fesm2015/mdc-radio/testing.mjs.map +1 -1
- package/fesm2015/mdc-radio.mjs +12 -11
- package/fesm2015/mdc-radio.mjs.map +1 -1
- 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 -1
- package/fesm2015/mdc-slide-toggle/testing.mjs.map +1 -1
- package/fesm2015/mdc-slide-toggle.mjs +9 -8
- package/fesm2015/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2015/mdc-slider/testing.mjs.map +1 -1
- package/fesm2015/mdc-slider.mjs +70 -30
- package/fesm2015/mdc-slider.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar/testing.mjs.map +1 -1
- package/fesm2015/mdc-snack-bar.mjs +62 -50
- package/fesm2015/mdc-snack-bar.mjs.map +1 -1
- 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.map +1 -1
- package/fesm2015/mdc-tabs.mjs +77 -46
- package/fesm2015/mdc-tabs.mjs.map +1 -1
- package/fesm2015/mdc-tooltip/testing.mjs +3 -0
- package/fesm2015/mdc-tooltip/testing.mjs.map +1 -1
- package/fesm2015/mdc-tooltip.mjs +60 -41
- package/fesm2015/mdc-tooltip.mjs.map +1 -1
- package/fesm2015/menubar.mjs +32 -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.map +1 -1
- package/fesm2020/mdc-autocomplete.mjs +16 -15
- package/fesm2020/mdc-autocomplete.mjs.map +1 -1
- package/fesm2020/mdc-button/testing.mjs.map +1 -1
- package/fesm2020/mdc-button.mjs +43 -43
- package/fesm2020/mdc-button.mjs.map +1 -1
- 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 +2 -1
- package/fesm2020/mdc-checkbox/testing.mjs.map +1 -1
- package/fesm2020/mdc-checkbox.mjs +13 -8
- package/fesm2020/mdc-checkbox.mjs.map +1 -1
- package/fesm2020/mdc-chips/testing.mjs +1 -1
- package/fesm2020/mdc-chips/testing.mjs.map +1 -1
- package/fesm2020/mdc-chips.mjs +96 -76
- package/fesm2020/mdc-chips.mjs.map +1 -1
- 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 +44 -2
- package/fesm2020/mdc-dialog/testing.mjs.map +1 -1
- package/fesm2020/mdc-dialog.mjs +45 -29
- package/fesm2020/mdc-dialog.mjs.map +1 -1
- package/fesm2020/mdc-form-field/testing.mjs +1 -1
- package/fesm2020/mdc-form-field/testing.mjs.map +1 -1
- package/fesm2020/mdc-form-field.mjs +83 -76
- package/fesm2020/mdc-form-field.mjs.map +1 -1
- package/fesm2020/mdc-input/testing.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.map +1 -1
- package/fesm2020/mdc-list.mjs +74 -63
- package/fesm2020/mdc-list.mjs.map +1 -1
- package/fesm2020/mdc-menu/testing.mjs.map +1 -1
- package/fesm2020/mdc-menu.mjs +21 -21
- package/fesm2020/mdc-menu.mjs.map +1 -1
- 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.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.map +1 -1
- package/fesm2020/mdc-progress-spinner.mjs +11 -8
- package/fesm2020/mdc-progress-spinner.mjs.map +1 -1
- package/fesm2020/mdc-radio/testing.mjs +2 -1
- package/fesm2020/mdc-radio/testing.mjs.map +1 -1
- package/fesm2020/mdc-radio.mjs +12 -11
- package/fesm2020/mdc-radio.mjs.map +1 -1
- 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 -1
- package/fesm2020/mdc-slide-toggle/testing.mjs.map +1 -1
- package/fesm2020/mdc-slide-toggle.mjs +9 -8
- package/fesm2020/mdc-slide-toggle.mjs.map +1 -1
- package/fesm2020/mdc-slider/testing.mjs.map +1 -1
- package/fesm2020/mdc-slider.mjs +59 -29
- package/fesm2020/mdc-slider.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar/testing.mjs.map +1 -1
- package/fesm2020/mdc-snack-bar.mjs +62 -50
- package/fesm2020/mdc-snack-bar.mjs.map +1 -1
- 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.map +1 -1
- package/fesm2020/mdc-tabs.mjs +77 -46
- package/fesm2020/mdc-tabs.mjs.map +1 -1
- package/fesm2020/mdc-tooltip/testing.mjs +3 -0
- package/fesm2020/mdc-tooltip/testing.mjs.map +1 -1
- package/fesm2020/mdc-tooltip.mjs +57 -40
- package/fesm2020/mdc-tooltip.mjs.map +1 -1
- package/fesm2020/menubar.mjs +31 -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/mdc-autocomplete/_autocomplete-theme.scss +10 -10
- package/mdc-autocomplete/autocomplete-origin.d.ts +1 -1
- package/mdc-autocomplete/autocomplete-trigger.d.ts +1 -1
- package/mdc-autocomplete/autocomplete.d.ts +1 -1
- package/mdc-button/_button-base.scss +4 -3
- package/mdc-button/_button-theme-private.scss +0 -1
- package/mdc-button/_button-theme.scss +16 -13
- package/mdc-button/_fab-theme.scss +10 -10
- package/mdc-button/_icon-button-theme.scss +13 -12
- package/mdc-button/button-base.d.ts +2 -2
- package/mdc-button/button.d.ts +2 -2
- package/mdc-button/fab.d.ts +4 -4
- package/mdc-button/icon-button.d.ts +2 -2
- package/mdc-card/_card-theme.scss +11 -11
- package/mdc-card/card.d.ts +14 -14
- package/mdc-checkbox/_checkbox-theme.scss +16 -17
- package/mdc-checkbox/checkbox.d.ts +1 -1
- package/mdc-chips/_chips-theme.scss +20 -15
- package/mdc-chips/chip-action.d.ts +2 -2
- package/mdc-chips/chip-edit-input.d.ts +1 -1
- package/mdc-chips/chip-grid.d.ts +23 -6
- package/mdc-chips/chip-icons.d.ts +3 -3
- package/mdc-chips/chip-input.d.ts +6 -6
- package/mdc-chips/chip-listbox.d.ts +2 -3
- package/mdc-chips/chip-option.d.ts +1 -1
- package/mdc-chips/chip-row.d.ts +1 -1
- package/mdc-chips/chip-set.d.ts +4 -4
- package/mdc-chips/chip-text-control.d.ts +2 -0
- package/mdc-chips/chip.d.ts +1 -1
- package/mdc-chips/testing/public-api.d.ts +1 -0
- package/mdc-color/_all-color.scss +4 -3
- package/mdc-core/_core-theme.scss +23 -11
- package/mdc-core/option/_optgroup-theme.scss +11 -11
- package/mdc-core/option/_option-theme.scss +11 -11
- package/mdc-core/option/optgroup.d.ts +1 -1
- package/mdc-core/option/option.d.ts +1 -1
- package/mdc-density/_all-density.scss +4 -3
- package/mdc-dialog/_dialog-theme.scss +49 -13
- package/mdc-dialog/dialog-container.d.ts +1 -1
- package/mdc-dialog/dialog-content-directives.d.ts +8 -4
- package/mdc-dialog/dialog.d.ts +6 -1
- package/mdc-dialog/testing/dialog-opener.d.ts +18 -0
- package/mdc-dialog/testing/public-api.d.ts +1 -0
- package/mdc-form-field/_form-field-density.scss +6 -5
- package/mdc-form-field/_form-field-focus-overlay.scss +2 -2
- package/mdc-form-field/_form-field-high-contrast.scss +17 -8
- 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 +17 -17
- package/mdc-form-field/_mdc-text-field-structure-overrides.scss +2 -2
- package/mdc-form-field/directives/error.d.ts +1 -1
- package/mdc-form-field/directives/floating-label.d.ts +1 -3
- package/mdc-form-field/directives/hint.d.ts +1 -1
- package/mdc-form-field/directives/label.d.ts +1 -1
- package/mdc-form-field/directives/line-ripple.d.ts +1 -1
- package/mdc-form-field/directives/notched-outline.d.ts +1 -1
- package/mdc-form-field/directives/prefix.d.ts +1 -1
- package/mdc-form-field/directives/suffix.d.ts +1 -1
- package/mdc-form-field/form-field.d.ts +24 -12
- package/mdc-form-field/testing/public-api.d.ts +1 -1
- package/mdc-helpers/_focus-indicators-theme.scss +6 -6
- package/mdc-helpers/_focus-indicators.scss +2 -2
- package/mdc-helpers/_mdc-helpers.scss +13 -16
- package/mdc-input/_input-theme.scss +10 -10
- package/mdc-input/input.d.ts +1 -1
- package/mdc-list/_interactive-list-theme.scss +2 -2
- package/mdc-list/_list-theme.scss +22 -15
- package/mdc-list/action-list.d.ts +1 -1
- package/mdc-list/interactive-list-base.d.ts +1 -1
- package/mdc-list/list-base.d.ts +2 -2
- package/mdc-list/list-item-sections.d.ts +6 -6
- package/mdc-list/list-option.d.ts +1 -1
- package/mdc-list/list.d.ts +6 -2
- package/mdc-list/nav-list.d.ts +1 -1
- package/mdc-list/selection-list.d.ts +1 -1
- package/mdc-list/subheader.d.ts +1 -1
- package/mdc-menu/_menu-theme.scss +10 -10
- package/mdc-menu/directives.d.ts +2 -2
- package/mdc-menu/menu-item.d.ts +1 -1
- package/mdc-menu/menu.d.ts +2 -2
- package/mdc-paginator/_paginator-theme.scss +20 -23
- package/mdc-paginator/paginator.d.ts +1 -1
- package/mdc-paginator/public-api.d.ts +1 -1
- package/mdc-progress-bar/_progress-bar-theme.scss +8 -7
- package/mdc-progress-bar/progress-bar.d.ts +1 -1
- package/mdc-progress-spinner/_progress-spinner-theme.scss +8 -7
- package/mdc-progress-spinner/progress-spinner.d.ts +1 -1
- package/mdc-radio/_radio-theme.scss +16 -16
- package/mdc-radio/radio.d.ts +2 -2
- package/mdc-select/_select-theme.scss +11 -11
- package/mdc-select/select.d.ts +2 -2
- package/mdc-slide-toggle/_slide-toggle-theme.scss +14 -15
- package/mdc-slide-toggle/slide-toggle.d.ts +1 -1
- package/mdc-slider/_slider-theme.scss +11 -12
- package/mdc-slider/slider.d.ts +9 -3
- package/mdc-snack-bar/_snack-bar-theme.scss +11 -11
- package/mdc-snack-bar/simple-snack-bar.d.ts +1 -1
- package/mdc-snack-bar/snack-bar-container.d.ts +5 -4
- package/mdc-snack-bar/snack-bar-content.d.ts +3 -3
- package/mdc-table/_table-theme.scss +14 -21
- package/mdc-table/cell.d.ts +7 -7
- package/mdc-table/row.d.ts +7 -7
- package/mdc-table/table.d.ts +2 -2
- package/mdc-table/text-column.d.ts +1 -1
- package/mdc-tabs/_tabs-common.scss +14 -4
- package/mdc-tabs/_tabs-theme.scss +14 -14
- package/mdc-tabs/ink-bar.d.ts +1 -1
- package/mdc-tabs/tab-body.d.ts +2 -2
- package/mdc-tabs/tab-content.d.ts +1 -1
- package/mdc-tabs/tab-group.d.ts +5 -1
- package/mdc-tabs/tab-header.d.ts +1 -1
- package/mdc-tabs/tab-label-wrapper.d.ts +1 -1
- package/mdc-tabs/tab-label.d.ts +1 -1
- package/mdc-tabs/tab-nav-bar/tab-nav-bar.d.ts +10 -5
- package/mdc-tabs/tab.d.ts +1 -1
- 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/testing/tooltip-harness.d.ts +3 -0
- package/mdc-tooltip/tooltip.d.ts +8 -4
- package/mdc-typography/_all-typography.scss +5 -5
- package/menubar/menubar-item.d.ts +3 -2
- package/menubar/menubar-module.d.ts +1 -1
- package/menubar/menubar.d.ts +2 -2
- package/package.json +56 -18
- package/popover-edit/_popover-edit-theme.scss +23 -26
- package/popover-edit/lens-directives.d.ts +3 -3
- package/popover-edit/table-directives.d.ts +4 -4
- package/selection/_selection.scss +3 -3
- package/selection/row-selection.d.ts +1 -1
- package/selection/select-all.d.ts +1 -1
- package/selection/selection-column.d.ts +1 -1
- package/selection/selection-toggle.d.ts +1 -1
- package/selection/selection.d.ts +1 -1
- package/esm2020/mdc-sidenav/index.mjs +0 -9
- package/esm2020/mdc-sidenav/mdc-sidenav_public_index.mjs +0 -5
- package/esm2020/mdc-sidenav/module.mjs +0 -23
- package/esm2020/mdc-sidenav/public-api.mjs +0 -9
- package/fesm2015/mdc-sidenav.mjs +0 -46
- package/fesm2015/mdc-sidenav.mjs.map +0 -1
- package/fesm2020/mdc-sidenav.mjs +0 -46
- package/fesm2020/mdc-sidenav.mjs.map +0 -1
- package/mdc-sidenav/_sidenav-theme.import.scss +0 -5
- package/mdc-sidenav/_sidenav-theme.scss +0 -28
- package/mdc-sidenav/index.d.ts +0 -8
- package/mdc-sidenav/mdc-sidenav_public_index.d.ts +0 -4
- package/mdc-sidenav/module.d.ts +0 -7
- package/mdc-sidenav/package.json +0 -9
- package/mdc-sidenav/public-api.d.ts +0 -8
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use '@material/menu-surface/mixins' as mdc-menu-surface;
|
|
2
3
|
@use '@material/list/evolution-mixins' as mdc-list;
|
|
4
|
+
|
|
3
5
|
@use '../mdc-helpers/mdc-helpers';
|
|
4
|
-
@use '../../material/core/typography/typography';
|
|
5
|
-
@use '../../material/core/theming/theming';
|
|
6
6
|
|
|
7
7
|
@mixin color($config-or-theme) {
|
|
8
|
-
$config:
|
|
8
|
+
$config: mat.get-color-config($config-or-theme);
|
|
9
9
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
10
10
|
@include mdc-menu-surface.core-styles(mdc-helpers.$mat-theme-styles-query);
|
|
11
11
|
@include mdc-list.without-ripple(mdc-helpers.$mat-theme-styles-query);
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@mixin typography($config-or-theme) {
|
|
16
|
-
$config:
|
|
17
|
-
|
|
16
|
+
$config: mat.private-typography-to-2018-config(
|
|
17
|
+
mat.get-typography-config($config-or-theme));
|
|
18
18
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
19
19
|
@include mdc-menu-surface.core-styles(mdc-helpers.$mat-typography-styles-query);
|
|
20
20
|
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
@mixin density($config-or-theme) {}
|
|
30
30
|
|
|
31
31
|
@mixin theme($theme-or-color-config) {
|
|
32
|
-
$theme:
|
|
33
|
-
@include
|
|
34
|
-
$color:
|
|
35
|
-
$density:
|
|
36
|
-
$typography:
|
|
32
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
33
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-autocomplete') {
|
|
34
|
+
$color: mat.get-color-config($theme);
|
|
35
|
+
$density: mat.get-density-config($theme);
|
|
36
|
+
$typography: mat.get-typography-config($theme);
|
|
37
37
|
|
|
38
38
|
@if $color != null {
|
|
39
39
|
@include color($color);
|
|
@@ -6,5 +6,5 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class MatAutocompleteOrigin extends _MatAutocompleteOriginBase {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteOrigin, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAutocompleteOrigin, "[matAutocompleteOrigin]", ["matAutocompleteOrigin"], {}, {}, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAutocompleteOrigin, "[matAutocompleteOrigin]", ["matAutocompleteOrigin"], {}, {}, never, never, false>;
|
|
10
10
|
}
|
|
@@ -8,5 +8,5 @@ export declare const MAT_AUTOCOMPLETE_VALUE_ACCESSOR: any;
|
|
|
8
8
|
export declare class MatAutocompleteTrigger extends _MatAutocompleteTriggerBase {
|
|
9
9
|
protected _aboveClass: string;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocompleteTrigger, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAutocompleteTrigger, "input[matAutocomplete], textarea[matAutocomplete]", ["matAutocompleteTrigger"], {}, {}, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAutocompleteTrigger, "input[matAutocomplete], textarea[matAutocomplete]", ["matAutocompleteTrigger"], {}, {}, never, never, false>;
|
|
12
12
|
}
|
|
@@ -17,5 +17,5 @@ export declare class MatAutocomplete extends _MatAutocompleteBase {
|
|
|
17
17
|
protected _visibleClass: string;
|
|
18
18
|
protected _hiddenClass: string;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatAutocomplete, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatAutocomplete, "mat-autocomplete", ["matAutocomplete"], { "disableRipple": "disableRipple"; }, {}, ["optionGroups", "options"], ["*"]>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatAutocomplete, "mat-autocomplete", ["matAutocomplete"], { "disableRipple": "disableRipple"; }, {}, ["optionGroups", "options"], ["*"], false>;
|
|
21
21
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
2
3
|
@use '@material/touch-target' as mdc-touch-target;
|
|
4
|
+
|
|
3
5
|
@use '../mdc-helpers/mdc-helpers';
|
|
4
|
-
@use '../../material/core/style/layout-common';
|
|
5
6
|
|
|
6
7
|
// Adds styles necessary to provide stateful interactions with the button. This includes providing
|
|
7
8
|
// content for the state container's ::before and ::after so that they can be given a background
|
|
@@ -13,7 +14,7 @@
|
|
|
13
14
|
.mat-mdc-button-ripple,
|
|
14
15
|
.mat-mdc-button-persistent-ripple,
|
|
15
16
|
.mat-mdc-button-persistent-ripple::before {
|
|
16
|
-
@include
|
|
17
|
+
@include mat.private-fill;
|
|
17
18
|
|
|
18
19
|
// Disable pointer events for the ripple container and state overlay because the container
|
|
19
20
|
// will overlay the user content and we don't want to disable mouse events on the user content.
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
|
|
47
48
|
// The focus indicator should match the bounds of the entire button.
|
|
48
49
|
.mat-mdc-focus-indicator {
|
|
49
|
-
@include
|
|
50
|
+
@include mat.private-fill();
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '@material/ripple/ripple-theme' as mdc-ripple-theme;
|
|
3
3
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
4
|
-
@use '../../material/core/ripple/ripple-theme';
|
|
5
4
|
|
|
6
5
|
@mixin _ripple-color($color) {
|
|
7
6
|
--mat-mdc-button-persistent-ripple-color: #{$color};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
2
3
|
@use '@material/button/button' as mdc-button;
|
|
3
4
|
@use '@material/button/button-theme' as mdc-button-theme;
|
|
4
5
|
@use '@material/button/button-text-theme' as mdc-button-text-theme;
|
|
@@ -6,9 +7,8 @@
|
|
|
6
7
|
@use '@material/button/button-protected-theme' as mdc-button-protected-theme;
|
|
7
8
|
@use '@material/button/button-outlined-theme' as mdc-button-outlined-theme;
|
|
8
9
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
9
|
-
|
|
10
|
+
|
|
10
11
|
@use '../mdc-helpers/mdc-helpers';
|
|
11
|
-
@use '../../material/core/theming/theming';
|
|
12
12
|
@use './button-theme-private';
|
|
13
13
|
|
|
14
14
|
@mixin _button-variant($color) {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@mixin color($config-or-theme) {
|
|
41
|
-
$config:
|
|
41
|
+
$config: mat.get-color-config($config-or-theme);
|
|
42
42
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
43
43
|
$is-dark: map.get($config, is-dark);
|
|
44
44
|
$on-surface: mdc-theme-color.prop-value(on-surface);
|
|
@@ -183,30 +183,33 @@
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
@mixin typography($config-or-theme) {
|
|
186
|
-
$config:
|
|
187
|
-
|
|
186
|
+
$config: mat.private-typography-to-2018-config(
|
|
187
|
+
mat.get-typography-config($config-or-theme));
|
|
188
188
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
189
189
|
@include mdc-button.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
@mixin density($config-or-theme) {
|
|
194
|
-
$density-scale:
|
|
194
|
+
$density-scale: mat.get-density-config($config-or-theme);
|
|
195
195
|
.mat-mdc-button,
|
|
196
196
|
.mat-mdc-raised-button,
|
|
197
197
|
.mat-mdc-unelevated-button,
|
|
198
198
|
.mat-mdc-outlined-button {
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
// Use `mat-mdc-button-base` to increase the specificity over the button's structural styles.
|
|
200
|
+
&.mat-mdc-button-base {
|
|
201
|
+
@include mdc-button-theme.density($density-scale, $query: mdc-helpers.$mat-base-styles-query);
|
|
202
|
+
@include button-theme-private.touch-target-density($density-scale);
|
|
203
|
+
}
|
|
201
204
|
}
|
|
202
205
|
}
|
|
203
206
|
|
|
204
207
|
@mixin theme($theme-or-color-config) {
|
|
205
|
-
$theme:
|
|
206
|
-
@include
|
|
207
|
-
$color:
|
|
208
|
-
$density:
|
|
209
|
-
$typography:
|
|
208
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
209
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-button') {
|
|
210
|
+
$color: mat.get-color-config($theme);
|
|
211
|
+
$density: mat.get-density-config($theme);
|
|
212
|
+
$typography: mat.get-typography-config($theme);
|
|
210
213
|
|
|
211
214
|
@if $color != null {
|
|
212
215
|
@include color($color);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
2
3
|
@use '@material/fab/fab' as mdc-fab;
|
|
3
4
|
@use '@material/fab/fab-theme' as mdc-fab-theme;
|
|
4
5
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
6
|
+
|
|
5
7
|
@use '../mdc-helpers/mdc-helpers';
|
|
6
|
-
@use '../../material/core/theming/theming';
|
|
7
|
-
@use '../../material/core/typography/typography';
|
|
8
8
|
@use './button-theme-private';
|
|
9
9
|
|
|
10
10
|
@mixin _fab-variant($foreground, $background) {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
@mixin color($config-or-theme) {
|
|
20
|
-
$config:
|
|
20
|
+
$config: mat.get-color-config($config-or-theme);
|
|
21
21
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
22
22
|
$on-surface: mdc-theme-color.prop-value(on-surface);
|
|
23
23
|
$is-dark: map.get($config, is-dark);
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
@mixin typography($config-or-theme) {
|
|
64
|
-
$config:
|
|
65
|
-
|
|
64
|
+
$config: mat.private-typography-to-2018-config(
|
|
65
|
+
mat.get-typography-config($config-or-theme));
|
|
66
66
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
67
67
|
@include mdc-fab.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
|
|
68
68
|
}
|
|
@@ -71,11 +71,11 @@
|
|
|
71
71
|
@mixin density($config-or-theme) {}
|
|
72
72
|
|
|
73
73
|
@mixin theme($theme-or-color-config) {
|
|
74
|
-
$theme:
|
|
75
|
-
@include
|
|
76
|
-
$color:
|
|
77
|
-
$density:
|
|
78
|
-
$typography:
|
|
74
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
75
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-fab') {
|
|
76
|
+
$color: mat.get-color-config($theme);
|
|
77
|
+
$density: mat.get-density-config($theme);
|
|
78
|
+
$typography: mat.get-typography-config($theme);
|
|
79
79
|
|
|
80
80
|
@if $color != null {
|
|
81
81
|
@include color($color);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
2
3
|
@use '@material/icon-button/mixins' as mdc-icon-button;
|
|
3
4
|
@use '@material/icon-button/icon-button-theme' as mdc-icon-button-theme;
|
|
4
5
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
6
|
+
|
|
5
7
|
@use '../mdc-helpers/mdc-helpers';
|
|
6
|
-
@use '../../material/core/theming/theming';
|
|
7
|
-
@use '../../material/core/typography/typography';
|
|
8
8
|
@use './button-theme-private';
|
|
9
9
|
|
|
10
10
|
@mixin color($config-or-theme) {
|
|
11
|
-
$config:
|
|
11
|
+
$config: mat.get-color-config($config-or-theme);
|
|
12
12
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
13
13
|
$is-dark: map.get($config, is-dark);
|
|
14
14
|
$on-surface: mdc-theme-color.prop-value(on-surface);
|
|
@@ -40,27 +40,28 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
@mixin typography($config-or-theme) {
|
|
43
|
-
$config:
|
|
44
|
-
|
|
43
|
+
$config: mat.private-typography-to-2018-config(
|
|
44
|
+
mat.get-typography-config($config-or-theme));
|
|
45
45
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
46
46
|
@include mdc-icon-button.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
@mixin density($config-or-theme) {
|
|
51
|
-
$density-scale:
|
|
52
|
-
|
|
51
|
+
$density-scale: mat.get-density-config($config-or-theme);
|
|
52
|
+
// Use `mat-mdc-button-base` to increase the specificity over the button's structural styles.
|
|
53
|
+
.mat-mdc-icon-button.mat-mdc-button-base {
|
|
53
54
|
@include mdc-icon-button.density($density-scale, $query: mdc-helpers.$mat-base-styles-query);
|
|
54
55
|
@include button-theme-private.touch-target-density($density-scale);
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
@mixin theme($theme-or-color-config) {
|
|
59
|
-
$theme:
|
|
60
|
-
@include
|
|
61
|
-
$color:
|
|
62
|
-
$density:
|
|
63
|
-
$typography:
|
|
60
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
61
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-icon-button') {
|
|
62
|
+
$color: mat.get-color-config($theme);
|
|
63
|
+
$density: mat.get-density-config($theme);
|
|
64
|
+
$typography: mat.get-typography-config($theme);
|
|
64
65
|
|
|
65
66
|
@if $color != null {
|
|
66
67
|
@include color($color);
|
|
@@ -43,7 +43,7 @@ export declare class MatButtonBase extends _MatButtonMixin implements CanDisable
|
|
|
43
43
|
private _hasHostAttributes;
|
|
44
44
|
_isRippleDisabled(): boolean;
|
|
45
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonBase, never>;
|
|
46
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonBase, never, never, {}, {}, never>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatButtonBase, never, never, {}, {}, never, never, false>;
|
|
47
47
|
}
|
|
48
48
|
/** Shared inputs by buttons using the `<a>` tag */
|
|
49
49
|
export declare const MAT_ANCHOR_INPUTS: string[];
|
|
@@ -66,5 +66,5 @@ export declare class MatAnchorBase extends MatButtonBase implements OnInit, OnDe
|
|
|
66
66
|
ngOnDestroy(): void;
|
|
67
67
|
_haltDisabledEvents: (event: Event) => void;
|
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatAnchorBase, never>;
|
|
69
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAnchorBase, never, never, {}, {}, never>;
|
|
69
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatAnchorBase, never, never, {}, {}, never, never, false>;
|
|
70
70
|
}
|
package/mdc-button/button.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as i0 from "@angular/core";
|
|
|
21
21
|
export declare class MatButton extends MatButtonBase {
|
|
22
22
|
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string);
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatButton, [null, null, null, { optional: true; }]>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatButton, " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatButton, " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"], false>;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Material Design button component for anchor elements. Anchor elements are used to provide
|
|
@@ -36,5 +36,5 @@ export declare class MatButton extends MatButtonBase {
|
|
|
36
36
|
export declare class MatAnchor extends MatAnchorBase {
|
|
37
37
|
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string);
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatAnchor, [null, null, null, { optional: true; }]>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatAnchor, "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatAnchor, "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"], false>;
|
|
40
40
|
}
|
package/mdc-button/fab.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare class MatFabButton extends MatButtonBase {
|
|
|
35
35
|
private _extended;
|
|
36
36
|
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string, _options?: MatFabDefaultOptions | undefined);
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabButton, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabButton, "button[mat-fab]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "extended": "extended"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabButton, "button[mat-fab]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "extended": "extended"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"], false>;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Material Design mini floating action button (FAB) component. These buttons represent the primary
|
|
@@ -47,7 +47,7 @@ export declare class MatMiniFabButton extends MatButtonBase {
|
|
|
47
47
|
_isFab: boolean;
|
|
48
48
|
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string, _options?: MatFabDefaultOptions | undefined);
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabButton, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabButton, "button[mat-mini-fab]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabButton, "button[mat-mini-fab]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"], false>;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Material Design floating action button (FAB) component for anchor elements. Anchor elements
|
|
@@ -64,7 +64,7 @@ export declare class MatFabAnchor extends MatAnchor {
|
|
|
64
64
|
private _extended;
|
|
65
65
|
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string, _options?: MatFabDefaultOptions | undefined);
|
|
66
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatFabAnchor, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabAnchor, "a[mat-fab]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; "extended": "extended"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatFabAnchor, "a[mat-fab]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; "extended": "extended"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"], false>;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* Material Design mini floating action button (FAB) component for anchor elements. Anchor elements
|
|
@@ -76,5 +76,5 @@ export declare class MatMiniFabAnchor extends MatAnchor {
|
|
|
76
76
|
_isFab: boolean;
|
|
77
77
|
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string, _options?: MatFabDefaultOptions | undefined);
|
|
78
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMiniFabAnchor, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabAnchor, "a[mat-mini-fab]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
79
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatMiniFabAnchor, "a[mat-mini-fab]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"], false>;
|
|
80
80
|
}
|
|
@@ -18,7 +18,7 @@ export declare class MatIconButton extends MatButtonBase {
|
|
|
18
18
|
_isIconButton: boolean;
|
|
19
19
|
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string);
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatIconButton, [null, null, null, { optional: true; }]>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconButton, "button[mat-icon-button]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconButton, "button[mat-icon-button]", ["matButton"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"], false>;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Material Design icon button component for anchor elements. This button displays a single
|
|
@@ -29,5 +29,5 @@ export declare class MatIconAnchor extends MatAnchorBase {
|
|
|
29
29
|
_isIconButton: boolean;
|
|
30
30
|
constructor(elementRef: ElementRef, platform: Platform, ngZone: NgZone, animationMode?: string);
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatIconAnchor, [null, null, null, { optional: true; }]>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconAnchor, "a[mat-icon-button]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"]>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatIconAnchor, "a[mat-icon-button]", ["matButton", "matAnchor"], { "disabled": "disabled"; "disableRipple": "disableRipple"; "color": "color"; "tabIndex": "tabIndex"; }, {}, never, [".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd])", "*", ".material-icons[iconPositionEnd], mat-icon[iconPositionEnd]"], false>;
|
|
33
33
|
}
|
|
@@ -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/card.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare class MatCard {
|
|
|
25
25
|
appearance: MatCardAppearance;
|
|
26
26
|
constructor(config?: MatCardConfig);
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCard, [{ optional: true; }]>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatCard, "mat-card", ["matCard"], { "appearance": "appearance"; }, {}, never, ["*"]>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCard, "mat-card", ["matCard"], { "appearance": "appearance"; }, {}, never, ["*"], false>;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Title of a card, intended for use within `<mat-card>`. This component is an optional
|
|
@@ -35,7 +35,7 @@ export declare class MatCard {
|
|
|
35
35
|
*/
|
|
36
36
|
export declare class MatCardTitle {
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardTitle, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardTitle, "mat-card-title, [mat-card-title], [matCardTitle]", never, {}, {}, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardTitle, "mat-card-title, [mat-card-title], [matCardTitle]", never, {}, {}, never, never, false>;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Container intended to be used within the `<mat-card>` component. Can contain exactly one
|
|
@@ -44,7 +44,7 @@ export declare class MatCardTitle {
|
|
|
44
44
|
*/
|
|
45
45
|
export declare class MatCardTitleGroup {
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardTitleGroup, never>;
|
|
47
|
-
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]", "*"]>;
|
|
47
|
+
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>;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Content of a card, intended for use within `<mat-card>`. This component is an optional
|
|
@@ -55,7 +55,7 @@ export declare class MatCardTitleGroup {
|
|
|
55
55
|
*/
|
|
56
56
|
export declare class MatCardContent {
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardContent, never>;
|
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardContent, "mat-card-content", never, {}, {}, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardContent, "mat-card-content", never, {}, {}, never, never, false>;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* Sub-title of a card, intended for use within `<mat-card>` beneath a `<mat-card-title>`. This
|
|
@@ -66,7 +66,7 @@ export declare class MatCardContent {
|
|
|
66
66
|
*/
|
|
67
67
|
export declare class MatCardSubtitle {
|
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardSubtitle, never>;
|
|
69
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSubtitle, "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]", never, {}, {}, never>;
|
|
69
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSubtitle, "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]", never, {}, {}, never, never, false>;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* Bottom area of a card that contains action buttons, intended for use within `<mat-card>`.
|
|
@@ -79,7 +79,7 @@ export declare class MatCardActions {
|
|
|
79
79
|
/** Position of the actions inside the card. */
|
|
80
80
|
align: 'start' | 'end';
|
|
81
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardActions, never>;
|
|
82
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardActions, "mat-card-actions", ["matCardActions"], { "align": "align"; }, {}, never>;
|
|
82
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardActions, "mat-card-actions", ["matCardActions"], { "align": "align"; }, {}, never, never, false>;
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* Header region of a card, intended for use within `<mat-card>`. This header captures
|
|
@@ -91,7 +91,7 @@ export declare class MatCardActions {
|
|
|
91
91
|
*/
|
|
92
92
|
export declare class MatCardHeader {
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardHeader, never>;
|
|
94
|
-
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]", "*"]>;
|
|
94
|
+
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>;
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* Footer area a card, intended for use within `<mat-card>`.
|
|
@@ -102,7 +102,7 @@ export declare class MatCardHeader {
|
|
|
102
102
|
*/
|
|
103
103
|
export declare class MatCardFooter {
|
|
104
104
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardFooter, never>;
|
|
105
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardFooter, "mat-card-footer", never, {}, {}, never>;
|
|
105
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardFooter, "mat-card-footer", never, {}, {}, never, never, false>;
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
108
|
* Primary image content for a card, intended for use within `<mat-card>`. Can be applied to
|
|
@@ -115,27 +115,27 @@ export declare class MatCardFooter {
|
|
|
115
115
|
*/
|
|
116
116
|
export declare class MatCardImage {
|
|
117
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardImage, never>;
|
|
118
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardImage, "[mat-card-image], [matCardImage]", never, {}, {}, never>;
|
|
118
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardImage, "[mat-card-image], [matCardImage]", never, {}, {}, never, never, false>;
|
|
119
119
|
}
|
|
120
120
|
/** Same as `MatCardImage`, but small. */
|
|
121
121
|
export declare class MatCardSmImage {
|
|
122
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardSmImage, never>;
|
|
123
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSmImage, "[mat-card-sm-image], [matCardImageSmall]", never, {}, {}, never>;
|
|
123
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardSmImage, "[mat-card-sm-image], [matCardImageSmall]", never, {}, {}, never, never, false>;
|
|
124
124
|
}
|
|
125
125
|
/** Same as `MatCardImage`, but medium. */
|
|
126
126
|
export declare class MatCardMdImage {
|
|
127
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardMdImage, never>;
|
|
128
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardMdImage, "[mat-card-md-image], [matCardImageMedium]", never, {}, {}, never>;
|
|
128
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardMdImage, "[mat-card-md-image], [matCardImageMedium]", never, {}, {}, never, never, false>;
|
|
129
129
|
}
|
|
130
130
|
/** Same as `MatCardImage`, but large. */
|
|
131
131
|
export declare class MatCardLgImage {
|
|
132
132
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardLgImage, never>;
|
|
133
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardLgImage, "[mat-card-lg-image], [matCardImageLarge]", never, {}, {}, never>;
|
|
133
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardLgImage, "[mat-card-lg-image], [matCardImageLarge]", never, {}, {}, never, never, false>;
|
|
134
134
|
}
|
|
135
135
|
/** Same as `MatCardImage`, but extra-large. */
|
|
136
136
|
export declare class MatCardXlImage {
|
|
137
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardXlImage, never>;
|
|
138
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardXlImage, "[mat-card-xl-image], [matCardImageXLarge]", never, {}, {}, never>;
|
|
138
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardXlImage, "[mat-card-xl-image], [matCardImageXLarge]", never, {}, {}, never, never, false>;
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
141
|
* Avatar image content for a card, intended for use within `<mat-card>`. Can be applied to
|
|
@@ -148,5 +148,5 @@ export declare class MatCardXlImage {
|
|
|
148
148
|
*/
|
|
149
149
|
export declare class MatCardAvatar {
|
|
150
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCardAvatar, never>;
|
|
151
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardAvatar, "[mat-card-avatar], [matCardAvatar]", never, {}, {}, never>;
|
|
151
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatCardAvatar, "[mat-card-avatar], [matCardAvatar]", never, {}, {}, never, never, false>;
|
|
152
152
|
}
|
|
@@ -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
|
),
|
|
@@ -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);
|
|
@@ -150,6 +150,6 @@ export declare class MatCheckbox extends _MatCheckboxBase implements AfterViewIn
|
|
|
150
150
|
*/
|
|
151
151
|
private _syncIndeterminate;
|
|
152
152
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckbox, [null, null, { attribute: "tabindex"; }, { optional: true; }, { optional: true; }]>;
|
|
153
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatCheckbox, "mat-checkbox", ["matCheckbox"], { "color": "color"; "disabled": "disabled"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaDescribedby": "aria-describedby"; "labelPosition": "labelPosition"; "name": "name"; "tabIndex": "tabIndex"; "value": "value"; "id": "id"; "checked": "checked"; "indeterminate": "indeterminate"; "required": "required"; "disableRipple": "disableRipple"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*"]>;
|
|
153
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatCheckbox, "mat-checkbox", ["matCheckbox"], { "color": "color"; "disabled": "disabled"; "ariaLabel": "aria-label"; "ariaLabelledby": "aria-labelledby"; "ariaDescribedby": "aria-describedby"; "labelPosition": "labelPosition"; "name": "name"; "tabIndex": "tabIndex"; "value": "value"; "id": "id"; "checked": "checked"; "indeterminate": "indeterminate"; "required": "required"; "disableRipple": "disableRipple"; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, ["*"], false>;
|
|
154
154
|
}
|
|
155
155
|
export {};
|