@angular/material 21.0.0-next.0 → 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/_index.scss +1 -1
- package/core/focus-indicators/_private.scss +16 -0
- package/core/tokens/_classes.scss +150 -167
- 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} +7 -7
- 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} +10 -10
- package/fesm2022/_icon-button-chunk.mjs.map +1 -0
- package/fesm2022/{icon-registry.mjs → _icon-registry-chunk.mjs} +6 -33
- 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} +4 -4
- package/fesm2022/_internal-form-field-chunk.mjs.map +1 -0
- package/fesm2022/{line.mjs → _line-chunk.mjs} +11 -11
- package/fesm2022/_line-chunk.mjs.map +1 -0
- package/fesm2022/{option.mjs → _option-chunk.mjs} +11 -11
- 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-chunk.mjs +22 -0
- package/fesm2022/_option-module-chunk.mjs.map +1 -0
- package/fesm2022/{pseudo-checkbox.mjs → _pseudo-checkbox-chunk.mjs} +5 -5
- package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -0
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs +20 -0
- 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} +10 -10
- package/fesm2022/_ripple-chunk.mjs.map +1 -0
- package/fesm2022/{ripple-loader.mjs → _ripple-loader-chunk.mjs} +6 -6
- package/fesm2022/_ripple-loader-chunk.mjs.map +1 -0
- package/fesm2022/_ripple-module-chunk.mjs +20 -0
- package/fesm2022/_ripple-module-chunk.mjs.map +1 -0
- package/fesm2022/{structural-styles.mjs → _structural-styles-chunk.mjs} +4 -4
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -0
- package/fesm2022/{tooltip-module.mjs → _tooltip-chunk.mjs} +18 -61
- 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 +32 -64
- 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 +14 -15
- 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 +20 -98
- 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 +24 -33
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +32 -54
- 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 +50 -52
- 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 +26 -36
- 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 +158 -126
- 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 +28 -35
- 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 +193 -346
- 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 +10 -12
- 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 +33 -137
- 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 +30 -35
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/{icon/testing.mjs → icon-testing.mjs} +9 -9
- package/fesm2022/icon-testing.mjs.map +1 -0
- package/fesm2022/icon.mjs +22 -30
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/{input/testing.mjs → input-testing.mjs} +3 -3
- package/fesm2022/input-testing.mjs.map +1 -0
- package/fesm2022/input.mjs +17 -18
- 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 +63 -64
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/material.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 +45 -193
- 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 +31 -51
- 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 +24 -29
- 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 +12 -22
- 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 +23 -32
- 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 +30 -120
- 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 +14 -15
- 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 +24 -38
- 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 +34 -128
- 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 +26 -351
- 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 +46 -219
- 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 +66 -63
- 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 +68 -222
- 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 +40 -34
- 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 +13 -15
- 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 -54
- 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 +29 -31
- 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/schematics/ng-update/index_bundled.js +7 -3
- package/schematics/ng-update/index_bundled.js.map +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} +74 -68
- 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/testing.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 +0 -22
- 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 +0 -20
- 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 +0 -20
- 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.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/_index.scss
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
@forward 'core/tokens/system' show system-level-colors,
|
|
21
21
|
system-level-typography, system-level-elevation, system-level-shape,
|
|
22
22
|
system-level-motion, system-level-state, theme, theme-overrides, m2-theme;
|
|
23
|
-
@forward 'core/tokens/classes' show
|
|
23
|
+
@forward 'core/tokens/classes' show system-classes;
|
|
24
24
|
|
|
25
25
|
// Private/Internal
|
|
26
26
|
@forward './core/density/private/all-density' show all-component-densities;
|
|
@@ -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,143 +1,117 @@
|
|
|
1
|
-
// Utility classes that can be used to style elements with the most commonly used tokens in
|
|
2
|
-
// Material Design. Includes color, typography, elevation, and shape.
|
|
3
|
-
|
|
4
|
-
// Use caution depending on this.
|
|
5
|
-
@mixin utility-classes() {
|
|
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, state, and shape.
|
|
3
|
+
@mixin system-classes() {
|
|
6
4
|
|
|
7
5
|
// ***********************************************************************************************
|
|
8
|
-
// Background
|
|
6
|
+
// Background - Applies background colors defined by Material Design.
|
|
7
|
+
// See https://m3.material.io/styles/color/roles for detailed guidance.
|
|
9
8
|
// ***********************************************************************************************
|
|
10
9
|
|
|
11
|
-
// Styles an element with a primary color background
|
|
12
|
-
//
|
|
13
|
-
//
|
|
14
|
-
// 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.
|
|
15
13
|
.mat-bg-primary {
|
|
16
14
|
background-color: var(--mat-sys-primary);
|
|
17
|
-
color: var(--mat-sys-on-primary);
|
|
18
15
|
}
|
|
19
16
|
|
|
20
|
-
// Styles an element with a primary container color background
|
|
21
|
-
//
|
|
22
|
-
//
|
|
23
|
-
// 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.
|
|
24
20
|
.mat-bg-primary-container {
|
|
25
21
|
background-color: var(--mat-sys-primary-container);
|
|
26
|
-
color: var(--mat-sys-on-primary-container);
|
|
27
22
|
}
|
|
28
23
|
|
|
29
|
-
// Styles an element with a secondary color background
|
|
30
|
-
//
|
|
31
|
-
// 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.
|
|
32
26
|
.mat-bg-secondary {
|
|
33
27
|
background-color: var(--mat-sys-secondary);
|
|
34
|
-
color: var(--mat-sys-on-secondary);
|
|
35
28
|
}
|
|
36
29
|
|
|
37
|
-
// Styles an element with a secondary container color background
|
|
38
|
-
//
|
|
39
|
-
//
|
|
40
|
-
// 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.
|
|
41
33
|
.mat-bg-secondary-container {
|
|
42
34
|
background-color: var(--mat-sys-secondary-container);
|
|
43
|
-
color: var(--mat-sys-on-secondary-container);
|
|
44
35
|
}
|
|
45
36
|
|
|
46
|
-
// Styles an element with an error color background
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
// 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.
|
|
50
40
|
.mat-bg-error {
|
|
51
41
|
background-color: var(--mat-sys-error);
|
|
52
|
-
color: var(--mat-sys-on-error);
|
|
53
42
|
}
|
|
54
43
|
|
|
55
|
-
// Styles an element with an error container color background
|
|
56
|
-
//
|
|
57
|
-
// 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.
|
|
58
46
|
.mat-bg-error-container {
|
|
59
47
|
background-color: var(--mat-sys-error-container);
|
|
60
|
-
color: var(--mat-sys-on-error-container);
|
|
61
48
|
}
|
|
62
49
|
|
|
63
|
-
// Styles an element with a surface color background
|
|
64
|
-
//
|
|
65
|
-
//
|
|
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.
|
|
66
53
|
.mat-bg-surface {
|
|
67
54
|
background-color: var(--mat-sys-surface);
|
|
68
|
-
color: var(--mat-sys-on-surface);
|
|
69
55
|
}
|
|
70
56
|
|
|
71
|
-
// Styles an element with a surface variant color background
|
|
72
|
-
//
|
|
73
|
-
//
|
|
74
|
-
// 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.
|
|
75
60
|
.mat-bg-surface-variant {
|
|
76
61
|
background-color: var(--mat-sys-surface-variant);
|
|
77
|
-
color: var(--mat-sys-on-surface-variant);
|
|
78
62
|
}
|
|
79
63
|
|
|
80
|
-
// Styles an element with the "highest" surface container color background
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
// 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.
|
|
84
67
|
.mat-bg-surface-container-highest {
|
|
85
68
|
background-color: var(--mat-sys-surface-container-highest);
|
|
86
|
-
color: var(--mat-sys-on-surface);
|
|
87
69
|
}
|
|
88
70
|
|
|
89
|
-
// Styles an element with a "high" surface container color background
|
|
90
|
-
//
|
|
91
|
-
//
|
|
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.
|
|
92
74
|
.mat-bg-surface-container-high {
|
|
93
75
|
background-color: var(--mat-sys-surface-container-high);
|
|
94
|
-
color: var(--mat-sys-on-surface);
|
|
95
76
|
}
|
|
96
77
|
|
|
97
|
-
// Styles an element with a surface container color background
|
|
98
|
-
//
|
|
99
|
-
//
|
|
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.
|
|
100
81
|
.mat-bg-surface-container {
|
|
101
82
|
background-color: var(--mat-sys-surface-container);
|
|
102
|
-
color: var(--mat-sys-on-surface);
|
|
103
83
|
}
|
|
104
84
|
|
|
105
|
-
// Styles an element with a "low" surface container color background
|
|
106
|
-
//
|
|
107
|
-
//
|
|
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.
|
|
108
88
|
.mat-bg-surface-container-low {
|
|
109
89
|
background-color: var(--mat-sys-surface-container-low);
|
|
110
|
-
color: var(--mat-sys-on-surface);
|
|
111
90
|
}
|
|
112
91
|
|
|
113
|
-
// Styles an element with the "lowest" surface container color background
|
|
114
|
-
//
|
|
115
|
-
// 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.
|
|
116
94
|
.mat-bg-surface-container-lowest {
|
|
117
95
|
background-color: var(--mat-sys-surface-container-lowest);
|
|
118
|
-
color: var(--mat-sys-on-surface);
|
|
119
96
|
}
|
|
120
97
|
|
|
121
|
-
// Styles an element with an inverse surface color background
|
|
122
|
-
//
|
|
123
|
-
//
|
|
124
|
-
// 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.
|
|
125
101
|
.mat-bg-inverse-surface {
|
|
126
102
|
background-color: var(--mat-sys-inverse-surface);
|
|
127
|
-
color: var(--mat-sys-inverse-on-surface);
|
|
128
103
|
}
|
|
129
104
|
|
|
130
|
-
// Styles an element with a disabled color background
|
|
131
|
-
//
|
|
132
|
-
//
|
|
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.
|
|
133
108
|
.mat-bg-disabled {
|
|
134
|
-
color: color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent);
|
|
135
109
|
background-color: color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent);
|
|
136
110
|
}
|
|
137
111
|
|
|
138
112
|
|
|
139
113
|
// ***********************************************************************************************
|
|
140
|
-
// Text
|
|
114
|
+
// Text - Apply colors to text
|
|
141
115
|
// ***********************************************************************************************
|
|
142
116
|
|
|
143
117
|
// Styles the text of an element with the primary color. Use for text that needs to stand out.
|
|
@@ -146,8 +120,7 @@
|
|
|
146
120
|
color: var(--mat-sys-primary);
|
|
147
121
|
}
|
|
148
122
|
|
|
149
|
-
// Styles the text of an element with the secondary color. Use for text that needs
|
|
150
|
-
// than primary text.
|
|
123
|
+
// Styles the text of an element with the secondary color. Use for text that needs to stand out.
|
|
151
124
|
.mat-text-secondary {
|
|
152
125
|
color: var(--mat-sys-secondary);
|
|
153
126
|
}
|
|
@@ -159,19 +132,69 @@
|
|
|
159
132
|
}
|
|
160
133
|
|
|
161
134
|
// Styles the text of an element with the disabled color. Use for text in disabled components.
|
|
162
|
-
// In Angular Material this is used to show text is disabled, generally on a "surface" background.
|
|
163
135
|
.mat-text-disabled {
|
|
164
136
|
color: color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent);
|
|
165
137
|
}
|
|
166
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
|
+
}
|
|
167
189
|
|
|
168
190
|
// ***********************************************************************************************
|
|
169
|
-
// Font
|
|
191
|
+
// Font - Apply typography styles
|
|
192
|
+
// See https://m3.material.io/styles/typography/applying-type for guidance.
|
|
170
193
|
// ***********************************************************************************************
|
|
171
194
|
|
|
172
195
|
// Sets the font to the body small typeface. Use for small body text, such as captions. In Angular
|
|
173
196
|
// Material, this is used for the subscript text in a form field and the text in a paginator.
|
|
174
|
-
.mat-font-body-
|
|
197
|
+
.mat-font-body-sm {
|
|
175
198
|
font: var(--mat-sys-body-small);
|
|
176
199
|
letter-spacing: var(--mat-sys-body-small-tracking);
|
|
177
200
|
}
|
|
@@ -179,7 +202,7 @@
|
|
|
179
202
|
// Sets the font to the body medium typeface. Use for medium body text, this is the default
|
|
180
203
|
// body font. In Angular Material, this is used for the text in a table row and the supporting
|
|
181
204
|
// text in a dialog.
|
|
182
|
-
.mat-font-body-
|
|
205
|
+
.mat-font-body-md {
|
|
183
206
|
font: var(--mat-sys-body-medium);
|
|
184
207
|
letter-spacing: var(--mat-sys-body-medium-tracking);
|
|
185
208
|
}
|
|
@@ -187,54 +210,74 @@
|
|
|
187
210
|
// Sets the font to the body large typeface. Use for large body text, such as an introductory
|
|
188
211
|
// paragraph. In Angular Material, this is used for the text in a list item and the text in a
|
|
189
212
|
// select trigger.
|
|
190
|
-
.mat-font-body-
|
|
213
|
+
.mat-font-body-lg {
|
|
191
214
|
font: var(--mat-sys-body-large);
|
|
192
215
|
letter-spacing: var(--mat-sys-body-large-tracking);
|
|
193
216
|
}
|
|
194
217
|
|
|
195
218
|
// Sets the font to the display small typeface. Use for small display text, such as a date.
|
|
196
|
-
.mat-font-display-
|
|
219
|
+
.mat-font-display-sm {
|
|
197
220
|
font: var(--mat-sys-display-small);
|
|
198
221
|
letter-spacing: var(--mat-sys-display-small-tracking);
|
|
199
222
|
}
|
|
200
223
|
|
|
201
224
|
// Sets the font to the display medium typeface. Use for medium display text, such as a hero
|
|
202
225
|
// title.
|
|
203
|
-
.mat-font-display-
|
|
226
|
+
.mat-font-display-md {
|
|
204
227
|
font: var(--mat-sys-display-medium);
|
|
205
228
|
letter-spacing: var(--mat-sys-display-medium-tracking);
|
|
206
229
|
}
|
|
207
230
|
|
|
208
231
|
// Sets the font to the display large typeface. Use for large display text, such as a hero title.
|
|
209
|
-
.mat-font-display-
|
|
232
|
+
.mat-font-display-lg {
|
|
210
233
|
font: var(--mat-sys-display-large);
|
|
211
234
|
letter-spacing: var(--mat-sys-display-large-tracking);
|
|
212
235
|
}
|
|
213
236
|
|
|
214
237
|
// Sets the font to the headline small typeface. Use for small headlines, such as a page title. In
|
|
215
238
|
// Angular Material, this is used for the headline in a dialog.
|
|
216
|
-
.mat-font-headline-
|
|
239
|
+
.mat-font-headline-sm {
|
|
217
240
|
font: var(--mat-sys-headline-small);
|
|
218
241
|
letter-spacing: var(--mat-sys-headline-small-tracking);
|
|
219
242
|
}
|
|
220
243
|
|
|
221
244
|
// Sets the font to the headline medium typeface. Use for medium headlines, such as a section
|
|
222
245
|
// title.
|
|
223
|
-
.mat-font-headline-
|
|
246
|
+
.mat-font-headline-md {
|
|
224
247
|
font: var(--mat-sys-headline-medium);
|
|
225
248
|
letter-spacing: var(--mat-sys-headline-medium-tracking);
|
|
226
249
|
}
|
|
227
250
|
|
|
228
251
|
// Sets the font to the headline large typeface. Use for large headlines, such as a page title on
|
|
229
252
|
// a large screen.
|
|
230
|
-
.mat-font-headline-
|
|
253
|
+
.mat-font-headline-lg {
|
|
231
254
|
font: var(--mat-sys-headline-large);
|
|
232
255
|
letter-spacing: var(--mat-sys-headline-large-tracking);
|
|
233
256
|
}
|
|
234
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
|
+
|
|
235
278
|
// Sets the font to the title small typeface. Use for small titles, such as a card title. In
|
|
236
279
|
// Angular Material, this is used for the header of a table and the label of an option group.
|
|
237
|
-
.mat-font-title-
|
|
280
|
+
.mat-font-title-sm {
|
|
238
281
|
font: var(--mat-sys-title-small);
|
|
239
282
|
letter-spacing: var(--mat-sys-title-small-tracking);
|
|
240
283
|
}
|
|
@@ -242,7 +285,7 @@
|
|
|
242
285
|
// Sets the font to the title medium typeface. Use for medium titles, such as a dialog title
|
|
243
286
|
// or the primary text in a list item. In Angular Material, this is used for the subtitle
|
|
244
287
|
// of a card and the header of an expansion panel.
|
|
245
|
-
.mat-font-title-
|
|
288
|
+
.mat-font-title-md {
|
|
246
289
|
font: var(--mat-sys-title-medium);
|
|
247
290
|
letter-spacing: var(--mat-sys-title-medium-tracking);
|
|
248
291
|
}
|
|
@@ -250,45 +293,46 @@
|
|
|
250
293
|
// Sets the font to the title large typeface. Use for large titles, such as a page title on a
|
|
251
294
|
// small screen. In Angular Material, this is used for the title of a card and the title of a
|
|
252
295
|
// toolbar.
|
|
253
|
-
.mat-font-title-
|
|
296
|
+
.mat-font-title-lg {
|
|
254
297
|
font: var(--mat-sys-title-large);
|
|
255
298
|
letter-spacing: var(--mat-sys-title-large-tracking);
|
|
256
299
|
}
|
|
257
300
|
|
|
258
301
|
|
|
259
302
|
// ***********************************************************************************************
|
|
260
|
-
// Corner
|
|
303
|
+
// Corner - Apply varying amounts of a border radius
|
|
304
|
+
// See https://m3.material.io/styles/shape/corner-radius-scale for guidance.
|
|
261
305
|
// ***********************************************************************************************
|
|
262
306
|
|
|
263
307
|
// Sets the border radius to extra small. Use for components that need a small amount of rounding,
|
|
264
308
|
// such as a chip. In Angular Material, this is used for the shape of a snackbar and a tooltip.
|
|
265
|
-
.mat-corner-
|
|
309
|
+
.mat-corner-xs {
|
|
266
310
|
border-radius: var(--mat-sys-corner-extra-small);
|
|
267
311
|
}
|
|
268
312
|
|
|
269
313
|
// Sets the border radius to small. Use for components that need a small amount of rounding, such
|
|
270
314
|
// as a text field.
|
|
271
|
-
.mat-corner-
|
|
315
|
+
.mat-corner-sm {
|
|
272
316
|
border-radius: var(--mat-sys-corner-small);
|
|
273
317
|
}
|
|
274
318
|
|
|
275
319
|
// Sets the border radius to medium. Use for components that need a medium amount of rounding,
|
|
276
320
|
// such as a button. In Angular Material, this is used for the shape of a card.
|
|
277
|
-
.mat-corner-
|
|
321
|
+
.mat-corner-md {
|
|
278
322
|
border-radius: var(--mat-sys-corner-medium);
|
|
279
323
|
}
|
|
280
324
|
|
|
281
325
|
// Sets the border radius to large. Use for components that need a large amount of rounding, such
|
|
282
326
|
// as a card. In Angular Material, this is used for the shape of a floating action button and a
|
|
283
327
|
// datepicker.
|
|
284
|
-
.mat-corner-
|
|
328
|
+
.mat-corner-lg {
|
|
285
329
|
border-radius: var(--mat-sys-corner-large);
|
|
286
330
|
}
|
|
287
331
|
|
|
288
332
|
// Sets the border radius to extra large. Use for components that need a large amount of
|
|
289
333
|
// rounding. In Angular Material, this is used for the shape of a button toggle and the shape of
|
|
290
334
|
// a dialog.
|
|
291
|
-
.mat-corner-
|
|
335
|
+
.mat-corner-xl {
|
|
292
336
|
border-radius: var(--mat-sys-corner-extra-large);
|
|
293
337
|
}
|
|
294
338
|
|
|
@@ -300,116 +344,55 @@
|
|
|
300
344
|
|
|
301
345
|
|
|
302
346
|
// ***********************************************************************************************
|
|
303
|
-
// Border
|
|
347
|
+
// Border - Applies a 1px solid border
|
|
304
348
|
// ***********************************************************************************************
|
|
305
349
|
|
|
306
350
|
// Adds an outline to an element. Use for components that need a visible boundary. In Angular
|
|
307
351
|
// Material, this is used for the outline of an outlined button.
|
|
308
|
-
.mat-
|
|
352
|
+
.mat-border {
|
|
309
353
|
border: 1px solid var(--mat-sys-outline);
|
|
310
354
|
}
|
|
311
355
|
|
|
312
356
|
// Adds a less prominent outline to an element. Use for components that need a less obvious
|
|
313
357
|
// boundary. In Angular Material, this is used for the outline of an outlined card and the color
|
|
314
358
|
// of the divider
|
|
315
|
-
.mat-
|
|
359
|
+
.mat-border-subtle {
|
|
316
360
|
border: 1px solid var(--mat-sys-outline-variant);
|
|
317
361
|
}
|
|
318
362
|
|
|
319
|
-
|
|
320
|
-
// ***********************************************************************************************
|
|
321
|
-
// State
|
|
322
|
-
// ***********************************************************************************************
|
|
323
|
-
|
|
324
|
-
// Adds hover, focus, and active states to an element by applying varying shades of the surface
|
|
325
|
-
// color. Use for interactive components that are not based on a primary color.
|
|
326
|
-
.mat-stateful {
|
|
327
|
-
&:hover {
|
|
328
|
-
background: color-mix(
|
|
329
|
-
in srgb,
|
|
330
|
-
var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%),
|
|
331
|
-
transparent
|
|
332
|
-
);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
&:focus {
|
|
336
|
-
background: color-mix(
|
|
337
|
-
in srgb,
|
|
338
|
-
var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%),
|
|
339
|
-
transparent
|
|
340
|
-
);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
&:active {
|
|
344
|
-
background: color-mix(
|
|
345
|
-
in srgb,
|
|
346
|
-
var(--mat-sys-on-surface) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%),
|
|
347
|
-
transparent
|
|
348
|
-
);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
// Adds hover, focus, and active states to an element by applying varying shades of the primary
|
|
353
|
-
// color. Use for interactive components that are not based on a primary color.
|
|
354
|
-
.mat-stateful-primary {
|
|
355
|
-
&:hover {
|
|
356
|
-
background: color-mix(
|
|
357
|
-
in srgb,
|
|
358
|
-
var(--mat-sys-primary) calc(var(--mat-sys-hover-state-layer-opacity) * 100%),
|
|
359
|
-
transparent
|
|
360
|
-
);
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
&:focus {
|
|
364
|
-
background: color-mix(
|
|
365
|
-
in srgb,
|
|
366
|
-
var(--mat-sys-primary) calc(var(--mat-sys-focus-state-layer-opacity) * 100%),
|
|
367
|
-
transparent
|
|
368
|
-
);
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
&:active {
|
|
372
|
-
background: color-mix(
|
|
373
|
-
in srgb,
|
|
374
|
-
var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%),
|
|
375
|
-
transparent
|
|
376
|
-
);
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
|
|
381
363
|
// ***********************************************************************************************
|
|
382
|
-
//
|
|
364
|
+
// Shadow - Applies elevation levels through box-shadow
|
|
365
|
+
// See https://m3.material.io/styles/elevation/applying-elevation for guidance.
|
|
383
366
|
// ***********************************************************************************************
|
|
384
367
|
|
|
385
368
|
// Use to slightly raise the appearance of a surface. In Angular Material, this is used for the
|
|
386
369
|
// elevation of an elevated card and the handle of a slider.
|
|
387
|
-
.mat-shadow-
|
|
370
|
+
.mat-shadow-1 {
|
|
388
371
|
box-shadow: var(--mat-sys-level1);
|
|
389
372
|
}
|
|
390
373
|
|
|
391
374
|
// Use to raise the appearance of a surface. In Angular Material, this is used for the
|
|
392
375
|
// elevation of a menu and a select panel.
|
|
393
|
-
.mat-shadow-
|
|
376
|
+
.mat-shadow-2 {
|
|
394
377
|
box-shadow: var(--mat-sys-level2);
|
|
395
378
|
}
|
|
396
379
|
|
|
397
380
|
// Used to raise the appearance of a surface. In Angular Material, this is used for the elevation
|
|
398
381
|
// of a floating action button.
|
|
399
|
-
.mat-shadow-
|
|
382
|
+
.mat-shadow-3 {
|
|
400
383
|
box-shadow: var(--mat-sys-level3);
|
|
401
384
|
}
|
|
402
385
|
|
|
403
386
|
// Used to raise the appearance of a surface. This is generally reserved for elevation changes
|
|
404
387
|
// due to interaction like focus and hover. In Angular Material, this is used for the elevation
|
|
405
388
|
// of a hovered floating action button.
|
|
406
|
-
.mat-shadow-
|
|
389
|
+
.mat-shadow-4 {
|
|
407
390
|
box-shadow: var(--mat-sys-level4);
|
|
408
391
|
}
|
|
409
392
|
|
|
410
393
|
// Used to greatly raise the appearance of a surface. This is generally reserved for elevation
|
|
411
394
|
// changes due to interaction like focus and hover.
|
|
412
|
-
.mat-shadow-
|
|
395
|
+
.mat-shadow-5 {
|
|
413
396
|
box-shadow: var(--mat-sys-level5);
|
|
414
397
|
}
|
|
415
398
|
}
|
|
@@ -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
|
+
}
|