@angular/material 19.0.0-next.8 → 19.0.0-rc.0
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 -2
- package/autocomplete/_autocomplete-theme.scss +37 -24
- package/autocomplete/index.d.ts +5 -6
- package/badge/_badge-theme.scss +38 -24
- package/bottom-sheet/_bottom-sheet-theme.scss +32 -20
- package/button/_button-theme.scss +229 -105
- package/button/_fab-theme.scss +95 -44
- package/button/_icon-button-theme.scss +38 -25
- package/button/index.d.ts +3 -3
- package/button-toggle/_button-toggle-theme.scss +62 -37
- package/card/_card-theme.scss +79 -38
- package/card/index.d.ts +2 -3
- package/checkbox/_checkbox-theme.scss +16 -10
- package/chips/_chips-theme.scss +64 -30
- package/core/_core-theme.scss +55 -37
- package/core/_core.scss +3 -6
- package/core/option/_optgroup-theme.scss +29 -18
- package/core/option/_option-theme.scss +34 -21
- package/core/ripple/_ripple-theme.scss +33 -21
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +49 -23
- package/core/theming/_config-validation.scss +4 -4
- package/core/theming/_definition.scss +12 -2
- package/core/tokens/_m3-system.scss +86 -42
- package/core/tokens/_token-utils.scss +91 -34
- package/core/tokens/m2/mat/_badge.scss +12 -3
- package/core/tokens/m2/mdc/_radio.scss +1 -1
- package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +1 -1
- package/core/tokens/m3/mat/_badge.scss +6 -3
- package/datepicker/_datepicker-theme.scss +53 -32
- package/datepicker/index.d.ts +33 -34
- package/dialog/_dialog-theme.scss +46 -23
- package/divider/_divider-theme.scss +28 -17
- package/expansion/_expansion-theme.scss +36 -24
- package/fesm2022/autocomplete/testing.mjs +2 -5
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +225 -148
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs +2 -5
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +45 -35
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +80 -58
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs +2 -2
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs +4 -7
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +82 -45
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +106 -79
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs +3 -6
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +56 -69
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs +4 -7
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +104 -62
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs +11 -14
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +322 -276
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs +5 -11
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +242 -187
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs +13 -22
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +827 -582
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +15 -10
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +221 -156
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +10 -12
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs +7 -10
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +86 -80
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +12 -15
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +179 -132
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs +11 -17
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +75 -56
- 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.mjs +66 -46
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs +3 -3
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input.mjs +103 -72
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs +21 -38
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +197 -195
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs +3 -6
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +178 -127
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs +10 -13
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +83 -58
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +36 -35
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +28 -14
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs +6 -12
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +123 -87
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs +6 -9
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +219 -182
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs +6 -6
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +136 -125
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs +3 -6
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +77 -47
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs +2 -2
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +262 -194
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs +4 -7
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +143 -111
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs +3 -6
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +94 -74
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs +4 -4
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +146 -113
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs +13 -25
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +183 -194
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs +5 -5
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +329 -251
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs +7 -16
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +160 -155
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs +2 -5
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +26 -17
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs +6 -9
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +97 -74
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs +3 -6
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +57 -61
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +114 -61
- package/form-field/index.d.ts +9 -10
- package/grid-list/_grid-list-theme.scss +25 -15
- package/icon/_icon-theme.scss +22 -14
- package/input/_input-theme.scss +18 -11
- package/list/_list-theme.scss +89 -47
- package/list/index.d.ts +20 -21
- package/menu/_menu-theme.scss +33 -21
- package/menu/index.d.ts +8 -9
- package/package.json +2 -2
- package/paginator/_paginator-theme.scss +39 -23
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +20 -16
- package/progress-spinner/_progress-spinner-theme.scss +41 -25
- package/progress-spinner/index.d.ts +3 -4
- package/radio/_radio-theme.scss +60 -32
- package/radio/index.d.ts +2 -3
- package/schematics/collection.json +3 -3
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-add/theming/create-custom-theme.js +1 -6
- package/schematics/ng-add/theming/create-custom-theme.mjs +1 -6
- package/schematics/ng-generate/{m3-theme → theme-color}/index_bundled.js +480 -288
- package/schematics/ng-generate/theme-color/index_bundled.js.map +7 -0
- package/schematics/ng-generate/{m3-theme → theme-color}/schema.json +7 -13
- package/schematics/ng-update/index_bundled.js +6 -1
- package/schematics/ng-update/index_bundled.js.map +1 -1
- package/select/_select-theme.scss +38 -25
- package/select/index.d.ts +6 -7
- package/sidenav/_sidenav-theme.scss +28 -17
- package/slide-toggle/_slide-toggle-theme.scss +52 -28
- package/slider/_slider-theme.scss +62 -38
- package/snack-bar/_snack-bar-theme.scss +29 -17
- package/sort/_sort-theme.scss +33 -21
- package/stepper/_stepper-theme.scss +40 -27
- package/stepper/index.d.ts +14 -15
- package/table/_table-theme.scss +36 -23
- package/tabs/_tabs-theme.scss +97 -50
- package/tabs/index.d.ts +2 -2
- package/timepicker/_timepicker-theme.scss +37 -24
- package/toolbar/_toolbar-theme.scss +35 -22
- package/tooltip/_tooltip-theme.scss +18 -15
- package/tooltip/index.d.ts +5 -6
- package/tree/_tree-theme.scss +33 -21
- package/schematics/ng-generate/m3-theme/index_bundled.js.map +0 -7
package/radio/_radio-theme.scss
CHANGED
|
@@ -15,10 +15,14 @@
|
|
|
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(
|
|
19
|
-
tokens-mdc-radio
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
@include token-utils.create-token-values(
|
|
19
|
+
tokens-mdc-radio.$prefix,
|
|
20
|
+
tokens-mdc-radio.get-unthemable-tokens()
|
|
21
|
+
);
|
|
22
|
+
@include token-utils.create-token-values(
|
|
23
|
+
tokens-mat-radio.$prefix,
|
|
24
|
+
tokens-mat-radio.get-unthemable-tokens()
|
|
25
|
+
);
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
28
|
}
|
|
@@ -34,24 +38,36 @@
|
|
|
34
38
|
} @else {
|
|
35
39
|
.mat-mdc-radio-button {
|
|
36
40
|
&.mat-primary {
|
|
37
|
-
@include token-utils.create-token-values(
|
|
38
|
-
tokens-mdc-radio
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
@include token-utils.create-token-values(
|
|
42
|
+
tokens-mdc-radio.$prefix,
|
|
43
|
+
tokens-mdc-radio.get-color-tokens($theme, primary)
|
|
44
|
+
);
|
|
45
|
+
@include token-utils.create-token-values(
|
|
46
|
+
tokens-mat-radio.$prefix,
|
|
47
|
+
tokens-mat-radio.get-color-tokens($theme, primary)
|
|
48
|
+
);
|
|
41
49
|
}
|
|
42
50
|
|
|
43
51
|
&.mat-accent {
|
|
44
|
-
@include token-utils.create-token-values(
|
|
45
|
-
tokens-mdc-radio
|
|
46
|
-
|
|
47
|
-
|
|
52
|
+
@include token-utils.create-token-values(
|
|
53
|
+
tokens-mdc-radio.$prefix,
|
|
54
|
+
tokens-mdc-radio.get-color-tokens($theme)
|
|
55
|
+
);
|
|
56
|
+
@include token-utils.create-token-values(
|
|
57
|
+
tokens-mat-radio.$prefix,
|
|
58
|
+
tokens-mat-radio.get-color-tokens($theme)
|
|
59
|
+
);
|
|
48
60
|
}
|
|
49
61
|
|
|
50
62
|
&.mat-warn {
|
|
51
|
-
@include token-utils.create-token-values(
|
|
52
|
-
tokens-mdc-radio
|
|
53
|
-
|
|
54
|
-
|
|
63
|
+
@include token-utils.create-token-values(
|
|
64
|
+
tokens-mdc-radio.$prefix,
|
|
65
|
+
tokens-mdc-radio.get-color-tokens($theme, warn)
|
|
66
|
+
);
|
|
67
|
+
@include token-utils.create-token-values(
|
|
68
|
+
tokens-mat-radio.$prefix,
|
|
69
|
+
tokens-mat-radio.get-color-tokens($theme, warn)
|
|
70
|
+
);
|
|
55
71
|
}
|
|
56
72
|
}
|
|
57
73
|
}
|
|
@@ -64,10 +80,14 @@
|
|
|
64
80
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
65
81
|
} @else {
|
|
66
82
|
@include sass-utils.current-selector-or-root() {
|
|
67
|
-
@include token-utils.create-token-values(
|
|
68
|
-
tokens-mdc-radio
|
|
69
|
-
|
|
70
|
-
|
|
83
|
+
@include token-utils.create-token-values(
|
|
84
|
+
tokens-mdc-radio.$prefix,
|
|
85
|
+
tokens-mdc-radio.get-typography-tokens($theme)
|
|
86
|
+
);
|
|
87
|
+
@include token-utils.create-token-values(
|
|
88
|
+
tokens-mat-radio.$prefix,
|
|
89
|
+
tokens-mat-radio.get-typography-tokens($theme)
|
|
90
|
+
);
|
|
71
91
|
}
|
|
72
92
|
}
|
|
73
93
|
}
|
|
@@ -81,30 +101,38 @@
|
|
|
81
101
|
$density-scale: inspection.get-theme-density($theme);
|
|
82
102
|
|
|
83
103
|
@include sass-utils.current-selector-or-root() {
|
|
84
|
-
@include token-utils.create-token-values(
|
|
85
|
-
tokens-mdc-radio
|
|
86
|
-
|
|
87
|
-
|
|
104
|
+
@include token-utils.create-token-values(
|
|
105
|
+
tokens-mdc-radio.$prefix,
|
|
106
|
+
tokens-mdc-radio.get-density-tokens($theme)
|
|
107
|
+
);
|
|
108
|
+
@include token-utils.create-token-values(
|
|
109
|
+
tokens-mat-radio.$prefix,
|
|
110
|
+
tokens-mat-radio.get-density-tokens($theme)
|
|
111
|
+
);
|
|
88
112
|
}
|
|
89
113
|
}
|
|
90
114
|
}
|
|
91
115
|
|
|
92
|
-
///
|
|
93
|
-
|
|
94
|
-
@
|
|
95
|
-
@include token-utils.batch-create-token-values(
|
|
96
|
-
$tokens,
|
|
116
|
+
/// Defines the tokens that will be available in the `overrides` mixin and for docs extraction.
|
|
117
|
+
@function _define-overrides() {
|
|
118
|
+
@return (
|
|
97
119
|
(
|
|
98
|
-
|
|
120
|
+
namespace: tokens-mdc-radio.$prefix,
|
|
99
121
|
tokens: tokens-mdc-radio.get-token-slots(),
|
|
100
122
|
),
|
|
101
123
|
(
|
|
102
|
-
|
|
124
|
+
namespace: tokens-mat-radio.$prefix,
|
|
103
125
|
tokens: tokens-mat-radio.get-token-slots(),
|
|
104
|
-
)
|
|
126
|
+
),
|
|
105
127
|
);
|
|
106
128
|
}
|
|
107
129
|
|
|
130
|
+
/// Outputs the CSS variable values for the given tokens.
|
|
131
|
+
/// @param {Map} $tokens The token values to emit.
|
|
132
|
+
@mixin overrides($tokens: ()) {
|
|
133
|
+
@include token-utils.batch-create-token-values($tokens, _define-overrides()...);
|
|
134
|
+
}
|
|
135
|
+
|
|
108
136
|
/// Outputs all (base, color, typography, and density) theme styles for the mat-radio.
|
|
109
137
|
/// @param {Map} $theme The theme to generate styles for.
|
|
110
138
|
/// @param {ArgList} Additional optional arguments (only supported for M3 themes):
|
package/radio/index.d.ts
CHANGED
|
@@ -7,14 +7,13 @@ import { EventEmitter } from '@angular/core';
|
|
|
7
7
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
9
|
import * as i1 from '@angular/material/core';
|
|
10
|
-
import * as i2 from '@angular/common';
|
|
11
10
|
import { InjectionToken } from '@angular/core';
|
|
12
11
|
import { OnDestroy } from '@angular/core';
|
|
13
12
|
import { OnInit } from '@angular/core';
|
|
14
13
|
import { QueryList } from '@angular/core';
|
|
15
14
|
import { ThemePalette } from '@angular/material/core';
|
|
16
15
|
|
|
17
|
-
declare namespace
|
|
16
|
+
declare namespace i2 {
|
|
18
17
|
export {
|
|
19
18
|
MAT_RADIO_DEFAULT_OPTIONS_FACTORY,
|
|
20
19
|
MatRadioChange,
|
|
@@ -312,7 +311,7 @@ export declare class MatRadioGroup implements AfterContentInit, OnDestroy, Contr
|
|
|
312
311
|
|
|
313
312
|
export declare class MatRadioModule {
|
|
314
313
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatRadioModule, never>;
|
|
315
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatRadioModule, never, [typeof i1.MatCommonModule, typeof
|
|
314
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatRadioModule, never, [typeof i1.MatCommonModule, typeof i1.MatRippleModule, typeof i2.MatRadioGroup, typeof i2.MatRadioButton], [typeof i1.MatCommonModule, typeof i2.MatRadioGroup, typeof i2.MatRadioButton]>;
|
|
316
315
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatRadioModule>;
|
|
317
316
|
}
|
|
318
317
|
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
},
|
|
48
48
|
"m3Theme": {
|
|
49
49
|
"description": "Generate M3 theme",
|
|
50
|
-
"factory": "./ng-generate/
|
|
51
|
-
"schema": "./ng-generate/
|
|
52
|
-
"aliases": ["
|
|
50
|
+
"factory": "./ng-generate/theme-color/index_bundled",
|
|
51
|
+
"schema": "./ng-generate/theme-color/schema.json",
|
|
52
|
+
"aliases": ["theme-color"]
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -19,7 +19,7 @@ const package_config_1 = require("./package-config");
|
|
|
19
19
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
20
20
|
* the default for Angular framework dependencies in CLI projects.
|
|
21
21
|
*/
|
|
22
|
-
const fallbackMaterialVersionRange = `~19.0.0-
|
|
22
|
+
const fallbackMaterialVersionRange = `~19.0.0-rc.0`;
|
|
23
23
|
/**
|
|
24
24
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
25
25
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -19,7 +19,7 @@ const package_config_1 = require("./package-config");
|
|
|
19
19
|
* Note that the fallback version range does not use caret, but tilde because that is
|
|
20
20
|
* the default for Angular framework dependencies in CLI projects.
|
|
21
21
|
*/
|
|
22
|
-
const fallbackMaterialVersionRange = `~19.0.0-
|
|
22
|
+
const fallbackMaterialVersionRange = `~19.0.0-rc.0`;
|
|
23
23
|
/**
|
|
24
24
|
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
25
25
|
* automatically executed if developers run `ng add @angular/material`.
|
|
@@ -16,11 +16,6 @@ function createCustomTheme(name = 'app') {
|
|
|
16
16
|
@use '@angular/material' as mat;
|
|
17
17
|
// Plus imports for other components in your app.
|
|
18
18
|
|
|
19
|
-
// Include the common styles for Angular Material. We include this here so that you only
|
|
20
|
-
// have to load a single css file for Angular Material in your app.
|
|
21
|
-
// Be sure that you only ever include this mixin once!
|
|
22
|
-
@include mat.core();
|
|
23
|
-
|
|
24
19
|
// Define the theme object.
|
|
25
20
|
$${name}-theme: mat.define-theme((
|
|
26
21
|
color: (
|
|
@@ -48,4 +43,4 @@ $${name}-theme: mat.define-theme((
|
|
|
48
43
|
// @include mat.color-variants-backwards-compatibility($${name}-theme);
|
|
49
44
|
`;
|
|
50
45
|
}
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWN1c3RvbS10aGVtZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tYXRlcmlhbC9zY2hlbWF0aWNzL25nLWFkZC90aGVtaW5nL2NyZWF0ZS1jdXN0b20tdGhlbWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7R0FNRzs7QUFHSCw4Q0FpQ0M7QUFsQ0QsbUVBQW1FO0FBQ25FLFNBQWdCLGlCQUFpQixDQUFDLE9BQWUsS0FBSztJQUNwRCxPQUFPOzs7Ozs7O0dBT04sSUFBSTs7Ozs7Ozs7Ozs7Ozs7O3VDQWVnQyxJQUFJOzs7Ozt3Q0FLSCxJQUFJOzs7MERBR2MsSUFBSTtDQUM3RCxDQUFDO0FBQ0YsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2Ugd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zaW5nLlxuOnJvb3Qge1xuICBAaW5jbHVkZSBtYXQuYWxsLWNvbXBvbmVudC10aGVtZXMoJCR7bmFtZX0tdGhlbWUpO1xufVxuXG4vLyBDb21tZW50IG91dCB0aGUgbGluZSBiZWxvdyBpZiB5b3Ugd2FudCB0byB1c2UgdGhlIHByZS1kZWZpbmVkIHR5cG9ncmFwaHkgdXRpbGl0eSBjbGFzc2VzLlxuLy8gRm9yIG1vcmUgaW5mb3JtYXRpb246IGh0dHBzOi8vbWF0ZXJpYWwuYW5ndWxhci5pby9ndWlkZS90eXBvZ3JhcGh5I3VzaW5nLXR5cG9ncmFwaHktc3R5bGVzLWluLXlvdXItYXBwbGljYXRpb24uXG4vLyBAaW5jbHVkZSBtYXQudHlwb2dyYXBoeS1oaWVyYXJjaHkoJCR7bmFtZX0tdGhlbWUpO1xuXG4vLyBDb21tZW50IG91dCB0aGUgbGluZSBiZWxvdyBpZiB5b3Ugd2FudCB0byB1c2UgdGhlIGRlcHJlY2F0ZWQgXFxgY29sb3JcXGAgaW5wdXRzLlxuLy8gQGluY2x1ZGUgbWF0LmNvbG9yLXZhcmlhbnRzLWJhY2t3YXJkcy1jb21wYXRpYmlsaXR5KCQke25hbWV9LXRoZW1lKTtcbmA7XG59XG4iXX0=
|
|
@@ -16,11 +16,6 @@ function createCustomTheme(name = 'app') {
|
|
|
16
16
|
@use '@angular/material' as mat;
|
|
17
17
|
// Plus imports for other components in your app.
|
|
18
18
|
|
|
19
|
-
// Include the common styles for Angular Material. We include this here so that you only
|
|
20
|
-
// have to load a single css file for Angular Material in your app.
|
|
21
|
-
// Be sure that you only ever include this mixin once!
|
|
22
|
-
@include mat.core();
|
|
23
|
-
|
|
24
19
|
// Define the theme object.
|
|
25
20
|
$${name}-theme: mat.define-theme((
|
|
26
21
|
color: (
|
|
@@ -48,4 +43,4 @@ $${name}-theme: mat.define-theme((
|
|
|
48
43
|
// @include mat.color-variants-backwards-compatibility($${name}-theme);
|
|
49
44
|
`;
|
|
50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