@angular/material 20.0.0-next.1 → 20.0.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/autocomplete/_autocomplete-theme.scss +4 -4
- package/autocomplete/index.d.ts +9 -4
- package/badge/_badge-theme.scss +5 -5
- package/badge/index.d.ts +2 -2
- package/badge/testing/index.d.ts +1 -1
- package/{badge.d-49a8a74b.d.ts → badge.d-d42103d0.d.ts} +1 -1
- package/bottom-sheet/_bottom-sheet-theme.scss +3 -3
- package/bottom-sheet/index.d.ts +1 -0
- package/button/_button-theme.scss +84 -32
- package/button/_fab-theme.scss +13 -13
- package/button/_icon-button-theme.scss +5 -5
- package/button/index.d.ts +4 -4
- package/button/testing/index.d.ts +9 -2
- package/button-toggle/_button-toggle-theme.scss +8 -8
- package/button-toggle/index.d.ts +4 -4
- package/button-toggle/testing/index.d.ts +1 -1
- package/{button-toggle.d-edc8acff.d.ts → button-toggle.d-e3ddc80f.d.ts} +1 -1
- package/card/_card-theme.scss +12 -12
- package/checkbox/_checkbox-theme.scss +10 -10
- package/checkbox/index.d.ts +1 -1
- package/chips/_chips-theme.scss +14 -14
- package/chips/index.d.ts +13 -3
- package/core/_core-theme.scss +2 -2
- package/core/index.d.ts +11 -6
- package/core/option/_optgroup-theme.scss +2 -2
- package/core/option/_option-theme.scss +4 -4
- package/core/ripple/_ripple-theme.scss +3 -3
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +4 -4
- package/core/theming/_color-api-backwards-compatibility.scss +19 -8
- package/core/tokens/_density.scss +3 -0
- package/core/tokens/_token-definition.scss +1 -2
- package/core/tokens/_token-utils.scss +20 -5
- package/core/tokens/m2/_index.scss +2 -0
- package/core/tokens/m2/mat/_tonal-button.scss +110 -0
- package/core/tokens/m3/_index.scss +2 -0
- package/core/tokens/m3/definitions/_index.scss +1 -1
- package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +3 -1
- package/core/tokens/m3/definitions/_md-sys-color.scss +44 -2
- package/core/tokens/m3/definitions/_md-sys-typescale.scss +20 -1
- package/core/tokens/m3/mat/_tonal-button.scss +101 -0
- package/datepicker/_datepicker-theme.scss +8 -7
- package/datepicker/index.d.ts +5 -4
- package/dialog/_dialog-theme.scss +6 -6
- package/dialog/index.d.ts +2 -2
- package/dialog/testing/index.d.ts +1 -1
- package/{dialog.d-57867441.d.ts → dialog.d-4ffbd89c.d.ts} +1 -1
- package/divider/_divider-theme.scss +2 -2
- package/expansion/_expansion-theme.scss +4 -4
- package/fesm2022/animation-5f89c9a6.mjs +33 -0
- package/fesm2022/animation-5f89c9a6.mjs.map +1 -0
- package/fesm2022/autocomplete/testing.mjs +2 -2
- package/fesm2022/autocomplete.mjs +16 -10
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +5 -4
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +5 -2
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs +34 -15
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +7 -6
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +6 -5
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +7 -6
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs +7 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +32 -16
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs +2 -2
- package/fesm2022/core.mjs +10 -31
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{date-range-input-harness-ee47cdb0.mjs → date-range-input-harness-3718a667.mjs} +2 -2
- package/fesm2022/date-range-input-harness-3718a667.mjs.map +1 -0
- package/fesm2022/datepicker/testing.mjs +3 -3
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +17 -14
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +2 -1
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +2 -1
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs +1 -1
- package/fesm2022/{divider-harness-3394f29a.mjs → divider-harness-8099453f.mjs} +1 -1
- package/fesm2022/divider-harness-8099453f.mjs.map +1 -0
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +3 -2
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing/control.mjs +1 -1
- package/fesm2022/form-field/testing.mjs +6 -6
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/{form-field-6d755764.mjs → form-field-8a19bb72.mjs} +4 -4
- package/fesm2022/form-field-8a19bb72.mjs.map +1 -0
- package/fesm2022/{form-field-control-harness-af6fd278.mjs → form-field-control-harness-efefd4cf.mjs} +1 -1
- package/fesm2022/form-field-control-harness-efefd4cf.mjs.map +1 -0
- package/fesm2022/form-field.mjs +3 -2
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/icon-button-b4a4e8c0.mjs +212 -0
- package/fesm2022/icon-button-b4a4e8c0.mjs.map +1 -0
- package/fesm2022/{index-1763d3a6.mjs → index-26a22e6d.mjs} +4 -4
- package/fesm2022/{index-1763d3a6.mjs.map → index-26a22e6d.mjs.map} +1 -1
- package/fesm2022/{index-4bc1d6d3.mjs → index-8309af79.mjs} +2 -2
- package/fesm2022/{index-4bc1d6d3.mjs.map → index-8309af79.mjs.map} +1 -1
- package/fesm2022/input/testing.mjs +2 -2
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/{input-harness-ed59decc.mjs → input-harness-e68bb132.mjs} +2 -2
- package/fesm2022/input-harness-e68bb132.mjs.map +1 -0
- package/fesm2022/input.mjs +4 -3
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +7 -8
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +7 -5
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/{module-d757bba0.mjs → module-47679371.mjs} +2 -2
- package/fesm2022/{module-d757bba0.mjs.map → module-47679371.mjs.map} +1 -1
- package/fesm2022/{module-47e3be58.mjs → module-4a8034fc.mjs} +7 -7
- package/fesm2022/module-4a8034fc.mjs.map +1 -0
- package/fesm2022/{module-3bf2775f.mjs → module-57e0986f.mjs} +10 -9
- package/fesm2022/module-57e0986f.mjs.map +1 -0
- package/fesm2022/module-5a2afb59.mjs +214 -0
- package/fesm2022/module-5a2afb59.mjs.map +1 -0
- package/fesm2022/{module-a5f9ab72.mjs → module-5f02bfe9.mjs} +10 -6
- package/fesm2022/module-5f02bfe9.mjs.map +1 -0
- package/fesm2022/{optgroup-harness-5e66b138.mjs → optgroup-harness-d5cf72ed.mjs} +2 -2
- package/fesm2022/optgroup-harness-d5cf72ed.mjs.map +1 -0
- package/fesm2022/{option-07c3c660.mjs → option-636f0562.mjs} +3 -3
- package/fesm2022/{option-07c3c660.mjs.map → option-636f0562.mjs.map} +1 -1
- package/fesm2022/{option-harness-3b7c1106.mjs → option-harness-b4971f41.mjs} +1 -1
- package/fesm2022/option-harness-b4971f41.mjs.map +1 -0
- package/fesm2022/paginator/testing.mjs +4 -4
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +16 -15
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +3 -4
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +3 -4
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/{pseudo-checkbox-af5a4ea4.mjs → pseudo-checkbox-0115d33e.mjs} +6 -5
- package/fesm2022/pseudo-checkbox-0115d33e.mjs.map +1 -0
- package/fesm2022/{pseudo-checkbox-module-216fae38.mjs → pseudo-checkbox-module-89d964bd.mjs} +2 -2
- package/fesm2022/{pseudo-checkbox-module-216fae38.mjs.map → pseudo-checkbox-module-89d964bd.mjs.map} +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +5 -6
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/{ripple-9939d1f5.mjs → ripple-c405b061.mjs} +5 -4
- package/fesm2022/{ripple-9939d1f5.mjs.map → ripple-c405b061.mjs.map} +1 -1
- package/fesm2022/{ripple-loader-f2078c66.mjs → ripple-loader-37620555.mjs} +10 -10
- package/fesm2022/ripple-loader-37620555.mjs.map +1 -0
- package/fesm2022/select/testing.mjs +4 -4
- package/fesm2022/{select-harness-8c55824d.mjs → select-harness-30466074.mjs} +4 -4
- package/fesm2022/select-harness-30466074.mjs.map +1 -0
- package/fesm2022/select.mjs +10 -9
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +4 -3
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +4 -5
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +10 -8
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +12 -9
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +5 -4
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +7 -6
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +15 -22
- 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 +20 -15
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +2 -1
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +16 -16
- package/grid-list/_grid-list-theme.scss +1 -1
- package/icon/_icon-theme.scss +2 -2
- package/{index.d-0536b706.d.ts → index.d-cc6e48d4.d.ts} +1 -1
- package/{index.d-37e31cd3.d.ts → index.d-d77f0821.d.ts} +2 -2
- package/list/_list-theme.scss +15 -15
- package/list/index.d.ts +3 -3
- package/menu/_menu-theme.scss +3 -3
- package/menu/index.d.ts +3 -2
- package/{module.d-74a721b9.d.ts → module.d-9a0cb968.d.ts} +1 -0
- package/{module.d-ba05faa6.d.ts → module.d-a23953f5.d.ts} +1 -1
- package/{module.d-18a67f56.d.ts → module.d-d86ca350.d.ts} +35 -28
- package/package.json +2 -2
- package/paginator/_paginator-theme.scss +3 -3
- package/paginator/index.d.ts +8 -8
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +2 -2
- package/progress-bar/index.d.ts +0 -1
- package/progress-spinner/_progress-spinner-theme.scss +4 -4
- package/{pseudo-checkbox-module.d-3abc0461.d.ts → pseudo-checkbox-module.d-d21de92b.d.ts} +1 -1
- package/radio/_radio-theme.scss +12 -12
- package/radio/index.d.ts +2 -2
- package/{ripple-loader.d-8aac2988.d.ts → ripple-loader.d-e5ac6c14.d.ts} +1 -1
- package/{ripple.d-2fb57d04.d.ts → ripple.d-f2cd74cf.d.ts} +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
- package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +2 -2
- package/select/_select-theme.scss +6 -6
- package/select/index.d.ts +5 -5
- package/sidenav/_sidenav-theme.scss +2 -2
- package/sidenav/index.d.ts +1 -1
- package/slide-toggle/_slide-toggle-theme.scss +10 -10
- package/slider/_slider-theme.scss +10 -10
- package/slider/index.d.ts +2 -2
- package/snack-bar/_snack-bar-theme.scss +4 -4
- package/snack-bar/index.d.ts +5 -4
- package/sort/_sort-theme.scss +3 -3
- package/sort/index.d.ts +1 -1
- package/stepper/_stepper-theme.scss +5 -5
- package/stepper/index.d.ts +3 -3
- package/table/_table-theme.scss +4 -4
- package/tabs/_tabs-theme.scss +16 -16
- package/tabs/index.d.ts +4 -4
- package/timepicker/_timepicker-theme.scss +4 -4
- package/timepicker/index.d.ts +0 -1
- package/toolbar/_toolbar-theme.scss +4 -4
- package/tooltip/_tooltip-theme.scss +4 -4
- package/tooltip/index.d.ts +1 -1
- package/tree/_tree-theme.scss +3 -3
- package/fesm2022/date-range-input-harness-ee47cdb0.mjs.map +0 -1
- package/fesm2022/divider-harness-3394f29a.mjs.map +0 -1
- package/fesm2022/form-field-6d755764.mjs.map +0 -1
- package/fesm2022/form-field-control-harness-af6fd278.mjs.map +0 -1
- package/fesm2022/icon-button-47f1b5d9.mjs +0 -248
- package/fesm2022/icon-button-47f1b5d9.mjs.map +0 -1
- package/fesm2022/input-harness-ed59decc.mjs.map +0 -1
- package/fesm2022/module-3bf2775f.mjs.map +0 -1
- package/fesm2022/module-47e3be58.mjs.map +0 -1
- package/fesm2022/module-a5f9ab72.mjs.map +0 -1
- package/fesm2022/module-df9f7af3.mjs +0 -152
- package/fesm2022/module-df9f7af3.mjs.map +0 -1
- package/fesm2022/optgroup-harness-5e66b138.mjs.map +0 -1
- package/fesm2022/option-harness-3b7c1106.mjs.map +0 -1
- package/fesm2022/pseudo-checkbox-af5a4ea4.mjs.map +0 -1
- package/fesm2022/ripple-loader-f2078c66.mjs.map +0 -1
- package/fesm2022/select-harness-8c55824d.mjs.map +0 -1
- /package/core/tokens/m3/definitions/{unused/_md-comp-filled-tonal-button.scss → _md-comp-filled-tonal-button.scss} +0 -0
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
16
16
|
} @else {
|
|
17
17
|
@include sass-utils.current-selector-or-root() {
|
|
18
|
-
@include token-utils.create-token-values(
|
|
18
|
+
@include token-utils.create-token-values-mixed(
|
|
19
19
|
tokens-mat-legacy-button-toggle.$prefix,
|
|
20
20
|
tokens-mat-legacy-button-toggle.get-unthemable-tokens()
|
|
21
21
|
);
|
|
22
|
-
@include token-utils.create-token-values(
|
|
22
|
+
@include token-utils.create-token-values-mixed(
|
|
23
23
|
tokens-mat-standard-button-toggle.$prefix,
|
|
24
24
|
tokens-mat-standard-button-toggle.get-unthemable-tokens()
|
|
25
25
|
);
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color), $options...);
|
|
38
38
|
} @else {
|
|
39
39
|
@include sass-utils.current-selector-or-root() {
|
|
40
|
-
@include token-utils.create-token-values(
|
|
40
|
+
@include token-utils.create-token-values-mixed(
|
|
41
41
|
tokens-mat-legacy-button-toggle.$prefix,
|
|
42
42
|
tokens-mat-legacy-button-toggle.get-color-tokens($theme)
|
|
43
43
|
);
|
|
44
|
-
@include token-utils.create-token-values(
|
|
44
|
+
@include token-utils.create-token-values-mixed(
|
|
45
45
|
tokens-mat-standard-button-toggle.$prefix,
|
|
46
46
|
tokens-mat-standard-button-toggle.get-color-tokens($theme)
|
|
47
47
|
);
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
57
57
|
} @else {
|
|
58
58
|
@include sass-utils.current-selector-or-root() {
|
|
59
|
-
@include token-utils.create-token-values(
|
|
59
|
+
@include token-utils.create-token-values-mixed(
|
|
60
60
|
tokens-mat-legacy-button-toggle.$prefix,
|
|
61
61
|
tokens-mat-legacy-button-toggle.get-typography-tokens($theme)
|
|
62
62
|
);
|
|
63
|
-
@include token-utils.create-token-values(
|
|
63
|
+
@include token-utils.create-token-values-mixed(
|
|
64
64
|
tokens-mat-standard-button-toggle.$prefix,
|
|
65
65
|
tokens-mat-standard-button-toggle.get-typography-tokens($theme)
|
|
66
66
|
);
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
76
76
|
} @else {
|
|
77
77
|
@include sass-utils.current-selector-or-root() {
|
|
78
|
-
@include token-utils.create-token-values(
|
|
78
|
+
@include token-utils.create-token-values-mixed(
|
|
79
79
|
tokens-mat-legacy-button-toggle.$prefix,
|
|
80
80
|
tokens-mat-legacy-button-toggle.get-density-tokens($theme)
|
|
81
81
|
);
|
|
82
|
-
@include token-utils.create-token-values(
|
|
82
|
+
@include token-utils.create-token-values-mixed(
|
|
83
83
|
tokens-mat-standard-button-toggle.$prefix,
|
|
84
84
|
tokens-mat-standard-button-toggle.get-density-tokens($theme)
|
|
85
85
|
);
|
package/button-toggle/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { M as MatButtonToggleGroup, a as MatButtonToggle } from '../button-toggle.d-
|
|
2
|
-
export { d as MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, f as MAT_BUTTON_TOGGLE_GROUP, e as MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, g as MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, a as MatButtonToggle, b as MatButtonToggleAppearance, h as MatButtonToggleChange, c as MatButtonToggleDefaultOptions, M as MatButtonToggleGroup, T as ToggleType } from '../button-toggle.d-
|
|
1
|
+
import { M as MatButtonToggleGroup, a as MatButtonToggle } from '../button-toggle.d-e3ddc80f.js';
|
|
2
|
+
export { d as MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, f as MAT_BUTTON_TOGGLE_GROUP, e as MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY, g as MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, a as MatButtonToggle, b as MatButtonToggleAppearance, h as MatButtonToggleChange, c as MatButtonToggleDefaultOptions, M as MatButtonToggleGroup, T as ToggleType } from '../button-toggle.d-e3ddc80f.js';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
|
|
5
|
-
import { M as MatRippleModule } from '../index.d-
|
|
5
|
+
import { M as MatRippleModule } from '../index.d-cc6e48d4.js';
|
|
6
6
|
import '@angular/cdk/bidi';
|
|
7
7
|
import '@angular/forms';
|
|
8
|
-
import '../ripple.d-
|
|
8
|
+
import '../ripple.d-f2cd74cf.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 { b as MatButtonToggleAppearance } from '../../button-toggle.d-
|
|
2
|
+
import { b as MatButtonToggleAppearance } from '../../button-toggle.d-e3ddc80f.js';
|
|
3
3
|
import '@angular/cdk/bidi';
|
|
4
4
|
import '@angular/core';
|
|
5
5
|
import '@angular/forms';
|
|
@@ -182,7 +182,7 @@ declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy {
|
|
|
182
182
|
private _elementRef;
|
|
183
183
|
private _focusMonitor;
|
|
184
184
|
private _idGenerator;
|
|
185
|
-
private
|
|
185
|
+
private _animationDisabled;
|
|
186
186
|
private _checked;
|
|
187
187
|
/**
|
|
188
188
|
* Attached to the aria-label attribute of the host element. In most cases, aria-labelledby will
|
package/card/_card-theme.scss
CHANGED
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
15
15
|
} @else {
|
|
16
16
|
@include sass-utils.current-selector-or-root() {
|
|
17
|
-
@include token-utils.create-token-values(
|
|
17
|
+
@include token-utils.create-token-values-mixed(
|
|
18
18
|
tokens-mdc-elevated-card.$prefix,
|
|
19
19
|
tokens-mdc-elevated-card.get-unthemable-tokens()
|
|
20
20
|
);
|
|
21
|
-
@include token-utils.create-token-values(
|
|
21
|
+
@include token-utils.create-token-values-mixed(
|
|
22
22
|
tokens-mdc-outlined-card.$prefix,
|
|
23
23
|
tokens-mdc-outlined-card.get-unthemable-tokens()
|
|
24
24
|
);
|
|
25
|
-
@include token-utils.create-token-values(
|
|
25
|
+
@include token-utils.create-token-values-mixed(
|
|
26
26
|
tokens-mat-card.$prefix,
|
|
27
27
|
tokens-mat-card.get-unthemable-tokens()
|
|
28
28
|
);
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
|
|
36
36
|
} @else {
|
|
37
37
|
@include sass-utils.current-selector-or-root() {
|
|
38
|
-
@include token-utils.create-token-values(
|
|
38
|
+
@include token-utils.create-token-values-mixed(
|
|
39
39
|
tokens-mdc-elevated-card.$prefix,
|
|
40
40
|
tokens-mdc-elevated-card.get-color-tokens($theme)
|
|
41
41
|
);
|
|
42
|
-
@include token-utils.create-token-values(
|
|
42
|
+
@include token-utils.create-token-values-mixed(
|
|
43
43
|
tokens-mdc-outlined-card.$prefix,
|
|
44
44
|
tokens-mdc-outlined-card.get-color-tokens($theme)
|
|
45
45
|
);
|
|
46
|
-
@include token-utils.create-token-values(
|
|
46
|
+
@include token-utils.create-token-values-mixed(
|
|
47
47
|
tokens-mat-card.$prefix,
|
|
48
48
|
tokens-mat-card.get-color-tokens($theme)
|
|
49
49
|
);
|
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
57
57
|
} @else {
|
|
58
58
|
@include sass-utils.current-selector-or-root() {
|
|
59
|
-
@include token-utils.create-token-values(
|
|
59
|
+
@include token-utils.create-token-values-mixed(
|
|
60
60
|
tokens-mdc-elevated-card.$prefix,
|
|
61
61
|
tokens-mdc-elevated-card.get-typography-tokens($theme)
|
|
62
62
|
);
|
|
63
|
-
@include token-utils.create-token-values(
|
|
63
|
+
@include token-utils.create-token-values-mixed(
|
|
64
64
|
tokens-mdc-outlined-card.$prefix,
|
|
65
65
|
tokens-mdc-outlined-card.get-typography-tokens($theme)
|
|
66
66
|
);
|
|
67
|
-
@include token-utils.create-token-values(
|
|
67
|
+
@include token-utils.create-token-values-mixed(
|
|
68
68
|
tokens-mat-card.$prefix,
|
|
69
69
|
tokens-mat-card.get-typography-tokens($theme)
|
|
70
70
|
);
|
|
@@ -77,15 +77,15 @@
|
|
|
77
77
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
78
78
|
} @else {
|
|
79
79
|
@include sass-utils.current-selector-or-root() {
|
|
80
|
-
@include token-utils.create-token-values(
|
|
80
|
+
@include token-utils.create-token-values-mixed(
|
|
81
81
|
tokens-mdc-elevated-card.$prefix,
|
|
82
82
|
tokens-mdc-elevated-card.get-density-tokens($theme)
|
|
83
83
|
);
|
|
84
|
-
@include token-utils.create-token-values(
|
|
84
|
+
@include token-utils.create-token-values-mixed(
|
|
85
85
|
tokens-mdc-outlined-card.$prefix,
|
|
86
86
|
tokens-mdc-outlined-card.get-density-tokens($theme)
|
|
87
87
|
);
|
|
88
|
-
@include token-utils.create-token-values(
|
|
88
|
+
@include token-utils.create-token-values-mixed(
|
|
89
89
|
tokens-mat-card.$prefix,
|
|
90
90
|
tokens-mat-card.get-density-tokens($theme)
|
|
91
91
|
);
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
16
16
|
} @else {
|
|
17
17
|
@include sass-utils.current-selector-or-root() {
|
|
18
|
-
@include token-utils.create-token-values(
|
|
18
|
+
@include token-utils.create-token-values-mixed(
|
|
19
19
|
tokens-mdc-checkbox.$prefix,
|
|
20
20
|
tokens-mdc-checkbox.get-unthemable-tokens()
|
|
21
21
|
);
|
|
22
|
-
@include token-utils.create-token-values(
|
|
22
|
+
@include token-utils.create-token-values-mixed(
|
|
23
23
|
tokens-mat-checkbox.$prefix,
|
|
24
24
|
tokens-mat-checkbox.get-unthemable-tokens()
|
|
25
25
|
);
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color), $options...);
|
|
38
38
|
} @else {
|
|
39
39
|
@include sass-utils.current-selector-or-root() {
|
|
40
|
-
@include token-utils.create-token-values(
|
|
40
|
+
@include token-utils.create-token-values-mixed(
|
|
41
41
|
tokens-mdc-checkbox.$prefix,
|
|
42
42
|
tokens-mdc-checkbox.get-color-tokens($theme)
|
|
43
43
|
);
|
|
44
|
-
@include token-utils.create-token-values(
|
|
44
|
+
@include token-utils.create-token-values-mixed(
|
|
45
45
|
tokens-mat-checkbox.$prefix,
|
|
46
46
|
tokens-mat-checkbox.get-color-tokens($theme)
|
|
47
47
|
);
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
|
|
50
50
|
.mat-mdc-checkbox {
|
|
51
51
|
&.mat-primary {
|
|
52
|
-
@include token-utils.create-token-values(
|
|
52
|
+
@include token-utils.create-token-values-mixed(
|
|
53
53
|
tokens-mdc-checkbox.$prefix,
|
|
54
54
|
tokens-mdc-checkbox.get-color-tokens($theme, primary)
|
|
55
55
|
);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
&.mat-warn {
|
|
59
|
-
@include token-utils.create-token-values(
|
|
59
|
+
@include token-utils.create-token-values-mixed(
|
|
60
60
|
tokens-mdc-checkbox.$prefix,
|
|
61
61
|
tokens-mdc-checkbox.get-color-tokens($theme, warn)
|
|
62
62
|
);
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
73
73
|
} @else {
|
|
74
74
|
@include sass-utils.current-selector-or-root() {
|
|
75
|
-
@include token-utils.create-token-values(
|
|
75
|
+
@include token-utils.create-token-values-mixed(
|
|
76
76
|
tokens-mdc-checkbox.$prefix,
|
|
77
77
|
tokens-mdc-checkbox.get-typography-tokens($theme)
|
|
78
78
|
);
|
|
79
|
-
@include token-utils.create-token-values(
|
|
79
|
+
@include token-utils.create-token-values-mixed(
|
|
80
80
|
tokens-mat-checkbox.$prefix,
|
|
81
81
|
tokens-mat-checkbox.get-typography-tokens($theme)
|
|
82
82
|
);
|
|
@@ -93,11 +93,11 @@
|
|
|
93
93
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
94
94
|
} @else {
|
|
95
95
|
@include sass-utils.current-selector-or-root() {
|
|
96
|
-
@include token-utils.create-token-values(
|
|
96
|
+
@include token-utils.create-token-values-mixed(
|
|
97
97
|
tokens-mdc-checkbox.$prefix,
|
|
98
98
|
tokens-mdc-checkbox.get-density-tokens($theme)
|
|
99
99
|
);
|
|
100
|
-
@include token-utils.create-token-values(
|
|
100
|
+
@include token-utils.create-token-values-mixed(
|
|
101
101
|
tokens-mat-checkbox.$prefix,
|
|
102
102
|
tokens-mat-checkbox.get-density-tokens($theme)
|
|
103
103
|
);
|
package/checkbox/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare class MatCheckbox implements AfterViewInit, OnChanges, ControlValueAcces
|
|
|
31
31
|
_elementRef: ElementRef<HTMLElement>;
|
|
32
32
|
private _changeDetectorRef;
|
|
33
33
|
private _ngZone;
|
|
34
|
-
|
|
34
|
+
private _animationsDisabled;
|
|
35
35
|
private _options;
|
|
36
36
|
/** Focuses the checkbox. */
|
|
37
37
|
focus(): void;
|
package/chips/_chips-theme.scss
CHANGED
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
16
16
|
} @else {
|
|
17
17
|
.mat-mdc-standard-chip {
|
|
18
|
-
@include token-utils.create-token-values(
|
|
18
|
+
@include token-utils.create-token-values-mixed(
|
|
19
19
|
tokens-mdc-chip.$prefix,
|
|
20
20
|
tokens-mdc-chip.get-unthemable-tokens()
|
|
21
21
|
);
|
|
22
|
-
@include token-utils.create-token-values(
|
|
22
|
+
@include token-utils.create-token-values-mixed(
|
|
23
23
|
tokens-mat-chip.$prefix,
|
|
24
24
|
tokens-mat-chip.get-unthemable-tokens()
|
|
25
25
|
);
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color), $options...);
|
|
38
38
|
} @else {
|
|
39
39
|
.mat-mdc-standard-chip {
|
|
40
|
-
@include token-utils.create-token-values(
|
|
40
|
+
@include token-utils.create-token-values-mixed(
|
|
41
41
|
tokens-mdc-chip.$prefix,
|
|
42
42
|
tokens-mdc-chip.get-color-tokens($theme)
|
|
43
43
|
);
|
|
44
|
-
@include token-utils.create-token-values(
|
|
44
|
+
@include token-utils.create-token-values-mixed(
|
|
45
45
|
tokens-mat-chip.$prefix,
|
|
46
46
|
tokens-mat-chip.get-color-tokens($theme)
|
|
47
47
|
);
|
|
@@ -49,33 +49,33 @@
|
|
|
49
49
|
&.mat-mdc-chip-selected,
|
|
50
50
|
&.mat-mdc-chip-highlighted {
|
|
51
51
|
&.mat-primary {
|
|
52
|
-
@include token-utils.create-token-values(
|
|
52
|
+
@include token-utils.create-token-values-mixed(
|
|
53
53
|
tokens-mdc-chip.$prefix,
|
|
54
54
|
tokens-mdc-chip.get-color-tokens($theme, primary)
|
|
55
55
|
);
|
|
56
|
-
@include token-utils.create-token-values(
|
|
56
|
+
@include token-utils.create-token-values-mixed(
|
|
57
57
|
tokens-mat-chip.$prefix,
|
|
58
58
|
tokens-mat-chip.get-color-tokens($theme, primary)
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&.mat-accent {
|
|
63
|
-
@include token-utils.create-token-values(
|
|
63
|
+
@include token-utils.create-token-values-mixed(
|
|
64
64
|
tokens-mdc-chip.$prefix,
|
|
65
65
|
tokens-mdc-chip.get-color-tokens($theme, accent)
|
|
66
66
|
);
|
|
67
|
-
@include token-utils.create-token-values(
|
|
67
|
+
@include token-utils.create-token-values-mixed(
|
|
68
68
|
tokens-mat-chip.$prefix,
|
|
69
69
|
tokens-mat-chip.get-color-tokens($theme, accent)
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
&.mat-warn {
|
|
74
|
-
@include token-utils.create-token-values(
|
|
74
|
+
@include token-utils.create-token-values-mixed(
|
|
75
75
|
tokens-mdc-chip.$prefix,
|
|
76
76
|
tokens-mdc-chip.get-color-tokens($theme, warn)
|
|
77
77
|
);
|
|
78
|
-
@include token-utils.create-token-values(
|
|
78
|
+
@include token-utils.create-token-values-mixed(
|
|
79
79
|
tokens-mat-chip.$prefix,
|
|
80
80
|
tokens-mat-chip.get-color-tokens($theme, warn)
|
|
81
81
|
);
|
|
@@ -92,11 +92,11 @@
|
|
|
92
92
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
93
93
|
} @else {
|
|
94
94
|
.mat-mdc-standard-chip {
|
|
95
|
-
@include token-utils.create-token-values(
|
|
95
|
+
@include token-utils.create-token-values-mixed(
|
|
96
96
|
tokens-mdc-chip.$prefix,
|
|
97
97
|
tokens-mdc-chip.get-typography-tokens($theme)
|
|
98
98
|
);
|
|
99
|
-
@include token-utils.create-token-values(
|
|
99
|
+
@include token-utils.create-token-values-mixed(
|
|
100
100
|
tokens-mat-chip.$prefix,
|
|
101
101
|
tokens-mat-chip.get-typography-tokens($theme)
|
|
102
102
|
);
|
|
@@ -111,11 +111,11 @@
|
|
|
111
111
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
112
112
|
} @else {
|
|
113
113
|
.mat-mdc-chip.mat-mdc-standard-chip {
|
|
114
|
-
@include token-utils.create-token-values(
|
|
114
|
+
@include token-utils.create-token-values-mixed(
|
|
115
115
|
tokens-mdc-chip.$prefix,
|
|
116
116
|
tokens-mdc-chip.get-density-tokens($theme)
|
|
117
117
|
);
|
|
118
|
-
@include token-utils.create-token-values(
|
|
118
|
+
@include token-utils.create-token-values-mixed(
|
|
119
119
|
tokens-mat-chip.$prefix,
|
|
120
120
|
tokens-mat-chip.get-density-tokens($theme)
|
|
121
121
|
);
|
package/chips/index.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
|
6
6
|
import { E as ErrorStateMatcher } from '../error-options.d-448d9046.js';
|
|
7
7
|
import { M as MatFormFieldControl } from '../form-field-control.d-eb86711c.js';
|
|
8
8
|
import { M as MatCommonModule } from '../common-module.d-0e6515ae.js';
|
|
9
|
-
import { M as MatRippleModule } from '../index.d-
|
|
9
|
+
import { M as MatRippleModule } from '../index.d-cc6e48d4.js';
|
|
10
10
|
import '@angular/cdk/bidi';
|
|
11
|
-
import '../ripple.d-
|
|
11
|
+
import '../ripple.d-f2cd74cf.js';
|
|
12
12
|
import '@angular/cdk/platform';
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -837,6 +837,10 @@ declare class MatChipInput implements MatChipTextControl, OnChanges, OnDestroy {
|
|
|
837
837
|
get disabled(): boolean;
|
|
838
838
|
set disabled(value: boolean);
|
|
839
839
|
private _disabled;
|
|
840
|
+
/** Whether the input is readonly. */
|
|
841
|
+
readonly: boolean;
|
|
842
|
+
/** Whether the input should remain interactive when it is disabled. */
|
|
843
|
+
disabledInteractive: boolean;
|
|
840
844
|
/** Whether the input is empty. */
|
|
841
845
|
get empty(): boolean;
|
|
842
846
|
/** The native input element to which this directive is attached. */
|
|
@@ -859,10 +863,14 @@ declare class MatChipInput implements MatChipTextControl, OnChanges, OnDestroy {
|
|
|
859
863
|
setDescribedByIds(ids: string[]): void;
|
|
860
864
|
/** Checks whether a keycode is one of the configured separators. */
|
|
861
865
|
private _isSeparatorKey;
|
|
866
|
+
/** Gets the value to set on the `readonly` attribute. */
|
|
867
|
+
protected _getReadonlyAttribute(): string | null;
|
|
862
868
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, never>;
|
|
863
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
|
|
869
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabledInteractive": { "alias": "matChipInputDisabledInteractive"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
|
|
864
870
|
static ngAcceptInputType_addOnBlur: unknown;
|
|
865
871
|
static ngAcceptInputType_disabled: unknown;
|
|
872
|
+
static ngAcceptInputType_readonly: unknown;
|
|
873
|
+
static ngAcceptInputType_disabledInteractive: unknown;
|
|
866
874
|
}
|
|
867
875
|
|
|
868
876
|
declare class MatChipsModule {
|
|
@@ -877,6 +885,8 @@ interface MatChipsDefaultOptions {
|
|
|
877
885
|
separatorKeyCodes: readonly number[] | ReadonlySet<number>;
|
|
878
886
|
/** Whether icon indicators should be hidden for single-selection. */
|
|
879
887
|
hideSingleSelectionIndicator?: boolean;
|
|
888
|
+
/** Whether the chip input should be interactive while disabled by default. */
|
|
889
|
+
inputDisabledInteractive?: boolean;
|
|
880
890
|
}
|
|
881
891
|
/** Injection token to be used to override the default options for the chips module. */
|
|
882
892
|
declare const MAT_CHIPS_DEFAULT_OPTIONS: InjectionToken<MatChipsDefaultOptions>;
|
package/core/_core-theme.scss
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@include optgroup-theme.base($theme);
|
|
25
25
|
@include pseudo-checkbox-theme.base($theme);
|
|
26
26
|
@include sass-utils.current-selector-or-root() {
|
|
27
|
-
@include token-utils.create-token-values(
|
|
27
|
+
@include token-utils.create-token-values-mixed(
|
|
28
28
|
tokens-mat-app.$prefix,
|
|
29
29
|
tokens-mat-app.get-unthemable-tokens()
|
|
30
30
|
);
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
@include optgroup-theme.color($theme);
|
|
42
42
|
@include pseudo-checkbox-theme.color($theme);
|
|
43
43
|
@include sass-utils.current-selector-or-root() {
|
|
44
|
-
@include token-utils.create-token-values(
|
|
44
|
+
@include token-utils.create-token-values-mixed(
|
|
45
45
|
tokens-mat-app.$prefix,
|
|
46
46
|
tokens-mat-app.get-color-tokens($theme)
|
|
47
47
|
);
|
package/core/index.d.ts
CHANGED
|
@@ -7,15 +7,15 @@ import { Subject } from 'rxjs';
|
|
|
7
7
|
import { E as ErrorStateMatcher$1 } from '../error-options.d-448d9046.js';
|
|
8
8
|
export { E as ErrorStateMatcher, S as ShowOnDirtyErrorStateMatcher } from '../error-options.d-448d9046.js';
|
|
9
9
|
export { M as MatLine, a as MatLineModule, s as setLines } from '../line.d-570a2537.js';
|
|
10
|
-
export { M as MatOptionModule } from '../index.d-
|
|
11
|
-
export { M as MatRippleLoader } from '../ripple-loader.d-
|
|
12
|
-
export { M as MatRippleModule } from '../index.d-
|
|
13
|
-
export { b as MatPseudoCheckbox, M as MatPseudoCheckboxModule, a as MatPseudoCheckboxState } from '../pseudo-checkbox-module.d-
|
|
10
|
+
export { M as MatOptionModule } from '../index.d-d77f0821.js';
|
|
11
|
+
export { M as MatRippleLoader } from '../ripple-loader.d-e5ac6c14.js';
|
|
12
|
+
export { M as MatRippleModule } from '../index.d-cc6e48d4.js';
|
|
13
|
+
export { b as MatPseudoCheckbox, M as MatPseudoCheckboxModule, a as MatPseudoCheckboxState } from '../pseudo-checkbox-module.d-d21de92b.js';
|
|
14
14
|
import { D as DateAdapter } from '../date-adapter.d-c6835d41.js';
|
|
15
15
|
export { D as DateAdapter, M as MAT_DATE_LOCALE, a as MAT_DATE_LOCALE_FACTORY } from '../date-adapter.d-c6835d41.js';
|
|
16
16
|
export { d as MAT_OPTGROUP, a as MatOptgroup, M as MatOption, b as MatOptionSelectionChange, _ as _countGroupLabelsBeforeOption, c as _getOptionScrollPosition } from '../option.d-6f493d78.js';
|
|
17
17
|
export { a as MAT_OPTION_PARENT_COMPONENT, M as MatOptionParentComponent } from '../option-parent.d-559ad5c5.js';
|
|
18
|
-
export { c as MAT_RIPPLE_GLOBAL_OPTIONS, M as MatRipple, g as RippleAnimationConfig, f as RippleConfig, b as RippleGlobalOptions, h as RippleRef, R as RippleRenderer, e as RippleState, a as RippleTarget, d as defaultRippleAnimationConfig } from '../ripple.d-
|
|
18
|
+
export { c as MAT_RIPPLE_GLOBAL_OPTIONS, M as MatRipple, g as RippleAnimationConfig, f as RippleConfig, b as RippleGlobalOptions, h as RippleRef, R as RippleRenderer, e as RippleState, a as RippleTarget, d as defaultRippleAnimationConfig } from '../ripple.d-f2cd74cf.js';
|
|
19
19
|
import '@angular/cdk/bidi';
|
|
20
20
|
import '@angular/cdk/a11y';
|
|
21
21
|
import '@angular/cdk/platform';
|
|
@@ -44,6 +44,11 @@ declare class AnimationDurations {
|
|
|
44
44
|
static ENTERING: string;
|
|
45
45
|
static EXITING: string;
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Returns whether animations have been disabled by DI. Must be called in a DI context.
|
|
49
|
+
* @docs-private
|
|
50
|
+
*/
|
|
51
|
+
declare function _animationsDisabled(): boolean;
|
|
47
52
|
|
|
48
53
|
interface ErrorStateMatcher extends ErrorStateMatcher$1 {
|
|
49
54
|
}
|
|
@@ -191,4 +196,4 @@ declare class _MatInternalFormField {
|
|
|
191
196
|
static ɵcmp: i0.ɵɵComponentDeclaration<_MatInternalFormField, "div[mat-internal-form-field]", never, { "labelPosition": { "alias": "labelPosition"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
192
197
|
}
|
|
193
198
|
|
|
194
|
-
export { AnimationCurves, AnimationDurations, MAT_DATE_FORMATS, MAT_NATIVE_DATE_FORMATS, type MatDateFormats, MatNativeDateModule, NativeDateAdapter, NativeDateModule, VERSION, _ErrorStateTracker, _MatInternalFormField, _StructuralStylesLoader, provideNativeDateAdapter };
|
|
199
|
+
export { AnimationCurves, AnimationDurations, MAT_DATE_FORMATS, MAT_NATIVE_DATE_FORMATS, type MatDateFormats, MatNativeDateModule, NativeDateAdapter, NativeDateModule, VERSION, _ErrorStateTracker, _MatInternalFormField, _StructuralStylesLoader, _animationsDisabled, provideNativeDateAdapter };
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
|
|
20
20
|
} @else {
|
|
21
21
|
@include sass-utils.current-selector-or-root() {
|
|
22
|
-
@include token-utils.create-token-values(
|
|
22
|
+
@include token-utils.create-token-values-mixed(
|
|
23
23
|
tokens-mat-optgroup.$prefix,
|
|
24
24
|
tokens-mat-optgroup.get-color-tokens($theme)
|
|
25
25
|
);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
33
33
|
} @else {
|
|
34
34
|
@include sass-utils.current-selector-or-root() {
|
|
35
|
-
@include token-utils.create-token-values(
|
|
35
|
+
@include token-utils.create-token-values-mixed(
|
|
36
36
|
tokens-mat-optgroup.$prefix,
|
|
37
37
|
tokens-mat-optgroup.get-typography-tokens($theme)
|
|
38
38
|
);
|
|
@@ -26,21 +26,21 @@
|
|
|
26
26
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color), $options...);
|
|
27
27
|
} @else {
|
|
28
28
|
@include sass-utils.current-selector-or-root() {
|
|
29
|
-
@include token-utils.create-token-values(
|
|
29
|
+
@include token-utils.create-token-values-mixed(
|
|
30
30
|
tokens-mat-option.$prefix,
|
|
31
31
|
tokens-mat-option.get-color-tokens($theme)
|
|
32
32
|
);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.mat-accent {
|
|
36
|
-
@include token-utils.create-token-values(
|
|
36
|
+
@include token-utils.create-token-values-mixed(
|
|
37
37
|
tokens-mat-option.$prefix,
|
|
38
38
|
tokens-mat-option.get-color-tokens($theme, accent)
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.mat-warn {
|
|
43
|
-
@include token-utils.create-token-values(
|
|
43
|
+
@include token-utils.create-token-values-mixed(
|
|
44
44
|
tokens-mat-option.$prefix,
|
|
45
45
|
tokens-mat-option.get-color-tokens($theme, warn)
|
|
46
46
|
);
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
56
56
|
} @else {
|
|
57
57
|
@include sass-utils.current-selector-or-root() {
|
|
58
|
-
@include token-utils.create-token-values(
|
|
58
|
+
@include token-utils.create-token-values-mixed(
|
|
59
59
|
tokens-mat-option.$prefix,
|
|
60
60
|
tokens-mat-option.get-typography-tokens($theme)
|
|
61
61
|
);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
|
|
19
19
|
} @else {
|
|
20
20
|
@include sass-utils.current-selector-or-root() {
|
|
21
|
-
@include token-utils.create-token-values(
|
|
21
|
+
@include token-utils.create-token-values-mixed(
|
|
22
22
|
tokens-mat-ripple.$prefix,
|
|
23
23
|
tokens-mat-ripple.get-color-tokens($theme)
|
|
24
24
|
);
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
32
32
|
} @else {
|
|
33
33
|
@include sass-utils.current-selector-or-root() {
|
|
34
|
-
@include token-utils.create-token-values(
|
|
34
|
+
@include token-utils.create-token-values-mixed(
|
|
35
35
|
tokens-mat-ripple.$prefix,
|
|
36
36
|
tokens-mat-ripple.get-typography-tokens($theme)
|
|
37
37
|
);
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
45
45
|
} @else {
|
|
46
46
|
@include sass-utils.current-selector-or-root() {
|
|
47
|
-
@include token-utils.create-token-values(
|
|
47
|
+
@include token-utils.create-token-values-mixed(
|
|
48
48
|
tokens-mat-ripple.$prefix,
|
|
49
49
|
tokens-mat-ripple.get-density-tokens($theme)
|
|
50
50
|
);
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
@mixin _palette-styles($theme, $palette-name) {
|
|
10
10
|
@include sass-utils.current-selector-or-root() {
|
|
11
|
-
@include token-utils.create-token-values(
|
|
11
|
+
@include token-utils.create-token-values-mixed(
|
|
12
12
|
tokens-mat-full-pseudo-checkbox.$prefix,
|
|
13
13
|
tokens-mat-full-pseudo-checkbox.get-color-tokens($theme, $palette-name)
|
|
14
14
|
);
|
|
15
|
-
@include token-utils.create-token-values(
|
|
15
|
+
@include token-utils.create-token-values-mixed(
|
|
16
16
|
tokens-mat-minimal-pseudo-checkbox.$prefix,
|
|
17
17
|
tokens-mat-minimal-pseudo-checkbox.get-color-tokens($theme, $palette-name)
|
|
18
18
|
);
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
tokens-mat-minimal-pseudo-checkbox.$prefix,
|
|
34
34
|
$options...
|
|
35
35
|
);
|
|
36
|
-
@include token-utils.create-token-values(
|
|
36
|
+
@include token-utils.create-token-values-mixed(
|
|
37
37
|
tokens-mat-full-pseudo-checkbox.$prefix,
|
|
38
38
|
$mat-full-pseudo-checkbox-tokens
|
|
39
39
|
);
|
|
40
|
-
@include token-utils.create-token-values(
|
|
40
|
+
@include token-utils.create-token-values-mixed(
|
|
41
41
|
tokens-mat-minimal-pseudo-checkbox.$prefix,
|
|
42
42
|
$mat-minimal-pseudo-checkbox-tokens
|
|
43
43
|
);
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
// from the bundle.
|
|
24
24
|
$_overrides-only: true;
|
|
25
25
|
|
|
26
|
-
@mixin
|
|
26
|
+
@mixin _color-variant-styles($theme, $color-variant) {
|
|
27
27
|
$primary-options: (color-variant: $color-variant, emit-overrides-only: $_overrides-only);
|
|
28
28
|
|
|
29
29
|
// Some components use the secondary color rather than primary color for `.mat-primary`.
|
|
@@ -33,10 +33,21 @@ $_overrides-only: true;
|
|
|
33
33
|
emit-overrides-only: $_overrides-only
|
|
34
34
|
);
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
& {
|
|
37
|
+
@include option-theme.color($theme, $secondary-options...);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
& {
|
|
41
|
+
@include progress-spinner-theme.color($theme, $primary-options...);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
& {
|
|
45
|
+
@include pseudo-checkbox-theme.color($theme, $primary-options...);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& {
|
|
49
|
+
@include stepper-theme.color($theme, $primary-options...);
|
|
50
|
+
}
|
|
40
51
|
|
|
41
52
|
&.mat-icon {
|
|
42
53
|
@include icon-theme.color($theme, $primary-options...);
|
|
@@ -105,7 +116,7 @@ $_overrides-only: true;
|
|
|
105
116
|
|
|
106
117
|
@mixin color-variants-backwards-compatibility($theme) {
|
|
107
118
|
.mat-primary {
|
|
108
|
-
@include
|
|
119
|
+
@include _color-variant-styles($theme, primary);
|
|
109
120
|
}
|
|
110
121
|
.mat-badge {
|
|
111
122
|
@include badge-theme.color($theme, $color-variant: primary,
|
|
@@ -113,7 +124,7 @@ $_overrides-only: true;
|
|
|
113
124
|
}
|
|
114
125
|
|
|
115
126
|
.mat-accent {
|
|
116
|
-
@include
|
|
127
|
+
@include _color-variant-styles($theme, tertiary);
|
|
117
128
|
}
|
|
118
129
|
.mat-badge-accent {
|
|
119
130
|
@include badge-theme.color($theme, $color-variant: tertiary,
|
|
@@ -121,7 +132,7 @@ $_overrides-only: true;
|
|
|
121
132
|
}
|
|
122
133
|
|
|
123
134
|
.mat-warn {
|
|
124
|
-
@include
|
|
135
|
+
@include _color-variant-styles($theme, error);
|
|
125
136
|
}
|
|
126
137
|
.mat-badge-warn {
|
|
127
138
|
@include badge-theme.color($theme, $color-variant: error,
|
|
@@ -38,6 +38,9 @@ $_density-tokens: (
|
|
|
38
38
|
(mdc, filled-button): (
|
|
39
39
|
container-height: (40px, 36px, 32px, 28px),
|
|
40
40
|
),
|
|
41
|
+
(mat, tonal-button): (
|
|
42
|
+
container-height: (40px, 36px, 32px, 28px),
|
|
43
|
+
),
|
|
41
44
|
(mdc, outlined-button): (
|
|
42
45
|
container-height: (40px, 36px, 32px, 28px),
|
|
43
46
|
),
|
|
@@ -173,8 +173,7 @@ $_system-fallbacks: null;
|
|
|
173
173
|
@if(meta.type-of($color) == 'color') {
|
|
174
174
|
$result: map.remove($result, $opacity-key);
|
|
175
175
|
$result: map.set($result, $color-key, rgba($color, $opacity));
|
|
176
|
-
}
|
|
177
|
-
@else if($color != null) {
|
|
176
|
+
} @else if($color != null) {
|
|
178
177
|
$result: map.remove($result, $opacity-key);
|
|
179
178
|
$combined-color: #{color-mix(in srgb, #{$color} #{($opacity * 100) + '%'}, transparent)};
|
|
180
179
|
$result: map.set($result, $color-key, $combined-color);
|