diff --git a/projects/addon-doc/directives/text-code/text-code.directive.ts b/projects/addon-doc/directives/text-code/text-code.directive.ts
index 3d522970e817..9f437bd7805e 100644
--- a/projects/addon-doc/directives/text-code/text-code.directive.ts
+++ b/projects/addon-doc/directives/text-code/text-code.directive.ts
@@ -1,5 +1,8 @@
import {Directive, Input} from '@angular/core';
+/**
+ * @deprecated: use [textContent]="code"
+ */
@Directive({
standalone: true,
selector: 'code[tuiDocText]',
diff --git a/projects/addon-mobile/directives/sidebar/sidebar.component.ts b/projects/addon-mobile/directives/sidebar/sidebar.component.ts
index 8a18b65342ea..168c92d28806 100644
--- a/projects/addon-mobile/directives/sidebar/sidebar.component.ts
+++ b/projects/addon-mobile/directives/sidebar/sidebar.component.ts
@@ -20,7 +20,7 @@ import {TuiSidebarDirective} from './sidebar.directive';
changeDetection: ChangeDetectionStrategy.OnPush,
animations: [tuiSlideIn],
host: {
- class: '"t-" + direction',
+ '[class]': '"t-" + direction',
'[@tuiSlideIn]': 'animation',
},
})
diff --git a/projects/core/components/expand/expand.component.ts b/projects/core/components/expand/expand.component.ts
index b09fe15dc59c..161fa56c8f1d 100644
--- a/projects/core/components/expand/expand.component.ts
+++ b/projects/core/components/expand/expand.component.ts
@@ -136,7 +136,6 @@ export class TuiExpandComponent {
}
}
- // noinspection JSUnusedGlobalSymbols
protected onExpandLoaded(event: Event): void {
event.stopPropagation();
diff --git a/projects/core/components/scrollbar/scrollbar.component.ts b/projects/core/components/scrollbar/scrollbar.component.ts
index 5dfac4836868..708445c47aba 100644
--- a/projects/core/components/scrollbar/scrollbar.component.ts
+++ b/projects/core/components/scrollbar/scrollbar.component.ts
@@ -57,12 +57,10 @@ export class TuiScrollbar {
return this.browserScrollRef.nativeElement !== this.el;
}
- // noinspection JSUnusedGlobalSymbols
protected onScrollable(element: HTMLElement): void {
this.browserScrollRef.nativeElement = element;
}
- // noinspection JSUnusedGlobalSymbols
protected scrollIntoView(detail: HTMLElement): void {
if (this.delegated) {
return;
diff --git a/projects/core/directives/dropdown/dropdown-context.directive.ts b/projects/core/directives/dropdown/dropdown-context.directive.ts
index ef378fc94243..24ef09fda362 100644
--- a/projects/core/directives/dropdown/dropdown-context.directive.ts
+++ b/projects/core/directives/dropdown/dropdown-context.directive.ts
@@ -36,7 +36,7 @@ const MOVE_THRESHOLD = 15;
'onTouchStart($event.touches[0].clientX, $event.touches[0].clientY)',
'(document:pointerdown.silent)': 'closeDropdown($event.target)',
'(document:contextmenu.capture.silent)': 'closeDropdown($event.target)',
- '(document:keydown.esc)': 'closeDropdown($event.target)',
+ '(document:keydown.esc)': 'closeDropdown($event.currentTarget)',
'(contextmenu.prevent.stop)': 'onContextMenu($event.clientX, $event.clientY)',
},
})
diff --git a/projects/demo/src/modules/components/alert/index.html b/projects/demo/src/modules/components/alert/index.html
index 40f9a9e84f22..d8b76d4f609a 100644
--- a/projects/demo/src/modules/components/alert/index.html
+++ b/projects/demo/src/modules/components/alert/index.html
@@ -78,7 +78,7 @@
[(documentationPropertyValue)]="data"
>
Input data of notification, type:
-
@@ -232,7 +232,7 @@
can handle
+
'">
+
, O>'">
, where
O
is output data type and
diff --git a/projects/demo/src/modules/components/combo-box/index.html b/projects/demo/src/modules/components/combo-box/index.html
index 40e04378e725..1835174a62c5 100644
--- a/projects/demo/src/modules/components/combo-box/index.html
+++ b/projects/demo/src/modules/components/combo-box/index.html
@@ -221,7 +221,7 @@
[(documentationPropertyValue)]="strict"
>
Value must only be an item of suggestions
-
+
'">
string
value, as well as
-
+
'">
Pass
-
+
'">
if you want prevent closing, for example, with a confirmation prompt. Be careful, passing
-
+
'">
will always display cross button even if it emits
false
value!
@@ -223,7 +223,7 @@
+ '">
if you want prevent closing, for example, with a confirmation prompt.
+ '">
$implicit
with
-
+ '">
and
completeWith
hook to call
diff --git a/projects/demo/src/modules/components/input/index.html b/projects/demo/src/modules/components/input/index.html
index 6445426e73f2..52f0782e157a 100644
--- a/projects/demo/src/modules/components/input/index.html
+++ b/projects/demo/src/modules/components/input/index.html
@@ -291,7 +291,7 @@
[(documentationPropertyValue)]="placeholder"
>
Placeholder (use external
-
+
'">
to set it)
Use
-
+
'">
's CSS-property
color
to set solid color of progress indicator.
diff --git a/projects/demo/src/modules/components/progress-bar/examples/2/index.ts b/projects/demo/src/modules/components/progress-bar/examples/2/index.ts
index 6a3c540cdbd2..d731b12191b2 100644
--- a/projects/demo/src/modules/components/progress-bar/examples/2/index.ts
+++ b/projects/demo/src/modules/components/progress-bar/examples/2/index.ts
@@ -2,14 +2,13 @@ import {AsyncPipe, isPlatformServer} from '@angular/common';
import {Component, inject, PLATFORM_ID} from '@angular/core';
import {changeDetection} from '@demo/emulate/change-detection';
import {encapsulation} from '@demo/emulate/encapsulation';
-import {TuiDocText} from '@taiga-ui/addon-doc';
import {TUI_IS_E2E} from '@taiga-ui/cdk';
import {TuiProgress} from '@taiga-ui/kit';
import {of, timer} from 'rxjs';
@Component({
standalone: true,
- imports: [TuiDocText, TuiProgress, AsyncPipe],
+ imports: [TuiProgress, AsyncPipe],
templateUrl: './index.html',
styleUrls: ['./index.less'],
encapsulation,
diff --git a/projects/demo/src/modules/components/progress-bar/index.html b/projects/demo/src/modules/components/progress-bar/index.html
index bc9dc63ca4ef..7c558ad7ad83 100644
--- a/projects/demo/src/modules/components/progress-bar/index.html
+++ b/projects/demo/src/modules/components/progress-bar/index.html
@@ -11,13 +11,13 @@
+
'">
.
Usage:
-
+
'">
.
+
'">
+
'">
+
'">
's CSS-property
color
(especially, if you support old not-chromium based Edge)
diff --git a/projects/demo/src/modules/components/progress-circle/index.html b/projects/demo/src/modules/components/progress-circle/index.html
index 9a670a3da8b9..bdeeac9783e2 100644
--- a/projects/demo/src/modules/components/progress-circle/index.html
+++ b/projects/demo/src/modules/components/progress-circle/index.html
@@ -7,7 +7,7 @@
+
'">
Method
-
+
'">
(emits a tuple tuple
diff --git a/projects/demo/src/modules/components/slider/index.html b/projects/demo/src/modules/components/slider/index.html
index 188e5f8233a9..17121bacaab6 100644
--- a/projects/demo/src/modules/components/slider/index.html
+++ b/projects/demo/src/modules/components/slider/index.html
@@ -10,7 +10,7 @@
+
'">
to choose a value from a limited range.
Usage:
-
+
'">
.
+
'">
+
'">
+
'">
+
'">
with native maxlength attribute.
+ '">
+ '">
+ '">
+ '">
+ '">
and
-
+ '">
+ );'">
+ );'">
+ );'">
+ );'">
+ );'">
and
-
+ );'">
+ -'">
).
Mixin also gets a direction and a value (
-
+
,
).