igniteui-angular 20.1.0-rc.1 → 20.1.0-rc.2

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 (90) hide show
  1. package/fesm2022/igniteui-angular.mjs +31 -11
  2. package/fesm2022/igniteui-angular.mjs.map +1 -1
  3. package/index.d.ts +4 -1
  4. package/lib/core/styles/components/avatar/_avatar-theme.scss +1 -1
  5. package/lib/core/styles/components/badge/_badge-theme.scss +1 -1
  6. package/lib/core/styles/components/banner/_banner-theme.scss +1 -1
  7. package/lib/core/styles/components/bottom-nav/_bottom-nav-theme.scss +1 -1
  8. package/lib/core/styles/components/button/_button-theme.scss +4 -4
  9. package/lib/core/styles/components/button-group/_button-group-theme.scss +1 -1
  10. package/lib/core/styles/components/calendar/_calendar-theme.scss +1 -1
  11. package/lib/core/styles/components/card/_card-theme.scss +1 -1
  12. package/lib/core/styles/components/carousel/_carousel-theme.scss +1 -1
  13. package/lib/core/styles/components/checkbox/_checkbox-theme.scss +1 -1
  14. package/lib/core/styles/components/chip/_chip-theme.scss +1 -1
  15. package/lib/core/styles/components/column-actions/_column-actions-theme.scss +1 -1
  16. package/lib/core/styles/components/combo/_combo-theme.scss +1 -1
  17. package/lib/core/styles/components/date-range-picker/_date-range-picker-theme.scss +1 -1
  18. package/lib/core/styles/components/dialog/_dialog-theme.scss +1 -1
  19. package/lib/core/styles/components/divider/_divider-theme.scss +1 -1
  20. package/lib/core/styles/components/dock-manager/_dock-manager-theme.scss +1 -1
  21. package/lib/core/styles/components/drop-down/_drop-down-theme.scss +1 -1
  22. package/lib/core/styles/components/expansion-panel/_expansion-panel-theme.scss +1 -1
  23. package/lib/core/styles/components/grid/_grid-theme.scss +1 -1
  24. package/lib/core/styles/components/grid/_pivot-data-selector-theme.scss +1 -1
  25. package/lib/core/styles/components/grid-summary/_grid-summary-theme.scss +1 -1
  26. package/lib/core/styles/components/grid-toolbar/_grid-toolbar-theme.scss +1 -1
  27. package/lib/core/styles/components/highlight/highlight-theme.scss +1 -1
  28. package/lib/core/styles/components/icon/_icon-theme.scss +1 -1
  29. package/lib/core/styles/components/icon-button/_icon-button-theme.scss +16 -5
  30. package/lib/core/styles/components/input/_file-input-theme.scss +2 -6
  31. package/lib/core/styles/components/input/_input-group-theme.scss +2 -2
  32. package/lib/core/styles/components/label/_label-theme.scss +1 -1
  33. package/lib/core/styles/components/list/_list-theme.scss +1 -1
  34. package/lib/core/styles/components/navbar/_navbar-theme.scss +1 -1
  35. package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +1 -1
  36. package/lib/core/styles/components/overlay/_overlay-theme.scss +1 -1
  37. package/lib/core/styles/components/paginator/_paginator-theme.scss +1 -1
  38. package/lib/core/styles/components/progress/circular/_circular-theme.scss +1 -1
  39. package/lib/core/styles/components/progress/linear/_linear-theme.scss +1 -1
  40. package/lib/core/styles/components/query-builder/_query-builder-theme.scss +1 -1
  41. package/lib/core/styles/components/radio/_radio-theme.scss +1 -1
  42. package/lib/core/styles/components/rating/_rating-theme.scss +1 -1
  43. package/lib/core/styles/components/ripple/_ripple-theme.scss +1 -1
  44. package/lib/core/styles/components/scrollbar/scrollbar-theme.scss +1 -1
  45. package/lib/core/styles/components/select/_select-theme.scss +1 -1
  46. package/lib/core/styles/components/slider/_slider-theme.scss +1 -1
  47. package/lib/core/styles/components/snackbar/_snackbar-theme.scss +1 -1
  48. package/lib/core/styles/components/splitter/_splitter-theme.scss +1 -1
  49. package/lib/core/styles/components/stepper/_stepper-theme.scss +1 -1
  50. package/lib/core/styles/components/switch/_switch-theme.scss +1 -1
  51. package/lib/core/styles/components/tabs/_tabs-theme.scss +1 -1
  52. package/lib/core/styles/components/time-picker/_time-picker-theme.scss +1 -1
  53. package/lib/core/styles/components/toast/_toast-theme.scss +1 -1
  54. package/lib/core/styles/components/tooltip/_tooltip-theme.scss +1 -1
  55. package/lib/core/styles/components/tree/_tree-theme.scss +1 -1
  56. package/lib/core/styles/components/watermark/_watermark-theme.scss +1 -1
  57. package/lib/core/styles/themes/_core.scss +2 -0
  58. package/lib/core/styles/themes/generators/_base.scss +1 -1
  59. package/migrations/migration-collection.json +5 -0
  60. package/migrations/update-20_1_0/changes/theme-changes.json +29 -0
  61. package/migrations/update-20_1_0/index.d.ts +3 -0
  62. package/migrations/update-20_1_0/index.js +18 -0
  63. package/package.json +2 -2
  64. package/schematics/tsconfig.tsbuildinfo +1 -1
  65. package/styles/igniteui-angular-dark.css +1 -1
  66. package/styles/igniteui-angular.css +1 -1
  67. package/styles/igniteui-bootstrap-dark.css +1 -1
  68. package/styles/igniteui-bootstrap-light.css +1 -1
  69. package/styles/igniteui-dark-green.css +1 -1
  70. package/styles/igniteui-fluent-dark-excel.css +1 -1
  71. package/styles/igniteui-fluent-dark-word.css +1 -1
  72. package/styles/igniteui-fluent-dark.css +1 -1
  73. package/styles/igniteui-fluent-light-excel.css +1 -1
  74. package/styles/igniteui-fluent-light-word.css +1 -1
  75. package/styles/igniteui-fluent-light.css +1 -1
  76. package/styles/igniteui-indigo-dark.css +1 -1
  77. package/styles/igniteui-indigo-light.css +1 -1
  78. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  79. package/styles/maps/igniteui-angular.css.map +1 -1
  80. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  81. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  82. package/styles/maps/igniteui-dark-green.css.map +1 -1
  83. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  84. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  85. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  86. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  87. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  88. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  89. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  90. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, HostListener, Input, Directive, EventEmitter, InjectionToken, isDevMode, inject, PLATFORM_ID, Inject, ElementRef, ViewContainerRef, createComponent, DOCUMENT, HostBinding, Output, Self, Optional, booleanAttribute, SecurityContext, DestroyRef, Component, ContentChild, ContentChildren, RendererStyleFlags2, Pipe, ViewChild, Renderer2, NgZone, signal, QueryList, effect, LOCALE_ID, forwardRef, Host, ViewChildren, TemplateRef, ChangeDetectionStrategy, SimpleChange, ChangeDetectorRef, SkipSelf, CUSTOM_ELEMENTS_SCHEMA, reflectComponentType, NgModule } from '@angular/core';
2
+ import { Injectable, HostListener, Input, Directive, EventEmitter, InjectionToken, isDevMode, inject, PLATFORM_ID, Inject, ElementRef, ViewContainerRef, createComponent, DOCUMENT, HostBinding, Output, Self, Optional, booleanAttribute, afterRenderEffect, SecurityContext, DestroyRef, Component, ContentChild, ContentChildren, RendererStyleFlags2, Pipe, ViewChild, Renderer2, NgZone, signal, QueryList, effect, LOCALE_ID, forwardRef, Host, ViewChildren, TemplateRef, ChangeDetectionStrategy, SimpleChange, ChangeDetectorRef, SkipSelf, CUSTOM_ELEMENTS_SCHEMA, reflectComponentType, NgModule } from '@angular/core';
3
3
  import * as i4 from '@angular/forms';
4
4
  import { NgModel, NgControl, FormControlName, NG_VALUE_ACCESSOR, Validators, NG_VALIDATORS, FormGroup, FormsModule, RequiredValidator, MinValidator, MaxValidator, EmailValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, FormControl, ReactiveFormsModule } from '@angular/forms';
5
5
  import { Observable, NEVER, Subject, fromEvent, BehaviorSubject, interval, animationFrameScheduler, noop, takeUntil as takeUntil$1, merge, Subscription, timer, sampleTime, filter as filter$1, pipe, take as take$1 } from 'rxjs';
@@ -10180,6 +10180,9 @@ class IgxInputDirective {
10180
10180
  */
10181
10181
  onBlur() {
10182
10182
  this.inputGroup.isFocused = false;
10183
+ if (this.ngControl?.control) {
10184
+ this.ngControl.control.markAsTouched();
10185
+ }
10183
10186
  this.updateValidityState();
10184
10187
  }
10185
10188
  /** @hidden @internal */
@@ -10582,6 +10585,7 @@ class IgxButtonBaseDirective {
10582
10585
  }
10583
10586
  constructor(element) {
10584
10587
  this.element = element;
10588
+ this._platformUtil = inject(PlatformUtil);
10585
10589
  /**
10586
10590
  * Emitted when the button is clicked.
10587
10591
  */
@@ -10616,6 +10620,21 @@ class IgxButtonBaseDirective {
10616
10620
  * ```
10617
10621
  */
10618
10622
  this.disabled = false;
10623
+ // In browser, set via native API for immediate effect (no-op on server).
10624
+ // In SSR there is no paint, so there’s no visual rendering or transitions to suppress.
10625
+ // Fix style flickering https://github.com/IgniteUI/igniteui-angular/issues/14759
10626
+ if (this._platformUtil.isBrowser) {
10627
+ afterRenderEffect({
10628
+ write: () => {
10629
+ this.element.nativeElement.style.setProperty('--_init-transition', '0s');
10630
+ },
10631
+ read: () => {
10632
+ requestAnimationFrame(() => {
10633
+ this.element.nativeElement.style.removeProperty('--_init-transition');
10634
+ });
10635
+ }
10636
+ });
10637
+ }
10619
10638
  }
10620
10639
  /**
10621
10640
  * @hidden
@@ -17812,14 +17831,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImpor
17812
17831
  * ```
17813
17832
  */
17814
17833
  class IgxIconButtonDirective extends IgxButtonBaseDirective {
17815
- constructor() {
17816
- super(...arguments);
17817
- /**
17818
- * @hidden
17819
- * @internal
17820
- */
17821
- this._cssClass = 'igx-icon-button';
17822
- }
17823
17834
  /**
17824
17835
  * Sets the type of the icon button.
17825
17836
  *
@@ -17855,7 +17866,16 @@ class IgxIconButtonDirective extends IgxButtonBaseDirective {
17855
17866
  get outlined() {
17856
17867
  return this._type === IgxBaseButtonType.Outlined;
17857
17868
  }
17858
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: IgxIconButtonDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
17869
+ constructor(element) {
17870
+ super(element);
17871
+ this.element = element;
17872
+ /**
17873
+ * @hidden
17874
+ * @internal
17875
+ */
17876
+ this._cssClass = 'igx-icon-button';
17877
+ }
17878
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: IgxIconButtonDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
17859
17879
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: IgxIconButtonDirective, isStandalone: true, selector: "[igxIconButton]", inputs: { type: ["igxIconButton", "type"] }, host: { properties: { "class.igx-icon-button": "this._cssClass", "class.igx-icon-button--flat": "this.flat", "class.igx-icon-button--contained": "this.contained", "class.igx-icon-button--outlined": "this.outlined" } }, usesInheritance: true, ngImport: i0 }); }
17860
17880
  }
17861
17881
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: IgxIconButtonDirective, decorators: [{
@@ -17864,7 +17884,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImpor
17864
17884
  selector: '[igxIconButton]',
17865
17885
  standalone: true
17866
17886
  }]
17867
- }], propDecorators: { _cssClass: [{
17887
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { _cssClass: [{
17868
17888
  type: HostBinding,
17869
17889
  args: ['class.igx-icon-button']
17870
17890
  }], type: [{