@angular/material 20.0.0-next.9 → 20.0.0-rc.1
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/badge/_badge-theme.scss +27 -14
- package/badge/_m3-badge.scss +39 -67
- package/badge/index.d.ts +2 -2
- package/badge/testing/index.d.ts +1 -1
- package/{badge.d-D0iThVg0.d.ts → badge.d-Cn81aRz4.d.ts} +2 -2
- package/button/index.d.ts +4 -4
- package/button-toggle/_m3-button-toggle.scss +1 -1
- package/checkbox/index.d.ts +4 -4
- package/checkbox/testing/index.d.ts +1 -1
- package/chips/index.d.ts +2 -2
- package/chips/testing/index.d.ts +1 -1
- package/core/color/_all-color.scss +1 -1
- package/core/m2/_typography.scss +1 -1
- package/core/theming/_all-theme.scss +41 -0
- package/core/theming/_color-api-backwards-compatibility.scss +3 -6
- package/core/theming/_definition.scss +72 -72
- package/core/theming/_inspection.scss +24 -22
- package/core/theming/_theming.scss +2 -2
- package/core/tokens/_m3-system.scss +112 -69
- package/core/tokens/_m3-tokens.scss +30 -226
- package/core/tokens/_m3-utils.scss +35 -0
- package/core/tokens/_token-utils.scss +22 -1
- package/core/tokens/m3/_index.scss +6 -8
- package/core/tokens/m3/_md-sys-color.scss +125 -137
- package/core/tokens/m3/_md-sys-elevation.scss +7 -7
- package/core/tokens/m3/_md-sys-motion.scss +27 -38
- package/core/tokens/m3/_md-sys-shape.scss +13 -16
- package/core/tokens/m3/_md-sys-state.scss +5 -5
- package/core/tokens/m3/_md-sys-typescale.scss +107 -306
- package/datepicker/index.d.ts +6 -6
- package/dialog/index.d.ts +2 -2
- package/dialog/testing/index.d.ts +4 -4
- package/{dialog.d-DsYAn2Gk.d.ts → dialog.d-hlN3f-Hk.d.ts} +1 -1
- package/fesm2022/autocomplete.mjs +23 -23
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +14 -14
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +11 -11
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +16 -16
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +21 -21
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +47 -47
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +13 -13
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +49 -49
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/{common-module-DZl8g1kc.mjs → common-module-CF0eSYO4.mjs} +5 -5
- package/fesm2022/{common-module-DZl8g1kc.mjs.map → common-module-CF0eSYO4.mjs.map} +1 -1
- package/fesm2022/core.mjs +24 -24
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +94 -94
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +2 -2
- package/fesm2022/dialog.mjs +2 -2
- package/fesm2022/divider.mjs +8 -8
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/{error-options-BWOa3B4G.mjs → error-options-CbAHLQL5.mjs} +7 -7
- package/fesm2022/{error-options-BWOa3B4G.mjs.map → error-options-CbAHLQL5.mjs.map} +1 -1
- package/fesm2022/expansion.mjs +27 -27
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/{form-field-BZd6Vhww.mjs → form-field-sL9_TuE-.mjs} +70 -62
- package/fesm2022/form-field-sL9_TuE-.mjs.map +1 -0
- package/fesm2022/form-field.mjs +3 -3
- package/fesm2022/grid-list.mjs +24 -24
- 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-4VvBKIK4.mjs → icon-button-BASP1JI8.mjs} +12 -12
- package/fesm2022/icon-button-BASP1JI8.mjs.map +1 -0
- package/fesm2022/{icon-registry-Bk5cM8Z5.mjs → icon-registry-DVLYRZv3.mjs} +4 -4
- package/fesm2022/{icon-registry-Bk5cM8Z5.mjs.map → icon-registry-DVLYRZv3.mjs.map} +1 -1
- package/fesm2022/icon.mjs +12 -12
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/index-BNtCg9r0.mjs +22 -0
- package/fesm2022/{index-BHJ4tVIe.mjs.map → index-BNtCg9r0.mjs.map} +1 -1
- package/fesm2022/index-DxCSjCL3.mjs +20 -0
- package/fesm2022/{index-D2rZ0V78.mjs.map → index-DxCSjCL3.mjs.map} +1 -1
- package/fesm2022/input.mjs +12 -12
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/{internal-form-field-DVvKYBKJ.mjs → internal-form-field-_OHaksOO.mjs} +4 -4
- package/fesm2022/{internal-form-field-DVvKYBKJ.mjs.map → internal-form-field-_OHaksOO.mjs.map} +1 -1
- package/fesm2022/{line-Dwrcg_t9.mjs → line-CtAKiRo6.mjs} +9 -9
- package/fesm2022/{line-Dwrcg_t9.mjs.map → line-CtAKiRo6.mjs.map} +1 -1
- package/fesm2022/list.mjs +59 -59
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +20 -20
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/{module-D-cNfopD.mjs → module-ChwDH6BC.mjs} +28 -28
- package/fesm2022/module-ChwDH6BC.mjs.map +1 -0
- package/fesm2022/{module-CTd5xD2i.mjs → module-DToxyW7l.mjs} +7 -7
- package/fesm2022/{module-CTd5xD2i.mjs.map → module-DToxyW7l.mjs.map} +1 -1
- package/fesm2022/{module-qRXgbi2L.mjs → module-DqTK2swA.mjs} +17 -17
- package/fesm2022/{module-qRXgbi2L.mjs.map → module-DqTK2swA.mjs.map} +1 -1
- package/fesm2022/{module-X29xYsIk.mjs → module-m5vWw9-5.mjs} +12 -12
- package/fesm2022/{module-X29xYsIk.mjs.map → module-m5vWw9-5.mjs.map} +1 -1
- package/fesm2022/{option-MOeehkAg.mjs → option-hkPAbXDN.mjs} +10 -10
- package/fesm2022/{option-MOeehkAg.mjs.map → option-hkPAbXDN.mjs.map} +1 -1
- package/fesm2022/paginator.mjs +27 -27
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +10 -10
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +10 -10
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/{pseudo-checkbox-BFGIaGxz.mjs → pseudo-checkbox-Ddidc23S.mjs} +4 -4
- package/fesm2022/{pseudo-checkbox-BFGIaGxz.mjs.map → pseudo-checkbox-Ddidc23S.mjs.map} +1 -1
- package/fesm2022/pseudo-checkbox-module--am9-RIA.mjs +20 -0
- package/fesm2022/{pseudo-checkbox-module-Dxth-mPi.mjs.map → pseudo-checkbox-module--am9-RIA.mjs.map} +1 -1
- package/fesm2022/radio.mjs +19 -19
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/{ripple-CuyVtN3V.mjs → ripple-DUGA2BAa.mjs} +7 -7
- package/fesm2022/{ripple-CuyVtN3V.mjs.map → ripple-DUGA2BAa.mjs.map} +1 -1
- package/fesm2022/{ripple-loader-pOctSZby.mjs → ripple-loader-Xy4bv6Xh.mjs} +5 -5
- package/fesm2022/{ripple-loader-pOctSZby.mjs.map → ripple-loader-Xy4bv6Xh.mjs.map} +1 -1
- package/fesm2022/select.mjs +12 -12
- package/fesm2022/sidenav.mjs +23 -23
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +13 -13
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +23 -23
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +28 -28
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +15 -15
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +43 -43
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{structural-styles-CasigI3l.mjs → structural-styles-DA18Hchc.mjs} +4 -4
- package/fesm2022/{structural-styles-CasigI3l.mjs.map → structural-styles-DA18Hchc.mjs.map} +1 -1
- package/fesm2022/table.mjs +56 -56
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +54 -54
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +20 -20
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +13 -13
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +2 -2
- package/fesm2022/tree.mjs +26 -26
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +2 -2
- package/{form-field.d-b9aHrR4I.d.ts → form-field.d-C6p5uYjG.d.ts} +8 -6
- package/icon/index.d.ts +1 -1
- package/{icon-module.d-sA1hmRKS.d.ts → icon-module.d-COXCrhrh.d.ts} +4 -4
- package/input/index.d.ts +4 -4
- package/list/index.d.ts +4 -4
- package/{module.d-BGzxQfCs.d.ts → module.d-D1Ym5Wf2.d.ts} +1 -1
- package/{module.d-CH_8jCsD.d.ts → module.d-DMabQ4_c.d.ts} +2 -2
- package/package.json +2 -2
- package/paginator/index.d.ts +5 -5
- package/paginator/testing/index.d.ts +2 -2
- package/{paginator.d-3kymf0wo.d.ts → paginator.d-DuJ-oYgT.d.ts} +3 -3
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/progress-bar/index.d.ts +4 -4
- package/progress-spinner/index.d.ts +2 -2
- package/progress-spinner/testing/index.d.ts +1 -1
- package/{progress-spinner.d-DtYCWeYd.d.ts → progress-spinner.d-Lfz4Wh5x.d.ts} +4 -4
- package/radio/index.d.ts +6 -6
- package/radio/testing/index.d.ts +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/schema.json +4 -4
- package/schematics/ng-add/theming/create-custom-theme.js +1 -1
- package/schematics/ng-generate/theme-color/index_bundled.js +2 -2
- package/schematics/ng-generate/theme-color/index_bundled.js.map +1 -1
- package/schematics/ng-update/index_bundled.js +54 -2
- package/schematics/ng-update/index_bundled.js.map +1 -1
- package/select/index.d.ts +3 -3
- package/slide-toggle/index.d.ts +4 -4
- package/slide-toggle/testing/index.d.ts +1 -1
- package/slider/index.d.ts +3 -3
- package/stepper/index.d.ts +7 -7
- package/table/index.d.ts +2 -2
- package/tabs/index.d.ts +8 -8
- package/toolbar/index.d.ts +2 -2
- package/tree/testing/index.d.ts +1 -1
- package/core/tokens/m3/_md-ref-palette.scss +0 -100
- package/core/tokens/m3/_md-ref-typeface.scss +0 -14
- package/fesm2022/form-field-BZd6Vhww.mjs.map +0 -1
- package/fesm2022/icon-button-4VvBKIK4.mjs.map +0 -1
- package/fesm2022/index-BHJ4tVIe.mjs +0 -22
- package/fesm2022/index-D2rZ0V78.mjs +0 -20
- package/fesm2022/module-D-cNfopD.mjs.map +0 -1
- package/fesm2022/pseudo-checkbox-module-Dxth-mPi.mjs +0 -20
|
@@ -5,321 +5,122 @@
|
|
|
5
5
|
|
|
6
6
|
@use 'sass:map';
|
|
7
7
|
|
|
8
|
-
@use './md-ref-typeface';
|
|
9
|
-
|
|
10
8
|
// Indicates whether alternative tokens should be used
|
|
11
9
|
$_alternate-tokens: false;
|
|
12
10
|
|
|
13
|
-
$
|
|
14
|
-
|
|
15
|
-
);
|
|
11
|
+
@function md-sys-typescale-values($typography) {
|
|
12
|
+
$plain: map.get($typography, plain);
|
|
13
|
+
$brand: map.get($typography, brand);
|
|
14
|
+
$bold: map.get($typography, bold);
|
|
15
|
+
$medium: map.get($typography, medium);
|
|
16
|
+
$regular: map.get($typography, regular);
|
|
16
17
|
|
|
17
|
-
@function values($deps: $_default, $exclude-hardcoded-values: false) {
|
|
18
18
|
$values: (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
'display-medium-line-height': if($exclude-hardcoded-values, null, 3.25rem),
|
|
112
|
-
'display-medium-size': if($exclude-hardcoded-values, null, 2.812rem),
|
|
113
|
-
'display-medium-tracking': if($exclude-hardcoded-values, null, 0),
|
|
114
|
-
'display-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
115
|
-
// Warning: risk of reduced fidelity from using this composite typography token.
|
|
116
|
-
// Tokens md.sys.typescale.display-small.tracking cannot be represented in the "font"
|
|
117
|
-
// property shorthand. Consider using the discrete properties instead.
|
|
118
|
-
'display-small':
|
|
119
|
-
if(
|
|
120
|
-
$exclude-hardcoded-values,
|
|
121
|
-
null,
|
|
122
|
-
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
123
|
-
if($exclude-hardcoded-values, null, 2.25rem) #{'/'} if(
|
|
124
|
-
$exclude-hardcoded-values,
|
|
125
|
-
null,
|
|
126
|
-
2.75rem
|
|
127
|
-
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
128
|
-
),
|
|
129
|
-
'display-small-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
130
|
-
'display-small-line-height': if($exclude-hardcoded-values, null, 2.75rem),
|
|
131
|
-
'display-small-size': if($exclude-hardcoded-values, null, 2.25rem),
|
|
132
|
-
'display-small-tracking': if($exclude-hardcoded-values, null, 0),
|
|
133
|
-
'display-small-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
134
|
-
// Warning: risk of reduced fidelity from using this composite typography token.
|
|
135
|
-
// Tokens md.sys.typescale.headline-large.tracking cannot be represented in the "font"
|
|
136
|
-
// property shorthand. Consider using the discrete properties instead.
|
|
137
|
-
'headline-large':
|
|
138
|
-
if(
|
|
139
|
-
$exclude-hardcoded-values,
|
|
140
|
-
null,
|
|
141
|
-
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
142
|
-
if($exclude-hardcoded-values, null, 2rem) #{'/'} if(
|
|
143
|
-
$exclude-hardcoded-values,
|
|
144
|
-
null,
|
|
145
|
-
2.5rem
|
|
146
|
-
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
147
|
-
),
|
|
148
|
-
'headline-large-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
149
|
-
'headline-large-line-height': if($exclude-hardcoded-values, null, 2.5rem),
|
|
150
|
-
'headline-large-size': if($exclude-hardcoded-values, null, 2rem),
|
|
151
|
-
'headline-large-tracking': if($exclude-hardcoded-values, null, 0),
|
|
152
|
-
'headline-large-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
153
|
-
// Warning: risk of reduced fidelity from using this composite typography token.
|
|
154
|
-
// Tokens md.sys.typescale.headline-medium.tracking cannot be represented in the "font"
|
|
155
|
-
// property shorthand. Consider using the discrete properties instead.
|
|
156
|
-
'headline-medium':
|
|
157
|
-
if(
|
|
158
|
-
$exclude-hardcoded-values,
|
|
159
|
-
null,
|
|
160
|
-
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
161
|
-
if($exclude-hardcoded-values, null, 1.75rem) #{'/'} if(
|
|
162
|
-
$exclude-hardcoded-values,
|
|
163
|
-
null,
|
|
164
|
-
2.25rem
|
|
165
|
-
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
166
|
-
),
|
|
167
|
-
'headline-medium-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
168
|
-
'headline-medium-line-height': if($exclude-hardcoded-values, null, 2.25rem),
|
|
169
|
-
'headline-medium-size': if($exclude-hardcoded-values, null, 1.75rem),
|
|
170
|
-
'headline-medium-tracking': if($exclude-hardcoded-values, null, 0),
|
|
171
|
-
'headline-medium-weight':
|
|
172
|
-
map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
173
|
-
// Warning: risk of reduced fidelity from using this composite typography token.
|
|
174
|
-
// Tokens md.sys.typescale.headline-small.tracking cannot be represented in the "font"
|
|
175
|
-
// property shorthand. Consider using the discrete properties instead.
|
|
176
|
-
'headline-small':
|
|
177
|
-
if(
|
|
178
|
-
$exclude-hardcoded-values,
|
|
179
|
-
null,
|
|
180
|
-
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
181
|
-
if($exclude-hardcoded-values, null, 1.5rem) #{'/'} if(
|
|
182
|
-
$exclude-hardcoded-values,
|
|
183
|
-
null,
|
|
184
|
-
2rem
|
|
185
|
-
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
186
|
-
),
|
|
187
|
-
'headline-small-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
188
|
-
'headline-small-line-height': if($exclude-hardcoded-values, null, 2rem),
|
|
189
|
-
'headline-small-size': if($exclude-hardcoded-values, null, 1.5rem),
|
|
190
|
-
'headline-small-tracking': if($exclude-hardcoded-values, null, 0),
|
|
191
|
-
'headline-small-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
192
|
-
// Warning: risk of reduced fidelity from using this composite typography token.
|
|
193
|
-
// Tokens md.sys.typescale.label-large.tracking cannot be represented in the "font"
|
|
194
|
-
// property shorthand. Consider using the discrete properties instead.
|
|
195
|
-
'label-large':
|
|
196
|
-
if(
|
|
197
|
-
$exclude-hardcoded-values,
|
|
198
|
-
null,
|
|
199
|
-
map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
200
|
-
if($exclude-hardcoded-values, null, 0.875rem) #{'/'} if(
|
|
201
|
-
$exclude-hardcoded-values,
|
|
202
|
-
null,
|
|
203
|
-
1.25rem
|
|
204
|
-
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
205
|
-
),
|
|
206
|
-
'label-large-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
207
|
-
'label-large-line-height': if($exclude-hardcoded-values, null, 1.25rem),
|
|
208
|
-
'label-large-size': if($exclude-hardcoded-values, null, 0.875rem),
|
|
209
|
-
'label-large-tracking': if($exclude-hardcoded-values, null, 0.006rem),
|
|
210
|
-
'label-large-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
|
|
211
|
-
'label-large-weight-prominent':
|
|
212
|
-
map.get($deps, 'md-ref-typeface', 'weight-bold'),
|
|
213
|
-
// Warning: risk of reduced fidelity from using this composite typography token.
|
|
214
|
-
// Tokens md.sys.typescale.label-medium.tracking cannot be represented in the "font"
|
|
215
|
-
// property shorthand. Consider using the discrete properties instead.
|
|
216
|
-
'label-medium':
|
|
217
|
-
if(
|
|
218
|
-
$exclude-hardcoded-values,
|
|
219
|
-
null,
|
|
220
|
-
map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
221
|
-
if($exclude-hardcoded-values, null, 0.75rem) #{'/'} if(
|
|
222
|
-
$exclude-hardcoded-values,
|
|
223
|
-
null,
|
|
224
|
-
1rem
|
|
225
|
-
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
226
|
-
),
|
|
227
|
-
'label-medium-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
228
|
-
'label-medium-line-height': if($exclude-hardcoded-values, null, 1rem),
|
|
229
|
-
'label-medium-size': if($exclude-hardcoded-values, null, 0.75rem),
|
|
230
|
-
'label-medium-tracking': if($exclude-hardcoded-values, null, 0.031rem),
|
|
231
|
-
'label-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
|
|
232
|
-
'label-medium-weight-prominent':
|
|
233
|
-
map.get($deps, 'md-ref-typeface', 'weight-bold'),
|
|
234
|
-
// Warning: risk of reduced fidelity from using this composite typography token.
|
|
235
|
-
// Tokens md.sys.typescale.label-small.tracking cannot be represented in the "font"
|
|
236
|
-
// property shorthand. Consider using the discrete properties instead.
|
|
237
|
-
'label-small':
|
|
238
|
-
if(
|
|
239
|
-
$exclude-hardcoded-values,
|
|
240
|
-
null,
|
|
241
|
-
map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
242
|
-
if($exclude-hardcoded-values, null, 0.688rem) #{'/'} if(
|
|
243
|
-
$exclude-hardcoded-values,
|
|
244
|
-
null,
|
|
245
|
-
1rem
|
|
246
|
-
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
247
|
-
),
|
|
248
|
-
'label-small-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
249
|
-
'label-small-line-height': if($exclude-hardcoded-values, null, 1rem),
|
|
250
|
-
'label-small-size': if($exclude-hardcoded-values, null, 0.688rem),
|
|
251
|
-
'label-small-tracking': if($exclude-hardcoded-values, null, 0.031rem),
|
|
252
|
-
'label-small-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
|
|
253
|
-
// Warning: risk of reduced fidelity from using this composite typography token.
|
|
254
|
-
// Tokens md.sys.typescale.title-large.tracking cannot be represented in the "font"
|
|
255
|
-
// property shorthand. Consider using the discrete properties instead.
|
|
256
|
-
'title-large':
|
|
257
|
-
if(
|
|
258
|
-
$exclude-hardcoded-values,
|
|
259
|
-
null,
|
|
260
|
-
map.get($deps, 'md-ref-typeface', 'weight-regular')
|
|
261
|
-
if($exclude-hardcoded-values, null, 1.375rem) #{'/'} if(
|
|
262
|
-
$exclude-hardcoded-values,
|
|
263
|
-
null,
|
|
264
|
-
1.75rem
|
|
265
|
-
) map.get($deps, 'md-ref-typeface', 'brand')
|
|
266
|
-
),
|
|
267
|
-
'title-large-font': map.get($deps, 'md-ref-typeface', 'brand'),
|
|
268
|
-
'title-large-line-height': if($exclude-hardcoded-values, null, 1.75rem),
|
|
269
|
-
'title-large-size': if($exclude-hardcoded-values, null, 1.375rem),
|
|
270
|
-
'title-large-tracking': if($exclude-hardcoded-values, null, 0),
|
|
271
|
-
'title-large-weight': map.get($deps, 'md-ref-typeface', 'weight-regular'),
|
|
272
|
-
// Warning: risk of reduced fidelity from using this composite typography token.
|
|
273
|
-
// Tokens md.sys.typescale.title-medium.tracking cannot be represented in the "font"
|
|
274
|
-
// property shorthand. Consider using the discrete properties instead.
|
|
275
|
-
'title-medium':
|
|
276
|
-
if(
|
|
277
|
-
$exclude-hardcoded-values,
|
|
278
|
-
null,
|
|
279
|
-
map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
280
|
-
if($exclude-hardcoded-values, null, 1rem) #{'/'} if(
|
|
281
|
-
$exclude-hardcoded-values,
|
|
282
|
-
null,
|
|
283
|
-
1.5rem
|
|
284
|
-
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
285
|
-
),
|
|
286
|
-
'title-medium-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
287
|
-
'title-medium-line-height': if($exclude-hardcoded-values, null, 1.5rem),
|
|
288
|
-
'title-medium-size': if($exclude-hardcoded-values, null, 1rem),
|
|
289
|
-
'title-medium-tracking': if($exclude-hardcoded-values, null, 0.009rem),
|
|
290
|
-
'title-medium-weight': map.get($deps, 'md-ref-typeface', 'weight-medium'),
|
|
291
|
-
// Warning: risk of reduced fidelity from using this composite typography token.
|
|
292
|
-
// Tokens md.sys.typescale.title-small.tracking cannot be represented in the "font"
|
|
293
|
-
// property shorthand. Consider using the discrete properties instead.
|
|
294
|
-
'title-small':
|
|
295
|
-
if(
|
|
296
|
-
$exclude-hardcoded-values,
|
|
297
|
-
null,
|
|
298
|
-
map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
299
|
-
if($exclude-hardcoded-values, null, 0.875rem) #{'/'} if(
|
|
300
|
-
$exclude-hardcoded-values,
|
|
301
|
-
null,
|
|
302
|
-
1.25rem
|
|
303
|
-
) map.get($deps, 'md-ref-typeface', 'plain')
|
|
304
|
-
),
|
|
305
|
-
'title-small-font': map.get($deps, 'md-ref-typeface', 'plain'),
|
|
306
|
-
'title-small-line-height': if($exclude-hardcoded-values, null, 1.25rem),
|
|
307
|
-
'title-small-size': if($exclude-hardcoded-values, null, 0.875rem),
|
|
308
|
-
'title-small-tracking': if($exclude-hardcoded-values, null, 0.006rem),
|
|
309
|
-
'title-small-weight': map.get($deps, 'md-ref-typeface', 'weight-medium')
|
|
19
|
+
body-large: $regular 1rem #{'/'} 1.5rem $plain,
|
|
20
|
+
body-large-font: $plain,
|
|
21
|
+
body-large-line-height: 1.5rem,
|
|
22
|
+
body-large-size: 1rem,
|
|
23
|
+
body-large-tracking: 0.031rem,
|
|
24
|
+
body-large-weight: $regular,
|
|
25
|
+
body-medium: $regular 0.875rem #{'/'} 1.25rem $plain,
|
|
26
|
+
body-medium-font: $plain,
|
|
27
|
+
body-medium-line-height: 1.25rem,
|
|
28
|
+
body-medium-size: 0.875rem,
|
|
29
|
+
body-medium-tracking: 0.016rem,
|
|
30
|
+
body-medium-weight: $regular,
|
|
31
|
+
body-small: $regular 0.75rem #{'/'} 1rem $plain,
|
|
32
|
+
body-small-font: $plain,
|
|
33
|
+
body-small-line-height: 1rem,
|
|
34
|
+
body-small-size: 0.75rem,
|
|
35
|
+
body-small-tracking: 0.025rem,
|
|
36
|
+
body-small-weight: $regular,
|
|
37
|
+
display-large: $regular 3.562rem #{'/'} 4rem $brand,
|
|
38
|
+
display-large-font: $brand,
|
|
39
|
+
display-large-line-height: 4rem,
|
|
40
|
+
display-large-size: 3.562rem,
|
|
41
|
+
display-large-tracking: -0.016rem,
|
|
42
|
+
display-large-weight: $regular,
|
|
43
|
+
display-medium: $regular 2.812rem #{'/'} 3.25rem $brand,
|
|
44
|
+
display-medium-font: $brand,
|
|
45
|
+
display-medium-line-height: 3.25rem,
|
|
46
|
+
display-medium-size: 2.812rem,
|
|
47
|
+
display-medium-tracking: 0,
|
|
48
|
+
display-medium-weight: $regular,
|
|
49
|
+
display-small: $regular 2.25rem #{'/'} 2.75rem $brand,
|
|
50
|
+
display-small-font: $brand,
|
|
51
|
+
display-small-line-height: 2.75rem,
|
|
52
|
+
display-small-size: 2.25rem,
|
|
53
|
+
display-small-tracking: 0,
|
|
54
|
+
display-small-weight: $regular,
|
|
55
|
+
headline-large: $regular 2rem #{'/'} 2.5rem $brand,
|
|
56
|
+
headline-large-font: $brand,
|
|
57
|
+
headline-large-line-height: 2.5rem,
|
|
58
|
+
headline-large-size: 2rem,
|
|
59
|
+
headline-large-tracking: 0,
|
|
60
|
+
headline-large-weight: $regular,
|
|
61
|
+
headline-medium: $regular 1.75rem #{'/'} 2.25rem $brand,
|
|
62
|
+
headline-medium-font: $brand,
|
|
63
|
+
headline-medium-line-height: 2.25rem,
|
|
64
|
+
headline-medium-size: 1.75rem,
|
|
65
|
+
headline-medium-tracking: 0,
|
|
66
|
+
headline-medium-weight: $regular,
|
|
67
|
+
headline-small: $regular 1.5rem #{'/'} 2rem $brand,
|
|
68
|
+
headline-small-font: $brand,
|
|
69
|
+
headline-small-line-height: 2rem,
|
|
70
|
+
headline-small-size: 1.5rem,
|
|
71
|
+
headline-small-tracking: 0,
|
|
72
|
+
headline-small-weight: $regular,
|
|
73
|
+
label-large: $medium 0.875rem #{'/'} 1.25rem $plain,
|
|
74
|
+
label-large-font: $plain,
|
|
75
|
+
label-large-line-height: 1.25rem,
|
|
76
|
+
label-large-size: 0.875rem,
|
|
77
|
+
label-large-tracking: 0.006rem,
|
|
78
|
+
label-large-weight: $medium,
|
|
79
|
+
label-large-weight-prominent: $bold,
|
|
80
|
+
label-medium: $medium 0.75rem #{'/'} 1rem $plain,
|
|
81
|
+
label-medium-font: $plain,
|
|
82
|
+
label-medium-line-height: 1rem,
|
|
83
|
+
label-medium-size: 0.75rem,
|
|
84
|
+
label-medium-tracking: 0.031rem,
|
|
85
|
+
label-medium-weight: $medium,
|
|
86
|
+
label-medium-weight-prominent: $bold,
|
|
87
|
+
label-small: $medium 0.688rem #{'/'} 1rem $plain,
|
|
88
|
+
label-small-font: $plain,
|
|
89
|
+
label-small-line-height: 1rem,
|
|
90
|
+
label-small-size: 0.688rem,
|
|
91
|
+
label-small-tracking: 0.031rem,
|
|
92
|
+
label-small-weight: $medium,
|
|
93
|
+
title-large: $regular 1.375rem #{'/'} 1.75rem $brand,
|
|
94
|
+
title-large-font: $brand,
|
|
95
|
+
title-large-line-height: 1.75rem,
|
|
96
|
+
title-large-size: 1.375rem,
|
|
97
|
+
title-large-tracking: 0,
|
|
98
|
+
title-large-weight: $regular,
|
|
99
|
+
title-medium: $medium 1rem #{'/'} 1.5rem $plain,
|
|
100
|
+
title-medium-font: $plain,
|
|
101
|
+
title-medium-line-height: 1.5rem,
|
|
102
|
+
title-medium-size: 1rem,
|
|
103
|
+
title-medium-tracking: 0.009rem,
|
|
104
|
+
title-medium-weight: $medium,
|
|
105
|
+
title-small: $medium 0.875rem #{'/'} 1.25rem $plain,
|
|
106
|
+
title-small-font: $plain,
|
|
107
|
+
title-small-line-height: 1.25rem,
|
|
108
|
+
title-small-size: 0.875rem,
|
|
109
|
+
title-small-tracking: 0.006rem,
|
|
110
|
+
title-small-weight: $medium
|
|
310
111
|
);
|
|
311
112
|
|
|
312
113
|
@if ($_alternate-tokens) {
|
|
313
114
|
$values: map.merge($values, (
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
115
|
+
body-large-tracking: 0,
|
|
116
|
+
body-medium-tracking: 0,
|
|
117
|
+
body-small-tracking: 0.006rem,
|
|
118
|
+
display-large-tracking: 0,
|
|
119
|
+
label-large-tracking: 0,
|
|
120
|
+
label-medium-tracking: 0.006rem,
|
|
121
|
+
label-small-tracking: 0.006rem,
|
|
122
|
+
title-medium-tracking: 0,
|
|
123
|
+
title-small-tracking: 0,
|
|
323
124
|
));
|
|
324
125
|
}
|
|
325
126
|
|
package/datepicker/index.d.ts
CHANGED
|
@@ -1056,10 +1056,10 @@ declare class MatDatepickerContent<S, D = ExtractDateTypeFromSelection<S>> imple
|
|
|
1056
1056
|
_calendar: MatCalendar<D>;
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Theme color of the internal calendar. This API is supported in M2 themes
|
|
1059
|
-
* only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.
|
|
1059
|
+
* only, it has no effect in M3 themes. For color customization in M3, see https://material.angular.dev/components/datepicker/styling.
|
|
1060
1060
|
*
|
|
1061
1061
|
* For information on applying color variants in M3, see
|
|
1062
|
-
* https://material.angular.
|
|
1062
|
+
* https://material.angular.dev/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
1063
1063
|
*/
|
|
1064
1064
|
color: ThemePalette;
|
|
1065
1065
|
/** Reference to the datepicker that created the overlay. */
|
|
@@ -1125,10 +1125,10 @@ interface MatDatepickerPanel<C extends MatDatepickerControl<D>, S, D = ExtractDa
|
|
|
1125
1125
|
closedStream: EventEmitter<void>;
|
|
1126
1126
|
/**
|
|
1127
1127
|
* Color palette to use on the datepicker's calendar. This API is supported in M2 themes only, it
|
|
1128
|
-
* has no effect in M3 themes. For color customization in M3, see https://material.angular.
|
|
1128
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.dev/components/datepicker/styling.
|
|
1129
1129
|
*
|
|
1130
1130
|
* For information on applying color variants in M3, see
|
|
1131
|
-
* https://material.angular.
|
|
1131
|
+
* https://material.angular.dev/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
1132
1132
|
*/
|
|
1133
1133
|
color: ThemePalette;
|
|
1134
1134
|
/** The input element the datepicker is associated with. */
|
|
@@ -1169,10 +1169,10 @@ declare abstract class MatDatepickerBase<C extends MatDatepickerControl<D>, S, D
|
|
|
1169
1169
|
startView: 'month' | 'year' | 'multi-year';
|
|
1170
1170
|
/**
|
|
1171
1171
|
* Theme color of the datepicker's calendar. This API is supported in M2 themes only, it
|
|
1172
|
-
* has no effect in M3 themes. For color customization in M3, see https://material.angular.
|
|
1172
|
+
* has no effect in M3 themes. For color customization in M3, see https://material.angular.dev/components/datepicker/styling.
|
|
1173
1173
|
*
|
|
1174
1174
|
* For information on applying color variants in M3, see
|
|
1175
|
-
* https://material.angular.
|
|
1175
|
+
* https://material.angular.dev/guide/material-2-theming#optional-add-backwards-compatibility-styles-for-color-variants
|
|
1176
1176
|
*/
|
|
1177
1177
|
get color(): ThemePalette;
|
|
1178
1178
|
set color(value: ThemePalette);
|
package/dialog/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MatDialogRef, a as MatDialogContainer } from '../dialog.d-
|
|
2
|
-
export { A as AutoFocusTarget, f as DialogPosition, D as DialogRole, b as MAT_DIALOG_DATA, c as MAT_DIALOG_DEFAULT_OPTIONS, d as MAT_DIALOG_SCROLL_STRATEGY, e as MatDialog, g as MatDialogConfig, h as MatDialogState, _ as _closeDialogVia } from '../dialog.d-
|
|
1
|
+
import { M as MatDialogRef, a as MatDialogContainer } from '../dialog.d-hlN3f-Hk.js';
|
|
2
|
+
export { A as AutoFocusTarget, f as DialogPosition, D as DialogRole, b as MAT_DIALOG_DATA, c as MAT_DIALOG_DEFAULT_OPTIONS, d as MAT_DIALOG_SCROLL_STRATEGY, e as MatDialog, g as MatDialogConfig, h as MatDialogState, _ as _closeDialogVia } from '../dialog.d-hlN3f-Hk.js';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
|
|
5
5
|
import * as i5 from '@angular/cdk/scrolling';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_cdk_testing from '@angular/cdk/testing';
|
|
2
2
|
import { BaseHarnessFilters, ContentContainerComponentHarness, ComponentHarnessConstructor, HarnessPredicate } from '@angular/cdk/testing';
|
|
3
|
-
import { D as DialogRole, e as MatDialog, g as MatDialogConfig, M as MatDialogRef } from '../../dialog.d-
|
|
3
|
+
import { D as DialogRole, e as MatDialog, g as MatDialogConfig, M as MatDialogRef } from '../../dialog.d-hlN3f-Hk.js';
|
|
4
4
|
import { ComponentType } from '@angular/cdk/overlay';
|
|
5
5
|
import { OnDestroy } from '@angular/core';
|
|
6
6
|
import '@angular/cdk/bidi';
|
|
@@ -29,9 +29,9 @@ declare class MatDialogHarness extends ContentContainerComponentHarness<MatDialo
|
|
|
29
29
|
* @return a `HarnessPredicate` configured with the given options.
|
|
30
30
|
*/
|
|
31
31
|
static with<T extends MatDialogHarness>(this: ComponentHarnessConstructor<T>, options?: DialogHarnessFilters): HarnessPredicate<T>;
|
|
32
|
-
protected _title:
|
|
33
|
-
protected _content:
|
|
34
|
-
protected _actions:
|
|
32
|
+
protected _title: () => Promise<_angular_cdk_testing.TestElement | null>;
|
|
33
|
+
protected _content: () => Promise<_angular_cdk_testing.TestElement | null>;
|
|
34
|
+
protected _actions: () => Promise<_angular_cdk_testing.TestElement | null>;
|
|
35
35
|
/** Gets the id of the dialog. */
|
|
36
36
|
getId(): Promise<string | null>;
|
|
37
37
|
/** Gets the role of the dialog. */
|
|
@@ -60,7 +60,7 @@ declare class MatDialogConfig<D = any> {
|
|
|
60
60
|
minWidth?: number | string;
|
|
61
61
|
/** Min-height of the dialog. If a number is provided, assumes pixel units. */
|
|
62
62
|
minHeight?: number | string;
|
|
63
|
-
/** Max-width of the dialog. If a number is provided, assumes pixel units.
|
|
63
|
+
/** Max-width of the dialog. If a number is provided, assumes pixel units. */
|
|
64
64
|
maxWidth?: number | string;
|
|
65
65
|
/** Max-height of the dialog. If a number is provided, assumes pixel units. */
|
|
66
66
|
maxHeight?: number | string;
|