@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
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
@use '../../../theming/
|
|
1
|
+
@use '../../../theming/inspection';
|
|
2
2
|
@use '../../../style/sass-utils';
|
|
3
3
|
@use '../../token-utils';
|
|
4
4
|
@use 'sass:color';
|
|
5
|
-
@use 'sass:map';
|
|
6
5
|
@use 'sass:meta';
|
|
7
6
|
|
|
8
7
|
// The prefix used to generate the fully qualified name for tokens in this file.
|
|
@@ -27,26 +26,26 @@ $prefix: (mdc, linear-progress);
|
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
30
|
-
@function get-color-tokens($
|
|
31
|
-
$
|
|
29
|
+
@function get-color-tokens($theme, $palette-name: primary) {
|
|
30
|
+
$palette-color: inspection.get-theme-color($theme, $palette-name);
|
|
32
31
|
@return (
|
|
33
32
|
// The color of the progress bar's active section.
|
|
34
|
-
active-indicator-color: $
|
|
33
|
+
active-indicator-color: $palette-color,
|
|
35
34
|
track-color: if(
|
|
36
|
-
meta.type-of($
|
|
37
|
-
color.adjust($
|
|
38
|
-
$
|
|
35
|
+
meta.type-of($palette-color) == color,
|
|
36
|
+
color.adjust($palette-color, $alpha: -0.75),
|
|
37
|
+
$palette-color
|
|
39
38
|
)
|
|
40
39
|
);
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
44
|
-
@function get-typography-tokens($
|
|
43
|
+
@function get-typography-tokens($theme) {
|
|
45
44
|
@return ();
|
|
46
45
|
}
|
|
47
46
|
|
|
48
47
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
49
|
-
@function get-density-tokens($
|
|
48
|
+
@function get-density-tokens($theme) {
|
|
50
49
|
@return ();
|
|
51
50
|
}
|
|
52
51
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use '../../../theming/
|
|
3
|
-
@use '../../../typography/typography-utils';
|
|
2
|
+
@use '../../../theming/inspection';
|
|
4
3
|
@use '../../../style/sass-utils';
|
|
5
4
|
@use '../../token-utils';
|
|
6
5
|
|
|
@@ -83,96 +82,99 @@ $prefix: (mdc, list);
|
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
86
|
-
@function get-color-tokens($
|
|
87
|
-
$
|
|
88
|
-
$
|
|
89
|
-
$foreground-
|
|
90
|
-
$text-
|
|
91
|
-
|
|
85
|
+
@function get-color-tokens($theme) {
|
|
86
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
87
|
+
$foreground-base: inspection.get-theme-color($theme, foreground, base);
|
|
88
|
+
$foreground-text: inspection.get-theme-color($theme, foreground, text);
|
|
89
|
+
$foreground-secondary-text: inspection.get-theme-color($theme, foreground, secondary-text);
|
|
90
|
+
$foreground-hint-text: inspection.get-theme-color($theme, foreground, hint-text);
|
|
91
|
+
$text-icon-on-background: sass-utils.safe-color-change(
|
|
92
|
+
$foreground-base, $alpha: if($is-dark, 0.5, 0.38));
|
|
92
93
|
|
|
93
94
|
@return (
|
|
94
95
|
// Text color of the list item primary text.
|
|
95
|
-
list-item-label-text-color:
|
|
96
|
+
list-item-label-text-color: $foreground-text,
|
|
96
97
|
// Text color of the list item supporting text.
|
|
97
|
-
list-item-supporting-text-color:
|
|
98
|
+
list-item-supporting-text-color: $foreground-secondary-text,
|
|
98
99
|
// Color of the list item's leading icon.
|
|
99
100
|
list-item-leading-icon-color: $text-icon-on-background,
|
|
100
101
|
// Text color of the list item's trailing text.
|
|
101
|
-
list-item-trailing-supporting-text-color:
|
|
102
|
-
$foreground, hint-text),
|
|
102
|
+
list-item-trailing-supporting-text-color: $foreground-hint-text,
|
|
103
103
|
// Color of the list item's trailing icon.
|
|
104
104
|
list-item-trailing-icon-color: $text-icon-on-background,
|
|
105
105
|
// Color of the list item's trailing icon when the item is selected.
|
|
106
106
|
list-item-selected-trailing-icon-color: $text-icon-on-background,
|
|
107
107
|
// Text color of the list item's primary text when the item is disabled.
|
|
108
|
-
list-item-disabled-label-text-color:
|
|
108
|
+
list-item-disabled-label-text-color: $foreground-base,
|
|
109
109
|
// Color of the list item's leading icon when the item is disabled.
|
|
110
|
-
list-item-disabled-leading-icon-color:
|
|
110
|
+
list-item-disabled-leading-icon-color: $foreground-base,
|
|
111
111
|
// Color of the list item's trailing icon when the item is disabled.
|
|
112
|
-
list-item-disabled-trailing-icon-color:
|
|
112
|
+
list-item-disabled-trailing-icon-color: $foreground-base,
|
|
113
113
|
// Color of the list item's primary text when the item is being hovered.
|
|
114
|
-
list-item-hover-label-text-color:
|
|
114
|
+
list-item-hover-label-text-color: $foreground-text,
|
|
115
115
|
// Color of the list item's leading icon when the item is being hovered.
|
|
116
116
|
list-item-hover-leading-icon-color: $text-icon-on-background,
|
|
117
117
|
// Color of the list item's trailing icon when the item is being hovered.
|
|
118
118
|
list-item-hover-trailing-icon-color: $text-icon-on-background,
|
|
119
119
|
// Color of the list item's primary text when the item is focused.
|
|
120
|
-
list-item-focus-label-text-color:
|
|
120
|
+
list-item-focus-label-text-color: $foreground-text,
|
|
121
121
|
// Color of the list item's overlay when the item is hovered.
|
|
122
|
-
list-item-hover-state-layer-color:
|
|
122
|
+
list-item-hover-state-layer-color: $foreground-base,
|
|
123
123
|
// Opacity of the list item's overlay when the item is hovered.
|
|
124
124
|
list-item-hover-state-layer-opacity: if($is-dark, 0.08, 0.04),
|
|
125
125
|
// Color of the list item's overlay when the item is focused.
|
|
126
|
-
list-item-focus-state-layer-color:
|
|
126
|
+
list-item-focus-state-layer-color: $foreground-base,
|
|
127
127
|
// Opacity of the list item's overlay when the item is focused.
|
|
128
128
|
list-item-focus-state-layer-opacity: if($is-dark, 0.24, 0.12),
|
|
129
129
|
);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
133
|
-
@function get-typography-tokens($
|
|
133
|
+
@function get-typography-tokens($theme) {
|
|
134
134
|
@return (
|
|
135
135
|
// Font family of the list item primary text.
|
|
136
|
-
list-item-label-text-font:
|
|
137
|
-
or typography-utils.font-family($config),
|
|
136
|
+
list-item-label-text-font: inspection.get-theme-typography($theme, body-1, font-family),
|
|
138
137
|
// Line height of the list item primary text.
|
|
139
|
-
list-item-label-text-line-height:
|
|
138
|
+
list-item-label-text-line-height: inspection.get-theme-typography($theme, body-1, line-height),
|
|
140
139
|
// Font size of the list item primary text.
|
|
141
|
-
list-item-label-text-size:
|
|
140
|
+
list-item-label-text-size: inspection.get-theme-typography($theme, body-1, font-size),
|
|
142
141
|
// Letter spacing of the list item primary text.
|
|
143
|
-
list-item-label-text-tracking:
|
|
142
|
+
list-item-label-text-tracking: inspection.get-theme-typography($theme, body-1, letter-spacing),
|
|
144
143
|
// Font weight of the list item primary text.
|
|
145
|
-
list-item-label-text-weight:
|
|
144
|
+
list-item-label-text-weight: inspection.get-theme-typography($theme, body-1, font-weight),
|
|
146
145
|
// Font family of the list item supporting text.
|
|
147
|
-
list-item-supporting-text-font:
|
|
148
|
-
or typography-utils.font-family($config),
|
|
146
|
+
list-item-supporting-text-font: inspection.get-theme-typography($theme, body-2, font-family),
|
|
149
147
|
// Line height of the list item supporting text.
|
|
150
|
-
list-item-supporting-text-line-height:
|
|
148
|
+
list-item-supporting-text-line-height:inspection.get-theme-typography(
|
|
149
|
+
$theme, body-2, line-height),
|
|
151
150
|
// Font size of the list item supporting text.
|
|
152
|
-
list-item-supporting-text-size:
|
|
151
|
+
list-item-supporting-text-size: inspection.get-theme-typography($theme, body-2, font-size),
|
|
153
152
|
// Letter spacing of the list item supporting text.
|
|
154
|
-
list-item-supporting-text-tracking:
|
|
153
|
+
list-item-supporting-text-tracking: inspection.get-theme-typography(
|
|
154
|
+
$theme, body-2, letter-spacing),
|
|
155
155
|
// Font weight of the list item supporting text.
|
|
156
|
-
list-item-supporting-text-weight:
|
|
156
|
+
list-item-supporting-text-weight: inspection.get-theme-typography($theme, body-2, font-weight),
|
|
157
157
|
// Font family of the list item's trailing text.
|
|
158
|
-
list-item-trailing-supporting-text-font:
|
|
159
|
-
|
|
158
|
+
list-item-trailing-supporting-text-font: inspection.get-theme-typography(
|
|
159
|
+
$theme, caption, font-family),
|
|
160
160
|
// Line height of the list item's trailing text.
|
|
161
|
-
list-item-trailing-supporting-text-line-height:
|
|
162
|
-
$
|
|
161
|
+
list-item-trailing-supporting-text-line-height: inspection.get-theme-typography(
|
|
162
|
+
$theme, caption, line-height),
|
|
163
163
|
// Font size of the list item's trailing text.
|
|
164
|
-
list-item-trailing-supporting-text-size:
|
|
164
|
+
list-item-trailing-supporting-text-size: inspection.get-theme-typography(
|
|
165
|
+
$theme, caption, font-size),
|
|
165
166
|
// Letter spacing color of the list item's trailing text.
|
|
166
|
-
list-item-trailing-supporting-text-tracking:
|
|
167
|
-
$
|
|
167
|
+
list-item-trailing-supporting-text-tracking: inspection.get-theme-typography(
|
|
168
|
+
$theme, caption, letter-spacing),
|
|
168
169
|
// Font weight of the list item's trailing text.
|
|
169
|
-
list-item-trailing-supporting-text-weight:
|
|
170
|
+
list-item-trailing-supporting-text-weight: inspection.get-theme-typography(
|
|
171
|
+
$theme, caption, font-weight),
|
|
170
172
|
);
|
|
171
173
|
}
|
|
172
174
|
|
|
173
175
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
174
|
-
@function get-density-tokens($
|
|
175
|
-
$scale:
|
|
176
|
+
@function get-density-tokens($theme) {
|
|
177
|
+
$scale: inspection.get-theme-density($theme);
|
|
176
178
|
|
|
177
179
|
@return (
|
|
178
180
|
// Height of one line list items.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
1
|
@use '../../../style/elevation';
|
|
3
|
-
@use '../../../theming/
|
|
2
|
+
@use '../../../theming/inspection';
|
|
4
3
|
@use '../../../style/sass-utils';
|
|
5
4
|
@use '../../token-utils';
|
|
6
5
|
|
|
@@ -51,16 +50,14 @@ $prefix: (mdc, outlined-card);
|
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
54
|
-
@function get-color-tokens($
|
|
55
|
-
$
|
|
56
|
-
$foreground: map.get($config, foreground);
|
|
57
|
-
$elevation: theming.get-color-from-palette($foreground, elevation);
|
|
53
|
+
@function get-color-tokens($theme) {
|
|
54
|
+
$elevation: inspection.get-theme-color($theme, foreground, elevation);
|
|
58
55
|
|
|
59
56
|
@return (
|
|
60
57
|
// The background color of the card.
|
|
61
|
-
container-color:
|
|
58
|
+
container-color: inspection.get-theme-color($theme, background, card),
|
|
62
59
|
// The border color of the card.
|
|
63
|
-
outline-color:
|
|
60
|
+
outline-color: rgba(inspection.get-theme-color($theme, foreground, base), 0.12),
|
|
64
61
|
// The elevation level of the card.
|
|
65
62
|
// (Part of the color tokens because it needs to be combined with the shadow color to generate
|
|
66
63
|
// the final box-shadow).
|
|
@@ -71,12 +68,12 @@ $prefix: (mdc, outlined-card);
|
|
|
71
68
|
}
|
|
72
69
|
|
|
73
70
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
74
|
-
@function get-typography-tokens($
|
|
71
|
+
@function get-typography-tokens($theme) {
|
|
75
72
|
@return ();
|
|
76
73
|
}
|
|
77
74
|
|
|
78
75
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
79
|
-
@function get-density-tokens($
|
|
76
|
+
@function get-density-tokens($theme) {
|
|
80
77
|
@return ();
|
|
81
78
|
}
|
|
82
79
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
-
@use '../../../theming/
|
|
2
|
+
@use '../../../theming/inspection';
|
|
3
3
|
@use '../../../style/sass-utils';
|
|
4
|
-
@use '../../../typography/typography-utils';
|
|
5
4
|
@use '../../token-utils';
|
|
6
5
|
|
|
7
6
|
// The prefix used to generate the fully qualified name for tokens in this file.
|
|
@@ -87,13 +86,11 @@ $prefix: (mdc, outlined-text-field);
|
|
|
87
86
|
}
|
|
88
87
|
|
|
89
88
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
90
|
-
@function get-color-tokens($
|
|
91
|
-
$
|
|
92
|
-
$warn: map.get($config, warn);
|
|
93
|
-
$is-dark: map.get($config, is-dark);
|
|
89
|
+
@function get-color-tokens($theme) {
|
|
90
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
94
91
|
$on-surface: if($is-dark, #fff, #000);
|
|
95
|
-
$warn-color:
|
|
96
|
-
$color-tokens: private-get-color-palette-color-tokens($
|
|
92
|
+
$warn-color: inspection.get-theme-color($theme, warn);
|
|
93
|
+
$color-tokens: private-get-color-palette-color-tokens($theme, primary);
|
|
97
94
|
|
|
98
95
|
@return map.merge($color-tokens, (
|
|
99
96
|
label-text-color: rgba($on-surface, 0.6),
|
|
@@ -117,32 +114,29 @@ $prefix: (mdc, outlined-text-field);
|
|
|
117
114
|
));
|
|
118
115
|
}
|
|
119
116
|
|
|
120
|
-
// Generates the mapping for the properties that change based on the
|
|
121
|
-
@function private-get-color-palette-color-tokens($
|
|
122
|
-
$palette:
|
|
123
|
-
$palette-color: theming.get-color-from-palette($palette);
|
|
117
|
+
// Generates the mapping for the properties that change based on the text field color.
|
|
118
|
+
@function private-get-color-palette-color-tokens($theme, $palette-name) {
|
|
119
|
+
$palette-color: inspection.get-theme-color($theme, $palette-name);
|
|
124
120
|
|
|
125
121
|
@return (
|
|
126
122
|
caret-color: $palette-color,
|
|
127
123
|
focus-outline-color: $palette-color,
|
|
128
|
-
focus-label-text-color:
|
|
124
|
+
focus-label-text-color: sass-utils.safe-color-change($palette-color, $alpha: 0.87),
|
|
129
125
|
);
|
|
130
126
|
}
|
|
131
127
|
|
|
132
128
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
133
|
-
@function get-typography-tokens($
|
|
134
|
-
$fallback-font-family: typography-utils.font-family($config);
|
|
135
|
-
|
|
129
|
+
@function get-typography-tokens($theme) {
|
|
136
130
|
@return (
|
|
137
|
-
label-text-font:
|
|
138
|
-
label-text-size:
|
|
139
|
-
label-text-tracking:
|
|
140
|
-
label-text-weight:
|
|
131
|
+
label-text-font: inspection.get-theme-typography($theme, body-1, font-family),
|
|
132
|
+
label-text-size: inspection.get-theme-typography($theme, body-1, font-size),
|
|
133
|
+
label-text-tracking: inspection.get-theme-typography($theme, body-1, letter-spacing),
|
|
134
|
+
label-text-weight: inspection.get-theme-typography($theme, body-1, font-weight),
|
|
141
135
|
);
|
|
142
136
|
}
|
|
143
137
|
|
|
144
138
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
145
|
-
@function get-density-tokens($
|
|
139
|
+
@function get-density-tokens($theme) {
|
|
146
140
|
@return ();
|
|
147
141
|
}
|
|
148
142
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../../../theming/palette';
|
|
3
3
|
@use '../../../theming/theming';
|
|
4
|
+
@use '../../../theming/inspection';
|
|
4
5
|
@use '../../../style/sass-utils';
|
|
5
6
|
@use '../../token-utils';
|
|
6
7
|
|
|
@@ -41,10 +42,9 @@ $prefix: (mdc, radio);
|
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
44
|
-
@function get-color-tokens($
|
|
45
|
-
$
|
|
46
|
-
$
|
|
47
|
-
$accent-color: theming.get-color-from-palette($accent, default);
|
|
45
|
+
@function get-color-tokens($theme, $palette-name: accent) {
|
|
46
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
47
|
+
$palette-color: inspection.get-theme-color($theme, $palette-name, default);
|
|
48
48
|
$on-surface: if($is-dark, #fff, #000);
|
|
49
49
|
$icon-color: theming.get-color-from-palette(palette.$gray-palette, if($is-dark, 200, 900));
|
|
50
50
|
|
|
@@ -54,21 +54,21 @@ $prefix: (mdc, radio);
|
|
|
54
54
|
unselected-hover-icon-color: $icon-color,
|
|
55
55
|
unselected-icon-color: rgba($on-surface, 0.54),
|
|
56
56
|
unselected-pressed-icon-color: rgba($on-surface, 0.54),
|
|
57
|
-
selected-focus-icon-color: $
|
|
58
|
-
selected-hover-icon-color: $
|
|
59
|
-
selected-icon-color: $
|
|
60
|
-
selected-pressed-icon-color: $
|
|
57
|
+
selected-focus-icon-color: $palette-color,
|
|
58
|
+
selected-hover-icon-color: $palette-color,
|
|
59
|
+
selected-icon-color: $palette-color,
|
|
60
|
+
selected-pressed-icon-color: $palette-color,
|
|
61
61
|
);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
65
|
-
@function get-typography-tokens($
|
|
65
|
+
@function get-typography-tokens($theme) {
|
|
66
66
|
@return ();
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
70
|
-
@function get-density-tokens($
|
|
71
|
-
$scale: theming.clamp-density($
|
|
70
|
+
@function get-density-tokens($theme) {
|
|
71
|
+
$scale: theming.clamp-density(inspection.get-theme-density($theme), -3);
|
|
72
72
|
|
|
73
73
|
@return (
|
|
74
74
|
// The diameter of the radio's ripple.
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../../../theming/inspection';
|
|
3
|
+
@use '../../token-utils';
|
|
4
|
+
@use '../../../style/elevation';
|
|
5
|
+
@use '../../../style/sass-utils';
|
|
6
|
+
|
|
7
|
+
// The prefix used to generate the fully qualified name for tokens in this file.
|
|
8
|
+
$prefix: (mdc, slider);
|
|
9
|
+
|
|
10
|
+
// Tokens that can't be configured through Angular Material's current theming API,
|
|
11
|
+
// but may be in a future version of the theming API.
|
|
12
|
+
//
|
|
13
|
+
// Tokens that are available in MDC, but not used in Angular Material should be mapped to `null`.
|
|
14
|
+
// `null` indicates that we are intentionally choosing not to emit a slot or value for the token in
|
|
15
|
+
// our CSS.
|
|
16
|
+
@function get-unthemable-tokens() {
|
|
17
|
+
@return (
|
|
18
|
+
// Height of active track.
|
|
19
|
+
active-track-height: 6px,
|
|
20
|
+
// Border radius of active track.
|
|
21
|
+
active-track-shape: 9999px,
|
|
22
|
+
// Height of handle.
|
|
23
|
+
handle-height: 20px,
|
|
24
|
+
// Border radius of handle.
|
|
25
|
+
handle-shape: 50%,
|
|
26
|
+
// Width of handle.
|
|
27
|
+
handle-width: 20px,
|
|
28
|
+
// Height of inactive track.
|
|
29
|
+
inactive-track-height: 4px,
|
|
30
|
+
// Border radius of inactive track.
|
|
31
|
+
inactive-track-shape: 9999px,
|
|
32
|
+
// Width of handle when overlapping with another handle below it.
|
|
33
|
+
with-overlap-handle-outline-width: 1px,
|
|
34
|
+
// Opacity of active container with tick marks.
|
|
35
|
+
with-tick-marks-active-container-opacity: 0.6,
|
|
36
|
+
// Border radius of container with tick marks.
|
|
37
|
+
with-tick-marks-container-shape: 50%,
|
|
38
|
+
// Size of container with tick marks.
|
|
39
|
+
with-tick-marks-container-size: 2px,
|
|
40
|
+
// Opacity of inactive container with tick marks.
|
|
41
|
+
with-tick-marks-inactive-container-opacity: 0.6,
|
|
42
|
+
// =============================================================================================
|
|
43
|
+
// = TOKENS NOT USED IN ANGULAR MATERIAL =
|
|
44
|
+
// =============================================================================================
|
|
45
|
+
disabled-handle-elevation: null,
|
|
46
|
+
label-container-elevation: null,
|
|
47
|
+
label-container-height: null,
|
|
48
|
+
track-elevation: null,
|
|
49
|
+
focus-state-layer-opacity: null,
|
|
50
|
+
hover-state-layer-opacity: null,
|
|
51
|
+
pressed-state-layer-opacity: null,
|
|
52
|
+
// MDC does not seem to use these tokens.
|
|
53
|
+
hover-state-layer-color: null,
|
|
54
|
+
pressed-handle-color: null,
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Tokens that can be configured through Angular Material's color theming API.
|
|
59
|
+
@function get-color-tokens($theme) {
|
|
60
|
+
$elevation: inspection.get-theme-color($theme, foreground, elevation);
|
|
61
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
62
|
+
$on-surface: if($is-dark, #fff, #000);
|
|
63
|
+
|
|
64
|
+
// The default for tokens that rely on the theme will use the primary palette
|
|
65
|
+
$theme-color-tokens: private-get-color-palette-color-tokens($theme, primary);
|
|
66
|
+
|
|
67
|
+
@return map.merge(
|
|
68
|
+
$theme-color-tokens,
|
|
69
|
+
(
|
|
70
|
+
// Color of active track when disabled.
|
|
71
|
+
disabled-active-track-color: $on-surface,
|
|
72
|
+
// Color of handle when disabled.
|
|
73
|
+
disabled-handle-color: $on-surface,
|
|
74
|
+
// Color of inactive track when disabled.
|
|
75
|
+
disabled-inactive-track-color: $on-surface,
|
|
76
|
+
// Color of container label.
|
|
77
|
+
label-container-color: $on-surface,
|
|
78
|
+
// Color of label text.
|
|
79
|
+
label-label-text-color: if($is-dark, #000, #fff),
|
|
80
|
+
// Color of handle outline when overlapping with another handle below it.
|
|
81
|
+
with-overlap-handle-outline-color: #fff,
|
|
82
|
+
// Color of container with tick marks when disabled.
|
|
83
|
+
with-tick-marks-disabled-container-color: $on-surface,
|
|
84
|
+
// (Part of the color tokens because it needs to be combined with the
|
|
85
|
+
// shadow color to generate the box-shadow.)
|
|
86
|
+
// Elevation level for handle.
|
|
87
|
+
handle-elevation: 1,
|
|
88
|
+
// Color of handle shadow.
|
|
89
|
+
handle-shadow-color: if($elevation != null, $elevation, elevation.$color),
|
|
90
|
+
)
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Generates tokens for the slider properties that change based on the theme.
|
|
95
|
+
@function private-get-color-palette-color-tokens($theme, $palette-name) {
|
|
96
|
+
$color: inspection.get-theme-color($theme, $palette-name);
|
|
97
|
+
$on-color: inspection.get-theme-color($theme, $palette-name, default-contrast);
|
|
98
|
+
|
|
99
|
+
@return (
|
|
100
|
+
// Color of handle.
|
|
101
|
+
handle-color: $color,
|
|
102
|
+
// Color of handle when focused.
|
|
103
|
+
focus-handle-color: $color,
|
|
104
|
+
// Color of handle on hover.
|
|
105
|
+
hover-handle-color: $color,
|
|
106
|
+
// Color of handle when active.
|
|
107
|
+
active-track-color: $color,
|
|
108
|
+
// Color of inactive track.
|
|
109
|
+
inactive-track-color: $color,
|
|
110
|
+
// Color of inactive container with tick marks.
|
|
111
|
+
with-tick-marks-inactive-container-color: $color,
|
|
112
|
+
// Color of active container with tick marks.
|
|
113
|
+
with-tick-marks-active-container-color: $on-color,
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// Tokens that can be configured through Angular Material's typography theming API.
|
|
118
|
+
@function get-typography-tokens($theme) {
|
|
119
|
+
@return (
|
|
120
|
+
// Font for label text.
|
|
121
|
+
label-label-text-font: inspection.get-theme-typography($theme, subtitle-2, font-family),
|
|
122
|
+
// Font size of label text.
|
|
123
|
+
label-label-text-size: inspection.get-theme-typography($theme, subtitle-2, font-size),
|
|
124
|
+
// Line height of label text.
|
|
125
|
+
label-label-text-line-height: inspection.get-theme-typography($theme, subtitle-2, line-height),
|
|
126
|
+
// Letter spacing of label text.
|
|
127
|
+
label-label-text-tracking: inspection.get-theme-typography($theme, subtitle-2, letter-spacing),
|
|
128
|
+
// Font weight of label text.
|
|
129
|
+
label-label-text-weight: inspection.get-theme-typography($theme, subtitle-2, font-weight),
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// Tokens that can be configured through Angular Material's density theming API.
|
|
134
|
+
@function get-density-tokens($theme) {
|
|
135
|
+
@return ();
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// Combines the tokens generated by the above functions into a single map with placeholder values.
|
|
139
|
+
// This is used to create token slots.
|
|
140
|
+
@function get-token-slots() {
|
|
141
|
+
@return sass-utils.deep-merge-all(
|
|
142
|
+
get-unthemable-tokens(),
|
|
143
|
+
get-color-tokens(token-utils.$placeholder-color-config),
|
|
144
|
+
get-typography-tokens(token-utils.$placeholder-typography-config),
|
|
145
|
+
get-density-tokens(token-utils.$placeholder-density-config)
|
|
146
|
+
);
|
|
147
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../../../style/elevation';
|
|
3
3
|
@use '../../../style/sass-utils';
|
|
4
|
-
@use '../../../theming/
|
|
4
|
+
@use '../../../theming/inspection';
|
|
5
5
|
@use '../../token-utils';
|
|
6
6
|
|
|
7
7
|
// The prefix used to generate the fully qualified name for tokens in this file.
|
|
@@ -58,10 +58,9 @@ $prefix: (mdc, switch);
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
61
|
-
@function get-color-tokens($
|
|
62
|
-
$
|
|
63
|
-
$
|
|
64
|
-
$is-dark: map.get($config, is-dark);
|
|
61
|
+
@function get-color-tokens($theme) {
|
|
62
|
+
$elevation: inspection.get-theme-color($theme, foreground, elevation);
|
|
63
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
65
64
|
$on-surface: if($is-dark, #f5f5f5, #424242);
|
|
66
65
|
$hairline: if($is-dark, #616161, #e0e0e0);
|
|
67
66
|
$on-surface-variant: if($is-dark, #9e9e9e, #616161);
|
|
@@ -70,10 +69,7 @@ $prefix: (mdc, switch);
|
|
|
70
69
|
$icon-color: if($is-dark, #212121, #fff);
|
|
71
70
|
|
|
72
71
|
// The default for tokens that rely on the theme will use the primary palette
|
|
73
|
-
$theme-color-tokens: private-get-color-palette-color-tokens(
|
|
74
|
-
map.get($config, primary),
|
|
75
|
-
$is-dark
|
|
76
|
-
);
|
|
72
|
+
$theme-color-tokens: private-get-color-palette-color-tokens($theme, primary);
|
|
77
73
|
|
|
78
74
|
@return map.merge(
|
|
79
75
|
$theme-color-tokens,
|
|
@@ -129,20 +125,21 @@ $prefix: (mdc, switch);
|
|
|
129
125
|
}
|
|
130
126
|
|
|
131
127
|
// Generates the mapping for the properties that change based on the slide toggle color.
|
|
132
|
-
@function private-get-color-palette-color-tokens($
|
|
133
|
-
$
|
|
134
|
-
$
|
|
135
|
-
$
|
|
128
|
+
@function private-get-color-palette-color-tokens($theme, $palette-name) {
|
|
129
|
+
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
130
|
+
$palette-color: inspection.get-theme-color($theme, $palette-name, if($is-dark, 300, 600));
|
|
131
|
+
$state-content: inspection.get-theme-color($theme, $palette-name, if($is-dark, 200, 900));
|
|
132
|
+
$inverse: inspection.get-theme-color($theme, $palette-name, if($is-dark, 600, 300));
|
|
136
133
|
|
|
137
134
|
@return (
|
|
138
135
|
// Color of ripple when selected and focused.
|
|
139
|
-
selected-focus-state-layer-color: $
|
|
136
|
+
selected-focus-state-layer-color: $palette-color,
|
|
140
137
|
// Color of handle when selected
|
|
141
|
-
selected-handle-color: $
|
|
138
|
+
selected-handle-color: $palette-color,
|
|
142
139
|
// Color of ripple when selected and on hover.
|
|
143
|
-
selected-hover-state-layer-color: $
|
|
140
|
+
selected-hover-state-layer-color: $palette-color,
|
|
144
141
|
// Color of ripple when selected and pressed.
|
|
145
|
-
selected-pressed-state-layer-color: $
|
|
142
|
+
selected-pressed-state-layer-color: $palette-color,
|
|
146
143
|
// Color of handle when selected and focused.
|
|
147
144
|
selected-focus-handle-color: $state-content,
|
|
148
145
|
// Color of handle when selected and on hover.
|
|
@@ -161,12 +158,12 @@ $prefix: (mdc, switch);
|
|
|
161
158
|
}
|
|
162
159
|
|
|
163
160
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
164
|
-
@function get-typography-tokens($
|
|
161
|
+
@function get-typography-tokens($theme) {
|
|
165
162
|
@return ();
|
|
166
163
|
}
|
|
167
164
|
|
|
168
165
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
169
|
-
@function get-density-tokens($
|
|
166
|
+
@function get-density-tokens($theme) {
|
|
170
167
|
@return ();
|
|
171
168
|
}
|
|
172
169
|
|