igniteui-theming 6.2.0-beta.2 → 6.3.0-beta.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": "6.2.0-beta.2",
3
+ "version": "6.3.0-beta.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": {
@@ -13,7 +13,7 @@
13
13
  /// @prop {Map} item-hover-border-color [color: ('gray', 100)] - The hover border color between button group items.
14
14
  /// @prop {Map} item-focused-border-color [color: ('gray', 100)] - The focused border color for an item from the button group.
15
15
  /// @prop {Map} item-hover-background [color: ('gray', 100), .8] - The hover background color for button group items.
16
- /// @prop {Map} item-focused-background [color: ('gray', 100), .8] - The focused background color for button group items.
16
+ /// @prop {Map} item-focused-background [color: ('gray', 700), .3] - The focused background color for button group items.
17
17
  /// @prop {Map} item-selected-background [color: ('gray', 200)] - The background color for a selected item in the button group.
18
18
  /// @prop {Map} item-selected-hover-background [color: ('gray', 300, .8)] - The hover background color for a selected item in hover or focus state in the button group.
19
19
  /// @prop {Map} item-selected-border-color [color: ('gray', 300)] - The border color for button group selected items.
@@ -53,8 +53,8 @@ $base-dark-button-group: (
53
53
  item-focused-background: (
54
54
  color: (
55
55
  'gray',
56
- 100,
57
- 0.8,
56
+ 700,
57
+ 0.3,
58
58
  ),
59
59
  ),
60
60
 
@@ -104,9 +104,31 @@ $base-dark-button-group: (
104
104
 
105
105
  /// Generates a dark material button-group schema based on a mix of $light-button-group and $base-dark-button-group
106
106
  /// @type {Map}
107
+ /// @prop {Map} item-focused-hover-background [color: ('gray', 500, .3)] - The focused & hover background color for button group items.
108
+ /// @prop {Map} item-selected-focus-hover-background [color: ('gray', 400, .8)] - The background color for a selected item in focused & hover state in the button group.
107
109
  /// @requires $material-button-group
108
110
  /// @requires $base-dark-button-group
109
- $dark-material-button-group: extend($material-button-group, $base-dark-button-group);
111
+ $dark-material-button-group: extend(
112
+ $material-button-group,
113
+ $base-dark-button-group,
114
+ (
115
+ item-focused-hover-background: (
116
+ color: (
117
+ 'gray',
118
+ 500,
119
+ 0.3,
120
+ ),
121
+ ),
122
+
123
+ item-selected-focus-hover-background: (
124
+ color: (
125
+ 'gray',
126
+ 400,
127
+ 0.8,
128
+ ),
129
+ ),
130
+ )
131
+ );
110
132
 
111
133
  /// Generates a dark fluent button-group schema based on a mix of $fluent-button-group and $base-dark-button-group
112
134
  /// @type {Map}
@@ -116,8 +138,9 @@ $dark-material-button-group: extend($material-button-group, $base-dark-button-gr
116
138
  /// @prop {Map} item-hover-background [color: ('gray', 50)] - The background color for button group items on hover.
117
139
  /// @prop {Map} item-focused-background [color: ('gray', 100)] - The focused background color for button group items.
118
140
  /// @prop {Map} item-selected-background [color: ('gray', 200)] - The background color for button group selected items.
119
- /// @prop {Map} item-selected-hover-background [color: ('gray', 300)] - The background color for a selected item in hover or focus state in the button group.
120
141
  /// @prop {Map} item-selected-border-color [color: ('gray', 400)] - The border color for button group selected items.
142
+ /// @prop {Map} item-selected-focus-background [color: ('gray', 300)] - The background color for a selected item in focus state in the button group.
143
+ /// @prop {Map} item-selected-hover-background [color: ('gray', 400, .3)] - The background color for a selected item in hover or focus state in the button group.
121
144
  /// @prop {Map} item-selected-hover-border-color [color: ('gray', 400)] - The border color for a selected item in hover state in the button group.
122
145
  /// @prop {Map} item-disabled-border: [color: ('gray', 400)] - The border color for button group disabled items.
123
146
  /// @prop {Map} disabled-text-color [color: ('gray', 300)]- The text/icon color for a disabled item in the button group.
@@ -172,17 +195,25 @@ $dark-fluent-button-group: extend(
172
195
  ),
173
196
  ),
174
197
 
175
- item-selected-hover-background: (
198
+ item-selected-border-color: (
199
+ color: (
200
+ 'gray',
201
+ 400,
202
+ ),
203
+ ),
204
+
205
+ item-selected-focus-background: (
176
206
  color: (
177
207
  'gray',
178
208
  300,
179
209
  ),
180
210
  ),
181
211
 
182
- item-selected-border-color: (
212
+ item-selected-hover-background: (
183
213
  color: (
184
214
  'gray',
185
215
  400,
216
+ 0.3,
186
217
  ),
187
218
  ),
188
219
 
@@ -246,6 +277,7 @@ $dark-bootstrap-button-group: $bootstrap-button-group;
246
277
  /// @prop {Map} item-hover-text-color [contrast-color: ('gray', 50)] - The hover text color for button group items.
247
278
  /// @prop {Map} item-hover-icon-color [contrast-color: ('gray', 50)] - The hover icon color for button group items.
248
279
  /// @prop {Map} item-hover-border-color [color: ('gray', 200)] - The hover border color between button group items.
280
+ /// @prop {Map} item-focused-border-color [color: ('gray', 100)] - The focused border color for an item from the button group.
249
281
  /// @prop {Map} item-focused-text-color [contrast-color: ('gray', 50, .8)] - The focused text color for button group items.
250
282
  /// @prop {Map} item-focused-background [contrast-color: ('gray', 50, .05)] - The focused background color for button group items.
251
283
  /// @prop {Color} disabled-background-color [transparent] - The background color for a disabled item in the button group.
@@ -325,6 +357,13 @@ $dark-indigo-button-group: extend(
325
357
  ),
326
358
  ),
327
359
 
360
+ item-focused-border-color: (
361
+ color: (
362
+ 'gray',
363
+ 100,
364
+ ),
365
+ ),
366
+
328
367
  item-focused-text-color: (
329
368
  contrast-color: (
330
369
  'gray',
@@ -88,7 +88,9 @@ $dark-material-button: (
88
88
  /// @type {Map}
89
89
  /// @prop {Map} focus-visible-border-color [color: ('gray', 400)] - The focus-visible border color of a contained button.
90
90
  /// @prop {Map} hover-background [color: ('gray', 50)] - The hover background of a contained button.
91
+ /// @prop {Map} focus-background [color: ('gray', 100)] - The background color of a contained button when focused with click and keyboard.
91
92
  /// @prop {Map} focus-hover-background [color: ('gray', 50)] - The background color on focus hovered state of the button.
93
+ /// @prop {Map} active-background [color: ('gray', 100)] - The active background color of a contained button.
92
94
  /// @prop {Map} disabled-background [color: ('gray', 50)] - The disabled background color of the button.
93
95
  /// @prop {Map} disabled-foreground [color: ('gray', 200)] - The disabled foreground color of the button.
94
96
  /// @prop {Map} disabled-icon-color [color: ('gray', 200)] - The disabled icon color of the button.
@@ -105,12 +107,24 @@ $fluent-base-button-dark: (
105
107
  50,
106
108
  ),
107
109
  ),
110
+ focus-background: (
111
+ color: (
112
+ 'gray',
113
+ 100,
114
+ ),
115
+ ),
108
116
  focus-hover-background: (
109
117
  color: (
110
118
  'gray',
111
119
  50,
112
120
  ),
113
121
  ),
122
+ active-background: (
123
+ color: (
124
+ 'gray',
125
+ 100,
126
+ ),
127
+ ),
114
128
  disabled-background: (
115
129
  color: (
116
130
  'gray',
@@ -143,11 +157,10 @@ $fluent-flat-button-dark: extend(
143
157
  )
144
158
  );
145
159
 
146
- /// @prop {Map} focus-border-color [color: ('gray', 400)] - The focus border color of a contained button.
147
- /// @prop {Map} active-background [color: ('gray', 100, .8)] - The active background color of an outlined button.
148
- /// @prop {Map} active-foreground [contrast-color: ('gray' 100)] - The active text color of an outlined button.
149
160
  /// @prop {Map} border-color [color: ('gray', 400)] - The border color of an outlined button.
150
161
  /// @prop {Map} hover-border-color [color: ('gray', 400)] - The hover border color of an outlined button.
162
+ /// @prop {Map} focus-border-color [color: ('gray', 400)] - The focus border color of a contained button.
163
+ /// @prop {Map} active-border-color [color: ('gray', 400)] - The active border color of an outlined button.
151
164
  /// @prop {Map} disabled-border-color [color: ('gray', 100)] - The disabled focused border color of an outlined button.
152
165
  /// @requires {Map} $fluent-outlined-button
153
166
  /// @requires {Map} $fluent-base-button-dark
@@ -155,32 +168,25 @@ $fluent-outlined-button-dark: extend(
155
168
  $fluent-outlined-button,
156
169
  $fluent-base-button-dark,
157
170
  (
158
- focus-border-color: (
171
+ border-color: (
159
172
  color: (
160
173
  'gray',
161
174
  400,
162
175
  ),
163
176
  ),
164
- active-background: (
177
+ hover-border-color: (
165
178
  color: (
166
179
  'gray',
167
- 100,
168
- 0.8,
169
- ),
170
- ),
171
- active-foreground: (
172
- contrast-color: (
173
- 'gray',
174
- 100,
180
+ 400,
175
181
  ),
176
182
  ),
177
- border-color: (
183
+ focus-border-color: (
178
184
  color: (
179
185
  'gray',
180
186
  400,
181
187
  ),
182
188
  ),
183
- hover-border-color: (
189
+ active-border-color: (
184
190
  color: (
185
191
  'gray',
186
192
  400,
@@ -203,13 +209,13 @@ $fluent-outlined-button-dark: extend(
203
209
  /// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 300)] - The focus-visible border color of a contained button.
204
210
  /// @prop {Map} hover-background [color: ('primary', 200)] - The hover background of a contained button.
205
211
  /// @prop {Map} hover-foreground [contrast-color: ('primary', 500)] - The hover text color of a contained button.
206
- /// @prop {Map} focus-background [color: ('primary', 300)] - The focus background color of a contained button.
207
- /// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The focus text color of a contained button.
212
+ /// @prop {Map} focus-background [color: ('primary', 100)] - The background color of a contained button when focused with click and keyboard.
213
+ /// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The text color of a contained button when focused with click and keyboard.
208
214
  /// @prop {Map} focus-hover-background [color: ('primary', 200)] - The background color on focus hovered state of the button.
209
215
  /// @prop {Map} focus-hover-foreground [contrast-color: ('primary', 500)] - The text color on focus hovered state of the button.
210
216
  /// @prop {Map} focus-visible-background [color: ('primary', 300)] - The focus-visible background color of a contained button.
211
217
  /// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 500)] - The focus-visible text color of a contained button.
212
- /// @prop {Map} active-background [color: ('primary', 200)] - The active background color of a contained button.
218
+ /// @prop {Map} active-background [color: ('primary', 100)] - The active background color of a contained button.
213
219
  /// @prop {Map} active-foreground [contrast-color: ('primary', 500)] - The active text color of a contained button.
214
220
  /// @requires {Map} $fluent-contained-button
215
221
  /// @requires {Map} $fluent-base-button-dark
@@ -256,7 +262,7 @@ $fluent-contained-button-dark: extend(
256
262
  focus-background: (
257
263
  color: (
258
264
  'primary',
259
- 300,
265
+ 100,
260
266
  ),
261
267
  ),
262
268
  focus-foreground: (
@@ -298,7 +304,7 @@ $fluent-contained-button-dark: extend(
298
304
  active-background: (
299
305
  color: (
300
306
  'primary',
301
- 200,
307
+ 100,
302
308
  ),
303
309
  ),
304
310
  active-foreground: (
@@ -319,13 +325,13 @@ $fluent-contained-button-dark: extend(
319
325
  /// @prop {Map} active-border-color [color: ('primary', 200)] - The active border color of a contained button.
320
326
  /// @prop {Map} hover-background [color: ('primary', 200)] - The hover background of a contained button.
321
327
  /// @prop {Map} hover-foreground [contrast-color: ('primary', 300)] - The hover text color of a contained button.
322
- /// @prop {Map} focus-background [color: ('primary', 300)] - The focus background color of a contained button.
323
- /// @prop {Map} focus-foreground [contrast-color: ('primary', 300)] - The focus text color of a contained button.
328
+ /// @prop {Map} focus-background [color: ('primary', 100)] - The background color of a contained button when focused with click and keyboard.
329
+ /// @prop {Map} focus-foreground [contrast-color: ('primary', 300)] - The text color of a contained button when focused with click and keyboard.
324
330
  /// @prop {Map} focus-hover-background [color: ('primary', 200)] - The background color on focus hovered state of the button.
325
331
  /// @prop {Map} focus-hover-foreground [contrast-color: ('primary', 300)] - The text color on focus hovered state of the button.
326
332
  /// @prop {Map} focus-visible-background [color: ('primary', 300)] - The focus-visible background color of a contained button.
327
333
  /// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 300)] - The focus-visible text color of a contained button.
328
- /// @prop {Map} active-background [color: ('primary', 200)] - The active background color of a contained button.
334
+ /// @prop {Map} active-background [color: ('primary', 100)] - The active background color of a contained button.
329
335
  /// @prop {Map} active-foreground [contrast-color: ('primary', 300)] - The active text color of a contained button.
330
336
  /// @requires {Map} $fluent-fab-button
331
337
  /// @requires {Map} $fluent-base-button-dark
@@ -372,7 +378,7 @@ $fluent-fab-button-dark: extend(
372
378
  focus-background: (
373
379
  color: (
374
380
  'primary',
375
- 300,
381
+ 100,
376
382
  ),
377
383
  ),
378
384
  focus-foreground: (
@@ -414,7 +420,7 @@ $fluent-fab-button-dark: extend(
414
420
  active-background: (
415
421
  color: (
416
422
  'primary',
417
- 200,
423
+ 100,
418
424
  ),
419
425
  ),
420
426
  active-foreground: (
@@ -453,14 +459,14 @@ $dark-bootstrap-button: (
453
459
  );
454
460
 
455
461
  /// @type {Map}
456
- /// @prop {Map} foreground [contrast-color: ('primary', 500)] - The idle text color of a flat button.
462
+ /// @prop {Map} foreground [contrast-color: ('primary', 500)] - The idle text color of the button.
457
463
  /// @prop {Map} icon-color [contrast-color: ('primary', 500, 0.8)] - The idle icon color of the button.
458
464
  /// @prop {Map} icon-color-hover [contrast-color: ('primary', 500)] - The hover icon color of the button.
459
- /// @prop {Map} hover-foreground [contrast-color: ('primary', 500)] - The hover text color of a flat button.
460
- /// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The focus text color of a flat button.
465
+ /// @prop {Map} hover-foreground [contrast-color: ('primary', 500)] - The hover text color of the button.
466
+ /// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The text color of the button when focused with click and keyboard.
461
467
  /// @prop {Map} focus-hover-foreground [contrast-color: ('primary', 500)] - The text color on focus hovered state of the button.
462
- /// @prop {Map} active-foreground [contrast-color: ('primary', 500)] - The active text color of a flat button.
463
- /// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 500)] - The focus-visible text color of a flat button.
468
+ /// @prop {Map} active-foreground [contrast-color: ('primary', 500)] - The active text color of the button.
469
+ /// @prop {Map} focus-visible-foreground [contrast-color: ('primary', 500)] - The focus-visible text color of the button.
464
470
  /// @prop {Map} disabled-foreground [contrast-color: ('primary', 500, 0.20)] - The disabled foreground color of the button.
465
471
  /// @prop {Map} disabled-icon-color [contrast-color: ('primary', 500, 0.30)] - The disabled icon color of the button.
466
472
  $indigo-base-button-dark: (
@@ -530,9 +536,11 @@ $indigo-base-button-dark: (
530
536
  );
531
537
 
532
538
  /// @type {Map}
533
- /// @prop {Map} hover-background [contrast-color: ('primary', 500, 0.10)] - The hover background color of a flat button.
534
- /// @prop {Map} focus-hover-background [contrast-color: ('primary', 500, 0.10] - The background color on focus hovered state of the button.
535
- /// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.20)] - The shadow color of a flat button.
539
+ /// @prop {Map} hover-background [contrast-color: ('primary', 500, 0.1)] - The hover background color of a flat button.
540
+ /// @prop {Map} focus-hover-background [contrast-color: ('primary', 500, 0.1] - The background color on focus hovered state of a flat button.
541
+ /// @prop {Map} focus-background [contrast-color: ('primary', 500, 0.1)] - The background color of a flat button when focused with click and keyboard.
542
+ /// @prop {Map} active-background [contrast-color: ('primary', 500, 0.1)] - The active background color of a flat button.
543
+ /// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of a flat button.
536
544
  /// @requires {Map} $indigo-flat-button
537
545
  /// @requires {Map} $indigo-base-button-dark
538
546
  $indigo-flat-button-dark: extend(
@@ -553,6 +561,20 @@ $indigo-flat-button-dark: extend(
553
561
  0.1,
554
562
  ),
555
563
  ),
564
+ focus-background: (
565
+ contrast-color: (
566
+ 'primary',
567
+ 500,
568
+ 0.1,
569
+ ),
570
+ ),
571
+ active-background: (
572
+ contrast-color: (
573
+ 'primary',
574
+ 500,
575
+ 0.1,
576
+ ),
577
+ ),
556
578
  shadow-color: (
557
579
  contrast-color: (
558
580
  'primary',
@@ -564,15 +586,17 @@ $indigo-flat-button-dark: extend(
564
586
  );
565
587
 
566
588
  /// @type {Map}
567
- /// @prop {Map} border-color [contrast-color: ('primary', 500, 0.60)] - The border color of an outlined button.
568
- /// @prop {Map} hover-background [contrast-color: ('primary', 500, 0.10)] - The hover background color of a flat button.
569
- /// @prop {Map} hover-border-color [contrast-color: ('primary', 500, 0.80)] - The hover border color of a outlined button.
570
- /// @prop {Map} focus-hover-background [contrast-color: ('primary', 500, 0.10] - The background color on focus hovered state of the button.
571
- /// @prop {Map} focus-border-color [contrast-color: ('primary', 500, 0.60)] - The focus border color of a outlined button.
572
- /// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 500, 0.60)] - The focus-visible border color of a outlined button.
573
- /// @prop {Map} active-border-color [contrast-color: ('primary', 500, 0.80))] - The active border color of a outlined button.
574
- /// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.20)] - The shadow color of a flat button.
575
- /// @prop {Map} disabled-border-color [contrast-color: ('primary', 500, 0.20)] - The disabled focused border color of an outlined button.
589
+ /// @prop {Map} border-color [contrast-color: ('primary', 500, 0.6)] - The border color of an outlined button.
590
+ /// @prop {Map} hover-background [contrast-color: ('primary', 500, 0.1)] - The hover background color of an outlined button.
591
+ /// @prop {Map} hover-border-color [contrast-color: ('primary', 500, 0.8)] - The hover border color of an outlined button.
592
+ /// @prop {Map} focus-hover-background [contrast-color: ('primary', 500, 0.1)] - The background color on focus hovered state of an outlined button.
593
+ /// @prop {Map} focus-background [contrast-color: ('primary', 500, 0.1)] - The background color of an outlined button when focused with click and keyboard.
594
+ /// @prop {Map} focus-border-color [contrast-color: ('primary', 500, 0.6)] - The focus border color of an outlined button.
595
+ /// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 500, 0.6)] - The focus-visible border color of an outlined button.
596
+ /// @prop {Map} active-background [contrast-color: ('primary', 500, 0.1)] - The active background color of an outlined button.
597
+ /// @prop {Map} active-border-color [contrast-color: ('primary', 500, 0.8)] - The active border color of an outlined button.
598
+ /// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of an outlined button.
599
+ /// @prop {Map} disabled-border-color [contrast-color: ('primary', 500, 0.2)] - The disabled focused border color of an outlined button.
576
600
  /// @requires {Map} $indigo-outlined-button
577
601
  /// @requires {Map} $indigo-base-button-dark
578
602
  $indigo-outlined-button-dark: extend(
@@ -607,6 +631,13 @@ $indigo-outlined-button-dark: extend(
607
631
  0.1,
608
632
  ),
609
633
  ),
634
+ focus-background: (
635
+ contrast-color: (
636
+ 'primary',
637
+ 500,
638
+ 0.1,
639
+ ),
640
+ ),
610
641
  focus-border-color: (
611
642
  contrast-color: (
612
643
  'primary',
@@ -621,6 +652,13 @@ $indigo-outlined-button-dark: extend(
621
652
  0.6,
622
653
  ),
623
654
  ),
655
+ active-background: (
656
+ contrast-color: (
657
+ 'primary',
658
+ 500,
659
+ 0.1,
660
+ ),
661
+ ),
624
662
  active-border-color: (
625
663
  contrast-color: (
626
664
  'primary',
@@ -330,6 +330,7 @@ $indigo-base-icon-button-dark: (
330
330
 
331
331
  /// Generates a dark indigo flat icon button schema.
332
332
  /// @prop {Map} focus-foreground [contrast-color: ('primary', 500)] - The focus text color of the indigo icon button.
333
+ /// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of a flat button.
333
334
  /// @type {Map}
334
335
  /// @requires {Map} $indigo-flat-icon-button
335
336
  $indigo-flat-icon-button-dark: extend(
@@ -343,6 +344,13 @@ $indigo-flat-icon-button-dark: extend(
343
344
  0.8,
344
345
  ),
345
346
  ),
347
+ shadow-color: (
348
+ contrast-color: (
349
+ 'primary',
350
+ 500,
351
+ 0.2,
352
+ ),
353
+ ),
346
354
  )
347
355
  );
348
356
 
@@ -350,6 +358,7 @@ $indigo-flat-icon-button-dark: extend(
350
358
  /// @type {Map}
351
359
  /// @prop {Map} border-color [contrast-color: ('primary', 500, 0.6)] - The border color of the indigo outlined icon button.
352
360
  /// @prop {Map} disabled-border-color [contrast-color: ('primary', 500, 0.2)] - The disabled border color of the indigo outlined icon button.
361
+ /// @prop {Map} shadow-color [contrast-color: ('primary', 500, 0.2)] - The shadow color of the indigo outlined icon button.
353
362
  /// @requires {Map} $indigo-outlined-icon-button
354
363
  $indigo-outlined-icon-button-dark: extend(
355
364
  $indigo-outlined-icon-button,
@@ -369,6 +378,13 @@ $indigo-outlined-icon-button-dark: extend(
369
378
  0.2,
370
379
  ),
371
380
  ),
381
+ shadow-color: (
382
+ contrast-color: (
383
+ 'primary',
384
+ 500,
385
+ 0.2,
386
+ ),
387
+ ),
372
388
  )
373
389
  );
374
390