@angular/material 18.1.0 → 18.1.2
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/button/_button-base.scss +0 -6
- package/button/_icon-button-theme.scss +18 -9
- package/core/_core.scss +15 -18
- package/core/m2/_typography.scss +129 -2
- package/core/style/_elevation.scss +116 -27
- package/core/theming/_color-api-backwards-compatibility.scss +2 -0
- package/core/tokens/_m3-tokens.scss +13 -13
- package/core/tokens/_token-utils.scss +98 -25
- package/core/tokens/m2/mat/_fab-small.scss +1 -2
- package/core/tokens/m2/mat/_fab.scss +1 -2
- package/core/tokens/m2/mat/_filled-button.scss +1 -2
- package/core/tokens/m2/mat/_form-field.scss +2 -5
- package/core/tokens/m2/mat/_optgroup.scss +0 -9
- package/core/tokens/m2/mat/_option.scss +0 -9
- package/core/tokens/m2/mat/_paginator.scss +1 -2
- package/core/tokens/m2/mat/_protected-button.scss +1 -2
- package/core/tokens/m2/mdc/_checkbox.scss +1 -2
- package/core/tokens/m2/mdc/_circular-progress.scss +2 -2
- package/core/tokens/m2/mdc/_filled-button.scss +1 -2
- package/core/tokens/m2/mdc/_protected-button.scss +1 -2
- package/core/tokens/m2/mdc/_slider.scss +3 -6
- package/core/tokens/m2/mdc/_switch.scss +12 -8
- package/core/tokens/m3/definitions/_index.scss +94 -0
- package/core/tokens/m3/definitions/_md-comp-checkbox.scss +120 -0
- package/core/tokens/m3/definitions/_md-comp-circular-progress-indicator.scss +27 -0
- package/core/tokens/m3/definitions/_md-comp-data-table.scss +90 -0
- package/core/tokens/m3/definitions/_md-comp-dialog.scss +123 -0
- package/core/tokens/m3/definitions/_md-comp-elevated-button.scss +87 -0
- package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +53 -0
- package/core/tokens/m3/definitions/_md-comp-extended-fab-primary.scss +90 -0
- package/core/tokens/m3/definitions/_md-comp-extended-fab-secondary.scss +91 -0
- package/core/tokens/m3/definitions/_md-comp-extended-fab-tertiary.scss +91 -0
- package/core/tokens/m3/definitions/_md-comp-fab-primary-small.scss +59 -0
- package/core/tokens/m3/definitions/_md-comp-fab-primary.scss +59 -0
- package/core/tokens/m3/definitions/_md-comp-fab-secondary-small.scss +60 -0
- package/core/tokens/m3/definitions/_md-comp-fab-secondary.scss +60 -0
- package/core/tokens/m3/definitions/_md-comp-fab-tertiary-small.scss +60 -0
- package/core/tokens/m3/definitions/_md-comp-fab-tertiary.scss +60 -0
- package/core/tokens/m3/definitions/_md-comp-filled-button.scss +85 -0
- package/core/tokens/m3/definitions/_md-comp-filled-card.scss +52 -0
- package/core/tokens/m3/definitions/_md-comp-filled-icon-button.scss +73 -0
- package/core/tokens/m3/definitions/_md-comp-filled-text-field.scss +189 -0
- package/core/tokens/m3/definitions/_md-comp-icon-button.scss +64 -0
- package/core/tokens/m3/definitions/_md-comp-linear-progress-indicator.scss +29 -0
- package/core/tokens/m3/definitions/_md-comp-list.scss +252 -0
- package/core/tokens/m3/definitions/_md-comp-outlined-button.scss +80 -0
- package/core/tokens/m3/definitions/_md-comp-outlined-card.scss +59 -0
- package/core/tokens/m3/definitions/_md-comp-outlined-icon-button.scss +73 -0
- package/core/tokens/m3/definitions/_md-comp-outlined-text-field.scss +171 -0
- package/core/tokens/m3/definitions/_md-comp-plain-tooltip.scss +51 -0
- package/core/tokens/m3/definitions/_md-comp-radio-button.scss +62 -0
- package/core/tokens/m3/definitions/_md-comp-secondary-navigation-tab.scss +80 -0
- package/core/tokens/m3/definitions/_md-comp-slider.scss +110 -0
- package/core/tokens/m3/definitions/_md-comp-snackbar.scss +125 -0
- package/core/tokens/m3/definitions/_md-comp-switch.scss +130 -0
- package/core/tokens/m3/definitions/_md-comp-text-button.scss +73 -0
- package/core/tokens/m3/definitions/_md-ref-palette.scss +100 -0
- package/core/tokens/m3/definitions/_md-ref-typeface.scss +14 -0
- package/core/tokens/m3/definitions/_md-sys-color.scss +126 -0
- package/core/tokens/m3/definitions/_md-sys-elevation.scss +15 -0
- package/core/tokens/m3/definitions/_md-sys-motion.scss +46 -0
- package/core/tokens/m3/definitions/_md-sys-shape.scss +24 -0
- package/core/tokens/m3/definitions/_md-sys-state.scss +13 -0
- package/core/tokens/m3/definitions/_md-sys-typescale.scss +308 -0
- package/core/tokens/m3/definitions/unused/_md-comp-assist-chip.scss +105 -0
- package/core/tokens/m3/definitions/unused/_md-comp-badge.scss +54 -0
- package/core/tokens/m3/definitions/unused/_md-comp-banner.scss +71 -0
- package/core/tokens/m3/definitions/unused/_md-comp-bottom-app-bar.scss +29 -0
- package/core/tokens/m3/definitions/unused/_md-comp-carousel-item.scss +59 -0
- package/core/tokens/m3/definitions/unused/_md-comp-date-input-modal.scss +87 -0
- package/core/tokens/m3/definitions/unused/_md-comp-date-picker-docked.scss +248 -0
- package/core/tokens/m3/definitions/unused/_md-comp-date-picker-modal.scss +313 -0
- package/core/tokens/m3/definitions/unused/_md-comp-divider.scss +19 -0
- package/core/tokens/m3/definitions/unused/_md-comp-extended-fab-branded.scss +82 -0
- package/core/tokens/m3/definitions/unused/_md-comp-extended-fab-surface.scss +86 -0
- package/core/tokens/m3/definitions/unused/_md-comp-fab-branded-large.scss +54 -0
- package/core/tokens/m3/definitions/unused/_md-comp-fab-branded.scss +54 -0
- package/core/tokens/m3/definitions/unused/_md-comp-fab-primary-large.scss +59 -0
- package/core/tokens/m3/definitions/unused/_md-comp-fab-secondary-large.scss +60 -0
- package/core/tokens/m3/definitions/unused/_md-comp-fab-surface-large.scss +58 -0
- package/core/tokens/m3/definitions/unused/_md-comp-fab-surface-small.scss +58 -0
- package/core/tokens/m3/definitions/unused/_md-comp-fab-surface.scss +58 -0
- package/core/tokens/m3/definitions/unused/_md-comp-fab-tertiary-large.scss +60 -0
- package/core/tokens/m3/definitions/unused/_md-comp-filled-autocomplete.scss +269 -0
- package/core/tokens/m3/definitions/unused/_md-comp-filled-menu-button.scss +94 -0
- package/core/tokens/m3/definitions/unused/_md-comp-filled-select.scss +274 -0
- package/core/tokens/m3/definitions/unused/_md-comp-filled-tonal-button.scss +95 -0
- package/core/tokens/m3/definitions/unused/_md-comp-filled-tonal-icon-button.scss +80 -0
- package/core/tokens/m3/definitions/unused/_md-comp-filter-chip.scss +205 -0
- package/core/tokens/m3/definitions/unused/_md-comp-full-screen-dialog.scss +109 -0
- package/core/tokens/m3/definitions/unused/_md-comp-input-chip.scss +180 -0
- package/core/tokens/m3/definitions/unused/_md-comp-menu.scss +31 -0
- package/core/tokens/m3/definitions/unused/_md-comp-navigation-bar.scss +110 -0
- package/core/tokens/m3/definitions/unused/_md-comp-navigation-drawer.scss +162 -0
- package/core/tokens/m3/definitions/unused/_md-comp-navigation-rail.scss +127 -0
- package/core/tokens/m3/definitions/unused/_md-comp-outlined-autocomplete.scss +259 -0
- package/core/tokens/m3/definitions/unused/_md-comp-outlined-menu-button.scss +90 -0
- package/core/tokens/m3/definitions/unused/_md-comp-outlined-segmented-button.scss +108 -0
- package/core/tokens/m3/definitions/unused/_md-comp-outlined-select.scss +264 -0
- package/core/tokens/m3/definitions/unused/_md-comp-primary-navigation-tab.scss +117 -0
- package/core/tokens/m3/definitions/unused/_md-comp-rich-tooltip.scss +121 -0
- package/core/tokens/m3/definitions/unused/_md-comp-scrim.scss +19 -0
- package/core/tokens/m3/definitions/unused/_md-comp-search-bar.scss +97 -0
- package/core/tokens/m3/definitions/unused/_md-comp-search-view.scss +91 -0
- package/core/tokens/m3/definitions/unused/_md-comp-sheet-bottom.scss +39 -0
- package/core/tokens/m3/definitions/unused/_md-comp-sheet-floating.scss +28 -0
- package/core/tokens/m3/definitions/unused/_md-comp-sheet-side.scss +87 -0
- package/core/tokens/m3/definitions/unused/_md-comp-standard-menu-button.scss +94 -0
- package/core/tokens/m3/definitions/unused/_md-comp-suggestion-chip.scss +121 -0
- package/core/tokens/m3/definitions/unused/_md-comp-time-input.scss +222 -0
- package/core/tokens/m3/definitions/unused/_md-comp-time-picker.scss +268 -0
- package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-large.scss +59 -0
- package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-medium.scss +59 -0
- package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-small-centered.scss +62 -0
- package/core/tokens/m3/definitions/unused/_md-comp-top-app-bar-small.scss +60 -0
- package/core/tokens/m3/mat/_icon-button.scss +31 -2
- package/core/tokens/m3/mdc/_icon-button.scss +21 -2
- package/core/tokens/m3/mdc/_slider.scss +9 -2
- package/core/tokens/m3/mdc/_switch.scss +13 -2
- package/esm2022/autocomplete/animations.mjs +1 -2
- package/esm2022/autocomplete/autocomplete-origin.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.mjs +4 -4
- package/esm2022/autocomplete/autocomplete.mjs +4 -4
- package/esm2022/autocomplete/module.mjs +5 -5
- package/esm2022/badge/badge-module.mjs +5 -5
- package/esm2022/badge/badge.mjs +7 -7
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +4 -4
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +5 -5
- package/esm2022/bottom-sheet/bottom-sheet.mjs +4 -4
- package/esm2022/button/button-base.mjs +7 -7
- package/esm2022/button/button.mjs +7 -7
- package/esm2022/button/fab.mjs +17 -17
- package/esm2022/button/icon-button.mjs +7 -7
- package/esm2022/button/module.mjs +5 -5
- package/esm2022/button-toggle/button-toggle-module.mjs +5 -5
- package/esm2022/button-toggle/button-toggle.mjs +7 -7
- package/esm2022/card/card.mjs +43 -43
- package/esm2022/card/module.mjs +5 -5
- package/esm2022/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2022/checkbox/checkbox.mjs +4 -4
- package/esm2022/checkbox/module.mjs +9 -9
- package/esm2022/chips/chip-action.mjs +4 -4
- package/esm2022/chips/chip-edit-input.mjs +4 -4
- package/esm2022/chips/chip-grid.mjs +5 -5
- package/esm2022/chips/chip-icons.mjs +10 -10
- package/esm2022/chips/chip-input.mjs +4 -4
- package/esm2022/chips/chip-listbox.mjs +4 -4
- package/esm2022/chips/chip-option.mjs +4 -4
- package/esm2022/chips/chip-row.mjs +4 -4
- package/esm2022/chips/chip-set.mjs +4 -4
- package/esm2022/chips/chip.mjs +4 -4
- package/esm2022/chips/module.mjs +5 -5
- package/esm2022/core/common-behaviors/common-module.mjs +5 -5
- package/esm2022/core/datetime/index.mjs +9 -9
- package/esm2022/core/datetime/native-date-adapter.mjs +4 -4
- package/esm2022/core/error/error-options.mjs +7 -7
- package/esm2022/core/internal-form-field/internal-form-field.mjs +4 -4
- package/esm2022/core/line/line.mjs +8 -8
- package/esm2022/core/option/index.mjs +5 -5
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option.mjs +4 -4
- package/esm2022/core/private/ripple-loader.mjs +4 -4
- package/esm2022/core/ripple/index.mjs +5 -5
- package/esm2022/core/ripple/ripple.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +4 -4
- package/esm2022/datepicker/calendar.mjs +7 -7
- package/esm2022/datepicker/date-range-input-parts.mjs +10 -10
- package/esm2022/datepicker/date-range-input.mjs +4 -4
- package/esm2022/datepicker/date-range-picker.mjs +4 -4
- package/esm2022/datepicker/date-range-selection-strategy.mjs +4 -4
- package/esm2022/datepicker/date-selection-model.mjs +10 -10
- package/esm2022/datepicker/datepicker-actions.mjs +10 -10
- package/esm2022/datepicker/datepicker-base.mjs +7 -7
- package/esm2022/datepicker/datepicker-input-base.mjs +4 -4
- package/esm2022/datepicker/datepicker-input.mjs +4 -4
- package/esm2022/datepicker/datepicker-intl.mjs +4 -4
- package/esm2022/datepicker/datepicker-module.mjs +5 -5
- package/esm2022/datepicker/datepicker-toggle.mjs +7 -7
- package/esm2022/datepicker/datepicker.mjs +4 -4
- package/esm2022/datepicker/month-view.mjs +4 -4
- package/esm2022/datepicker/multi-year-view.mjs +4 -4
- package/esm2022/datepicker/year-view.mjs +4 -4
- package/esm2022/dialog/dialog-container.mjs +4 -7
- package/esm2022/dialog/dialog-content-directives.mjs +16 -16
- package/esm2022/dialog/dialog.mjs +4 -4
- package/esm2022/dialog/module.mjs +5 -5
- package/esm2022/divider/divider-module.mjs +5 -5
- package/esm2022/divider/divider.mjs +4 -4
- package/esm2022/expansion/accordion.mjs +4 -4
- package/esm2022/expansion/expansion-module.mjs +5 -5
- package/esm2022/expansion/expansion-panel-content.mjs +4 -4
- package/esm2022/expansion/expansion-panel-header.mjs +11 -11
- package/esm2022/expansion/expansion-panel.mjs +7 -7
- package/esm2022/form-field/directives/error.mjs +4 -4
- package/esm2022/form-field/directives/floating-label.mjs +4 -4
- package/esm2022/form-field/directives/hint.mjs +4 -4
- package/esm2022/form-field/directives/label.mjs +4 -4
- package/esm2022/form-field/directives/line-ripple.mjs +4 -4
- package/esm2022/form-field/directives/notched-outline.mjs +5 -5
- package/esm2022/form-field/directives/prefix.mjs +4 -4
- package/esm2022/form-field/directives/suffix.mjs +4 -4
- package/esm2022/form-field/form-field-control.mjs +4 -4
- package/esm2022/form-field/form-field.mjs +9 -6
- package/esm2022/form-field/module.mjs +5 -5
- package/esm2022/grid-list/grid-list-module.mjs +5 -5
- package/esm2022/grid-list/grid-list.mjs +4 -4
- package/esm2022/grid-list/grid-tile.mjs +16 -16
- package/esm2022/icon/icon-module.mjs +5 -5
- package/esm2022/icon/icon-registry.mjs +4 -4
- package/esm2022/icon/icon.mjs +4 -4
- package/esm2022/icon/testing/fake-icon-registry.mjs +8 -8
- package/esm2022/input/input.mjs +39 -6
- package/esm2022/input/module.mjs +5 -5
- package/esm2022/list/action-list.mjs +4 -4
- package/esm2022/list/list-base.mjs +7 -7
- package/esm2022/list/list-item-sections.mjs +19 -19
- package/esm2022/list/list-module.mjs +5 -5
- package/esm2022/list/list-option.mjs +4 -4
- package/esm2022/list/list.mjs +7 -7
- package/esm2022/list/nav-list.mjs +4 -4
- package/esm2022/list/selection-list.mjs +4 -4
- package/esm2022/list/subheader.mjs +4 -4
- package/esm2022/list/testing/selection-list-harness.mjs +2 -2
- package/esm2022/menu/menu-content.mjs +4 -4
- package/esm2022/menu/menu-item.mjs +4 -4
- package/esm2022/menu/menu-trigger.mjs +4 -4
- package/esm2022/menu/menu.mjs +4 -4
- package/esm2022/menu/module.mjs +5 -5
- package/esm2022/paginator/module.mjs +5 -5
- package/esm2022/paginator/paginator-intl.mjs +4 -4
- package/esm2022/paginator/paginator.mjs +4 -4
- package/esm2022/progress-bar/module.mjs +5 -5
- package/esm2022/progress-bar/progress-bar.mjs +4 -4
- package/esm2022/progress-spinner/module.mjs +5 -5
- package/esm2022/progress-spinner/progress-spinner.mjs +5 -5
- package/esm2022/radio/module.mjs +5 -5
- package/esm2022/radio/radio.mjs +7 -7
- package/esm2022/select/module.mjs +5 -5
- package/esm2022/select/select.mjs +7 -7
- package/esm2022/sidenav/drawer.mjs +10 -10
- package/esm2022/sidenav/sidenav-module.mjs +5 -5
- package/esm2022/sidenav/sidenav.mjs +10 -10
- package/esm2022/slide-toggle/module.mjs +9 -9
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +4 -4
- package/esm2022/slide-toggle/slide-toggle.mjs +6 -6
- package/esm2022/slider/module.mjs +5 -5
- package/esm2022/slider/slider-input.mjs +7 -7
- package/esm2022/slider/slider-thumb.mjs +4 -4
- package/esm2022/slider/slider.mjs +5 -5
- package/esm2022/snack-bar/module.mjs +5 -5
- package/esm2022/snack-bar/simple-snack-bar.mjs +4 -4
- package/esm2022/snack-bar/snack-bar-container.mjs +4 -4
- package/esm2022/snack-bar/snack-bar-content.mjs +10 -10
- package/esm2022/snack-bar/snack-bar.mjs +4 -4
- package/esm2022/sort/sort-header-intl.mjs +4 -4
- package/esm2022/sort/sort-header.mjs +4 -4
- package/esm2022/sort/sort-module.mjs +5 -5
- package/esm2022/sort/sort.mjs +4 -4
- package/esm2022/stepper/step-content.mjs +4 -4
- package/esm2022/stepper/step-header.mjs +4 -4
- package/esm2022/stepper/step-label.mjs +4 -4
- package/esm2022/stepper/stepper-button.mjs +7 -7
- package/esm2022/stepper/stepper-icon.mjs +4 -4
- package/esm2022/stepper/stepper-intl.mjs +4 -4
- package/esm2022/stepper/stepper-module.mjs +5 -5
- package/esm2022/stepper/stepper.mjs +7 -7
- package/esm2022/table/cell.mjs +22 -22
- package/esm2022/table/module.mjs +5 -5
- package/esm2022/table/row.mjs +22 -22
- package/esm2022/table/table.mjs +7 -7
- package/esm2022/table/text-column.mjs +4 -4
- package/esm2022/tabs/ink-bar.mjs +4 -4
- package/esm2022/tabs/module.mjs +5 -5
- package/esm2022/tabs/paginated-tab-header.mjs +4 -4
- package/esm2022/tabs/tab-body.mjs +7 -7
- package/esm2022/tabs/tab-content.mjs +4 -4
- package/esm2022/tabs/tab-group.mjs +4 -4
- package/esm2022/tabs/tab-header.mjs +5 -5
- package/esm2022/tabs/tab-label-wrapper.mjs +4 -4
- package/esm2022/tabs/tab-label.mjs +4 -4
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +11 -11
- package/esm2022/tabs/tab.mjs +4 -4
- package/esm2022/tabs/testing/tab-harness.mjs +2 -2
- package/esm2022/toolbar/toolbar-module.mjs +5 -5
- package/esm2022/toolbar/toolbar.mjs +7 -7
- package/esm2022/tooltip/module.mjs +5 -5
- package/esm2022/tooltip/tooltip.mjs +7 -7
- package/esm2022/tree/node.mjs +10 -10
- package/esm2022/tree/outlet.mjs +4 -4
- package/esm2022/tree/padding.mjs +4 -4
- package/esm2022/tree/toggle.mjs +4 -4
- package/esm2022/tree/tree-module.mjs +5 -5
- package/esm2022/tree/tree.mjs +4 -4
- package/fesm2022/autocomplete.mjs +13 -14
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +10 -10
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +38 -38
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +14 -14
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +41 -41
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +59 -59
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +82 -82
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -28
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +26 -26
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +40 -37
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +10 -10
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +42 -9
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +49 -49
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +16 -16
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +8 -8
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +10 -10
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +16 -16
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +17 -17
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +22 -22
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +45 -45
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +10 -10
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_form-field-focus-overlay.scss +1 -1
- package/form-field/_form-field-subscript.scss +1 -3
- package/form-field/_form-field-theme.scss +20 -20
- package/form-field/_mdc-text-field-density-overrides.scss +2 -2
- package/form-field/_mdc-text-field-structure-overrides.scss +2 -13
- package/form-field/_mdc-text-field-structure.scss +610 -0
- package/input/index.d.ts +13 -1
- package/list/testing/index.d.ts +1 -1
- package/package.json +3 -51
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/progress-spinner/_progress-spinner-theme.scss +11 -14
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/m3-theme/index_bundled.js +2 -2
- package/schematics/ng-update/index_bundled.js +31 -31
- package/slide-toggle/_slide-toggle-theme.scss +21 -26
- package/slider/_slider-theme.scss +24 -41
- package/tabs/_tabs-common.scss +14 -0
- package/tabs/testing/index.d.ts +1 -1
- package/core/mdc-helpers/_mdc-helpers.scss +0 -60
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use '@material/switch/switch-theme' as mdc-switch-theme;
|
|
2
1
|
@use '../core/style/sass-utils';
|
|
3
2
|
@use '../core/theming/theming';
|
|
4
3
|
@use '../core/theming/inspection';
|
|
@@ -16,12 +15,12 @@
|
|
|
16
15
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
17
16
|
} @else {
|
|
18
17
|
@include sass-utils.current-selector-or-root() {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
@include mdc-switch-theme.theme($mdc-tokens);
|
|
18
|
+
@include token-utils.create-token-values(tokens-mdc-switch.$prefix,
|
|
19
|
+
tokens-mdc-switch.get-unthemable-tokens());
|
|
22
20
|
|
|
23
21
|
.mat-mdc-slide-toggle {
|
|
24
|
-
@include token-utils.create-token-values(tokens-mat-switch.$prefix,
|
|
22
|
+
@include token-utils.create-token-values(tokens-mat-switch.$prefix,
|
|
23
|
+
tokens-mat-switch.get-unthemable-tokens());
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
26
|
}
|
|
@@ -36,13 +35,12 @@
|
|
|
36
35
|
@if inspection.get-theme-version($theme) == 1 {
|
|
37
36
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color), $options...);
|
|
38
37
|
} @else {
|
|
39
|
-
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
40
|
-
$mat-tokens: tokens-mat-switch.get-color-tokens($theme);
|
|
41
38
|
$mdc-tokens: tokens-mdc-switch.get-color-tokens($theme);
|
|
42
39
|
|
|
43
40
|
// Add values for MDC slide toggles tokens
|
|
44
41
|
@include sass-utils.current-selector-or-root() {
|
|
45
|
-
@include
|
|
42
|
+
@include token-utils.create-token-values(tokens-mdc-switch.$prefix,
|
|
43
|
+
tokens-mdc-switch.get-color-tokens($theme));
|
|
46
44
|
|
|
47
45
|
// TODO(wagnermaciel): Use our token system to define this css variable.
|
|
48
46
|
--mdc-switch-disabled-label-text-color: #{inspection.get-theme-color(
|
|
@@ -52,19 +50,18 @@
|
|
|
52
50
|
)};
|
|
53
51
|
|
|
54
52
|
.mat-mdc-slide-toggle {
|
|
55
|
-
@include token-utils.create-token-values(tokens-mat-switch.$prefix,
|
|
53
|
+
@include token-utils.create-token-values(tokens-mat-switch.$prefix,
|
|
54
|
+
tokens-mat-switch.get-color-tokens($theme));
|
|
56
55
|
|
|
57
56
|
// Change the color palette related tokens to accent or warn if applicable
|
|
58
57
|
&.mat-accent {
|
|
59
|
-
@include mdc-switch
|
|
60
|
-
tokens-mdc-switch.private-get-color-palette-color-tokens($theme, accent)
|
|
61
|
-
);
|
|
58
|
+
@include token-utils.create-token-values(tokens-mdc-switch.$prefix,
|
|
59
|
+
tokens-mdc-switch.private-get-color-palette-color-tokens($theme, accent));
|
|
62
60
|
}
|
|
63
61
|
|
|
64
62
|
&.mat-warn {
|
|
65
|
-
@include mdc-switch
|
|
66
|
-
tokens-mdc-switch.private-get-color-palette-color-tokens($theme, warn)
|
|
67
|
-
);
|
|
63
|
+
@include token-utils.create-token-values(tokens-mdc-switch.$prefix,
|
|
64
|
+
tokens-mdc-switch.private-get-color-palette-color-tokens($theme, warn));
|
|
68
65
|
}
|
|
69
66
|
}
|
|
70
67
|
}
|
|
@@ -77,15 +74,13 @@
|
|
|
77
74
|
@if inspection.get-theme-version($theme) == 1 {
|
|
78
75
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
79
76
|
} @else {
|
|
80
|
-
$mat-tokens: tokens-mat-switch.get-typography-tokens($theme);
|
|
81
|
-
$mdc-tokens: tokens-mdc-switch.get-typography-tokens($theme);
|
|
82
|
-
|
|
83
|
-
// Add values for MDC slide toggle tokens
|
|
84
77
|
@include sass-utils.current-selector-or-root() {
|
|
85
|
-
@include
|
|
78
|
+
@include token-utils.create-token-values(tokens-mdc-switch.$prefix,
|
|
79
|
+
tokens-mdc-switch.get-typography-tokens($theme));
|
|
86
80
|
|
|
87
81
|
.mat-mdc-slide-toggle {
|
|
88
|
-
@include token-utils.create-token-values(tokens-mat-switch.$prefix,
|
|
82
|
+
@include token-utils.create-token-values(tokens-mat-switch.$prefix,
|
|
83
|
+
tokens-mat-switch.get-typography-tokens($theme));
|
|
89
84
|
}
|
|
90
85
|
}
|
|
91
86
|
}
|
|
@@ -98,12 +93,12 @@
|
|
|
98
93
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
99
94
|
} @else {
|
|
100
95
|
@include sass-utils.current-selector-or-root() {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
@include mdc-switch-theme.theme(tokens-mdc-switch.get-density-tokens($theme));
|
|
96
|
+
@include token-utils.create-token-values(tokens-mdc-switch.$prefix,
|
|
97
|
+
tokens-mdc-switch.get-density-tokens($theme));
|
|
104
98
|
|
|
105
99
|
.mat-mdc-slide-toggle {
|
|
106
|
-
@include token-utils.create-token-values(tokens-mat-switch.$prefix,
|
|
100
|
+
@include token-utils.create-token-values(tokens-mat-switch.$prefix,
|
|
101
|
+
tokens-mat-switch.get-density-tokens($theme));
|
|
107
102
|
}
|
|
108
103
|
}
|
|
109
104
|
}
|
|
@@ -158,6 +153,6 @@
|
|
|
158
153
|
// only the mdc-switch does.
|
|
159
154
|
$mat-switch-tokens: token-utils.get-tokens-for($tokens, tokens-mat-switch.$prefix);
|
|
160
155
|
|
|
161
|
-
@include mdc-switch
|
|
156
|
+
@include token-utils.create-token-values(tokens-mdc-switch.$prefix, $mdc-switch-tokens);
|
|
162
157
|
@include token-utils.create-token-values(tokens-mat-switch.$prefix, $mat-switch-tokens);
|
|
163
158
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use '@material/slider/slider-theme' as mdc-slider-theme;
|
|
2
1
|
@use '../core/theming/theming';
|
|
3
2
|
@use '../core/theming/inspection';
|
|
4
3
|
@use '../core/theming/validation';
|
|
@@ -16,11 +15,11 @@
|
|
|
16
15
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
17
16
|
}
|
|
18
17
|
@else {
|
|
19
|
-
// Add default values for tokens not related to color, typography, or density.
|
|
20
18
|
@include sass-utils.current-selector-or-root() {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
@include
|
|
19
|
+
@include token-utils.create-token-values(tokens-mdc-slider.$prefix,
|
|
20
|
+
tokens-mdc-slider.get-unthemable-tokens());
|
|
21
|
+
@include token-utils.create-token-values(tokens-mat-slider.$prefix,
|
|
22
|
+
tokens-mat-slider.get-unthemable-tokens());
|
|
24
23
|
}
|
|
25
24
|
}
|
|
26
25
|
}
|
|
@@ -35,40 +34,24 @@
|
|
|
35
34
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color), $options...);
|
|
36
35
|
}
|
|
37
36
|
@else {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
handle-shadow-color
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
$mat-slider-color-tokens: tokens-mat-slider.get-color-tokens($theme);
|
|
47
|
-
|
|
48
|
-
// Add values for MDC slider tokens.
|
|
49
|
-
@include sass-utils.current-selector-or-root() {
|
|
50
|
-
@include mdc-slider-theme.theme($mdc-color-tokens);
|
|
51
|
-
@include token-utils.create-token-values(
|
|
52
|
-
tokens-mat-slider.$prefix,
|
|
53
|
-
$mat-slider-color-tokens
|
|
54
|
-
);
|
|
37
|
+
@include sass-utils.current-selector-or-root() {
|
|
38
|
+
@include token-utils.create-token-values(tokens-mdc-slider.$prefix,
|
|
39
|
+
tokens-mdc-slider.get-color-tokens($theme));
|
|
40
|
+
@include token-utils.create-token-values(tokens-mat-slider.$prefix,
|
|
41
|
+
tokens-mat-slider.get-color-tokens($theme));
|
|
55
42
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
tokens-mdc-slider.private-get-color-palette-color-tokens($theme, accent));
|
|
63
|
-
}
|
|
43
|
+
.mat-accent {
|
|
44
|
+
@include token-utils.create-token-values(tokens-mdc-slider.$prefix,
|
|
45
|
+
tokens-mdc-slider.private-get-color-palette-color-tokens($theme, accent));
|
|
46
|
+
@include token-utils.create-token-values(tokens-mat-slider.$prefix,
|
|
47
|
+
tokens-mat-slider.private-get-color-palette-color-tokens($theme, accent));
|
|
48
|
+
}
|
|
64
49
|
|
|
65
50
|
.mat-warn {
|
|
66
|
-
@include token-utils.create-token-values(
|
|
67
|
-
tokens-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
@include mdc-slider-theme.theme(
|
|
71
|
-
tokens-mdc-slider.private-get-color-palette-color-tokens($theme, warn));
|
|
51
|
+
@include token-utils.create-token-values(tokens-mdc-slider.$prefix,
|
|
52
|
+
tokens-mdc-slider.private-get-color-palette-color-tokens($theme, warn));
|
|
53
|
+
@include token-utils.create-token-values(tokens-mat-slider.$prefix,
|
|
54
|
+
tokens-mat-slider.private-get-color-palette-color-tokens($theme, warn));
|
|
72
55
|
}
|
|
73
56
|
}
|
|
74
57
|
}
|
|
@@ -82,9 +65,9 @@
|
|
|
82
65
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
83
66
|
}
|
|
84
67
|
@else {
|
|
85
|
-
// Add values for MDC slider tokens.
|
|
86
68
|
@include sass-utils.current-selector-or-root() {
|
|
87
|
-
@include
|
|
69
|
+
@include token-utils.create-token-values(tokens-mdc-slider.$prefix,
|
|
70
|
+
tokens-mdc-slider.get-typography-tokens($theme));
|
|
88
71
|
}
|
|
89
72
|
}
|
|
90
73
|
}
|
|
@@ -97,9 +80,9 @@
|
|
|
97
80
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
98
81
|
}
|
|
99
82
|
@else {
|
|
100
|
-
// Add values for MDC slider tokens.
|
|
101
83
|
@include sass-utils.current-selector-or-root() {
|
|
102
|
-
@include
|
|
84
|
+
@include token-utils.create-token-values(tokens-mdc-slider.$prefix,
|
|
85
|
+
tokens-mdc-slider.get-density-tokens($theme));
|
|
103
86
|
}
|
|
104
87
|
}
|
|
105
88
|
}
|
|
@@ -144,6 +127,6 @@
|
|
|
144
127
|
'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector');
|
|
145
128
|
$mdc-slider-tokens: token-utils.get-tokens-for($tokens, tokens-mdc-slider.$prefix, $options...);
|
|
146
129
|
$mat-slider-tokens: token-utils.get-tokens-for($tokens, tokens-mat-slider.$prefix, $options...);
|
|
147
|
-
@include mdc-slider
|
|
130
|
+
@include token-utils.create-token-values(tokens-mdc-slider.$prefix, $mdc-slider-tokens);
|
|
148
131
|
@include token-utils.create-token-values(tokens-mat-slider.$prefix, $mat-slider-tokens);
|
|
149
132
|
}
|
package/tabs/_tabs-common.scss
CHANGED
|
@@ -393,6 +393,20 @@ $mat-tab-animation-duration: 500ms !default;
|
|
|
393
393
|
[mat-align-tabs='end'] > #{$parent} & {
|
|
394
394
|
justify-content: flex-end;
|
|
395
395
|
}
|
|
396
|
+
|
|
397
|
+
// Prevent the header from collapsing when it is a drop list. This is useful,
|
|
398
|
+
// because its height may become zero once all the tabs are dragged out.
|
|
399
|
+
// Note that ideally we would do this by default, rather than only in a drop
|
|
400
|
+
// list, but it ended up being hugely breaking internally.
|
|
401
|
+
.cdk-drop-list &,
|
|
402
|
+
&.cdk-drop-list {
|
|
403
|
+
@include token-utils.use-tokens(
|
|
404
|
+
tokens-mdc-secondary-navigation-tab.$prefix,
|
|
405
|
+
tokens-mdc-secondary-navigation-tab.get-token-slots()
|
|
406
|
+
) {
|
|
407
|
+
@include token-utils.create-token-slot(min-height, container-height);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
396
410
|
}
|
|
397
411
|
|
|
398
412
|
// Structural styles for the element that wraps the paginated container's content.
|
package/tabs/testing/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare class MatTabGroupHarness extends ComponentHarness {
|
|
|
30
30
|
selectTab(filter?: TabHarnessFilters): Promise<void>;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
/** Harness for interacting with an
|
|
33
|
+
/** Harness for interacting with an Angular Material tab in tests. */
|
|
34
34
|
export declare class MatTabHarness extends ContentContainerComponentHarness<string> {
|
|
35
35
|
/** The selector for the host element of a `MatTab` instance. */
|
|
36
36
|
static hostSelector: string;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
// TODO(mmalerba): this file should be split into separate cohesive partials for things like
|
|
2
|
-
// "theming", "typography", "core".
|
|
3
|
-
@use 'sass:string';
|
|
4
|
-
@use '../typography/typography';
|
|
5
|
-
@use '@material/feature-targeting' as mdc-feature-targeting;
|
|
6
|
-
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
7
|
-
@use '@material/theme/css' as mdc-theme-css;
|
|
8
|
-
|
|
9
|
-
// A set of standard queries to use with MDC's queryable mixins.
|
|
10
|
-
$mdc-base-styles-query: mdc-feature-targeting.without(mdc-feature-targeting.any(color, typography));
|
|
11
|
-
$mdc-base-styles-without-animation-query:
|
|
12
|
-
mdc-feature-targeting.all($mdc-base-styles-query, mdc-feature-targeting.without(animation));
|
|
13
|
-
$mdc-theme-styles-query: color;
|
|
14
|
-
$mdc-typography-styles-query: typography;
|
|
15
|
-
|
|
16
|
-
// MDC logs a warning if the `contrast-tone` function is called with a CSS variable.
|
|
17
|
-
// This function falls back to determining the tone based on whether the theme is light or dark.
|
|
18
|
-
@function variable-safe-contrast-tone($value, $is-dark) {
|
|
19
|
-
@if ($value == 'dark' or $value == 'light' or type-of($value) == 'color') {
|
|
20
|
-
@return mdc-theme-color.contrast-tone($value);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@return if($is-dark, 'light', 'dark');
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// Function to create an Angular Material typography config from MDC's predefined typography levels.
|
|
27
|
-
// This is used for components where we accidentally ended up supporting null typography configs
|
|
28
|
-
// that were silently falling back to MDC's typography. At the moment of writing this includes
|
|
29
|
-
// `dialog`, `slider` and `tooltip`.
|
|
30
|
-
// Important! We shouldn't introduce any new usages of this pattern and we should eventually clean
|
|
31
|
-
// up any existing usages.
|
|
32
|
-
@function private-fallback-typography-from-mdc() {
|
|
33
|
-
// This is very close to what we have in `define-typography-config`, but we can't use it here,
|
|
34
|
-
// because it would cause a circular import and moving it here doesn't make sense.
|
|
35
|
-
$font-family: string.unquote('Roboto, sans-serif');
|
|
36
|
-
@return (
|
|
37
|
-
font-family: $font-family,
|
|
38
|
-
headline-1: typography.typography-config-level-from-mdc(headline1, $font-family),
|
|
39
|
-
headline-2: typography.typography-config-level-from-mdc(headline2, $font-family),
|
|
40
|
-
headline-3: typography.typography-config-level-from-mdc(headline3, $font-family),
|
|
41
|
-
headline-4: typography.typography-config-level-from-mdc(headline4, $font-family),
|
|
42
|
-
headline-5: typography.typography-config-level-from-mdc(headline5, $font-family),
|
|
43
|
-
headline-6: typography.typography-config-level-from-mdc(headline6, $font-family),
|
|
44
|
-
subtitle-1: typography.typography-config-level-from-mdc(subtitle1, $font-family),
|
|
45
|
-
subtitle-2: typography.typography-config-level-from-mdc(subtitle2, $font-family),
|
|
46
|
-
body-1: typography.typography-config-level-from-mdc(body1, $font-family),
|
|
47
|
-
body-2: typography.typography-config-level-from-mdc(body2, $font-family),
|
|
48
|
-
caption: typography.typography-config-level-from-mdc(caption, $font-family),
|
|
49
|
-
button: typography.typography-config-level-from-mdc(button, $font-family),
|
|
50
|
-
overline: typography.typography-config-level-from-mdc(overline, $font-family),
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Disables MDC's CSS custom property fallbacks for the specified mixin content.
|
|
55
|
-
@mixin disable-mdc-fallback-declarations {
|
|
56
|
-
$previous-value: mdc-theme-css.$enable-fallback-declarations;
|
|
57
|
-
mdc-theme-css.$enable-fallback-declarations: false;
|
|
58
|
-
@content;
|
|
59
|
-
mdc-theme-css.$enable-fallback-declarations: $previous-value;
|
|
60
|
-
}
|