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.
Files changed (39) hide show
  1. package/package.json +1 -1
  2. package/sass/themes/_mixins.scss +6 -1
  3. package/sass/themes/schemas/components/dark/_index.scss +0 -5
  4. package/sass/themes/schemas/components/dark/_switch.scss +16 -1
  5. package/sass/themes/schemas/components/light/_badge.scss +14 -0
  6. package/sass/themes/schemas/components/light/_banner.scss +14 -0
  7. package/sass/themes/schemas/components/light/_bottom-nav.scss +6 -0
  8. package/sass/themes/schemas/components/light/_button-group.scss +7 -0
  9. package/sass/themes/schemas/components/light/_button.scss +6 -0
  10. package/sass/themes/schemas/components/light/_calendar.scss +117 -0
  11. package/sass/themes/schemas/components/light/_card.scss +95 -0
  12. package/sass/themes/schemas/components/light/_checkbox.scss +21 -0
  13. package/sass/themes/schemas/components/light/_chip.scss +15 -0
  14. package/sass/themes/schemas/components/light/_column-actions.scss +7 -0
  15. package/sass/themes/schemas/components/light/_date-range-picker.scss +7 -0
  16. package/sass/themes/schemas/components/light/_dialog.scss +43 -1
  17. package/sass/themes/schemas/components/light/_drop-down.scss +32 -0
  18. package/sass/themes/schemas/components/light/_expansion-panel.scss +51 -0
  19. package/sass/themes/schemas/components/light/_grid.scss +16 -0
  20. package/sass/themes/schemas/components/light/_icon-button.scss +12 -0
  21. package/sass/themes/schemas/components/light/_index.scss +0 -5
  22. package/sass/themes/schemas/components/light/_input-group.scss +36 -0
  23. package/sass/themes/schemas/components/light/_label.scss +36 -2
  24. package/sass/themes/schemas/components/light/_list.scss +86 -1
  25. package/sass/themes/schemas/components/light/_navbar.scss +23 -1
  26. package/sass/themes/schemas/components/light/_navdrawer.scss +49 -0
  27. package/sass/themes/schemas/components/light/_progress.scss +7 -0
  28. package/sass/themes/schemas/components/light/_radio.scss +19 -0
  29. package/sass/themes/schemas/components/light/_slider.scss +24 -0
  30. package/sass/themes/schemas/components/light/_snackbar.scss +13 -0
  31. package/sass/themes/schemas/components/light/_switch.scss +35 -2
  32. package/sass/themes/schemas/components/light/_tabs.scss +18 -0
  33. package/sass/themes/schemas/components/light/_time-picker.scss +39 -0
  34. package/sass/themes/schemas/components/light/_toast.scss +14 -0
  35. package/sass/themes/schemas/components/light/_tooltip.scss +14 -0
  36. package/sass/themes/schemas/components/light/_tree.scss +6 -0
  37. package/sass/themes/schemas/components/dark/_tile-manager.scss +0 -207
  38. package/sass/themes/schemas/components/elevation/_tile-manager.scss +0 -13
  39. 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-beta.2",
3
+ "version": "14.4.1",
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": {
@@ -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,
@@ -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} thumb-on-color [color: ('gray', 900)] - The color of the thumb when the switch is on.
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',
@@ -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
  );
@@ -69,6 +69,14 @@ $light-card: extend(
69
69
  /// Generates a material card schema.
70
70
  /// @type {Map}
71
71
  /// @prop {Map} outline-color [color: ('gray', 400, .54)] - The outline color of an outlined type card.
72
+ /// @prop {Map} typography [
73
+ /// title: (
74
+ /// value: 'h6',
75
+ /// small: (value: 'subtitle-2')
76
+ /// ),
77
+ /// subtitle: (value: 'subtitle-2'),
78
+ /// content: (value: 'body-2')
79
+ /// ] - The typography styles used for the component.
72
80
  /// @requires {Map} $light-card
73
81
  $material-card: extend(
74
82
  $light-card,
@@ -80,6 +88,21 @@ $material-card: extend(
80
88
  0.54,
81
89
  ),
82
90
  ),
91
+ typography: (
92
+ title: (
93
+ value: 'h6',
94
+
95
+ small: (
96
+ value: 'subtitle-2',
97
+ ),
98
+ ),
99
+ subtitle: (
100
+ value: 'subtitle-2',
101
+ ),
102
+ content: (
103
+ value: 'body-2',
104
+ ),
105
+ ),
83
106
  )
84
107
  );
85
108
 
@@ -87,6 +110,14 @@ $material-card: extend(
87
110
  /// @type {Map}
88
111
  /// @prop {Map} outline-color [color: ('gray', 200)] - The outline color of an outlined type card.
89
112
  /// @prop {List} border-radius [(rem(0px), rem(0), rem(24px))] - The border radius used for card.
113
+ /// @prop {Map} typography [
114
+ /// title: (
115
+ /// value: 'subtitle-1',
116
+ /// small: (value: 'subtitle-2')
117
+ /// ),
118
+ /// subtitle: (value: 'body-2'),
119
+ /// content: (value: 'body-2')
120
+ /// ] - The typography styles used for the component.
90
121
  /// @requires {Map} $light-card
91
122
  $fluent-card: extend(
92
123
  $light-card,
@@ -105,6 +136,22 @@ $fluent-card: extend(
105
136
  rem(24px),
106
137
  ),
107
138
  ),
139
+
140
+ typography: (
141
+ title: (
142
+ value: 'subtitle-1',
143
+
144
+ small: (
145
+ value: 'subtitle-2',
146
+ ),
147
+ ),
148
+ subtitle: (
149
+ value: 'body-2',
150
+ ),
151
+ content: (
152
+ value: 'body-2',
153
+ ),
154
+ ),
108
155
  )
109
156
  );
110
157
 
@@ -115,6 +162,14 @@ $fluent-card: extend(
115
162
  /// @prop {Map} subtitle-text-color [color: ('gray', 800)] - The text color of the card subtitle.
116
163
  /// @prop {Map} content-text-color [color: ('gray', 800)] - The text color of the card content.
117
164
  /// @prop {Map} actions-text-color [color: ('gray', 900)] - The text color of the card buttons.
165
+ /// @prop {Map} typography [
166
+ /// title: (
167
+ /// value: 'h5',
168
+ /// small: (value: 'subtitle-2')
169
+ /// ),
170
+ /// subtitle: (value: 'body-1'),
171
+ /// content: (value: 'body-1')
172
+ /// ] - The typography styles used for the component.
118
173
  /// @requires {Map} $light-card
119
174
  $bootstrap-card: extend(
120
175
  $light-card,
@@ -153,6 +208,22 @@ $bootstrap-card: extend(
153
208
  900,
154
209
  ),
155
210
  ),
211
+
212
+ typography: (
213
+ title: (
214
+ value: 'h5',
215
+
216
+ small: (
217
+ value: 'subtitle-2',
218
+ ),
219
+ ),
220
+ subtitle: (
221
+ value: 'body-1',
222
+ ),
223
+ content: (
224
+ value: 'body-1',
225
+ ),
226
+ ),
156
227
  )
157
228
  );
158
229
 
@@ -164,6 +235,14 @@ $bootstrap-card: extend(
164
235
  /// @prop {Map} subtitle-text-color [color: ('gray', 700)] - The text color of the card subtitle.
165
236
  /// @prop {Map} actions-text-color [color: ('gray', 600)] - The text color of the card buttons.
166
237
  /// @prop {List} border-radius [(rem(6px), rem(0), rem(24px))] - The border radius used for card.
238
+ /// @prop {Map} typography [
239
+ /// title: (
240
+ /// value: 'h6',
241
+ /// small: (value: 'body-2')
242
+ /// ),
243
+ /// subtitle: (value: 'body-2'),
244
+ /// content: (value: 'body-2')
245
+ /// ] - The typography styles used for the component.
167
246
  /// @requires {Map} $light-card
168
247
  $indigo-card: extend(
169
248
  $light-card,
@@ -210,5 +289,21 @@ $indigo-card: extend(
210
289
  rem(24px),
211
290
  ),
212
291
  ),
292
+
293
+ typography: (
294
+ title: (
295
+ value: 'h6',
296
+
297
+ small: (
298
+ value: 'body-2',
299
+ ),
300
+ ),
301
+ subtitle: (
302
+ value: 'body-2',
303
+ ),
304
+ content: (
305
+ value: 'body-2',
306
+ ),
307
+ ),
213
308
  )
214
309
  );
@@ -25,6 +25,7 @@
25
25
  /// @prop {Map} error-color [color: ('error', 500)] - The border and fill colors in invalid state.
26
26
  /// @prop {List} border-radius [(rem(2px), rem(0), rem(10px))] - The border radius used for checkbox.
27
27
  /// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for checkbox ripple.
28
+ /// @prop {Map} typography [label: (value: 'body-2')] - The typography styles used for the component.
28
29
  $light-checkbox: (
29
30
  tick-color: (
30
31
  color: (
@@ -97,6 +98,12 @@ $light-checkbox: (
97
98
  rem(24px),
98
99
  ),
99
100
  ),
101
+
102
+ typography: (
103
+ label: (
104
+ value: 'body-2',
105
+ ),
106
+ ),
100
107
  );
101
108
 
102
109
  /// Generates a material checkbox schema.
@@ -108,6 +115,7 @@ $light-checkbox: (
108
115
  /// @prop {Map} fill-color-hover [color: ('secondary', 500)] - The checked border and fill colors on hover.
109
116
  /// @prop {Color} focus-outline-color [transparent] - The focus outlined color.
110
117
  /// @prop {Map} error-color-hover [color: ('error', 500)] - The border and fill colors in invalid state on hover.
118
+ /// @prop {Map} typography [label: (value: 'subtitle-1')] - The typography styles used for the component.
111
119
  /// @requires {Map} $light-checkbox
112
120
  $material-checkbox: extend(
113
121
  $light-checkbox,
@@ -155,6 +163,12 @@ $material-checkbox: extend(
155
163
  500,
156
164
  ),
157
165
  ),
166
+
167
+ typography: (
168
+ label: (
169
+ value: 'subtitle-1',
170
+ ),
171
+ ),
158
172
  )
159
173
  );
160
174
 
@@ -233,6 +247,7 @@ $fluent-checkbox: extend(
233
247
  /// @prop {Map} error-color-hover [color: ('error', 600)] - The focus outlined color in invalid state.
234
248
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(10px))] - The border radius used for checkbox.
235
249
  /// @prop {List} border-radius-ripple [(rem(4px), rem(0), rem(24px))] - The border radius used for checkbox ripple.
250
+ /// @prop {Map} typography [label: (value: 'body-1')] - The typography styles used for the component.
236
251
  /// @requires {Map} $light-checkbox
237
252
  $bootstrap-checkbox: extend(
238
253
  $light-checkbox,
@@ -325,6 +340,12 @@ $bootstrap-checkbox: extend(
325
340
  rem(24px),
326
341
  ),
327
342
  ),
343
+
344
+ typography: (
345
+ label: (
346
+ value: 'body-1',
347
+ ),
348
+ ),
328
349
  )
329
350
  );
330
351
 
@@ -34,6 +34,7 @@
34
34
  /// @prop {Map} $disabled-border-color [color: ('gray', 200)] - The disabled chip border color.
35
35
  /// @prop {List} size [(rem(20px), rem(24px), rem(32px))] - The size used for the chip height.
36
36
  /// @prop {Number} default-size [2] - The default size used for the chip component.
37
+ /// @prop {Map} typography [text: (value: 'body-2')] - The typography styles used for the component.
37
38
  /// @prop {Map} $default-elevation-chip
38
39
  $light-chip: extend(
39
40
  $default-elevation-chip,
@@ -157,7 +158,14 @@ $light-chip: extend(
157
158
  rem(32px),
158
159
  ),
159
160
  ),
161
+
160
162
  default-size: 2,
163
+
164
+ typography: (
165
+ text: (
166
+ value: 'body-2',
167
+ ),
168
+ ),
161
169
  )
162
170
  );
163
171
 
@@ -232,6 +240,7 @@ $material-chip: extend(
232
240
  /// @prop {Map} hover-selected-background [color: ('primary', 600)] - The selected chip hover background color.
233
241
  /// @prop {Map} focus-selected-text-color [contrast-color: ('primary', 700)] - The selected chip text focus color.
234
242
  /// @prop {Map} focus-selected-background [color: ('primary', 500)] - The selected chip focus background color.
243
+ /// @prop {Map} typography [text: (value: 'subtitle-2')] - The typography styles used for the component.
235
244
  /// @prop {Number} ghost-elevation [2] - The elevation level, between 0-24, to be used for the chip's ghost (dragging mode).
236
245
  /// @requires {Map} $light-chip
237
246
  /// @requires {Map} $fluent-elevation-chip
@@ -315,6 +324,12 @@ $fluent-chip: extend(
315
324
  800,
316
325
  ),
317
326
  ),
327
+
328
+ typography: (
329
+ text: (
330
+ value: 'subtitle-2',
331
+ ),
332
+ ),
318
333
  )
319
334
  );
320
335