igniteui-theming 23.2.3 → 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 +1 -1
- package/sass/themes/components/calendar/_calendar-theme.scss +1 -1
- package/sass/themes/components/chip/_chip-theme.scss +7 -0
- package/sass/themes/schemas/components/dark/_chip.scss +9 -0
- package/sass/themes/schemas/components/light/_chip.scss +24 -0
- package/tailwind/utilities/bootstrap.css +1 -1
- package/tailwind/utilities/fluent.css +1 -1
- package/tailwind/utilities/indigo.css +1 -1
- package/tailwind/utilities/material.css +1 -1
package/package.json
CHANGED
|
@@ -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',
|
|
@@ -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',
|