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.
- package/fesm2022/igniteui-angular.mjs +31 -11
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/index.d.ts +4 -1
- package/lib/core/styles/components/avatar/_avatar-theme.scss +1 -1
- package/lib/core/styles/components/badge/_badge-theme.scss +1 -1
- package/lib/core/styles/components/banner/_banner-theme.scss +1 -1
- package/lib/core/styles/components/bottom-nav/_bottom-nav-theme.scss +1 -1
- package/lib/core/styles/components/button/_button-theme.scss +4 -4
- package/lib/core/styles/components/button-group/_button-group-theme.scss +1 -1
- package/lib/core/styles/components/calendar/_calendar-theme.scss +1 -1
- package/lib/core/styles/components/card/_card-theme.scss +1 -1
- package/lib/core/styles/components/carousel/_carousel-theme.scss +1 -1
- package/lib/core/styles/components/checkbox/_checkbox-theme.scss +1 -1
- package/lib/core/styles/components/chip/_chip-theme.scss +1 -1
- package/lib/core/styles/components/column-actions/_column-actions-theme.scss +1 -1
- package/lib/core/styles/components/combo/_combo-theme.scss +1 -1
- package/lib/core/styles/components/date-range-picker/_date-range-picker-theme.scss +1 -1
- package/lib/core/styles/components/dialog/_dialog-theme.scss +1 -1
- package/lib/core/styles/components/divider/_divider-theme.scss +1 -1
- package/lib/core/styles/components/dock-manager/_dock-manager-theme.scss +1 -1
- package/lib/core/styles/components/drop-down/_drop-down-theme.scss +1 -1
- package/lib/core/styles/components/expansion-panel/_expansion-panel-theme.scss +1 -1
- package/lib/core/styles/components/grid/_grid-theme.scss +1 -1
- package/lib/core/styles/components/grid/_pivot-data-selector-theme.scss +1 -1
- package/lib/core/styles/components/grid-summary/_grid-summary-theme.scss +1 -1
- package/lib/core/styles/components/grid-toolbar/_grid-toolbar-theme.scss +1 -1
- package/lib/core/styles/components/highlight/highlight-theme.scss +1 -1
- package/lib/core/styles/components/icon/_icon-theme.scss +1 -1
- package/lib/core/styles/components/icon-button/_icon-button-theme.scss +16 -5
- package/lib/core/styles/components/input/_file-input-theme.scss +2 -6
- package/lib/core/styles/components/input/_input-group-theme.scss +2 -2
- package/lib/core/styles/components/label/_label-theme.scss +1 -1
- package/lib/core/styles/components/list/_list-theme.scss +1 -1
- package/lib/core/styles/components/navbar/_navbar-theme.scss +1 -1
- package/lib/core/styles/components/navdrawer/_navdrawer-theme.scss +1 -1
- package/lib/core/styles/components/overlay/_overlay-theme.scss +1 -1
- package/lib/core/styles/components/paginator/_paginator-theme.scss +1 -1
- package/lib/core/styles/components/progress/circular/_circular-theme.scss +1 -1
- package/lib/core/styles/components/progress/linear/_linear-theme.scss +1 -1
- package/lib/core/styles/components/query-builder/_query-builder-theme.scss +1 -1
- package/lib/core/styles/components/radio/_radio-theme.scss +1 -1
- package/lib/core/styles/components/rating/_rating-theme.scss +1 -1
- package/lib/core/styles/components/ripple/_ripple-theme.scss +1 -1
- package/lib/core/styles/components/scrollbar/scrollbar-theme.scss +1 -1
- package/lib/core/styles/components/select/_select-theme.scss +1 -1
- package/lib/core/styles/components/slider/_slider-theme.scss +1 -1
- package/lib/core/styles/components/snackbar/_snackbar-theme.scss +1 -1
- package/lib/core/styles/components/splitter/_splitter-theme.scss +1 -1
- package/lib/core/styles/components/stepper/_stepper-theme.scss +1 -1
- package/lib/core/styles/components/switch/_switch-theme.scss +1 -1
- package/lib/core/styles/components/tabs/_tabs-theme.scss +1 -1
- package/lib/core/styles/components/time-picker/_time-picker-theme.scss +1 -1
- package/lib/core/styles/components/toast/_toast-theme.scss +1 -1
- package/lib/core/styles/components/tooltip/_tooltip-theme.scss +1 -1
- package/lib/core/styles/components/tree/_tree-theme.scss +1 -1
- package/lib/core/styles/components/watermark/_watermark-theme.scss +1 -1
- package/lib/core/styles/themes/_core.scss +2 -0
- package/lib/core/styles/themes/generators/_base.scss +1 -1
- package/migrations/migration-collection.json +5 -0
- package/migrations/update-20_1_0/changes/theme-changes.json +29 -0
- package/migrations/update-20_1_0/index.d.ts +3 -0
- package/migrations/update-20_1_0/index.js +18 -0
- package/package.json +2 -2
- package/schematics/tsconfig.tsbuildinfo +1 -1
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- 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
|
-
|
|
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: [{
|