igniteui-angular 19.1.0-rc.0 → 19.1.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.
Files changed (46) hide show
  1. package/fesm2022/igniteui-angular.mjs +95 -15
  2. package/fesm2022/igniteui-angular.mjs.map +1 -1
  3. package/lib/checkbox/public_api.d.ts +1 -1
  4. package/lib/core/styles/components/combo/_combo-theme.scss +20 -3
  5. package/lib/core/styles/components/grid/_grid-theme.scss +2 -2
  6. package/lib/core/styles/components/input/_input-group-component.scss +18 -0
  7. package/lib/core/styles/components/input/_input-group-theme.scss +78 -1
  8. package/lib/core/styles/components/list/_list-component.scss +5 -0
  9. package/lib/core/styles/components/list/_list-theme.scss +91 -0
  10. package/lib/core/styles/components/progress/circular/_circular-component.scss +6 -0
  11. package/lib/core/styles/components/progress/circular/_circular-theme.scss +35 -15
  12. package/lib/core/styles/components/progress/linear/_linear-theme.scss +8 -17
  13. package/lib/core/styles/components/select/_select-theme.scss +12 -3
  14. package/lib/list/list-item.component.d.ts +19 -1
  15. package/lib/progressbar/progressbar.component.d.ts +30 -4
  16. package/migrations/migration-collection.json +5 -0
  17. package/migrations/update-19_1_1/changes/theme-changes.json +11 -0
  18. package/migrations/update-19_1_1/index.d.ts +3 -0
  19. package/migrations/update-19_1_1/index.js +18 -0
  20. package/package.json +3 -3
  21. package/styles/igniteui-angular-dark.css +1 -1
  22. package/styles/igniteui-angular.css +1 -1
  23. package/styles/igniteui-bootstrap-dark.css +1 -1
  24. package/styles/igniteui-bootstrap-light.css +1 -1
  25. package/styles/igniteui-dark-green.css +1 -1
  26. package/styles/igniteui-fluent-dark-excel.css +1 -1
  27. package/styles/igniteui-fluent-dark-word.css +1 -1
  28. package/styles/igniteui-fluent-dark.css +1 -1
  29. package/styles/igniteui-fluent-light-excel.css +1 -1
  30. package/styles/igniteui-fluent-light-word.css +1 -1
  31. package/styles/igniteui-fluent-light.css +1 -1
  32. package/styles/igniteui-indigo-dark.css +1 -1
  33. package/styles/igniteui-indigo-light.css +1 -1
  34. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  35. package/styles/maps/igniteui-angular.css.map +1 -1
  36. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  37. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  38. package/styles/maps/igniteui-dark-green.css.map +1 -1
  39. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  40. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  41. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  42. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  43. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  44. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  45. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  46. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -1,2 +1,2 @@
1
- export { type LabelPosition, IChangeCheckboxEventArgs } from "./checkbox-base.directive";
1
+ export { LabelPosition, IChangeCheckboxEventArgs } from "./checkbox-base.directive";
2
2
  export * from "./checkbox.component";
@@ -261,7 +261,6 @@
261
261
  }
262
262
  }
263
263
 
264
- %form-group-bundle:not(%form-group-bundle--disabled):hover,
265
264
  %form-group-bundle:not(%form-group-bundle--disabled):focus-within {
266
265
  %igx-combo__toggle-button {
267
266
  color: var-get($theme, 'toggle-button-foreground-focus');
@@ -274,6 +273,14 @@
274
273
  }
275
274
  }
276
275
 
276
+ @if $variant == 'indigo' {
277
+ %form-group-bundle:not(%form-group-bundle--disabled):hover {
278
+ %igx-combo__toggle-button {
279
+ color: var-get($theme, 'toggle-button-foreground-focus');
280
+ }
281
+ }
282
+ }
283
+
277
284
  .igx-input-group--filled {
278
285
  %igx-combo__toggle-button {
279
286
  color: var-get($theme, 'toggle-button-foreground-filled');
@@ -293,8 +300,10 @@
293
300
  }
294
301
 
295
302
  .igx-input-group.igx-input-group--focused:not(.igx-input-group--box) {
296
- %igx-combo__toggle-button {
297
- background: var-get($theme, 'toggle-button-background-focus--border');
303
+ @if $variant != 'fluent' {
304
+ %igx-combo__toggle-button {
305
+ background: var-get($theme, 'toggle-button-background-focus--border');
306
+ }
298
307
  }
299
308
  }
300
309
 
@@ -310,4 +319,12 @@
310
319
  }
311
320
  }
312
321
  }
322
+
323
+ %form-group-bundle {
324
+ &:hover {
325
+ %igx-combo__clear-button {
326
+ color: inherit;
327
+ }
328
+ }
329
+ }
313
330
  }
@@ -1791,8 +1791,8 @@
1791
1791
  %grid-cell--active {
1792
1792
  box-shadow: inset 0 0 0 rem(1px) var-get($theme, 'cell-active-border-color');
1793
1793
 
1794
- %igx-grid__filtering-cell,
1795
- %grid-cell-header {
1794
+ > %igx-grid__filtering-cell,
1795
+ > %grid-cell-header {
1796
1796
  border-inline-end-color: var-get($theme, 'cell-active-border-color');
1797
1797
  border-bottom-color: var-get($theme, 'cell-active-border-color');
1798
1798
  }
@@ -244,6 +244,24 @@
244
244
  }
245
245
  }
246
246
 
247
+ @include m(warning) {
248
+ @include e(label) {
249
+ @extend %form-group-label--warning !optional;
250
+ }
251
+
252
+ @include e(line) {
253
+ @extend %form-group-line--warning !optional;
254
+ }
255
+
256
+ @include e(hint) {
257
+ @extend %form-group-helper--warning !optional;
258
+ }
259
+
260
+ @include e(bundle) {
261
+ @extend %form-group-bundle--warning !optional;
262
+ }
263
+ }
264
+
247
265
  @include m(invalid) {
248
266
  @include e(label) {
249
267
  @extend %form-group-label--error !optional;
@@ -512,6 +512,7 @@
512
512
  }
513
513
 
514
514
  %form-group-display--disabled {
515
+ pointer-events: none;
515
516
  user-select: none;
516
517
  color: var-get($theme, 'disabled-text-color') !important;
517
518
 
@@ -613,6 +614,13 @@
613
614
  caret-color: initial;
614
615
  }
615
616
 
617
+ %form-group-bundle--warning {
618
+ &::after {
619
+ border-block-end-color: var-get($theme, 'warning-secondary-color');
620
+ }
621
+ caret-color: initial;
622
+ }
623
+
616
624
  %form-group-bundle--error {
617
625
  &::after {
618
626
  border-block-end-color: var-get($theme, 'error-secondary-color');
@@ -803,6 +811,25 @@
803
811
  &::after {
804
812
  display: none;
805
813
  }
814
+
815
+ &:hover {
816
+ %form-group-bundle-start {
817
+ border-color: var-get($theme, 'hover-border-color');
818
+ }
819
+
820
+ %igx-input-group__filler {
821
+ border-color: var-get($theme, 'hover-border-color');
822
+ }
823
+
824
+ %igx-input-group__notch {
825
+ border-block-start-color: var-get($theme, 'hover-border-color');
826
+ border-block-end-color: var-get($theme, 'hover-border-color');
827
+ }
828
+
829
+ %form-group-bundle-end {
830
+ border-color: var-get($theme, 'hover-border-color');
831
+ }
832
+ }
806
833
  }
807
834
 
808
835
  %form-group-bundle-border--disabled {
@@ -981,6 +1008,21 @@
981
1008
  }
982
1009
  }
983
1010
 
1011
+ %form-group-label--focused-border:not(:is(
1012
+ %form-group-border--error,
1013
+ %form-group-border--warning,
1014
+ %form-group-border--success))
1015
+ {
1016
+ &:hover {
1017
+ %form-group-bundle-start,
1018
+ %form-group-bundle-end,
1019
+ %igx-input-group__filler,
1020
+ %igx-input-group__notch {
1021
+ border-color: var-get($theme, 'focused-border-color');
1022
+ }
1023
+ }
1024
+ }
1025
+
984
1026
  %form-group-label--float-border {
985
1027
  --label-position: #{sizable(18px, 22px, 26px)};
986
1028
 
@@ -1064,6 +1106,10 @@
1064
1106
  color: var-get($theme, 'focused-secondary-color');
1065
1107
  }
1066
1108
 
1109
+ %form-group-label--warning {
1110
+ color: var-get($theme, 'warning-secondary-color');
1111
+ }
1112
+
1067
1113
  %form-group-label--success {
1068
1114
  color: var-get($theme, 'success-secondary-color');
1069
1115
  }
@@ -1305,10 +1351,19 @@
1305
1351
  %igx-input-group__filler {
1306
1352
  border-block-color: var-get($theme, 'success-secondary-color');
1307
1353
  }
1354
+
1355
+ %form-group-bundle--border:hover {
1356
+ %form-group-bundle-start,
1357
+ %form-group-bundle-end,
1358
+ %igx-input-group__filler,
1359
+ %igx-input-group__notch {
1360
+ border-color: var-get($theme, 'success-secondary-color');
1361
+ }
1362
+ }
1308
1363
  }
1309
1364
 
1310
1365
  %form-group-line--warning {
1311
- background: var-get($theme, 'error-secondary-color');
1366
+ background: var-get($theme, 'warning-secondary-color');
1312
1367
  }
1313
1368
 
1314
1369
  %form-group-border--warning {
@@ -1328,6 +1383,15 @@
1328
1383
  %igx-input-group__filler {
1329
1384
  border-block-color: var-get($theme, 'warning-secondary-color');
1330
1385
  }
1386
+
1387
+ %form-group-bundle--border:hover {
1388
+ %form-group-bundle-start,
1389
+ %form-group-bundle-end,
1390
+ %igx-input-group__filler,
1391
+ %igx-input-group__notch {
1392
+ border-color: var-get($theme, 'warning-secondary-color');
1393
+ }
1394
+ }
1331
1395
  }
1332
1396
 
1333
1397
  %form-group-line--error {
@@ -1351,6 +1415,15 @@
1351
1415
  %igx-input-group__filler {
1352
1416
  border-block-color: var-get($theme, 'error-secondary-color');
1353
1417
  }
1418
+
1419
+ %form-group-bundle--border:hover {
1420
+ %form-group-bundle-start,
1421
+ %form-group-bundle-end,
1422
+ %igx-input-group__filler,
1423
+ %igx-input-group__notch {
1424
+ border-color: var-get($theme, 'error-secondary-color');
1425
+ }
1426
+ }
1354
1427
  }
1355
1428
 
1356
1429
  %form-group-border--disabled {
@@ -1413,6 +1486,10 @@
1413
1486
  color: var-get($theme, 'success-secondary-color');
1414
1487
  }
1415
1488
 
1489
+ %form-group-helper--warning {
1490
+ color: var-get($theme, 'warning-secondary-color');
1491
+ }
1492
+
1416
1493
  %form-group-helper--error {
1417
1494
  color: var-get($theme, 'error-secondary-color');
1418
1495
  }
@@ -28,6 +28,11 @@
28
28
  @extend %igx-list-item-base--active !optional;
29
29
  }
30
30
 
31
+ // css class `igx-list__item-base--selected
32
+ @include e(item-base, $m: selected) {
33
+ @extend %igx-list-item-base--selected !optional;
34
+ }
35
+
31
36
  // css class 'igx-list__item-right' applied to the panning container shown when the list item is panned left
32
37
  @include e(item-right) {
33
38
  @extend %igx-list-item-pan !optional;
@@ -19,21 +19,27 @@
19
19
  /// @param {Color} $item-background [null] - The list item background color.
20
20
  /// @param {Color} $item-background-hover [null] - The list item hover background color.
21
21
  /// @param {Color} $item-background-active [null] - The active list item background color.
22
+ /// @param {Color} $item-background-selected [null] - The selected list item background color.
22
23
  /// @param {Color} $item-text-color [null] - The list item text color.
23
24
  /// @param {Color} $item-text-color-hover [null] - The list item hover text color.
24
25
  /// @param {Color} $item-text-color-active [null] - The active list item text color.
26
+ /// @param {Color} $item-text-color-selected [null] - The selected list item text color.
25
27
  /// @param {Color} $item-title-color [null] - The list item title color.
26
28
  /// @param {Color} $item-title-color-hover [null] - The list item hover title color.
27
29
  /// @param {Color} $item-title-color-active [null] - The active list item title color.
30
+ /// @param {Color} $item-title-color-selected [null] - The selected list item title color.
28
31
  /// @param {Color} $item-subtitle-color [null] - The list item subtitle color.
29
32
  /// @param {Color} $item-subtitle-color-hover [null] - The list item hover subtitle color.
30
33
  /// @param {Color} $item-subtitle-color-active [null] - The active list item subtitle color.
34
+ /// @param {Color} $item-subtitle-color-selected [null] - The selected list item subtitle color.
31
35
  /// @param {Color} $item-action-color [null] - The list item action color.
32
36
  /// @param {Color} $item-action-color-hover [null] - The list item hover action color.
33
37
  /// @param {Color} $item-action-color-active [null] - The active list item action color.
38
+ /// @param {Color} $item-action-color-selected [null] - The selected list item action color.
34
39
  /// @param {Color} $item-thumbnail-color [null] - The list item thumbnail color.
35
40
  /// @param {Color} $item-thumbnail-color-hover [null] - The list item hover thumbnail color.
36
41
  /// @param {Color} $item-thumbnail-color-active [null] - The active list item thumbnail color.
42
+ /// @param {Color} $item-thumbnail-color-selected [null] - The selected list item thumbnail color.
37
43
  /// @param {List} $border-radius [null] - The border radius used for list component.
38
44
  /// @param {List} $item-border-radius [null] - The border radius used for list item.
39
45
  /// @param {Color} $border-width [null] - The list border width.
@@ -54,21 +60,27 @@
54
60
  $item-background: null,
55
61
  $item-background-hover: null,
56
62
  $item-background-active: null,
63
+ $item-background-selected: null,
57
64
  $item-text-color: null,
58
65
  $item-text-color-hover: null,
59
66
  $item-text-color-active: null,
67
+ $item-text-color-selected: null,
60
68
  $item-title-color: null,
61
69
  $item-title-color-hover: null,
62
70
  $item-title-color-active: null,
71
+ $item-title-color-selected: null,
63
72
  $item-subtitle-color: null,
64
73
  $item-subtitle-color-hover: null,
65
74
  $item-subtitle-color-active: null,
75
+ $item-subtitle-color-selected: null,
66
76
  $item-action-color: null,
67
77
  $item-action-color-hover: null,
68
78
  $item-action-color-active: null,
79
+ $item-action-color-selected: null,
69
80
  $item-thumbnail-color: null,
70
81
  $item-thumbnail-color-hover: null,
71
82
  $item-thumbnail-color-active: null,
83
+ $item-thumbnail-color-selected: null,
72
84
  $border-color: null,
73
85
  $border-width: null,
74
86
  ) {
@@ -120,6 +132,16 @@
120
132
  }
121
133
  }
122
134
 
135
+ @if not($item-background-selected) and $item-background {
136
+ @if meta.type-of($item-background) == 'color' {
137
+ @if luminance($item-background) < .5 {
138
+ $item-background-selected: color.scale($item-background, $lightness: 8%);
139
+ } @else {
140
+ $item-background-selected: color.scale($item-background, $lightness: -8%);
141
+ }
142
+ }
143
+ }
144
+
123
145
  @if not($header-text-color) and $header-background {
124
146
  $header-text-color: text-contrast($header-background);
125
147
  }
@@ -180,28 +202,54 @@
180
202
  $item-text-color-active: text-contrast($item-background-active);
181
203
  }
182
204
 
205
+ @if not($item-text-color-selected) and $item-background-selected {
206
+ $item-text-color-selected: text-contrast($item-background-selected);
207
+ }
208
+
183
209
  @if not($item-title-color-active) and $item-background-active {
184
210
  $item-title-color-active: text-contrast($item-background-active);
185
211
  }
186
212
 
213
+ @if not($item-title-color-selected) and $item-background-selected {
214
+ $item-title-color-selected: text-contrast($item-background-selected);
215
+ }
216
+
187
217
  @if not($item-action-color-active) and $item-background-active {
188
218
  $item-action-color-active: text-contrast($item-background-active);
189
219
  }
190
220
 
221
+ @if not($item-action-color-selected) and $item-background-selected {
222
+ $item-action-color-selected: text-contrast($item-background-selected);
223
+ }
224
+
191
225
  @if not($item-thumbnail-color-active) and $item-background-active {
192
226
  $item-thumbnail-color-active: text-contrast($item-background-active);
193
227
  }
194
228
 
229
+ @if not($item-thumbnail-color-selected) and $item-background-selected {
230
+ $item-thumbnail-color-selected: text-contrast($item-background-selected);
231
+ }
232
+
195
233
  @if not($item-subtitle-color-active) and $item-background-active {
196
234
  @if meta.type-of($item-background-active) == 'color' {
197
235
  $item-subtitle-color-active: rgba(text-contrast($item-background-active), .74);
198
236
  }
199
237
  }
200
238
 
239
+ @if not($item-subtitle-color-selected) and $item-background-selected {
240
+ @if meta.type-of($item-background-selected) == 'color' {
241
+ $item-subtitle-color-selected: rgba(text-contrast($item-background-selected), .74);
242
+ }
243
+ }
244
+
201
245
  @if not($item-subtitle-color-active) and $item-text-color-active {
202
246
  $item-subtitle-color-active: $item-text-color-active;
203
247
  }
204
248
 
249
+ @if not($item-subtitle-color-selected) and $item-text-color-selected {
250
+ $item-subtitle-color-selected: $item-text-color-selected;
251
+ }
252
+
205
253
  @return extend($theme, (
206
254
  name: $name,
207
255
  border-radius: $border-radius,
@@ -212,21 +260,27 @@
212
260
  item-background: $item-background,
213
261
  item-background-hover: $item-background-hover,
214
262
  item-background-active: $item-background-active,
263
+ item-background-selected: $item-background-selected,
215
264
  item-text-color: $item-text-color,
216
265
  item-text-color-hover: $item-text-color-hover,
217
266
  item-text-color-active: $item-text-color-active,
267
+ item-text-color-selected: $item-text-color-selected,
218
268
  item-title-color:$item-title-color,
219
269
  item-title-color-hover:$item-title-color-hover,
220
270
  item-title-color-active:$item-title-color-active,
271
+ item-title-color-selected:$item-title-color-selected,
221
272
  item-subtitle-color: $item-subtitle-color,
222
273
  item-subtitle-color-hover: $item-subtitle-color-hover,
223
274
  item-subtitle-color-active: $item-subtitle-color-active,
275
+ item-subtitle-color-selected: $item-subtitle-color-selected,
224
276
  item-action-color: $item-action-color,
225
277
  item-action-color-hover: $item-action-color-hover,
226
278
  item-action-color-active: $item-action-color-active,
279
+ item-action-color-selected: $item-action-color-selected,
227
280
  item-thumbnail-color: $item-thumbnail-color,
228
281
  item-thumbnail-color-hover: $item-thumbnail-color-hover,
229
282
  item-thumbnail-color-active: $item-thumbnail-color-active,
283
+ item-thumbnail-color-selected: $item-thumbnail-color-selected,
230
284
  border-color: $border-color,
231
285
  border-width: $border-width,
232
286
  theme: map.get($schema, '_meta', 'theme'),
@@ -423,6 +477,12 @@
423
477
  }
424
478
  }
425
479
 
480
+ %igx-list-item-base--selected {
481
+ %igx-list-item-content {
482
+ @extend %igx-list-item-content--selected;
483
+ }
484
+ }
485
+
426
486
  %igx-list-item-pan {
427
487
  position: absolute;
428
488
  visibility: hidden;
@@ -550,6 +610,37 @@
550
610
  }
551
611
  }
552
612
 
613
+ %igx-list-item-content--selected {
614
+ color: var-get($theme, 'item-text-color-selected');
615
+ background: var-get($theme, 'item-background-selected');
616
+ z-index: 3;
617
+
618
+ %igx-list__item-line-title {
619
+ color: var-get($theme, 'item-title-color-selected')
620
+ }
621
+
622
+ %igx-list__item-line-subtitle {
623
+ color: var-get($theme, 'item-subtitle-color-selected')
624
+ }
625
+
626
+ %igx-list__item-actions {
627
+ color: var-get($theme, 'item-action-color-selected');
628
+
629
+ igx-icon,
630
+ igc-icon {
631
+ color: var-get($theme, 'item-action-color-selected')}
632
+ }
633
+
634
+ %igx-list__item-thumbnail {
635
+ color: var-get($theme, 'item-thumbnail-color-selected');
636
+
637
+ igx-icon,
638
+ igc-icon {
639
+ color: var-get($theme, 'item-thumbnail-color-selected')
640
+ }
641
+ }
642
+ }
643
+
553
644
  %igx-list-item-content--inactive {
554
645
  transition: transform .3s $out-quad;
555
646
  }
@@ -49,6 +49,12 @@
49
49
  }
50
50
  }
51
51
 
52
+ @each $modifier in ('danger', 'warning', 'info', 'success') {
53
+ @include m($modifier) {
54
+ @extend %display-circular--#{$modifier} !optional;
55
+ }
56
+ }
57
+
52
58
  @include m(animation-none) {
53
59
  @extend %animation-none !optional;
54
60
  }
@@ -9,7 +9,11 @@
9
9
  /// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
10
10
  ///
11
11
  /// @param {Color} $base-circle-color [null] - The base circle fill color.
12
- /// @param {Color | List<Color>} $progress-circle-color [null] - The progress circle fill color.
12
+ /// @param {Color | List<Color>} $fill-color-default [null] - The progress circle fill color.
13
+ /// @param {Color} $fill-color-danger [null] - The track danger fill color.
14
+ /// @param {Color} $fill-color-warning [null] - The track warning fill color.
15
+ /// @param {Color} $fill-color-info [null] - The track info fill color.
16
+ /// @param {Color} $fill-color-success [null] - The track success fill color.
13
17
  /// @param {Color} $text-color [null] - The value text color.
14
18
  /// @param {Number} $diameter [null] - The progress circle diameter.
15
19
  ///
@@ -17,14 +21,18 @@
17
21
  ///
18
22
  /// @example scss Change the circle progress color
19
23
  /// $my-progress-circular-theme: progress-circular-theme(
20
- /// $progress-circle-color: purple
24
+ /// $fill-color-default: purple
21
25
  /// );
22
26
  /// // Pass the theme to the igx-progress-circular component mixin
23
27
  /// @include igx-progress-circular($my-progress-circle-theme);
24
28
  @function progress-circular-theme(
25
29
  $schema: $light-material-schema,
26
30
  $base-circle-color: null,
27
- $progress-circle-color: null,
31
+ $fill-color-default: null,
32
+ $fill-color-danger: null,
33
+ $fill-color-warning: null,
34
+ $fill-color-info: null,
35
+ $fill-color-success: null,
28
36
  $text-color: null,
29
37
  $diameter: null
30
38
  ) {
@@ -40,24 +48,28 @@
40
48
  $theme: digest-schema($circular-bar-schema);
41
49
  $meta: map.get($theme, '_meta');
42
50
 
43
- $progress-circle-color-start: map.get($theme, 'progress-circle-color');
44
- $progress-circle-color-end: map.get($theme, 'progress-circle-color');
51
+ $fill-color-default-start: map.get($theme, 'fill-color-default');
52
+ $fill-color-default-end: map.get($theme, 'fill-color-default');
45
53
 
46
- @if meta.type-of($progress-circle-color) == 'color' {
47
- $progress-circle-color-start: $progress-circle-color;
48
- $progress-circle-color-end: $progress-circle-color;
54
+ @if meta.type-of($fill-color-default) == 'color' {
55
+ $fill-color-default-start: $fill-color-default;
56
+ $fill-color-default-end: $fill-color-default;
49
57
  }
50
58
 
51
- @if list.length($progress-circle-color) == 2 {
52
- $progress-circle-color-start: list.nth($progress-circle-color, 1);
53
- $progress-circle-color-end: list.nth($progress-circle-color, 2);
59
+ @if list.length($fill-color-default) == 2 {
60
+ $fill-color-default-start: list.nth($fill-color-default, 1);
61
+ $fill-color-default-end: list.nth($fill-color-default, 2);
54
62
  }
55
63
 
56
64
  @return extend($theme, (
57
65
  name: $name,
58
66
  base-circle-color: $base-circle-color,
59
- progress-circle-color-start: $progress-circle-color-start,
60
- progress-circle-color-end: $progress-circle-color-end,
67
+ fill-color-default-start: $fill-color-default-start,
68
+ fill-color-default-end: $fill-color-default-end,
69
+ fill-color-danger: $fill-color-danger,
70
+ fill-color-warning: $fill-color-warning,
71
+ fill-color-info: $fill-color-info,
72
+ fill-color-success: $fill-color-success,
61
73
  text-color: $text-color,
62
74
  diameter: $diameter,
63
75
  theme: map.get($schema, '_meta', 'theme'),
@@ -238,6 +250,14 @@
238
250
  }
239
251
  }
240
252
 
253
+ @each $mod in ('success','info','warning','danger') {
254
+ %display-circular--#{$mod} {
255
+ svg %outer {
256
+ stroke: var-get($theme, 'fill-color-#{$mod}');
257
+ }
258
+ }
259
+ }
260
+
241
261
  %outer--indeterminate {
242
262
  stroke-dasharray: 289;
243
263
  @include animation(igx-indeterminate-accordion var(--_transition-duration) cubic-bezier(0, .085, .68, .53) normal infinite);
@@ -292,11 +312,11 @@
292
312
  }
293
313
 
294
314
  %gradient-start {
295
- stop-color: var-get($theme, 'progress-circle-color-start');
315
+ stop-color: var-get($theme, 'fill-color-default-start');
296
316
  }
297
317
 
298
318
  %gradient-end {
299
- stop-color: var-get($theme, 'progress-circle-color-end');
319
+ stop-color: var-get($theme, 'fill-color-default-end');
300
320
  }
301
321
 
302
322
  @keyframes igx-indeterminate-accordion {
@@ -23,6 +23,8 @@
23
23
  /// @param {Color} $stripes-color [null] - The track stripes color.
24
24
  /// @param {Color} $text-color [null] - The track value text color.
25
25
  /// @param {List} $track-border-radius [null] - The border radius fraction, between 0 - 8 to be used fot the progress bar track
26
+ /// @param {Number} $track-height [null] - The linear progress track height.
27
+ /// @param {Number} $strip-size [null] - The linear progress bar strip width.
26
28
  /// @requires $light-material-schema
27
29
  /// @example scss Change the stripes color
28
30
  /// $my-progress-linear-theme: progress-linear-theme(
@@ -41,6 +43,8 @@
41
43
  $stripes-color: null,
42
44
  $text-color: null,
43
45
  $track-border-radius: null,
46
+ $track-height: null,
47
+ $strip-size: null
44
48
  ) {
45
49
  $name: 'igx-linear-bar';
46
50
  $linear-bar-schema: ();
@@ -65,6 +69,8 @@
65
69
  stripes-color: $stripes-color,
66
70
  text-color: $text-color,
67
71
  track-border-radius: $track-border-radius,
72
+ track-height: $track-height,
73
+ strip-size: $strip-size,
68
74
  theme: map.get($schema, '_meta', 'theme'),
69
75
  _meta: map.merge(if($meta, $meta, ()), (
70
76
  variant: map.get($schema, '_meta', 'theme')
@@ -123,21 +129,6 @@ $easing-curves: (
123
129
 
124
130
  $variant: map.get($theme, '_meta', 'variant');
125
131
 
126
- // TODO all of these should be listed as design tokens in the component schema. [$bar-height, $strip-size]
127
- $bar-height: map.get((
128
- 'material': rem(4px),
129
- 'fluent': rem(2px),
130
- 'bootstrap': rem(16px),
131
- 'indigo': rem(4px),
132
- ), $variant);
133
-
134
- $strip-size: map.get((
135
- 'material': rem(16px),
136
- 'fluent': rem(16px),
137
- 'bootstrap': rem(5px),
138
- 'indigo': rem(16px),
139
- ), $variant);
140
-
141
132
  %display-linear {
142
133
  position: relative;
143
134
  display: flex;
@@ -169,14 +160,14 @@ $easing-curves: (
169
160
  }
170
161
 
171
162
  %base {
172
- --stripe-size: #{$strip-size};
163
+ --stripe-size: #{var-get($theme, 'strip-size')};
173
164
  --linear-animation-duration: 2000ms;
174
165
 
175
166
  display: flex;
176
167
  flex-direction: column;
177
168
  position: relative;
178
169
  width: inherit;
179
- height: $bar-height;
170
+ height: var-get($theme, 'track-height');
180
171
  background: var-get($theme, 'track-color');
181
172
  overflow: hidden;
182
173
  border-radius: var-get($theme, 'track-border-radius');
@@ -101,13 +101,20 @@
101
101
  }
102
102
  }
103
103
 
104
- %form-group-bundle:hover,
105
104
  %form-group-bundle:focus-within {
106
105
  %igx-select__toggle-button {
107
106
  color: var-get($theme, 'toggle-button-foreground-focus');
108
107
  }
109
108
  }
110
109
 
110
+ @if $variant == 'indigo' {
111
+ %form-group-bundle:hover {
112
+ %igx-select__toggle-button {
113
+ color: var-get($theme, 'toggle-button-foreground-focus');
114
+ }
115
+ }
116
+ }
117
+
111
118
  .igx-input-group--filled {
112
119
  %igx-select__toggle-button {
113
120
  color: var-get($theme, 'toggle-button-foreground-filled');
@@ -120,8 +127,10 @@
120
127
  }
121
128
 
122
129
  .igx-input-group.igx-input-group--focused:not(.igx-input-group--box) {
123
- %igx-select__toggle-button {
124
- background: var-get($theme, 'toggle-button-background-focus--border');
130
+ @if $variant != 'fluent' {
131
+ %igx-select__toggle-button {
132
+ background: var-get($theme, 'toggle-button-background-focus--border');
133
+ }
125
134
  }
126
135
  }
127
136