igniteui-theming 4.0.0 → 4.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-theming",
3
- "version": "4.0.0",
3
+ "version": "4.0.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": {
@@ -33,6 +33,8 @@ $dark-drop-down: extend($light-drop-down, $base-dark-drop-down);
33
33
  /// @prop {Map} selected-item-text-color [contrast-color: 'surface'] - The drop-down selected item text color.
34
34
  /// @prop {Map} selected-hover-item-text-color [contrast-color: 'surface'] - The drop-down selected item hover text color.
35
35
  /// @prop {Map} selected-focus-item-text-color [contrast-color: 'surface'] - The drop-down selected item focus text color.
36
+ /// @prop {Map} border-color [color: ('gray', 400)] - The border color used for the drop-down items on focus state.
37
+ /// @prop {Map} disabled-item-text-color [color: ('gray', 200)] - The drop-down disabled item text color.
36
38
  /// @requires $fluent-drop-down
37
39
  /// @requires $base-dark-drop-down
38
40
  $dark-fluent-drop-down: extend(
@@ -48,6 +50,18 @@ $dark-fluent-drop-down: extend(
48
50
  selected-focus-item-text-color: (
49
51
  contrast-color: 'surface',
50
52
  ),
53
+ border-color: (
54
+ color: (
55
+ 'gray',
56
+ 400,
57
+ ),
58
+ ),
59
+ disabled-item-text-color: (
60
+ color: (
61
+ 'gray',
62
+ 200,
63
+ ),
64
+ ),
51
65
  )
52
66
  );
53
67
 
@@ -55,6 +69,7 @@ $dark-fluent-drop-down: extend(
55
69
  /// @type {Map}
56
70
  /// @prop {Map} item-text-color [contrast-color: 'surface'] - The drop-down text color.
57
71
  /// @prop {Map} hover-item-text-color [contrast-color: 'surface'] - The drop-down hover text color.
72
+ /// @prop {Map} disabled-item-text-color [color: ('gray', 200)] - The drop-down disabled item text color.
58
73
  /// @requires $bootstrap-drop-down
59
74
  /// @requires $base-dark-drop-down
60
75
  $dark-bootstrap-drop-down: extend(
@@ -67,6 +82,12 @@ $dark-bootstrap-drop-down: extend(
67
82
  hover-item-text-color: (
68
83
  contrast-color: 'surface',
69
84
  ),
85
+ disabled-item-text-color: (
86
+ color: (
87
+ 'gray',
88
+ 200,
89
+ ),
90
+ ),
70
91
  )
71
92
  );
72
93
 
@@ -16,7 +16,7 @@
16
16
  /// @prop {Map} header-text-color [color: ('secondary', 500)] - The drop-down header text color.
17
17
  /// @prop {Map} item-text-color [color: ('gray', 800)] - The drop-down text color.
18
18
  /// @prop {Map} hover-item-text-color [color: ('gray', 800)] - The drop-down hover text color.
19
- /// @prop {Map} hover-item-background [color: ('gray', 100, .8)4] - The drop-down hover item background color.
19
+ /// @prop {Map} hover-item-background [color: ('gray', 100, .8)] - The drop-down hover item background color.
20
20
  /// @prop {Map} focused-item-background [color: ('gray', 100, .8)] - The drop-down focused item background color.
21
21
  /// @prop {Map} focused-item-text-color [color: ('gray', 800)] - The drop-down focused item text color.
22
22
  /// @prop {Map} selected-item-background [color: ('secondary', 100)] - The drop-down selected item background color.
@@ -26,7 +26,7 @@
26
26
  /// @prop {Map} selected-focus-item-background [color: ('secondary', 200)] - The drop-down selected item focus background color.
27
27
  /// @prop {Map} selected-focus-item-text-color [contrast-color: ('secondary', 200)] - The drop-down selected item focus text color.
28
28
  /// @prop {Color} disabled-item-background [transparent] - The drop-down disabled item background color.
29
- /// @prop {Map} disabled-item-text-color [color: 'surface', text-contrast: (), rgba: .38] - The drop-down disabled item text color.
29
+ /// @prop {Map} disabled-item-text-color [color: ('gray', 400)] - The drop-down disabled item text color.
30
30
  /// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the drop-down shadow.
31
31
  /// @prop {Number} border-width [0] - The border width used for drop-down component.
32
32
  /// @prop {Map} border-color [color: ('gray', 300)] - The border color used for drop-down component.
@@ -162,12 +162,18 @@ $light-drop-down: extend(
162
162
 
163
163
  /// Generates a fluent drop-down schema.
164
164
  /// @type {Map}
165
- /// @prop {Map} selected-item-background [color: ('gray', 100)] - The drop-down selected item background color.
166
- /// @prop {Map} selected-item-text-color [contrast-color: ('gray', 100)] - The drop-down selected item text color.
165
+ /// @prop {Map} hover-item-text-color [color: ('gray', 800)] - The drop-down hover text color.
166
+ /// @prop {Map} hover-item-background [color: ('gray', 100)] - The drop-down hover item background color.
167
+ /// @prop {Map} focused-item-background [color: 'surface'] - The drop-down focused item background color.
168
+ /// @prop {Map} focused-item-text-color [color: ('gray', 800)] - The drop-down focused item text color.
169
+ /// @prop {Map} selected-item-background [color: ('gray', 200)] - The drop-down selected item background color.
170
+ /// @prop {Map} selected-item-text-color [contrast-color: ('gray', 200)] - The drop-down selected item text color.
167
171
  /// @prop {Map} selected-hover-item-background [color: ('gray', 200)] - The drop-down selected item hover background color.
168
172
  /// @prop {Map} selected-hover-item-text-color [contrast-color: ('gray', 200)] - The drop-down selected item hover text color.
169
173
  /// @prop {Map} selected-focus-item-background [color: ('gray', 200)] - The drop-down selected item focus background color.
170
174
  /// @prop {Map} selected-focus-item-text-color [contrast-color: ('gray', 200)] - The drop-down selected item focus text color.
175
+ /// @prop {Map} border-color [color: ('gray', 700)] - The border color used for the drop-down items on focus state.
176
+ /// @prop {Map} disabled-item-text-color [color: ('gray', 500)] - The drop-down disabled item text color.
171
177
  /// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the drop-down shadow.
172
178
  /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for drop-down component.
173
179
  /// @requires {Map} $light-drop-down
@@ -176,22 +182,45 @@ $fluent-drop-down: extend(
176
182
  $light-drop-down,
177
183
  $fluent-elevation-drop-down,
178
184
  (
179
- selected-item-background: (
185
+ hover-item-text-color: (
186
+ color: (
187
+ 'gray',
188
+ 800,
189
+ ),
190
+ ),
191
+ hover-item-background: (
180
192
  color: (
181
193
  'gray',
182
194
  100,
183
195
  ),
184
196
  ),
197
+ focused-item-background: (
198
+ color: (
199
+ 'surface',
200
+ ),
201
+ ),
202
+ focused-item-text-color: (
203
+ color: (
204
+ 'gray',
205
+ 800,
206
+ ),
207
+ ),
208
+ selected-item-background: (
209
+ color: (
210
+ 'gray',
211
+ 200,
212
+ ),
213
+ ),
185
214
  selected-item-text-color: (
186
215
  contrast-color: (
187
216
  'gray',
188
- 100,
217
+ 200,
189
218
  ),
190
219
  ),
191
220
  selected-hover-item-background: (
192
221
  color: (
193
222
  'gray',
194
- 100,
223
+ 200,
195
224
  ),
196
225
  ),
197
226
  selected-hover-item-text-color: (
@@ -212,6 +241,18 @@ $fluent-drop-down: extend(
212
241
  200,
213
242
  ),
214
243
  ),
244
+ border-color: (
245
+ color: (
246
+ 'gray',
247
+ 700,
248
+ ),
249
+ ),
250
+ disabled-item-text-color: (
251
+ color: (
252
+ 'gray',
253
+ 500,
254
+ ),
255
+ ),
215
256
  border-radius: (
216
257
  border-radius: (
217
258
  rem(2px),
@@ -225,9 +266,8 @@ $fluent-drop-down: extend(
225
266
  /// Generates a bootstrap drop-down schema.
226
267
  /// @type {Map}
227
268
  /// @prop {Map} header-text-color [color: ('gray', 700)] - The drop-down header text color.
228
- /// @prop {Map} hover-item-background [color: ('gray', 100)] - The drop-down hover item background color.
229
- /// @prop {Map} focused-item-background [color: ('primary', 500)] - The drop-down focused item background color.
230
- /// @prop {Map} focused-item-text-color [contrast-color('primary', 600)] - The drop-down focused item text color.
269
+ /// @prop {Map} hover-item-background [color: ('gray', 200)] - The drop-down hover item background color.
270
+ /// @prop {Map} focused-item-background [color: ('gray', 200)] - The drop-down focused item background color.
231
271
  /// @prop {Map} selected-item-background [color: ('primary', 500)] - The drop-down selected item background color.
232
272
  /// @prop {Map} selected-item-text-color [contrast-color('primary', 600)] - The drop-down selected item text color.
233
273
  /// @prop {Map} selected-hover-item-background [color: ('primary', 600)] - The drop-down selected item hover background color.
@@ -251,19 +291,13 @@ $bootstrap-drop-down: extend(
251
291
  hover-item-background: (
252
292
  color: (
253
293
  'gray',
254
- 100,
294
+ 200,
255
295
  ),
256
296
  ),
257
297
  focused-item-background: (
258
298
  color: (
259
- 'primary',
260
- 500,
261
- ),
262
- ),
263
- focused-item-text-color: (
264
- contrast-color: (
265
- 'primary',
266
- 600,
299
+ 'gray',
300
+ 200,
267
301
  ),
268
302
  ),
269
303
  selected-item-background: (
@@ -315,15 +349,15 @@ $bootstrap-drop-down: extend(
315
349
  /// Generates an indigo drop-down schema.
316
350
  /// @type {Map}
317
351
  /// @prop {Map} header-text-color [color: ('primary', 500)] - The drop-down header text color.
318
- /// @prop {Color} item-text-color [color: ('gray', 700)] - The drop-down text color.
352
+ /// @prop {Map} item-text-color [color: ('gray', 700)] - The drop-down text color.
319
353
  /// @prop {Map} hover-item-background [color: ('primary', 500, .15)] - The drop-down hover item background color.
320
354
  /// @prop {Map} focused-item-background [color: ('primary', 500, .15)] - The drop-down focused item background color.
321
355
  /// @prop {Map} selected-item-background [color: ('primary', 500)] - The drop-down selected item background color.
322
- /// @prop {Color} selected-item-text-color [#fff] - The drop-down selected item text color.
356
+ /// @prop {Map} selected-item-text-color [contrast-color: ('primary', 500)] - The drop-down selected item text color.
323
357
  /// @prop {Map} selected-hover-item-background [color: ('primary', 400)] - The drop-down selected item hover background color.
324
- /// @prop {Color} selected-hover-item-text-color [#fff] - The drop-down selected item hover text color.
358
+ /// @prop {Map} selected-hover-item-text-color [contrast-color: ('primary', 400)] - The drop-down selected item hover text color.
325
359
  /// @prop {Map} selected-focus-item-background [color: ('primary', 400)] - The drop-down selected item focus background color.
326
- /// @prop {Color} selected-focus-item-text-color [#fff] - The drop-down selected item focus text color.
360
+ /// @prop {Map} selected-focus-item-text-color [contrast-color: ('primary', 400)] - The drop-down selected item focus text color.
327
361
  /// @prop {Number} elevation [3] - The elevation level, between 0-24, to be used for the badge shadow.
328
362
  /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for drop-down component.
329
363
  /// @prop {List} item-border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the drop-down items.