igniteui-angular 18.1.2 → 18.1.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.
Files changed (37) hide show
  1. package/esm2022/lib/grids/filtering/base/grid-filtering-row.component.mjs +12 -3
  2. package/fesm2022/igniteui-angular.mjs +11 -2
  3. package/fesm2022/igniteui-angular.mjs.map +1 -1
  4. package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +6 -1
  5. package/lib/core/styles/components/progress/_progress-theme.scss +30 -42
  6. package/lib/core/styles/typography/_bootstrap.scss +0 -3
  7. package/lib/core/styles/typography/_fluent.scss +0 -3
  8. package/lib/core/styles/typography/_indigo.scss +0 -3
  9. package/lib/core/styles/typography/_material.scss +0 -1
  10. package/lib/grids/filtering/base/grid-filtering-row.component.d.ts +1 -0
  11. package/package.json +2 -2
  12. package/styles/igniteui-angular-dark.css +1 -1
  13. package/styles/igniteui-angular.css +1 -1
  14. package/styles/igniteui-bootstrap-dark.css +1 -1
  15. package/styles/igniteui-bootstrap-light.css +1 -1
  16. package/styles/igniteui-dark-green.css +1 -1
  17. package/styles/igniteui-fluent-dark-excel.css +1 -1
  18. package/styles/igniteui-fluent-dark-word.css +1 -1
  19. package/styles/igniteui-fluent-dark.css +1 -1
  20. package/styles/igniteui-fluent-light-excel.css +1 -1
  21. package/styles/igniteui-fluent-light-word.css +1 -1
  22. package/styles/igniteui-fluent-light.css +1 -1
  23. package/styles/igniteui-indigo-dark.css +1 -1
  24. package/styles/igniteui-indigo-light.css +1 -1
  25. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  26. package/styles/maps/igniteui-angular.css.map +1 -1
  27. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  28. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  29. package/styles/maps/igniteui-dark-green.css.map +1 -1
  30. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  31. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  32. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  33. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  34. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  35. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  36. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  37. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -384,13 +384,18 @@
384
384
  }
385
385
 
386
386
  @if $variant == 'material' {
387
+ $reduce-size: rem(8px);
388
+
389
+ // The clip path here fixes a bug: https://github.com/IgniteUI/igniteui-angular/issues/14554
390
+ clip-path: inset(calc($reduce-size / 2) 0 round var-get($theme, 'item-border-radius'));
391
+
387
392
  &::after {
388
393
  content: '';
389
394
  position: absolute;
390
395
  width: 100%;
391
396
  inset-block-start: rem(4px);
392
397
  inset-inline-start: 0;
393
- height: calc(100% - #{rem(8px)});
398
+ height: calc(100% - #{$reduce-size});
394
399
  border-radius: var-get($theme, 'item-border-radius');
395
400
  z-index: -1;
396
401
  }
@@ -1,4 +1,5 @@
1
1
  @use 'sass:map';
2
+ @use 'sass:math';
2
3
  @use 'sass:meta';
3
4
  @use 'sass:list';
4
5
  @use '../../base' as *;
@@ -398,6 +399,7 @@
398
399
  /// @param {Color} $base-circle-color [null] - The base circle fill color.
399
400
  /// @param {Color | List<Color>} $progress-circle-color [null] - The progress circle fill color.
400
401
  /// @param {Color} $text-color [null] - The value text color.
402
+ /// @param {Number} $diameter [null] - The progress circle diameter.
401
403
  ///
402
404
  /// @requires $light-material-schema
403
405
  ///
@@ -412,8 +414,8 @@
412
414
 
413
415
  $base-circle-color: null,
414
416
  $progress-circle-color: null,
415
-
416
- $text-color: null
417
+ $text-color: null,
418
+ $diameter: null
417
419
  ) {
418
420
  $name: 'igx-circular-bar';
419
421
  $circular-bar-schema: ();
@@ -446,6 +448,7 @@
446
448
  progress-circle-color-start: $progress-circle-color-start,
447
449
  progress-circle-color-end: $progress-circle-color-end,
448
450
  text-color: $text-color,
451
+ diameter: $diameter,
449
452
  _meta: map.merge(if($meta, $meta, ()), (
450
453
  variant: map.get($schema, '_meta', 'theme')
451
454
  )),
@@ -463,25 +466,14 @@
463
466
 
464
467
  $variant: map.get($theme, '_meta', 'variant');
465
468
 
466
- $circular-size: map.get((
467
- material: rem(32px),
468
- fluent: rem(32px),
469
- bootstrap: rem(54px),
470
- indigo-design: rem(48px),
471
- ), $variant);
472
-
473
- $stroke-width: map.get((
474
- material: rem(4px),
475
- fluent: rem(4px),
476
- bootstrap: rem(4px),
477
- indigo-design: rem(4px),
478
- ), $variant);
469
+ $stroke-width: rem(4px);
470
+ $diameter: var-get($theme, 'diameter');
479
471
 
480
472
  %circular-display {
481
473
  display: inline-flex;
482
474
  flex: 1 1 auto;
483
- width: $circular-size;
484
- height: $circular-size;
475
+ width: $diameter;
476
+ height: $diameter;
485
477
  position: relative;
486
478
 
487
479
  svg {
@@ -533,12 +525,32 @@
533
525
  }
534
526
 
535
527
  %circular-text {
528
+ $scale-factor: 2.28571;
529
+
530
+ @if $variant == 'indigo-design' {
531
+ $scale-factor: 3;
532
+ }
533
+
534
+ @if $variant == 'bootstrap' {
535
+ $scale-factor: 2.7;
536
+ }
537
+
538
+ --stroke-scale: calc(#{$diameter} / #{unitless(map.get($theme, 'diameter'))});
539
+ $font-size: round(calc($diameter / $scale-factor - #{unitless($stroke-width)} * var(--stroke-scale)), 1px);
540
+
536
541
  position: absolute;
537
542
  inset-block-start: 50%;
538
543
  inset-inline-start: 50%;
539
544
  transform: translate(-50%, -50%);
540
- text-align: center;
541
545
  color: var-get($theme, 'text-color');
546
+ font-size: #{$font-size};
547
+ line-height: normal;
548
+ text-align: center;
549
+ font-weight: 600;
550
+
551
+ @if $variant == 'bootstrap' or $variant == 'fluent' {
552
+ font-weight: 700;
553
+ }
542
554
  }
543
555
 
544
556
  %circular-text--hidden {
@@ -564,27 +576,3 @@
564
576
  }
565
577
  }
566
578
  }
567
-
568
- // Adds typography styles for the igx-circular-bar component.
569
- /// Uses custom typography
570
- /// @group typography
571
- /// @param {Map} $categories [(text: 'h6')] - The categories from the typographic scale used for type styles.
572
- @mixin circular-bar-typography($categories: (text: 'h6')) {
573
- $text: map.get($categories, 'text');
574
-
575
- @if $text {
576
- %circular-text {
577
- @include type-style($text) {
578
- font-size: rem(12px);
579
- line-height: rem(16px);
580
- margin: 0;
581
- }
582
- }
583
- } @else {
584
- %circular-text {
585
- font-size: rem(12px);
586
- font-weight: 700;
587
- line-height: rem(16px);
588
- }
589
- }
590
- }
@@ -55,9 +55,6 @@
55
55
  label: 'body-1',
56
56
  ));
57
57
  @include chip-typography();
58
- @include circular-bar-typography($categories: (
59
- text: 'subtitle-1'
60
- ));
61
58
  @include column-actions-typography();
62
59
  @include date-range-typography();
63
60
  @include dialog-typography($categories: (
@@ -58,9 +58,6 @@
58
58
  @include chip-typography($categories: (
59
59
  text: 'subtitle-2'
60
60
  ));
61
- @include circular-bar-typography($categories: (
62
- text: null
63
- ));
64
61
  @include column-actions-typography();
65
62
  @include date-range-typography();
66
63
  @include dialog-typography();
@@ -57,9 +57,6 @@
57
57
  label: 'body-2',
58
58
  ));
59
59
  @include chip-typography();
60
- @include circular-bar-typography($categories: (
61
- text: 'subtitle-2'
62
- ));
63
60
  @include column-actions-typography();
64
61
  @include date-range-typography();
65
62
  @include dialog-typography($categories: (
@@ -41,7 +41,6 @@
41
41
  @include card-typography();
42
42
  @include checkbox-typography();
43
43
  @include chip-typography();
44
- @include circular-bar-typography();
45
44
  @include column-actions-typography();
46
45
  @include date-range-typography();
47
46
  @include dialog-typography();
@@ -56,6 +56,7 @@ export declare class IgxGridFilteringRowComponent implements AfterViewInit, OnDe
56
56
  private isKeyPressed;
57
57
  private isComposing;
58
58
  private _cancelChipClick;
59
+ private _value;
59
60
  private _icons;
60
61
  /** switch to icon buttons when width is below 432px */
61
62
  private readonly NARROW_WIDTH_THRESHOLD;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-angular",
3
- "version": "18.1.2",
3
+ "version": "18.1.4",
4
4
  "description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
5
5
  "author": "Infragistics",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -74,7 +74,7 @@
74
74
  "igniteui-trial-watermark": "^3.0.2",
75
75
  "lodash-es": "^4.17.21",
76
76
  "uuid": "^9.0.0",
77
- "igniteui-theming": "^10.0.0",
77
+ "igniteui-theming": "^10.1.0",
78
78
  "@igniteui/material-icons-extended": "^3.0.0"
79
79
  },
80
80
  "peerDependencies": {