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
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
/// @prop {Map} text-color [contrast-color: ('primary', 400)] - The navbar text color.
|
|
16
16
|
/// @prop {Map} idle-icon-color [color: ('gray', 900)] - The navbar idle icon color.
|
|
17
17
|
/// @prop {Map} hover-icon-color [color: ('gray', 900)] - The navbar hover icon color.
|
|
18
|
+
/// @prop {Map} typography [title: (value: 'h5')] - The typography styles used for the component.
|
|
18
19
|
/// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the navbar.
|
|
19
20
|
/// @requires {Map} $default-elevation-navbar
|
|
20
21
|
$light-navbar: extend(
|
|
@@ -45,13 +46,28 @@ $light-navbar: extend(
|
|
|
45
46
|
),
|
|
46
47
|
),
|
|
47
48
|
border-color: transparent,
|
|
49
|
+
typography: (
|
|
50
|
+
title: (
|
|
51
|
+
value: 'h5',
|
|
52
|
+
),
|
|
53
|
+
),
|
|
48
54
|
)
|
|
49
55
|
);
|
|
50
56
|
|
|
51
57
|
/// Generates a material navbar schema.
|
|
52
58
|
/// @type {Map}
|
|
59
|
+
/// @prop {Map} typography [title: (value: 'h6')] - The typography styles used for the component.
|
|
53
60
|
/// @requires {Map} $light-navbar
|
|
54
|
-
$material-navbar:
|
|
61
|
+
$material-navbar: extend(
|
|
62
|
+
$light-navbar,
|
|
63
|
+
(
|
|
64
|
+
typography: (
|
|
65
|
+
title: (
|
|
66
|
+
value: 'h6',
|
|
67
|
+
),
|
|
68
|
+
),
|
|
69
|
+
)
|
|
70
|
+
);
|
|
55
71
|
|
|
56
72
|
/// Generates a fluent navbar schema.
|
|
57
73
|
/// @type {Map}
|
|
@@ -59,6 +75,7 @@ $material-navbar: $light-navbar;
|
|
|
59
75
|
/// @prop {Map} text-color [color: ('gray', 900)] - The navbar text color.
|
|
60
76
|
/// @prop {Map} idle-icon-color [color: ('primary', 500)] - The navbar idle icon color.
|
|
61
77
|
/// @prop {Map} hover-icon-color [color: ('primary', 500)] - The navbar hover icon color.
|
|
78
|
+
/// @prop {Map} typography [title: (value: 'subtitle-2')] - The typography styles used for the component.
|
|
62
79
|
/// @requires {Map} $light-navbar
|
|
63
80
|
$fluent-navbar: extend(
|
|
64
81
|
$light-navbar,
|
|
@@ -84,6 +101,11 @@ $fluent-navbar: extend(
|
|
|
84
101
|
500,
|
|
85
102
|
),
|
|
86
103
|
),
|
|
104
|
+
typography: (
|
|
105
|
+
title: (
|
|
106
|
+
value: 'subtitle-2',
|
|
107
|
+
),
|
|
108
|
+
),
|
|
87
109
|
)
|
|
88
110
|
);
|
|
89
111
|
|
|
@@ -58,6 +58,10 @@ $light-navdrawer: extend(
|
|
|
58
58
|
/// @prop {Map} item-icon-color [ color: ('gray', 700)] - The item's icon color.
|
|
59
59
|
/// @prop {Map} item-header-text-color [color: ('gray', 700)] - The header's idle text color.
|
|
60
60
|
/// @prop {Map} item-disabled-text-color [color: ('gray', 500)] - The item's disabled text color.
|
|
61
|
+
/// @prop {Map} typography [
|
|
62
|
+
/// item: (value: 'subtitle-2'),
|
|
63
|
+
/// header: (value: 'subtitle-1')
|
|
64
|
+
/// ] - The typography styles used for the component.
|
|
61
65
|
/// @requires {Map} $light-navdrawer
|
|
62
66
|
$material-navdrawer: extend(
|
|
63
67
|
$light-navdrawer,
|
|
@@ -136,6 +140,14 @@ $material-navdrawer: extend(
|
|
|
136
140
|
500,
|
|
137
141
|
),
|
|
138
142
|
),
|
|
143
|
+
typography: (
|
|
144
|
+
item: (
|
|
145
|
+
value: 'subtitle-2',
|
|
146
|
+
),
|
|
147
|
+
header: (
|
|
148
|
+
value: 'subtitle-1',
|
|
149
|
+
),
|
|
150
|
+
),
|
|
139
151
|
)
|
|
140
152
|
);
|
|
141
153
|
|
|
@@ -152,6 +164,10 @@ $material-navdrawer: extend(
|
|
|
152
164
|
/// @prop {Map} border-color [color: ('gray', 200)] - The navigation drawer right border color.
|
|
153
165
|
/// @prop {Map} item-icon-color [ color: ('primary', 500)] - The item's icon color.
|
|
154
166
|
/// @prop {Map} item-header-text-color [color: ('gray', 800)] - The header's idle text color.
|
|
167
|
+
/// @prop {Map} typography [
|
|
168
|
+
/// item: (value: 'body-2'),
|
|
169
|
+
/// header: (value: 'subtitle-1')
|
|
170
|
+
/// ] - The typography styles used for the component.
|
|
155
171
|
/// @requires {Map} $light-navdrawer
|
|
156
172
|
$fluent-navdrawer: extend(
|
|
157
173
|
$light-navdrawer,
|
|
@@ -217,6 +233,14 @@ $fluent-navdrawer: extend(
|
|
|
217
233
|
800,
|
|
218
234
|
),
|
|
219
235
|
),
|
|
236
|
+
typography: (
|
|
237
|
+
item: (
|
|
238
|
+
value: 'body-2',
|
|
239
|
+
),
|
|
240
|
+
header: (
|
|
241
|
+
value: 'subtitle-1',
|
|
242
|
+
),
|
|
243
|
+
),
|
|
220
244
|
)
|
|
221
245
|
);
|
|
222
246
|
|
|
@@ -233,6 +257,10 @@ $fluent-navdrawer: extend(
|
|
|
233
257
|
/// @prop {Map} border-color [color: ('gray', 300)] - The navigation drawer right border color.
|
|
234
258
|
/// @prop {Map} item-icon-color [ color: ('gray', 900)] - The item's icon color.
|
|
235
259
|
/// @prop {Map} item-header-text-color [color: ('gray', 900)] - The header's idle text color.
|
|
260
|
+
/// @prop {Map} typography [
|
|
261
|
+
/// item: (value: 'body-2'),
|
|
262
|
+
/// header: (value: 'caption')
|
|
263
|
+
/// ] - The typography styles used for the component.
|
|
236
264
|
/// @requires {Map} $light-navdrawer
|
|
237
265
|
$bootstrap-navdrawer: extend(
|
|
238
266
|
$light-navdrawer,
|
|
@@ -305,6 +333,14 @@ $bootstrap-navdrawer: extend(
|
|
|
305
333
|
900,
|
|
306
334
|
),
|
|
307
335
|
),
|
|
336
|
+
typography: (
|
|
337
|
+
item: (
|
|
338
|
+
value: 'body-2',
|
|
339
|
+
),
|
|
340
|
+
header: (
|
|
341
|
+
value: 'caption',
|
|
342
|
+
),
|
|
343
|
+
),
|
|
308
344
|
)
|
|
309
345
|
);
|
|
310
346
|
|
|
@@ -324,6 +360,10 @@ $bootstrap-navdrawer: extend(
|
|
|
324
360
|
/// @prop {Map} elevation [0] - The elevation level, between 0-24, to be used for the drawer.
|
|
325
361
|
/// @prop {Map} border-color [color: ('gray', 300)] - The navigation drawer right border color.
|
|
326
362
|
/// @prop {List} item-border-radius [(rem(4px), rem(0), rem(4px))] - The border radius used for the navdrawer items.
|
|
363
|
+
/// @prop {Map} typography [
|
|
364
|
+
/// item: (value: 'subtitle-2'),
|
|
365
|
+
/// header: (value: 'overline')
|
|
366
|
+
/// ] - The typography styles used for the component.
|
|
327
367
|
/// @requires {Map} $light-navdrawer
|
|
328
368
|
$indigo-navdrawer: extend(
|
|
329
369
|
$light-navdrawer,
|
|
@@ -422,5 +462,14 @@ $indigo-navdrawer: extend(
|
|
|
422
462
|
rem(4px),
|
|
423
463
|
),
|
|
424
464
|
),
|
|
465
|
+
|
|
466
|
+
typography: (
|
|
467
|
+
item: (
|
|
468
|
+
value: 'subtitle-2',
|
|
469
|
+
),
|
|
470
|
+
header: (
|
|
471
|
+
value: 'overline',
|
|
472
|
+
),
|
|
473
|
+
),
|
|
425
474
|
)
|
|
426
475
|
);
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
/// @prop {Map} stripes-color [color: ('gray', 50, .7)] - The track stripes color.
|
|
19
19
|
/// @prop {Map} text-color [color: ('gray', 700)] - The track value text color.
|
|
20
20
|
/// @prop {List} track-border-radius [(rem(0), rem(0), rem(8px))] - The border radius used for the progress bar track.
|
|
21
|
+
/// @prop {Map} typography [label: (value: 'subtitle-2')] - The typography styles used for the component.
|
|
21
22
|
$light-progress-linear: extend(
|
|
22
23
|
(
|
|
23
24
|
track-color: (
|
|
@@ -80,6 +81,12 @@ $light-progress-linear: extend(
|
|
|
80
81
|
rem(8px),
|
|
81
82
|
),
|
|
82
83
|
),
|
|
84
|
+
|
|
85
|
+
typography: (
|
|
86
|
+
label: (
|
|
87
|
+
value: 'subtitle-2',
|
|
88
|
+
),
|
|
89
|
+
),
|
|
83
90
|
)
|
|
84
91
|
);
|
|
85
92
|
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
/// @prop {Map} error-color [color: ('error', 500)] - The label, border and dot color in invalid state.
|
|
21
21
|
/// @prop {Color} focus-outline-color-filled [transparent] - The focus outline color when radio is filled.
|
|
22
22
|
/// @prop {Color} focus-outline-color-error [transparent] - The focus outline color when radio is filled and invalid.
|
|
23
|
+
/// @prop {Map} typography [label: (value: 'body-2')] - The typography styles used for the component.
|
|
23
24
|
$light-radio: (
|
|
24
25
|
empty-fill-color: transparent,
|
|
25
26
|
hover-color: transparent,
|
|
@@ -67,6 +68,11 @@ $light-radio: (
|
|
|
67
68
|
),
|
|
68
69
|
focus-outline-color-filled: transparent,
|
|
69
70
|
focus-outline-color-error: transparent,
|
|
71
|
+
typography: (
|
|
72
|
+
label: (
|
|
73
|
+
value: 'body-2',
|
|
74
|
+
),
|
|
75
|
+
),
|
|
70
76
|
);
|
|
71
77
|
|
|
72
78
|
/// Generates a material radio schema.
|
|
@@ -77,6 +83,7 @@ $light-radio: (
|
|
|
77
83
|
/// @prop {Map} fill-color [color: ('secondary', 500)] - The checked border and dot colors.
|
|
78
84
|
/// @prop {Map} fill-color-hover [color: ('secondary', 500)] - The checked border and dot colors on hover.
|
|
79
85
|
/// @prop {Map} error-color-hover [color: ('error', 500)] - The border and dot color in invalid state on hover.
|
|
86
|
+
/// @prop {Map} typography [label: (value: 'subtitle-1')] - The typography styles used for the component.
|
|
80
87
|
/// @requires {Map} $light-radio
|
|
81
88
|
$material-radio: extend(
|
|
82
89
|
$light-radio,
|
|
@@ -117,6 +124,12 @@ $material-radio: extend(
|
|
|
117
124
|
500,
|
|
118
125
|
),
|
|
119
126
|
),
|
|
127
|
+
|
|
128
|
+
typography: (
|
|
129
|
+
label: (
|
|
130
|
+
value: 'subtitle-1',
|
|
131
|
+
),
|
|
132
|
+
),
|
|
120
133
|
)
|
|
121
134
|
);
|
|
122
135
|
|
|
@@ -183,6 +196,7 @@ $fluent-radio: extend(
|
|
|
183
196
|
/// @prop {Map} focus-outline-color [color: ('primary', 200, 0.5)] - The focus outline color.
|
|
184
197
|
/// @prop {Map} focus-outline-color-error [color: ('error', 200, 0.5)] - The focus outline color when radio is invalid.
|
|
185
198
|
/// @prop {Map} error-color-hover [color: ('error', 600)] - The focus outlined color in invalid state.
|
|
199
|
+
/// @prop {Map} typography [label: (value: 'body-1')] - The typography styles used for the component.
|
|
186
200
|
/// @requires {Map} $light-radio
|
|
187
201
|
$bootstrap-radio: extend(
|
|
188
202
|
$light-radio,
|
|
@@ -249,6 +263,11 @@ $bootstrap-radio: extend(
|
|
|
249
263
|
600,
|
|
250
264
|
),
|
|
251
265
|
),
|
|
266
|
+
typography: (
|
|
267
|
+
label: (
|
|
268
|
+
value: 'body-1',
|
|
269
|
+
),
|
|
270
|
+
),
|
|
252
271
|
)
|
|
253
272
|
);
|
|
254
273
|
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
/// @prop {Map} label-text-color [contrast-color: ('gray', 700)] - The text color of the bubble label.
|
|
20
20
|
/// @prop {Map} tick-label-color [color: ('gray', 500)] - The color of the tick label.
|
|
21
21
|
/// @prop {Map} tick-color [color: ('gray', 500)] - The background-color of the tick.
|
|
22
|
+
/// @prop {Map} typography [
|
|
23
|
+
/// ticks-label: (value: 'caption'),
|
|
24
|
+
/// thumb-label: (value: 'caption')
|
|
25
|
+
/// ] - The typography styles used for the component.
|
|
22
26
|
$light-slider: (
|
|
23
27
|
track-color: (
|
|
24
28
|
color: (
|
|
@@ -58,6 +62,14 @@ $light-slider: (
|
|
|
58
62
|
500,
|
|
59
63
|
),
|
|
60
64
|
),
|
|
65
|
+
typography: (
|
|
66
|
+
ticks-label: (
|
|
67
|
+
value: 'caption',
|
|
68
|
+
),
|
|
69
|
+
thumb-label: (
|
|
70
|
+
value: 'caption',
|
|
71
|
+
),
|
|
72
|
+
),
|
|
61
73
|
);
|
|
62
74
|
|
|
63
75
|
/// Generates a material slider schema.
|
|
@@ -338,6 +350,10 @@ $bootstrap-slider: extend(
|
|
|
338
350
|
/// @prop {Map} thumb-disabled-border-color [color: ('primary', 50)] - The thumb border color when it's disabled.
|
|
339
351
|
/// @prop {Map} disabled-base-track-color [color: ('gray', 900, 0.15)] - The base background color of the track when is disabled.
|
|
340
352
|
/// @prop {Map} disabled-fill-track-color [color: ('primary', 50)] - The background color of the fill track when is disabled.
|
|
353
|
+
/// @prop {Map} typography [
|
|
354
|
+
/// ticks-label: (value: 'body-2'),
|
|
355
|
+
/// thumb-label: (value: 'subtitle-2')
|
|
356
|
+
/// ] - The typography styles used for the component.
|
|
341
357
|
/// @requires {Map} $light-slider
|
|
342
358
|
$indigo-slider: extend(
|
|
343
359
|
$light-slider,
|
|
@@ -454,5 +470,13 @@ $indigo-slider: extend(
|
|
|
454
470
|
50,
|
|
455
471
|
),
|
|
456
472
|
),
|
|
473
|
+
typography: (
|
|
474
|
+
ticks-label: (
|
|
475
|
+
value: 'body-2',
|
|
476
|
+
),
|
|
477
|
+
thumb-label: (
|
|
478
|
+
value: 'subtitle-2',
|
|
479
|
+
),
|
|
480
|
+
),
|
|
457
481
|
)
|
|
458
482
|
);
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
/// @prop {Map} button-color [color: ('secondary', 500)] - The button color used in the snackbar.
|
|
16
16
|
/// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used in the snackbar.
|
|
17
17
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(24px))] - The border radius used for snackbar.
|
|
18
|
+
/// @prop {Map} typography [text: (value: 'body-2')] - The typography styles used for the component.
|
|
18
19
|
/// @requires {Map} $default-elevation-snackbar
|
|
19
20
|
$light-snackbar: extend(
|
|
20
21
|
$default-elevation-snackbar,
|
|
@@ -48,6 +49,12 @@ $light-snackbar: extend(
|
|
|
48
49
|
rem(24px),
|
|
49
50
|
),
|
|
50
51
|
),
|
|
52
|
+
|
|
53
|
+
typography: (
|
|
54
|
+
text: (
|
|
55
|
+
value: 'body-2',
|
|
56
|
+
),
|
|
57
|
+
),
|
|
51
58
|
)
|
|
52
59
|
);
|
|
53
60
|
|
|
@@ -59,6 +66,7 @@ $material-snackbar: $light-snackbar;
|
|
|
59
66
|
/// Generates a fluent snackbar schema.
|
|
60
67
|
/// @type {Map}
|
|
61
68
|
/// @prop {List} border-radius [(rem(2px), rem(0), rem(24px))] - The border radius used for snackbar.
|
|
69
|
+
/// @prop {Map} typography [text: (value: 'caption')] - The typography styles used for the component.
|
|
62
70
|
/// @requires $light-snackbar
|
|
63
71
|
$fluent-snackbar: extend(
|
|
64
72
|
$light-snackbar,
|
|
@@ -70,6 +78,11 @@ $fluent-snackbar: extend(
|
|
|
70
78
|
rem(24px),
|
|
71
79
|
),
|
|
72
80
|
),
|
|
81
|
+
typography: (
|
|
82
|
+
text: (
|
|
83
|
+
value: 'caption',
|
|
84
|
+
),
|
|
85
|
+
),
|
|
73
86
|
)
|
|
74
87
|
);
|
|
75
88
|
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
/// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
|
|
28
28
|
/// @prop {List} border-radius-thumb [(rem(10px), rem(0), rem(10px))] - The border radius used for switch thumb.
|
|
29
29
|
/// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for switch ripple.
|
|
30
|
+
/// @prop {Map} typography [label: (value: 'body-2')] - The typography styles used for the component.
|
|
30
31
|
$light-switch: extend(
|
|
31
32
|
(
|
|
32
33
|
border-on-color: (
|
|
@@ -111,6 +112,11 @@ $light-switch: extend(
|
|
|
111
112
|
rem(24px),
|
|
112
113
|
),
|
|
113
114
|
),
|
|
115
|
+
typography: (
|
|
116
|
+
label: (
|
|
117
|
+
value: 'body-2',
|
|
118
|
+
),
|
|
119
|
+
),
|
|
114
120
|
)
|
|
115
121
|
);
|
|
116
122
|
|
|
@@ -138,6 +144,7 @@ $light-switch: extend(
|
|
|
138
144
|
/// @prop {Number} resting-elevation [1] - The elevation level, between 0-24, to be used for the resting state.
|
|
139
145
|
/// @prop {Number} hover-elevation [1] - The elevation level, between 0-24, to be used for the hover state.
|
|
140
146
|
/// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
|
|
147
|
+
/// @prop {Map} typography [label: (value: 'subtitle-1')] - The typography styles used for the component.
|
|
141
148
|
/// @requires {Map} $light-switch
|
|
142
149
|
/// @requires {Map} $default-elevation-switch
|
|
143
150
|
$material-switch: extend(
|
|
@@ -219,6 +226,11 @@ $material-switch: extend(
|
|
|
219
226
|
rem(7px),
|
|
220
227
|
),
|
|
221
228
|
),
|
|
229
|
+
typography: (
|
|
230
|
+
label: (
|
|
231
|
+
value: 'subtitle-1',
|
|
232
|
+
),
|
|
233
|
+
),
|
|
222
234
|
)
|
|
223
235
|
);
|
|
224
236
|
|
|
@@ -368,8 +380,10 @@ $fluent-switch: extend(
|
|
|
368
380
|
/// @prop {Map} thumb-on-disabled-color [contrast-color: ('primary', 800)] - The color of the thumb when the switch is on and disabled.
|
|
369
381
|
/// @prop {Map} error-color [color: ('gray', 400)] - The border and thumb color in invalid state.
|
|
370
382
|
/// @prop {Map} error-color-hover [color: ('primary', 200)] - The border and thumb color in invalid state on hover.
|
|
383
|
+
/// @prop {Map} thumb-on-error-color [contrast-color: ('primary', 800)] - The color of the thumb when the switch is on and invalid.
|
|
371
384
|
/// @prop {List} border-radius-track [(rem(32px), rem(0), rem(32px))] - The border radius used for switch track.
|
|
372
385
|
/// @prop {List} border-radius-thumb [(rem(32px), rem(0), rem(32px))] - The border radius used for switch thumb.
|
|
386
|
+
/// @prop {Map} typography [label: (value: 'body-2')] - The typography styles used for the component.
|
|
373
387
|
/// @requires {Map} $fluent-switch
|
|
374
388
|
$bootstrap-switch: extend(
|
|
375
389
|
$fluent-switch,
|
|
@@ -465,6 +479,12 @@ $bootstrap-switch: extend(
|
|
|
465
479
|
200,
|
|
466
480
|
),
|
|
467
481
|
),
|
|
482
|
+
thumb-on-error-color: (
|
|
483
|
+
contrast-color: (
|
|
484
|
+
'primary',
|
|
485
|
+
800,
|
|
486
|
+
),
|
|
487
|
+
),
|
|
468
488
|
border-radius-track: (
|
|
469
489
|
border-radius: (
|
|
470
490
|
rem(32px),
|
|
@@ -479,6 +499,11 @@ $bootstrap-switch: extend(
|
|
|
479
499
|
rem(32px),
|
|
480
500
|
),
|
|
481
501
|
),
|
|
502
|
+
typography: (
|
|
503
|
+
label: (
|
|
504
|
+
value: 'body-2',
|
|
505
|
+
),
|
|
506
|
+
),
|
|
482
507
|
)
|
|
483
508
|
);
|
|
484
509
|
|
|
@@ -498,8 +523,9 @@ $bootstrap-switch: extend(
|
|
|
498
523
|
/// @prop {Map} border-disabled-color [color: ('gray', 900, .15)] - The border color of the disabled switch.
|
|
499
524
|
/// @prop {Map} border-on-hover-color [color: ('primary', 400)] - The hover border color when the switch is on.
|
|
500
525
|
/// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
|
|
501
|
-
/// @prop {Map} error-color-hover [color: ('gray',
|
|
526
|
+
/// @prop {Map} error-color-hover [color: ('gray', 900, .15)] - The border and thumb color in invalid state on hover.
|
|
502
527
|
/// @prop {Color} track-error-color [transparent] - The color of the track in invalid state when the switch is off.
|
|
528
|
+
/// @prop {Map} thumb-on-error-color [contrast-color: ('gray', 900)] - The color of the thumb when the switch is on and invalid.
|
|
503
529
|
/// @prop {List} border-radius-track [(rem(8px), rem(0), rem(8px))] - The border radius used for switch track.
|
|
504
530
|
/// @prop {Map} focus-outline-color [color: ('gray', 900, .15)] - The focus outlined color.
|
|
505
531
|
/// @prop {Map} focus-outline-color-focused [color: ('primary', 400, .5)] - The focus outlined color for focused state.
|
|
@@ -618,10 +644,17 @@ $indigo-switch: extend(
|
|
|
618
644
|
error-color-hover: (
|
|
619
645
|
color: (
|
|
620
646
|
'gray',
|
|
621
|
-
|
|
647
|
+
900,
|
|
648
|
+
0.15,
|
|
622
649
|
),
|
|
623
650
|
),
|
|
624
651
|
track-error-color: transparent,
|
|
652
|
+
thumb-on-error-color: (
|
|
653
|
+
contrast-color: (
|
|
654
|
+
'gray',
|
|
655
|
+
900,
|
|
656
|
+
),
|
|
657
|
+
),
|
|
625
658
|
thumb-disabled-color: (
|
|
626
659
|
color: (
|
|
627
660
|
'gray',
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
/// @prop {Map} tab-ripple-color [color: ('gray', 100)] - The color used for the button background.
|
|
34
34
|
/// @prop {Map} button-ripple-color [color: ('gray', 100)] - The color used for the button background on hover.
|
|
35
35
|
/// @prop {List} border-radius [(rem(0), rem(0), rem(6px))] - The border radius used for tabs.
|
|
36
|
+
/// @prop {Map} typography [label: (value: 'button')] - The typography styles used for the component.
|
|
36
37
|
$light-tabs: (
|
|
37
38
|
item-text-color: (
|
|
38
39
|
color: (
|
|
@@ -155,6 +156,11 @@ $light-tabs: (
|
|
|
155
156
|
rem(6px),
|
|
156
157
|
),
|
|
157
158
|
),
|
|
159
|
+
typography: (
|
|
160
|
+
label: (
|
|
161
|
+
value: 'button',
|
|
162
|
+
),
|
|
163
|
+
),
|
|
158
164
|
);
|
|
159
165
|
|
|
160
166
|
/// Generates a material tabs schema.
|
|
@@ -183,6 +189,7 @@ $material-tabs: extend(
|
|
|
183
189
|
/// @prop {Map} item-active-icon-color [color: ('gray', 800)] - The color used for the active tab icon.
|
|
184
190
|
/// @prop {Map} item-hover-icon-color [color: ('gray', 900)] - The color used for the tab icon on hover.
|
|
185
191
|
/// @prop {Map} item-icon-color [color: ('gray', 800)] - The color used for the tab icon.
|
|
192
|
+
/// @prop {Map} typography [label: (value: 'body-2')] - The typography styles used for the component.
|
|
186
193
|
/// @requires {Map} $light-tabs
|
|
187
194
|
$fluent-tabs: extend(
|
|
188
195
|
$light-tabs,
|
|
@@ -235,6 +242,11 @@ $fluent-tabs: extend(
|
|
|
235
242
|
800,
|
|
236
243
|
),
|
|
237
244
|
),
|
|
245
|
+
typography: (
|
|
246
|
+
label: (
|
|
247
|
+
value: 'body-2',
|
|
248
|
+
),
|
|
249
|
+
),
|
|
238
250
|
)
|
|
239
251
|
);
|
|
240
252
|
|
|
@@ -379,6 +391,7 @@ $bootstrap-tabs: extend(
|
|
|
379
391
|
/// @prop {Map} button-color [color: ('gray', 600)] - The color used for the button icon/text color.
|
|
380
392
|
/// @prop {Map} button-hover-color [color: ('gray', 700)] - The color used for the button icon/text color on hover.
|
|
381
393
|
/// @prop {Map} button-disabled-color [color: ('gray', 900, .2)] - The color used for the disabled button icon/text.
|
|
394
|
+
/// @prop {Map} typography [label: (value: 'subtitle-2')] - The typography styles used for the component.
|
|
382
395
|
/// @requires {Map} $light-tabs
|
|
383
396
|
$indigo-tabs: extend(
|
|
384
397
|
$light-tabs,
|
|
@@ -475,5 +488,10 @@ $indigo-tabs: extend(
|
|
|
475
488
|
0.2,
|
|
476
489
|
),
|
|
477
490
|
),
|
|
491
|
+
typography: (
|
|
492
|
+
label: (
|
|
493
|
+
value: 'subtitle-2',
|
|
494
|
+
),
|
|
495
|
+
),
|
|
478
496
|
)
|
|
479
497
|
);
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
|
|
25
25
|
/// @prop {List} time-item-size [(rem(28px), rem(32px), rem(36px))] - The height of the time item.
|
|
26
26
|
/// @prop {Number} default-size [2] - the default size.
|
|
27
|
+
/// @prop {Map} typography [
|
|
28
|
+
/// header-hour: (value: 'h4'),
|
|
29
|
+
/// selected-time: (value: 'h5')
|
|
30
|
+
/// ] - The typography styles used for the component.
|
|
27
31
|
/// @requires {Map} $default-elevation-time-picker
|
|
28
32
|
$light-time-picker: extend(
|
|
29
33
|
$default-elevation-time-picker,
|
|
@@ -102,6 +106,15 @@ $light-time-picker: extend(
|
|
|
102
106
|
),
|
|
103
107
|
|
|
104
108
|
default-size: 2,
|
|
109
|
+
|
|
110
|
+
typography: (
|
|
111
|
+
header-hour: (
|
|
112
|
+
value: 'h4',
|
|
113
|
+
),
|
|
114
|
+
selected-time: (
|
|
115
|
+
value: 'h5',
|
|
116
|
+
),
|
|
117
|
+
),
|
|
105
118
|
)
|
|
106
119
|
);
|
|
107
120
|
|
|
@@ -231,6 +244,10 @@ $fluent-time-picker: extend(
|
|
|
231
244
|
/// @prop {Map} divider-color [color: ('gray', 300)] - The divider color of the time picker.
|
|
232
245
|
/// @prop {Map} active-item-background [color: ('primary', 600)] - The background color for current item in focused column inside the time picker.
|
|
233
246
|
/// @prop {List} active-item-border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
247
|
+
/// @prop {Map} typography [
|
|
248
|
+
/// header-hour: (value: 'h4'),
|
|
249
|
+
/// selected-time: (value: 'h4')
|
|
250
|
+
/// ] - The typography styles used for the component.
|
|
234
251
|
/// @requires $light-time-picker
|
|
235
252
|
$bootstrap-time-picker: extend(
|
|
236
253
|
$light-time-picker,
|
|
@@ -291,6 +308,15 @@ $bootstrap-time-picker: extend(
|
|
|
291
308
|
rem(20px),
|
|
292
309
|
),
|
|
293
310
|
),
|
|
311
|
+
|
|
312
|
+
typography: (
|
|
313
|
+
header-hour: (
|
|
314
|
+
value: 'h4',
|
|
315
|
+
),
|
|
316
|
+
selected-time: (
|
|
317
|
+
value: 'h4',
|
|
318
|
+
),
|
|
319
|
+
),
|
|
294
320
|
)
|
|
295
321
|
);
|
|
296
322
|
|
|
@@ -305,6 +331,10 @@ $bootstrap-time-picker: extend(
|
|
|
305
331
|
/// @prop {List} active-item-border-radius [(rem(32px), rem(0), rem(32px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
306
332
|
/// @prop {Map} border-color [color: ('gray', 400)] - The border-color of the time picker.
|
|
307
333
|
/// @prop {Map} divider-color [color: ('gray', 400)] - The divider color of the time picker.
|
|
334
|
+
/// @prop {Map} typography [
|
|
335
|
+
/// header-hour: (value: 'h5'),
|
|
336
|
+
/// selected-time: (value: 'h6')
|
|
337
|
+
/// ] - The typography styles used for the component.
|
|
308
338
|
/// @requires $light-time-picker
|
|
309
339
|
$indigo-time-picker: extend(
|
|
310
340
|
$light-time-picker,
|
|
@@ -374,5 +404,14 @@ $indigo-time-picker: extend(
|
|
|
374
404
|
400,
|
|
375
405
|
),
|
|
376
406
|
),
|
|
407
|
+
|
|
408
|
+
typography: (
|
|
409
|
+
header-hour: (
|
|
410
|
+
value: 'h5',
|
|
411
|
+
),
|
|
412
|
+
selected-time: (
|
|
413
|
+
value: 'h6',
|
|
414
|
+
),
|
|
415
|
+
),
|
|
377
416
|
)
|
|
378
417
|
);
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text-color used for the toast.
|
|
16
16
|
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the toast.
|
|
17
17
|
/// @prop {List} border-radius [(rem(26px), rem(0), rem(26px))] - The border radius used for toast.
|
|
18
|
+
/// @prop {Map} typography [text: (value: 'body-2')] - The typography styles used for the component.
|
|
18
19
|
/// @requires {Map} $default-elevation-toast
|
|
19
20
|
$light-toast: extend(
|
|
20
21
|
$default-elevation-toast,
|
|
@@ -48,6 +49,12 @@ $light-toast: extend(
|
|
|
48
49
|
rem(26px),
|
|
49
50
|
),
|
|
50
51
|
),
|
|
52
|
+
|
|
53
|
+
typography: (
|
|
54
|
+
text: (
|
|
55
|
+
value: 'body-2',
|
|
56
|
+
),
|
|
57
|
+
),
|
|
51
58
|
)
|
|
52
59
|
);
|
|
53
60
|
|
|
@@ -59,6 +66,7 @@ $material-toast: $light-toast;
|
|
|
59
66
|
/// Generates a fluent toast schema.
|
|
60
67
|
/// @type {Map}
|
|
61
68
|
/// @prop {List} border-radius [(rem(2px), rem(0), rem(26px))] - The border radius used for toast.
|
|
69
|
+
/// @prop {Map} typography [text: (value: 'caption')] - The typography styles used for the component.
|
|
62
70
|
/// @requires $light-toast
|
|
63
71
|
$fluent-toast: extend(
|
|
64
72
|
$light-toast,
|
|
@@ -70,6 +78,12 @@ $fluent-toast: extend(
|
|
|
70
78
|
rem(26px),
|
|
71
79
|
),
|
|
72
80
|
),
|
|
81
|
+
|
|
82
|
+
typography: (
|
|
83
|
+
text: (
|
|
84
|
+
value: 'caption',
|
|
85
|
+
),
|
|
86
|
+
),
|
|
73
87
|
)
|
|
74
88
|
);
|
|
75
89
|
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
/// @prop {Map} background [color: ('gray', 700, .9)] - The background color of the tooltip.
|
|
14
14
|
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text color of the tooltip.
|
|
15
15
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for tooltip.
|
|
16
|
+
/// @prop {Map} typography [tooltip-text: (value: null)] - The typography styles used for the tooltip.
|
|
16
17
|
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the tooltip.
|
|
17
18
|
/// @requires {Map} $default-elevation-tooltip
|
|
18
19
|
$light-tooltip: extend(
|
|
@@ -40,6 +41,12 @@ $light-tooltip: extend(
|
|
|
40
41
|
rem(16px),
|
|
41
42
|
),
|
|
42
43
|
),
|
|
44
|
+
|
|
45
|
+
typography: (
|
|
46
|
+
tooltip-text: (
|
|
47
|
+
value: null,
|
|
48
|
+
),
|
|
49
|
+
),
|
|
43
50
|
)
|
|
44
51
|
);
|
|
45
52
|
|
|
@@ -110,6 +117,7 @@ $bootstrap-tooltip: extend(
|
|
|
110
117
|
/// @type {Map}
|
|
111
118
|
/// @prop {Map} background [color: ('gray', 600, .9)] - The background color of the tooltip.
|
|
112
119
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for tooltip.
|
|
120
|
+
/// @prop {Map} typography [tooltip-text: (value: 'subtitle-2')] - The typography styles used for the tooltip.
|
|
113
121
|
/// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the tooltip.
|
|
114
122
|
/// @requires {Map} $light-tooltip
|
|
115
123
|
/// @requires {Map} $indigo-elevation-tooltip
|
|
@@ -132,5 +140,11 @@ $indigo-tooltip: extend(
|
|
|
132
140
|
rem(16px),
|
|
133
141
|
),
|
|
134
142
|
),
|
|
143
|
+
|
|
144
|
+
typography: (
|
|
145
|
+
tooltip-text: (
|
|
146
|
+
value: 'subtitle-2',
|
|
147
|
+
),
|
|
148
|
+
),
|
|
135
149
|
)
|
|
136
150
|
);
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
/// @prop {Map} hover-selected-color [color: ('gray', 900, .1)] - The background color used for the selected tree node on hover.
|
|
25
25
|
/// @prop {List} size [(rem(32px), rem(40px), rem(50px))] - The size used for the tree node.
|
|
26
26
|
/// @prop {Number} default-size [2] - The default size used for the tree component.
|
|
27
|
+
/// @prop {Map} typography [label: (value: 'body-2')] - The typography styles used for the component.
|
|
27
28
|
$light-tree: (
|
|
28
29
|
background: (
|
|
29
30
|
color: (
|
|
@@ -95,6 +96,11 @@ $light-tree: (
|
|
|
95
96
|
),
|
|
96
97
|
),
|
|
97
98
|
default-size: 2,
|
|
99
|
+
typography: (
|
|
100
|
+
label: (
|
|
101
|
+
value: 'body-2',
|
|
102
|
+
),
|
|
103
|
+
),
|
|
98
104
|
);
|
|
99
105
|
|
|
100
106
|
/// Generates a light material tree schema.
|