igniteui-theming 3.3.1 → 3.3.3

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.1",
3
+ "version": "3.3.3",
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": {
@@ -15,6 +15,7 @@
15
15
  /// @prop {Map} background-active [color: ('gray', 100)] - The background color used for the active tree node.
16
16
  /// @prop {Map} foreground-active [color: ('gray', 900)] - The color used for the content in active state of the tree node.
17
17
  /// @prop {Map} hover-color [color: ('gray', 50, .1)] - The background color used for the tree node on hover.
18
+ /// @prop {Map} hover-selected-color [color: ('gray', 50, .1)] - The background color used for the selected tree node on hover.
18
19
  $base-dark-tree: (
19
20
  background-active: (
20
21
  color: (
@@ -35,13 +36,32 @@ $base-dark-tree: (
35
36
  0.1,
36
37
  ),
37
38
  ),
39
+ hover-selected-color: (
40
+ color: (
41
+ 'gray',
42
+ 50,
43
+ 0.1,
44
+ ),
45
+ ),
38
46
  );
39
47
 
40
48
  /// Generates a dark tree schema.
41
49
  /// @type {Map}
42
50
  /// @requires $light-tree
43
51
  /// @requires $base-dark-tree
44
- $dark-tree: extend($light-tree, $base-dark-tree);
52
+ $dark-tree: extend(
53
+ $light-tree,
54
+ $base-dark-tree,
55
+ (
56
+ hover-color: (
57
+ color: (
58
+ 'gray',
59
+ 200,
60
+ 0.5,
61
+ ),
62
+ ),
63
+ )
64
+ );
45
65
 
46
66
  /// Generates a dark fluent tree schema.
47
67
  /// @type {Map}
@@ -13,7 +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
+ /// @prop {Number} default-size [1] - The default size used for the avatar component.
17
17
  $light-avatar: (
18
18
  background: (
19
19
  color: (
@@ -37,19 +37,14 @@ $light-avatar: (
37
37
  rem(88px),
38
38
  ),
39
39
  ),
40
- default-size: 2,
40
+ default-size: 1,
41
41
  );
42
42
 
43
43
  /// Generates a fluent avatar schema.
44
44
  /// @type {Map}
45
45
  /// @prop {Number} default-size [1] - The default size used for the avatar component.
46
46
  /// @requires {Map} $light-avatar
47
- $fluent-avatar: extend(
48
- $light-avatar,
49
- (
50
- default-size: 1,
51
- )
52
- );
47
+ $fluent-avatar: $light-avatar;
53
48
 
54
49
  /// Generates a bootstrap avatar schema.
55
50
  /// @type {Map}
@@ -74,7 +69,6 @@ $bootstrap-avatar: extend(
74
69
  ),
75
70
  ),
76
71
  border-radius: rem(4px),
77
- default-size: 1,
78
72
  )
79
73
  );
80
74
 
@@ -82,9 +76,4 @@ $bootstrap-avatar: extend(
82
76
  /// @type {Map}
83
77
  /// @prop {Number} default-size [1] - The default size used for the avatar component.
84
78
  /// @requires {Map} $light-avatar
85
- $indigo-avatar: extend(
86
- $light-avatar,
87
- (
88
- default-size: 1,
89
- )
90
- );
79
+ $indigo-avatar: $light-avatar;
@@ -12,7 +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
+ /// @prop {Number} default-size [3] - The default size used for the icon component.
16
16
  $light-icon: (
17
17
  color: "'currentColor'",
18
18
  disabled-color: "'currentColor'",
@@ -23,7 +23,7 @@ $light-icon: (
23
23
  rem(24px),
24
24
  ),
25
25
  ),
26
- default-size: 2,
26
+ default-size: 3,
27
27
  );
28
28
 
29
29
  /// Generates a fluent icon schema.
@@ -23,6 +23,7 @@
23
23
  /// @prop {Map} foreground-disabled [color: ('gray', 500)] - The color used for the content of the disabled tree node.
24
24
  /// @prop {Map} drop-area-color [color: ('secondary')] - The background color used for the tree node drop aria.
25
25
  /// @prop {Map} hover-color [color: ('gray', 900, .1)] - The background color used for the tree node on hover.
26
+ /// @prop {Map} hover-selected-color [color: ('gray', 900, .1)] - The background color used for the selected tree node on hover.
26
27
  /// @prop {Map} border-color [color: ('secondary')] - The outline shadow color used for tree node in focus state.
27
28
  /// @prop {List} size [(rem(32px), rem(40px), rem(50px))] - The size used for the tree node.
28
29
  /// @prop {Number} default-size [2] - The default size used for the tree component.
@@ -103,6 +104,13 @@ $light-tree: (
103
104
  0.1,
104
105
  ),
105
106
  ),
107
+ hover-selected-color: (
108
+ color: (
109
+ 'gray',
110
+ 900,
111
+ 0.1,
112
+ ),
113
+ ),
106
114
  size: (
107
115
  sizable: (
108
116
  rem(32px),
@@ -191,7 +199,6 @@ $fluent-tree: extend(
191
199
  /// @prop {Map} background-active-selected [color: ('primary', 600)] - The background color used for the active selected tree node.
192
200
  /// @prop {Map} foreground-active-selected [contrast-color: ('primary', 600)] - The color used for the content of the active selected tree node.
193
201
  /// @prop {Map} border-color [color: ('primary', 200)] - The outline shadow color used for tree node in focus state.
194
- /// @prop {Map} hover-color [color: ('gray', 900, .1)] - The background color used for the tree node on hover.
195
202
  /// @requires $light-tree
196
203
  $bootstrap-tree: extend(
197
204
  $light-tree,
@@ -229,13 +236,6 @@ $bootstrap-tree: extend(
229
236
  'primary' 200,
230
237
  ),
231
238
  ),
232
- hover-color: (
233
- color: (
234
- 'gray',
235
- 900,
236
- 0.1,
237
- ),
238
- ),
239
239
  )
240
240
  );
241
241
 
@@ -249,6 +249,7 @@ $bootstrap-tree: extend(
249
249
  /// @prop {Map} foreground-active-selected [contrast-color: ('primary', 400)] - The color used for the content of the active selected tree node.
250
250
  /// @prop {Map} border-color [color: ('primary', 300)] - The outline shadow color used for tree node in focus state.
251
251
  /// @prop {Map} hover-color [color: ('primary', 100)] - The background color used for the tree node on hover.
252
+ /// @prop {Map} hover-selected-color [color: ('primary', 100)] - The background color used for the selected tree node on hover.
252
253
  /// @requires {Map} $light-tree
253
254
  $indigo-tree: extend(
254
255
  $light-tree,
@@ -297,5 +298,11 @@ $indigo-tree: extend(
297
298
  100,
298
299
  ),
299
300
  ),
301
+ hover-selected-color: (
302
+ color: (
303
+ 'primary',
304
+ 100,
305
+ ),
306
+ ),
300
307
  )
301
308
  );