@angular/material 20.2.0-next.1 → 20.2.0-next.3
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 +2 -2
- package/autocomplete/index.d.ts +7 -7
- package/autocomplete/testing/index.d.ts +1 -1
- package/badge/index.d.ts +4 -4
- package/badge/testing/index.d.ts +2 -2
- package/{badge.d-Cn81aRz4.d.ts → badge.d.d.ts} +3 -3
- package/bottom-sheet/index.d.ts +1 -1
- package/button/index.d.ts +5 -5
- package/button-toggle/index.d.ts +5 -5
- package/button-toggle/testing/index.d.ts +1 -1
- package/{button-toggle.d-B_G01PhW.d.ts → button-toggle.d.d.ts} +2 -2
- package/card/index.d.ts +1 -1
- package/checkbox/index.d.ts +2 -2
- package/chips/index.d.ts +8 -6
- package/{common-module.d-C8xzHJDr.d.ts → common-module.d.d.ts} +2 -2
- package/core/index.d.ts +14 -14
- package/core/testing/index.d.ts +1 -1
- package/core/theming/_m2-inspection.scss +6 -6
- package/core/tokens/{_m3-system.scss → _system.scss} +86 -1
- package/core/tokens/m2/_md-sys-color.scss +64 -73
- package/core/tokens/m2/_md-sys-elevation.scss +6 -12
- package/core/tokens/m2/_md-sys-motion.scss +26 -32
- package/core/tokens/m2/_md-sys-shape.scss +12 -18
- package/core/tokens/m2/_md-sys-state.scss +1 -8
- package/core/tokens/m3/_md-sys-color.scss +0 -12
- package/{date-adapter.d-CtKXIxk0.d.ts → date-adapter.d.d.ts} +1 -1
- package/{date-range-input-harness.d-CJ4r85Uf.d.ts → date-range-input-harness.d.d.ts} +6 -4
- package/datepicker/index.d.ts +8 -8
- package/datepicker/testing/index.d.ts +2 -2
- package/dialog/index.d.ts +3 -3
- package/dialog/testing/index.d.ts +1 -1
- package/{dialog.d-hlN3f-Hk.d.ts → dialog.d.d.ts} +2 -2
- package/divider/index.d.ts +1 -1
- package/{error-options.d-CGdTZUYk.d.ts → error-options.d.d.ts} +1 -1
- package/expansion/index.d.ts +1 -1
- package/fesm2022/{animation-ChQ1vjiF.mjs → animation.mjs} +2 -2
- package/fesm2022/animation.mjs.map +1 -0
- package/fesm2022/autocomplete/testing.mjs +1 -1
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +25 -25
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +12 -12
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +12 -12
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +18 -18
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +21 -21
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +47 -47
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +12 -12
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +67 -55
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/{common-module-Ckwlusp6.mjs → common-module.mjs} +6 -6
- package/fesm2022/common-module.mjs.map +1 -0
- package/fesm2022/core/testing.mjs +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +28 -28
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{date-formats-K6TQue-Y.mjs → date-formats.mjs} +2 -2
- package/fesm2022/date-formats.mjs.map +1 -0
- package/fesm2022/{date-range-input-harness-DEyfkeOs.mjs → date-range-input-harness.mjs} +17 -11
- package/fesm2022/date-range-input-harness.mjs.map +1 -0
- package/fesm2022/datepicker/testing.mjs +2 -2
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +94 -94
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +3 -3
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/{module-BVI4kAmT.mjs → dialog-module.mjs} +29 -29
- package/fesm2022/dialog-module.mjs.map +1 -0
- package/fesm2022/dialog.mjs +3 -3
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +8 -8
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/{error-options-DasykDPK.mjs → error-options.mjs} +8 -8
- package/fesm2022/error-options.mjs.map +1 -0
- package/fesm2022/{error-state-Dtb1IHM-.mjs → error-state.mjs} +2 -2
- package/fesm2022/error-state.mjs.map +1 -0
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +28 -28
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing/control.mjs +13 -8
- package/fesm2022/form-field/testing/control.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +2 -2
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/{module-Bww_vjaX.mjs → form-field-module.mjs} +8 -8
- package/fesm2022/form-field-module.mjs.map +1 -0
- package/fesm2022/form-field.mjs +4 -4
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/{form-field-Ce1YJL9K.mjs → form-field2.mjs} +41 -37
- package/fesm2022/form-field2.mjs.map +1 -0
- package/fesm2022/grid-list/testing.mjs +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +26 -26
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +8 -8
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/{icon-button-CfB6KH_E.mjs → icon-button.mjs} +11 -11
- package/fesm2022/icon-button.mjs.map +1 -0
- package/fesm2022/{icon-registry-CLBDUSOu.mjs → icon-registry.mjs} +5 -5
- package/fesm2022/icon-registry.mjs.map +1 -0
- package/fesm2022/icon.mjs +10 -10
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/{input-harness-C5Msdc4-.mjs → input-harness.mjs} +2 -2
- package/fesm2022/input-harness.mjs.map +1 -0
- package/fesm2022/{input-value-accessor-D1GvPuqO.mjs → input-value-accessor.mjs} +2 -2
- package/fesm2022/input-value-accessor.mjs.map +1 -0
- package/fesm2022/input.mjs +15 -15
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/{internal-form-field-C-QWn7el.mjs → internal-form-field.mjs} +5 -5
- package/fesm2022/internal-form-field.mjs.map +1 -0
- package/fesm2022/{line-B0IgETj1.mjs → line.mjs} +10 -10
- package/fesm2022/line.mjs.map +1 -0
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +58 -58
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/material.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +27 -27
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/{option-harness-BFcc-M_4.mjs → option-harness.mjs} +2 -2
- package/fesm2022/option-harness.mjs.map +1 -0
- package/fesm2022/{index-CAi4o7I5.mjs → option-module.mjs} +10 -10
- package/fesm2022/option-module.mjs.map +1 -0
- package/fesm2022/{option-_yFTwxlw.mjs → option.mjs} +11 -11
- package/fesm2022/option.mjs.map +1 -0
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +27 -27
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +9 -9
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +9 -9
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/{pseudo-checkbox-module-BwXRv-p0.mjs → pseudo-checkbox-module.mjs} +8 -8
- package/fesm2022/pseudo-checkbox-module.mjs.map +1 -0
- package/fesm2022/{pseudo-checkbox-CJSCiP0Y.mjs → pseudo-checkbox.mjs} +6 -6
- package/fesm2022/pseudo-checkbox.mjs.map +1 -0
- package/fesm2022/{public-api-BoO5eSq-.mjs → public-api.mjs} +2 -2
- package/fesm2022/public-api.mjs.map +1 -0
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +17 -17
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/{ripple-loader-B_67UOY7.mjs → ripple-loader.mjs} +7 -7
- package/fesm2022/ripple-loader.mjs.map +1 -0
- package/fesm2022/{index-rIXEckYE.mjs → ripple-module.mjs} +8 -8
- package/fesm2022/ripple-module.mjs.map +1 -0
- package/fesm2022/{ripple-DToxr3s4.mjs → ripple.mjs} +9 -9
- package/fesm2022/ripple.mjs.map +1 -0
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/{module-BpF6A05B.mjs → select-module.mjs} +20 -20
- package/fesm2022/select-module.mjs.map +1 -0
- package/fesm2022/select.mjs +14 -14
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +24 -24
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +12 -12
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +32 -22
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +29 -29
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +16 -16
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +38 -38
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{structural-styles-wmZbw0XJ.mjs → structural-styles.mjs} +5 -5
- package/fesm2022/structural-styles.mjs.map +1 -0
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +56 -60
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +47 -47
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +23 -23
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +11 -11
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/{module-X8APgGCS.mjs → tooltip-module.mjs} +14 -14
- package/fesm2022/tooltip-module.mjs.map +1 -0
- package/fesm2022/tooltip.mjs +3 -3
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +26 -26
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +5 -5
- package/form-field/testing/control/index.d.ts +1 -1
- package/form-field/testing/index.d.ts +3 -3
- package/{form-field-control-harness.d-BLvFBy6v.d.ts → form-field-control-harness.d.d.ts} +5 -3
- package/{form-field-control.d-DvB4ZVlf.d.ts → form-field-control.d.d.ts} +1 -1
- package/{module.d-DZ2PGGPh.d.ts → form-field-module.d.d.ts} +3 -3
- package/{form-field.d-e195lFUo.d.ts → form-field.d.d.ts} +5 -5
- package/grid-list/index.d.ts +2 -2
- package/icon/index.d.ts +4 -4
- package/icon/testing/index.d.ts +1 -1
- package/{icon-module.d-COXCrhrh.d.ts → icon-module.d.d.ts} +4 -4
- package/{icon-registry.d-BVwP8t9_.d.ts → icon-registry.d.d.ts} +2 -2
- package/input/index.d.ts +8 -8
- package/input/testing/index.d.ts +2 -2
- package/{input-harness.d-DVI6ttzl.d.ts → input-harness.d.d.ts} +2 -2
- package/{line.d-C-QdueRc.d.ts → line.d.d.ts} +2 -2
- package/list/index.d.ts +6 -6
- package/list/testing/index.d.ts +1 -1
- package/{list-option-types.d-77dQtwu8.d.ts → list-option-types.d.d.ts} +1 -1
- package/menu/index.d.ts +3 -3
- package/{option-harness.d-IqsW95GR.d.ts → option-harness.d.d.ts} +2 -2
- package/{index.d-DAhBYbjm.d.ts → option-module.d.d.ts} +5 -5
- package/{option-parent.d-CnYuuMkO.d.ts → option-parent.d.d.ts} +2 -2
- package/{option.d-BcvS44bt.d.ts → option.d.d.ts} +1 -1
- package/package.json +2 -2
- package/paginator/index.d.ts +16 -16
- package/{paginator.d-Zo1cMMo4.d.ts → paginator.d.d.ts} +4 -4
- package/{palette.d-BSSFKjO6.d.ts → palette.d.d.ts} +1 -1
- package/progress-bar/index.d.ts +2 -2
- package/progress-spinner/index.d.ts +4 -4
- package/progress-spinner/testing/index.d.ts +2 -2
- package/{progress-spinner.d-Lfz4Wh5x.d.ts → progress-spinner.d.d.ts} +3 -3
- package/{pseudo-checkbox-module.d-BHmTZ10P.d.ts → pseudo-checkbox-module.d.d.ts} +3 -3
- package/radio/index.d.ts +4 -4
- package/{ripple-loader.d-9me-KFSi.d.ts → ripple-loader.d.d.ts} +1 -1
- package/{index.d-C5neTPvr.d.ts → ripple-module.d.d.ts} +3 -3
- package/{ripple.d-BT30YVLB.d.ts → ripple.d.d.ts} +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/theming/create-custom-theme.js +7 -1
- package/schematics/ng-add/theming/create-custom-theme.js.map +1 -1
- package/select/index.d.ts +12 -12
- package/{module.d-gWBlTHnh.d.ts → select-module.d.d.ts} +9 -9
- package/sidenav/index.d.ts +1 -1
- package/slide-toggle/index.d.ts +2 -2
- package/slider/index.d.ts +7 -5
- package/snack-bar/index.d.ts +5 -5
- package/sort/index.d.ts +4 -4
- package/sort/testing/index.d.ts +1 -1
- package/{sort-direction.d-CF7VUsH-.d.ts → sort-direction.d.d.ts} +1 -1
- package/{sort.d-i-bF_IaU.d.ts → sort.d.d.ts} +3 -3
- package/stepper/index.d.ts +6 -6
- package/table/index.d.ts +9 -9
- package/tabs/index.d.ts +3 -3
- package/timepicker/index.d.ts +2 -2
- package/timepicker/testing/index.d.ts +1 -1
- package/toolbar/index.d.ts +1 -1
- package/tooltip/index.d.ts +2 -2
- package/{module.d-m-qXd3m8.d.ts → tooltip-module.d.d.ts} +3 -3
- package/tree/index.d.ts +1 -1
- package/fesm2022/animation-ChQ1vjiF.mjs.map +0 -1
- package/fesm2022/common-module-Ckwlusp6.mjs.map +0 -1
- package/fesm2022/date-formats-K6TQue-Y.mjs.map +0 -1
- package/fesm2022/date-range-input-harness-DEyfkeOs.mjs.map +0 -1
- package/fesm2022/error-options-DasykDPK.mjs.map +0 -1
- package/fesm2022/error-state-Dtb1IHM-.mjs.map +0 -1
- package/fesm2022/form-field-Ce1YJL9K.mjs.map +0 -1
- package/fesm2022/icon-button-CfB6KH_E.mjs.map +0 -1
- package/fesm2022/icon-registry-CLBDUSOu.mjs.map +0 -1
- package/fesm2022/index-CAi4o7I5.mjs.map +0 -1
- package/fesm2022/index-rIXEckYE.mjs.map +0 -1
- package/fesm2022/input-harness-C5Msdc4-.mjs.map +0 -1
- package/fesm2022/input-value-accessor-D1GvPuqO.mjs.map +0 -1
- package/fesm2022/internal-form-field-C-QWn7el.mjs.map +0 -1
- package/fesm2022/line-B0IgETj1.mjs.map +0 -1
- package/fesm2022/module-BVI4kAmT.mjs.map +0 -1
- package/fesm2022/module-BpF6A05B.mjs.map +0 -1
- package/fesm2022/module-Bww_vjaX.mjs.map +0 -1
- package/fesm2022/module-X8APgGCS.mjs.map +0 -1
- package/fesm2022/option-_yFTwxlw.mjs.map +0 -1
- package/fesm2022/option-harness-BFcc-M_4.mjs.map +0 -1
- package/fesm2022/pseudo-checkbox-CJSCiP0Y.mjs.map +0 -1
- package/fesm2022/pseudo-checkbox-module-BwXRv-p0.mjs.map +0 -1
- package/fesm2022/public-api-BoO5eSq-.mjs.map +0 -1
- package/fesm2022/ripple-DToxr3s4.mjs.map +0 -1
- package/fesm2022/ripple-loader-B_67UOY7.mjs.map +0 -1
- package/fesm2022/structural-styles-wmZbw0XJ.mjs.map +0 -1
package/_index.scss
CHANGED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
@forward './core/theming/theming' as private-* show private-clamp-density;
|
|
18
18
|
@forward './core/typography/typography' show typography-hierarchy;
|
|
19
19
|
@forward './core/typography/typography-utils' show font-shorthand;
|
|
20
|
-
@forward '
|
|
20
|
+
@forward 'core/tokens/system' show system-level-colors,
|
|
21
21
|
system-level-typography, system-level-elevation, system-level-shape,
|
|
22
|
-
system-level-motion, system-level-state, theme, theme-overrides;
|
|
22
|
+
system-level-motion, system-level-state, theme, theme-overrides, m2-theme;
|
|
23
23
|
|
|
24
24
|
// Private/Internal
|
|
25
25
|
@forward './core/density/private/all-density' show all-component-densities;
|
package/autocomplete/index.d.ts
CHANGED
|
@@ -2,18 +2,18 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { InjectionToken, AfterContentInit, OnDestroy, TemplateRef, ElementRef, QueryList, EventEmitter, AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
3
|
import * as i2 from '@angular/cdk/overlay';
|
|
4
4
|
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { MatOptionModule } from '../option-module.d.js';
|
|
6
|
+
import { MatCommonModule } from '../common-module.d.js';
|
|
7
|
+
import { ThemePalette } from '../palette.d.js';
|
|
8
|
+
import { MatOption, MatOptgroup, MatOptionSelectionChange } from '../option.d.js';
|
|
9
9
|
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
10
10
|
import { ControlValueAccessor } from '@angular/forms';
|
|
11
11
|
import { Observable } from 'rxjs';
|
|
12
12
|
import * as i5 from '@angular/cdk/scrolling';
|
|
13
|
-
import '../
|
|
14
|
-
import '../ripple.d
|
|
13
|
+
import '../ripple-module.d.js';
|
|
14
|
+
import '../ripple.d.js';
|
|
15
15
|
import '@angular/cdk/platform';
|
|
16
|
-
import '../pseudo-checkbox-module.d
|
|
16
|
+
import '../pseudo-checkbox-module.d.js';
|
|
17
17
|
import '@angular/cdk/bidi';
|
|
18
18
|
|
|
19
19
|
/** Event object that is emitted when an autocomplete option is selected. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import {
|
|
2
|
+
import { OptionHarnessFilters, MatOptionHarness } from '../../option-harness.d.js';
|
|
3
3
|
import { OptgroupHarnessFilters, MatOptgroupHarness } from '../../core/testing/index.js';
|
|
4
4
|
|
|
5
5
|
/** A set of criteria that can be used to filter a list of `MatAutocompleteHarness` instances. */
|
package/badge/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import * as i1 from '@angular/cdk/a11y';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
3
|
+
import { MatCommonModule } from '../common-module.d.js';
|
|
4
|
+
import { MatBadge, _MatBadgeStyleLoader } from '../badge.d.js';
|
|
5
|
+
export { MatBadgePosition, MatBadgeSize } from '../badge.d.js';
|
|
6
6
|
import '@angular/cdk/bidi';
|
|
7
|
-
import '../palette.d
|
|
7
|
+
import '../palette.d.js';
|
|
8
8
|
|
|
9
9
|
declare class MatBadgeModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatBadgeModule, never>;
|
package/badge/testing/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import {
|
|
2
|
+
import { MatBadgePosition, MatBadgeSize } from '../../badge.d.js';
|
|
3
3
|
import '@angular/core';
|
|
4
|
-
import '../../palette.d
|
|
4
|
+
import '../../palette.d.js';
|
|
5
5
|
|
|
6
6
|
interface BadgeHarnessFilters extends BaseHarnessFilters {
|
|
7
7
|
text?: string | RegExp;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, OnDestroy } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { ThemePalette } from './palette.d.js';
|
|
4
4
|
|
|
5
5
|
/** Allowed position options for matBadgePosition */
|
|
6
6
|
type MatBadgePosition = 'above after' | 'above before' | 'below before' | 'below after' | 'before' | 'after' | 'above' | 'below';
|
|
@@ -95,5 +95,5 @@ declare class MatBadge implements OnInit, OnDestroy {
|
|
|
95
95
|
static ngAcceptInputType_hidden: unknown;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
export { MatBadge
|
|
99
|
-
export type { MatBadgePosition
|
|
98
|
+
export { MatBadge, _MatBadgeStyleLoader };
|
|
99
|
+
export type { MatBadgePosition, MatBadgeSize };
|
package/bottom-sheet/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { OnDestroy, EventEmitter, InjectionToken, ViewContainerRef, ComponentRef, TemplateRef } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/cdk/dialog';
|
|
4
4
|
import { CdkDialogContainer, DialogRef } from '@angular/cdk/dialog';
|
|
5
|
-
import {
|
|
5
|
+
import { MatCommonModule } from '../common-module.d.js';
|
|
6
6
|
import * as i3 from '@angular/cdk/portal';
|
|
7
7
|
import { ComponentType } from '@angular/cdk/portal';
|
|
8
8
|
import { Direction } from '@angular/cdk/bidi';
|
package/button/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { InjectionToken, AfterViewInit, OnDestroy, ElementRef, NgZone } from '@angular/core';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { ThemePalette } from '../palette.d.js';
|
|
5
|
+
import { MatRippleLoader } from '../ripple-loader.d.js';
|
|
6
|
+
import { MatCommonModule } from '../common-module.d.js';
|
|
7
|
+
import { MatRippleModule } from '../ripple-module.d.js';
|
|
8
8
|
import '@angular/cdk/bidi';
|
|
9
|
-
import '../ripple.d
|
|
9
|
+
import '../ripple.d.js';
|
|
10
10
|
import '@angular/cdk/platform';
|
|
11
11
|
|
|
12
12
|
/**
|
package/button-toggle/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { MatButtonToggleGroup, MatButtonToggle } from '../button-toggle.d.js';
|
|
2
|
+
export { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP, MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, MatButtonToggleAppearance, MatButtonToggleChange, MatButtonToggleDefaultOptions, ToggleType } from '../button-toggle.d.js';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { MatCommonModule } from '../common-module.d.js';
|
|
5
|
+
import { MatRippleModule } from '../ripple-module.d.js';
|
|
6
6
|
import '@angular/cdk/bidi';
|
|
7
7
|
import '@angular/forms';
|
|
8
|
-
import '../ripple.d
|
|
8
|
+
import '../ripple.d.js';
|
|
9
9
|
import '@angular/cdk/platform';
|
|
10
10
|
|
|
11
11
|
declare class MatButtonToggleModule {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
import {
|
|
2
|
+
import { MatButtonToggleAppearance } from '../../button-toggle.d.js';
|
|
3
3
|
import '@angular/cdk/bidi';
|
|
4
4
|
import '@angular/core';
|
|
5
5
|
import '@angular/forms';
|
|
@@ -254,5 +254,5 @@ declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy {
|
|
|
254
254
|
static ngAcceptInputType_disabledInteractive: unknown;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
export {
|
|
258
|
-
export type {
|
|
257
|
+
export { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP, MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, MatButtonToggle, MatButtonToggleChange, MatButtonToggleGroup };
|
|
258
|
+
export type { MatButtonToggleAppearance, MatButtonToggleDefaultOptions, ToggleType };
|
package/card/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { MatCommonModule } from '../common-module.d.js';
|
|
4
4
|
import '@angular/cdk/bidi';
|
|
5
5
|
|
|
6
6
|
type MatCardAppearance = 'outlined' | 'raised' | 'filled';
|
package/checkbox/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { FocusableOption } from '@angular/cdk/a11y';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { AfterViewInit, OnChanges, ElementRef, EventEmitter, SimpleChanges, InjectionToken } from '@angular/core';
|
|
4
4
|
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { ThemePalette } from '../palette.d.js';
|
|
6
|
+
import { MatCommonModule } from '../common-module.d.js';
|
|
7
7
|
import '@angular/cdk/bidi';
|
|
8
8
|
|
|
9
9
|
/**
|
package/chips/index.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import { ElementRef, OnInit, AfterViewInit, AfterContentInit, DoCheck, OnDestroy
|
|
|
3
3
|
import { Subject, Observable } from 'rxjs';
|
|
4
4
|
import { FocusKeyManager } from '@angular/cdk/a11y';
|
|
5
5
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
6
|
+
import { ErrorStateMatcher } from '../error-options.d.js';
|
|
7
|
+
import { MatFormFieldControl } from '../form-field-control.d.js';
|
|
8
|
+
import { MatCommonModule } from '../common-module.d.js';
|
|
9
|
+
import { MatRippleModule } from '../ripple-module.d.js';
|
|
10
10
|
import '@angular/cdk/bidi';
|
|
11
|
-
import '../ripple.d
|
|
11
|
+
import '../ripple.d.js';
|
|
12
12
|
import '@angular/cdk/platform';
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -39,7 +39,7 @@ declare class MatChipAction {
|
|
|
39
39
|
/**
|
|
40
40
|
* Private API to allow focusing this chip when it is disabled.
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
_allowFocusWhenDisabled: boolean;
|
|
43
43
|
/**
|
|
44
44
|
* Determine the value of the disabled attribute for this chip action.
|
|
45
45
|
*/
|
|
@@ -175,6 +175,8 @@ declare class MatChip implements OnInit, AfterViewInit, AfterContentInit, DoChec
|
|
|
175
175
|
_ariaDescriptionId: string;
|
|
176
176
|
/** Whether the chip list is disabled. */
|
|
177
177
|
_chipListDisabled: boolean;
|
|
178
|
+
/** Whether the chip was focused when it was removed. */
|
|
179
|
+
_hadFocusOnRemove: boolean;
|
|
178
180
|
private _textElement;
|
|
179
181
|
/**
|
|
180
182
|
* The value of the chip. Defaults to the content inside
|
|
@@ -40,5 +40,5 @@ declare class MatCommonModule {
|
|
|
40
40
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatCommonModule>;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export {
|
|
44
|
-
export type { GranularSanityChecks
|
|
43
|
+
export { MATERIAL_SANITY_CHECKS, MatCommonModule };
|
|
44
|
+
export type { GranularSanityChecks, SanityChecks };
|
package/core/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Version, InjectionToken, Provider } from '@angular/core';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
3
|
+
export { GranularSanityChecks, MATERIAL_SANITY_CHECKS, MatCommonModule, SanityChecks } from '../common-module.d.js';
|
|
4
|
+
export { ThemePalette } from '../palette.d.js';
|
|
5
5
|
import { NgControl, FormGroupDirective, NgForm } from '@angular/forms';
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
|
|
18
|
-
export {
|
|
7
|
+
import { ErrorStateMatcher as ErrorStateMatcher$1 } from '../error-options.d.js';
|
|
8
|
+
export { ShowOnDirtyErrorStateMatcher } from '../error-options.d.js';
|
|
9
|
+
export { MatLine, MatLineModule, setLines } from '../line.d.js';
|
|
10
|
+
export { MatOptionModule } from '../option-module.d.js';
|
|
11
|
+
export { MAT_OPTGROUP, MatOptgroup, MatOption, MatOptionSelectionChange, _countGroupLabelsBeforeOption, _getOptionScrollPosition } from '../option.d.js';
|
|
12
|
+
export { MAT_OPTION_PARENT_COMPONENT, MatOptionParentComponent } from '../option-parent.d.js';
|
|
13
|
+
export { MatRippleLoader } from '../ripple-loader.d.js';
|
|
14
|
+
export { MAT_RIPPLE_GLOBAL_OPTIONS, MatRipple, RippleAnimationConfig, RippleConfig, RippleGlobalOptions, RippleRef, RippleRenderer, RippleState, RippleTarget, defaultRippleAnimationConfig } from '../ripple.d.js';
|
|
15
|
+
export { MatRippleModule } from '../ripple-module.d.js';
|
|
16
|
+
export { MatPseudoCheckbox, MatPseudoCheckboxModule, MatPseudoCheckboxState } from '../pseudo-checkbox-module.d.js';
|
|
17
|
+
import { DateAdapter } from '../date-adapter.d.js';
|
|
18
|
+
export { MAT_DATE_LOCALE, MAT_DATE_LOCALE_FACTORY } from '../date-adapter.d.js';
|
|
19
19
|
import '@angular/cdk/bidi';
|
|
20
20
|
import '@angular/cdk/a11y';
|
|
21
21
|
import '@angular/cdk/platform';
|
package/core/testing/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OptionHarnessFilters, MatOptionHarness } from '../../option-harness.d.js';
|
|
2
2
|
import { BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
|
|
3
3
|
|
|
4
4
|
interface OptgroupHarnessFilters extends BaseHarnessFilters {
|
|
@@ -42,7 +42,7 @@ $_typography-keys: (
|
|
|
42
42
|
$_typography-properties: (font, font-family, line-height, font-size, letter-spacing, font-weight);
|
|
43
43
|
|
|
44
44
|
/// Gets the m2-config from the theme.
|
|
45
|
-
@function
|
|
45
|
+
@function get-m2-config($theme) {
|
|
46
46
|
// It is possible for a user to pass a "density theme" that is just a number.
|
|
47
47
|
@if meta.type-of($theme) != 'map' {
|
|
48
48
|
@return $theme;
|
|
@@ -89,7 +89,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
|
|
|
89
89
|
/// @param {Map} $theme The theme
|
|
90
90
|
/// @return {String} The type of theme (either `light` or `dark`).
|
|
91
91
|
@function get-theme-type($theme) {
|
|
92
|
-
$theme:
|
|
92
|
+
$theme: get-m2-config($theme);
|
|
93
93
|
@if not theme-has($theme, color) {
|
|
94
94
|
@error 'Color information is not available on this theme.';
|
|
95
95
|
}
|
|
@@ -112,7 +112,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
|
|
|
112
112
|
/// @param {Number} $opacity The alpha channel value for the color.
|
|
113
113
|
/// @return {Color} The requested theme color.
|
|
114
114
|
@function get-theme-color($theme, $palette-name, $args...) {
|
|
115
|
-
$theme:
|
|
115
|
+
$theme: get-m2-config($theme);
|
|
116
116
|
@if not theme-has($theme, color) {
|
|
117
117
|
@error 'Color information is not available on this theme.';
|
|
118
118
|
}
|
|
@@ -137,7 +137,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
|
|
|
137
137
|
/// (font, font-family, font-size, font-weight, line-height, or letter-spacing).
|
|
138
138
|
/// @return {*} The value of the requested font property.
|
|
139
139
|
@function get-theme-typography($theme, $typescale, $property) {
|
|
140
|
-
$theme:
|
|
140
|
+
$theme: get-m2-config($theme);
|
|
141
141
|
@if not theme-has($theme, typography) {
|
|
142
142
|
@error 'Typography information is not available on this theme.';
|
|
143
143
|
}
|
|
@@ -175,7 +175,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
|
|
|
175
175
|
/// @param {Map} $theme The theme
|
|
176
176
|
/// @return {Number} The density scale.
|
|
177
177
|
@function get-theme-density($theme) {
|
|
178
|
-
$theme:
|
|
178
|
+
$theme: get-m2-config($theme);
|
|
179
179
|
@if not theme-has($theme, density) {
|
|
180
180
|
@error 'Density information is not available on this theme.';
|
|
181
181
|
}
|
|
@@ -188,7 +188,7 @@ $_typography-properties: (font, font-family, line-height, font-size, letter-spac
|
|
|
188
188
|
/// @param {String} $system The system to check
|
|
189
189
|
/// @param {Boolean} Whether the theme has information about the system.
|
|
190
190
|
@function theme-has($theme, $system) {
|
|
191
|
-
$theme:
|
|
191
|
+
$theme: get-m2-config($theme);
|
|
192
192
|
@if $system == base {
|
|
193
193
|
@return true;
|
|
194
194
|
}
|
|
@@ -18,9 +18,13 @@
|
|
|
18
18
|
@use '../style/elevation';
|
|
19
19
|
@use '../theming/config-validation';
|
|
20
20
|
@use '../theming/definition';
|
|
21
|
+
@use '../theming/inspection';
|
|
22
|
+
@use '../theming/m2-inspection';
|
|
21
23
|
@use '../theming/palettes';
|
|
22
24
|
@use '../style/sass-utils';
|
|
25
|
+
@use './m2';
|
|
23
26
|
@use './m3';
|
|
27
|
+
@use 'sass:list';
|
|
24
28
|
@use 'sass:map';
|
|
25
29
|
@use 'sass:meta';
|
|
26
30
|
|
|
@@ -273,7 +277,6 @@
|
|
|
273
277
|
$shadow-color: map.get(
|
|
274
278
|
$theme, definition.$internals, palettes, neutral, 0);
|
|
275
279
|
|
|
276
|
-
|
|
277
280
|
@include sass-utils.current-selector-or-root {
|
|
278
281
|
@each $name, $value in m3.md-sys-elevation-values() {
|
|
279
282
|
$level: map.get($overrides, $name) or $value;
|
|
@@ -307,3 +310,85 @@
|
|
|
307
310
|
}
|
|
308
311
|
@return $result;
|
|
309
312
|
}
|
|
313
|
+
|
|
314
|
+
// Defines Angular Material system variables using M2 values provided by
|
|
315
|
+
// an M2 theme config created with `mat.m2-define-light-theme` or `mat.m2-define-dark-theme`.
|
|
316
|
+
//
|
|
317
|
+
// This enables applications to style custom components with system-level CSS
|
|
318
|
+
// variables instead of creating a separate component theme mixin that relies on
|
|
319
|
+
// the theme config.
|
|
320
|
+
//
|
|
321
|
+
// For example, use `var(--mat-sys-primary)` to get a theme's primary color instead of
|
|
322
|
+
// pulling it from the theme with `m2-get-color-from-palette($primary-palette, default)`.
|
|
323
|
+
//
|
|
324
|
+
// Unlike M3's `mat.theme()`, this mixin does not replace the need to call
|
|
325
|
+
// individual component theme mixins for Angular Material components.
|
|
326
|
+
@mixin m2-theme($theme-config, $overrides: ()) {
|
|
327
|
+
@if inspection.get-theme-version($theme-config) == 1 {
|
|
328
|
+
@error '`m2-theme` mixin should only be called for M2 theme ' +
|
|
329
|
+
'configs created with define-light-theme or define-dark-theme';
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
// Check whether any override keys do not match keys in the theme
|
|
333
|
+
// config system map.
|
|
334
|
+
$invalid-keys: ();
|
|
335
|
+
$config-system: map.get($theme-config, _mat-system);
|
|
336
|
+
@each $key, $value in $overrides {
|
|
337
|
+
@if (not map.has-key($config-system, $key)) {
|
|
338
|
+
$invalid-keys: list.append($invalid-keys, $key);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
@if (list.length($invalid-keys) > 0) {
|
|
342
|
+
@error 'The following overrides are not valid system variables: #{$invalid-keys}. ' +
|
|
343
|
+
'Valid keys are: #{map.keys($config-system)}';
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
$config: m2-inspection.get-m2-config($theme-config);
|
|
347
|
+
|
|
348
|
+
$color: map.get($config, color);
|
|
349
|
+
@if (m2-inspection.theme-has($theme-config, color)) {
|
|
350
|
+
$system-colors: if(map.get($color, is-dark),
|
|
351
|
+
m2.md-sys-color-values-dark($color),
|
|
352
|
+
m2.md-sys-color-values-light($color),
|
|
353
|
+
);
|
|
354
|
+
@include _define-m2-system-vars($system-colors, $overrides);
|
|
355
|
+
|
|
356
|
+
$shadow: map.get($theme-config, _mat-system, shadow);
|
|
357
|
+
$system-elevations: ();
|
|
358
|
+
@each $name, $value in m2.md-sys-elevation-values() {
|
|
359
|
+
$level: map.get($overrides, $name) or $value;
|
|
360
|
+
$value: elevation.get-box-shadow($level, $shadow);
|
|
361
|
+
$system-elevations: map.set($system-elevations, $name, $value);
|
|
362
|
+
}
|
|
363
|
+
@include _define-m2-system-vars($system-elevations, $overrides);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
$typography: map.get($config, typography);
|
|
367
|
+
@if ($typography) {
|
|
368
|
+
$system-typography: m2.md-sys-typescale-values($typography);
|
|
369
|
+
@include _define-m2-system-vars($system-typography, $overrides);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
@include _define-m2-system-vars(m2.md-sys-shape-values(), $overrides);
|
|
373
|
+
@include _define-m2-system-vars(m2.md-sys-state-values(), $overrides);
|
|
374
|
+
|
|
375
|
+
// The icon button's color token is set to `inherit` for M2 and intended to display
|
|
376
|
+
// the color inherited from its parent element. This is crucial because it's unknown
|
|
377
|
+
// whether the icon button sits on a container with background like "surface" or "primary",
|
|
378
|
+
// where both may have different contrast colors like white or black.
|
|
379
|
+
// However, variables set to inherit AND define a fallback will always use the fallback,
|
|
380
|
+
// which is "on-surface-variant". This mixin now defines this value.
|
|
381
|
+
// To avoid this, and continue using `inherit` for the icon button color, set the color explicitly
|
|
382
|
+
// to the token without a fallback.
|
|
383
|
+
.mat-mdc-button-base.mat-mdc-icon-button:not(.mat-mdc-button-disabled) {
|
|
384
|
+
color: var(--mat-icon-button-icon-color);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
@mixin _define-m2-system-vars($vars, $overrides) {
|
|
389
|
+
@include sass-utils.current-selector-or-root {
|
|
390
|
+
@each $name, $value in $vars {
|
|
391
|
+
--#{definition.$system-fallback-prefix}-#{$name}: #{map.get($overrides, $name) or $value};
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Design system display name: Material 3
|
|
3
|
-
// Design system version: v0.161
|
|
4
|
-
//
|
|
5
|
-
|
|
6
1
|
@use 'sass:map';
|
|
7
2
|
@use '../../m2/palette';
|
|
8
3
|
|
|
@@ -27,40 +22,38 @@
|
|
|
27
22
|
inverse-on-surface: rgba(black, 0.87),
|
|
28
23
|
outline: rgba(white, 0.12),
|
|
29
24
|
outline-variant: rgba(white, 0.38),
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
error-container:
|
|
33
|
-
on-
|
|
34
|
-
on-
|
|
35
|
-
on-primary-
|
|
36
|
-
on-
|
|
37
|
-
on-
|
|
38
|
-
on-secondary-
|
|
39
|
-
on-
|
|
40
|
-
on-
|
|
41
|
-
on-tertiary:
|
|
42
|
-
on-tertiary-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
primary-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
secondary-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
surface-
|
|
53
|
-
surface-container:
|
|
54
|
-
surface-container-
|
|
55
|
-
surface-container-
|
|
56
|
-
surface-
|
|
57
|
-
surface-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
tertiary:
|
|
61
|
-
tertiary-
|
|
62
|
-
tertiary-fixed: null,
|
|
63
|
-
tertiary-fixed-dim: null,
|
|
25
|
+
error-container: map.get($palettes, warn, default),
|
|
26
|
+
on-background: white,
|
|
27
|
+
on-error-container: map.get($palettes, warn, default-contrast),
|
|
28
|
+
on-primary-container: map.get($palettes, primary, default-contrast),
|
|
29
|
+
on-primary-fixed: map.get($palettes, primary, default-contrast),
|
|
30
|
+
on-primary-fixed-variant: map.get($palettes, primary, default-contrast),
|
|
31
|
+
on-secondary-container: map.get($palettes, accent, default-contrast),
|
|
32
|
+
on-secondary-fixed: map.get($palettes, accent, default-contrast),
|
|
33
|
+
on-secondary-fixed-variant: map.get($palettes, accent, default-contrast),
|
|
34
|
+
on-tertiary: map.get($palettes, accent, default-contrast),
|
|
35
|
+
on-tertiary-container: map.get($palettes, accent, default-contrast),
|
|
36
|
+
on-tertiary-fixed: map.get($palettes, accent, default-contrast),
|
|
37
|
+
on-tertiary-fixed-variant: map.get($palettes, accent, default-contrast),
|
|
38
|
+
primary-container: map.get($palettes, primary, default),
|
|
39
|
+
primary-fixed: map.get($palettes, primary, default),
|
|
40
|
+
primary-fixed-dim: map.get($palettes, primary, default),
|
|
41
|
+
scrim: black,
|
|
42
|
+
secondary-container: map.get($palettes, accent, default),
|
|
43
|
+
secondary-fixed: map.get($palettes, accent, default),
|
|
44
|
+
secondary-fixed-dim: map.get($palettes, accent, default),
|
|
45
|
+
surface-bright: map.get(palette.$grey-palette, 800),
|
|
46
|
+
surface-container: map.get(palette.$grey-palette, 800),
|
|
47
|
+
surface-container-high: map.get(palette.$grey-palette, 800),
|
|
48
|
+
surface-container-highest: map.get(palette.$grey-palette, 800),
|
|
49
|
+
surface-container-low: map.get(palette.$grey-palette, 800),
|
|
50
|
+
surface-container-lowest: map.get(palette.$grey-palette, 800),
|
|
51
|
+
surface-dim: map.get(palette.$grey-palette, 800),
|
|
52
|
+
surface-tint: map.get(palette.$grey-palette, 800),
|
|
53
|
+
tertiary: map.get($palettes, accent, default),
|
|
54
|
+
tertiary-container: map.get($palettes, accent, default),
|
|
55
|
+
tertiary-fixed: map.get($palettes, accent, default),
|
|
56
|
+
tertiary-fixed-dim: map.get($palettes, accent, default),
|
|
64
57
|
);
|
|
65
58
|
}
|
|
66
59
|
|
|
@@ -85,39 +78,37 @@
|
|
|
85
78
|
inverse-on-surface: white,
|
|
86
79
|
outline: rgba(black, 0.12),
|
|
87
80
|
outline-variant: rgba(black, 0.38),
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
error-container:
|
|
91
|
-
on-
|
|
92
|
-
on-
|
|
93
|
-
on-primary-
|
|
94
|
-
on-
|
|
95
|
-
on-
|
|
96
|
-
on-secondary-
|
|
97
|
-
on-
|
|
98
|
-
on-
|
|
99
|
-
on-tertiary:
|
|
100
|
-
on-tertiary-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
primary-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
secondary-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
surface-
|
|
111
|
-
surface-container:
|
|
112
|
-
surface-container-
|
|
113
|
-
surface-container-
|
|
114
|
-
surface-
|
|
115
|
-
surface-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
tertiary:
|
|
119
|
-
tertiary-
|
|
120
|
-
tertiary-fixed: null,
|
|
121
|
-
tertiary-fixed-dim: null,
|
|
81
|
+
error-container: map.get($palettes, warn, default),
|
|
82
|
+
on-background: rgba(black, 0.87),
|
|
83
|
+
on-error-container: map.get($palettes, warn, default-contrast),
|
|
84
|
+
on-primary-container: map.get($palettes, primary, default-contrast),
|
|
85
|
+
on-primary-fixed: map.get($palettes, primary, default-contrast),
|
|
86
|
+
on-primary-fixed-variant: map.get($palettes, primary, default-contrast),
|
|
87
|
+
on-secondary-container: map.get($palettes, accent, default-contrast),
|
|
88
|
+
on-secondary-fixed: map.get($palettes, accent, default-contrast),
|
|
89
|
+
on-secondary-fixed-variant: map.get($palettes, accent, default-contrast),
|
|
90
|
+
on-tertiary: map.get($palettes, accent, default-contrast),
|
|
91
|
+
on-tertiary-container: map.get($palettes, accent, default-contrast),
|
|
92
|
+
on-tertiary-fixed: map.get($palettes, accent, default-contrast),
|
|
93
|
+
on-tertiary-fixed-variant: map.get($palettes, accent, default-contrast),
|
|
94
|
+
primary-container: map.get($palettes, primary, default),
|
|
95
|
+
primary-fixed: map.get($palettes, primary, default),
|
|
96
|
+
primary-fixed-dim: map.get($palettes, primary, default),
|
|
97
|
+
scrim: black,
|
|
98
|
+
secondary-container: map.get($palettes, accent, default),
|
|
99
|
+
secondary-fixed: map.get($palettes, accent, default),
|
|
100
|
+
secondary-fixed-dim: map.get($palettes, accent, default),
|
|
101
|
+
surface-bright: white,
|
|
102
|
+
surface-container: white,
|
|
103
|
+
surface-container-high: white,
|
|
104
|
+
surface-container-highest: white,
|
|
105
|
+
surface-container-low: white,
|
|
106
|
+
surface-container-lowest: white,
|
|
107
|
+
surface-dim: white,
|
|
108
|
+
surface-tint: white,
|
|
109
|
+
tertiary: map.get($palettes, accent, default),
|
|
110
|
+
tertiary-container: map.get($palettes, accent, default),
|
|
111
|
+
tertiary-fixed: map.get($palettes, accent, default),
|
|
112
|
+
tertiary-fixed-dim: map.get($palettes, accent, default),
|
|
122
113
|
);
|
|
123
114
|
}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Design system display name: Material 3
|
|
3
|
-
// Design system version: v0.161
|
|
4
|
-
//
|
|
5
|
-
|
|
6
1
|
@function md-sys-elevation-values() {
|
|
7
2
|
@return (
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
level5: null,
|
|
3
|
+
level0: 0,
|
|
4
|
+
level1: 1,
|
|
5
|
+
level2: 3,
|
|
6
|
+
level3: 6,
|
|
7
|
+
level4: 8,
|
|
8
|
+
level5: 12
|
|
15
9
|
);
|
|
16
10
|
}
|