@taiga-ui/core 4.8.1 → 4.10.0
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/components/data-list/data-list.component.d.ts +1 -1
- package/components/data-list/data-list.tokens.d.ts +3 -4
- package/components/dialog/dialog.component.d.ts +1 -1
- package/components/dialog/dialogs.component.d.ts +1 -1
- package/components/notification/notification.directive.d.ts +1 -1
- package/components/root/root.component.d.ts +3 -3
- package/components/scrollbar/scroll-controls.component.d.ts +1 -0
- package/components/scrollbar/scrollbar.component.d.ts +3 -0
- package/components/scrollbar/scrollbar.options.d.ts +2 -4
- package/components/textfield/select.directive.d.ts +0 -1
- package/components/textfield/textfield.component.d.ts +5 -4
- package/components/textfield/textfield.directive.d.ts +4 -1
- package/directives/appearance/appearance.directive.d.ts +2 -2
- package/directives/appearance/appearance.options.d.ts +1 -1
- package/directives/dropdown/dropdown-fixed.directive.d.ts +6 -0
- package/directives/dropdown/dropdown-options.directive.d.ts +1 -1
- package/directives/dropdown/dropdown.providers.d.ts +2 -3
- package/directives/dropdown/index.d.ts +1 -0
- package/directives/hint/hint-options.directive.d.ts +1 -1
- package/directives/hint/hint.component.d.ts +1 -2
- package/directives/hint/hint.directive.d.ts +1 -1
- package/esm2022/animations/animations.mjs +88 -88
- package/esm2022/components/data-list/data-list.component.mjs +5 -6
- package/esm2022/components/data-list/data-list.tokens.mjs +5 -6
- package/esm2022/components/dialog/dialog.component.mjs +2 -2
- package/esm2022/components/dialog/dialogs.component.mjs +1 -1
- package/esm2022/components/expand/expand.component.mjs +8 -1
- package/esm2022/components/icon/icon.component.mjs +2 -2
- package/esm2022/components/root/root.component.mjs +17 -21
- package/esm2022/components/scrollbar/scroll-controls.component.mjs +5 -3
- package/esm2022/components/scrollbar/scrollbar.component.mjs +10 -7
- package/esm2022/components/scrollbar/scrollbar.directive.mjs +7 -2
- package/esm2022/components/scrollbar/scrollbar.options.mjs +3 -6
- package/esm2022/components/scrollbar/scrollbar.service.mjs +3 -3
- package/esm2022/components/textfield/select.directive.mjs +5 -7
- package/esm2022/components/textfield/textfield.component.mjs +23 -25
- package/esm2022/components/textfield/textfield.directive.mjs +16 -3
- package/esm2022/directives/appearance/appearance.directive.mjs +1 -1
- package/esm2022/directives/appearance/appearance.options.mjs +1 -1
- package/esm2022/directives/dropdown/dropdown-context.directive.mjs +5 -3
- package/esm2022/directives/dropdown/dropdown-fixed.directive.mjs +21 -0
- package/esm2022/directives/dropdown/dropdown-options.directive.mjs +2 -3
- package/esm2022/directives/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/directives/dropdown/dropdown.providers.mjs +3 -4
- package/esm2022/directives/dropdown/index.mjs +2 -1
- package/esm2022/directives/hint/hint-options.directive.mjs +2 -3
- package/esm2022/directives/hint/hint-unstyled.component.mjs +2 -2
- package/esm2022/directives/hint/hint.component.mjs +8 -11
- package/esm2022/directives/hint/hint.directive.mjs +5 -4
- package/esm2022/tokens/common-icons.mjs +4 -1
- package/esm2022/tokens/dark-mode.mjs +30 -32
- package/esm2022/utils/format/format-number.mjs +2 -2
- package/fesm2022/taiga-ui-core-animations.mjs +87 -87
- package/fesm2022/taiga-ui-core-animations.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-data-list.mjs +8 -8
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-expand.mjs +7 -0
- package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-icon.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +16 -20
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +27 -20
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +40 -31
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs +26 -8
- package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-hint.mjs +10 -11
- package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +31 -30
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
- package/package.json +18 -18
- package/styles/components/icon.less +1 -0
- package/styles/components/textfield.less +10 -16
- package/styles/mixins/mixins.less +8 -0
- package/styles/mixins/mixins.scss +7 -0
- package/styles/theme/appearance/textfield.less +0 -4
- package/styles/theme/palette.less +6 -0
- package/tokens/common-icons.d.ts +2 -0
- package/tokens/dark-mode.d.ts +3 -3
- package/utils/format/format-number.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AfterContentChecked } from '@angular/core';
|
|
2
2
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
3
3
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
4
4
|
import type { TuiDataListAccessor } from './data-list.tokens';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Provider, TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import { InjectionToken } from '@angular/core';
|
|
3
2
|
import type { TuiContext, TuiIdentityMatcher, TuiStringHandler } from '@taiga-ui/cdk/types';
|
|
4
3
|
import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
|
|
5
4
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
@@ -16,15 +15,15 @@ export interface TuiDataListHost<T> {
|
|
|
16
15
|
/**
|
|
17
16
|
* Content for tuiOption component
|
|
18
17
|
*/
|
|
19
|
-
export declare const TUI_OPTION_CONTENT: InjectionToken<PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>>>;
|
|
18
|
+
export declare const TUI_OPTION_CONTENT: import("@angular/core").InjectionToken<PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>>>;
|
|
20
19
|
export declare function tuiAsOptionContent(useValue: PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>>): Provider;
|
|
21
20
|
/**
|
|
22
21
|
* Accessor for data-list options
|
|
23
22
|
*/
|
|
24
|
-
export declare const TUI_DATA_LIST_ACCESSOR: InjectionToken<TuiDataListAccessor<unknown>>;
|
|
23
|
+
export declare const TUI_DATA_LIST_ACCESSOR: import("@angular/core").InjectionToken<TuiDataListAccessor<unknown>>;
|
|
25
24
|
export declare function tuiAsDataListAccessor(accessor: Type<TuiDataListAccessor>): Provider;
|
|
26
25
|
/**
|
|
27
26
|
* DataList controller
|
|
28
27
|
*/
|
|
29
|
-
export declare const TUI_DATA_LIST_HOST: InjectionToken<TuiDataListHost<unknown>>;
|
|
28
|
+
export declare const TUI_DATA_LIST_HOST: import("@angular/core").InjectionToken<TuiDataListHost<unknown>>;
|
|
30
29
|
export declare function tuiAsDataListHost<T>(host: Type<TuiDataListHost<T>>): Provider;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TuiPopover } from '@taiga-ui/cdk/services';
|
|
2
|
-
import {
|
|
2
|
+
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
3
|
import type { Observable } from 'rxjs';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
import type { TuiDialogOptions, TuiDialogSize } from './dialog.interfaces';
|
|
@@ -8,7 +8,7 @@ export declare class TuiNotification implements OnChanges, OnInit {
|
|
|
8
8
|
private readonly options;
|
|
9
9
|
protected readonly nothing: undefined;
|
|
10
10
|
protected readonly icons: TuiIcons;
|
|
11
|
-
appearance: "info" | "success" | "error" | "warning" | "neutral" | "accent" | "destructive" | "flat" | "floating" | "glass" | "link" | "opposite" | "outline" | "primary" | "secondary" | "textfield" | "whiteblock" | (Record<never, never> & string);
|
|
11
|
+
appearance: "info" | "success" | "error" | "warning" | "neutral" | "accent" | "destructive" | "flat" | "floating" | "glass" | "icon" | "link" | "opposite" | "outline" | "primary" | "secondary" | "textfield" | "whiteblock" | (Record<never, never> & string);
|
|
12
12
|
icon: TuiStringHandler<string> | string;
|
|
13
13
|
size: "m" | "l" | "s";
|
|
14
14
|
ngOnInit(): void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Observable } from 'rxjs';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import * as i1 from "@taiga-ui/cdk/directives/platform";
|
|
4
3
|
export declare class TuiRoot {
|
|
5
4
|
protected readonly reducedMotion: boolean;
|
|
6
5
|
protected readonly duration: number;
|
|
7
|
-
protected readonly isMobileRes: import("@angular/core").Signal<boolean
|
|
8
|
-
protected readonly
|
|
6
|
+
protected readonly isMobileRes: import("@angular/core").Signal<boolean>;
|
|
7
|
+
protected readonly nativeScrollbar: boolean;
|
|
8
|
+
protected readonly scrollbars: import("@angular/core").Signal<boolean>;
|
|
9
9
|
constructor();
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiRoot, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiRoot, "tui-root", never, {}, {}, never, ["*", "tuiOverContent", "tuiOverDialogs", "tuiOverAlerts", "tuiOverDropdowns", "tuiOverHints"], true, [{ directive: typeof i1.TuiPlatform; inputs: {}; outputs: {}; }]>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiScrollControls {
|
|
3
3
|
private readonly scrollRef;
|
|
4
|
+
protected readonly nativeScrollbar: boolean;
|
|
4
5
|
protected readonly options: import("@angular/animations").AnimationOptions;
|
|
5
6
|
protected readonly refresh$: import("rxjs").Observable<[boolean, boolean] | boolean[]>;
|
|
6
7
|
private get scrollbars();
|
|
@@ -14,6 +14,9 @@ export declare class TuiScrollbar {
|
|
|
14
14
|
protected readonly options: import("./scrollbar.options").TuiScrollbarOptions;
|
|
15
15
|
protected readonly isIOS: boolean;
|
|
16
16
|
protected readonly browserScrollRef: ElementRef<HTMLElement>;
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated: use tuiScrollbarOptionsProvider({ mode: 'hidden' })
|
|
19
|
+
*/
|
|
17
20
|
hidden: boolean;
|
|
18
21
|
protected get delegated(): boolean;
|
|
19
22
|
protected get scrollRef(): HTMLElement;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type { Provider } from '@angular/core';
|
|
2
1
|
export interface TuiScrollbarOptions {
|
|
3
|
-
mode: 'always' | 'hover';
|
|
2
|
+
mode: 'always' | 'hidden' | 'hover' | 'native';
|
|
4
3
|
}
|
|
5
4
|
export declare const TUI_DEFAULT_SCROLLBAR_OPTIONS: TuiScrollbarOptions;
|
|
6
|
-
export declare const TUI_SCROLLBAR_OPTIONS: import("@angular/core").InjectionToken<TuiScrollbarOptions
|
|
7
|
-
export declare function tuiScrollbarOptionsProvider(options: Partial<TuiScrollbarOptions>): Provider;
|
|
5
|
+
export declare const TUI_SCROLLBAR_OPTIONS: import("@angular/core").InjectionToken<TuiScrollbarOptions>, tuiScrollbarOptionsProvider: (item: Partial<TuiScrollbarOptions>) => import("@angular/core").FactoryProvider;
|
|
@@ -4,7 +4,6 @@ import * as i1 from "@taiga-ui/cdk/directives/native-validator";
|
|
|
4
4
|
import * as i2 from "@taiga-ui/core/directives/appearance";
|
|
5
5
|
export declare class TuiSelect<T> extends TuiTextfieldBase<T> {
|
|
6
6
|
private readonly nav;
|
|
7
|
-
private readonly control;
|
|
8
7
|
placeholder: string;
|
|
9
8
|
setValue(value: T): void;
|
|
10
9
|
focus(): void;
|
|
@@ -10,6 +10,7 @@ import * as i1 from "@taiga-ui/core/directives/dropdown";
|
|
|
10
10
|
import * as i2 from "./textfield-dropdown.directive";
|
|
11
11
|
import * as i3 from "@taiga-ui/core/directives/icons";
|
|
12
12
|
export declare class TuiTextfieldComponent<T> implements TuiDataListHost<T> {
|
|
13
|
+
private readonly filler;
|
|
13
14
|
private readonly autoId;
|
|
14
15
|
private readonly el;
|
|
15
16
|
private readonly open;
|
|
@@ -18,20 +19,20 @@ export declare class TuiTextfieldComponent<T> implements TuiDataListHost<T> {
|
|
|
18
19
|
protected readonly label?: ElementRef<HTMLElement>;
|
|
19
20
|
protected readonly control?: NgControl;
|
|
20
21
|
protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
|
|
22
|
+
protected computedFiller: import("@angular/core").Signal<string>;
|
|
23
|
+
protected showFiller: import("@angular/core").Signal<boolean>;
|
|
21
24
|
readonly vcr?: ViewContainerRef;
|
|
22
25
|
readonly input?: ElementRef<HTMLInputElement>;
|
|
23
|
-
filler: string;
|
|
24
26
|
stringify: TuiStringHandler<T>;
|
|
25
27
|
content: PolymorpheusContent<TuiContext<T>>;
|
|
26
28
|
readonly focused: import("@angular/core").Signal<boolean>;
|
|
27
29
|
readonly options: import("./textfield.options").TuiTextfieldOptions;
|
|
30
|
+
set fillerSetter(filler: string);
|
|
28
31
|
get id(): string;
|
|
29
32
|
get size(): TuiSizeL | TuiSizeS;
|
|
30
33
|
handleOption(option: T): void;
|
|
31
|
-
protected get computedFiller(): string;
|
|
32
|
-
protected get showFiller(): boolean;
|
|
33
34
|
protected get hasLabel(): boolean;
|
|
34
35
|
protected onResize({ contentRect }: ResizeObserverEntry): void;
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldComponent<any>, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldComponent<any>, "tui-textfield", never, { "
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldComponent<any>, "tui-textfield", never, { "stringify": { "alias": "stringify"; "required": false; }; "content": { "alias": "content"; "required": false; }; "fillerSetter": { "alias": "filler"; "required": false; }; }, {}, ["directive", "label", "control", "input"], ["input", "select", "label", "*", "tui-icon"], true, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiWithDropdownOpen; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithTextfieldDropdown; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithIcons; inputs: {}; outputs: {}; }]>;
|
|
37
38
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { OnChanges } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
2
3
|
import type { TuiInteractiveState } from '@taiga-ui/core/types';
|
|
3
4
|
import { TuiTextfieldComponent } from './textfield.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -6,6 +7,7 @@ import * as i1 from "@taiga-ui/cdk/directives/native-validator";
|
|
|
6
7
|
import * as i2 from "@taiga-ui/core/directives/appearance";
|
|
7
8
|
export declare class TuiTextfieldBase<T> implements OnChanges {
|
|
8
9
|
private readonly focused;
|
|
10
|
+
protected readonly control: NgControl | null;
|
|
9
11
|
protected readonly a: import("@angular/core").WritableSignal<string>;
|
|
10
12
|
protected readonly s: import("@angular/core").WritableSignal<TuiInteractiveState | null>;
|
|
11
13
|
protected readonly m: import("@angular/core").WritableSignal<string | readonly string[] | null>;
|
|
@@ -14,6 +16,7 @@ export declare class TuiTextfieldBase<T> implements OnChanges {
|
|
|
14
16
|
protected readonly textfield: TuiTextfieldComponent<T>;
|
|
15
17
|
readOnly: boolean;
|
|
16
18
|
invalid: boolean | null;
|
|
19
|
+
nativeValue: import("@angular/core").Signal<string>;
|
|
17
20
|
set focusedSetter(focused: boolean | null);
|
|
18
21
|
set stateSetter(state: TuiInteractiveState | null);
|
|
19
22
|
get mode(): string | null;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { TuiInteractiveState } from '@taiga-ui/core/types';
|
|
2
|
-
import {
|
|
2
|
+
import type { TuiAppearanceOptions } from './appearance.options';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TuiAppearance {
|
|
5
5
|
private readonly el;
|
|
6
6
|
protected readonly nothing: undefined;
|
|
7
7
|
protected readonly modes: import("@angular/core").Signal<string | null>;
|
|
8
|
-
readonly appearance: import("@angular/core").WritableSignal<"accent" | "destructive" | "error" | "flat" | "floating" | "glass" | "info" | "link" | "neutral" | "opposite" | "outline" | "primary" | "secondary" | "success" | "textfield" | "warning" | "whiteblock" | (Record<never, never> & string)>;
|
|
8
|
+
readonly appearance: import("@angular/core").WritableSignal<"accent" | "destructive" | "error" | "flat" | "floating" | "glass" | "icon" | "info" | "link" | "neutral" | "opposite" | "outline" | "primary" | "secondary" | "success" | "textfield" | "warning" | "whiteblock" | (Record<never, never> & string)>;
|
|
9
9
|
readonly state: import("@angular/core").WritableSignal<TuiInteractiveState | null>;
|
|
10
10
|
readonly focus: import("@angular/core").WritableSignal<boolean | null>;
|
|
11
11
|
readonly mode: import("@angular/core").WritableSignal<string | readonly string[] | null>;
|
|
@@ -3,7 +3,7 @@ import type { TuiLooseUnion } from '@taiga-ui/cdk/types';
|
|
|
3
3
|
/**
|
|
4
4
|
* Bundled appearances for autocomplete purposes, not exported on purpose
|
|
5
5
|
*/
|
|
6
|
-
type Appearance = TuiLooseUnion<'accent' | 'destructive' | 'error' | 'flat' | 'floating' | 'glass' | 'info' | 'link' | 'neutral' | 'opposite' | 'outline' | 'primary' | 'secondary' | 'success' | 'textfield' | 'warning' | 'whiteblock'>;
|
|
6
|
+
type Appearance = TuiLooseUnion<'accent' | 'destructive' | 'error' | 'flat' | 'floating' | 'glass' | 'icon' | 'info' | 'link' | 'neutral' | 'opposite' | 'outline' | 'primary' | 'secondary' | 'success' | 'textfield' | 'warning' | 'whiteblock'>;
|
|
7
7
|
export interface TuiAppearanceOptions {
|
|
8
8
|
readonly appearance: Appearance;
|
|
9
9
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TuiDropdownFixed {
|
|
3
|
+
constructor();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownFixed, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownFixed, never, never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FactoryProvider } from '@angular/core';
|
|
2
2
|
import type { TuiVerticalDirection } from '@taiga-ui/core/types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type TuiDropdownAlign = 'center' | 'left' | 'right';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Type } from '@angular/core';
|
|
2
|
-
import { InjectionToken } from '@angular/core';
|
|
3
2
|
/**
|
|
4
3
|
* A component to display a dropdown
|
|
5
4
|
*/
|
|
6
|
-
export declare const TUI_DROPDOWN_COMPONENT: InjectionToken<Type<any>>;
|
|
7
|
-
export declare const TUI_DROPDOWN_CONTEXT: InjectionToken<Record<any, any>>;
|
|
5
|
+
export declare const TUI_DROPDOWN_COMPONENT: import("@angular/core").InjectionToken<Type<any>>;
|
|
6
|
+
export declare const TUI_DROPDOWN_CONTEXT: import("@angular/core").InjectionToken<Record<any, any>>;
|
|
@@ -6,6 +6,7 @@ export * from './dropdown.driver';
|
|
|
6
6
|
export * from './dropdown.providers';
|
|
7
7
|
export * from './dropdown.service';
|
|
8
8
|
export * from './dropdown-context.directive';
|
|
9
|
+
export * from './dropdown-fixed.directive';
|
|
9
10
|
export * from './dropdown-hover.directive';
|
|
10
11
|
export * from './dropdown-hover.options';
|
|
11
12
|
export * from './dropdown-manual.directive';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { FactoryProvider, OnChanges } from '@angular/core';
|
|
2
2
|
import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TuiHoveredService } from '@taiga-ui/cdk/directives/hovered';
|
|
2
2
|
import { TuiRectAccessor } from '@taiga-ui/core/classes';
|
|
3
3
|
import { TuiPositionService } from '@taiga-ui/core/services';
|
|
4
|
-
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
5
4
|
import { TuiHintDirective } from './hint.directive';
|
|
6
5
|
import { TuiHintPointer } from './hint-pointer.directive';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
@@ -15,9 +14,9 @@ export declare class TuiHintComponent<C = any> {
|
|
|
15
14
|
protected readonly pointer: TuiHintPointer | null;
|
|
16
15
|
protected readonly accessor: TuiRectAccessor;
|
|
17
16
|
protected readonly hint: TuiHintDirective<C>;
|
|
17
|
+
protected readonly content: import("@angular/core").WritableSignal<import("@taiga-ui/polymorpheus").PolymorpheusContent<C>>;
|
|
18
18
|
protected readonly appearance: string | null | undefined;
|
|
19
19
|
constructor();
|
|
20
|
-
protected get content(): PolymorpheusContent<C>;
|
|
21
20
|
protected onClick(target: HTMLElement): void;
|
|
22
21
|
private apply;
|
|
23
22
|
private update;
|
|
@@ -12,7 +12,7 @@ export declare class TuiHintDirective<C> implements OnDestroy, TuiPortalItem<C>,
|
|
|
12
12
|
private readonly service;
|
|
13
13
|
context?: C;
|
|
14
14
|
appearance: string;
|
|
15
|
-
content: PolymorpheusContent<C
|
|
15
|
+
content: import("@angular/core").WritableSignal<PolymorpheusContent<C>>;
|
|
16
16
|
component: PolymorpheusComponent<any>;
|
|
17
17
|
readonly el: HTMLElement;
|
|
18
18
|
readonly activeZone?: TuiActiveZone | null | undefined;
|