igniteui-theming 23.2.2 → 23.3.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": "23.2.2",
3
+ "version": "23.3.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": {
@@ -358,7 +358,7 @@
358
358
  $name: #{config.variable-prefix() + '-' + 'calendar'};
359
359
  $selector: (
360
360
  #{config.element-prefix() + '-' + 'calendar'},
361
- #{config.element-prefix() + '-' + 'date-picker'},
361
+ #{'.' + config.element-prefix() + '-' + 'date-picker'},
362
362
  #{config.element-prefix() + '-' + 'month-picker'},
363
363
  '.igx-days-view--standalone',
364
364
  '.igx-calendar-view--standalone'
@@ -26,6 +26,7 @@
26
26
  /// @param {Color} $disabled-border-color [null] - The disabled chip border color.
27
27
  ///
28
28
  /// @param {Color} $ghost-background [null] - The chip ghost background color.
29
+ /// @param {Color} $ghost-text-color [null] - The chip ghost text color.
29
30
  /// @param {box-shadow} $ghost-shadow [null] - The chip ghost shadow.
30
31
  ///
31
32
  /// @param {Color} $hover-text-color [null] - The chip text hover color.
@@ -65,6 +66,7 @@
65
66
  $background: null,
66
67
  $border-color: null,
67
68
  $ghost-background: null,
69
+ $ghost-text-color: null,
68
70
 
69
71
  $disabled-text-color: null,
70
72
  $disabled-background: null,
@@ -114,6 +116,10 @@
114
116
  $text-color: adaptive-contrast(var(--background));
115
117
  }
116
118
 
119
+ @if not($ghost-text-color) and $ghost-background {
120
+ $ghost-text-color: adaptive-contrast(var(--ghost-background));
121
+ }
122
+
117
123
  @if not($border-color) and $background {
118
124
  $border-color: var(--background);
119
125
  }
@@ -222,6 +228,7 @@
222
228
  background: $background,
223
229
  border-color: $border-color,
224
230
  ghost-background: $ghost-background,
231
+ ghost-text-color: $ghost-text-color,
225
232
 
226
233
  disabled-text-color: $disabled-text-color,
227
234
  disabled-background: $disabled-background,
@@ -112,6 +112,7 @@ $dark-bootstrap-chip: extend(
112
112
  /// @prop {Map} focus-outline-color [contrast-color: ('gray', 50, .2)] - The chip focus outline color.
113
113
  ///
114
114
  /// @prop {Map} ghost-background [color: ('gray', 100)] - The chip ghost background color.
115
+ /// @prop {Map} ghost-text-color [contrast-color: ('gray', 100, .8)] - The chip ghost text color.
115
116
  ///
116
117
  /// @prop {Map} disabled-text-color [contrast-color: ('gray', 50, .2)] - The disabled chip text color.
117
118
  /// @prop {Map} disabled-background [contrast-color: ('gray', 50, .05)] - The disabled chip background color.
@@ -174,6 +175,14 @@ $dark-indigo-chip: extend(
174
175
  ),
175
176
  ),
176
177
 
178
+ ghost-text-color: (
179
+ contrast-color: (
180
+ 'gray',
181
+ 100,
182
+ 0.8,
183
+ ),
184
+ ),
185
+
177
186
  border-color: (
178
187
  color: (
179
188
  'gray',
@@ -29,6 +29,7 @@
29
29
  /// @prop {Map} cell-selected-within-background [color: ('secondary', 'A400')] - The background of the selected cell inside a selected row/column.
30
30
  /// @prop {Map} cell-selected-within-text-color [contrast-color: ('secondary', 'A400')] - The color of the selected cell inside a selected row/column.
31
31
  /// @prop {Map} grouparea-background [color: ('gray', 50)] - The grid group area background color.
32
+ /// @prop {Map} grouparea-color [color: ('gray', 500)] - The grid group area color.
32
33
  /// @prop {Map} group-row-background [color: ('gray', 50)] - The grid group row background color.
33
34
  /// @prop {Map} group-row-selected-background [color: ('gray', 100)] - The drop area background on drop color.
34
35
  $base-dark-grid: (
@@ -172,6 +173,13 @@ $base-dark-grid: (
172
173
  ),
173
174
  ),
174
175
 
176
+ grouparea-color: (
177
+ color: (
178
+ 'gray',
179
+ 500,
180
+ ),
181
+ ),
182
+
175
183
  group-row-background: (
176
184
  color: (
177
185
  'gray',
@@ -190,7 +198,6 @@ $base-dark-grid: (
190
198
  /// Generates a dark material grid schema based on a mix of $material-grid and $base-dark-grid.
191
199
  /// @type {Map}
192
200
  /// @prop {Map} header-text-color [color: ('gray', 800, .7)] - The table header text color.
193
- /// @prop {Map} grouparea-color [color: ('gray', 500)] - The grid group area color.
194
201
  /// @prop {Map} group-label-column-name-text [color: ('primary', 500)] - The grid group row column name text color.
195
202
  /// @prop {Map} group-label-icon [color: ('primary', 500)] - The grid group row icon color.
196
203
  /// @prop {Map} group-count-text-color [color: ('gray', 600)] - The grid group row cont badge text color.
@@ -209,13 +216,6 @@ $dark-material-grid: extend(
209
216
  ),
210
217
  ),
211
218
 
212
- grouparea-color: (
213
- color: (
214
- 'gray',
215
- 500,
216
- ),
217
- ),
218
-
219
219
  group-label-column-name-text: (
220
220
  color: (
221
221
  'primary',
@@ -260,7 +260,6 @@ $dark-material-grid: extend(
260
260
  /// @prop {Map} row-selected-hover-text-color [contrast-color: ('gray', 200)] - The selected row hover text color.
261
261
  /// @prop {Map} cell-selected-within-background [color: ('gray', 200)] - The background of the selected cell inside a selected row/column.
262
262
  /// @prop {Map} cell-selected-within-text-color [contrast-color: ('gray', 200)] - The color of the selected cell inside a selected row/column.
263
- /// @prop {Map} grouparea-color [color: ('gray', 500)] - The grid group area color.
264
263
  /// @prop {Map} group-row-background [color: ('gray', 100, .5)] - The grid group row background color.
265
264
  /// @prop {Map} group-count-text-color [color: ('gray', 600)] - The grid group row cont badge text color.
266
265
  /// @requires $fluent-grid
@@ -326,13 +325,6 @@ $dark-fluent-grid: extend(
326
325
  ),
327
326
  ),
328
327
 
329
- grouparea-color: (
330
- color: (
331
- 'gray',
332
- 500,
333
- ),
334
- ),
335
-
336
328
  group-row-background: (
337
329
  color: (
338
330
  'gray',
@@ -366,7 +358,6 @@ $dark-fluent-grid: extend(
366
358
  /// @prop {Map} content-background [color: ('gray', 50)] - The table body background color.
367
359
  /// @prop {Map} drop-area-background [color: ('gray', 100, .5)] - The drop area background color.
368
360
  /// @prop {Map} grouparea-background [color: 'surface'] - The grid group area background color.
369
- /// @prop {Map} grouparea-color [contrast-color: 'surface'] - The grid group area color.
370
361
  /// @prop {Map} summaries-patch-background [color: ('gray', 100)] - The leading summaries patch backround. Used in hierarchical grids.
371
362
  /// @requires $bootstrap-grid
372
363
  /// @requires $base-dark-grid
@@ -14,6 +14,7 @@
14
14
  /// @prop {Map} background [color: ('gray', 200)] - The chip background color.
15
15
  /// @prop {Color} border-color [transparent] - The chip border color.
16
16
  /// @prop {Map} ghost-background [color: ('gray', 400))] - The chip ghost background color.
17
+ /// @prop {Map} ghost-text-color [contrast-color: ('gray', 400))] - The chip ghost text color.
17
18
  /// @prop {Map} hover-text-color [contrast-color: ('gray', 400)] - The chip text hover color.
18
19
  /// @prop {Map} hover-background [color: ('gray', 400)] - The chip hover background color.
19
20
  /// @prop {Color} hover-border-color [transparent] - The chip hover border color.
@@ -63,6 +64,13 @@ $light-chip: extend(
63
64
  ),
64
65
  ),
65
66
 
67
+ ghost-text-color: (
68
+ contrast-color: (
69
+ 'gray',
70
+ 400,
71
+ ),
72
+ ),
73
+
66
74
  hover-text-color: (
67
75
  contrast-color: (
68
76
  'gray',
@@ -235,6 +243,7 @@ $material-chip: extend(
235
243
  /// @type {Map}
236
244
  /// @prop {Map} text-color [color: ('gray', 700)] - The chip text color.
237
245
  /// @prop {Map} ghost-background [color: ('primary', 500)] - The chip ghost background color.
246
+ /// @prop {Map} ghost-text-color [contrast-color: ('primary', 500)] - The chip ghost text color.
238
247
  /// @prop {Map} hover-background [color: ('gray', 200)] - The chip hover background color.
239
248
  /// @prop {Map} hover-text-color [contrast-color: ('gray', 200)] - The chip text hover color.
240
249
  /// @prop {Map} selected-text-color [contrast-color: ('primary', 700))] - The selected chip text color.
@@ -266,6 +275,13 @@ $fluent-chip: extend(
266
275
  ),
267
276
  ),
268
277
 
278
+ ghost-text-color: (
279
+ contrast-color: (
280
+ 'primary',
281
+ 500,
282
+ ),
283
+ ),
284
+
269
285
  hover-text-color: (
270
286
  contrast-color: (
271
287
  'gray',
@@ -468,6 +484,7 @@ $bootstrap-chip: extend(
468
484
  /// @prop {Map} focus-selected-outline-color [color: ('primary', 400, .5)] - The selected chip focus outline color.
469
485
  ///
470
486
  /// @prop {Map} ghost-background [color: ('gray', 200)] - The chip ghost background color.
487
+ /// @prop {Map} ghost-text-color [color: ('gray', 700)] - The chip ghost text color.
471
488
  ///
472
489
  /// @prop {Map} disabled-text-color [color: ('gray', 900, .2)] - The disabled chip text color.
473
490
  /// @prop {Map} disabled-background [contrast-color: ('gray', 900)] - The disabled chip background color.
@@ -628,6 +645,13 @@ $indigo-chip: extend(
628
645
  ),
629
646
  ),
630
647
 
648
+ ghost-text-color: (
649
+ color: (
650
+ 'gray',
651
+ 700,
652
+ ),
653
+ ),
654
+
631
655
  disabled-text-color: (
632
656
  color: (
633
657
  'gray',
@@ -49,7 +49,7 @@
49
49
  /// @prop {Map} resize-line-color [color: ('secondary', 500)] - The table header resize line color.
50
50
  /// @prop {Map} drop-indicator-color [color: ('secondary', 500)] - The color of the drop indicator.
51
51
  /// @prop {Map} grouparea-background [color: ('gray', 100)] - The grid group area background color.
52
- /// @prop {Map} grouparea-color [color: ('gray', 500)] - The grid group area color.
52
+ /// @prop {Map} grouparea-color [color: ('gray', 600)] - The grid group area color.
53
53
  /// @prop {Map} group-row-background [color: ('gray', 100)] - The grid group row background color.
54
54
  /// @prop {Map} group-row-selected-background [color: ('gray', 200)] - The drop area background on drop color.
55
55
  /// @prop {Map} active-expand-icon-color [color: ('gray', 500)] - The drop area background on drop color.
@@ -97,7 +97,7 @@ $light-grid: extend(
97
97
  grouparea-color: (
98
98
  color: (
99
99
  'gray',
100
- 500,
100
+ 600,
101
101
  ),
102
102
  ),
103
103
 
@@ -611,7 +611,6 @@ $light-grid: extend(
611
611
  /// @prop {Map} row-selected-hover-background [color: ('secondary', 100)] - The selected row hover background.
612
612
  /// @prop {Map} row-selected-hover-text-color [contrast-color: ('secondary', 100)] - The selected row hover text color.
613
613
  /// @prop {Map} cell-active-border-color [color: ('secondary', 500)] - The active(focused) cell border color.
614
- /// @prop {Map} grouparea-color [color: ('gray', 600)] - The grid group area color.
615
614
  /// @prop {Map} group-label-column-name-text [color: ('primary', 800)] - The grid group row column name text color.
616
615
  /// @prop {Map} group-label-icon [color: ('primary', 800)] - The grid group row icon color.
617
616
  /// @prop {Map} group-count-text-color [color: ('gray', 700)] - The grid group row cont badge text color.
@@ -692,13 +691,6 @@ $material-grid: extend(
692
691
  ),
693
692
  ),
694
693
 
695
- grouparea-color: (
696
- color: (
697
- 'gray',
698
- 600,
699
- ),
700
- ),
701
-
702
694
  group-label-column-name-text: (
703
695
  color: (
704
696
  'primary',
@@ -740,7 +732,6 @@ $material-grid: extend(
740
732
  /// @prop {Map} pinned-border-color [color: ('gray', 200)] - The color of the pinned border.
741
733
  /// @prop {Map} cell-active-border-color [color: ('primary', 100)] - The active(focused) cell border color.
742
734
  /// @prop {Map} grouparea-background [color: 'surface'] - The grid group area background color.
743
- /// @prop {Map} grouparea-color [color: ('gray', 600)] - The grid group area color.
744
735
  /// @prop {Map} group-row-background [color: ('gray', 50)] - The grid group row background color.
745
736
  /// @prop {Map} group-row-selected-background [color: ('gray', 100)] - The drop area background on drop color.
746
737
  /// @prop {Map} group-count-text-color [color: ('gray', 700)] - The grid group row cont badge text color.
@@ -838,13 +829,6 @@ $fluent-grid: extend(
838
829
  color: 'surface',
839
830
  ),
840
831
 
841
- grouparea-color: (
842
- color: (
843
- 'gray',
844
- 600,
845
- ),
846
- ),
847
-
848
832
  group-row-background: (
849
833
  color: (
850
834
  'gray',
@@ -1127,6 +1111,7 @@ $bootstrap-grid: extend(
1127
1111
  /// @prop {Map} cell-editing-background [color: ('gray' 200)] - The background for the cell in editing mode.
1128
1112
  /// @prop {Map} row-selected-hover-text-color [color: ('gray', 900)] - The selected row hover text color.
1129
1113
  /// @prop {Map} grouparea-background [color: ('surface', 500)] - The grid group area background color.
1114
+ /// @prop {Map} grouparea-color [color: ('gray', 500)] - The grid group area color.
1130
1115
  /// @prop {Map} drop-area-background [color: ('gray', 200)] - The drop area background color.
1131
1116
  /// @prop {Map} row-hover-text-color [color: ('gray', 900)] - The hover row text color.
1132
1117
  /// @prop {Map} row-selected-text-color [color: ('gray', 900)] - The selected row text color.
@@ -1433,6 +1418,13 @@ $indigo-grid: extend(
1433
1418
  ),
1434
1419
  ),
1435
1420
 
1421
+ grouparea-color: (
1422
+ color: (
1423
+ 'gray',
1424
+ 500,
1425
+ ),
1426
+ ),
1427
+
1436
1428
  drop-area-background: (
1437
1429
  color: (
1438
1430
  'gray',