@angular/material 21.0.0-next.1 → 21.0.0-next.10
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/chips/_m3-chip.scss +2 -5
- package/core/focus-indicators/_private.scss +16 -0
- package/core/tokens/_classes.scss +130 -145
- package/core/tokens/m2/_md-sys-color-internal.scss +11 -0
- package/core/tokens/m2/_md-sys-color.scss +28 -19
- package/core/tokens/m3/_md-sys-color-internal.scss +11 -0
- package/core/tokens/m3/_md-sys-color.scss +5 -31
- package/core/tokens/m3/_md-sys-typescale-internal.scss +5 -0
- package/core/tokens/m3/_md-sys-typescale.scss +2 -16
- package/fesm2022/{animation.mjs → _animation-chunk.mjs} +2 -23
- package/fesm2022/_animation-chunk.mjs.map +1 -0
- package/fesm2022/{date-formats.mjs → _date-formats-chunk.mjs} +3 -11
- package/fesm2022/_date-formats-chunk.mjs.map +1 -0
- package/fesm2022/{date-range-input-harness.mjs → _date-range-input-harness-chunk.mjs} +1 -1
- package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -0
- package/fesm2022/{error-options.mjs → _error-options-chunk.mjs} +1 -1
- package/fesm2022/_error-options-chunk.mjs.map +1 -0
- package/fesm2022/{error-state.mjs → _error-state-chunk.mjs} +1 -1
- package/fesm2022/_error-state-chunk.mjs.map +1 -0
- package/fesm2022/_form-field-chunk.mjs +1114 -0
- package/fesm2022/_form-field-chunk.mjs.map +1 -0
- package/fesm2022/{icon-button.mjs → _icon-button-chunk.mjs} +4 -4
- package/fesm2022/_icon-button-chunk.mjs.map +1 -0
- package/fesm2022/{icon-registry.mjs → _icon-registry-chunk.mjs} +3 -30
- package/fesm2022/_icon-registry-chunk.mjs.map +1 -0
- package/fesm2022/{input-harness.mjs → _input-harness-chunk.mjs} +1 -1
- package/fesm2022/_input-harness-chunk.mjs.map +1 -0
- package/fesm2022/{input-value-accessor.mjs → _input-value-accessor-chunk.mjs} +1 -1
- package/fesm2022/_input-value-accessor-chunk.mjs.map +1 -0
- package/fesm2022/{internal-form-field.mjs → _internal-form-field-chunk.mjs} +1 -1
- package/fesm2022/_internal-form-field-chunk.mjs.map +1 -0
- package/fesm2022/{line.mjs → _line-chunk.mjs} +6 -6
- package/fesm2022/_line-chunk.mjs.map +1 -0
- package/fesm2022/{option.mjs → _option-chunk.mjs} +6 -6
- package/fesm2022/_option-chunk.mjs.map +1 -0
- package/fesm2022/{option-harness.mjs → _option-harness-chunk.mjs} +1 -1
- package/fesm2022/_option-harness-chunk.mjs.map +1 -0
- package/fesm2022/{option-module.mjs → _option-module-chunk.mjs} +9 -9
- package/fesm2022/_option-module-chunk.mjs.map +1 -0
- package/fesm2022/{pseudo-checkbox.mjs → _pseudo-checkbox-chunk.mjs} +2 -2
- package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -0
- package/fesm2022/{pseudo-checkbox-module.mjs → _pseudo-checkbox-module-chunk.mjs} +7 -7
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -0
- package/fesm2022/{public-api.mjs → _public-api-chunk.mjs} +1 -1
- package/fesm2022/_public-api-chunk.mjs.map +1 -0
- package/fesm2022/{ripple.mjs → _ripple-chunk.mjs} +4 -4
- package/fesm2022/_ripple-chunk.mjs.map +1 -0
- package/fesm2022/{ripple-loader.mjs → _ripple-loader-chunk.mjs} +3 -3
- package/fesm2022/_ripple-loader-chunk.mjs.map +1 -0
- package/fesm2022/{ripple-module.mjs → _ripple-module-chunk.mjs} +7 -7
- package/fesm2022/_ripple-module-chunk.mjs.map +1 -0
- package/fesm2022/{structural-styles.mjs → _structural-styles-chunk.mjs} +1 -1
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -0
- package/fesm2022/{tooltip2.mjs → _tooltip-chunk.mjs} +8 -35
- package/fesm2022/_tooltip-chunk.mjs.map +1 -0
- package/fesm2022/{autocomplete/testing.mjs → autocomplete-testing.mjs} +3 -3
- package/fesm2022/autocomplete-testing.mjs.map +1 -0
- package/fesm2022/autocomplete.mjs +20 -52
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/{badge/testing.mjs → badge-testing.mjs} +1 -1
- package/fesm2022/badge-testing.mjs.map +1 -0
- package/fesm2022/badge.mjs +6 -7
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/{bottom-sheet/testing.mjs → bottom-sheet-testing.mjs} +1 -1
- package/fesm2022/bottom-sheet-testing.mjs.map +1 -0
- package/fesm2022/bottom-sheet.mjs +12 -90
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/{button/testing.mjs → button-testing.mjs} +6 -2
- package/fesm2022/button-testing.mjs.map +1 -0
- package/fesm2022/{button-toggle/testing.mjs → button-toggle-testing.mjs} +1 -1
- package/fesm2022/button-toggle-testing.mjs.map +1 -0
- package/fesm2022/button-toggle.mjs +17 -26
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +24 -46
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/{card/testing.mjs → card-testing.mjs} +1 -1
- package/fesm2022/card-testing.mjs.map +1 -0
- package/fesm2022/card.mjs +6 -8
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/{checkbox/testing.mjs → checkbox-testing.mjs} +1 -1
- package/fesm2022/checkbox-testing.mjs.map +1 -0
- package/fesm2022/checkbox.mjs +21 -31
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/{chips/testing.mjs → chips-testing.mjs} +1 -7
- package/fesm2022/chips-testing.mjs.map +1 -0
- package/fesm2022/chips.mjs +42 -22
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/{core/testing.mjs → core-testing.mjs} +2 -2
- package/fesm2022/core-testing.mjs.map +1 -0
- package/fesm2022/core.mjs +17 -24
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{datepicker/testing.mjs → datepicker-testing.mjs} +3 -3
- package/fesm2022/datepicker-testing.mjs.map +1 -0
- package/fesm2022/datepicker.mjs +114 -268
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/{dialog/testing.mjs → dialog-testing.mjs} +7 -8
- package/fesm2022/dialog-testing.mjs.map +1 -0
- package/fesm2022/dialog.mjs +882 -115
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/{divider/testing.mjs → divider-testing.mjs} +1 -1
- package/fesm2022/divider-testing.mjs.map +1 -0
- package/fesm2022/divider.mjs +5 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/{expansion/testing.mjs → expansion-testing.mjs} +1 -1
- package/fesm2022/expansion-testing.mjs.map +1 -0
- package/fesm2022/expansion.mjs +10 -114
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/{form-field/testing/control.mjs → form-field-testing-control.mjs} +1 -1
- package/fesm2022/form-field-testing-control.mjs.map +1 -0
- package/fesm2022/{form-field/testing.mjs → form-field-testing.mjs} +5 -5
- package/fesm2022/form-field-testing.mjs.map +1 -0
- package/fesm2022/form-field.mjs +20 -51
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/{grid-list/testing.mjs → grid-list-testing.mjs} +2 -2
- package/fesm2022/grid-list-testing.mjs.map +1 -0
- package/fesm2022/grid-list.mjs +9 -14
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/{icon/testing.mjs → icon-testing.mjs} +2 -2
- package/fesm2022/icon-testing.mjs.map +1 -0
- package/fesm2022/icon.mjs +17 -25
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/{input/testing.mjs → input-testing.mjs} +3 -3
- package/fesm2022/{input/testing.mjs.map → input-testing.mjs.map} +1 -1
- package/fesm2022/input.mjs +12 -13
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/{list/testing.mjs → list-testing.mjs} +2 -2
- package/fesm2022/list-testing.mjs.map +1 -0
- package/fesm2022/list.mjs +14 -15
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/{menu/testing.mjs → menu-testing.mjs} +1 -1
- package/fesm2022/menu-testing.mjs.map +1 -0
- package/fesm2022/menu.mjs +25 -173
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/{paginator/testing.mjs → paginator-testing.mjs} +2 -2
- package/fesm2022/paginator-testing.mjs.map +1 -0
- package/fesm2022/paginator.mjs +23 -44
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/{progress-bar/testing.mjs → progress-bar-testing.mjs} +1 -1
- package/fesm2022/progress-bar-testing.mjs.map +1 -0
- package/fesm2022/progress-bar.mjs +20 -25
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/{progress-spinner/testing.mjs → progress-spinner-testing.mjs} +1 -1
- package/fesm2022/progress-spinner-testing.mjs.map +1 -0
- package/fesm2022/progress-spinner.mjs +7 -17
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/{radio/testing.mjs → radio-testing.mjs} +1 -1
- package/fesm2022/radio-testing.mjs.map +1 -0
- package/fesm2022/radio.mjs +16 -25
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/{select/testing.mjs → select-testing.mjs} +1 -1
- package/fesm2022/select-testing.mjs.map +1 -0
- package/fesm2022/select.mjs +1299 -96
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/{sidenav/testing.mjs → sidenav-testing.mjs} +1 -1
- package/fesm2022/sidenav-testing.mjs.map +1 -0
- package/fesm2022/sidenav.mjs +10 -100
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/{slide-toggle/testing.mjs → slide-toggle-testing.mjs} +1 -1
- package/fesm2022/slide-toggle-testing.mjs.map +1 -0
- package/fesm2022/slide-toggle.mjs +9 -10
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/{slider/testing.mjs → slider-testing.mjs} +1 -1
- package/fesm2022/slider-testing.mjs.map +1 -0
- package/fesm2022/slider.mjs +11 -25
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/{snack-bar/testing.mjs → snack-bar-testing.mjs} +1 -1
- package/fesm2022/snack-bar-testing.mjs.map +1 -0
- package/fesm2022/snack-bar.mjs +15 -109
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/{sort/testing.mjs → sort-testing.mjs} +1 -1
- package/fesm2022/sort-testing.mjs.map +1 -0
- package/fesm2022/sort.mjs +11 -338
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/{stepper/testing.mjs → stepper-testing.mjs} +3 -2
- package/fesm2022/stepper-testing.mjs.map +1 -0
- package/fesm2022/stepper.mjs +19 -192
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{table/testing.mjs → table-testing.mjs} +36 -4
- package/fesm2022/table-testing.mjs.map +1 -0
- package/fesm2022/table.mjs +14 -11
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/{tabs/testing.mjs → tabs-testing.mjs} +1 -1
- package/fesm2022/tabs-testing.mjs.map +1 -0
- package/fesm2022/tabs.mjs +27 -181
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/{timepicker/testing.mjs → timepicker-testing.mjs} +2 -2
- package/fesm2022/timepicker-testing.mjs.map +1 -0
- package/fesm2022/timepicker.mjs +27 -21
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/{toolbar/testing.mjs → toolbar-testing.mjs} +1 -1
- package/fesm2022/toolbar-testing.mjs.map +1 -0
- package/fesm2022/toolbar.mjs +5 -7
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/{tooltip/testing.mjs → tooltip-testing.mjs} +1 -1
- package/fesm2022/tooltip-testing.mjs.map +1 -0
- package/fesm2022/tooltip.mjs +22 -55
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/{tree/testing.mjs → tree-testing.mjs} +1 -1
- package/fesm2022/tree-testing.mjs.map +1 -0
- package/fesm2022/tree.mjs +6 -8
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +115 -114
- 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/schematics/ng-add/index.js +1 -1
- package/slider/_m2-slider.scss +1 -0
- package/slider/_m3-slider.scss +5 -2
- package/{badge.d.d.ts → types/_badge-chunk.d.ts} +1 -1
- package/{button-toggle.d.d.ts → types/_button-toggle-chunk.d.ts} +1 -7
- package/{date-adapter.d.d.ts → types/_date-adapter-chunk.d.ts} +1 -7
- package/{form-field.d.d.ts → types/_form-field-chunk.d.ts} +2 -2
- package/{form-field-module.d.d.ts → types/_form-field-module-chunk.d.ts} +4 -4
- package/{icon-module.d.d.ts → types/_icon-module-chunk.d.ts} +4 -10
- package/{icon-registry.d.d.ts → types/_icon-registry-chunk.d.ts} +2 -18
- package/{line.d.d.ts → types/_line-chunk.d.ts} +2 -2
- package/types/_option-module-chunk.d.ts +13 -0
- package/{paginator.d.d.ts → types/_paginator-chunk.d.ts} +4 -20
- package/{progress-spinner.d.d.ts → types/_progress-spinner-chunk.d.ts} +4 -10
- package/{pseudo-checkbox-module.d.d.ts → types/_pseudo-checkbox-module-chunk.d.ts} +2 -2
- package/{ripple.d.d.ts → types/_ripple-chunk.d.ts} +3 -3
- package/{ripple-module.d.d.ts → types/_ripple-module-chunk.d.ts} +3 -3
- package/{sort.d.d.ts → types/_sort-chunk.d.ts} +1 -1
- package/{autocomplete/testing/index.d.ts → types/autocomplete-testing.d.ts} +2 -2
- package/{autocomplete/index.d.ts → types/autocomplete.d.ts} +10 -33
- package/{badge/testing/index.d.ts → types/badge-testing.d.ts} +2 -2
- package/types/badge.d.ts +14 -0
- package/{bottom-sheet/index.d.ts → types/bottom-sheet.d.ts} +10 -14
- package/{button/testing/index.d.ts → types/button-testing.d.ts} +2 -0
- package/{button-toggle/testing/index.d.ts → types/button-toggle-testing.d.ts} +1 -1
- package/types/button-toggle.d.ts +16 -0
- package/{button/index.d.ts → types/button.d.ts} +7 -14
- package/{card/index.d.ts → types/card.d.ts} +2 -3
- package/{checkbox/index.d.ts → types/checkbox.d.ts} +4 -11
- package/{chips/index.d.ts → types/chips.d.ts} +55 -50
- package/{core/testing/index.d.ts → types/core-testing.d.ts} +1 -1
- package/{core/index.d.ts → types/core.d.ts} +14 -41
- package/{datepicker/testing/index.d.ts → types/datepicker-testing.d.ts} +2 -2
- package/{datepicker/index.d.ts → types/datepicker.d.ts} +48 -101
- package/{dialog/testing/index.d.ts → types/dialog-testing.d.ts} +1 -1
- package/{dialog/index.d.ts → types/dialog.d.ts} +9 -32
- package/{divider/index.d.ts → types/divider.d.ts} +2 -3
- package/{expansion/index.d.ts → types/expansion.d.ts} +5 -41
- package/{form-field/testing/control/index.d.ts → types/form-field-testing-control.d.ts} +1 -1
- package/{form-field/testing/index.d.ts → types/form-field-testing.d.ts} +4 -4
- package/{form-field/index.d.ts → types/form-field.d.ts} +6 -17
- package/{grid-list/index.d.ts → types/grid-list.d.ts} +3 -4
- package/{icon/testing/index.d.ts → types/icon-testing.d.ts} +1 -1
- package/types/icon.d.ts +8 -0
- package/{input/testing/index.d.ts → types/input-testing.d.ts} +2 -2
- package/{input/index.d.ts → types/input.d.ts} +10 -11
- package/{list/testing/index.d.ts → types/list-testing.d.ts} +2 -2
- package/{list/index.d.ts → types/list.d.ts} +10 -11
- package/{menu/index.d.ts → types/menu.d.ts} +7 -48
- package/{paginator/testing/index.d.ts → types/paginator-testing.d.ts} +1 -1
- package/types/paginator.d.ts +35 -0
- package/{progress-bar/index.d.ts → types/progress-bar.d.ts} +4 -11
- package/{progress-spinner/testing/index.d.ts → types/progress-spinner-testing.d.ts} +2 -2
- package/{progress-spinner/index.d.ts → types/progress-spinner.d.ts} +5 -6
- package/{radio/index.d.ts → types/radio.d.ts} +6 -13
- package/{select-module.d.d.ts → types/select.d.ts} +19 -26
- package/{sidenav/index.d.ts → types/sidenav.d.ts} +4 -21
- package/{slide-toggle/index.d.ts → types/slide-toggle.d.ts} +3 -4
- package/{slider/index.d.ts → types/slider.d.ts} +5 -5
- package/{snack-bar/index.d.ts → types/snack-bar.d.ts} +9 -25
- package/{sort/testing/index.d.ts → types/sort-testing.d.ts} +1 -1
- package/{sort/index.d.ts → types/sort.d.ts} +8 -40
- package/{stepper/index.d.ts → types/stepper.d.ts} +11 -39
- package/{table/testing/index.d.ts → types/table-testing.d.ts} +27 -1
- package/{table/index.d.ts → types/table.d.ts} +11 -11
- package/{tabs/index.d.ts → types/tabs.d.ts} +6 -22
- package/{timepicker/testing/index.d.ts → types/timepicker-testing.d.ts} +1 -1
- package/{timepicker/index.d.ts → types/timepicker.d.ts} +151 -130
- package/{toolbar/index.d.ts → types/toolbar.d.ts} +2 -3
- package/{tooltip-module.d.d.ts → types/tooltip.d.ts} +7 -29
- package/{tree/index.d.ts → types/tree.d.ts} +2 -3
- package/badge/index.d.ts +0 -15
- package/button-toggle/index.d.ts +0 -17
- package/common-module.d.d.ts +0 -44
- package/fesm2022/animation.mjs.map +0 -1
- package/fesm2022/autocomplete/testing.mjs.map +0 -1
- package/fesm2022/badge/testing.mjs.map +0 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +0 -1
- package/fesm2022/button/testing.mjs.map +0 -1
- package/fesm2022/button-toggle/testing.mjs.map +0 -1
- package/fesm2022/card/testing.mjs.map +0 -1
- package/fesm2022/checkbox/testing.mjs.map +0 -1
- package/fesm2022/chips/testing.mjs.map +0 -1
- package/fesm2022/common-module.mjs +0 -42
- package/fesm2022/common-module.mjs.map +0 -1
- package/fesm2022/core/testing.mjs.map +0 -1
- package/fesm2022/date-formats.mjs.map +0 -1
- package/fesm2022/date-range-input-harness.mjs.map +0 -1
- package/fesm2022/datepicker/testing.mjs.map +0 -1
- package/fesm2022/dialog/testing.mjs.map +0 -1
- package/fesm2022/dialog-module.mjs +0 -891
- package/fesm2022/dialog-module.mjs.map +0 -1
- package/fesm2022/divider/testing.mjs.map +0 -1
- package/fesm2022/error-options.mjs.map +0 -1
- package/fesm2022/error-state.mjs.map +0 -1
- package/fesm2022/expansion/testing.mjs.map +0 -1
- package/fesm2022/form-field/testing/control.mjs.map +0 -1
- package/fesm2022/form-field/testing.mjs.map +0 -1
- package/fesm2022/form-field-module.mjs +0 -39
- package/fesm2022/form-field-module.mjs.map +0 -1
- package/fesm2022/form-field2.mjs +0 -1114
- package/fesm2022/form-field2.mjs.map +0 -1
- package/fesm2022/grid-list/testing.mjs.map +0 -1
- package/fesm2022/icon/testing.mjs.map +0 -1
- package/fesm2022/icon-button.mjs.map +0 -1
- package/fesm2022/icon-registry.mjs.map +0 -1
- package/fesm2022/input-harness.mjs.map +0 -1
- package/fesm2022/input-value-accessor.mjs.map +0 -1
- package/fesm2022/internal-form-field.mjs.map +0 -1
- package/fesm2022/line.mjs.map +0 -1
- package/fesm2022/list/testing.mjs.map +0 -1
- package/fesm2022/menu/testing.mjs.map +0 -1
- package/fesm2022/option-harness.mjs.map +0 -1
- package/fesm2022/option-module.mjs.map +0 -1
- package/fesm2022/option.mjs.map +0 -1
- package/fesm2022/paginator/testing.mjs.map +0 -1
- package/fesm2022/progress-bar/testing.mjs.map +0 -1
- package/fesm2022/progress-spinner/testing.mjs.map +0 -1
- package/fesm2022/pseudo-checkbox-module.mjs.map +0 -1
- package/fesm2022/pseudo-checkbox.mjs.map +0 -1
- package/fesm2022/public-api.mjs.map +0 -1
- package/fesm2022/radio/testing.mjs.map +0 -1
- package/fesm2022/ripple-loader.mjs.map +0 -1
- package/fesm2022/ripple-module.mjs.map +0 -1
- package/fesm2022/ripple.mjs.map +0 -1
- package/fesm2022/select/testing.mjs.map +0 -1
- package/fesm2022/select-module.mjs +0 -1318
- package/fesm2022/select-module.mjs.map +0 -1
- package/fesm2022/sidenav/testing.mjs.map +0 -1
- package/fesm2022/slide-toggle/testing.mjs.map +0 -1
- package/fesm2022/slider/testing.mjs.map +0 -1
- package/fesm2022/snack-bar/testing.mjs.map +0 -1
- package/fesm2022/sort/testing.mjs.map +0 -1
- package/fesm2022/stepper/testing.mjs.map +0 -1
- package/fesm2022/structural-styles.mjs.map +0 -1
- package/fesm2022/table/testing.mjs.map +0 -1
- package/fesm2022/tabs/testing.mjs.map +0 -1
- package/fesm2022/timepicker/testing.mjs.map +0 -1
- package/fesm2022/toolbar/testing.mjs.map +0 -1
- package/fesm2022/tooltip/testing.mjs.map +0 -1
- package/fesm2022/tooltip-module.mjs +0 -24
- package/fesm2022/tooltip-module.mjs.map +0 -1
- package/fesm2022/tooltip2.mjs.map +0 -1
- package/fesm2022/tree/testing.mjs.map +0 -1
- package/icon/index.d.ts +0 -9
- package/option-module.d.d.ts +0 -13
- package/paginator/index.d.ts +0 -36
- package/select/index.d.ts +0 -38
- package/tooltip/index.d.ts +0 -21
- /package/{date-range-input-harness.d.d.ts → types/_date-range-input-harness-chunk.d.ts} +0 -0
- /package/{dialog.d.d.ts → types/_dialog-chunk.d.ts} +0 -0
- /package/{error-options.d.d.ts → types/_error-options-chunk.d.ts} +0 -0
- /package/{form-field-control.d.d.ts → types/_form-field-control-chunk.d.ts} +0 -0
- /package/{form-field-control-harness.d.d.ts → types/_form-field-control-harness-chunk.d.ts} +0 -0
- /package/{input-harness.d.d.ts → types/_input-harness-chunk.d.ts} +0 -0
- /package/{list-option-types.d.d.ts → types/_list-option-types-chunk.d.ts} +0 -0
- /package/{option.d.d.ts → types/_option-chunk.d.ts} +0 -0
- /package/{option-harness.d.d.ts → types/_option-harness-chunk.d.ts} +0 -0
- /package/{option-parent.d.d.ts → types/_option-parent-chunk.d.ts} +0 -0
- /package/{palette.d.d.ts → types/_palette-chunk.d.ts} +0 -0
- /package/{ripple-loader.d.d.ts → types/_ripple-loader-chunk.d.ts} +0 -0
- /package/{sort-direction.d.d.ts → types/_sort-direction-chunk.d.ts} +0 -0
- /package/{bottom-sheet/testing/index.d.ts → types/bottom-sheet-testing.d.ts} +0 -0
- /package/{card/testing/index.d.ts → types/card-testing.d.ts} +0 -0
- /package/{checkbox/testing/index.d.ts → types/checkbox-testing.d.ts} +0 -0
- /package/{chips/testing/index.d.ts → types/chips-testing.d.ts} +0 -0
- /package/{divider/testing/index.d.ts → types/divider-testing.d.ts} +0 -0
- /package/{expansion/testing/index.d.ts → types/expansion-testing.d.ts} +0 -0
- /package/{grid-list/testing/index.d.ts → types/grid-list-testing.d.ts} +0 -0
- /package/{index.d.ts → types/material.d.ts} +0 -0
- /package/{menu/testing/index.d.ts → types/menu-testing.d.ts} +0 -0
- /package/{progress-bar/testing/index.d.ts → types/progress-bar-testing.d.ts} +0 -0
- /package/{radio/testing/index.d.ts → types/radio-testing.d.ts} +0 -0
- /package/{select/testing/index.d.ts → types/select-testing.d.ts} +0 -0
- /package/{sidenav/testing/index.d.ts → types/sidenav-testing.d.ts} +0 -0
- /package/{slide-toggle/testing/index.d.ts → types/slide-toggle-testing.d.ts} +0 -0
- /package/{slider/testing/index.d.ts → types/slider-testing.d.ts} +0 -0
- /package/{snack-bar/testing/index.d.ts → types/snack-bar-testing.d.ts} +0 -0
- /package/{stepper/testing/index.d.ts → types/stepper-testing.d.ts} +0 -0
- /package/{tabs/testing/index.d.ts → types/tabs-testing.d.ts} +0 -0
- /package/{toolbar/testing/index.d.ts → types/toolbar-testing.d.ts} +0 -0
- /package/{tooltip/testing/index.d.ts → types/tooltip-testing.d.ts} +0 -0
- /package/{tree/testing/index.d.ts → types/tree-testing.d.ts} +0 -0
package/chips/_m3-chip.scss
CHANGED
|
@@ -49,11 +49,8 @@
|
|
|
49
49
|
chip-selected-label-text-color: map.get($system, on-secondary-container),
|
|
50
50
|
chip-selected-trailing-action-state-layer-color: map.get($system, on-secondary-container),
|
|
51
51
|
chip-selected-trailing-icon-color: map.get($system, on-secondary-container),
|
|
52
|
-
|
|
53
|
-
chip-trailing-action-
|
|
54
|
-
calc(map.get($system, focus-state-layer-opacity) * 2),
|
|
55
|
-
chip-trailing-action-hover-state-layer-opacity:
|
|
56
|
-
calc(map.get($system, hover-state-layer-opacity) * 2),
|
|
52
|
+
chip-trailing-action-focus-state-layer-opacity: map.get($system, focus-state-layer-opacity),
|
|
53
|
+
chip-trailing-action-hover-state-layer-opacity: map.get($system, hover-state-layer-opacity),
|
|
57
54
|
chip-trailing-action-state-layer-color: map.get($system, on-surface-variant),
|
|
58
55
|
chip-with-icon-disabled-icon-color: map.get($system, on-surface),
|
|
59
56
|
chip-with-icon-icon-color: map.get($system, on-surface-variant),
|
|
@@ -86,6 +86,10 @@ $default-border-radius: 4px;
|
|
|
86
86
|
$config: map.merge($default-config, $config);
|
|
87
87
|
|
|
88
88
|
@include _customize-focus-indicators($config);
|
|
89
|
+
|
|
90
|
+
// Strong focus indicators currently need chip labels to have overflow visible.
|
|
91
|
+
// TODO(b/446709063) revisit the structure to find a way to remove this dependency.
|
|
92
|
+
@include _chip-label-overflow-visible();
|
|
89
93
|
}
|
|
90
94
|
|
|
91
95
|
@mixin strong-focus-indicators-color($theme-or-color) {
|
|
@@ -108,3 +112,15 @@ $default-border-radius: 4px;
|
|
|
108
112
|
}
|
|
109
113
|
}
|
|
110
114
|
}
|
|
115
|
+
|
|
116
|
+
@mixin _chip-label-overflow-visible {
|
|
117
|
+
.mat-mdc-standard-chip {
|
|
118
|
+
// MDC sets `overflow: hidden` on these elements in order to truncate the text. This conflicts
|
|
119
|
+
// with how we structure and style the strong focus indicators so we need to override it.
|
|
120
|
+
.mdc-evolution-chip__cell--primary,
|
|
121
|
+
.mdc-evolution-chip__action--primary,
|
|
122
|
+
.mat-mdc-chip-action-label {
|
|
123
|
+
overflow: visible;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -1,141 +1,117 @@
|
|
|
1
1
|
// Utility classes that can be used to style elements with the most commonly used system tokens in
|
|
2
|
-
// Material Design. Includes color, typography, elevation, and shape.
|
|
2
|
+
// Material Design. Includes color, typography, elevation, state, and shape.
|
|
3
3
|
@mixin system-classes() {
|
|
4
4
|
|
|
5
5
|
// ***********************************************************************************************
|
|
6
|
-
// Background
|
|
6
|
+
// Background - Applies background colors defined by Material Design.
|
|
7
|
+
// See https://m3.material.io/styles/color/roles for detailed guidance.
|
|
7
8
|
// ***********************************************************************************************
|
|
8
9
|
|
|
9
|
-
// Styles an element with a primary color background
|
|
10
|
-
//
|
|
11
|
-
//
|
|
12
|
-
// date in a datepicker, the handle of a slider, and the background of a checkbox.
|
|
10
|
+
// Styles an element with a primary color background. Use for key components across the UI, such
|
|
11
|
+
// as buttons that have greater importance on the page. In Angular Material, this is used for the
|
|
12
|
+
// selected date in a datepicker, the handle of a slider, and the background of a checkbox.
|
|
13
13
|
.mat-bg-primary {
|
|
14
14
|
background-color: var(--mat-sys-primary);
|
|
15
|
-
color: var(--mat-sys-on-primary);
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
// Styles an element with a primary container color background
|
|
19
|
-
//
|
|
20
|
-
//
|
|
21
|
-
// the container of a floating action button.
|
|
17
|
+
// Styles an element with a primary container color background. Use for filling components that
|
|
18
|
+
// should stand out on a surface. In Angular Material, this is used for the container of a
|
|
19
|
+
// floating action button.
|
|
22
20
|
.mat-bg-primary-container {
|
|
23
21
|
background-color: var(--mat-sys-primary-container);
|
|
24
|
-
color: var(--mat-sys-on-primary-container);
|
|
25
22
|
}
|
|
26
23
|
|
|
27
|
-
// Styles an element with a secondary color background
|
|
28
|
-
//
|
|
29
|
-
// color scheme than the primary.
|
|
24
|
+
// Styles an element with a secondary color background. Use for less prominent components in the
|
|
25
|
+
// UI that have a different color scheme than the primary.
|
|
30
26
|
.mat-bg-secondary {
|
|
31
27
|
background-color: var(--mat-sys-secondary);
|
|
32
|
-
color: var(--mat-sys-on-secondary);
|
|
33
28
|
}
|
|
34
29
|
|
|
35
|
-
// Styles an element with a secondary container color background
|
|
36
|
-
//
|
|
37
|
-
//
|
|
38
|
-
// in a list and the container of a tonal button.
|
|
30
|
+
// Styles an element with a secondary container color background. Use for components that need
|
|
31
|
+
// less emphasis than secondary, such as filter chips. In Angular Material, this is used for
|
|
32
|
+
// selected items in a list and the container of a tonal button.
|
|
39
33
|
.mat-bg-secondary-container {
|
|
40
34
|
background-color: var(--mat-sys-secondary-container);
|
|
41
|
-
color: var(--mat-sys-on-secondary-container);
|
|
42
35
|
}
|
|
43
36
|
|
|
44
|
-
// Styles an element with an error color background
|
|
45
|
-
//
|
|
46
|
-
//
|
|
47
|
-
// background of a badge.
|
|
37
|
+
// Styles an element with an error color background. Use for indicating an error state, such as
|
|
38
|
+
// an invalid text field, or for the background of an important notification. In Angular
|
|
39
|
+
// Material, this is used for the background of a badge.
|
|
48
40
|
.mat-bg-error {
|
|
49
41
|
background-color: var(--mat-sys-error);
|
|
50
|
-
color: var(--mat-sys-on-error);
|
|
51
42
|
}
|
|
52
43
|
|
|
53
|
-
// Styles an element with an error container color background
|
|
54
|
-
//
|
|
55
|
-
// error, such as a container for error text.
|
|
44
|
+
// Styles an element with an error container color background. Use for components that need less
|
|
45
|
+
// emphasis than error, such as a container for error text.
|
|
56
46
|
.mat-bg-error-container {
|
|
57
47
|
background-color: var(--mat-sys-error-container);
|
|
58
|
-
color: var(--mat-sys-on-error-container);
|
|
59
48
|
}
|
|
60
49
|
|
|
61
|
-
// Styles an element with a surface color background
|
|
62
|
-
//
|
|
63
|
-
//
|
|
50
|
+
// Styles an element with a surface color background. Use for general surfaces of components. In
|
|
51
|
+
// Angular Material, this is used for the background of many components, like tables, dialogs,
|
|
52
|
+
// menus, and toolbars.
|
|
64
53
|
.mat-bg-surface {
|
|
65
54
|
background-color: var(--mat-sys-surface);
|
|
66
|
-
color: var(--mat-sys-on-surface);
|
|
67
55
|
}
|
|
68
56
|
|
|
69
|
-
// Styles an element with a surface variant color background
|
|
70
|
-
//
|
|
71
|
-
//
|
|
72
|
-
// form field and the track of a progress bar.
|
|
57
|
+
// Styles an element with a surface variant color background. Use for surfaces that need to stand
|
|
58
|
+
// out from the main surface color. In Angular Material, this is used for the background of a
|
|
59
|
+
// filled form field and the track of a progress bar.
|
|
73
60
|
.mat-bg-surface-variant {
|
|
74
61
|
background-color: var(--mat-sys-surface-variant);
|
|
75
|
-
color: var(--mat-sys-on-surface-variant);
|
|
76
62
|
}
|
|
77
63
|
|
|
78
|
-
// Styles an element with the "highest" surface container color background
|
|
79
|
-
//
|
|
80
|
-
//
|
|
81
|
-
// background of a filled card.
|
|
64
|
+
// Styles an element with the "highest" surface container color background. Use for surfaces that
|
|
65
|
+
// need the most emphasis against the main surface color. In Angular Material, this is used for
|
|
66
|
+
// the background of a filled card.
|
|
82
67
|
.mat-bg-surface-container-highest {
|
|
83
68
|
background-color: var(--mat-sys-surface-container-highest);
|
|
84
|
-
color: var(--mat-sys-on-surface);
|
|
85
69
|
}
|
|
86
70
|
|
|
87
|
-
// Styles an element with a "high" surface container color background
|
|
88
|
-
//
|
|
89
|
-
//
|
|
71
|
+
// Styles an element with a "high" surface container color background. Use for surfaces that need
|
|
72
|
+
// more emphasis against the main surface color. In Angular Material, this is used for the
|
|
73
|
+
// background of a datepicker.
|
|
90
74
|
.mat-bg-surface-container-high {
|
|
91
75
|
background-color: var(--mat-sys-surface-container-high);
|
|
92
|
-
color: var(--mat-sys-on-surface);
|
|
93
76
|
}
|
|
94
77
|
|
|
95
|
-
// Styles an element with a surface container color background
|
|
96
|
-
//
|
|
97
|
-
//
|
|
78
|
+
// Styles an element with a surface container color background. Use for surfaces that need to
|
|
79
|
+
// stand out from the main surface color. In Angular Material, this is used for the background
|
|
80
|
+
// of a menu.
|
|
98
81
|
.mat-bg-surface-container {
|
|
99
82
|
background-color: var(--mat-sys-surface-container);
|
|
100
|
-
color: var(--mat-sys-on-surface);
|
|
101
83
|
}
|
|
102
84
|
|
|
103
|
-
// Styles an element with a "low" surface container color background
|
|
104
|
-
//
|
|
105
|
-
//
|
|
85
|
+
// Styles an element with a "low" surface container color background. Use for surfaces that need
|
|
86
|
+
// less emphasis against the main surface color. In Angular Material, this is used for the
|
|
87
|
+
// background of a bottom sheet.
|
|
106
88
|
.mat-bg-surface-container-low {
|
|
107
89
|
background-color: var(--mat-sys-surface-container-low);
|
|
108
|
-
color: var(--mat-sys-on-surface);
|
|
109
90
|
}
|
|
110
91
|
|
|
111
|
-
// Styles an element with the "lowest" surface container color background
|
|
112
|
-
//
|
|
113
|
-
// emphasis against the main surface color.
|
|
92
|
+
// Styles an element with the "lowest" surface container color background. Use for surfaces that
|
|
93
|
+
// need the least emphasis against the main surface color.
|
|
114
94
|
.mat-bg-surface-container-lowest {
|
|
115
95
|
background-color: var(--mat-sys-surface-container-lowest);
|
|
116
|
-
color: var(--mat-sys-on-surface);
|
|
117
96
|
}
|
|
118
97
|
|
|
119
|
-
// Styles an element with an inverse surface color background
|
|
120
|
-
//
|
|
121
|
-
//
|
|
122
|
-
// the background of a snackbar and a tooltip.
|
|
98
|
+
// Styles an element with an inverse surface color background. Use for making elements stand out
|
|
99
|
+
// against the default color scheme. Good for temporary notifications. In Angular Material, this
|
|
100
|
+
// is used for the background of a snackbar and a tooltip.
|
|
123
101
|
.mat-bg-inverse-surface {
|
|
124
102
|
background-color: var(--mat-sys-inverse-surface);
|
|
125
|
-
color: var(--mat-sys-inverse-on-surface);
|
|
126
103
|
}
|
|
127
104
|
|
|
128
|
-
// Styles an element with a disabled color background
|
|
129
|
-
//
|
|
130
|
-
//
|
|
105
|
+
// Styles an element with a disabled color background. Use for disabled components. In Angular
|
|
106
|
+
// Material, this is used for components generally filled with the primary color but are
|
|
107
|
+
// currently disabled.
|
|
131
108
|
.mat-bg-disabled {
|
|
132
|
-
color: color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent);
|
|
133
109
|
background-color: color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent);
|
|
134
110
|
}
|
|
135
111
|
|
|
136
112
|
|
|
137
113
|
// ***********************************************************************************************
|
|
138
|
-
// Text
|
|
114
|
+
// Text - Apply colors to text
|
|
139
115
|
// ***********************************************************************************************
|
|
140
116
|
|
|
141
117
|
// Styles the text of an element with the primary color. Use for text that needs to stand out.
|
|
@@ -144,8 +120,7 @@
|
|
|
144
120
|
color: var(--mat-sys-primary);
|
|
145
121
|
}
|
|
146
122
|
|
|
147
|
-
// Styles the text of an element with the secondary color. Use for text that needs
|
|
148
|
-
// than primary text.
|
|
123
|
+
// Styles the text of an element with the secondary color. Use for text that needs to stand out.
|
|
149
124
|
.mat-text-secondary {
|
|
150
125
|
color: var(--mat-sys-secondary);
|
|
151
126
|
}
|
|
@@ -157,14 +132,64 @@
|
|
|
157
132
|
}
|
|
158
133
|
|
|
159
134
|
// Styles the text of an element with the disabled color. Use for text in disabled components.
|
|
160
|
-
// In Angular Material this is used to show text is disabled, generally on a "surface" background.
|
|
161
135
|
.mat-text-disabled {
|
|
162
136
|
color: color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent);
|
|
163
137
|
}
|
|
164
138
|
|
|
139
|
+
// Styles the text of an element with the on-surface-variant color. Use for text that should have
|
|
140
|
+
// a lower emphasis than the surrounding text. This can include subheading, captions, and hint
|
|
141
|
+
// text.
|
|
142
|
+
.mat-text-on-surface-variant {
|
|
143
|
+
color: var(--mat-sys-on-surface-variant);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
// Styles the text of an element with a color that contrasts well against a primary background.
|
|
147
|
+
.mat-text-on-primary {
|
|
148
|
+
color: var(--mat-sys-on-primary);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// Styles the text of an element with a color that contrasts well against a primary-container
|
|
152
|
+
// background.
|
|
153
|
+
.mat-text-on-primary-container {
|
|
154
|
+
color: var(--mat-sys-on-primary-container);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// Styles the text of an element with a color that contrasts well against a secondary background.
|
|
158
|
+
.mat-text-on-secondary {
|
|
159
|
+
color: var(--mat-sys-on-secondary);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// Styles the text of an element with a color that contrasts well against a secondary-container
|
|
163
|
+
// background.
|
|
164
|
+
.mat-text-on-secondary-container {
|
|
165
|
+
color: var(--mat-sys-on-secondary-container);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// Styles the text of an element with a color that contrasts well against an error background.
|
|
169
|
+
.mat-text-on-error {
|
|
170
|
+
color: var(--mat-sys-on-error);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// Styles the text of an element with a color that contrasts well against an error-container
|
|
174
|
+
// background.
|
|
175
|
+
.mat-text-on-error-container {
|
|
176
|
+
color: var(--mat-sys-on-error-container);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// Styles the text of an element with a color that contrasts well against a surface background.
|
|
180
|
+
.mat-text-on-surface {
|
|
181
|
+
color: var(--mat-sys-on-surface);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// Styles the text of an element with a color that contrasts well against an inverse-surface
|
|
185
|
+
// background.
|
|
186
|
+
.mat-text-inverse-on-surface {
|
|
187
|
+
color: var(--mat-sys-inverse-on-surface);
|
|
188
|
+
}
|
|
165
189
|
|
|
166
190
|
// ***********************************************************************************************
|
|
167
|
-
// Font
|
|
191
|
+
// Font - Apply typography styles
|
|
192
|
+
// See https://m3.material.io/styles/typography/applying-type for guidance.
|
|
168
193
|
// ***********************************************************************************************
|
|
169
194
|
|
|
170
195
|
// Sets the font to the body small typeface. Use for small body text, such as captions. In Angular
|
|
@@ -230,6 +255,26 @@
|
|
|
230
255
|
letter-spacing: var(--mat-sys-headline-large-tracking);
|
|
231
256
|
}
|
|
232
257
|
|
|
258
|
+
// Sets the font to the label small typeface. Use for small labels, such as text in a badge.
|
|
259
|
+
.mat-font-label-sm {
|
|
260
|
+
font: var(--mat-sys-label-small);
|
|
261
|
+
letter-spacing: var(--mat-sys-label-small-tracking);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// Sets the font to the label medium typeface. Use for medium labels. In Angular Material, this
|
|
265
|
+
// is used for the slider label.
|
|
266
|
+
.mat-font-label-md {
|
|
267
|
+
font: var(--mat-sys-label-medium);
|
|
268
|
+
letter-spacing: var(--mat-sys-label-medium-tracking);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// Sets the font to the label large typeface. Use for large labels. In Angular Material, this is
|
|
272
|
+
// used for buttons, chips, and menu labels.
|
|
273
|
+
.mat-font-label-lg {
|
|
274
|
+
font: var(--mat-sys-label-large);
|
|
275
|
+
letter-spacing: var(--mat-sys-label-large-tracking);
|
|
276
|
+
}
|
|
277
|
+
|
|
233
278
|
// Sets the font to the title small typeface. Use for small titles, such as a card title. In
|
|
234
279
|
// Angular Material, this is used for the header of a table and the label of an option group.
|
|
235
280
|
.mat-font-title-sm {
|
|
@@ -255,50 +300,51 @@
|
|
|
255
300
|
|
|
256
301
|
|
|
257
302
|
// ***********************************************************************************************
|
|
258
|
-
// Corner
|
|
303
|
+
// Corner - Apply varying amounts of a border radius
|
|
304
|
+
// See https://m3.material.io/styles/shape/corner-radius-scale for guidance.
|
|
259
305
|
// ***********************************************************************************************
|
|
260
306
|
|
|
261
307
|
// Sets the border radius to extra small. Use for components that need a small amount of rounding,
|
|
262
308
|
// such as a chip. In Angular Material, this is used for the shape of a snackbar and a tooltip.
|
|
263
|
-
.mat-
|
|
309
|
+
.mat-corner-xs {
|
|
264
310
|
border-radius: var(--mat-sys-corner-extra-small);
|
|
265
311
|
}
|
|
266
312
|
|
|
267
313
|
// Sets the border radius to small. Use for components that need a small amount of rounding, such
|
|
268
314
|
// as a text field.
|
|
269
|
-
.mat-
|
|
315
|
+
.mat-corner-sm {
|
|
270
316
|
border-radius: var(--mat-sys-corner-small);
|
|
271
317
|
}
|
|
272
318
|
|
|
273
319
|
// Sets the border radius to medium. Use for components that need a medium amount of rounding,
|
|
274
320
|
// such as a button. In Angular Material, this is used for the shape of a card.
|
|
275
|
-
.mat-
|
|
321
|
+
.mat-corner-md {
|
|
276
322
|
border-radius: var(--mat-sys-corner-medium);
|
|
277
323
|
}
|
|
278
324
|
|
|
279
325
|
// Sets the border radius to large. Use for components that need a large amount of rounding, such
|
|
280
326
|
// as a card. In Angular Material, this is used for the shape of a floating action button and a
|
|
281
327
|
// datepicker.
|
|
282
|
-
.mat-
|
|
328
|
+
.mat-corner-lg {
|
|
283
329
|
border-radius: var(--mat-sys-corner-large);
|
|
284
330
|
}
|
|
285
331
|
|
|
286
332
|
// Sets the border radius to extra large. Use for components that need a large amount of
|
|
287
333
|
// rounding. In Angular Material, this is used for the shape of a button toggle and the shape of
|
|
288
334
|
// a dialog.
|
|
289
|
-
.mat-
|
|
335
|
+
.mat-corner-xl {
|
|
290
336
|
border-radius: var(--mat-sys-corner-extra-large);
|
|
291
337
|
}
|
|
292
338
|
|
|
293
339
|
// Sets the border radius to full. Use for components that are circular, such as a user avatar.
|
|
294
340
|
// In Angular Material, this is used for the shape of a badge and the shape of a button.
|
|
295
|
-
.mat-
|
|
341
|
+
.mat-corner-full {
|
|
296
342
|
border-radius: var(--mat-sys-corner-full);
|
|
297
343
|
}
|
|
298
344
|
|
|
299
345
|
|
|
300
346
|
// ***********************************************************************************************
|
|
301
|
-
// Border
|
|
347
|
+
// Border - Applies a 1px solid border
|
|
302
348
|
// ***********************************************************************************************
|
|
303
349
|
|
|
304
350
|
// Adds an outline to an element. Use for components that need a visible boundary. In Angular
|
|
@@ -314,70 +360,9 @@
|
|
|
314
360
|
border: 1px solid var(--mat-sys-outline-variant);
|
|
315
361
|
}
|
|
316
362
|
|
|
317
|
-
|
|
318
|
-
// ***********************************************************************************************
|
|
319
|
-
// State
|
|
320
|
-
// ***********************************************************************************************
|
|
321
|
-
|
|
322
|
-
// Adds hover, focus, and active states to an element by applying varying shades of the surface
|
|
323
|
-
// color. Use for interactive components that are not based on a primary color.
|
|
324
|
-
.mat-stateful {
|
|
325
|
-
&:hover {
|
|
326
|
-
background: color-mix(
|
|
327
|
-
in srgb,
|
|
328
|
-
var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%),
|
|
329
|
-
transparent
|
|
330
|
-
);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
&:focus {
|
|
334
|
-
background: color-mix(
|
|
335
|
-
in srgb,
|
|
336
|
-
var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%),
|
|
337
|
-
transparent
|
|
338
|
-
);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
&:active {
|
|
342
|
-
background: color-mix(
|
|
343
|
-
in srgb,
|
|
344
|
-
var(--mat-sys-on-surface) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%),
|
|
345
|
-
transparent
|
|
346
|
-
);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
// Adds hover, focus, and active states to an element by applying varying shades of the primary
|
|
351
|
-
// color. Use for interactive components that are not based on a primary color.
|
|
352
|
-
.mat-stateful-primary {
|
|
353
|
-
&:hover {
|
|
354
|
-
background: color-mix(
|
|
355
|
-
in srgb,
|
|
356
|
-
var(--mat-sys-primary) calc(var(--mat-sys-hover-state-layer-opacity) * 100%),
|
|
357
|
-
transparent
|
|
358
|
-
);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
&:focus {
|
|
362
|
-
background: color-mix(
|
|
363
|
-
in srgb,
|
|
364
|
-
var(--mat-sys-primary) calc(var(--mat-sys-focus-state-layer-opacity) * 100%),
|
|
365
|
-
transparent
|
|
366
|
-
);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
&:active {
|
|
370
|
-
background: color-mix(
|
|
371
|
-
in srgb,
|
|
372
|
-
var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%),
|
|
373
|
-
transparent
|
|
374
|
-
);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
|
|
379
363
|
// ***********************************************************************************************
|
|
380
|
-
//
|
|
364
|
+
// Shadow - Applies elevation levels through box-shadow
|
|
365
|
+
// See https://m3.material.io/styles/elevation/applying-elevation for guidance.
|
|
381
366
|
// ***********************************************************************************************
|
|
382
367
|
|
|
383
368
|
// Use to slightly raise the appearance of a surface. In Angular Material, this is used for the
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Dark system color values that are google3-internal and diverge from the
|
|
2
|
+
// external Material Design spec.
|
|
3
|
+
@function values-dark($palettes) {
|
|
4
|
+
@return ();
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
// Light system color values that are google3-internal and diverge from the
|
|
8
|
+
// external Material Design spec.
|
|
9
|
+
@function values-light($palettes) {
|
|
10
|
+
@return ();
|
|
11
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
1
|
@use '../../m2/palette';
|
|
2
|
+
@use './md-sys-color-internal';
|
|
3
|
+
@use 'sass:map';
|
|
3
4
|
|
|
4
5
|
@function md-sys-color-values-dark($palettes) {
|
|
5
|
-
|
|
6
|
+
$values: (
|
|
6
7
|
primary: map.get($palettes, primary, default),
|
|
7
8
|
on-primary: map.get($palettes, primary, default-contrast),
|
|
8
9
|
inverse-primary: map.get($palettes, primary, 600),
|
|
@@ -22,24 +23,24 @@
|
|
|
22
23
|
inverse-on-surface: rgba(black, 0.87),
|
|
23
24
|
outline: rgba(white, 0.12),
|
|
24
25
|
outline-variant: rgba(white, 0.38),
|
|
25
|
-
error-container: map.get($palettes, warn,
|
|
26
|
+
error-container: map.get($palettes, warn, 900),
|
|
26
27
|
on-background: white,
|
|
27
|
-
on-error-container: map.get($palettes, warn,
|
|
28
|
-
on-primary-container: map.get($palettes, primary,
|
|
28
|
+
on-error-container: map.get($palettes, warn, 50),
|
|
29
|
+
on-primary-container: map.get($palettes, primary, 50),
|
|
29
30
|
on-primary-fixed: map.get($palettes, primary, default-contrast),
|
|
30
31
|
on-primary-fixed-variant: map.get($palettes, primary, default-contrast),
|
|
31
|
-
on-secondary-container: map.get($palettes, accent,
|
|
32
|
+
on-secondary-container: map.get($palettes, accent, 50),
|
|
32
33
|
on-secondary-fixed: map.get($palettes, accent, default-contrast),
|
|
33
34
|
on-secondary-fixed-variant: map.get($palettes, accent, default-contrast),
|
|
34
35
|
on-tertiary: map.get($palettes, accent, default-contrast),
|
|
35
|
-
on-tertiary-container: map.get($palettes, accent,
|
|
36
|
+
on-tertiary-container: map.get($palettes, accent, 50),
|
|
36
37
|
on-tertiary-fixed: map.get($palettes, accent, default-contrast),
|
|
37
38
|
on-tertiary-fixed-variant: map.get($palettes, accent, default-contrast),
|
|
38
|
-
primary-container: map.get($palettes, primary,
|
|
39
|
+
primary-container: map.get($palettes, primary, 900),
|
|
39
40
|
primary-fixed: map.get($palettes, primary, default),
|
|
40
41
|
primary-fixed-dim: map.get($palettes, primary, default),
|
|
41
42
|
scrim: black,
|
|
42
|
-
secondary-container: map.get($palettes, accent,
|
|
43
|
+
secondary-container: map.get($palettes, accent, 900),
|
|
43
44
|
secondary-fixed: map.get($palettes, accent, default),
|
|
44
45
|
secondary-fixed-dim: map.get($palettes, accent, default),
|
|
45
46
|
surface-bright: map.get(palette.$grey-palette, 800),
|
|
@@ -51,14 +52,18 @@
|
|
|
51
52
|
surface-dim: map.get(palette.$grey-palette, 800),
|
|
52
53
|
surface-tint: map.get(palette.$grey-palette, 800),
|
|
53
54
|
tertiary: map.get($palettes, accent, default),
|
|
54
|
-
tertiary-container: map.get($palettes, accent,
|
|
55
|
+
tertiary-container: map.get($palettes, accent, 900),
|
|
55
56
|
tertiary-fixed: map.get($palettes, accent, default),
|
|
56
57
|
tertiary-fixed-dim: map.get($palettes, accent, default),
|
|
57
58
|
);
|
|
59
|
+
|
|
60
|
+
$values: map.merge($values, md-sys-color-internal.values-dark($palettes));
|
|
61
|
+
|
|
62
|
+
@return $values;
|
|
58
63
|
}
|
|
59
64
|
|
|
60
65
|
@function md-sys-color-values-light($palettes) {
|
|
61
|
-
|
|
66
|
+
$values: (
|
|
62
67
|
primary: map.get($palettes, primary, default),
|
|
63
68
|
on-primary: map.get($palettes, primary, default-contrast),
|
|
64
69
|
inverse-primary: map.get($palettes, primary, 300),
|
|
@@ -78,24 +83,24 @@
|
|
|
78
83
|
inverse-on-surface: white,
|
|
79
84
|
outline: rgba(black, 0.12),
|
|
80
85
|
outline-variant: rgba(black, 0.38),
|
|
81
|
-
error-container: map.get($palettes, warn,
|
|
86
|
+
error-container: map.get($palettes, warn, 50),
|
|
82
87
|
on-background: rgba(black, 0.87),
|
|
83
|
-
on-error-container: map.get($palettes, warn,
|
|
84
|
-
on-primary-container: map.get($palettes, primary,
|
|
88
|
+
on-error-container: map.get($palettes, warn, 700),
|
|
89
|
+
on-primary-container: map.get($palettes, primary, 700),
|
|
85
90
|
on-primary-fixed: map.get($palettes, primary, default-contrast),
|
|
86
91
|
on-primary-fixed-variant: map.get($palettes, primary, default-contrast),
|
|
87
|
-
on-secondary-container: map.get($palettes, accent,
|
|
92
|
+
on-secondary-container: map.get($palettes, accent, 700),
|
|
88
93
|
on-secondary-fixed: map.get($palettes, accent, default-contrast),
|
|
89
94
|
on-secondary-fixed-variant: map.get($palettes, accent, default-contrast),
|
|
90
95
|
on-tertiary: map.get($palettes, accent, default-contrast),
|
|
91
|
-
on-tertiary-container: map.get($palettes, accent,
|
|
96
|
+
on-tertiary-container: map.get($palettes, accent, 700),
|
|
92
97
|
on-tertiary-fixed: map.get($palettes, accent, default-contrast),
|
|
93
98
|
on-tertiary-fixed-variant: map.get($palettes, accent, default-contrast),
|
|
94
|
-
primary-container: map.get($palettes, primary,
|
|
99
|
+
primary-container: map.get($palettes, primary, 50),
|
|
95
100
|
primary-fixed: map.get($palettes, primary, default),
|
|
96
101
|
primary-fixed-dim: map.get($palettes, primary, default),
|
|
97
102
|
scrim: black,
|
|
98
|
-
secondary-container: map.get($palettes, accent,
|
|
103
|
+
secondary-container: map.get($palettes, accent, 50),
|
|
99
104
|
secondary-fixed: map.get($palettes, accent, default),
|
|
100
105
|
secondary-fixed-dim: map.get($palettes, accent, default),
|
|
101
106
|
surface-bright: white,
|
|
@@ -107,8 +112,12 @@
|
|
|
107
112
|
surface-dim: white,
|
|
108
113
|
surface-tint: white,
|
|
109
114
|
tertiary: map.get($palettes, accent, default),
|
|
110
|
-
tertiary-container: map.get($palettes, accent,
|
|
115
|
+
tertiary-container: map.get($palettes, accent, 50),
|
|
111
116
|
tertiary-fixed: map.get($palettes, accent, default),
|
|
112
117
|
tertiary-fixed-dim: map.get($palettes, accent, default),
|
|
113
118
|
);
|
|
119
|
+
|
|
120
|
+
$values: map.merge($values, md-sys-color-internal.values-light($palettes));
|
|
121
|
+
|
|
122
|
+
@return $values;
|
|
114
123
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Dark system color values that are internal-only and diverge from the
|
|
2
|
+
// external Material Design spec.
|
|
3
|
+
@function values-dark($palettes) {
|
|
4
|
+
@return ();
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
// Light system color values that are internal-only and diverge from the
|
|
8
|
+
// external Material Design spec.
|
|
9
|
+
@function values-light($palettes) {
|
|
10
|
+
@return ();
|
|
11
|
+
}
|