igniteui-theming 5.0.0-beta.3 → 5.0.0-beta.4

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": "5.0.0-beta.3",
3
+ "version": "5.0.0-beta.4",
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": {
@@ -11,7 +11,8 @@
11
11
 
12
12
  /// @type {Map}
13
13
  /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the button.
14
- /// @prop {Color} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
14
+ /// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
15
+ /// @prop {Map} disabled-icon-color [color: ('gray', 500)] - The disabled icon color of the button.
15
16
  $material-base-button-dark: (
16
17
  disabled-background: (
17
18
  color: (
@@ -25,6 +26,12 @@ $material-base-button-dark: (
25
26
  500,
26
27
  ),
27
28
  ),
29
+ disabled-icon-color: (
30
+ color: (
31
+ 'gray',
32
+ 500,
33
+ ),
34
+ ),
28
35
  );
29
36
 
30
37
  /// @type {Map}
@@ -84,6 +91,7 @@ $dark-material-button: (
84
91
  /// @prop {Map} focus-hover-background [color: ('gray', 50)] - The background color on focus hovered state of the button.
85
92
  /// @prop {Map} disabled-background [color: ('gray', 50)] - The disabled background color of the button.
86
93
  /// @prop {Map} disabled-foreground [color: ('gray', 200)] - The disabled foreground color of the button.
94
+ /// @prop {Map} disabled-icon-color [color: ('gray', 200)] - The disabled icon color of the button.
87
95
  $fluent-base-button-dark: (
88
96
  focus-visible-border-color: (
89
97
  color: (
@@ -115,6 +123,12 @@ $fluent-base-button-dark: (
115
123
  200,
116
124
  ),
117
125
  ),
126
+ disabled-icon-color: (
127
+ color: (
128
+ 'gray',
129
+ 200,
130
+ ),
131
+ ),
118
132
  );
119
133
 
120
134
  /// @type {Map}
@@ -184,6 +198,8 @@ $fluent-outlined-button-dark: extend(
184
198
  /// @type {Map}
185
199
  /// @prop {Map} background [color: ('primary', 300)] - The background color of an contained button.
186
200
  /// @prop {Map} foreground [contrast-color: ('primary', 300)] - The idle text color of a contained button.
201
+ /// @prop {Map} icon-color [contrast-color: ('primary', 300)] - The idle icon color of the button.
202
+ /// @prop {Map} icon-color-hover [contrast-color: ('primary', 300)] - The hover icon color of the button.
187
203
  /// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 300)] - The focus-visible border color of a contained button.
188
204
  /// @prop {Map} hover-background [color: ('primary', 200)] - The hover background of a contained button.
189
205
  /// @prop {Map} hover-foreground [contrast-color: ('primary', 500)] - The hover text color of a contained button.
@@ -213,6 +229,18 @@ $fluent-contained-button-dark: extend(
213
229
  300,
214
230
  ),
215
231
  ),
232
+ icon-color: (
233
+ contrast-color: (
234
+ 'primary',
235
+ 300,
236
+ ),
237
+ ),
238
+ icon-color-hover: (
239
+ contrast-color: (
240
+ 'primary',
241
+ 300,
242
+ ),
243
+ ),
216
244
  hover-background: (
217
245
  color: (
218
246
  'primary',
@@ -285,6 +313,8 @@ $fluent-contained-button-dark: extend(
285
313
  /// @type {Map}
286
314
  /// @prop {Map} background [color: ('primary', 300)] - The background color of an contained button.
287
315
  /// @prop {Map} foreground [contrast-color: ('primary', 300)] - The idle text color of a contained button.
316
+ /// @prop {Map} icon-color [contrast-color: ('primary', 300)] - The idle icon color of the button.
317
+ /// @prop {Map} icon-color-hover [contrast-color: ('primary', 300)] - The hover icon color of the button.
288
318
  /// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 300)] - The focus-visible border color of a contained button.
289
319
  /// @prop {Map} active-border-color [color: ('primary', 200)] - The active border color of a contained button.
290
320
  /// @prop {Map} hover-background [color: ('primary', 200)] - The hover background of a contained button.
@@ -315,6 +345,18 @@ $fluent-fab-button-dark: extend(
315
345
  300,
316
346
  ),
317
347
  ),
348
+ icon-color: (
349
+ contrast-color: (
350
+ 'primary',
351
+ 300,
352
+ ),
353
+ ),
354
+ icon-color-hover: (
355
+ contrast-color: (
356
+ 'primary',
357
+ 300,
358
+ ),
359
+ ),
318
360
  hover-background: (
319
361
  color: (
320
362
  'primary',
@@ -20,6 +20,7 @@
20
20
  /// @prop {Color} disabled-border-color [transparent] - The disabled border color of the button.
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
+ /// @prop {Map} disabled-icon-color [color: ('gray', 500)] - The disabled icon color of the button.
23
24
  /// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the button.
24
25
  /// @prop {Number} default-size [1] - The default size used for the button component.
25
26
  $light-base-button: (
@@ -42,6 +43,12 @@ $light-base-button: (
42
43
  500,
43
44
  ),
44
45
  ),
46
+ disabled-icon-color: (
47
+ color: (
48
+ 'gray',
49
+ 500,
50
+ ),
51
+ ),
45
52
  size: (
46
53
  sizable: (
47
54
  rem(24px),
@@ -173,6 +180,8 @@ $material-base-button: $light-base-button;
173
180
 
174
181
  /// @type {Map}
175
182
  /// @prop {Map} foreground [color: ('secondary', 500)] - The idle text color of a flat button.
183
+ /// @prop {Map} icon-color [color: ('secondary', 500)] - The idle icon color of the button.
184
+ /// @prop {Map} icon-color-hover [color: ('secondary', 500)] - The hover icon color of the button.
176
185
  /// @prop {Map} hover-background [color: ('secondary', 500, .08)] - The hover background color of a flat button.
177
186
  /// @prop {Map} hover-foreground [color: ('secondary', 500)] - The hover text color of a flat button.
178
187
  /// @prop {Map} focus-background [color: ('secondary', 400, .16)] - The focus background color of a flat button.
@@ -196,6 +205,18 @@ $material-flat-button: extend(
196
205
  500,
197
206
  ),
198
207
  ),
208
+ icon-color: (
209
+ color: (
210
+ 'secondary',
211
+ 500,
212
+ ),
213
+ ),
214
+ icon-color-hover: (
215
+ color: (
216
+ 'secondary',
217
+ 500,
218
+ ),
219
+ ),
199
220
  hover-background: (
200
221
  color: (
201
222
  'secondary',
@@ -307,6 +328,8 @@ $material-outlined-button: extend(
307
328
 
308
329
  /// @type {Map}
309
330
  /// @prop {Map} foreground [contrast-color: ('secondary', 500)] - The idle text color of a contained button.
331
+ /// @prop {Map} icon-color [color: ('secondary', 500)] - The idle icon color of the button.
332
+ /// @prop {Map} icon-color-hover [color: ('secondary', 500)] - The hover icon color of the button.
310
333
  /// @prop {Map} hover-background [color: ('secondary', 400)] - The hover background color of a flat button.
311
334
  /// @prop {Map} hover-foreground [contrast-color: ('secondary', 400)] - The hover text color of a contained button.
312
335
  /// @prop {Map} focus-background [color: ('secondary', 300)] - The focus background color of a flat button.
@@ -329,6 +352,18 @@ $material-contained-button: extend(
329
352
  500,
330
353
  ),
331
354
  ),
355
+ icon-color: (
356
+ contrast-color: (
357
+ 'secondary',
358
+ 500,
359
+ ),
360
+ ),
361
+ icon-color-hover: (
362
+ contrast-color: (
363
+ 'secondary',
364
+ 400,
365
+ ),
366
+ ),
332
367
  hover-background: (
333
368
  color: (
334
369
  'secondary',
@@ -436,6 +471,8 @@ $material-button: (
436
471
  /// @requires {Map} $light-base-button
437
472
  /// @requires {Map} $flat-elevation-button
438
473
  /// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of the button.
474
+ /// @prop {Map} icon-color [color: ('gray', 900)] - The idle icon color of the button.
475
+ /// @prop {Map} icon-color-hover [color: ('gray', 900)] - The hover icon color of the button.
439
476
  /// @prop {Map} focus-visible-border-color [color: ('gray', 700)] - The focus-visible border color of the button.
440
477
  /// @prop {Map} hover-foreground [color: ('gray', 900)] - The hover text color of the button.
441
478
  /// @prop {Color} focus-background [transparent] - The focus text color of the button.
@@ -444,7 +481,6 @@ $material-button: (
444
481
  /// @prop {Map} focus-hover-foreground [color: ('gray', 900)] - The focus-hover text color of the button.
445
482
  /// @prop {Color} focus-visible-background [transparent] - The focus-visible text color of the button.
446
483
  /// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the button.
447
- /// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the button.
448
484
  /// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for outlined button.
449
485
  /// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the button.
450
486
  /// @prop {Number} default-size [2] - The default size used for the button component.
@@ -458,6 +494,18 @@ $fluent-base-button: extend(
458
494
  900,
459
495
  ),
460
496
  ),
497
+ icon-color: (
498
+ color: (
499
+ 'gray',
500
+ 900,
501
+ ),
502
+ ),
503
+ icon-color-hover: (
504
+ color: (
505
+ 'gray',
506
+ 900,
507
+ ),
508
+ ),
461
509
  focus-visible-border-color: (
462
510
  color: (
463
511
  'gray',
@@ -502,12 +550,6 @@ $fluent-base-button: extend(
502
550
  100,
503
551
  ),
504
552
  ),
505
- disabled-foreground: (
506
- color: (
507
- 'gray',
508
- 500,
509
- ),
510
- ),
511
553
  border-radius: (
512
554
  border-radius: (
513
555
  rem(2px),
@@ -634,6 +676,8 @@ $fluent-outlined-button: extend(
634
676
  /// @prop {Map} focus-visible-border-color [contrast-color: ('primary', 900)] - The focus-visible border color of a contained button.
635
677
  /// @prop {Map} background [color: ('primary', 500)] - The background color of an contained button.
636
678
  /// @prop {Map} foreground [contrast-color: ('primary', 900)] - The idle text color of a contained button.
679
+ /// @prop {Map} icon-color [contrast-color: ('primary', 900)] - The idle icon color of the button.
680
+ /// @prop {Map} icon-color-hover [contrast-color: ('primary', 900)] - The hover icon color of the button.
637
681
  /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background of a contained button.
638
682
  /// @prop {Map} hover-foreground [contrast-color: ('primary', 900)] - The hover text color of a contained button.
639
683
  /// @prop {Map} focus-background [color: ('primary', 500)] - The focus background color of a contained button.
@@ -673,6 +717,18 @@ $fluent-contained-button: extend(
673
717
  900,
674
718
  ),
675
719
  ),
720
+ icon-color: (
721
+ contrast-color: (
722
+ 'primary',
723
+ 900,
724
+ ),
725
+ ),
726
+ icon-color-hover: (
727
+ contrast-color: (
728
+ 'primary',
729
+ 900,
730
+ ),
731
+ ),
676
732
  hover-background: (
677
733
  color: (
678
734
  'primary',
@@ -789,6 +845,7 @@ $fluent-button: (
789
845
  /// @type {Map}
790
846
  /// @prop {Map} disabled-background [color: ('primary', 50)] - The disabled background color of the button.
791
847
  /// @prop {Map} disabled-foreground [color: ('primary', 200)] - The disabled foreground color of the button.
848
+ /// @prop {Map} disabled-icon-color [color: ('primary', 200)] - The disabled icon color of the button.
792
849
  /// @prop {Map} shadow-color [color: ('primary', 200, .5)] - The shadow color of an outlined button.
793
850
  /// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the button.
794
851
  /// @prop {Number} default-size [2] - The default size used for the button component.
@@ -798,16 +855,22 @@ $bootstrap-base-button: extend(
798
855
  $light-base-button,
799
856
  $flat-elevation-button,
800
857
  (
858
+ disabled-background: (
859
+ color: (
860
+ 'primary',
861
+ 50,
862
+ ),
863
+ ),
801
864
  disabled-foreground: (
802
865
  color: (
803
866
  'primary',
804
867
  200,
805
868
  ),
806
869
  ),
807
- disabled-background: (
870
+ disabled-icon-color: (
808
871
  color: (
809
872
  'primary',
810
- 50,
873
+ 200,
811
874
  ),
812
875
  ),
813
876
  shadow-color: (
@@ -830,6 +893,8 @@ $bootstrap-base-button: extend(
830
893
 
831
894
  /// @type {Map}
832
895
  /// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of a flat button.
896
+ /// @prop {Map} icon-color [color: ('primary', 500)] - The idle icon color of the button.
897
+ /// @prop {Map} icon-color-hover [color: ('primary', 800)] - The hover icon color of the button.
833
898
  /// @prop {Color} hover-background [transparent] - The hover background color of a flat button.
834
899
  /// @prop {Map} hover-foreground [color: ('primary', 800)] - The hover text color of a flat button.
835
900
  /// @prop {Color} focus-background [transparent] - The focus background color of a flat button.
@@ -853,6 +918,18 @@ $bootstrap-flat-button: extend(
853
918
  500,
854
919
  ),
855
920
  ),
921
+ icon-color: (
922
+ color: (
923
+ 'primary',
924
+ 500,
925
+ ),
926
+ ),
927
+ icon-color-hover: (
928
+ color: (
929
+ 'primary',
930
+ 800,
931
+ ),
932
+ ),
856
933
  hover-background: transparent,
857
934
  hover-foreground: (
858
935
  color: (
@@ -894,6 +971,8 @@ $bootstrap-flat-button: extend(
894
971
 
895
972
  /// @type {Map}
896
973
  /// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of an outlined button.
974
+ /// @prop {Map} icon-color [color: ('primary', 500)] - The idle icon color of the button.
975
+ /// @prop {Map} icon-color-hover [contrast-color: ('primary', 600)] - The hover icon color of the button.
897
976
  /// @prop {Map} hover-background [color: ('primary', 500)] - The hover background color of an outlined button.
898
977
  /// @prop {Map} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an outlined button.
899
978
  /// @prop {Color} focus-background [transparent] - The focus background color of an outlined button.
@@ -923,6 +1002,18 @@ $bootstrap-outlined-button: extend(
923
1002
  500,
924
1003
  ),
925
1004
  ),
1005
+ icon-color: (
1006
+ color: (
1007
+ 'primary',
1008
+ 500,
1009
+ ),
1010
+ ),
1011
+ icon-color-hover: (
1012
+ contrast-color: (
1013
+ 'primary',
1014
+ 600,
1015
+ ),
1016
+ ),
926
1017
  hover-background: (
927
1018
  color: (
928
1019
  'primary',
@@ -1016,6 +1107,8 @@ $bootstrap-outlined-button: extend(
1016
1107
  /// @type {Map}
1017
1108
  /// @prop {Map} background [color: ('primary', 500)] - The background color of a contained button.
1018
1109
  /// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of a contained button.
1110
+ /// @prop {Map} icon-color [contrast-color: ('primary', 600)] - The idle icon color of the button.
1111
+ /// @prop {Map} icon-color-hover [contrast-color: ('primary', 600)] - The hover icon color of the button.
1019
1112
  /// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of an contained button.
1020
1113
  /// @prop {Color} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of an contained button.
1021
1114
  /// @prop {Map} focus-background [color: ('primary', 500)] - The focus background color of an contained button.
@@ -1044,6 +1137,18 @@ $bootstrap-contained-button: extend(
1044
1137
  600,
1045
1138
  ),
1046
1139
  ),
1140
+ icon-color: (
1141
+ contrast-color: (
1142
+ 'primary',
1143
+ 600,
1144
+ ),
1145
+ ),
1146
+ icon-color-hover: (
1147
+ contrast-color: (
1148
+ 'primary',
1149
+ 600,
1150
+ ),
1151
+ ),
1047
1152
  hover-background: (
1048
1153
  color: (
1049
1154
  'primary',