igniteui-theming 3.3.0-beta.1 → 3.3.0-beta.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "3.3.0-beta.1",
3
+ "version": "3.3.0-beta.2",
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": {
@@ -13,6 +13,7 @@
13
13
  /// @prop {Map} color [color: ('gray', 800, .96)] - The text/icon color of the avatar.
14
14
  /// @prop {Number} border-radius [rem(8px)] - The border radius for rounded avatar.
15
15
  /// @prop {List} size [(rem(40px), rem(64px), rem(88px))] - The size used for the avatar width and height.
16
+ /// @prop {Number} default-size [2] - The default size used for the avatar component.
16
17
  $light-avatar: (
17
18
  background: (
18
19
  color: (
@@ -36,18 +37,26 @@ $light-avatar: (
36
37
  rem(88px),
37
38
  ),
38
39
  ),
40
+ default-size: 2,
39
41
  );
40
42
 
41
43
  /// Generates a fluent avatar schema.
42
44
  /// @type {Map}
45
+ /// @prop {Number} default-size [1] - The default size used for the avatar component.
43
46
  /// @requires {Map} $light-avatar
44
- $fluent-avatar: $light-avatar;
47
+ $fluent-avatar: extend(
48
+ $light-avatar,
49
+ (
50
+ default-size: 1,
51
+ )
52
+ );
45
53
 
46
54
  /// Generates a bootstrap avatar schema.
47
55
  /// @type {Map}
48
56
  /// @prop {Map} background [color: ('gray', 400)]- The background color of the avatar.
49
57
  /// @prop {Map} color [contrast-color: ('gray', 400)] - The text/icon color of the avatar.
50
58
  /// @prop {Number} border-radius [rem(4px)] - The border radius for rounded avatar.
59
+ /// @prop {Number} default-size [1] - The default size used for the avatar component.
51
60
  /// @requires {Map} $light-avatar
52
61
  $bootstrap-avatar: extend(
53
62
  $light-avatar,
@@ -65,10 +74,17 @@ $bootstrap-avatar: extend(
65
74
  ),
66
75
  ),
67
76
  border-radius: rem(4px),
77
+ default-size: 1,
68
78
  )
69
79
  );
70
80
 
71
81
  /// Generates an indigo avatar schema.
72
82
  /// @type {Map}
83
+ /// @prop {Number} default-size [1] - The default size used for the avatar component.
73
84
  /// @requires {Map} $light-avatar
74
- $indigo-avatar: $light-avatar;
85
+ $indigo-avatar: extend(
86
+ $light-avatar,
87
+ (
88
+ default-size: 1,
89
+ )
90
+ );
@@ -25,6 +25,7 @@
25
25
  /// @prop {Map} idle-shadow-color [transparent] - The outline color of button group items.
26
26
  /// @prop {Number} elevation [2] - The elevation level, between 0-24, to be used for the button group shadow.
27
27
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for button-group component.
28
+ /// @prop {Number} default-size [2] - The default size used for the button-group component.
28
29
  /// @requires {Map} $default-elevation-button-group
29
30
  $light-button-group: extend(
30
31
  $default-elevation-button-group,
@@ -123,6 +124,8 @@ $light-button-group: extend(
123
124
  rem(20px),
124
125
  ),
125
126
  ),
127
+
128
+ default-size: 2,
126
129
  )
127
130
  );
128
131
 
@@ -21,6 +21,7 @@
21
21
  /// @prop {Map} disabled-background [color: ('gray', 300)] - The disabled background color of the button.
22
22
  /// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
23
23
  /// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the button.
24
+ /// @prop {Number} default-size [1] - The default size used for the button component.
24
25
  $material-base-button: (
25
26
  shadow-color: transparent,
26
27
  border-color: transparent,
@@ -48,6 +49,7 @@ $material-base-button: (
48
49
  rem(36px),
49
50
  ),
50
51
  ),
52
+ default-size: 1,
51
53
  );
52
54
 
53
55
  /// @type {Map}
@@ -330,6 +332,7 @@ $material-fab-button: extend(
330
332
  /// @prop {Map} active-border-color [color: ('gray', 400)] - The active border color of the button.
331
333
  /// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for floating button.
332
334
  /// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for icon button.
335
+ /// @prop {Number} default-size [2] - The default size used for the icon button component.
333
336
  /// @requires {Map} $material-base-button
334
337
  /// @requires {Map} $material-ib-elevation
335
338
  $material-icon-button: extend(
@@ -420,6 +423,7 @@ $material-icon-button: extend(
420
423
  rem(36px),
421
424
  ),
422
425
  ),
426
+ default-size: 2,
423
427
  )
424
428
  );
425
429
 
@@ -444,6 +448,7 @@ $light-button: (
444
448
  /// @prop {Map} disabled-background [color: ('gray', 200)] - The disabled background color of the button.
445
449
  /// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the button.
446
450
  /// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the button.
451
+ /// @prop {Number} default-size [2] - The default size used for the button component.
447
452
  $fluent-base-button: extend(
448
453
  $material-base-button,
449
454
  $flat-elevation-button,
@@ -467,6 +472,7 @@ $fluent-base-button: extend(
467
472
  rem(38px),
468
473
  ),
469
474
  ),
475
+ default-size: 2,
470
476
  )
471
477
  );
472
478
 
@@ -965,6 +971,7 @@ $fluent-button: (
965
971
  /// @prop {Map} disabled-background [color: ('primary', 50)] - The disabled background color of the button.
966
972
  /// @prop {Map} disabled-foreground [color: ('primary', 200)] - The disabled foreground color of the button.
967
973
  /// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the button.
974
+ /// @prop {Number} default-size [2] - The default size used for the button component.
968
975
  /// @requires {Map} $material-base-button
969
976
  /// @requires {Map} $flat-elevation-button
970
977
  $bootstrap-base-button: extend(
@@ -990,6 +997,7 @@ $bootstrap-base-button: extend(
990
997
  rem(48px),
991
998
  ),
992
999
  ),
1000
+ default-size: 2,
993
1001
  )
994
1002
  );
995
1003
 
@@ -57,6 +57,7 @@
57
57
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for calendar.
58
58
  /// @prop {List} date-border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for calendar date.
59
59
  /// @prop {List} month-border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for calendar month.
60
+ /// @prop {Number} default-size [2] - The default size used for the calendar component.
60
61
  $light-calendar: (
61
62
  content-background: (
62
63
  color: 'surface',
@@ -381,6 +382,7 @@ $light-calendar: (
381
382
  rem(20px),
382
383
  ),
383
384
  ),
385
+ default-size: 2,
384
386
  );
385
387
 
386
388
  /// Generates a fluent calendar schema.
@@ -19,6 +19,7 @@
19
19
  /// @prop {Number} resting-elevation [4] - The elevation level, between 0-24, to be used for the resting state.
20
20
  /// @prop {Number} hover-elevation [6] - The elevation level, between 0-24, to be used for the hover state.
21
21
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(24px))] - The border radius used for card.
22
+ /// @prop {Number} default-size [2] - The default size used for the card component.
22
23
  /// @requires {Map} $default-elevation-card
23
24
  $light-card: extend(
24
25
  $default-elevation-card,
@@ -70,6 +71,7 @@ $light-card: extend(
70
71
  rem(24px),
71
72
  ),
72
73
  ),
74
+ default-size: 2,
73
75
  )
74
76
  );
75
77
 
@@ -37,6 +37,7 @@
37
37
  /// @prop {Map} $disabled-background [color: ('gray', 200)] - The disabled chip background color.
38
38
  /// @prop {Map} $disabled-border-color [color: ('gray', 200)] - The disabled chip border color.
39
39
  /// @prop {List} size [(rem(20px), rem(24px), rem(32px))] - The size used for the chip height.
40
+ /// @prop {Number} default-size [2] - The default size used for the chip component.
40
41
  /// @prop {Map} $default-elevation-chip
41
42
  $light-chip: extend(
42
43
  $default-elevation-chip,
@@ -188,6 +189,7 @@ $light-chip: extend(
188
189
  rem(32px),
189
190
  ),
190
191
  ),
192
+ default-size: 2,
191
193
  )
192
194
  );
193
195
 
@@ -28,6 +28,7 @@
28
28
  /// @prop {Map} clear-button-foreground-focus [contrast-color: ('gray', 100)] - The combo clear button foreground color when the combo is focused.
29
29
  /// @prop {Map} case-icon-color [color: ('gray', 400)] - The case sensitive icon color in inactive state for combo search input
30
30
  /// @prop {Map} case-icon-color--active [color: ('primary', 500)] - The case sensitive icon color in active state for combo search input
31
+ /// @prop {Number} default-size [2] - The default size used for the combo component.
31
32
  $light-combo: (
32
33
  toggle-button-background-focus--border: (
33
34
  color: (
@@ -119,6 +120,7 @@ $light-combo: (
119
120
  500,
120
121
  ),
121
122
  ),
123
+ default-size: 2,
122
124
  );
123
125
 
124
126
  /// Generates a fluent combo schema.
@@ -17,6 +17,7 @@
17
17
  /// @prop {Map} backdrop [color: ('gray', 50, .54)] - The dialog backdrop color.
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
+ /// @prop {Number} default-size [2] - The default size used for the dialog component.
20
21
  /// @requires {Map} $default-elevation-dialog
21
22
  $light-dialog: extend(
22
23
  $default-elevation-dialog,
@@ -56,6 +57,7 @@ $light-dialog: extend(
56
57
  rem(36px),
57
58
  ),
58
59
  ),
60
+ default-size: 2,
59
61
  )
60
62
  );
61
63
 
@@ -33,6 +33,7 @@
33
33
  /// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for drop-down component.
34
34
  /// @prop {List} item-border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for the drop-down items.
35
35
  /// @prop {List} size [(rem(28px), rem(32px), rem(40px))] - The size used for the dropdown item height.
36
+ /// @prop {Number} default-size [2] - The default size used for the drop down component.
36
37
  /// @requires {Map} $default-elevation-drop-down
37
38
  $light-drop-down: extend(
38
39
  $default-elevation-drop-down,
@@ -155,6 +156,7 @@ $light-drop-down: extend(
155
156
  rem(40px),
156
157
  ),
157
158
  ),
159
+ default-size: 2,
158
160
  )
159
161
  );
160
162
 
@@ -12,6 +12,7 @@
12
12
  /// @prop {Color} color ["'currentColor'"] - The icon color.
13
13
  /// @prop {Color} disabled-color ["'currentColor'"] - The disabled icon color.
14
14
  /// @prop {List} size [(rem(18px), rem(20px), rem(24px))] - The size used for the icon.
15
+ /// @prop {Number} default-size [2] - The default size used for the icon component.
15
16
  $light-icon: (
16
17
  color: "'currentColor'",
17
18
  disabled-color: "'currentColor'",
@@ -22,6 +23,7 @@ $light-icon: (
22
23
  rem(24px),
23
24
  ),
24
25
  ),
26
+ default-size: 2,
25
27
  );
26
28
 
27
29
  /// Generates a fluent icon schema.
@@ -63,6 +63,7 @@
63
63
  /// @prop {Map} input-suffix-color--focused [color: ('gray', 900)] - The input suffix color in the focused state.
64
64
  /// @prop {Color} input-suffix-background--focused [inherit] - The background color of an input suffix in the focused state.
65
65
  /// @prop {List} size [(rem(40px), rem(48px), rem(56px))] - The size used for the input group.
66
+ /// @prop {Number} default-size [2] - The default size used for the input group component.
66
67
  /// @requires {Map} $default-elevation-input-group
67
68
  $light-input-group: extend(
68
69
  $default-elevation-input-group,
@@ -323,6 +324,7 @@ $light-input-group: extend(
323
324
  rem(56px),
324
325
  ),
325
326
  ),
327
+ default-size: 2,
326
328
  )
327
329
  );
328
330
 
@@ -34,6 +34,7 @@
34
34
  /// @prop {List} item-border-radius [()] - The border radius used for list item.
35
35
  /// @prop {Number} border-color [transparent] - The list border color.
36
36
  /// @prop {Color} border-width [0] - The list border width.
37
+ /// @prop {Number} default-size [2] - The default size used for the list component.
37
38
  $light-list: (
38
39
  background: (
39
40
  color: 'surface',
@@ -131,6 +132,7 @@ $light-list: (
131
132
  rem(24px),
132
133
  ),
133
134
  ),
135
+ default-size: 2,
134
136
  );
135
137
 
136
138
  /// Generates a fluent list schema.
@@ -19,6 +19,7 @@
19
19
  /// @prop {Map} disabled-label-color [color: ('gray', 400)] - sets the color for the label in disabled state.
20
20
  /// @prop {Map} disabled-empty-symbol-color [color: ('gray', 400)] - sets the idle color for the symbol in disabled state when it is a plane text.
21
21
  /// @prop {Map} disabled-full-symbol-color [color: ('gray', 600)] - sets the color for the symbol in selected/disabled state when it is a plane text.
22
+ /// @prop {Number} default-size [2] - The default size used for the rating component.
22
23
  /// Generates a light rating schema.
23
24
  /// @type {Map}
24
25
  $light-rating: (
@@ -77,6 +78,7 @@ $light-rating: (
77
78
  200,
78
79
  ),
79
80
  ),
81
+ default-size: 2,
80
82
  );
81
83
 
82
84
  /// Generates a fluent rating schema.
@@ -19,6 +19,7 @@
19
19
  /// @prop {Map} toggle-button-background-disabled [color: ('gray', 100] - The select toggle button background color when the select is disabled.
20
20
  /// @prop {Map} toggle-button-foreground-disabled [color: ('gray', 500)] - The select toggle button foreground color when the select is disabled.
21
21
  /// @prop {Map} toggle-button-background-focus--border [color: ('gray', 300)] The select toggle button background color when the select is focused in material border and line variants.
22
+ /// @prop {Number} default-size [2] - The default size used for the select component.
22
23
  $light-select: (
23
24
  toggle-button-background-focus--border: (
24
25
  color: (
@@ -69,6 +70,7 @@ $light-select: (
69
70
  500,
70
71
  ),
71
72
  ),
73
+ default-size: 2,
72
74
  );
73
75
 
74
76
  /// Generates a fluent select schema.
@@ -25,6 +25,7 @@
25
25
  /// @prop {Map} hover-color [color: ('gray', 900, .1)] - The background color used for the tree node on hover.
26
26
  /// @prop {Map} border-color [color: ('secondary')] - The outline shadow color used for tree node in focus state.
27
27
  /// @prop {List} size [(rem(32px), rem(40px), rem(50px))] - The size used for the tree node.
28
+ /// @prop {Number} default-size [2] - The default size used for the tree component.
28
29
  $light-tree: (
29
30
  background: (
30
31
  color: (
@@ -109,6 +110,7 @@ $light-tree: (
109
110
  rem(50px),
110
111
  ),
111
112
  ),
113
+ default-size: 2,
112
114
  );
113
115
 
114
116
  /// Generates a light fluent tree schema.