igniteui-theming 14.4.0-beta.2 → 14.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/_query-builder.scss +77 -6
- package/sass/themes/schemas/components/dark/_switch.scss +16 -1
- package/sass/themes/schemas/components/elevation/_query-builder.scss +11 -0
- 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/_query-builder.scss +71 -101
- 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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-theming",
|
|
3
|
-
"version": "14.4.0
|
|
3
|
+
"version": "14.4.0",
|
|
4
4
|
"description": "A set of Sass variables, mixins, and functions for generating palettes, typography, and elevations used by Ignite UI components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
package/sass/themes/_mixins.scss
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
/// A list of ignored keywords to be excluded when generating CSS variables for a theme.
|
|
14
14
|
/// @access private
|
|
15
|
-
$ignored-keys: ('name', 'palette', 'variant', 'selector', 'type', '_meta');
|
|
15
|
+
$ignored-keys: ('name', 'palette', 'variant', 'selector', 'type', 'theme', 'typography', '_meta');
|
|
16
16
|
|
|
17
17
|
/// Parses a map of key value pairs from component themes to css variables.
|
|
18
18
|
/// @access private
|
|
@@ -28,6 +28,7 @@ $ignored-keys: ('name', 'palette', 'variant', 'selector', 'type', '_meta');
|
|
|
28
28
|
@mixin css-vars-from-theme($theme, $name, $ignored: $ignored-keys) {
|
|
29
29
|
$themes: map.get($theme, 'themes');
|
|
30
30
|
$prefix: map.get($theme, 'prefix');
|
|
31
|
+
$t: map.get($theme, 'theme');
|
|
31
32
|
|
|
32
33
|
// This is here only because the button theme consists of 4 nested themes.
|
|
33
34
|
@if $themes and meta.type-of($themes) == 'map' {
|
|
@@ -43,6 +44,10 @@ $ignored-keys: ('name', 'palette', 'variant', 'selector', 'type', '_meta');
|
|
|
43
44
|
--#{$variable}: var(--#{$name}-#{$key}, #{$value});
|
|
44
45
|
}
|
|
45
46
|
}
|
|
47
|
+
|
|
48
|
+
@if $t and meta.type-of($t) == 'string' {
|
|
49
|
+
--ig-theme: #{$t};
|
|
50
|
+
}
|
|
46
51
|
}
|
|
47
52
|
|
|
48
53
|
/// Add theme colors as CSS variables to a given scope.
|
|
@@ -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 @@ $dark-material-schema: (
|
|
|
113
112
|
stepper: $dark-material-stepper,
|
|
114
113
|
switch: $dark-material-switch,
|
|
115
114
|
tabs: $dark-material-tabs,
|
|
116
|
-
tile-manager: $dark-material-tile-manager,
|
|
117
115
|
time-picker: $dark-material-time-picker,
|
|
118
116
|
toast: $dark-material-toast,
|
|
119
117
|
tooltip: $dark-material-tooltip,
|
|
@@ -179,7 +177,6 @@ $dark-fluent-schema: (
|
|
|
179
177
|
stepper: $dark-fluent-stepper,
|
|
180
178
|
switch: $dark-fluent-switch,
|
|
181
179
|
tabs: $dark-fluent-tabs,
|
|
182
|
-
tile-manager: $dark-fluent-tile-manager,
|
|
183
180
|
time-picker: $dark-fluent-time-picker,
|
|
184
181
|
toast: $dark-fluent-toast,
|
|
185
182
|
tooltip: $dark-fluent-tooltip,
|
|
@@ -245,7 +242,6 @@ $dark-bootstrap-schema: (
|
|
|
245
242
|
stepper: $dark-bootstrap-stepper,
|
|
246
243
|
switch: $dark-bootstrap-switch,
|
|
247
244
|
tabs: $dark-bootstrap-tabs,
|
|
248
|
-
tile-manager: $dark-bootstrap-tile-manager,
|
|
249
245
|
time-picker: $dark-bootstrap-time-picker,
|
|
250
246
|
toast: $dark-bootstrap-toast,
|
|
251
247
|
tooltip: $dark-bootstrap-tooltip,
|
|
@@ -311,7 +307,6 @@ $dark-indigo-schema: (
|
|
|
311
307
|
stepper: $dark-indigo-stepper,
|
|
312
308
|
switch: $dark-indigo-switch,
|
|
313
309
|
tabs: $dark-indigo-tabs,
|
|
314
|
-
tile-manager: $dark-indigo-tile-manager,
|
|
315
310
|
time-picker: $dark-indigo-time-picker,
|
|
316
311
|
toast: $dark-indigo-toast,
|
|
317
312
|
tooltip: $dark-indigo-tooltip,
|
|
@@ -7,27 +7,83 @@
|
|
|
7
7
|
/// @access public
|
|
8
8
|
////
|
|
9
9
|
|
|
10
|
+
/// Generates a base dark query builder schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Map} subquery-header-background [color: ('gray', 50)] - The background color of the subquery header.
|
|
13
|
+
/// @prop {Map} subquery-border-color [color: ('gray', 200)] - The border color of the query block.
|
|
14
|
+
/// @prop {Map} separator-color [color: ('gray', 300)] - The separator color of the query block.
|
|
15
|
+
/// @prop {Color} color-expression-group-and [#da64ff] - The color of advanced filtering "AND" condition group.
|
|
16
|
+
/// @prop {Color} color-expression-group-or [#19ad87] - The color of advanced filtering "OR" condition group.
|
|
17
|
+
$dark-query-builder: (
|
|
18
|
+
subquery-header-background: (
|
|
19
|
+
color: (
|
|
20
|
+
'gray',
|
|
21
|
+
50,
|
|
22
|
+
),
|
|
23
|
+
),
|
|
24
|
+
|
|
25
|
+
subquery-border-color: (
|
|
26
|
+
color: (
|
|
27
|
+
'gray',
|
|
28
|
+
200,
|
|
29
|
+
),
|
|
30
|
+
),
|
|
31
|
+
|
|
32
|
+
separator-color: (
|
|
33
|
+
color: (
|
|
34
|
+
'gray',
|
|
35
|
+
300,
|
|
36
|
+
),
|
|
37
|
+
),
|
|
38
|
+
|
|
39
|
+
color-expression-group-and: #da64ff,
|
|
40
|
+
|
|
41
|
+
color-expression-group-or: #19ad87,
|
|
42
|
+
);
|
|
43
|
+
|
|
10
44
|
/// Generates a dark material query builder schema.
|
|
11
45
|
/// @type {Map}
|
|
12
46
|
/// @see $material-query-builder
|
|
13
47
|
/// @requires $material-query-builder
|
|
14
|
-
$dark-
|
|
48
|
+
/// @requires $dark-query-builder
|
|
49
|
+
$dark-material-query-builder: extend($material-query-builder, $dark-query-builder);
|
|
15
50
|
|
|
16
51
|
/// Generates a dark fluent query builder schema.
|
|
17
52
|
/// @see $fluent-query-builder
|
|
18
53
|
/// @requires $fluent-query-builder
|
|
19
|
-
$dark-
|
|
54
|
+
/// @requires $dark-query-builder
|
|
55
|
+
$dark-fluent-query-builder: extend($fluent-query-builder, $dark-query-builder);
|
|
20
56
|
|
|
21
57
|
/// Generates a dark bootstrap query builder schema.
|
|
22
|
-
|
|
58
|
+
/// @prop {Map} header-border [color: ('gray', 300)] - The border color of the query builder header.
|
|
59
|
+
/// @see $bootstrap-query-builder
|
|
60
|
+
/// @requires $bootstrap-query-builder
|
|
61
|
+
/// @requires $dark-query-builder
|
|
62
|
+
$dark-bootstrap-query-builder: extend(
|
|
63
|
+
$bootstrap-query-builder,
|
|
64
|
+
$dark-query-builder,
|
|
65
|
+
(
|
|
66
|
+
header-border: (
|
|
67
|
+
color: (
|
|
68
|
+
'gray',
|
|
69
|
+
300,
|
|
70
|
+
),
|
|
71
|
+
),
|
|
72
|
+
)
|
|
73
|
+
);
|
|
23
74
|
|
|
24
75
|
/// Generates a dark indigo query builder schema.
|
|
25
76
|
/// @type {Map}
|
|
26
|
-
/// @prop {Map} background [color: ('gray', 50)] - The background color of the
|
|
27
|
-
/// @prop {Map} header-
|
|
77
|
+
/// @prop {Map} background [color: ('gray', 50)] - The background color of the query builder.
|
|
78
|
+
/// @prop {Map} header-background [color: ('gray', 50)] - The background color of the query builder header.
|
|
79
|
+
/// @prop {Map} subquery-header-background [contrast-color: ('gray', 50, .05)] - The background color of the subquery header.
|
|
80
|
+
/// @prop {Map} subquery-border-color [color: ('gray', 100)] - The border color of the query block.
|
|
81
|
+
/// @see $indigo-query-builder
|
|
28
82
|
/// @requires $indigo-query-builder
|
|
83
|
+
/// @requires $dark-query-builder
|
|
29
84
|
$dark-indigo-query-builder: extend(
|
|
30
85
|
$indigo-query-builder,
|
|
86
|
+
$dark-query-builder,
|
|
31
87
|
(
|
|
32
88
|
background: (
|
|
33
89
|
color: (
|
|
@@ -36,7 +92,22 @@ $dark-indigo-query-builder: extend(
|
|
|
36
92
|
),
|
|
37
93
|
),
|
|
38
94
|
|
|
39
|
-
header-
|
|
95
|
+
header-background: (
|
|
96
|
+
color: (
|
|
97
|
+
'gray',
|
|
98
|
+
50,
|
|
99
|
+
),
|
|
100
|
+
),
|
|
101
|
+
|
|
102
|
+
subquery-header-background: (
|
|
103
|
+
contrast-color: (
|
|
104
|
+
'gray',
|
|
105
|
+
50,
|
|
106
|
+
0.05,
|
|
107
|
+
),
|
|
108
|
+
),
|
|
109
|
+
|
|
110
|
+
subquery-border-color: (
|
|
40
111
|
color: (
|
|
41
112
|
'gray',
|
|
42
113
|
100,
|
|
@@ -148,7 +148,7 @@ $dark-fluent-switch: extend(
|
|
|
148
148
|
|
|
149
149
|
/// Generates a dark bootstrap switch schema.
|
|
150
150
|
/// @type {Map}
|
|
151
|
-
/// @prop {Map}
|
|
151
|
+
/// @prop {Map} focus-outline-color [color: ('primary', 900, 0.5)] - The focus outlined color.
|
|
152
152
|
/// @prop {Map} label-disabled-color [color: ('gray', 300)] - The color of the switch label when the switch is disabled
|
|
153
153
|
/// @prop {Map} border-disabled-color [color: ('gray', 100)] - The border color of the disabled switch.
|
|
154
154
|
/// @prop {Map} track-disabled-color [color: 'surface'] - The color of the track when the switch is on and disabled.
|
|
@@ -202,6 +202,8 @@ $dark-bootstrap-switch: extend(
|
|
|
202
202
|
/// @prop {Map} border-hover-color [contrast-color: ('gray', 50, .8)] - The border color of the switch on hover.
|
|
203
203
|
/// @prop {Map} border-disabled-color [contrast-color: ('gray', 50, .2)] - The border color of the disabled switch.
|
|
204
204
|
/// @prop {Map} error-color [contrast-color: ('gray', 50, .6)] - The border and thumb color in invalid state.
|
|
205
|
+
/// @prop {Map} error-color-hover [contrast-color: ('gray', 50, .2)] - The border and thumb color in invalid state on hover.
|
|
206
|
+
/// @prop {Map} thumb-on-error-color [contrast-color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
|
|
205
207
|
/// @prop {Map} focus-outline-color [contrast-color: ('gray', 50, .2)] - The focus outlined color.
|
|
206
208
|
/// @requires $indigo-switch
|
|
207
209
|
$dark-indigo-switch: extend(
|
|
@@ -289,6 +291,19 @@ $dark-indigo-switch: extend(
|
|
|
289
291
|
0.6,
|
|
290
292
|
),
|
|
291
293
|
),
|
|
294
|
+
error-color-hover: (
|
|
295
|
+
contrast-color: (
|
|
296
|
+
'gray',
|
|
297
|
+
50,
|
|
298
|
+
0.2,
|
|
299
|
+
),
|
|
300
|
+
),
|
|
301
|
+
thumb-on-error-color: (
|
|
302
|
+
contrast-color: (
|
|
303
|
+
'gray',
|
|
304
|
+
50,
|
|
305
|
+
),
|
|
306
|
+
),
|
|
292
307
|
focus-outline-color: (
|
|
293
308
|
contrast-color: (
|
|
294
309
|
'gray',
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
////
|
|
2
|
+
/// @package theming
|
|
3
|
+
/// @group schemas
|
|
4
|
+
/// @access public
|
|
5
|
+
////
|
|
6
|
+
|
|
7
|
+
/// @type Map
|
|
8
|
+
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the default query-builder.
|
|
9
|
+
$default-elevation-query-builder: (
|
|
10
|
+
elevation: 0,
|
|
11
|
+
);
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
/// @prop {Map} background-color [color: ('primary', 500)] - The background color used.
|
|
17
17
|
/// @prop {Number} elevation [1] - The elevation level, between 0-24, to be used for the badge shadow.
|
|
18
18
|
/// @prop {Number} border-radius [0] - The border radius used for badge.
|
|
19
|
+
/// @prop {Map} typography [text: (value: 'caption')] - The typography styles used for the component.
|
|
19
20
|
/// @requires {Map} $default-elevation-badge
|
|
20
21
|
$light-badge: extend(
|
|
21
22
|
$default-elevation-badge,
|
|
@@ -49,6 +50,12 @@ $light-badge: extend(
|
|
|
49
50
|
),
|
|
50
51
|
|
|
51
52
|
border-radius: 0,
|
|
53
|
+
|
|
54
|
+
typography: (
|
|
55
|
+
text: (
|
|
56
|
+
value: 'caption',
|
|
57
|
+
),
|
|
58
|
+
),
|
|
52
59
|
)
|
|
53
60
|
);
|
|
54
61
|
|
|
@@ -92,6 +99,7 @@ $bootstrap-badge: extend(
|
|
|
92
99
|
/// Generates an indigo badge schema.
|
|
93
100
|
/// @type {Map}
|
|
94
101
|
/// @prop {Map} background-color [color: ('primary', 400)] - The background color used.
|
|
102
|
+
/// @prop {Map} typography [text: (value: 'button')] - The typography styles used for the component.
|
|
95
103
|
/// @requires {Map} $light-badge
|
|
96
104
|
/// @requires {Map} $indigo-elevation-badge
|
|
97
105
|
$indigo-badge: extend(
|
|
@@ -104,5 +112,11 @@ $indigo-badge: extend(
|
|
|
104
112
|
400,
|
|
105
113
|
),
|
|
106
114
|
),
|
|
115
|
+
|
|
116
|
+
typography: (
|
|
117
|
+
text: (
|
|
118
|
+
value: 'button',
|
|
119
|
+
),
|
|
120
|
+
),
|
|
107
121
|
)
|
|
108
122
|
);
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
/// @type {Map}
|
|
12
12
|
/// @prop {Map} banner-background [color: 'surface'] - The color used for the banner background.
|
|
13
13
|
/// @prop {Map} banner-message-color [contrast-color: 'surface'] - The color used for the banner label.
|
|
14
|
+
/// @prop {Map} typography [message: (value: 'body-2')] - The typography styles used for the component.
|
|
14
15
|
/// @prop {Number} border-radius [0] - The border radius of the banner
|
|
15
16
|
$light-banner: (
|
|
16
17
|
banner-background: (
|
|
@@ -18,6 +19,12 @@ $light-banner: (
|
|
|
18
19
|
),
|
|
19
20
|
|
|
20
21
|
border-radius: 0,
|
|
22
|
+
|
|
23
|
+
typography: (
|
|
24
|
+
message: (
|
|
25
|
+
value: 'body-2',
|
|
26
|
+
),
|
|
27
|
+
),
|
|
21
28
|
);
|
|
22
29
|
|
|
23
30
|
/// Generates a material banner schema.
|
|
@@ -57,6 +64,7 @@ $material-banner: extend(
|
|
|
57
64
|
/// @prop {Map} banner-message-color [color: ('gray', 900)] - The color used for the banner label.
|
|
58
65
|
/// @prop {Map} banner-illustration-color [color: ('gray', 900)] - The color used for the banner illustration.
|
|
59
66
|
/// @prop {Map} banner-border-color [color: ('gray', 300)] - The color used for the banner border.
|
|
67
|
+
/// @prop {Map} typography [message: (value: 'caption')] - The typography styles used for the component.
|
|
60
68
|
/// @requires {Map} $light-banner
|
|
61
69
|
$fluent-banner: extend(
|
|
62
70
|
$light-banner,
|
|
@@ -81,6 +89,12 @@ $fluent-banner: extend(
|
|
|
81
89
|
900,
|
|
82
90
|
),
|
|
83
91
|
),
|
|
92
|
+
|
|
93
|
+
typography: (
|
|
94
|
+
message: (
|
|
95
|
+
value: 'caption',
|
|
96
|
+
),
|
|
97
|
+
),
|
|
84
98
|
)
|
|
85
99
|
);
|
|
86
100
|
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
/// @prop {Map} label-disabled-color [color: ('gray', 700)] - The disabled color of the label.
|
|
19
19
|
/// @prop {Map} label-selected-color [color: ('primary', 500)] - The label color used for the selected item.
|
|
20
20
|
/// @prop {Color} border-color [transparent] - The border color of the bottom navigation.
|
|
21
|
+
/// @prop {Map} typography [label: (value: 'caption')] - The typography styles used for the component.
|
|
21
22
|
/// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the bottom nav.
|
|
22
23
|
/// @requires {Map} $default-elevation-bottom-nav
|
|
23
24
|
$light-bottom-nav: extend(
|
|
@@ -66,6 +67,11 @@ $light-bottom-nav: extend(
|
|
|
66
67
|
),
|
|
67
68
|
),
|
|
68
69
|
border-color: transparent,
|
|
70
|
+
typography: (
|
|
71
|
+
label: (
|
|
72
|
+
value: 'caption',
|
|
73
|
+
),
|
|
74
|
+
),
|
|
69
75
|
)
|
|
70
76
|
);
|
|
71
77
|
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
/// @prop {Number} elevation [2] - The elevation level, between 0-24, to be used for the button group shadow.
|
|
25
25
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for button-group component.
|
|
26
26
|
/// @prop {Number} default-size [2] - The default size used for the button-group component.
|
|
27
|
+
/// @prop {Map} typography [text: (value: 'button')] - The typography styles used for the component.
|
|
27
28
|
/// @requires {Map} $default-elevation-button-group
|
|
28
29
|
$light-button-group: extend(
|
|
29
30
|
$default-elevation-button-group,
|
|
@@ -104,6 +105,12 @@ $light-button-group: extend(
|
|
|
104
105
|
),
|
|
105
106
|
|
|
106
107
|
default-size: 2,
|
|
108
|
+
|
|
109
|
+
typography: (
|
|
110
|
+
text: (
|
|
111
|
+
value: 'button',
|
|
112
|
+
),
|
|
113
|
+
),
|
|
107
114
|
)
|
|
108
115
|
);
|
|
109
116
|
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
/// @prop {Map} disabled-icon-color [color: ('gray', 500)] - The disabled icon color of the button.
|
|
24
24
|
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the button.
|
|
25
25
|
/// @prop {Number} default-size [3] - The default size used for the button component.
|
|
26
|
+
/// @prop {Map} typography [text: (value: 'button')] - The typography styles used for the component.
|
|
26
27
|
$light-base-button: (
|
|
27
28
|
shadow-color: transparent,
|
|
28
29
|
border-color: transparent,
|
|
@@ -57,6 +58,11 @@ $light-base-button: (
|
|
|
57
58
|
),
|
|
58
59
|
),
|
|
59
60
|
default-size: 3,
|
|
61
|
+
typography: (
|
|
62
|
+
text: (
|
|
63
|
+
value: 'button',
|
|
64
|
+
),
|
|
65
|
+
),
|
|
60
66
|
);
|
|
61
67
|
|
|
62
68
|
/// @type {Map}
|
|
@@ -364,6 +364,15 @@ $light-calendar: (
|
|
|
364
364
|
/// @prop {Map} date-selected-current-focus-border-color [color: ('gray', 900)] - The :focus border color of the selected current date.
|
|
365
365
|
/// @prop {List} week-number-border-radius [(rem(4px), rem(0), rem(8px))] - The border radius used for the week numbers column.
|
|
366
366
|
/// @prop {Map} actions-divider-color [color: ('gray', 200)] - The border color used for the date-picker actions divider.
|
|
367
|
+
/// @prop {Map} typography [
|
|
368
|
+
/// header: (
|
|
369
|
+
/// year: (value: 'overline'),
|
|
370
|
+
/// date: (value: 'h4')
|
|
371
|
+
/// ),
|
|
372
|
+
/// weekday-label: (value: 'body-1'),
|
|
373
|
+
/// picker-date: (value: 'subtitle-1'),
|
|
374
|
+
/// content: (value: 'body-1')
|
|
375
|
+
/// ] - The typography styles used for the component.
|
|
367
376
|
/// @requires $light-calendar
|
|
368
377
|
$material-calendar: extend(
|
|
369
378
|
$light-calendar,
|
|
@@ -758,6 +767,26 @@ $material-calendar: extend(
|
|
|
758
767
|
900,
|
|
759
768
|
),
|
|
760
769
|
),
|
|
770
|
+
typography: (
|
|
771
|
+
header: (
|
|
772
|
+
year: (
|
|
773
|
+
value: 'overline',
|
|
774
|
+
),
|
|
775
|
+
|
|
776
|
+
date: (
|
|
777
|
+
value: 'h4',
|
|
778
|
+
),
|
|
779
|
+
),
|
|
780
|
+
weekday-label: (
|
|
781
|
+
value: 'body-1',
|
|
782
|
+
),
|
|
783
|
+
picker-date: (
|
|
784
|
+
value: 'subtitle-1',
|
|
785
|
+
),
|
|
786
|
+
content: (
|
|
787
|
+
value: 'body-1',
|
|
788
|
+
),
|
|
789
|
+
),
|
|
761
790
|
)
|
|
762
791
|
);
|
|
763
792
|
|
|
@@ -856,6 +885,15 @@ $material-calendar: extend(
|
|
|
856
885
|
/// @prop {List} inner-size [(rem(24px), rem(28px), rem(32px))] - The size of the inner element of a date(often used to outline the special date)
|
|
857
886
|
/// @prop {Map} actions-divider-color [color: ('gray', 200)] - The border color used for the date-picker actions divider.
|
|
858
887
|
/// @prop {Map} date-special-range-foreground [color: ('gray', 900)] - The foreground color of a special date in rage selection.
|
|
888
|
+
/// @prop {Map} typography [
|
|
889
|
+
/// header: (
|
|
890
|
+
/// year: (value: 'overline'),
|
|
891
|
+
/// date: (value: 'h4')
|
|
892
|
+
/// ),
|
|
893
|
+
/// weekday-label: (value: 'body-1'),
|
|
894
|
+
/// picker-date: (value: 'subtitle-2'),
|
|
895
|
+
/// content: (value: 'body-1')
|
|
896
|
+
/// ] - The typography styles used for the component.
|
|
859
897
|
/// @requires {Map} $light-calendar
|
|
860
898
|
$fluent-calendar: extend(
|
|
861
899
|
$light-calendar,
|
|
@@ -1382,6 +1420,26 @@ $fluent-calendar: extend(
|
|
|
1382
1420
|
900,
|
|
1383
1421
|
),
|
|
1384
1422
|
),
|
|
1423
|
+
typography: (
|
|
1424
|
+
header: (
|
|
1425
|
+
year: (
|
|
1426
|
+
value: 'overline',
|
|
1427
|
+
),
|
|
1428
|
+
|
|
1429
|
+
date: (
|
|
1430
|
+
value: 'h4',
|
|
1431
|
+
),
|
|
1432
|
+
),
|
|
1433
|
+
weekday-label: (
|
|
1434
|
+
value: 'body-1',
|
|
1435
|
+
),
|
|
1436
|
+
picker-date: (
|
|
1437
|
+
value: 'subtitle-2',
|
|
1438
|
+
),
|
|
1439
|
+
content: (
|
|
1440
|
+
value: 'body-1',
|
|
1441
|
+
),
|
|
1442
|
+
),
|
|
1385
1443
|
)
|
|
1386
1444
|
);
|
|
1387
1445
|
|
|
@@ -1467,6 +1525,16 @@ $fluent-calendar: extend(
|
|
|
1467
1525
|
/// @prop {Map} date-selected-current-focus-border-color [color: ('gray', 900)] - The :focus border color of the selected current date.
|
|
1468
1526
|
/// @prop {Map} actions-divider-color [color: ('gray', 300)] - The border color used for the date-picker actions divider.
|
|
1469
1527
|
/// @prop {Map} date-special-range-foreground [color: ('gray', 900)] - The foreground color of a special date in rage selection.
|
|
1528
|
+
/// @prop {Map} typography [
|
|
1529
|
+
/// header: (
|
|
1530
|
+
/// year: (value: 'body-2'),
|
|
1531
|
+
/// date: (value: 'h4')
|
|
1532
|
+
/// ),
|
|
1533
|
+
/// weekday-label: (value: 'body-2'),
|
|
1534
|
+
/// picker-date: (value: 'subtitle-1'),
|
|
1535
|
+
/// content: (value: 'body-1')
|
|
1536
|
+
/// ] - The typography styles used for the component.
|
|
1537
|
+
|
|
1470
1538
|
/// @requires {Map} $light-calendar
|
|
1471
1539
|
$bootstrap-calendar: extend(
|
|
1472
1540
|
$light-calendar,
|
|
@@ -1913,6 +1981,26 @@ $bootstrap-calendar: extend(
|
|
|
1913
1981
|
900,
|
|
1914
1982
|
),
|
|
1915
1983
|
),
|
|
1984
|
+
typography: (
|
|
1985
|
+
header: (
|
|
1986
|
+
year: (
|
|
1987
|
+
value: 'body-2',
|
|
1988
|
+
),
|
|
1989
|
+
|
|
1990
|
+
date: (
|
|
1991
|
+
value: 'h4',
|
|
1992
|
+
),
|
|
1993
|
+
),
|
|
1994
|
+
weekday-label: (
|
|
1995
|
+
value: 'body-2',
|
|
1996
|
+
),
|
|
1997
|
+
picker-date: (
|
|
1998
|
+
value: 'subtitle-1',
|
|
1999
|
+
),
|
|
2000
|
+
content: (
|
|
2001
|
+
value: 'body-1',
|
|
2002
|
+
),
|
|
2003
|
+
),
|
|
1916
2004
|
)
|
|
1917
2005
|
);
|
|
1918
2006
|
|
|
@@ -2008,6 +2096,15 @@ $bootstrap-calendar: extend(
|
|
|
2008
2096
|
/// @prop {List} week-number-border-radius [(rem(4px), rem(0), rem(4px))] - The border radius used for the week numbers column.
|
|
2009
2097
|
/// @prop {Map} actions-divider-color [color: ('gray', 400)] - The border color used for the date-picker actions divider.
|
|
2010
2098
|
/// @prop {Map} date-special-range-foreground [color: ('primary', 500)] - The foreground color of a special date in rage selection.
|
|
2099
|
+
/// @prop {Map} typography [
|
|
2100
|
+
/// header: (
|
|
2101
|
+
/// year: (value: 'body-2'),
|
|
2102
|
+
/// date: (value: 'h5')
|
|
2103
|
+
/// ),
|
|
2104
|
+
/// weekday-label: (value: 'body-2'),
|
|
2105
|
+
/// picker-date: (value: 'subtitle-2'),
|
|
2106
|
+
/// content: (value: 'body-1')
|
|
2107
|
+
/// ] - The typography styles used for the component.
|
|
2011
2108
|
/// @requires {Map} $light-calendar
|
|
2012
2109
|
$indigo-calendar: extend(
|
|
2013
2110
|
$light-calendar,
|
|
@@ -2557,5 +2654,25 @@ $indigo-calendar: extend(
|
|
|
2557
2654
|
0.38,
|
|
2558
2655
|
),
|
|
2559
2656
|
),
|
|
2657
|
+
typography: (
|
|
2658
|
+
header: (
|
|
2659
|
+
year: (
|
|
2660
|
+
value: 'body-2',
|
|
2661
|
+
),
|
|
2662
|
+
|
|
2663
|
+
date: (
|
|
2664
|
+
value: 'h5',
|
|
2665
|
+
),
|
|
2666
|
+
),
|
|
2667
|
+
weekday-label: (
|
|
2668
|
+
value: 'body-2',
|
|
2669
|
+
),
|
|
2670
|
+
picker-date: (
|
|
2671
|
+
value: 'subtitle-2',
|
|
2672
|
+
),
|
|
2673
|
+
content: (
|
|
2674
|
+
value: 'body-1',
|
|
2675
|
+
),
|
|
2676
|
+
),
|
|
2560
2677
|
)
|
|
2561
2678
|
);
|