diff --git a/.gitignore b/.gitignore index 6954ec655c3f..2f9cef702311 100644 --- a/.gitignore +++ b/.gitignore @@ -16,15 +16,10 @@ npm-debug.log /compiled/ dll/ tmp/ -*.ngfactory.ts -*.css.shim.ts -*.ngsummary.json -*.shim.ngstyle.ts .idea *.iml */tmp .rpt2_cache -quality-check .DS_Store dist **/cypress/screenshots diff --git a/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.component.ts b/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.component.ts index 1b1e94bd3aa2..b00e749cc6bb 100644 --- a/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.component.ts +++ b/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.component.ts @@ -1,4 +1,4 @@ -import {AsyncPipe, NgStyle} from '@angular/common'; +import {AsyncPipe} from '@angular/common'; import {ChangeDetectionStrategy, Component, inject, Input, Output} from '@angular/core'; import {takeUntilDestroyed} from '@angular/core/rxjs-interop'; import {tuiScrollFrom, tuiZonefree} from '@taiga-ui/cdk/observables'; @@ -7,7 +7,7 @@ import type {TuiContext, TuiHandler} from '@taiga-ui/cdk/types'; import {tuiPx} from '@taiga-ui/cdk/utils/miscellaneous'; import {TUI_SCROLL_REF} from '@taiga-ui/core/tokens'; import type {PolymorpheusContent} from '@taiga-ui/polymorpheus'; -import {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus'; +import {PolymorpheusOutlet} from '@taiga-ui/polymorpheus'; import type {Observable} from 'rxjs'; import {distinctUntilChanged, filter, map, startWith} from 'rxjs'; @@ -20,7 +20,7 @@ import {MICRO_OFFSET, TuiPullToRefreshService} from './pull-to-refresh.service'; @Component({ standalone: true, selector: 'tui-pull-to-refresh', - imports: [AsyncPipe, NgStyle, PolymorpheusOutlet, PolymorpheusTemplate], + imports: [AsyncPipe, PolymorpheusOutlet], templateUrl: './pull-to-refresh.template.html', styleUrls: ['./pull-to-refresh.style.less'], changeDetection: ChangeDetectionStrategy.OnPush, @@ -41,7 +41,7 @@ export class TuiPullToRefresh { ); @Input() - public styleHandler: TuiHandler | null> = this.isIOS + public styleHandler: TuiHandler | null> = this.isIOS ? (distance) => ({top: tuiPx(distance / 2)}) : () => null; diff --git a/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.template.html b/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.template.html index cfa53fe87dfd..f4dc0783e4d9 100644 --- a/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.template.html +++ b/projects/addon-mobile/components/pull-to-refresh/pull-to-refresh.template.html @@ -2,7 +2,7 @@
diff --git a/projects/kit/components/carousel/carousel.component.ts b/projects/kit/components/carousel/carousel.component.ts index bcf32fc25e55..c0fc8d43d8cd 100644 --- a/projects/kit/components/carousel/carousel.component.ts +++ b/projects/kit/components/carousel/carousel.component.ts @@ -1,4 +1,4 @@ -import {AsyncPipe, NgForOf, NgIf, NgStyle, NgTemplateOutlet} from '@angular/common'; +import {AsyncPipe, NgForOf, NgIf, NgTemplateOutlet} from '@angular/common'; import type {QueryList} from '@angular/core'; import { ChangeDetectionStrategy, @@ -33,7 +33,6 @@ import {TuiCarouselScroll} from './carousel-scroll.directive'; AsyncPipe, NgForOf, NgIf, - NgStyle, NgTemplateOutlet, TuiCarouselAutoscroll, TuiCarouselScroll, diff --git a/projects/kit/components/carousel/carousel.template.html b/projects/kit/components/carousel/carousel.template.html index f684dbd38866..a168b62ea9eb 100644 --- a/projects/kit/components/carousel/carousel.template.html +++ b/projects/kit/components/carousel/carousel.template.html @@ -19,7 +19,7 @@ *ngFor="let item of items; let i = index" class="t-item" [disabled]="isDisabled(i)" - [ngStyle]="getStyle(itemsCount)" + [style]="getStyle(itemsCount)" (waIntersectionObservee)="$event[0] && onIntersection($event[0], i)" > diff --git a/projects/legacy/components/sheet/components/sheet-bar/sheet-bar.template.html b/projects/legacy/components/sheet/components/sheet-bar/sheet-bar.template.html index b91874e446be..1e999ed57305 100644 --- a/projects/legacy/components/sheet/components/sheet-bar/sheet-bar.template.html +++ b/projects/legacy/components/sheet/components/sheet-bar/sheet-bar.template.html @@ -1,11 +1,11 @@