@angular/material 16.2.2 → 17.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_index.scss +21 -65
- package/autocomplete/index.d.ts +40 -71
- package/autocomplete/testing/index.d.ts +5 -23
- package/button/_button-base.scss +3 -3
- package/button/_button-theme-private.scss +3 -2
- package/button/_button-theme.scss +18 -25
- package/button/_fab-theme.scss +42 -48
- package/button/_icon-button-theme.scss +19 -26
- package/button/index.d.ts +22 -31
- package/card/_card-theme.scss +82 -51
- package/checkbox/_checkbox-theme.scss +72 -54
- package/checkbox/index.d.ts +22 -42
- package/checkbox/testing/index.d.ts +6 -12
- package/core/_core-theme.scss +24 -39
- package/core/index.d.ts +17 -28
- package/core/mdc-helpers/_mdc-helpers.scss +19 -22
- package/core/option/_optgroup-theme.scss +13 -23
- package/core/option/_option-theme.scss +23 -37
- package/core/ripple/_ripple-theme.scss +6 -10
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +17 -24
- package/core/style/_private.scss +3 -3
- package/core/style/_sass-utils.scss +7 -0
- package/core/style/_validation.scss +43 -0
- package/core/theming/_inspection.scss +256 -0
- package/core/theming/_m2-inspection.scss +211 -0
- package/core/theming/_theming.scss +169 -16
- package/core/tokens/m2/mat/_card.scss +15 -21
- package/core/tokens/m2/mat/_form-field.scss +48 -19
- package/core/tokens/m2/mat/_optgroup.scss +12 -17
- package/core/tokens/m2/mat/_option.scss +16 -28
- package/core/tokens/m2/mat/_paginator.scss +16 -18
- package/core/tokens/m2/mat/_radio.scss +7 -10
- package/core/tokens/m2/mat/_slide-toggle.scss +9 -17
- package/core/tokens/m2/mat/_slider.scss +43 -0
- package/core/tokens/m2/mdc/_checkbox.scss +21 -20
- package/core/tokens/m2/mdc/_elevated-card.scss +6 -9
- package/core/tokens/m2/mdc/_extended-fab.scss +8 -17
- package/core/tokens/m2/mdc/_fab.scss +6 -7
- package/core/tokens/m2/mdc/_filled-text-field.scss +17 -23
- package/core/tokens/m2/mdc/_icon-button.scss +1 -1
- package/core/tokens/m2/mdc/_linear-progress.scss +9 -10
- package/core/tokens/m2/mdc/_list.scss +44 -42
- package/core/tokens/m2/mdc/_outlined-card.scss +7 -10
- package/core/tokens/m2/mdc/_outlined-text-field.scss +15 -21
- package/core/tokens/m2/mdc/_radio.scss +11 -11
- package/core/tokens/m2/mdc/_slider.scss +147 -0
- package/core/tokens/m2/mdc/_switch.scss +16 -19
- package/core/typography/_definition.scss +258 -0
- package/core/typography/_property-getters.scss +63 -0
- package/core/typography/_typography-utils.scss +9 -69
- package/core/typography/_typography.scss +10 -343
- package/core/typography/_versioning.scss +86 -0
- package/dialog/_dialog-theme.scss +10 -0
- package/dialog/index.d.ts +44 -86
- package/dialog/testing/index.d.ts +6 -18
- package/esm2022/autocomplete/autocomplete-origin.mjs +9 -17
- package/esm2022/autocomplete/autocomplete-trigger.mjs +32 -41
- package/esm2022/autocomplete/autocomplete.mjs +58 -71
- package/esm2022/autocomplete/testing/autocomplete-harness.mjs +20 -33
- package/esm2022/button/button-base.mjs +32 -27
- package/esm2022/button/button.mjs +6 -6
- package/esm2022/button/fab.mjs +25 -33
- package/esm2022/button/icon-button.mjs +6 -6
- package/esm2022/button/testing/button-harness.mjs +3 -3
- package/esm2022/card/card.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +72 -79
- package/esm2022/checkbox/testing/checkbox-harness.mjs +41 -36
- package/esm2022/core/datetime/native-date-adapter.mjs +14 -11
- package/esm2022/core/option/optgroup.mjs +19 -26
- package/esm2022/core/option/option.mjs +25 -35
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar.mjs +1 -1
- package/esm2022/datepicker/datepicker-base.mjs +2 -2
- package/esm2022/datepicker/datepicker-toggle.mjs +1 -1
- package/esm2022/dialog/dialog-container.mjs +52 -77
- package/esm2022/dialog/dialog-ref.mjs +1 -1
- package/esm2022/dialog/dialog.mjs +16 -46
- package/esm2022/dialog/public-api.mjs +2 -2
- package/esm2022/dialog/testing/dialog-harness.mjs +13 -16
- package/esm2022/dialog/testing/dialog-opener.mjs +17 -27
- package/esm2022/dialog/testing/index.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +3 -3
- package/esm2022/form-field/testing/error-harness.mjs +10 -12
- package/esm2022/form-field/testing/form-field-harness.mjs +45 -48
- package/esm2022/list/action-list.mjs +2 -2
- package/esm2022/list/list.mjs +2 -2
- package/esm2022/list/nav-list.mjs +2 -2
- package/esm2022/list/selection-list.mjs +2 -2
- package/esm2022/menu/menu-content.mjs +9 -16
- package/esm2022/menu/menu-trigger.mjs +14 -25
- package/esm2022/menu/menu.mjs +15 -29
- package/esm2022/menu/public-api.mjs +3 -3
- package/esm2022/menu/testing/menu-harness.mjs +29 -43
- package/esm2022/paginator/paginator.mjs +24 -38
- package/esm2022/paginator/testing/paginator-harness.mjs +25 -27
- package/esm2022/progress-bar/progress-bar.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.mjs +2 -2
- package/esm2022/radio/radio.mjs +58 -83
- package/esm2022/radio/testing/radio-harness.mjs +31 -38
- package/esm2022/select/select.mjs +194 -212
- package/esm2022/select/testing/select-harness.mjs +18 -23
- package/esm2022/slide-toggle/slide-toggle.mjs +43 -53
- package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +33 -40
- package/esm2022/slider/slider.mjs +2 -2
- package/esm2022/snack-bar/simple-snack-bar.mjs +1 -1
- package/esm2022/snack-bar/snack-bar-container.mjs +17 -32
- package/esm2022/snack-bar/snack-bar-ref.mjs +1 -1
- package/esm2022/snack-bar/snack-bar.mjs +11 -25
- package/esm2022/snack-bar/testing/snack-bar-harness.mjs +18 -31
- package/esm2022/table/table-data-source.mjs +15 -18
- package/esm2022/table/testing/cell-harness.mjs +4 -4
- package/esm2022/table/testing/row-harness.mjs +4 -4
- package/esm2022/table/testing/table-harness.mjs +22 -24
- package/esm2022/tabs/public-api.mjs +7 -8
- package/esm2022/tabs/tab-body.mjs +13 -29
- package/esm2022/tabs/tab-group.mjs +55 -79
- package/esm2022/tabs/tab-header.mjs +13 -34
- package/esm2022/tabs/tab-label-wrapper.mjs +6 -18
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +119 -168
- package/esm2022/tabs/tab.mjs +25 -37
- package/esm2022/tooltip/testing/tooltip-harness.mjs +21 -23
- package/esm2022/tooltip/tooltip.mjs +68 -101
- package/fesm2022/autocomplete/testing.mjs +20 -33
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +96 -126
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/button/testing.mjs +2 -2
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button.mjs +61 -63
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +2 -2
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs +41 -36
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +72 -79
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/core.mjs +49 -61
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +3 -3
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +30 -43
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +67 -122
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +54 -59
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +2 -2
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/list.mjs +8 -8
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs +30 -44
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +34 -66
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs +25 -27
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +24 -38
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +2 -2
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +2 -2
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs +31 -38
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +59 -84
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs +18 -23
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +196 -214
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs +33 -40
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +43 -53
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +2 -2
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs +19 -32
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +27 -56
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/table/testing.mjs +28 -30
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +15 -18
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +234 -368
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs +21 -23
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +69 -102
- package/fesm2022/tooltip.mjs.map +1 -1
- package/form-field/_form-field-density.scss +3 -4
- package/form-field/_form-field-focus-overlay.scss +13 -18
- package/form-field/_form-field-native-select.scss +30 -67
- package/form-field/_form-field-subscript.scss +4 -8
- package/form-field/_form-field-theme.scss +33 -76
- package/form-field/_mdc-text-field-structure-overrides.scss +20 -0
- package/form-field/testing/index.d.ts +14 -44
- package/input/_input-theme.scss +11 -23
- package/list/_list-theme.scss +34 -40
- package/menu/index.d.ts +22 -44
- package/menu/testing/index.d.ts +6 -23
- package/package.json +7 -286
- package/paginator/_paginator-theme.scss +15 -24
- package/paginator/index.d.ts +6 -22
- package/paginator/testing/index.d.ts +9 -22
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +25 -23
- package/progress-spinner/_progress-spinner-theme.scss +14 -3
- package/radio/_radio-theme.scss +23 -38
- package/radio/index.d.ts +22 -45
- package/radio/testing/index.d.ts +7 -23
- package/schematics/migration.json +4 -4
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-update/index_bundled.js +4 -4
- package/schematics/ng-update/index_bundled.js.map +1 -1
- package/select/index.d.ts +47 -68
- package/select/testing/index.d.ts +9 -22
- package/slide-toggle/_slide-toggle-theme.scss +23 -40
- package/slide-toggle/index.d.ts +17 -27
- package/slide-toggle/testing/index.d.ts +6 -13
- package/slider/_slider-theme.scss +65 -82
- package/snack-bar/_snack-bar-theme.scss +10 -2
- package/snack-bar/index.d.ts +40 -62
- package/snack-bar/testing/index.d.ts +5 -20
- package/table/index.d.ts +2 -31
- package/table/testing/index.d.ts +17 -34
- package/tabs/index.d.ts +60 -144
- package/tooltip/_tooltip-theme.scss +12 -3
- package/tooltip/index.d.ts +26 -49
- package/tooltip/testing/index.d.ts +7 -17
- package/_theming.scss +0 -43
- package/_token-theming.scss +0 -2
- package/autocomplete/_autocomplete-theme.import.scss +0 -1
- package/badge/_badge-legacy-index.scss +0 -3
- package/badge/_badge-theme.import.scss +0 -11
- package/bottom-sheet/_bottom-sheet-legacy-index.scss +0 -2
- package/bottom-sheet/_bottom-sheet-theme.import.scss +0 -10
- package/button/_button-base.import.scss +0 -4
- package/button/_button-theme.import.scss +0 -13
- package/button-toggle/_button-toggle-legacy-index.scss +0 -2
- package/button-toggle/_button-toggle-theme.import.scss +0 -15
- package/button-toggle/_button-toggle-variables.import.scss +0 -1
- package/button-toggle/_button-toggle-variables.scss +0 -16
- package/card/_card-theme.import.scss +0 -3
- package/checkbox/_checkbox-theme.import.scss +0 -10
- package/chips/_chips-theme.import.scss +0 -4
- package/core/_core-legacy-index.scss +0 -16
- package/core/_core.import.scss +0 -60
- package/core/color/_all-color.import.scss +0 -53
- package/core/color/_color-legacy-index.scss +0 -1
- package/core/density/private/_all-density.import.scss +0 -15
- package/core/density/private/_compatibility.import.scss +0 -4
- package/core/density/private/_density-legacy-index.scss +0 -5
- package/core/focus-indicators/_focus-indicators-legacy-index.scss +0 -5
- package/core/focus-indicators/_focus-indicators.import.scss +0 -23
- package/core/mdc-helpers/_mdc-helpers.import.scss +0 -9
- package/core/option/_optgroup-theme.import.scss +0 -4
- package/core/option/_option-legacy-index.scss +0 -5
- package/core/option/_option-theme.import.scss +0 -4
- package/core/ripple/_ripple-legacy-index.scss +0 -3
- package/core/ripple/_ripple.import.scss +0 -20
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-legacy-index.scss +0 -2
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.import.scss +0 -17
- package/core/style/_button-common.import.scss +0 -4
- package/core/style/_checkbox-common.import.scss +0 -11
- package/core/style/_elevation.import.scss +0 -17
- package/core/style/_form-common.import.scss +0 -16
- package/core/style/_layout-common.import.scss +0 -1
- package/core/style/_list-common.import.scss +0 -2
- package/core/style/_menu-common.import.scss +0 -18
- package/core/style/_private.import.scss +0 -15
- package/core/style/_style-legacy-index.scss +0 -24
- package/core/style/_variables.import.scss +0 -8
- package/core/style/_vendor-prefixes.import.scss +0 -1
- package/core/theming/_all-theme.import.scss +0 -86
- package/core/theming/_palette.import.scss +0 -12
- package/core/theming/_theming-legacy-index.scss +0 -22
- package/core/theming/_theming.import.scss +0 -24
- package/core/typography/_all-typography.import.scss +0 -76
- package/core/typography/_typography-legacy-index.scss +0 -18
- package/core/typography/_typography-utils.import.scss +0 -9
- package/core/typography/_typography.import.scss +0 -14
- package/datepicker/_datepicker-legacy-index.scss +0 -9
- package/datepicker/_datepicker-theme.import.scss +0 -17
- package/dialog/_dialog-legacy-padding.import.scss +0 -1
- package/dialog/_dialog-theme.import.scss +0 -1
- package/dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
- package/divider/_divider-legacy-index.scss +0 -3
- package/divider/_divider-offset.import.scss +0 -1
- package/divider/_divider-theme.import.scss +0 -6
- package/esm2022/legacy-autocomplete/autocomplete-module.mjs +0 -51
- package/esm2022/legacy-autocomplete/autocomplete-origin.mjs +0 -28
- package/esm2022/legacy-autocomplete/autocomplete-trigger.mjs +0 -60
- package/esm2022/legacy-autocomplete/autocomplete.mjs +0 -40
- package/esm2022/legacy-autocomplete/index.mjs +0 -9
- package/esm2022/legacy-autocomplete/legacy-autocomplete_public_index.mjs +0 -5
- package/esm2022/legacy-autocomplete/public-api.mjs +0 -48
- package/esm2022/legacy-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
- package/esm2022/legacy-autocomplete/testing/autocomplete-harness.mjs +0 -39
- package/esm2022/legacy-autocomplete/testing/index.mjs +0 -9
- package/esm2022/legacy-autocomplete/testing/public-api.mjs +0 -9
- package/esm2022/legacy-button/button-module.mjs +0 -29
- package/esm2022/legacy-button/button.mjs +0 -177
- package/esm2022/legacy-button/index.mjs +0 -9
- package/esm2022/legacy-button/legacy-button_public_index.mjs +0 -5
- package/esm2022/legacy-button/public-api.mjs +0 -10
- package/esm2022/legacy-button/testing/button-harness.mjs +0 -82
- package/esm2022/legacy-button/testing/index.mjs +0 -9
- package/esm2022/legacy-button/testing/public-api.mjs +0 -9
- package/esm2022/legacy-card/card-module.mjs +0 -87
- package/esm2022/legacy-card/card.mjs +0 -276
- package/esm2022/legacy-card/index.mjs +0 -9
- package/esm2022/legacy-card/legacy-card_public_index.mjs +0 -5
- package/esm2022/legacy-card/public-api.mjs +0 -10
- package/esm2022/legacy-card/testing/card-harness-filters.mjs +0 -9
- package/esm2022/legacy-card/testing/card-harness.mjs +0 -47
- package/esm2022/legacy-card/testing/index.mjs +0 -9
- package/esm2022/legacy-card/testing/public-api.mjs +0 -9
- package/esm2022/legacy-checkbox/checkbox-module.mjs +0 -31
- package/esm2022/legacy-checkbox/checkbox.mjs +0 -137
- package/esm2022/legacy-checkbox/index.mjs +0 -9
- package/esm2022/legacy-checkbox/legacy-checkbox_public_index.mjs +0 -5
- package/esm2022/legacy-checkbox/public-api.mjs +0 -36
- package/esm2022/legacy-checkbox/testing/checkbox-harness.mjs +0 -46
- package/esm2022/legacy-checkbox/testing/index.mjs +0 -9
- package/esm2022/legacy-checkbox/testing/public-api.mjs +0 -9
- package/esm2022/legacy-chips/chip-default-options.mjs +0 -15
- package/esm2022/legacy-chips/chip-input.mjs +0 -198
- package/esm2022/legacy-chips/chip-list.mjs +0 -718
- package/esm2022/legacy-chips/chip-text-control.mjs +0 -9
- package/esm2022/legacy-chips/chip.mjs +0 -445
- package/esm2022/legacy-chips/chips-module.mjs +0 -68
- package/esm2022/legacy-chips/index.mjs +0 -9
- package/esm2022/legacy-chips/legacy-chips_public_index.mjs +0 -5
- package/esm2022/legacy-chips/public-api.mjs +0 -13
- package/esm2022/legacy-chips/testing/chip-avatar-harness.mjs +0 -26
- package/esm2022/legacy-chips/testing/chip-harness-filters.mjs +0 -2
- package/esm2022/legacy-chips/testing/chip-harness.mjs +0 -95
- package/esm2022/legacy-chips/testing/chip-input-harness.mjs +0 -86
- package/esm2022/legacy-chips/testing/chip-list-harness.mjs +0 -90
- package/esm2022/legacy-chips/testing/chip-listbox-harness.mjs +0 -48
- package/esm2022/legacy-chips/testing/chip-option-harness.mjs +0 -49
- package/esm2022/legacy-chips/testing/chip-remove-harness.mjs +0 -30
- package/esm2022/legacy-chips/testing/index.mjs +0 -9
- package/esm2022/legacy-chips/testing/public-api.mjs +0 -14
- package/esm2022/legacy-core/index.mjs +0 -9
- package/esm2022/legacy-core/legacy-core_public_index.mjs +0 -5
- package/esm2022/legacy-core/option/index.mjs +0 -69
- package/esm2022/legacy-core/option/optgroup.mjs +0 -30
- package/esm2022/legacy-core/option/option.mjs +0 -54
- package/esm2022/legacy-core/public-api.mjs +0 -170
- package/esm2022/legacy-core/testing/index.mjs +0 -9
- package/esm2022/legacy-core/testing/optgroup-harness-filters.mjs +0 -9
- package/esm2022/legacy-core/testing/optgroup-harness.mjs +0 -47
- package/esm2022/legacy-core/testing/option-harness-filters.mjs +0 -9
- package/esm2022/legacy-core/testing/option-harness.mjs +0 -58
- package/esm2022/legacy-core/testing/public-api.mjs +0 -12
- package/esm2022/legacy-dialog/dialog-animations.mjs +0 -17
- package/esm2022/legacy-dialog/dialog-config.mjs +0 -22
- package/esm2022/legacy-dialog/dialog-container.mjs +0 -85
- package/esm2022/legacy-dialog/dialog-content-directives.mjs +0 -209
- package/esm2022/legacy-dialog/dialog-module.mjs +0 -57
- package/esm2022/legacy-dialog/dialog-ref.mjs +0 -16
- package/esm2022/legacy-dialog/dialog.mjs +0 -106
- package/esm2022/legacy-dialog/index.mjs +0 -9
- package/esm2022/legacy-dialog/legacy-dialog_public_index.mjs +0 -5
- package/esm2022/legacy-dialog/public-api.mjs +0 -40
- package/esm2022/legacy-dialog/testing/dialog-harness.mjs +0 -36
- package/esm2022/legacy-dialog/testing/dialog-opener.mjs +0 -56
- package/esm2022/legacy-dialog/testing/index.mjs +0 -9
- package/esm2022/legacy-dialog/testing/public-api.mjs +0 -10
- package/esm2022/legacy-form-field/error.mjs +0 -46
- package/esm2022/legacy-form-field/form-field-module.mjs +0 -67
- package/esm2022/legacy-form-field/form-field.mjs +0 -530
- package/esm2022/legacy-form-field/hint.mjs +0 -56
- package/esm2022/legacy-form-field/index.mjs +0 -9
- package/esm2022/legacy-form-field/label.mjs +0 -25
- package/esm2022/legacy-form-field/legacy-form-field_public_index.mjs +0 -5
- package/esm2022/legacy-form-field/placeholder.mjs +0 -26
- package/esm2022/legacy-form-field/prefix.mjs +0 -27
- package/esm2022/legacy-form-field/public-api.mjs +0 -62
- package/esm2022/legacy-form-field/suffix.mjs +0 -27
- package/esm2022/legacy-form-field/testing/error-harness.mjs +0 -26
- package/esm2022/legacy-form-field/testing/form-field-harness.mjs +0 -73
- package/esm2022/legacy-form-field/testing/index.mjs +0 -9
- package/esm2022/legacy-form-field/testing/public-api.mjs +0 -19
- package/esm2022/legacy-input/index.mjs +0 -9
- package/esm2022/legacy-input/input-module.mjs +0 -45
- package/esm2022/legacy-input/input.mjs +0 -62
- package/esm2022/legacy-input/legacy-input_public_index.mjs +0 -5
- package/esm2022/legacy-input/public-api.mjs +0 -21
- package/esm2022/legacy-input/testing/index.mjs +0 -9
- package/esm2022/legacy-input/testing/public-api.mjs +0 -24
- package/esm2022/legacy-list/index.mjs +0 -9
- package/esm2022/legacy-list/legacy-list_public_index.mjs +0 -5
- package/esm2022/legacy-list/list-module.mjs +0 -75
- package/esm2022/legacy-list/list.mjs +0 -223
- package/esm2022/legacy-list/public-api.mjs +0 -22
- package/esm2022/legacy-list/selection-list.mjs +0 -619
- package/esm2022/legacy-list/testing/action-list-harness.mjs +0 -67
- package/esm2022/legacy-list/testing/index.mjs +0 -9
- package/esm2022/legacy-list/testing/list-harness-base.mjs +0 -97
- package/esm2022/legacy-list/testing/list-harness-filters.mjs +0 -9
- package/esm2022/legacy-list/testing/list-harness.mjs +0 -51
- package/esm2022/legacy-list/testing/list-item-harness-base.mjs +0 -74
- package/esm2022/legacy-list/testing/nav-list-harness.mjs +0 -71
- package/esm2022/legacy-list/testing/public-api.mjs +0 -12
- package/esm2022/legacy-list/testing/selection-list-harness.mjs +0 -129
- package/esm2022/legacy-menu/index.mjs +0 -9
- package/esm2022/legacy-menu/legacy-menu_public_index.mjs +0 -5
- package/esm2022/legacy-menu/menu-content.mjs +0 -27
- package/esm2022/legacy-menu/menu-item.mjs +0 -41
- package/esm2022/legacy-menu/menu-module.mjs +0 -50
- package/esm2022/legacy-menu/menu-trigger.mjs +0 -31
- package/esm2022/legacy-menu/menu.mjs +0 -40
- package/esm2022/legacy-menu/public-api.mjs +0 -49
- package/esm2022/legacy-menu/testing/index.mjs +0 -9
- package/esm2022/legacy-menu/testing/menu-harness.mjs +0 -56
- package/esm2022/legacy-menu/testing/public-api.mjs +0 -9
- package/esm2022/legacy-paginator/index.mjs +0 -9
- package/esm2022/legacy-paginator/legacy-paginator_public_index.mjs +0 -5
- package/esm2022/legacy-paginator/paginator-module.mjs +0 -49
- package/esm2022/legacy-paginator/paginator.mjs +0 -53
- package/esm2022/legacy-paginator/public-api.mjs +0 -36
- package/esm2022/legacy-paginator/testing/index.mjs +0 -9
- package/esm2022/legacy-paginator/testing/paginator-harness.mjs +0 -41
- package/esm2022/legacy-paginator/testing/public-api.mjs +0 -15
- package/esm2022/legacy-progress-bar/index.mjs +0 -9
- package/esm2022/legacy-progress-bar/legacy-progress-bar_public_index.mjs +0 -5
- package/esm2022/legacy-progress-bar/progress-bar-module.mjs +0 -30
- package/esm2022/legacy-progress-bar/progress-bar.mjs +0 -190
- package/esm2022/legacy-progress-bar/public-api.mjs +0 -11
- package/esm2022/legacy-progress-bar/testing/index.mjs +0 -9
- package/esm2022/legacy-progress-bar/testing/progress-bar-harness.mjs +0 -38
- package/esm2022/legacy-progress-bar/testing/public-api.mjs +0 -9
- package/esm2022/legacy-progress-spinner/index.mjs +0 -9
- package/esm2022/legacy-progress-spinner/legacy-progress-spinner_public_index.mjs +0 -5
- package/esm2022/legacy-progress-spinner/progress-spinner-module.mjs +0 -30
- package/esm2022/legacy-progress-spinner/progress-spinner.mjs +0 -286
- package/esm2022/legacy-progress-spinner/public-api.mjs +0 -19
- package/esm2022/legacy-progress-spinner/testing/index.mjs +0 -9
- package/esm2022/legacy-progress-spinner/testing/progress-spinner-harness.mjs +0 -39
- package/esm2022/legacy-progress-spinner/testing/public-api.mjs +0 -9
- package/esm2022/legacy-radio/index.mjs +0 -9
- package/esm2022/legacy-radio/legacy-radio_public_index.mjs +0 -5
- package/esm2022/legacy-radio/public-api.mjs +0 -31
- package/esm2022/legacy-radio/radio-module.mjs +0 -29
- package/esm2022/legacy-radio/radio.mjs +0 -112
- package/esm2022/legacy-radio/testing/index.mjs +0 -9
- package/esm2022/legacy-radio/testing/public-api.mjs +0 -9
- package/esm2022/legacy-radio/testing/radio-harness.mjs +0 -58
- package/esm2022/legacy-select/index.mjs +0 -9
- package/esm2022/legacy-select/legacy-select_public_index.mjs +0 -5
- package/esm2022/legacy-select/public-api.mjs +0 -37
- package/esm2022/legacy-select/select-animations.mjs +0 -56
- package/esm2022/legacy-select/select-errors.mjs +0 -39
- package/esm2022/legacy-select/select-module.mjs +0 -51
- package/esm2022/legacy-select/select.mjs +0 -447
- package/esm2022/legacy-select/testing/index.mjs +0 -9
- package/esm2022/legacy-select/testing/public-api.mjs +0 -9
- package/esm2022/legacy-select/testing/select-harness-filters.mjs +0 -9
- package/esm2022/legacy-select/testing/select-harness.mjs +0 -36
- package/esm2022/legacy-slide-toggle/index.mjs +0 -9
- package/esm2022/legacy-slide-toggle/legacy-slide-toggle_public_index.mjs +0 -5
- package/esm2022/legacy-slide-toggle/public-api.mjs +0 -32
- package/esm2022/legacy-slide-toggle/slide-toggle-config.mjs +0 -18
- package/esm2022/legacy-slide-toggle/slide-toggle-module.mjs +0 -42
- package/esm2022/legacy-slide-toggle/slide-toggle.mjs +0 -137
- package/esm2022/legacy-slide-toggle/testing/index.mjs +0 -9
- package/esm2022/legacy-slide-toggle/testing/public-api.mjs +0 -15
- package/esm2022/legacy-slide-toggle/testing/slide-toggle-harness.mjs +0 -50
- package/esm2022/legacy-slider/index.mjs +0 -9
- package/esm2022/legacy-slider/legacy-slider_public_index.mjs +0 -5
- package/esm2022/legacy-slider/public-api.mjs +0 -10
- package/esm2022/legacy-slider/slider-module.mjs +0 -30
- package/esm2022/legacy-slider/slider.mjs +0 -847
- package/esm2022/legacy-slider/testing/index.mjs +0 -9
- package/esm2022/legacy-slider/testing/public-api.mjs +0 -9
- package/esm2022/legacy-slider/testing/slider-harness-filters.mjs +0 -2
- package/esm2022/legacy-slider/testing/slider-harness.mjs +0 -122
- package/esm2022/legacy-snack-bar/index.mjs +0 -9
- package/esm2022/legacy-snack-bar/legacy-snack-bar_public_index.mjs +0 -5
- package/esm2022/legacy-snack-bar/public-api.mjs +0 -53
- package/esm2022/legacy-snack-bar/simple-snack-bar.mjs +0 -45
- package/esm2022/legacy-snack-bar/snack-bar-container.mjs +0 -39
- package/esm2022/legacy-snack-bar/snack-bar-module.mjs +0 -34
- package/esm2022/legacy-snack-bar/snack-bar.mjs +0 -47
- package/esm2022/legacy-snack-bar/testing/index.mjs +0 -9
- package/esm2022/legacy-snack-bar/testing/public-api.mjs +0 -9
- package/esm2022/legacy-snack-bar/testing/snack-bar-harness.mjs +0 -46
- package/esm2022/legacy-table/cell.mjs +0 -163
- package/esm2022/legacy-table/index.mjs +0 -9
- package/esm2022/legacy-table/legacy-table_public_index.mjs +0 -5
- package/esm2022/legacy-table/public-api.mjs +0 -20
- package/esm2022/legacy-table/row.mjs +0 -165
- package/esm2022/legacy-table/table-data-source.mjs +0 -27
- package/esm2022/legacy-table/table-module.mjs +0 -98
- package/esm2022/legacy-table/table.mjs +0 -72
- package/esm2022/legacy-table/testing/cell-harness.mjs +0 -62
- package/esm2022/legacy-table/testing/index.mjs +0 -9
- package/esm2022/legacy-table/testing/public-api.mjs +0 -27
- package/esm2022/legacy-table/testing/row-harness.mjs +0 -76
- package/esm2022/legacy-table/testing/table-harness.mjs +0 -34
- package/esm2022/legacy-table/text-column.mjs +0 -65
- package/esm2022/legacy-tabs/index.mjs +0 -9
- package/esm2022/legacy-tabs/ink-bar.mjs +0 -73
- package/esm2022/legacy-tabs/legacy-tabs_public_index.mjs +0 -5
- package/esm2022/legacy-tabs/public-api.mjs +0 -94
- package/esm2022/legacy-tabs/tab-body.mjs +0 -64
- package/esm2022/legacy-tabs/tab-content.mjs +0 -27
- package/esm2022/legacy-tabs/tab-group.mjs +0 -72
- package/esm2022/legacy-tabs/tab-header.mjs +0 -75
- package/esm2022/legacy-tabs/tab-label-wrapper.mjs +0 -30
- package/esm2022/legacy-tabs/tab-label.mjs +0 -27
- package/esm2022/legacy-tabs/tab-nav-bar/index.mjs +0 -9
- package/esm2022/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -164
- package/esm2022/legacy-tabs/tab.mjs +0 -46
- package/esm2022/legacy-tabs/tabs-module.mjs +0 -99
- package/esm2022/legacy-tabs/testing/index.mjs +0 -9
- package/esm2022/legacy-tabs/testing/public-api.mjs +0 -12
- package/esm2022/legacy-tabs/testing/tab-group-harness.mjs +0 -61
- package/esm2022/legacy-tabs/testing/tab-harness-filters.mjs +0 -2
- package/esm2022/legacy-tabs/testing/tab-harness.mjs +0 -71
- package/esm2022/legacy-tabs/testing/tab-link-harness.mjs +0 -45
- package/esm2022/legacy-tabs/testing/tab-nav-bar-harness.mjs +0 -70
- package/esm2022/legacy-tabs/testing/tab-nav-panel-harness.mjs +0 -31
- package/esm2022/legacy-tooltip/index.mjs +0 -9
- package/esm2022/legacy-tooltip/legacy-tooltip_public_index.mjs +0 -5
- package/esm2022/legacy-tooltip/public-api.mjs +0 -47
- package/esm2022/legacy-tooltip/testing/index.mjs +0 -9
- package/esm2022/legacy-tooltip/testing/public-api.mjs +0 -9
- package/esm2022/legacy-tooltip/testing/tooltip-harness.mjs +0 -35
- package/esm2022/legacy-tooltip/tooltip-animations.mjs +0 -28
- package/esm2022/legacy-tooltip/tooltip-module.mjs +0 -35
- package/esm2022/legacy-tooltip/tooltip.mjs +0 -108
- package/expansion/_expansion-legacy-index.scss +0 -2
- package/expansion/_expansion-theme.import.scss +0 -12
- package/expansion/_expansion-variables.import.scss +0 -1
- package/fesm2022/legacy-autocomplete/testing.mjs +0 -35
- package/fesm2022/legacy-autocomplete/testing.mjs.map +0 -1
- package/fesm2022/legacy-autocomplete.mjs +0 -146
- package/fesm2022/legacy-autocomplete.mjs.map +0 -1
- package/fesm2022/legacy-button/testing.mjs +0 -78
- package/fesm2022/legacy-button/testing.mjs.map +0 -1
- package/fesm2022/legacy-button.mjs +0 -194
- package/fesm2022/legacy-button.mjs.map +0 -1
- package/fesm2022/legacy-card/testing.mjs +0 -43
- package/fesm2022/legacy-card/testing.mjs.map +0 -1
- package/fesm2022/legacy-card.mjs +0 -353
- package/fesm2022/legacy-card.mjs.map +0 -1
- package/fesm2022/legacy-checkbox/testing.mjs +0 -42
- package/fesm2022/legacy-checkbox/testing.mjs.map +0 -1
- package/fesm2022/legacy-checkbox.mjs +0 -157
- package/fesm2022/legacy-checkbox.mjs.map +0 -1
- package/fesm2022/legacy-chips/testing.mjs +0 -365
- package/fesm2022/legacy-chips/testing.mjs.map +0 -1
- package/fesm2022/legacy-chips.mjs +0 -1399
- package/fesm2022/legacy-chips.mjs.map +0 -1
- package/fesm2022/legacy-core/testing.mjs +0 -92
- package/fesm2022/legacy-core/testing.mjs.map +0 -1
- package/fesm2022/legacy-core.mjs +0 -92
- package/fesm2022/legacy-core.mjs.map +0 -1
- package/fesm2022/legacy-dialog/testing.mjs +0 -80
- package/fesm2022/legacy-dialog/testing.mjs.map +0 -1
- package/fesm2022/legacy-dialog.mjs +0 -449
- package/fesm2022/legacy-dialog.mjs.map +0 -1
- package/fesm2022/legacy-form-field/testing.mjs +0 -87
- package/fesm2022/legacy-form-field/testing.mjs.map +0 -1
- package/fesm2022/legacy-form-field.mjs +0 -726
- package/fesm2022/legacy-form-field.mjs.map +0 -1
- package/fesm2022/legacy-input/testing.mjs +0 -2
- package/fesm2022/legacy-input/testing.mjs.map +0 -1
- package/fesm2022/legacy-input.mjs +0 -97
- package/fesm2022/legacy-input.mjs.map +0 -1
- package/fesm2022/legacy-list/testing.mjs +0 -436
- package/fesm2022/legacy-list/testing.mjs.map +0 -1
- package/fesm2022/legacy-list.mjs +0 -891
- package/fesm2022/legacy-list.mjs.map +0 -1
- package/fesm2022/legacy-menu/testing.mjs +0 -52
- package/fesm2022/legacy-menu/testing.mjs.map +0 -1
- package/fesm2022/legacy-menu.mjs +0 -145
- package/fesm2022/legacy-menu.mjs.map +0 -1
- package/fesm2022/legacy-paginator/testing.mjs +0 -38
- package/fesm2022/legacy-paginator/testing.mjs.map +0 -1
- package/fesm2022/legacy-paginator.mjs +0 -92
- package/fesm2022/legacy-paginator.mjs.map +0 -1
- package/fesm2022/legacy-progress-bar/testing.mjs +0 -34
- package/fesm2022/legacy-progress-bar/testing.mjs.map +0 -1
- package/fesm2022/legacy-progress-bar.mjs +0 -210
- package/fesm2022/legacy-progress-bar.mjs.map +0 -1
- package/fesm2022/legacy-progress-spinner/testing.mjs +0 -35
- package/fesm2022/legacy-progress-spinner/testing.mjs.map +0 -1
- package/fesm2022/legacy-progress-spinner.mjs +0 -312
- package/fesm2022/legacy-progress-spinner.mjs.map +0 -1
- package/fesm2022/legacy-radio/testing.mjs +0 -54
- package/fesm2022/legacy-radio/testing.mjs.map +0 -1
- package/fesm2022/legacy-radio.mjs +0 -130
- package/fesm2022/legacy-radio.mjs.map +0 -1
- package/fesm2022/legacy-select/testing.mjs +0 -32
- package/fesm2022/legacy-select/testing.mjs.map +0 -1
- package/fesm2022/legacy-select.mjs +0 -541
- package/fesm2022/legacy-select.mjs.map +0 -1
- package/fesm2022/legacy-slide-toggle/testing.mjs +0 -47
- package/fesm2022/legacy-slide-toggle/testing.mjs.map +0 -1
- package/fesm2022/legacy-slide-toggle.mjs +0 -177
- package/fesm2022/legacy-slide-toggle.mjs.map +0 -1
- package/fesm2022/legacy-slider/testing.mjs +0 -118
- package/fesm2022/legacy-slider/testing.mjs.map +0 -1
- package/fesm2022/legacy-slider.mjs +0 -863
- package/fesm2022/legacy-slider.mjs.map +0 -1
- package/fesm2022/legacy-snack-bar/testing.mjs +0 -42
- package/fesm2022/legacy-snack-bar/testing.mjs.map +0 -1
- package/fesm2022/legacy-snack-bar.mjs +0 -128
- package/fesm2022/legacy-snack-bar.mjs.map +0 -1
- package/fesm2022/legacy-table/testing.mjs +0 -150
- package/fesm2022/legacy-table/testing.mjs.map +0 -1
- package/fesm2022/legacy-table.mjs +0 -538
- package/fesm2022/legacy-table.mjs.map +0 -1
- package/fesm2022/legacy-tabs/testing.mjs +0 -239
- package/fesm2022/legacy-tabs/testing.mjs.map +0 -1
- package/fesm2022/legacy-tabs.mjs +0 -549
- package/fesm2022/legacy-tabs.mjs.map +0 -1
- package/fesm2022/legacy-tooltip/testing.mjs +0 -31
- package/fesm2022/legacy-tooltip/testing.mjs.map +0 -1
- package/fesm2022/legacy-tooltip.mjs +0 -148
- package/fesm2022/legacy-tooltip.mjs.map +0 -1
- package/form-field/_form-field-theme.import.scss +0 -29
- package/form-field/_mdc-text-field-theme-variable-refresh.scss +0 -88
- package/grid-list/_grid-list-legacy-index.scss +0 -2
- package/grid-list/_grid-list-theme.import.scss +0 -10
- package/icon/_icon-legacy-index.scss +0 -2
- package/icon/_icon-theme.import.scss +0 -5
- package/input/_input-theme.import.scss +0 -1
- package/legacy-autocomplete/_autocomplete-legacy-index.scss +0 -2
- package/legacy-autocomplete/_autocomplete-theme.import.scss +0 -7
- package/legacy-autocomplete/_autocomplete-theme.scss +0 -57
- package/legacy-autocomplete/index.d.ts +0 -115
- package/legacy-autocomplete/testing/index.d.ts +0 -41
- package/legacy-button/_button-base.import.scss +0 -21
- package/legacy-button/_button-base.scss +0 -114
- package/legacy-button/_button-legacy-index.scss +0 -22
- package/legacy-button/_button-theme.import.scss +0 -11
- package/legacy-button/_button-theme.scss +0 -223
- package/legacy-button/index.d.ts +0 -87
- package/legacy-button/testing/index.d.ts +0 -49
- package/legacy-card/_card-legacy-index.scss +0 -2
- package/legacy-card/_card-theme.import.scss +0 -10
- package/legacy-card/_card-theme.scss +0 -78
- package/legacy-card/index.d.ts +0 -201
- package/legacy-card/testing/index.d.ts +0 -56
- package/legacy-checkbox/_checkbox-legacy-index.scss +0 -2
- package/legacy-checkbox/_checkbox-theme.import.scss +0 -7
- package/legacy-checkbox/_checkbox-theme.scss +0 -138
- package/legacy-checkbox/index.d.ts +0 -116
- package/legacy-checkbox/testing/index.d.ts +0 -30
- package/legacy-chips/_chips-legacy-index.scss +0 -7
- package/legacy-chips/_chips-theme.import.scss +0 -14
- package/legacy-chips/_chips-theme.scss +0 -133
- package/legacy-chips/index.d.ts +0 -705
- package/legacy-chips/testing/index.d.ts +0 -316
- package/legacy-core/_core-theme.scss +0 -65
- package/legacy-core/_core.import.scss +0 -5
- package/legacy-core/_core.scss +0 -18
- package/legacy-core/color/_all-color.import.scss +0 -4
- package/legacy-core/color/_all-color.scss +0 -28
- package/legacy-core/density/private/_all-density.import.scss +0 -3
- package/legacy-core/density/private/_all-density.scss +0 -46
- package/legacy-core/density/private/_compatibility.import.scss +0 -4
- package/legacy-core/density/private/_compatibility.scss +0 -74
- package/legacy-core/index.d.ts +0 -218
- package/legacy-core/option/_optgroup-theme.import.scss +0 -27
- package/legacy-core/option/_optgroup-theme.scss +0 -52
- package/legacy-core/option/_option-legacy-index.scss +0 -5
- package/legacy-core/option/_option-theme.import.scss +0 -27
- package/legacy-core/option/_option-theme.scss +0 -86
- package/legacy-core/testing/index.d.ts +0 -80
- package/legacy-core/theming/_all-theme.import.scss +0 -3
- package/legacy-core/theming/_all-theme.scss +0 -89
- package/legacy-core/typography/_all-typography.import.scss +0 -4
- package/legacy-core/typography/_all-typography.scss +0 -105
- package/legacy-dialog/_dialog-legacy-index.scss +0 -2
- package/legacy-dialog/_dialog-theme.import.scss +0 -10
- package/legacy-dialog/_dialog-theme.scss +0 -53
- package/legacy-dialog/index.d.ts +0 -271
- package/legacy-dialog/testing/index.d.ts +0 -63
- package/legacy-form-field/_form-field-fill-theme.import.scss +0 -13
- package/legacy-form-field/_form-field-fill-theme.scss +0 -136
- package/legacy-form-field/_form-field-legacy-index.scss +0 -29
- package/legacy-form-field/_form-field-legacy-theme.import.scss +0 -14
- package/legacy-form-field/_form-field-legacy-theme.scss +0 -204
- package/legacy-form-field/_form-field-outline-theme.import.scss +0 -13
- package/legacy-form-field/_form-field-outline-theme.scss +0 -167
- package/legacy-form-field/_form-field-standard-theme.import.scss +0 -11
- package/legacy-form-field/_form-field-standard-theme.scss +0 -55
- package/legacy-form-field/_form-field-theme.import.scss +0 -29
- package/legacy-form-field/_form-field-theme.scss +0 -278
- package/legacy-form-field/index.d.ts +0 -370
- package/legacy-form-field/testing/index.d.ts +0 -76
- package/legacy-input/_input-legacy-index.scss +0 -2
- package/legacy-input/_input-theme.import.scss +0 -11
- package/legacy-input/_input-theme.scss +0 -115
- package/legacy-input/index.d.ts +0 -41
- package/legacy-input/testing/index.d.ts +0 -20
- package/legacy-list/_list-legacy-index.scss +0 -2
- package/legacy-list/_list-theme.import.scss +0 -10
- package/legacy-list/_list-theme.scss +0 -124
- package/legacy-list/index.d.ts +0 -396
- package/legacy-list/testing/index.d.ts +0 -419
- package/legacy-menu/_menu-legacy-index.scss +0 -2
- package/legacy-menu/_menu-theme.import.scss +0 -10
- package/legacy-menu/_menu-theme.scss +0 -84
- package/legacy-menu/index.d.ts +0 -127
- package/legacy-menu/testing/index.d.ts +0 -47
- package/legacy-paginator/_paginator-legacy-index.scss +0 -2
- package/legacy-paginator/_paginator-theme.import.scss +0 -11
- package/legacy-paginator/_paginator-theme.scss +0 -92
- package/legacy-paginator/_paginator-variables.import.scss +0 -1
- package/legacy-paginator/_paginator-variables.scss +0 -13
- package/legacy-paginator/index.d.ts +0 -87
- package/legacy-paginator/testing/index.d.ts +0 -36
- package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +0 -1
- package/legacy-prebuilt-themes/legacy-indigo-pink.css +0 -1
- package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +0 -1
- package/legacy-prebuilt-themes/legacy-purple-green.css +0 -1
- package/legacy-progress-bar/_progress-bar-legacy-index.scss +0 -2
- package/legacy-progress-bar/_progress-bar-theme.import.scss +0 -6
- package/legacy-progress-bar/_progress-bar-theme.scss +0 -93
- package/legacy-progress-bar/index.d.ts +0 -131
- package/legacy-progress-bar/testing/index.d.ts +0 -28
- package/legacy-progress-spinner/_progress-spinner-legacy-index.scss +0 -3
- package/legacy-progress-spinner/_progress-spinner-theme.import.scss +0 -7
- package/legacy-progress-spinner/_progress-spinner-theme.scss +0 -52
- package/legacy-progress-spinner/index.d.ts +0 -129
- package/legacy-progress-spinner/testing/index.d.ts +0 -29
- package/legacy-radio/_radio-legacy-index.scss +0 -2
- package/legacy-radio/_radio-theme.import.scss +0 -8
- package/legacy-radio/_radio-theme.scss +0 -104
- package/legacy-radio/index.d.ts +0 -75
- package/legacy-radio/testing/index.d.ts +0 -50
- package/legacy-select/_select-legacy-index.scss +0 -2
- package/legacy-select/_select-theme.import.scss +0 -11
- package/legacy-select/_select-theme.scss +0 -107
- package/legacy-select/index.d.ts +0 -230
- package/legacy-select/testing/index.d.ts +0 -38
- package/legacy-slide-toggle/_slide-toggle-legacy-index.scss +0 -3
- package/legacy-slide-toggle/_slide-toggle-theme.import.scss +0 -11
- package/legacy-slide-toggle/_slide-toggle-theme.scss +0 -111
- package/legacy-slide-toggle/index.d.ts +0 -113
- package/legacy-slide-toggle/testing/index.d.ts +0 -34
- package/legacy-slider/_slider-legacy-index.scss +0 -3
- package/legacy-slider/_slider-theme.import.scss +0 -8
- package/legacy-slider/_slider-theme.scss +0 -210
- package/legacy-slider/index.d.ts +0 -303
- package/legacy-slider/testing/index.d.ts +0 -68
- package/legacy-snack-bar/_snack-bar-legacy-index.scss +0 -2
- package/legacy-snack-bar/_snack-bar-theme.import.scss +0 -11
- package/legacy-snack-bar/_snack-bar-theme.scss +0 -72
- package/legacy-snack-bar/index.d.ts +0 -118
- package/legacy-snack-bar/testing/index.d.ts +0 -28
- package/legacy-table/_table-legacy-index.scss +0 -3
- package/legacy-table/_table-theme.import.scss +0 -8
- package/legacy-table/_table-theme.scss +0 -78
- package/legacy-table/index.d.ts +0 -298
- package/legacy-table/testing/index.d.ts +0 -149
- package/legacy-tabs/_tabs-common.import.scss +0 -11
- package/legacy-tabs/_tabs-common.scss +0 -173
- package/legacy-tabs/_tabs-legacy-index.scss +0 -6
- package/legacy-tabs/_tabs-theme.import.scss +0 -9
- package/legacy-tabs/_tabs-theme.scss +0 -188
- package/legacy-tabs/index.d.ts +0 -338
- package/legacy-tabs/testing/index.d.ts +0 -195
- package/legacy-tooltip/_tooltip-legacy-index.scss +0 -3
- package/legacy-tooltip/_tooltip-theme.import.scss +0 -9
- package/legacy-tooltip/_tooltip-theme.scss +0 -67
- package/legacy-tooltip/index.d.ts +0 -117
- package/legacy-tooltip/testing/index.d.ts +0 -30
- package/list/_list-theme.import.scss +0 -1
- package/menu/_menu-theme.import.scss +0 -2
- package/paginator/_paginator-theme.import.scss +0 -6
- package/paginator/_paginator-variables.import.scss +0 -1
- package/paginator/_paginator-variables.scss +0 -15
- package/progress-bar/_progress-bar-theme.import.scss +0 -3
- package/progress-spinner/_progress-spinner-theme.import.scss +0 -3
- package/radio/_radio-theme.import.scss +0 -4
- package/select/_select-theme.import.scss +0 -7
- package/sidenav/_sidenav-legacy-index.scss +0 -2
- package/sidenav/_sidenav-theme.import.scss +0 -8
- package/slide-toggle/_slide-toggle-theme.import.scss +0 -7
- package/slider/_slider-theme.import.scss +0 -2
- package/snack-bar/_snack-bar-theme.import.scss +0 -5
- package/sort/_sort-legacy-index.scss +0 -2
- package/sort/_sort-theme.import.scss +0 -5
- package/stepper/_stepper-legacy-index.scss +0 -7
- package/stepper/_stepper-theme.import.scss +0 -16
- package/stepper/_stepper-variables.import.scss +0 -6
- package/table/_table-flex-styles.import.scss +0 -1
- package/table/_table-theme.import.scss +0 -8
- package/tabs/_tabs-common.import.scss +0 -11
- package/tabs/_tabs-theme.import.scss +0 -5
- package/toolbar/_toolbar-legacy-index.scss +0 -4
- package/toolbar/_toolbar-theme.import.scss +0 -14
- package/toolbar/_toolbar-variables.import.scss +0 -1
- package/tooltip/_tooltip-theme.import.scss +0 -2
- package/tree/_tree-legacy-index.scss +0 -2
- package/tree/_tree-theme.import.scss +0 -9
- package/tree/_tree-variables.import.scss +0 -1
|
@@ -5,109 +5,66 @@
|
|
|
5
5
|
@use '../core/tokens/m2/mdc/outlined-text-field' as tokens-mdc-outlined-text-field;
|
|
6
6
|
@use '../core/tokens/m2/mat/form-field' as tokens-mat-form-field;
|
|
7
7
|
@use '../core/theming/theming';
|
|
8
|
+
@use '../core/theming/inspection';
|
|
8
9
|
@use '../core/typography/typography';
|
|
9
|
-
@use '../core/mdc-helpers/mdc-helpers';
|
|
10
10
|
@use '../core/style/sass-utils';
|
|
11
11
|
@use '../core/tokens/token-utils';
|
|
12
12
|
@use './form-field-density';
|
|
13
|
-
@use './form-field-subscript';
|
|
14
|
-
@use './form-field-focus-overlay';
|
|
15
|
-
@use './form-field-native-select';
|
|
16
|
-
@use './mdc-text-field-theme-variable-refresh';
|
|
17
|
-
|
|
18
|
-
@mixin color($config-or-theme) {
|
|
19
|
-
$config: theming.get-color-config($config-or-theme);
|
|
20
13
|
|
|
14
|
+
@mixin color($theme) {
|
|
21
15
|
@include sass-utils.current-selector-or-root() {
|
|
22
16
|
@include mdc-filled-text-field-theme.theme(
|
|
23
|
-
tokens-mdc-filled-text-field.get-color-tokens($
|
|
17
|
+
tokens-mdc-filled-text-field.get-color-tokens($theme));
|
|
24
18
|
@include mdc-outlined-text-field-theme.theme(
|
|
25
|
-
tokens-mdc-outlined-text-field.get-color-tokens($
|
|
19
|
+
tokens-mdc-outlined-text-field.get-color-tokens($theme));
|
|
26
20
|
@include token-utils.create-token-values(tokens-mat-form-field.$prefix,
|
|
27
|
-
tokens-mat-form-field.get-color-tokens($
|
|
21
|
+
tokens-mat-form-field.get-color-tokens($theme));
|
|
28
22
|
}
|
|
29
23
|
|
|
30
|
-
|
|
31
|
-
@include mdc-text-field-theme
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
tokens-mdc-filled-text-field.private-get-color-palette-color-tokens($config, accent));
|
|
39
|
-
@include mdc-outlined-text-field-theme.theme(
|
|
40
|
-
tokens-mdc-outlined-text-field.private-get-color-palette-color-tokens($config, accent));
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.mat-mdc-form-field.mat-warn {
|
|
44
|
-
@include mdc-filled-text-field-theme.theme(
|
|
45
|
-
tokens-mdc-filled-text-field.private-get-color-palette-color-tokens($config, warn));
|
|
46
|
-
@include mdc-outlined-text-field-theme.theme(
|
|
47
|
-
tokens-mdc-outlined-text-field.private-get-color-palette-color-tokens($config, warn));
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// This fixes an issue where the notch appears to be thicker than the rest of the outline when
|
|
51
|
-
// zoomed in on Chrome. The border inconsistency seems to be some kind of rendering artifact
|
|
52
|
-
// that arises from a combination of the fact that the notch contains text, while the leading
|
|
53
|
-
// and trailing outline do not, combined with the fact that the border is semi-transparent.
|
|
54
|
-
// Experimentally, I discovered that adding a transparent left border fixes the inconsistency.
|
|
55
|
-
// Note: class name is repeated to achieve sufficient specificity over the various MDC states.
|
|
56
|
-
// (hover, focus, etc.)
|
|
57
|
-
// TODO(mmalerba): port this fix into MDC
|
|
58
|
-
// TODO(crisbeto): move this into the structural styles
|
|
59
|
-
.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field {
|
|
60
|
-
&.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch {
|
|
61
|
-
border-left: 1px solid transparent;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
24
|
+
.mat-mdc-form-field.mat-accent {
|
|
25
|
+
@include mdc-filled-text-field-theme.theme(
|
|
26
|
+
tokens-mdc-filled-text-field.private-get-color-palette-color-tokens($theme, accent));
|
|
27
|
+
@include mdc-outlined-text-field-theme.theme(
|
|
28
|
+
tokens-mdc-outlined-text-field.private-get-color-palette-color-tokens($theme, accent));
|
|
29
|
+
@include token-utils.create-token-values(tokens-mat-form-field.$prefix,
|
|
30
|
+
tokens-mat-form-field.private-get-color-palette-color-tokens($theme, accent));
|
|
31
|
+
}
|
|
64
32
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
}
|
|
33
|
+
.mat-mdc-form-field.mat-warn {
|
|
34
|
+
@include mdc-filled-text-field-theme.theme(
|
|
35
|
+
tokens-mdc-filled-text-field.private-get-color-palette-color-tokens($theme, warn));
|
|
36
|
+
@include mdc-outlined-text-field-theme.theme(
|
|
37
|
+
tokens-mdc-outlined-text-field.private-get-color-palette-color-tokens($theme, warn));
|
|
38
|
+
@include token-utils.create-token-values(tokens-mat-form-field.$prefix,
|
|
39
|
+
tokens-mat-form-field.private-get-color-palette-color-tokens($theme, warn));
|
|
74
40
|
}
|
|
75
41
|
}
|
|
76
42
|
|
|
77
|
-
@mixin typography($
|
|
78
|
-
$config: typography.private-typography-to-2018-config(
|
|
79
|
-
theming.get-typography-config($config-or-theme));
|
|
80
|
-
|
|
43
|
+
@mixin typography($theme) {
|
|
81
44
|
@include sass-utils.current-selector-or-root() {
|
|
82
45
|
@include mdc-filled-text-field-theme.theme(
|
|
83
|
-
tokens-mdc-filled-text-field.get-typography-tokens($
|
|
46
|
+
tokens-mdc-filled-text-field.get-typography-tokens($theme));
|
|
84
47
|
@include mdc-outlined-text-field-theme.theme(
|
|
85
|
-
tokens-mdc-outlined-text-field.get-typography-tokens($
|
|
48
|
+
tokens-mdc-outlined-text-field.get-typography-tokens($theme));
|
|
86
49
|
@include token-utils.create-token-values(tokens-mat-form-field.$prefix,
|
|
87
|
-
tokens-mat-form-field.get-typography-tokens($
|
|
50
|
+
tokens-mat-form-field.get-typography-tokens($theme));
|
|
88
51
|
}
|
|
89
52
|
}
|
|
90
53
|
|
|
91
|
-
@mixin density($
|
|
92
|
-
|
|
93
|
-
@include form-field-density.private-form-field-density($density-scale);
|
|
54
|
+
@mixin density($theme) {
|
|
55
|
+
@include form-field-density.private-form-field-density($theme);
|
|
94
56
|
}
|
|
95
57
|
|
|
96
|
-
@mixin theme($theme
|
|
97
|
-
$theme: theming.private-legacy-get-theme($theme-or-color-config);
|
|
58
|
+
@mixin theme($theme) {
|
|
98
59
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-form-field') {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
$typography: theming.get-typography-config($theme);
|
|
102
|
-
|
|
103
|
-
@if $color != null {
|
|
104
|
-
@include color($color);
|
|
60
|
+
@if inspection.theme-has($theme, color) {
|
|
61
|
+
@include color($theme);
|
|
105
62
|
}
|
|
106
|
-
@if $density
|
|
107
|
-
@include density($
|
|
63
|
+
@if inspection.theme-has($theme, density) {
|
|
64
|
+
@include density($theme);
|
|
108
65
|
}
|
|
109
|
-
@if $typography
|
|
110
|
-
@include typography($
|
|
66
|
+
@if inspection.theme-has($theme, typography) {
|
|
67
|
+
@include typography($theme);
|
|
111
68
|
}
|
|
112
69
|
}
|
|
113
70
|
}
|
|
@@ -154,4 +154,24 @@
|
|
|
154
154
|
content: none;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
+
// This fixes an issue where the notch appears to be thicker than the rest of the outline when
|
|
158
|
+
// zoomed in on Chrome. The border inconsistency seems to be some kind of rendering artifact
|
|
159
|
+
// that arises from a combination of the fact that the notch contains text, while the leading
|
|
160
|
+
// and trailing outline do not, combined with the fact that the border is semi-transparent.
|
|
161
|
+
// Experimentally, I discovered that adding a transparent left border fixes the inconsistency.
|
|
162
|
+
// Note: class name is repeated to achieve sufficient specificity over the various MDC states.
|
|
163
|
+
// (hover, focus, etc.)
|
|
164
|
+
// TODO(mmalerba): port this fix into MDC
|
|
165
|
+
.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field {
|
|
166
|
+
&.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch {
|
|
167
|
+
border-left: 1px solid transparent;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
[dir='rtl'] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field {
|
|
172
|
+
&.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch {
|
|
173
|
+
border-left: none;
|
|
174
|
+
border-right: 1px solid transparent;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
157
177
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AsyncFactoryFn } from '@angular/cdk/testing';
|
|
2
1
|
import { BaseHarnessFilters } from '@angular/cdk/testing';
|
|
3
2
|
import { ComponentHarness } from '@angular/cdk/testing';
|
|
4
3
|
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
@@ -8,11 +7,6 @@ import { MatDateRangeInputHarness } from '@angular/material/datepicker/testing';
|
|
|
8
7
|
import { MatFormFieldControlHarness } from '@angular/material/form-field/testing/control';
|
|
9
8
|
import { MatInputHarness } from '@angular/material/input/testing';
|
|
10
9
|
import { MatSelectHarness } from '@angular/material/select/testing';
|
|
11
|
-
import { TestElement } from '@angular/cdk/testing';
|
|
12
|
-
|
|
13
|
-
declare interface ErrorBase extends ComponentHarness {
|
|
14
|
-
getText(): Promise<string>;
|
|
15
|
-
}
|
|
16
10
|
|
|
17
11
|
/** A set of criteria that can be used to filter a list of error harness instances. */
|
|
18
12
|
export declare interface ErrorHarnessFilters extends BaseHarnessFilters {
|
|
@@ -34,7 +28,7 @@ export declare interface FormFieldHarnessFilters extends BaseHarnessFilters {
|
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
/** Harness for interacting with an MDC-based `mat-error` in tests. */
|
|
37
|
-
export declare class MatErrorHarness extends
|
|
31
|
+
export declare class MatErrorHarness extends ComponentHarness {
|
|
38
32
|
static hostSelector: string;
|
|
39
33
|
/**
|
|
40
34
|
* Gets a `HarnessPredicate` that can be used to search for an error with specific
|
|
@@ -43,18 +37,24 @@ export declare class MatErrorHarness extends _MatErrorHarnessBase {
|
|
|
43
37
|
* @return a `HarnessPredicate` configured with the given options.
|
|
44
38
|
*/
|
|
45
39
|
static with<T extends MatErrorHarness>(this: ComponentHarnessConstructor<T>, options?: ErrorHarnessFilters): HarnessPredicate<T>;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
export declare abstract class _MatErrorHarnessBase extends ComponentHarness {
|
|
40
|
+
protected static _getErrorPredicate<T extends MatErrorHarness>(type: ComponentHarnessConstructor<T>, options: ErrorHarnessFilters): HarnessPredicate<T>;
|
|
49
41
|
/** Gets a promise for the error's label text. */
|
|
50
42
|
getText(): Promise<string>;
|
|
51
|
-
protected static _getErrorPredicate<T extends MatErrorHarness>(type: ComponentHarnessConstructor<T>, options: ErrorHarnessFilters): HarnessPredicate<T>;
|
|
52
43
|
}
|
|
53
44
|
|
|
54
45
|
export { MatFormFieldControlHarness }
|
|
55
46
|
|
|
56
|
-
|
|
57
|
-
|
|
47
|
+
export declare class MatFormFieldHarness extends ComponentHarness {
|
|
48
|
+
private _prefixContainer;
|
|
49
|
+
private _suffixContainer;
|
|
50
|
+
private _label;
|
|
51
|
+
private _hints;
|
|
52
|
+
private _inputControl;
|
|
53
|
+
private _selectControl;
|
|
54
|
+
private _datepickerInputControl;
|
|
55
|
+
private _dateRangeInputControl;
|
|
56
|
+
private _textField;
|
|
57
|
+
private _errorHarness;
|
|
58
58
|
static hostSelector: string;
|
|
59
59
|
/**
|
|
60
60
|
* Gets a `HarnessPredicate` that can be used to search for a form field with specific
|
|
@@ -63,42 +63,12 @@ export declare class MatFormFieldHarness extends _MatFormFieldHarnessBase<FormFi
|
|
|
63
63
|
* @return a `HarnessPredicate` configured with the given options.
|
|
64
64
|
*/
|
|
65
65
|
static with<T extends MatFormFieldHarness>(this: ComponentHarnessConstructor<T>, options?: FormFieldHarnessFilters): HarnessPredicate<T>;
|
|
66
|
-
protected _prefixContainer: AsyncFactoryFn<TestElement | null>;
|
|
67
|
-
protected _suffixContainer: AsyncFactoryFn<TestElement | null>;
|
|
68
|
-
protected _label: AsyncFactoryFn<TestElement | null>;
|
|
69
|
-
protected _hints: AsyncFactoryFn<TestElement[]>;
|
|
70
|
-
protected _inputControl: AsyncFactoryFn<MatInputHarness | null>;
|
|
71
|
-
protected _selectControl: AsyncFactoryFn<MatSelectHarness | null>;
|
|
72
|
-
protected _datepickerInputControl: AsyncFactoryFn<MatDatepickerInputHarness | null>;
|
|
73
|
-
protected _dateRangeInputControl: AsyncFactoryFn<MatDateRangeInputHarness | null>;
|
|
74
|
-
protected _errorHarness: typeof MatErrorHarness;
|
|
75
|
-
private _mdcTextField;
|
|
76
66
|
/** Gets the appearance of the form-field. */
|
|
77
67
|
getAppearance(): Promise<'fill' | 'outline'>;
|
|
78
68
|
/** Whether the form-field has a label. */
|
|
79
69
|
hasLabel(): Promise<boolean>;
|
|
80
70
|
/** Whether the label is currently floating. */
|
|
81
71
|
isLabelFloating(): Promise<boolean>;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export declare abstract class _MatFormFieldHarnessBase<ControlHarness extends MatFormFieldControlHarness, ErrorType extends ComponentHarnessConstructor<ErrorBase> & {
|
|
85
|
-
with: (options?: ErrorHarnessFilters) => HarnessPredicate<ErrorBase>;
|
|
86
|
-
}> extends ComponentHarness {
|
|
87
|
-
protected abstract _prefixContainer: AsyncFactoryFn<TestElement | null>;
|
|
88
|
-
protected abstract _suffixContainer: AsyncFactoryFn<TestElement | null>;
|
|
89
|
-
protected abstract _label: AsyncFactoryFn<TestElement | null>;
|
|
90
|
-
protected abstract _hints: AsyncFactoryFn<TestElement[]>;
|
|
91
|
-
protected abstract _inputControl: AsyncFactoryFn<ControlHarness | null>;
|
|
92
|
-
protected abstract _selectControl: AsyncFactoryFn<ControlHarness | null>;
|
|
93
|
-
protected abstract _datepickerInputControl: AsyncFactoryFn<ControlHarness | null>;
|
|
94
|
-
protected abstract _dateRangeInputControl: AsyncFactoryFn<ControlHarness | null>;
|
|
95
|
-
protected abstract _errorHarness: ErrorType;
|
|
96
|
-
/** Gets the appearance of the form-field. */
|
|
97
|
-
abstract getAppearance(): Promise<string>;
|
|
98
|
-
/** Whether the label is currently floating. */
|
|
99
|
-
abstract isLabelFloating(): Promise<boolean>;
|
|
100
|
-
/** Whether the form-field has a label. */
|
|
101
|
-
abstract hasLabel(): Promise<boolean>;
|
|
102
72
|
/** Gets the label of the form-field. */
|
|
103
73
|
getLabel(): Promise<string | null>;
|
|
104
74
|
/** Whether the form-field has errors. */
|
|
@@ -112,7 +82,7 @@ export declare abstract class _MatFormFieldHarnessBase<ControlHarness extends Ma
|
|
|
112
82
|
* default controls such as "MatInputHarness" and "MatSelectHarness" are
|
|
113
83
|
* supported.
|
|
114
84
|
*/
|
|
115
|
-
getControl(): Promise<
|
|
85
|
+
getControl(): Promise<FormFieldControlHarness | null>;
|
|
116
86
|
/**
|
|
117
87
|
* Gets the harness of the control that is bound to the form-field. Searches
|
|
118
88
|
* for a control that matches the specified harness type.
|
package/input/_input-theme.scss
CHANGED
|
@@ -1,35 +1,23 @@
|
|
|
1
1
|
@use '../core/theming/theming';
|
|
2
|
+
@use '../core/theming/inspection';
|
|
2
3
|
@use '../core/typography/typography';
|
|
3
|
-
@use '../core/mdc-helpers/mdc-helpers';
|
|
4
4
|
|
|
5
|
-
@mixin color($
|
|
6
|
-
$config: theming.get-color-config($config-or-theme);
|
|
7
|
-
@include mdc-helpers.using-mdc-theme($config) {}
|
|
8
|
-
}
|
|
5
|
+
@mixin color($theme) {}
|
|
9
6
|
|
|
10
|
-
@mixin typography($
|
|
11
|
-
$config: typography.private-typography-to-2018-config(
|
|
12
|
-
theming.get-typography-config($config-or-theme));
|
|
13
|
-
@include mdc-helpers.using-mdc-typography($config) {}
|
|
14
|
-
}
|
|
7
|
+
@mixin typography($theme) {}
|
|
15
8
|
|
|
16
|
-
@mixin density($
|
|
9
|
+
@mixin density($theme) {}
|
|
17
10
|
|
|
18
|
-
@mixin theme($theme
|
|
19
|
-
$theme: theming.private-legacy-get-theme($theme-or-color-config);
|
|
11
|
+
@mixin theme($theme) {
|
|
20
12
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-input') {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
$typography: theming.get-typography-config($theme);
|
|
24
|
-
|
|
25
|
-
@if $color != null {
|
|
26
|
-
@include color($color);
|
|
13
|
+
@if inspection.theme-has($theme, color) {
|
|
14
|
+
@include color($theme);
|
|
27
15
|
}
|
|
28
|
-
@if $density
|
|
29
|
-
@include density($
|
|
16
|
+
@if inspection.theme-has($theme, density) {
|
|
17
|
+
@include density($theme);
|
|
30
18
|
}
|
|
31
|
-
@if $typography
|
|
32
|
-
@include typography($
|
|
19
|
+
@if inspection.theme-has($theme, typography) {
|
|
20
|
+
@include typography($theme);
|
|
33
21
|
}
|
|
34
22
|
}
|
|
35
23
|
}
|
package/list/_list-theme.scss
CHANGED
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
@use '@material/radio/radio-theme' as mdc-radio-theme;
|
|
5
5
|
@use '@material/list/list-theme' as mdc-list-theme;
|
|
6
6
|
|
|
7
|
+
@use '../core/style/sass-utils';
|
|
7
8
|
@use '../core/theming/theming';
|
|
9
|
+
@use '../core/theming/inspection';
|
|
8
10
|
@use '../core/tokens/m2/mdc/checkbox' as tokens-mdc-checkbox;
|
|
9
11
|
@use '../core/tokens/m2/mdc/radio' as tokens-mdc-radio;
|
|
10
12
|
@use '../core/tokens/m2/mdc/list' as tokens-mdc-list;
|
|
11
13
|
@use '../core/typography/typography';
|
|
12
|
-
@use '../core/typography/typography-utils';
|
|
13
14
|
|
|
14
|
-
@mixin
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
$inner-control-primary: map.merge($config, (accent: $primary));
|
|
21
|
-
$inner-control-accent: map.merge($config, (accent: $accent));
|
|
22
|
-
$inner-control-warn: map.merge($config, (accent: $warn));
|
|
15
|
+
@mixin base($config-or-theme) {
|
|
16
|
+
// Add default values for tokens not related to color, typography, or density.
|
|
17
|
+
@include sass-utils.current-selector-or-root() {
|
|
18
|
+
@include mdc-list-theme.theme(tokens-mdc-list.get-unthemable-tokens());
|
|
19
|
+
}
|
|
20
|
+
}
|
|
23
21
|
|
|
22
|
+
@mixin color($theme) {
|
|
23
|
+
$mdc-list-color-tokens: tokens-mdc-list.get-color-tokens($theme);
|
|
24
24
|
|
|
25
25
|
// Add values for MDC list tokens.
|
|
26
26
|
.mat-mdc-list-base {
|
|
@@ -29,37 +29,37 @@
|
|
|
29
29
|
|
|
30
30
|
.mdc-list-item__start,
|
|
31
31
|
.mdc-list-item__end {
|
|
32
|
-
@include mdc-radio-theme.theme(tokens-mdc-radio.get-color-tokens($
|
|
32
|
+
@include mdc-radio-theme.theme(tokens-mdc-radio.get-color-tokens($theme, primary));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.mat-accent {
|
|
36
36
|
.mdc-list-item__start,
|
|
37
37
|
.mdc-list-item__end {
|
|
38
|
-
@include mdc-radio-theme.theme(tokens-mdc-radio.get-color-tokens($
|
|
38
|
+
@include mdc-radio-theme.theme(tokens-mdc-radio.get-color-tokens($theme, accent));
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.mat-warn {
|
|
43
43
|
.mdc-list-item__start,
|
|
44
44
|
.mdc-list-item__end {
|
|
45
|
-
@include mdc-radio-theme.theme(tokens-mdc-radio.get-color-tokens($
|
|
45
|
+
@include mdc-radio-theme.theme(tokens-mdc-radio.get-color-tokens($theme, warn));
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.mat-mdc-list-option {
|
|
50
|
-
@include mdc-checkbox-theme.theme(tokens-mdc-checkbox.get-color-tokens($
|
|
50
|
+
@include mdc-checkbox-theme.theme(tokens-mdc-checkbox.get-color-tokens($theme, primary));
|
|
51
51
|
}
|
|
52
52
|
.mat-mdc-list-option.mat-accent {
|
|
53
|
-
@include mdc-checkbox-theme.theme(tokens-mdc-checkbox.get-color-tokens($
|
|
53
|
+
@include mdc-checkbox-theme.theme(tokens-mdc-checkbox.get-color-tokens($theme, accent));
|
|
54
54
|
}
|
|
55
55
|
.mat-mdc-list-option.mat-warn {
|
|
56
|
-
@include mdc-checkbox-theme.theme(tokens-mdc-checkbox.get-color-tokens($
|
|
56
|
+
@include mdc-checkbox-theme.theme(tokens-mdc-checkbox.get-color-tokens($theme, warn));
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
// There is no token for activated color on nav list.
|
|
60
60
|
// TODO(mmalerba): Add a token to MDC or make a custom one.
|
|
61
61
|
.mat-mdc-list-base.mat-mdc-list-base {
|
|
62
|
-
@include evolution-mixins.list-selected-ink-color(
|
|
62
|
+
@include evolution-mixins.list-selected-ink-color(inspection.get-theme-color($theme, primary));
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
// TODO(mmalerba): Leaking styles from the old MDC list mixins used in other components can cause
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
@mixin density($
|
|
78
|
-
$density-scale:
|
|
79
|
-
$mdc-list-density-tokens: tokens-mdc-list.get-density-tokens($
|
|
77
|
+
@mixin density($theme) {
|
|
78
|
+
$density-scale: inspection.get-theme-density($theme);
|
|
79
|
+
$mdc-list-density-tokens: tokens-mdc-list.get-density-tokens($theme);
|
|
80
80
|
|
|
81
81
|
// Add values for MDC list tokens.
|
|
82
82
|
.mat-mdc-list-base {
|
|
@@ -86,7 +86,6 @@
|
|
|
86
86
|
// TODO(mmalerba): This is added to maintain the same style MDC used prior to the token-based API,
|
|
87
87
|
// to avoid screenshot diffs. We should remove it in favor of following MDC's current style, or
|
|
88
88
|
// add custom tokens for it.
|
|
89
|
-
$clamped-density-scale: theming.clamp-density($density-scale, -5);
|
|
90
89
|
.mat-mdc-list-item {
|
|
91
90
|
&.mdc-list-item--with-leading-avatar,
|
|
92
91
|
&.mdc-list-item--with-leading-checkbox,
|
|
@@ -99,7 +98,7 @@
|
|
|
99
98
|
-3: 44px,
|
|
100
99
|
-4: 40px,
|
|
101
100
|
-5: 40px,
|
|
102
|
-
), $
|
|
101
|
+
), $density-scale);
|
|
103
102
|
}
|
|
104
103
|
|
|
105
104
|
&.mdc-list-item--with-two-lines {
|
|
@@ -110,16 +109,14 @@
|
|
|
110
109
|
-3: 60px,
|
|
111
110
|
-4: 56px,
|
|
112
111
|
-5: 56px,
|
|
113
|
-
), $
|
|
112
|
+
), $density-scale);
|
|
114
113
|
}
|
|
115
114
|
}
|
|
116
115
|
}
|
|
117
116
|
}
|
|
118
117
|
|
|
119
|
-
@mixin typography($
|
|
120
|
-
$
|
|
121
|
-
theming.get-typography-config($config-or-theme));
|
|
122
|
-
$mdc-list-typography-tokens: tokens-mdc-list.get-typography-tokens($config);
|
|
118
|
+
@mixin typography($theme) {
|
|
119
|
+
$mdc-list-typography-tokens: tokens-mdc-list.get-typography-tokens($theme);
|
|
123
120
|
|
|
124
121
|
// Add values for MDC list tokens.
|
|
125
122
|
.mat-mdc-list-base {
|
|
@@ -129,25 +126,22 @@
|
|
|
129
126
|
// MDC does not have tokens for the subheader.
|
|
130
127
|
// TODO(mmalerba): Discuss with MDC about adding them, or create custom tokens.
|
|
131
128
|
.mdc-list-group__subheader {
|
|
132
|
-
|
|
129
|
+
font: inspection.get-theme-typography($theme, subtitle-1, font);
|
|
130
|
+
letter-spacing: inspection.get-theme-typography($theme, subtitle-1, letter-spacing);
|
|
133
131
|
}
|
|
134
132
|
}
|
|
135
133
|
|
|
136
|
-
@mixin theme($theme
|
|
137
|
-
$theme: theming.private-legacy-get-theme($theme-or-color-config);
|
|
134
|
+
@mixin theme($theme) {
|
|
138
135
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-list') {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
@if $color != null {
|
|
144
|
-
@include color($color);
|
|
136
|
+
@include base($theme);
|
|
137
|
+
@if inspection.theme-has($theme, color) {
|
|
138
|
+
@include color($theme);
|
|
145
139
|
}
|
|
146
|
-
@if $density
|
|
147
|
-
@include density($
|
|
140
|
+
@if inspection.theme-has($theme, density) {
|
|
141
|
+
@include density($theme);
|
|
148
142
|
}
|
|
149
|
-
@if $typography
|
|
150
|
-
@include typography($
|
|
143
|
+
@if inspection.theme-has($theme, typography) {
|
|
144
|
+
@include typography($theme);
|
|
151
145
|
}
|
|
152
146
|
}
|
|
153
147
|
}
|
package/menu/index.d.ts
CHANGED
|
@@ -48,7 +48,6 @@ declare namespace i1 {
|
|
|
48
48
|
MenuCloseReason,
|
|
49
49
|
MatMenuDefaultOptions,
|
|
50
50
|
MAT_MENU_DEFAULT_OPTIONS,
|
|
51
|
-
_MatMenuBase,
|
|
52
51
|
MatMenu
|
|
53
52
|
}
|
|
54
53
|
}
|
|
@@ -62,7 +61,6 @@ declare namespace i2 {
|
|
|
62
61
|
declare namespace i3 {
|
|
63
62
|
export {
|
|
64
63
|
MAT_MENU_CONTENT,
|
|
65
|
-
_MatMenuContentBase,
|
|
66
64
|
MatMenuContent
|
|
67
65
|
}
|
|
68
66
|
}
|
|
@@ -73,7 +71,6 @@ declare namespace i4 {
|
|
|
73
71
|
MAT_MENU_SCROLL_STRATEGY,
|
|
74
72
|
MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER,
|
|
75
73
|
MENU_PANEL_TOP_PADDING,
|
|
76
|
-
_MatMenuTriggerBase,
|
|
77
74
|
MatMenuTrigger
|
|
78
75
|
}
|
|
79
76
|
}
|
|
@@ -110,27 +107,7 @@ export declare const MAT_MENU_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
|
110
107
|
useFactory: typeof MAT_MENU_SCROLL_STRATEGY_FACTORY;
|
|
111
108
|
};
|
|
112
109
|
|
|
113
|
-
export declare class MatMenu
|
|
114
|
-
protected _elevationPrefix: string;
|
|
115
|
-
protected _baseElevation: number;
|
|
116
|
-
constructor(elementRef: ElementRef<HTMLElement>, ngZone: NgZone, defaultOptions: MatMenuDefaultOptions);
|
|
117
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenu, never>;
|
|
118
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenu, "mat-menu", ["matMenu"], {}, {}, never, ["*"], false, never>;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* Animations used by the mat-menu component.
|
|
123
|
-
* Animation duration and timing values are based on:
|
|
124
|
-
* https://material.io/guidelines/components/menus.html#menus-usage
|
|
125
|
-
* @docs-private
|
|
126
|
-
*/
|
|
127
|
-
export declare const matMenuAnimations: {
|
|
128
|
-
readonly transformMenu: AnimationTriggerMetadata;
|
|
129
|
-
readonly fadeInItems: AnimationTriggerMetadata;
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
/** Base class with all of the `MatMenu` functionality. */
|
|
133
|
-
export declare class _MatMenuBase implements AfterContentInit, MatMenuPanel<MatMenuItem>, OnInit, OnDestroy {
|
|
110
|
+
export declare class MatMenu implements AfterContentInit, MatMenuPanel<MatMenuItem>, OnInit, OnDestroy {
|
|
134
111
|
private _elementRef;
|
|
135
112
|
private _ngZone;
|
|
136
113
|
private _changeDetectorRef?;
|
|
@@ -139,8 +116,8 @@ export declare class _MatMenuBase implements AfterContentInit, MatMenuPanel<MatM
|
|
|
139
116
|
private _yPosition;
|
|
140
117
|
private _firstItemFocusSubscription?;
|
|
141
118
|
private _previousElevation;
|
|
142
|
-
|
|
143
|
-
|
|
119
|
+
private _elevationPrefix;
|
|
120
|
+
private _baseElevation;
|
|
144
121
|
/** All items inside the menu. Includes items nested inside another menu. */
|
|
145
122
|
_allItems: QueryList<MatMenuItem>;
|
|
146
123
|
/** Only the direct descendant menu items. */
|
|
@@ -280,17 +257,23 @@ export declare class _MatMenuBase implements AfterContentInit, MatMenuPanel<MatM
|
|
|
280
257
|
* when it comes to maintaining the item order.
|
|
281
258
|
*/
|
|
282
259
|
private _updateDirectDescendants;
|
|
283
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
284
|
-
static
|
|
260
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenu, never>;
|
|
261
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatMenu, "mat-menu", ["matMenu"], { "backdropClass": { "alias": "backdropClass"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "overlapTrigger": { "alias": "overlapTrigger"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "panelClass": { "alias": "class"; "required": false; }; "classList": { "alias": "classList"; "required": false; }; }, { "closed": "closed"; "close": "close"; }, ["lazyContent", "_allItems", "items"], ["*"], false, never>;
|
|
285
262
|
}
|
|
286
263
|
|
|
287
|
-
/**
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
264
|
+
/**
|
|
265
|
+
* Animations used by the mat-menu component.
|
|
266
|
+
* Animation duration and timing values are based on:
|
|
267
|
+
* https://material.io/guidelines/components/menus.html#menus-usage
|
|
268
|
+
* @docs-private
|
|
269
|
+
*/
|
|
270
|
+
export declare const matMenuAnimations: {
|
|
271
|
+
readonly transformMenu: AnimationTriggerMetadata;
|
|
272
|
+
readonly fadeInItems: AnimationTriggerMetadata;
|
|
273
|
+
};
|
|
292
274
|
|
|
293
|
-
|
|
275
|
+
/** Menu content that will be rendered lazily once the menu is opened. */
|
|
276
|
+
export declare class MatMenuContent implements OnDestroy {
|
|
294
277
|
private _template;
|
|
295
278
|
private _componentFactoryResolver;
|
|
296
279
|
private _appRef;
|
|
@@ -319,8 +302,8 @@ export declare abstract class _MatMenuContentBase implements OnDestroy {
|
|
|
319
302
|
*/
|
|
320
303
|
detach(): void;
|
|
321
304
|
ngOnDestroy(): void;
|
|
322
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
323
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
305
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuContent, never>;
|
|
306
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatMenuContent, "ng-template[matMenuContent]", never, {}, {}, never, never, false, never>;
|
|
324
307
|
}
|
|
325
308
|
|
|
326
309
|
/** Default `mat-menu` options that can be overridden. */
|
|
@@ -430,12 +413,7 @@ export declare interface MatMenuPanel<T = any> {
|
|
|
430
413
|
}
|
|
431
414
|
|
|
432
415
|
/** Directive applied to an element that should trigger a `mat-menu`. */
|
|
433
|
-
export declare class MatMenuTrigger
|
|
434
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuTrigger, never>;
|
|
435
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatMenuTrigger, "[mat-menu-trigger-for], [matMenuTriggerFor]", ["matMenuTrigger"], {}, {}, never, never, false, never>;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
export declare abstract class _MatMenuTriggerBase implements AfterContentInit, OnDestroy {
|
|
416
|
+
export declare class MatMenuTrigger implements AfterContentInit, OnDestroy {
|
|
439
417
|
private _overlay;
|
|
440
418
|
private _element;
|
|
441
419
|
private _viewContainerRef;
|
|
@@ -579,8 +557,8 @@ export declare abstract class _MatMenuTriggerBase implements AfterContentInit, O
|
|
|
579
557
|
private _handleHover;
|
|
580
558
|
/** Gets the portal that should be attached to the overlay. */
|
|
581
559
|
private _getPortal;
|
|
582
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
583
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
560
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatMenuTrigger, [null, null, null, null, { optional: true; }, { optional: true; self: true; }, { optional: true; }, null, null]>;
|
|
561
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatMenuTrigger, "[mat-menu-trigger-for], [matMenuTriggerFor]", ["matMenuTrigger"], { "_deprecatedMatMenuTriggerFor": { "alias": "mat-menu-trigger-for"; "required": false; }; "menu": { "alias": "matMenuTriggerFor"; "required": false; }; "menuData": { "alias": "matMenuTriggerData"; "required": false; }; "restoreFocus": { "alias": "matMenuTriggerRestoreFocus"; "required": false; }; }, { "menuOpened": "menuOpened"; "onMenuOpen": "onMenuOpen"; "menuClosed": "menuClosed"; "onMenuClose": "onMenuClose"; }, never, never, false, never>;
|
|
584
562
|
}
|
|
585
563
|
|
|
586
564
|
/**
|