igniteui-theming 7.1.0 → 7.2.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "7.1.0",
3
+ "version": "7.2.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": {
@@ -7,10 +7,45 @@
7
7
  /// @access public
8
8
  ////
9
9
 
10
+ /// Generates a base dark navdrawer schema.
11
+ /// @type {Map}
12
+ /// @prop {Map} item-disabled-text-color [color: ('gray', 200)] - The item's disabled text color.
13
+ /// @prop {Map} item-disabled-icon-color [color: ('gray', 200)] - The item's disabled icon color.
14
+ /// @requires $material-navdrawer
15
+ $dark-base-navdrawer: extend(
16
+ $light-navdrawer,
17
+ (
18
+ item-disabled-text-color: (
19
+ color: (
20
+ 'gray',
21
+ 200,
22
+ ),
23
+ ),
24
+ item-disabled-icon-color: (
25
+ color: (
26
+ 'gray',
27
+ 200,
28
+ ),
29
+ ),
30
+ )
31
+ );
32
+
10
33
  /// Generates a dark material navdrawer schema.
11
34
  /// @type {Map}
35
+ /// @prop {Map} item-disabled-text-color [color: ('gray', 300)] - The item's disabled text color.
12
36
  /// @requires $material-navdrawer
13
- $dark-material-navdrawer: extend($material-navdrawer);
37
+ $dark-material-navdrawer: extend(
38
+ $material-navdrawer,
39
+ $dark-base-navdrawer,
40
+ (
41
+ item-disabled-text-color: (
42
+ color: (
43
+ 'gray',
44
+ 300,
45
+ ),
46
+ ),
47
+ )
48
+ );
14
49
 
15
50
  /// Generates a dark fluent navdrawer schema.
16
51
  /// @type {Map}
@@ -23,6 +58,7 @@ $dark-material-navdrawer: extend($material-navdrawer);
23
58
  /// @requires $fluent-navdrawer
24
59
  $dark-fluent-navdrawer: extend(
25
60
  $fluent-navdrawer,
61
+ $dark-base-navdrawer,
26
62
  (
27
63
  item-hover-icon-color: (
28
64
  color: (
@@ -65,6 +101,7 @@ $dark-fluent-navdrawer: extend(
65
101
  /// @requires $bootstrap-navdrawer
66
102
  $dark-bootstrap-navdrawer: extend(
67
103
  $bootstrap-navdrawer,
104
+ $dark-base-navdrawer,
68
105
  (
69
106
  item-hover-background: (
70
107
  color: (
@@ -87,6 +124,8 @@ $dark-bootstrap-navdrawer: extend(
87
124
  /// @prop {Map} item-hover-background [contrast-color: ('gray', 50, 0.1)] - The item's hover background color.
88
125
  /// @prop {Map} item-hover-text-color [contrast-color: ('gray', 50)] - The item's hover text color.
89
126
  /// @prop {Map} item-hover-icon-color [contrast-color: ('gray', 50, 0.8)] - The item's hover icon color.
127
+ /// @prop {Map} item-disabled-text-color [contrast-color: ('gray', 50, 0.2)] - The item's disabled text color.
128
+ /// @prop {Map} item-disabled-icon-color [contrast-color: ('gray', 50, 0.2)] - The item's disabled icon color.
90
129
  /// @prop {Map} border-color [color: ('gray', 100)] - The navigation drawer right border color.
91
130
  /// @requires $indigo-navdrawer
92
131
  $dark-indigo-navdrawer: extend(
@@ -167,5 +206,21 @@ $dark-indigo-navdrawer: extend(
167
206
  0.8,
168
207
  ),
169
208
  ),
209
+
210
+ item-disabled-text-color: (
211
+ contrast-color: (
212
+ 'gray',
213
+ 50,
214
+ 0.2,
215
+ ),
216
+ ),
217
+
218
+ item-disabled-icon-color: (
219
+ contrast-color: (
220
+ 'gray',
221
+ 50,
222
+ 0.2,
223
+ ),
224
+ ),
170
225
  )
171
226
  );
@@ -11,6 +11,8 @@
11
11
  /// Generates a base light navdrawer schema.
12
12
  /// @type {Map}
13
13
  /// @prop {Map} background [color: 'surface'] - The navigation drawer background color.
14
+ /// @prop {Map} item-disabled-text-color [color: ('gray', 400)] - The item's disabled text color.
15
+ /// @prop {Map} item-disabled-icon-color [color: ('gray', 400)] - The item's disabled icon color.
14
16
  /// @prop {Map} elevation [16] - The elevation level, between 0-24, to be used for the drawer.
15
17
  /// @prop {List} border-radius [(rem(0), rem(0), rem(36px))] - The border radius used for the navdrawer component.
16
18
  /// @requires {Map} $default-elevation-navdrawer
@@ -20,6 +22,18 @@ $light-navdrawer: extend(
20
22
  background: (
21
23
  color: 'surface',
22
24
  ),
25
+ item-disabled-text-color: (
26
+ color: (
27
+ 'gray',
28
+ 400,
29
+ ),
30
+ ),
31
+ item-disabled-icon-color: (
32
+ color: (
33
+ 'gray',
34
+ 400,
35
+ ),
36
+ ),
23
37
  border-radius: (
24
38
  border-radius: (
25
39
  rem(0),
@@ -43,6 +57,7 @@ $light-navdrawer: extend(
43
57
  /// @prop {Map} border-color [color: ('gray', 300)] - The navigation drawer right border color.
44
58
  /// @prop {Map} item-icon-color [ color: ('gray', 700)] - The item's icon color.
45
59
  /// @prop {Map} item-header-text-color [color: ('gray', 700)] - The header's idle text color.
60
+ /// @prop {Map} item-disabled-text-color [color: ('gray', 500)] - The item's disabled text color.
46
61
  /// @requires {Map} $light-navdrawer
47
62
  $material-navdrawer: extend(
48
63
  $light-navdrawer,
@@ -115,6 +130,12 @@ $material-navdrawer: extend(
115
130
  700,
116
131
  ),
117
132
  ),
133
+ item-disabled-text-color: (
134
+ color: (
135
+ 'gray',
136
+ 500,
137
+ ),
138
+ ),
118
139
  )
119
140
  );
120
141
 
@@ -298,6 +319,8 @@ $bootstrap-navdrawer: extend(
298
319
  /// @prop {Map} item-hover-background [color: ('gray', 900, 0.05)] - The item's hover background color.
299
320
  /// @prop {Map} item-hover-text-color [color: ('gray', 900)] - The item's hover text color.
300
321
  /// @prop {Map} item-hover-icon-color [color: ('gray', 700)] - The item's hover icon color.
322
+ /// @prop {Map} item-disabled-text-color [color: ('gray', 900, 0.2)] - The item's disabled text color.
323
+ /// @prop {Map} item-disabled-icon-color [color: ('gray', 900, 0.2)] - The item's disabled icon color.
301
324
  /// @prop {Map} elevation [0] - The elevation level, between 0-24, to be used for the drawer.
302
325
  /// @prop {Map} border-color [color: ('gray', 300)] - The navigation drawer right border color.
303
326
  /// @prop {List} item-border-radius [(rem(4px), rem(0), rem(4px))] - The border radius used for the navdrawer items.
@@ -377,6 +400,21 @@ $indigo-navdrawer: extend(
377
400
  ),
378
401
  ),
379
402
 
403
+ item-disabled-text-color: (
404
+ color: (
405
+ 'gray',
406
+ 900,
407
+ 0.2,
408
+ ),
409
+ ),
410
+ item-disabled-icon-color: (
411
+ color: (
412
+ 'gray',
413
+ 900,
414
+ 0.2,
415
+ ),
416
+ ),
417
+
380
418
  item-border-radius: (
381
419
  border-radius: (
382
420
  rem(4px),