igniteui-theming 14.4.0-beta.2 → 14.4.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/package.json +1 -1
- package/sass/themes/_mixins.scss +6 -1
- package/sass/themes/schemas/components/dark/_index.scss +0 -5
- package/sass/themes/schemas/components/dark/_switch.scss +16 -1
- package/sass/themes/schemas/components/light/_badge.scss +14 -0
- package/sass/themes/schemas/components/light/_banner.scss +14 -0
- package/sass/themes/schemas/components/light/_bottom-nav.scss +6 -0
- package/sass/themes/schemas/components/light/_button-group.scss +7 -0
- package/sass/themes/schemas/components/light/_button.scss +6 -0
- package/sass/themes/schemas/components/light/_calendar.scss +117 -0
- package/sass/themes/schemas/components/light/_card.scss +95 -0
- package/sass/themes/schemas/components/light/_checkbox.scss +21 -0
- package/sass/themes/schemas/components/light/_chip.scss +15 -0
- package/sass/themes/schemas/components/light/_column-actions.scss +7 -0
- package/sass/themes/schemas/components/light/_date-range-picker.scss +7 -0
- package/sass/themes/schemas/components/light/_dialog.scss +43 -1
- package/sass/themes/schemas/components/light/_drop-down.scss +32 -0
- package/sass/themes/schemas/components/light/_expansion-panel.scss +51 -0
- package/sass/themes/schemas/components/light/_grid.scss +16 -0
- package/sass/themes/schemas/components/light/_icon-button.scss +12 -0
- package/sass/themes/schemas/components/light/_index.scss +0 -5
- package/sass/themes/schemas/components/light/_input-group.scss +36 -0
- package/sass/themes/schemas/components/light/_label.scss +36 -2
- package/sass/themes/schemas/components/light/_list.scss +86 -1
- package/sass/themes/schemas/components/light/_navbar.scss +23 -1
- package/sass/themes/schemas/components/light/_navdrawer.scss +49 -0
- package/sass/themes/schemas/components/light/_progress.scss +7 -0
- package/sass/themes/schemas/components/light/_radio.scss +19 -0
- package/sass/themes/schemas/components/light/_slider.scss +24 -0
- package/sass/themes/schemas/components/light/_snackbar.scss +13 -0
- package/sass/themes/schemas/components/light/_switch.scss +35 -2
- package/sass/themes/schemas/components/light/_tabs.scss +18 -0
- package/sass/themes/schemas/components/light/_time-picker.scss +39 -0
- package/sass/themes/schemas/components/light/_toast.scss +14 -0
- package/sass/themes/schemas/components/light/_tooltip.scss +14 -0
- package/sass/themes/schemas/components/light/_tree.scss +6 -0
- package/sass/themes/schemas/components/dark/_tile-manager.scss +0 -207
- package/sass/themes/schemas/components/elevation/_tile-manager.scss +0 -13
- package/sass/themes/schemas/components/light/_tile-manager.scss +0 -280
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
/// @type {Map}
|
|
12
12
|
/// @prop {Map} title-color [color: ('primary', 500)]- The text color used for the title of the list.
|
|
13
13
|
/// @prop {Map} background-color [color: ('surface')] - The background color of the panel.
|
|
14
|
+
/// @prop {Map} typography [title: (value: 'subtitle-1')] - The typography styles used for the component.
|
|
14
15
|
$light-column-actions: (
|
|
15
16
|
background-color: (
|
|
16
17
|
color: (
|
|
@@ -24,6 +25,12 @@ $light-column-actions: (
|
|
|
24
25
|
500,
|
|
25
26
|
),
|
|
26
27
|
),
|
|
28
|
+
|
|
29
|
+
typography: (
|
|
30
|
+
title: (
|
|
31
|
+
value: 'subtitle-1',
|
|
32
|
+
),
|
|
33
|
+
),
|
|
27
34
|
);
|
|
28
35
|
|
|
29
36
|
/// Generates a material column actions schema.
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
/// Generates a light date-range-picker schema.
|
|
11
11
|
/// @type {Map}
|
|
12
12
|
/// @prop {Map} label-color [color: ('gray', 500)] - The Color for date range separator label.
|
|
13
|
+
/// @prop {Map} typography [label: (value: 'subtitle-1')] - The typography styles used for the component.
|
|
13
14
|
$light-date-range-picker: (
|
|
14
15
|
label-color: (
|
|
15
16
|
color: (
|
|
@@ -17,6 +18,12 @@ $light-date-range-picker: (
|
|
|
17
18
|
500,
|
|
18
19
|
),
|
|
19
20
|
),
|
|
21
|
+
|
|
22
|
+
typography: (
|
|
23
|
+
label: (
|
|
24
|
+
value: 'subtitle-1',
|
|
25
|
+
),
|
|
26
|
+
),
|
|
20
27
|
);
|
|
21
28
|
|
|
22
29
|
/// Generates a material date-range-picker schema.
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
/// @prop {Number} elevation [24] - The elevation level, between 0-24, to be used for the dialog.
|
|
19
19
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(36px))] - The border radius used for dialog.
|
|
20
20
|
/// @prop {Number} default-size [2] - The default size used for the dialog component.
|
|
21
|
+
/// @prop {Map} typography [
|
|
22
|
+
/// title: (value: 'h5'),
|
|
23
|
+
/// content: (value: 'body-1')
|
|
24
|
+
/// ] - The typography styles used for the component.
|
|
21
25
|
/// @requires {Map} $default-elevation-dialog
|
|
22
26
|
$light-dialog: extend(
|
|
23
27
|
$default-elevation-dialog,
|
|
@@ -57,20 +61,50 @@ $light-dialog: extend(
|
|
|
57
61
|
rem(36px),
|
|
58
62
|
),
|
|
59
63
|
),
|
|
64
|
+
|
|
60
65
|
default-size: 2,
|
|
66
|
+
|
|
67
|
+
typography: (
|
|
68
|
+
title: (
|
|
69
|
+
value: 'h5',
|
|
70
|
+
),
|
|
71
|
+
content: (
|
|
72
|
+
value: 'body-1',
|
|
73
|
+
),
|
|
74
|
+
),
|
|
61
75
|
)
|
|
62
76
|
);
|
|
63
77
|
|
|
64
78
|
/// Generates a material dialog schema.
|
|
65
79
|
/// @type {Map}
|
|
80
|
+
/// @prop {Map} typography [
|
|
81
|
+
/// title: (value: 'h6'),
|
|
82
|
+
/// content: (value: 'body-1')
|
|
83
|
+
/// ] - The typography styles used for the component.
|
|
66
84
|
/// @requires {Map} $light-dialog
|
|
67
|
-
$material-dialog:
|
|
85
|
+
$material-dialog: extend(
|
|
86
|
+
$light-dialog,
|
|
87
|
+
(
|
|
88
|
+
typography: (
|
|
89
|
+
title: (
|
|
90
|
+
value: 'h6',
|
|
91
|
+
),
|
|
92
|
+
content: (
|
|
93
|
+
value: 'body-1',
|
|
94
|
+
),
|
|
95
|
+
),
|
|
96
|
+
)
|
|
97
|
+
);
|
|
68
98
|
|
|
69
99
|
/// Generates a fluent dialog schema.
|
|
70
100
|
/// @type {Map}
|
|
71
101
|
/// @prop {Map} backdrop [color: ('gray', 900, .4)] - The dialog backdrop color.
|
|
72
102
|
/// @prop {List} border-radius [(rem(2px), rem(0), rem(36px))] - The border radius used for dialog.
|
|
73
103
|
/// @prop {Map} message-color [color: ('gray', 700)] - The dialog message text color.
|
|
104
|
+
/// @prop {Map} typography [
|
|
105
|
+
/// title: (value: 'h6'),
|
|
106
|
+
/// content: (value: 'body-2')
|
|
107
|
+
/// ] - The typography styles used for the component.
|
|
74
108
|
/// @requires {Map} $light-dialog
|
|
75
109
|
$fluent-dialog: extend(
|
|
76
110
|
$light-dialog,
|
|
@@ -96,6 +130,14 @@ $fluent-dialog: extend(
|
|
|
96
130
|
700,
|
|
97
131
|
),
|
|
98
132
|
),
|
|
133
|
+
typography: (
|
|
134
|
+
title: (
|
|
135
|
+
value: 'h6',
|
|
136
|
+
),
|
|
137
|
+
content: (
|
|
138
|
+
value: 'body-2',
|
|
139
|
+
),
|
|
140
|
+
),
|
|
99
141
|
)
|
|
100
142
|
);
|
|
101
143
|
|
|
@@ -30,6 +30,11 @@
|
|
|
30
30
|
/// @prop {List} item-border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for the drop-down items.
|
|
31
31
|
/// @prop {List} size [(rem(28px), rem(32px), rem(40px))] - The size used for the dropdown item height.
|
|
32
32
|
/// @prop {Number} default-size [2] - The default size used for the drop down component.
|
|
33
|
+
/// @prop {Map} typography [
|
|
34
|
+
/// header: (value: 'overline'),
|
|
35
|
+
/// item: (value: 'body-2'),
|
|
36
|
+
/// select-item: (value: 'body-2')
|
|
37
|
+
/// ] - The typography styles used for the component.
|
|
33
38
|
/// @requires {Map} $default-elevation-drop-down
|
|
34
39
|
$light-drop-down: extend(
|
|
35
40
|
$default-elevation-drop-down,
|
|
@@ -116,6 +121,17 @@ $light-drop-down: extend(
|
|
|
116
121
|
),
|
|
117
122
|
),
|
|
118
123
|
default-size: 2,
|
|
124
|
+
typography: (
|
|
125
|
+
header: (
|
|
126
|
+
value: 'overline',
|
|
127
|
+
),
|
|
128
|
+
item: (
|
|
129
|
+
value: 'body-2',
|
|
130
|
+
),
|
|
131
|
+
select-item: (
|
|
132
|
+
value: 'body-2',
|
|
133
|
+
),
|
|
134
|
+
),
|
|
119
135
|
)
|
|
120
136
|
);
|
|
121
137
|
|
|
@@ -218,6 +234,11 @@ $material-drop-down: extend(
|
|
|
218
234
|
/// @prop {Map} disabled-item-text-color [color: ('gray', 500)] - The drop-down disabled item text color.
|
|
219
235
|
/// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the drop-down shadow.
|
|
220
236
|
/// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for drop-down component.
|
|
237
|
+
/// @prop {Map} typography [
|
|
238
|
+
/// header: (value: 'subtitle-2'),
|
|
239
|
+
/// item: (value: 'body-2'),
|
|
240
|
+
/// select-item: (value: 'body-2')
|
|
241
|
+
/// ] - The typography styles used for the component.
|
|
221
242
|
/// @requires {Map} $light-drop-down
|
|
222
243
|
/// @requires {Map} $fluent-elevation-drop-down
|
|
223
244
|
$fluent-drop-down: extend(
|
|
@@ -302,6 +323,17 @@ $fluent-drop-down: extend(
|
|
|
302
323
|
rem(20px),
|
|
303
324
|
),
|
|
304
325
|
),
|
|
326
|
+
typography: (
|
|
327
|
+
header: (
|
|
328
|
+
value: 'subtitle-2',
|
|
329
|
+
),
|
|
330
|
+
item: (
|
|
331
|
+
value: 'body-2',
|
|
332
|
+
),
|
|
333
|
+
select-item: (
|
|
334
|
+
value: 'body-2',
|
|
335
|
+
),
|
|
336
|
+
),
|
|
305
337
|
)
|
|
306
338
|
);
|
|
307
339
|
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
/// @prop {Map} disabled-description-color [color: ('gray', 500)] - The panel disabled header description text color.
|
|
21
21
|
/// @prop {List} border-radius [(rem(0), rem(0), rem(16px))] - The border radius used for expansion-panel.
|
|
22
22
|
/// @prop {Number} expanded-margin [8px] - The expansion panel margin in expanded state when positioned inside accordion.
|
|
23
|
+
/// @prop {Map} typography [
|
|
24
|
+
/// title: (value: 'h5'),
|
|
25
|
+
/// description: (value: 'subtitle-2'),
|
|
26
|
+
/// body: (value: 'body-2')
|
|
27
|
+
/// ] - The typography styles used for the component.
|
|
23
28
|
$light-expansion-panel: (
|
|
24
29
|
header-background: (
|
|
25
30
|
color: (
|
|
@@ -88,6 +93,18 @@ $light-expansion-panel: (
|
|
|
88
93
|
rem(0),
|
|
89
94
|
rem(16px),
|
|
90
95
|
),
|
|
96
|
+
|
|
97
|
+
typography: (
|
|
98
|
+
title: (
|
|
99
|
+
value: 'h5',
|
|
100
|
+
),
|
|
101
|
+
description: (
|
|
102
|
+
value: 'subtitle-2',
|
|
103
|
+
),
|
|
104
|
+
body: (
|
|
105
|
+
value: 'body-2',
|
|
106
|
+
),
|
|
107
|
+
),
|
|
91
108
|
);
|
|
92
109
|
|
|
93
110
|
/// Generates a material expansion panel schema.
|
|
@@ -100,6 +117,11 @@ $material-expansion-panel: $light-expansion-panel;
|
|
|
100
117
|
/// @prop {Map} body-color [color: ('gray', 700)] - The panel body text color.
|
|
101
118
|
/// @prop {Map} disabled-text-color [color: ('gray', 400)] - The panel disabled text color.
|
|
102
119
|
/// @prop {Map} disabled-description-color [color: ('gray', 400)] - The panel disabled header description text color.
|
|
120
|
+
/// @prop {Map} typography [
|
|
121
|
+
/// title: (value: 'subtitle-1'),
|
|
122
|
+
/// description: (value: 'body-2'),
|
|
123
|
+
/// body: (value: 'caption')
|
|
124
|
+
/// ] - The typography styles used for the component.
|
|
103
125
|
/// @requires {Map} $light-expansion-panel
|
|
104
126
|
$fluent-expansion-panel: extend(
|
|
105
127
|
$light-expansion-panel,
|
|
@@ -124,6 +146,18 @@ $fluent-expansion-panel: extend(
|
|
|
124
146
|
400,
|
|
125
147
|
),
|
|
126
148
|
),
|
|
149
|
+
|
|
150
|
+
typography: (
|
|
151
|
+
title: (
|
|
152
|
+
value: 'subtitle-1',
|
|
153
|
+
),
|
|
154
|
+
description: (
|
|
155
|
+
value: 'body-2',
|
|
156
|
+
),
|
|
157
|
+
body: (
|
|
158
|
+
value: 'caption',
|
|
159
|
+
),
|
|
160
|
+
),
|
|
127
161
|
)
|
|
128
162
|
);
|
|
129
163
|
|
|
@@ -162,6 +196,11 @@ $bootstrap-expansion-panel: extend(
|
|
|
162
196
|
/// @prop {Map} body-color [color: ('gray', 700)] - The panel body text color.
|
|
163
197
|
/// @prop {Map} disabled-text-color [color: ('gray', 900, 0.2)] - The panel disabled text color.
|
|
164
198
|
/// @prop {Map} disabled-description-color [color: ('gray', 900, 0.15)] - The panel disabled header description text color.
|
|
199
|
+
/// @prop {Map} typography [
|
|
200
|
+
/// title: (value: 'body-2'),
|
|
201
|
+
/// description: (value: 'body-2'),
|
|
202
|
+
/// body: (value: 'body-2')
|
|
203
|
+
/// ] - The typography styles used for the component.
|
|
165
204
|
/// @requires {Map} $light-expansion-panel
|
|
166
205
|
$indigo-expansion-panel: extend(
|
|
167
206
|
$light-expansion-panel,
|
|
@@ -211,5 +250,17 @@ $indigo-expansion-panel: extend(
|
|
|
211
250
|
0.15,
|
|
212
251
|
),
|
|
213
252
|
),
|
|
253
|
+
|
|
254
|
+
typography: (
|
|
255
|
+
title: (
|
|
256
|
+
value: 'body-2',
|
|
257
|
+
),
|
|
258
|
+
description: (
|
|
259
|
+
value: 'body-2',
|
|
260
|
+
),
|
|
261
|
+
body: (
|
|
262
|
+
value: 'body-2',
|
|
263
|
+
),
|
|
264
|
+
),
|
|
214
265
|
)
|
|
215
266
|
);
|
|
@@ -93,6 +93,10 @@
|
|
|
93
93
|
/// @prop {List} drop-area-size [(rem(24px), rem(24px), rem(32px))] - The size used for the grid drop area.
|
|
94
94
|
/// @prop {List} group-area-size [(rem(41), rem(49px), rem(57px))] - The size used for the grid group area.
|
|
95
95
|
/// @prop {Map} row-ghost-background [color: 'primary', 50] - The background color of the dragged row.
|
|
96
|
+
/// @prop {Map} typography [
|
|
97
|
+
/// header: (comfortable: (value: 'overline'),
|
|
98
|
+
/// compact: (value: 'subtitle-1'))
|
|
99
|
+
/// ] - The typography styles used for the component.
|
|
96
100
|
/// @requires {Map} $default-elevation-grid
|
|
97
101
|
$light-grid: extend(
|
|
98
102
|
$default-elevation-grid,
|
|
@@ -636,6 +640,18 @@ $light-grid: extend(
|
|
|
636
640
|
rem(57px),
|
|
637
641
|
),
|
|
638
642
|
),
|
|
643
|
+
|
|
644
|
+
typography: (
|
|
645
|
+
header: (
|
|
646
|
+
comfortable: (
|
|
647
|
+
value: 'overline',
|
|
648
|
+
),
|
|
649
|
+
|
|
650
|
+
compact: (
|
|
651
|
+
value: 'subtitle-1',
|
|
652
|
+
),
|
|
653
|
+
),
|
|
654
|
+
),
|
|
639
655
|
)
|
|
640
656
|
);
|
|
641
657
|
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
/// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the material icon button.
|
|
31
31
|
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the material icon button.
|
|
32
32
|
/// @prop {Number} default-size [3] - The default size used for the icon button.
|
|
33
|
+
/// @prop {Map} typography [text: (value: 'button')] - The typography styles used for the component.
|
|
33
34
|
$material-base-icon-button: (
|
|
34
35
|
shadow-color: transparent,
|
|
35
36
|
background: transparent,
|
|
@@ -116,6 +117,11 @@ $material-base-icon-button: (
|
|
|
116
117
|
),
|
|
117
118
|
),
|
|
118
119
|
default-size: 3,
|
|
120
|
+
typography: (
|
|
121
|
+
text: (
|
|
122
|
+
value: 'button',
|
|
123
|
+
),
|
|
124
|
+
),
|
|
119
125
|
);
|
|
120
126
|
|
|
121
127
|
/// Generates a material flat icon button schema.
|
|
@@ -785,6 +791,7 @@ $bootstrap-icon-button: (
|
|
|
785
791
|
/// @prop {List} border-radius [(rem(40px), rem(0), rem(40px))] - The border radius used for the indigo icon button.
|
|
786
792
|
/// @prop {List} size [(rem(24px), rem(28px), rem(32px))] - The size used for the indigo icon button.
|
|
787
793
|
/// @prop {Number} default-size [2] - The default size used for the icon button.
|
|
794
|
+
/// @prop {Map} typography [text: (value: 'button')] - The typography styles used for the component.
|
|
788
795
|
$indigo-base-icon-button: (
|
|
789
796
|
shadow-color: (
|
|
790
797
|
color: (
|
|
@@ -878,6 +885,11 @@ $indigo-base-icon-button: (
|
|
|
878
885
|
),
|
|
879
886
|
),
|
|
880
887
|
default-size: 2,
|
|
888
|
+
typography: (
|
|
889
|
+
text: (
|
|
890
|
+
value: 'button',
|
|
891
|
+
),
|
|
892
|
+
),
|
|
881
893
|
);
|
|
882
894
|
|
|
883
895
|
/// Generates an indigo flat icon button schema.
|
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
@use './stepper' as *;
|
|
53
53
|
@use './switch' as *;
|
|
54
54
|
@use './tabs' as *;
|
|
55
|
-
@use './tile-manager' as *;
|
|
56
55
|
@use './time-picker' as *;
|
|
57
56
|
@use './toast' as *;
|
|
58
57
|
@use './tooltip' as *;
|
|
@@ -113,7 +112,6 @@ $light-material-schema: (
|
|
|
113
112
|
stepper: $material-stepper,
|
|
114
113
|
switch: $material-switch,
|
|
115
114
|
tabs: $material-tabs,
|
|
116
|
-
tile-manager: $material-tile-manager,
|
|
117
115
|
time-picker: $material-time-picker,
|
|
118
116
|
toast: $material-toast,
|
|
119
117
|
tooltip: $material-tooltip,
|
|
@@ -179,7 +177,6 @@ $light-fluent-schema: (
|
|
|
179
177
|
stepper: $fluent-stepper,
|
|
180
178
|
switch: $fluent-switch,
|
|
181
179
|
tabs: $fluent-tabs,
|
|
182
|
-
tile-manager: $fluent-tile-manager,
|
|
183
180
|
time-picker: $fluent-time-picker,
|
|
184
181
|
toast: $fluent-toast,
|
|
185
182
|
tooltip: $fluent-tooltip,
|
|
@@ -245,7 +242,6 @@ $light-bootstrap-schema: (
|
|
|
245
242
|
stepper: $bootstrap-stepper,
|
|
246
243
|
switch: $bootstrap-switch,
|
|
247
244
|
tabs: $bootstrap-tabs,
|
|
248
|
-
tile-manager: $bootstrap-tile-manager,
|
|
249
245
|
time-picker: $bootstrap-time-picker,
|
|
250
246
|
toast: $bootstrap-toast,
|
|
251
247
|
tooltip: $bootstrap-tooltip,
|
|
@@ -311,7 +307,6 @@ $light-indigo-schema: (
|
|
|
311
307
|
stepper: $indigo-stepper,
|
|
312
308
|
switch: $indigo-switch,
|
|
313
309
|
tabs: $indigo-tabs,
|
|
314
|
-
tile-manager: $indigo-tile-manager,
|
|
315
310
|
time-picker: $indigo-time-picker,
|
|
316
311
|
toast: $indigo-toast,
|
|
317
312
|
tooltip: $indigo-tooltip,
|
|
@@ -66,6 +66,10 @@
|
|
|
66
66
|
/// @prop {Color} input-suffix-background--focused [inherit] - The background color of an input suffix in the focused state.
|
|
67
67
|
/// @prop {List} size [(rem(40px), rem(48px), rem(56px))] - The size used for the input group.
|
|
68
68
|
/// @prop {Number} default-size [2] - The default size used for the input group component.
|
|
69
|
+
/// @prop {Map} typography [
|
|
70
|
+
/// helper-text: (value: 'caption'),
|
|
71
|
+
/// input-text: (value: 'body-2')
|
|
72
|
+
/// ] - The typography styles used for the component.
|
|
69
73
|
/// @requires {Map} $default-elevation-input-group
|
|
70
74
|
$light-input-group: extend(
|
|
71
75
|
$default-elevation-input-group,
|
|
@@ -339,6 +343,14 @@ $light-input-group: extend(
|
|
|
339
343
|
),
|
|
340
344
|
),
|
|
341
345
|
default-size: 2,
|
|
346
|
+
typography: (
|
|
347
|
+
helper-text: (
|
|
348
|
+
value: 'caption',
|
|
349
|
+
),
|
|
350
|
+
input-text: (
|
|
351
|
+
value: 'body-2',
|
|
352
|
+
),
|
|
353
|
+
),
|
|
342
354
|
)
|
|
343
355
|
);
|
|
344
356
|
|
|
@@ -346,6 +358,10 @@ $light-input-group: extend(
|
|
|
346
358
|
/// @type {Map}
|
|
347
359
|
/// @prop {Map} border-color [color: ('gray', 600)] - The border color for input groups of type border and fluent.
|
|
348
360
|
/// @prop {Map} disabled-border-color [color: ('gray', 500)] - The disabled border color for input groups of type border and fluent.
|
|
361
|
+
/// @prop {Map} typography [
|
|
362
|
+
/// helper-text: (value: 'caption'),
|
|
363
|
+
/// input-text: (value: 'subtitle-1')
|
|
364
|
+
/// ] - The typography styles used for the component.
|
|
349
365
|
/// @requires {Map} $light-input-group
|
|
350
366
|
$material-input-group: extend(
|
|
351
367
|
$light-input-group,
|
|
@@ -362,6 +378,14 @@ $material-input-group: extend(
|
|
|
362
378
|
500,
|
|
363
379
|
),
|
|
364
380
|
),
|
|
381
|
+
typography: (
|
|
382
|
+
helper-text: (
|
|
383
|
+
value: 'caption',
|
|
384
|
+
),
|
|
385
|
+
input-text: (
|
|
386
|
+
value: 'subtitle-1',
|
|
387
|
+
),
|
|
388
|
+
),
|
|
365
389
|
)
|
|
366
390
|
);
|
|
367
391
|
|
|
@@ -543,6 +567,10 @@ $fluent-input-group: extend(
|
|
|
543
567
|
/// @prop {Map} input-suffix-background-filled [color: ('gray', 300)] - The background color of an input suffix in the filled state.
|
|
544
568
|
/// @prop {Map} input-suffix-background--focused [color: ('gray', 300)] - The background color of an input suffix in the focused state.
|
|
545
569
|
/// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the input group.
|
|
570
|
+
/// @prop {Map} typography [
|
|
571
|
+
/// helper-text: (value: 'body-2'),
|
|
572
|
+
/// input-text: (value: 'body-1')
|
|
573
|
+
/// ] - The typography styles used for the component.
|
|
546
574
|
/// @requires {Map} $light-input-group
|
|
547
575
|
$bootstrap-input-group: extend(
|
|
548
576
|
$light-input-group,
|
|
@@ -633,6 +661,14 @@ $bootstrap-input-group: extend(
|
|
|
633
661
|
rem(48px),
|
|
634
662
|
),
|
|
635
663
|
),
|
|
664
|
+
typography: (
|
|
665
|
+
helper-text: (
|
|
666
|
+
value: 'body-2',
|
|
667
|
+
),
|
|
668
|
+
input-text: (
|
|
669
|
+
value: 'body-1',
|
|
670
|
+
),
|
|
671
|
+
),
|
|
636
672
|
)
|
|
637
673
|
);
|
|
638
674
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
|
|
1
3
|
////
|
|
2
4
|
/// @package theming
|
|
3
5
|
/// @group schemas
|
|
@@ -18,12 +20,23 @@ $light-label: (
|
|
|
18
20
|
|
|
19
21
|
/// Generates a light material label schema.
|
|
20
22
|
/// @type {Map}
|
|
23
|
+
/// @prop {Map} typography [label: (value: 'subtitle-1')] - The typography styles used for the component.
|
|
21
24
|
/// @requires {Map} $light-label
|
|
22
|
-
$material-label:
|
|
25
|
+
$material-label: extend(
|
|
26
|
+
$light-label,
|
|
27
|
+
(
|
|
28
|
+
typography: (
|
|
29
|
+
label: (
|
|
30
|
+
value: 'subtitle-1',
|
|
31
|
+
),
|
|
32
|
+
),
|
|
33
|
+
)
|
|
34
|
+
);
|
|
23
35
|
|
|
24
36
|
/// Generates a light fluent label schema.
|
|
25
37
|
/// @type {Map}
|
|
26
38
|
/// @prop {Color} color [color: ('gray', 900)] - The label color.
|
|
39
|
+
/// @prop {Map} typography [label: (value: 'subtitle-2')] - The typography styles used for the component.
|
|
27
40
|
$fluent-label: (
|
|
28
41
|
color: (
|
|
29
42
|
color: (
|
|
@@ -31,16 +44,32 @@ $fluent-label: (
|
|
|
31
44
|
900,
|
|
32
45
|
),
|
|
33
46
|
),
|
|
47
|
+
typography: (
|
|
48
|
+
label: (
|
|
49
|
+
value: 'subtitle-2',
|
|
50
|
+
),
|
|
51
|
+
),
|
|
34
52
|
);
|
|
35
53
|
|
|
36
54
|
/// Generates a light bootstrap label schema.
|
|
37
55
|
/// @type {Map}
|
|
56
|
+
/// @prop {Map} typography [label: (value: 'body-1')] - The typography styles used for the component.
|
|
38
57
|
/// @requires {Map} $light-label
|
|
39
|
-
$bootstrap-label:
|
|
58
|
+
$bootstrap-label: extend(
|
|
59
|
+
$light-label,
|
|
60
|
+
(
|
|
61
|
+
typography: (
|
|
62
|
+
label: (
|
|
63
|
+
value: 'body-1',
|
|
64
|
+
),
|
|
65
|
+
),
|
|
66
|
+
)
|
|
67
|
+
);
|
|
40
68
|
|
|
41
69
|
/// Generates a light indigo label schema.
|
|
42
70
|
/// @type {Map}
|
|
43
71
|
/// @prop {Color} color [color: ('gray', 900)] - The label color.
|
|
72
|
+
/// @prop {Map} typography [label: (value: 'caption')] - The typography styles used for the component.
|
|
44
73
|
$indigo-label: (
|
|
45
74
|
color: (
|
|
46
75
|
color: (
|
|
@@ -48,4 +77,9 @@ $indigo-label: (
|
|
|
48
77
|
900,
|
|
49
78
|
),
|
|
50
79
|
),
|
|
80
|
+
typography: (
|
|
81
|
+
label: (
|
|
82
|
+
value: 'caption',
|
|
83
|
+
),
|
|
84
|
+
),
|
|
51
85
|
);
|
|
@@ -167,13 +167,43 @@ $light-list: (
|
|
|
167
167
|
|
|
168
168
|
/// Generates a material list schema.
|
|
169
169
|
/// @type {Map}
|
|
170
|
+
/// @prop {Map} typography [
|
|
171
|
+
/// header: (value: 'overline'),
|
|
172
|
+
/// item: (value: 'subtitle-1'),
|
|
173
|
+
/// title: (value: 'subtitle-1'),
|
|
174
|
+
/// subtitle: (value: 'body-2')
|
|
175
|
+
/// ] - The typography styles used for the component.
|
|
170
176
|
/// @requires {Map} $light-list
|
|
171
|
-
$material-list:
|
|
177
|
+
$material-list: extend(
|
|
178
|
+
$light-list,
|
|
179
|
+
(
|
|
180
|
+
typography: (
|
|
181
|
+
header: (
|
|
182
|
+
value: 'overline',
|
|
183
|
+
),
|
|
184
|
+
item: (
|
|
185
|
+
value: 'subtitle-1',
|
|
186
|
+
),
|
|
187
|
+
title: (
|
|
188
|
+
value: 'subtitle-1',
|
|
189
|
+
),
|
|
190
|
+
subtitle: (
|
|
191
|
+
value: 'body-2',
|
|
192
|
+
),
|
|
193
|
+
),
|
|
194
|
+
)
|
|
195
|
+
);
|
|
172
196
|
|
|
173
197
|
/// Generates a fluent list schema.
|
|
174
198
|
/// @type {Map}
|
|
175
199
|
/// @prop {Map} border-color [color: ('gray', 200)] - The list border color.
|
|
176
200
|
/// @prop {Number} border-width [rem(1px)] - The list border width.
|
|
201
|
+
/// @prop {Map} typography [
|
|
202
|
+
/// header: (value: 'overline'),
|
|
203
|
+
/// item: (value: 'caption'),
|
|
204
|
+
/// title: (value: 'caption'),
|
|
205
|
+
/// subtitle: (value: 'caption')
|
|
206
|
+
/// ] - The typography styles used for the component.
|
|
177
207
|
/// @requires {Map} $light-list
|
|
178
208
|
$fluent-list: extend(
|
|
179
209
|
$light-list,
|
|
@@ -185,6 +215,20 @@ $fluent-list: extend(
|
|
|
185
215
|
),
|
|
186
216
|
),
|
|
187
217
|
border-width: rem(1px),
|
|
218
|
+
typography: (
|
|
219
|
+
header: (
|
|
220
|
+
value: 'overline',
|
|
221
|
+
),
|
|
222
|
+
item: (
|
|
223
|
+
value: 'caption',
|
|
224
|
+
),
|
|
225
|
+
title: (
|
|
226
|
+
value: 'caption',
|
|
227
|
+
),
|
|
228
|
+
subtitle: (
|
|
229
|
+
value: 'caption',
|
|
230
|
+
),
|
|
231
|
+
),
|
|
188
232
|
)
|
|
189
233
|
);
|
|
190
234
|
|
|
@@ -198,6 +242,12 @@ $fluent-list: extend(
|
|
|
198
242
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(24px))] - The border radius used for list component.
|
|
199
243
|
/// @prop {Map} border-color [color: ('gray', 300)] - The list border color.
|
|
200
244
|
/// @prop {Number} border-width [rem(1px)] - The list border width.
|
|
245
|
+
/// @prop {Map} typography [
|
|
246
|
+
/// header: (value: 'overline'),
|
|
247
|
+
/// item: (value: 'body-2'),
|
|
248
|
+
/// title: (value: 'body-1'),
|
|
249
|
+
/// subtitle: (value: 'body-2')
|
|
250
|
+
/// ] - The typography styles used for the component.
|
|
201
251
|
/// @requires {Map} $light-list
|
|
202
252
|
$bootstrap-list: extend(
|
|
203
253
|
$light-list,
|
|
@@ -252,6 +302,21 @@ $bootstrap-list: extend(
|
|
|
252
302
|
rem(24px),
|
|
253
303
|
),
|
|
254
304
|
),
|
|
305
|
+
|
|
306
|
+
typography: (
|
|
307
|
+
header: (
|
|
308
|
+
value: 'overline',
|
|
309
|
+
),
|
|
310
|
+
item: (
|
|
311
|
+
value: 'body-2',
|
|
312
|
+
),
|
|
313
|
+
title: (
|
|
314
|
+
value: 'body-1',
|
|
315
|
+
),
|
|
316
|
+
subtitle: (
|
|
317
|
+
value: 'body-2',
|
|
318
|
+
),
|
|
319
|
+
),
|
|
255
320
|
)
|
|
256
321
|
);
|
|
257
322
|
|
|
@@ -276,6 +341,12 @@ $bootstrap-list: extend(
|
|
|
276
341
|
/// @prop {Map} item-thumbnail-color-hover [color: ('gray', 700)] - The list item thumbnail hover color.
|
|
277
342
|
/// @prop {Map} item-thumbnail-color-active [color: ('gray', 700)] - The list item thumbnail active color.
|
|
278
343
|
/// @prop {Number} item-border-radius [rem(4px)] - The border radius used for list item.
|
|
344
|
+
/// @prop {Map} typography [
|
|
345
|
+
/// header: (value: 'overline'),
|
|
346
|
+
/// item: (value: 'body-2'),
|
|
347
|
+
/// title: (value: 'body-2'),
|
|
348
|
+
/// subtitle: (value: 'body-2')
|
|
349
|
+
/// ] - The typography styles used for the component.
|
|
279
350
|
/// @requires {Map} $light-list
|
|
280
351
|
$indigo-list: extend(
|
|
281
352
|
$light-list,
|
|
@@ -394,5 +465,19 @@ $indigo-list: extend(
|
|
|
394
465
|
),
|
|
395
466
|
|
|
396
467
|
item-border-radius: rem(4px),
|
|
468
|
+
typography: (
|
|
469
|
+
header: (
|
|
470
|
+
value: 'overline',
|
|
471
|
+
),
|
|
472
|
+
item: (
|
|
473
|
+
value: 'body-2',
|
|
474
|
+
),
|
|
475
|
+
title: (
|
|
476
|
+
value: 'body-2',
|
|
477
|
+
),
|
|
478
|
+
subtitle: (
|
|
479
|
+
value: 'body-2',
|
|
480
|
+
),
|
|
481
|
+
),
|
|
397
482
|
)
|
|
398
483
|
);
|