@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,15 +1,12 @@
|
|
|
1
1
|
// TODO(mmalerba): this file should be split into separate cohesive partials for things like
|
|
2
|
-
// "theming", "typography", "core".
|
|
3
|
-
// gulp-based release build process. We can update this when we switch to bazel.
|
|
2
|
+
// "theming", "typography", "core".
|
|
4
3
|
|
|
4
|
+
@use '@angular/material' as mat;
|
|
5
5
|
@use '@material/feature-targeting' as mdc-feature-targeting;
|
|
6
6
|
@use '@material/typography' as mdc-typography;
|
|
7
7
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
8
8
|
@use '@material/theme/css' as mdc-theme-css;
|
|
9
9
|
@use 'sass:map';
|
|
10
|
-
@use '../../material/core/theming/theming';
|
|
11
|
-
@use '../../material/core/typography/typography';
|
|
12
|
-
@use '../../material/core/typography/typography-utils';
|
|
13
10
|
|
|
14
11
|
// A set of standard queries to use with MDC's queryable mixins.
|
|
15
12
|
$mat-base-styles-query: mdc-feature-targeting.without(mdc-feature-targeting.any(color, typography));
|
|
@@ -49,11 +46,11 @@ $mat-typography-mdc-level-mappings: (
|
|
|
49
46
|
)),
|
|
50
47
|
if($mat-level,
|
|
51
48
|
(
|
|
52
|
-
font-size:
|
|
53
|
-
line-height:
|
|
54
|
-
font-weight:
|
|
55
|
-
letter-spacing:
|
|
56
|
-
font-family:
|
|
49
|
+
font-size: mat.font-size($mat-config, $mat-level),
|
|
50
|
+
line-height: mat.line-height($mat-config, $mat-level),
|
|
51
|
+
font-weight: mat.font-weight($mat-config, $mat-level),
|
|
52
|
+
letter-spacing: mat.letter-spacing($mat-config, $mat-level),
|
|
53
|
+
font-family: mat.font-family($mat-config, $mat-level),
|
|
57
54
|
// Angular Material doesn't use text-transform, so disable it.
|
|
58
55
|
text-transform: none,
|
|
59
56
|
),
|
|
@@ -87,7 +84,7 @@ $mat-typography-mdc-level-mappings: (
|
|
|
87
84
|
@function mat-typography-config-level-from-mdc($mdc-level) {
|
|
88
85
|
$mdc-level-config: map.get(mdc-typography.$styles, $mdc-level);
|
|
89
86
|
|
|
90
|
-
@return
|
|
87
|
+
@return mat.define-typography-level(
|
|
91
88
|
map.get($mdc-level-config, font-size),
|
|
92
89
|
map.get($mdc-level-config, line-height),
|
|
93
90
|
map.get($mdc-level-config, font-weight),
|
|
@@ -98,9 +95,9 @@ $mat-typography-mdc-level-mappings: (
|
|
|
98
95
|
// Configures MDC's global variables to reflect the given theme, applies the given styles,
|
|
99
96
|
// then resets the global variables to prevent unintended side effects.
|
|
100
97
|
@mixin mat-using-mdc-theme($config) {
|
|
101
|
-
$primary:
|
|
102
|
-
$accent:
|
|
103
|
-
$warn:
|
|
98
|
+
$primary: mat.get-color-from-palette(map.get($config, primary));
|
|
99
|
+
$accent: mat.get-color-from-palette(map.get($config, accent));
|
|
100
|
+
$warn: mat.get-color-from-palette(map.get($config, warn));
|
|
104
101
|
$background-palette: map.get($config, background);
|
|
105
102
|
|
|
106
103
|
// Save the original values.
|
|
@@ -122,8 +119,8 @@ $mat-typography-mdc-level-mappings: (
|
|
|
122
119
|
mdc-theme-color.$secondary: $accent;
|
|
123
120
|
mdc-theme-color.$on-secondary:
|
|
124
121
|
if(mdc-theme-color.contrast-tone(mdc-theme-color.$secondary) == 'dark', #000, #fff);
|
|
125
|
-
mdc-theme-color.$background:
|
|
126
|
-
mdc-theme-color.$surface:
|
|
122
|
+
mdc-theme-color.$background: mat.get-color-from-palette($background-palette, background);
|
|
123
|
+
mdc-theme-color.$surface: mat.get-color-from-palette($background-palette, card);
|
|
127
124
|
mdc-theme-color.$on-surface:
|
|
128
125
|
if(mdc-theme-color.contrast-tone(mdc-theme-color.$surface) == 'dark', #000, #fff);
|
|
129
126
|
mdc-theme-color.$error: $warn;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
|
|
1
3
|
@use '../mdc-helpers/mdc-helpers';
|
|
2
|
-
@use '../../material/core/typography/typography';
|
|
3
|
-
@use '../../material/core/theming/theming';
|
|
4
4
|
|
|
5
5
|
@mixin color($config-or-theme) {
|
|
6
|
-
$config:
|
|
6
|
+
$config: mat.get-color-config($config-or-theme);
|
|
7
7
|
@include mdc-helpers.mat-using-mdc-theme($config) {}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@mixin typography($config-or-theme) {
|
|
11
|
-
$config:
|
|
12
|
-
|
|
11
|
+
$config: mat.private-typography-to-2018-config(
|
|
12
|
+
mat.get-typography-config($config-or-theme));
|
|
13
13
|
@include mdc-helpers.mat-using-mdc-typography($config) {}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
@mixin density($config-or-theme) {}
|
|
17
17
|
|
|
18
18
|
@mixin theme($theme-or-color-config) {
|
|
19
|
-
$theme:
|
|
20
|
-
@include
|
|
21
|
-
$color:
|
|
22
|
-
$density:
|
|
23
|
-
$typography:
|
|
19
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
20
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-input') {
|
|
21
|
+
$color: mat.get-color-config($theme);
|
|
22
|
+
$density: mat.get-density-config($theme);
|
|
23
|
+
$typography: mat.get-typography-config($theme);
|
|
24
24
|
|
|
25
25
|
@if $color != null {
|
|
26
26
|
@include color($color);
|
package/mdc-input/input.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import { MatInput as BaseMatInput } from '@angular/material/input';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class MatInput extends BaseMatInput {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatInput, never>;
|
|
5
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatInput, "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", ["matInput"], {}, {}, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatInput, "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", ["matInput"], {}, {}, never, never, false>;
|
|
6
6
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use '@material/ripple' as mdc-ripple;
|
|
2
3
|
@use 'sass:map';
|
|
3
|
-
@use '../../material/core/theming/theming';
|
|
4
4
|
|
|
5
5
|
// Mixin that provides colors for the various states of an interactive list-item. MDC
|
|
6
6
|
// has integrated styles for these states but relies on their complex ripples for it.
|
|
7
7
|
@mixin private-interactive-list-item-state-colors($config) {
|
|
8
8
|
$is-dark-theme: map.get($config, is-dark);
|
|
9
9
|
$active-base-color: if($is-dark-theme, white, black);
|
|
10
|
-
$selected-color:
|
|
10
|
+
$selected-color: mat.get-color-from-palette(map.get($config, primary));
|
|
11
11
|
|
|
12
12
|
.mat-mdc-list-item-interactive {
|
|
13
13
|
&::before {
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use '@angular/material' as mat;
|
|
2
3
|
@use '@material/list/evolution-mixins' as mdc-list;
|
|
4
|
+
|
|
3
5
|
@use './interactive-list-theme';
|
|
4
6
|
@use './list-option-theme';
|
|
5
7
|
@use '../mdc-helpers/mdc-helpers';
|
|
6
|
-
@use '../../material/core/typography/typography';
|
|
7
|
-
@use '../../material/core/theming/theming';
|
|
8
|
-
|
|
9
8
|
|
|
10
9
|
// TODO: implement mat-list[dense] once density system is in master
|
|
11
10
|
|
|
12
11
|
|
|
13
12
|
@mixin color($config-or-theme) {
|
|
14
|
-
$config:
|
|
15
|
-
$primary:
|
|
16
|
-
$accent:
|
|
17
|
-
$warn:
|
|
13
|
+
$config: mat.get-color-config($config-or-theme);
|
|
14
|
+
$primary: mat.get-color-from-palette(map.get($config, primary));
|
|
15
|
+
$accent: mat.get-color-from-palette(map.get($config, accent));
|
|
16
|
+
$warn: mat.get-color-from-palette(map.get($config, warn));
|
|
18
17
|
|
|
19
18
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
20
19
|
// MDC's state styles are tied in with their ripple. Since we don't use the MDC
|
|
@@ -35,7 +34,7 @@
|
|
|
35
34
|
}
|
|
36
35
|
|
|
37
36
|
@mixin density($config-or-theme) {
|
|
38
|
-
$density-scale:
|
|
37
|
+
$density-scale: mat.get-density-config($config-or-theme);
|
|
39
38
|
|
|
40
39
|
@include mdc-helpers.disable-fallback-declarations {
|
|
41
40
|
.mat-mdc-list-item {
|
|
@@ -49,20 +48,28 @@
|
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
@mixin typography($config-or-theme) {
|
|
52
|
-
$config:
|
|
53
|
-
|
|
51
|
+
$config: mat.private-typography-to-2018-config(
|
|
52
|
+
mat.get-typography-config($config-or-theme));
|
|
54
53
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
55
54
|
@include mdc-list.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
|
|
56
55
|
@include list-option-theme.private-list-option-typography-styles();
|
|
57
56
|
}
|
|
57
|
+
|
|
58
|
+
// According to the public spec this should be subtitle-1.
|
|
59
|
+
// However, body-1 and subtitle-1 are nearly identical in the public spec,
|
|
60
|
+
// and the Google-specific spec states that it should be body-1.
|
|
61
|
+
// For consistency, we use body-1 for both public and Google internal.
|
|
62
|
+
.mat-mdc-list-item .mdc-list-item__primary-text {
|
|
63
|
+
@include mat.typography-level($config, body-1);
|
|
64
|
+
}
|
|
58
65
|
}
|
|
59
66
|
|
|
60
67
|
@mixin theme($theme-or-color-config) {
|
|
61
|
-
$theme:
|
|
62
|
-
@include
|
|
63
|
-
$color:
|
|
64
|
-
$density:
|
|
65
|
-
$typography:
|
|
68
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
69
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-list') {
|
|
70
|
+
$color: mat.get-color-config($theme);
|
|
71
|
+
$density: mat.get-density-config($theme);
|
|
72
|
+
$typography: mat.get-typography-config($theme);
|
|
66
73
|
|
|
67
74
|
@if $color != null {
|
|
68
75
|
@include color($color);
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class MatActionList extends MatListBase {
|
|
4
4
|
_isNonInteractive: boolean;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatActionList, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatActionList, "mat-action-list", ["matActionList"], {}, {}, never, ["*"]>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatActionList, "mat-action-list", ["matActionList"], {}, {}, never, ["*"], false>;
|
|
7
7
|
}
|
|
@@ -35,7 +35,7 @@ export declare abstract class MatInteractiveListBase<T extends MatListItemBase>
|
|
|
35
35
|
_elementAtIndex(index: number): HTMLElement | undefined;
|
|
36
36
|
_indexForElement(element: Element | null): number;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatInteractiveListBase<any>, never>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatInteractiveListBase<any>, never, never, {}, {}, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatInteractiveListBase<any>, never, never, {}, {}, never, never, false>;
|
|
39
39
|
}
|
|
40
40
|
/** Gets an instance of `MDcListAdapter` for the given interactive list. */
|
|
41
41
|
export declare function getInteractiveListAdapter(list: MatInteractiveListBase<MatListItemBase>): MDCListAdapter;
|
package/mdc-list/list-base.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export declare abstract class MatListItemBase implements AfterViewInit, OnDestro
|
|
|
103
103
|
/** Checks whether the list item has unscoped text content. */
|
|
104
104
|
private _checkDomForUnscopedTextContent;
|
|
105
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemBase, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
106
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemBase, never, never, { "lines": "lines"; "disableRipple": "disableRipple"; "disabled": "disabled"; }, {}, ["_avatars", "_icons"]>;
|
|
106
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemBase, never, never, { "lines": "lines"; "disableRipple": "disableRipple"; "disabled": "disabled"; }, {}, ["_avatars", "_icons"], never, false>;
|
|
107
107
|
}
|
|
108
108
|
export declare abstract class MatListBase {
|
|
109
109
|
_isNonInteractive: boolean;
|
|
@@ -116,5 +116,5 @@ export declare abstract class MatListBase {
|
|
|
116
116
|
set disabled(value: BooleanInput);
|
|
117
117
|
private _disabled;
|
|
118
118
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListBase, never>;
|
|
119
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListBase, never, never, { "disableRipple": "disableRipple"; "disabled": "disabled"; }, {}, never>;
|
|
119
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListBase, never, never, { "disableRipple": "disableRipple"; "disabled": "disabled"; }, {}, never, never, false>;
|
|
120
120
|
}
|
|
@@ -18,7 +18,7 @@ export declare class MatListItemTitle {
|
|
|
18
18
|
_elementRef: ElementRef<HTMLElement>;
|
|
19
19
|
constructor(_elementRef: ElementRef<HTMLElement>);
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemTitle, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemTitle, "[matListItemTitle]", never, {}, {}, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemTitle, "[matListItemTitle]", never, {}, {}, never, never, false>;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Directive capturing a line in a list item. A list item usually consists of a
|
|
@@ -30,7 +30,7 @@ export declare class MatListItemLine {
|
|
|
30
30
|
_elementRef: ElementRef<HTMLElement>;
|
|
31
31
|
constructor(_elementRef: ElementRef<HTMLElement>);
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemLine, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemLine, "[matListItemLine]", never, {}, {}, never>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemLine, "[matListItemLine]", never, {}, {}, never, never, false>;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Directive matching an optional meta section for list items.
|
|
@@ -40,7 +40,7 @@ export declare class MatListItemLine {
|
|
|
40
40
|
*/
|
|
41
41
|
export declare class MatListItemMeta {
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemMeta, never>;
|
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemMeta, "[matListItemMeta]", never, {}, {}, never>;
|
|
43
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemMeta, "[matListItemMeta]", never, {}, {}, never, never, false>;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* @docs-private
|
|
@@ -55,7 +55,7 @@ export declare class _MatListItemGraphicBase {
|
|
|
55
55
|
constructor(_listOption: ListOption);
|
|
56
56
|
_isAlignedAtStart(): boolean;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<_MatListItemGraphicBase, [{ optional: true; }]>;
|
|
58
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatListItemGraphicBase, never, never, {}, {}, never>;
|
|
58
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_MatListItemGraphicBase, never, never, {}, {}, never, never, false>;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* Directive matching an optional avatar within a list item.
|
|
@@ -64,7 +64,7 @@ export declare class _MatListItemGraphicBase {
|
|
|
64
64
|
*/
|
|
65
65
|
export declare class MatListItemAvatar extends _MatListItemGraphicBase {
|
|
66
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemAvatar, never>;
|
|
67
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemAvatar, "[matListItemAvatar]", never, {}, {}, never>;
|
|
67
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemAvatar, "[matListItemAvatar]", never, {}, {}, never, never, false>;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* Directive matching an optional icon within a list item.
|
|
@@ -73,5 +73,5 @@ export declare class MatListItemAvatar extends _MatListItemGraphicBase {
|
|
|
73
73
|
*/
|
|
74
74
|
export declare class MatListItemIcon extends _MatListItemGraphicBase {
|
|
75
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItemIcon, never>;
|
|
76
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemIcon, "[matListItemIcon]", never, {}, {}, never>;
|
|
76
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListItemIcon, "[matListItemIcon]", never, {}, {}, never, never, false>;
|
|
77
77
|
}
|
|
@@ -94,5 +94,5 @@ export declare class MatListOption extends MatListItemBase implements ListOption
|
|
|
94
94
|
*/
|
|
95
95
|
_markForCheck(): void;
|
|
96
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListOption, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
97
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatListOption, "mat-list-option", ["matListOption"], { "checkboxPosition": "checkboxPosition"; "color": "color"; "value": "value"; "selected": "selected"; }, { "selectedChange": "selectedChange"; }, ["_lines", "_titles"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "mat-divider"]>;
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatListOption, "mat-list-option", ["matListOption"], { "checkboxPosition": "checkboxPosition"; "color": "color"; "value": "value"; "selected": "selected"; }, { "selectedChange": "selectedChange"; }, ["_lines", "_titles"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "mat-divider"], false>;
|
|
98
98
|
}
|
package/mdc-list/list.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { MatListItemLine, MatListItemMeta, MatListItemTitle } from './list-item-
|
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export declare class MatList extends MatListBase {
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatList, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatList, "mat-list", ["matList"], {}, {}, never, ["*"]>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatList, "mat-list", ["matList"], {}, {}, never, ["*"], false>;
|
|
17
17
|
}
|
|
18
18
|
export declare class MatListItem extends MatListItemBase {
|
|
19
19
|
_lines: QueryList<MatListItemLine>;
|
|
@@ -21,7 +21,11 @@ export declare class MatListItem extends MatListItemBase {
|
|
|
21
21
|
_meta: QueryList<MatListItemMeta>;
|
|
22
22
|
_unscopedContent: ElementRef<HTMLSpanElement>;
|
|
23
23
|
_itemText: ElementRef<HTMLElement>;
|
|
24
|
+
/** Indicates whether an item in a `<mat-nav-list>` is the currently active page. */
|
|
25
|
+
get activated(): boolean;
|
|
26
|
+
set activated(activated: boolean);
|
|
27
|
+
_activated: boolean;
|
|
24
28
|
constructor(element: ElementRef, ngZone: NgZone, listBase: MatListBase, platform: Platform, globalRippleOptions?: RippleGlobalOptions, animationMode?: string);
|
|
25
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListItem, [null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatListItem, "mat-list-item, a[mat-list-item], button[mat-list-item]", ["matListItem"], {}, {}, ["_lines", "_titles", "_meta"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"]>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatListItem, "mat-list-item, a[mat-list-item], button[mat-list-item]", ["matListItem"], { "activated": "activated"; }, {}, ["_lines", "_titles", "_meta"], ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"], false>;
|
|
27
31
|
}
|
package/mdc-list/nav-list.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class MatNavList extends MatListBase {
|
|
4
4
|
_isNonInteractive: boolean;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatNavList, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatNavList, "mat-nav-list", ["matNavList"], {}, {}, never, ["*"]>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatNavList, "mat-nav-list", ["matNavList"], {}, {}, never, ["*"], false>;
|
|
7
7
|
}
|
|
@@ -114,5 +114,5 @@ export declare class MatSelectionList extends MatInteractiveListBase<MatListOpti
|
|
|
114
114
|
/** The option components contained within this selection-list. */
|
|
115
115
|
get options(): QueryList<MatListOption>;
|
|
116
116
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSelectionList, never>;
|
|
117
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatSelectionList, "mat-selection-list", ["matSelectionList"], { "color": "color"; "compareWith": "compareWith"; "multiple": "multiple"; }, { "selectionChange": "selectionChange"; }, ["_items"], ["*"]>;
|
|
117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatSelectionList, "mat-selection-list", ["matSelectionList"], { "color": "color"; "compareWith": "compareWith"; "multiple": "multiple"; }, { "selectionChange": "selectionChange"; }, ["_items"], ["*"], false>;
|
|
118
118
|
}
|
package/mdc-list/subheader.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class MatListSubheaderCssMatStyler {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatListSubheaderCssMatStyler, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListSubheaderCssMatStyler, "[mat-subheader], [matSubheader]", never, {}, {}, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatListSubheaderCssMatStyler, "[mat-subheader], [matSubheader]", never, {}, {}, never, never, false>;
|
|
9
9
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
2
3
|
@use '@material/theme/theme' as mdc-theme;
|
|
3
4
|
@use '@material/menu-surface' as mdc-menu-surface;
|
|
4
5
|
@use '@material/list/evolution-mixins' as mdc-list;
|
|
5
6
|
@use '@material/typography' as mdc-typography;
|
|
6
7
|
@use '@material/ripple' as mdc-ripple;
|
|
8
|
+
|
|
7
9
|
@use '../mdc-helpers/mdc-helpers';
|
|
8
|
-
@use '../../material/core/typography/typography';
|
|
9
|
-
@use '../../material/core/theming/theming';
|
|
10
10
|
|
|
11
11
|
@mixin color($config-or-theme) {
|
|
12
|
-
$config:
|
|
12
|
+
$config: mat.get-color-config($config-or-theme);
|
|
13
13
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
14
14
|
@include mdc-menu-surface.core-styles(mdc-helpers.$mat-theme-styles-query);
|
|
15
15
|
@include mdc-list.without-ripple(mdc-helpers.$mat-theme-styles-query);
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
@mixin typography($config-or-theme) {
|
|
48
|
-
$config:
|
|
49
|
-
|
|
48
|
+
$config: mat.private-typography-to-2018-config(
|
|
49
|
+
mat.get-typography-config($config-or-theme));
|
|
50
50
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
51
51
|
@include mdc-menu-surface.core-styles(mdc-helpers.$mat-typography-styles-query);
|
|
52
52
|
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
@mixin density($config-or-theme) {}
|
|
69
69
|
|
|
70
70
|
@mixin theme($theme-or-color-config) {
|
|
71
|
-
$theme:
|
|
72
|
-
@include
|
|
73
|
-
$color:
|
|
74
|
-
$density:
|
|
75
|
-
$typography:
|
|
71
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
72
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-menu') {
|
|
73
|
+
$color: mat.get-color-config($theme);
|
|
74
|
+
$density: mat.get-density-config($theme);
|
|
75
|
+
$typography: mat.get-typography-config($theme);
|
|
76
76
|
|
|
77
77
|
@if $color != null {
|
|
78
78
|
@include color($color);
|
package/mdc-menu/directives.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
/** Directive applied to an element that should trigger a `mat-menu`. */
|
|
4
4
|
export declare class MatMenuTrigger extends _MatMenuTriggerBase {
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuTrigger, never>;
|
|
6
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatMenuTrigger, "[mat-menu-trigger-for], [matMenuTriggerFor]", ["matMenuTrigger"], {}, {}, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatMenuTrigger, "[mat-menu-trigger-for], [matMenuTriggerFor]", ["matMenuTrigger"], {}, {}, never, never, false>;
|
|
7
7
|
}
|
|
8
8
|
/** Menu content that will be rendered lazily once the menu is opened. */
|
|
9
9
|
export declare class MatMenuContent extends _MatMenuContentBase {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuContent, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatMenuContent, "ng-template[matMenuContent]", never, {}, {}, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatMenuContent, "ng-template[matMenuContent]", never, {}, {}, never, never, false>;
|
|
12
12
|
}
|
package/mdc-menu/menu-item.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class MatMenuItem extends BaseMatMenuItem {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuItem, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenuItem, "[mat-menu-item]", ["matMenuItem"], { "disabled": "disabled"; "disableRipple": "disableRipple"; }, {}, never, ["mat-icon", "*"]>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenuItem, "[mat-menu-item]", ["matMenuItem"], { "disabled": "disabled"; "disableRipple": "disableRipple"; }, {}, never, ["mat-icon", "*"], false>;
|
|
9
9
|
}
|
package/mdc-menu/menu.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER: Provider;
|
|
|
16
16
|
export declare class MatMenu extends _MatMenuBase {
|
|
17
17
|
protected _elevationPrefix: string;
|
|
18
18
|
protected _baseElevation: number;
|
|
19
|
-
constructor(
|
|
19
|
+
constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone, defaultOptions: MatMenuDefaultOptions);
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenu, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenu, "mat-menu", ["matMenu"], {}, {}, never, ["*"]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenu, "mat-menu", ["matMenu"], {}, {}, never, ["*"], false>;
|
|
22
22
|
}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
2
|
+
@use '@material/density' as mdc-density;
|
|
1
3
|
@use '@material/typography' as mdc-typography;
|
|
2
4
|
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
@use '../../material/core/density/private/compatibility';
|
|
5
|
-
@use '../../material/core/typography/typography';
|
|
5
|
+
|
|
6
6
|
@use '../mdc-helpers/mdc-helpers';
|
|
7
7
|
@use './paginator-variables';
|
|
8
|
-
@use '../../material/core/typography/typography-utils';
|
|
9
8
|
|
|
10
9
|
@mixin color($config-or-theme) {
|
|
11
|
-
$config:
|
|
10
|
+
$config: mat.get-color-config($config-or-theme);
|
|
12
11
|
$background: map.get($config, background);
|
|
13
12
|
$foreground: map.get($config, foreground);
|
|
14
|
-
$icon-color: rgba(
|
|
15
|
-
$disabled-color: rgba(
|
|
13
|
+
$icon-color: rgba(mat.get-color-from-palette($foreground, base), 0.54);
|
|
14
|
+
$disabled-color: rgba(mat.get-color-from-palette($foreground, base), 0.12);
|
|
16
15
|
|
|
17
16
|
.mat-mdc-paginator {
|
|
18
|
-
background:
|
|
19
|
-
color: rgba(
|
|
17
|
+
background: mat.get-color-from-palette($background, card);
|
|
18
|
+
color: rgba(mat.get-color-from-palette($foreground, base), 0.87);
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
.mat-mdc-paginator-icon {
|
|
@@ -49,8 +48,8 @@
|
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
@mixin typography($config-or-theme) {
|
|
52
|
-
$config:
|
|
53
|
-
|
|
51
|
+
$config: mat.private-typography-to-2018-config(
|
|
52
|
+
mat.get-typography-config($config-or-theme));
|
|
54
53
|
|
|
55
54
|
@include mdc-helpers.mat-using-mdc-typography($config) {
|
|
56
55
|
.mat-mdc-paginator {
|
|
@@ -58,29 +57,27 @@
|
|
|
58
57
|
}
|
|
59
58
|
|
|
60
59
|
.mat-mdc-paginator .mat-mdc-select-value {
|
|
61
|
-
font-size:
|
|
60
|
+
font-size: mat.font-size($config, caption);
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
@mixin density($config-or-theme) {
|
|
67
|
-
$density-scale:
|
|
68
|
-
$height:
|
|
66
|
+
$density-scale: mat.get-density-config($config-or-theme);
|
|
67
|
+
$height: mdc-density.prop-value(
|
|
69
68
|
paginator-variables.$density-config, $density-scale, height);
|
|
70
69
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
min-height: $height;
|
|
74
|
-
}
|
|
70
|
+
.mat-mdc-paginator-container {
|
|
71
|
+
min-height: $height;
|
|
75
72
|
}
|
|
76
73
|
}
|
|
77
74
|
|
|
78
75
|
@mixin theme($theme-or-color-config) {
|
|
79
|
-
$theme:
|
|
80
|
-
@include
|
|
81
|
-
$color:
|
|
82
|
-
$density:
|
|
83
|
-
$typography:
|
|
76
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
77
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-paginator') {
|
|
78
|
+
$color: mat.get-color-config($theme);
|
|
79
|
+
$density: mat.get-density-config($theme);
|
|
80
|
+
$typography: mat.get-typography-config($theme);
|
|
84
81
|
|
|
85
82
|
@if $color != null {
|
|
86
83
|
@include color($color);
|
|
@@ -36,5 +36,5 @@ export declare class MatPaginator extends _MatPaginatorBase<MatPaginatorDefaultO
|
|
|
36
36
|
readonly _pageSizeLabelId: string;
|
|
37
37
|
constructor(intl: MatPaginatorIntl, changeDetectorRef: ChangeDetectorRef, defaults?: MatPaginatorDefaultOptions);
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatPaginator, [null, null, { optional: true; }]>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatPaginator, "mat-paginator", ["matPaginator"], { "disabled": "disabled"; }, {}, never, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatPaginator, "mat-paginator", ["matPaginator"], { "disabled": "disabled"; }, {}, never, never, false>;
|
|
40
40
|
}
|
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export * from './module';
|
|
9
9
|
export * from './paginator';
|
|
10
|
-
export { MatPaginatorIntl, MAT_PAGINATOR_INTL_PROVIDER_FACTORY, MAT_PAGINATOR_INTL_PROVIDER, PageEvent, } from '@angular/material/paginator';
|
|
10
|
+
export { MatPaginatorIntl, MAT_PAGINATOR_INTL_PROVIDER_FACTORY, MAT_PAGINATOR_INTL_PROVIDER, PageEvent, MatPaginatorSelectConfig, } from '@angular/material/paginator';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
2
3
|
@use '@material/linear-progress' as mdc-linear-progress;
|
|
3
4
|
@use 'sass:color';
|
|
5
|
+
|
|
4
6
|
@use '../mdc-helpers/mdc-helpers';
|
|
5
|
-
@use '../../material/core/theming/theming';
|
|
6
7
|
|
|
7
8
|
@mixin _palette-styles($color) {
|
|
8
9
|
// TODO(crisbeto): the buffer color should come from somewhere in MDC, however at the time of
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
@mixin color($config-or-theme) {
|
|
19
|
-
$config:
|
|
20
|
+
$config: mat.get-color-config($config-or-theme);
|
|
20
21
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
21
22
|
.mat-mdc-progress-bar {
|
|
22
23
|
@include _palette-styles(primary);
|
|
@@ -37,11 +38,11 @@
|
|
|
37
38
|
@mixin density($config-or-theme) {}
|
|
38
39
|
|
|
39
40
|
@mixin theme($theme-or-color-config) {
|
|
40
|
-
$theme:
|
|
41
|
-
@include
|
|
42
|
-
$color:
|
|
43
|
-
$density:
|
|
44
|
-
$typography:
|
|
41
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
42
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-progress-bar') {
|
|
43
|
+
$color: mat.get-color-config($theme);
|
|
44
|
+
$density: mat.get-density-config($theme);
|
|
45
|
+
$typography: mat.get-typography-config($theme);
|
|
45
46
|
|
|
46
47
|
@if $color != null {
|
|
47
48
|
@include color($color);
|
|
@@ -62,6 +62,6 @@ export declare class MatProgressBar extends _MatProgressBarBase implements After
|
|
|
62
62
|
/** Syncs the state of the progress bar with the MDC foundation. */
|
|
63
63
|
private _syncFoundation;
|
|
64
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatProgressBar, [null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatProgressBar, "mat-progress-bar", ["matProgressBar"], { "color": "color"; "value": "value"; "bufferValue": "bufferValue"; "mode": "mode"; }, { "animationEnd": "animationEnd"; }, never, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatProgressBar, "mat-progress-bar", ["matProgressBar"], { "color": "color"; "value": "value"; "bufferValue": "bufferValue"; "mode": "mode"; }, { "animationEnd": "animationEnd"; }, never, never, false>;
|
|
66
66
|
}
|
|
67
67
|
export {};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
@use '@angular/material' as mat;
|
|
1
2
|
@use '@material/circular-progress' as mdc-circular-progress;
|
|
3
|
+
|
|
2
4
|
@use '../mdc-helpers/mdc-helpers';
|
|
3
|
-
@use '../../material/core/theming/theming';
|
|
4
5
|
|
|
5
6
|
@mixin _palette-styles($color) {
|
|
6
7
|
@include mdc-circular-progress.color($color, $query: mdc-helpers.$mat-theme-styles-query);
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
@mixin color($config-or-theme) {
|
|
10
|
-
$config:
|
|
11
|
+
$config: mat.get-color-config($config-or-theme);
|
|
11
12
|
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
12
13
|
.mat-mdc-progress-spinner {
|
|
13
14
|
@include _palette-styles(primary);
|
|
@@ -28,11 +29,11 @@
|
|
|
28
29
|
@mixin density($config-or-theme) {}
|
|
29
30
|
|
|
30
31
|
@mixin theme($theme-or-color-config) {
|
|
31
|
-
$theme:
|
|
32
|
-
@include
|
|
33
|
-
$color:
|
|
34
|
-
$density:
|
|
35
|
-
$typography:
|
|
32
|
+
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
33
|
+
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-progress-spinner') {
|
|
34
|
+
$color: mat.get-color-config($theme);
|
|
35
|
+
$density: mat.get-density-config($theme);
|
|
36
|
+
$typography: mat.get-typography-config($theme);
|
|
36
37
|
|
|
37
38
|
@if $color != null {
|
|
38
39
|
@include color($color);
|
|
@@ -65,7 +65,7 @@ export declare class MatProgressSpinner extends _MatProgressSpinnerBase implemen
|
|
|
65
65
|
/** Syncs the state of the progress spinner with the MDC foundation. */
|
|
66
66
|
private _syncFoundation;
|
|
67
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatProgressSpinner, [null, { optional: true; }, null]>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatProgressSpinner, "mat-progress-spinner, mat-spinner", ["matProgressSpinner"], { "color": "color"; "mode": "mode"; "value": "value"; "diameter": "diameter"; "strokeWidth": "strokeWidth"; }, {}, never, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatProgressSpinner, "mat-progress-spinner, mat-spinner", ["matProgressSpinner"], { "color": "color"; "mode": "mode"; "value": "value"; "diameter": "diameter"; "strokeWidth": "strokeWidth"; }, {}, never, never, false>;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* `<mat-spinner>` component.
|