@taiga-ui/core 5.13.0 → 5.14.0-canary.41d4be7
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/carousel/carousel.component.d.ts +1 -0
- package/components/data-list/data-list.component.d.ts +0 -2
- package/components/data-list/data-list.tokens.d.ts +2 -0
- package/components/notification/notification.service.d.ts +2 -1
- package/components/scrollbar/index.d.ts +2 -0
- package/components/scrollbar/scroll-controls.component.d.ts +2 -3
- package/components/scrollbar/scroll-controls.service.d.ts +10 -0
- package/components/scrollbar/scrollable.directive.d.ts +2 -1
- package/components/scrollbar/scrollbar-position.directive.d.ts +15 -0
- package/components/scrollbar/scrollbar.component.d.ts +2 -1
- package/components/scrollbar/scrollbar.directive.d.ts +3 -6
- package/components/textfield/select-like.directive.d.ts +1 -0
- package/components/textfield/textfield-multi/textfield-multi.component.d.ts +3 -2
- package/components/textfield/textfield.component.d.ts +1 -1
- package/fesm2022/taiga-ui-core-components-button.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-carousel.mjs +7 -3
- package/fesm2022/taiga-ui-core-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-cell.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-checkbox.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-checkbox.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-data-list.mjs +12 -10
- package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-error.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-expand.mjs +2 -2
- 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-label.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-link.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-loader.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-notification.mjs +16 -10
- package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-radio.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-radio.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +87 -57
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-slider.mjs +4 -4
- package/fesm2022/taiga-ui-core-components-slider.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +16 -24
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-title.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-group.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-icons.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-alert.mjs +6 -6
- package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-dialog.mjs +2 -2
- package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs +50 -28
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-hint.mjs +51 -43
- package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-modal.mjs +3 -3
- package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-popup.mjs +25 -12
- package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-services.mjs +8 -1
- package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-tokens.mjs +15 -20
- package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
- package/package.json +16 -16
- package/portals/alert/alert.service.d.ts +2 -1
- package/portals/dropdown/dropdown-anchor.directive.d.ts +16 -0
- package/portals/dropdown/dropdown.component.d.ts +3 -11
- package/portals/dropdown/dropdown.directive.d.ts +3 -1
- package/portals/dropdown/index.d.ts +1 -0
- package/portals/hint/hint-options.directive.d.ts +2 -0
- package/portals/hint/hint-position.directive.d.ts +3 -1
- package/portals/hint/hint.component.d.ts +0 -1
- package/portals/hint/hint.directive.d.ts +3 -3
- package/portals/popup/popup.directive.d.ts +1 -0
- package/portals/popup/popups.component.d.ts +4 -1
- package/services/position.service.d.ts +1 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { type AfterViewChecked, type ComponentRef, type OnDestroy, TemplateRef } from '@angular/core';
|
|
2
2
|
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
3
|
-
import {
|
|
3
|
+
import { TuiRectAccessor, type TuiVehicle } from '@taiga-ui/core/classes';
|
|
4
4
|
import { PolymorpheusComponent, type PolymorpheusContent, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./dropdown.driver";
|
|
7
7
|
import * as i2 from "./dropdown-a11y.directive";
|
|
8
8
|
import * as i3 from "./dropdown-position.directive";
|
|
9
9
|
export declare class TuiDropdownDirective implements AfterViewChecked, OnDestroy, TuiRectAccessor, TuiVehicle {
|
|
10
|
+
private readonly injector;
|
|
10
11
|
private readonly refresh$;
|
|
11
12
|
private readonly service;
|
|
12
13
|
private readonly cdr;
|
|
@@ -18,6 +19,7 @@ export declare class TuiDropdownDirective implements AfterViewChecked, OnDestroy
|
|
|
18
19
|
readonly type = "dropdown";
|
|
19
20
|
readonly component: PolymorpheusComponent<any>;
|
|
20
21
|
readonly content: import("@angular/core").InputSignalWithTransform<string | number | PolymorpheusComponent<unknown> | import("@angular/platform-browser").SafeValue | import("@taiga-ui/polymorpheus").PolymorpheusHandler<TuiContext<() => void>> | PolymorpheusTemplate<"" | Partial<TuiContext<() => void>>> | TemplateRef<Partial<TuiContext<() => void>>> | null | undefined, PolymorpheusContent<TuiContext<() => void>>>;
|
|
22
|
+
get accessor(): TuiRectAccessor;
|
|
21
23
|
get position(): 'absolute' | 'fixed';
|
|
22
24
|
ngAfterViewChecked(): void;
|
|
23
25
|
ngOnDestroy(): void;
|
|
@@ -4,6 +4,7 @@ export * from './dropdown.directive';
|
|
|
4
4
|
export * from './dropdown.driver';
|
|
5
5
|
export * from './dropdown.providers';
|
|
6
6
|
export * from './dropdown-a11y.directive';
|
|
7
|
+
export * from './dropdown-anchor.directive';
|
|
7
8
|
export * from './dropdown-close.directive';
|
|
8
9
|
export * from './dropdown-content.directive';
|
|
9
10
|
export * from './dropdown-context.directive';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
|
|
2
2
|
export type TuiHintDirection = 'bottom-end' | 'bottom-start' | 'bottom' | 'end-bottom' | 'end-top' | 'end' | 'start-bottom' | 'start-top' | 'start' | 'top-end' | 'top-start' | 'top';
|
|
3
3
|
export declare const TUI_HINT_DIRECTIONS: readonly TuiHintDirection[];
|
|
4
|
+
/** TODO: remove optionality in v6 */
|
|
4
5
|
export interface TuiHintOptions extends TuiAppearanceOptions {
|
|
5
6
|
readonly direction: TuiHintDirection | TuiHintDirection[];
|
|
7
|
+
readonly centered?: boolean;
|
|
6
8
|
readonly hideDelay: number;
|
|
7
9
|
readonly icon: string;
|
|
8
10
|
readonly showDelay: number;
|
|
@@ -5,16 +5,18 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class TuiHintPosition extends TuiPositionAccessor {
|
|
6
6
|
private readonly el;
|
|
7
7
|
private readonly viewport;
|
|
8
|
+
private readonly options;
|
|
8
9
|
private readonly directionChange;
|
|
9
10
|
private readonly accessor;
|
|
10
11
|
private readonly points;
|
|
11
12
|
readonly direction: import("@angular/core").InputSignal<TuiHintDirection | TuiHintDirection[]>;
|
|
12
13
|
readonly offset: import("@angular/core").InputSignal<number>;
|
|
14
|
+
readonly centered: import("@angular/core").InputSignal<boolean | undefined>;
|
|
13
15
|
readonly tuiHintDirectionChange: import("@angular/core").OutputRef<TuiHintDirection>;
|
|
14
16
|
readonly type = "hint";
|
|
15
17
|
getPosition({ width, height }: DOMRect): TuiPoint;
|
|
16
18
|
private get fallback();
|
|
17
19
|
private checkPosition;
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintPosition, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintPosition, never, never, { "direction": { "alias": "tuiHintDirection"; "required": false; "isSignal": true; }; "offset": { "alias": "tuiHintOffset"; "required": false; "isSignal": true; }; }, { "tuiHintDirectionChange": "tuiHintDirectionChange"; }, never, never, true, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintPosition, never, never, { "direction": { "alias": "tuiHintDirection"; "required": false; "isSignal": true; }; "offset": { "alias": "tuiHintOffset"; "required": false; "isSignal": true; }; "centered": { "alias": "tuiHintCentered"; "required": false; "isSignal": true; }; }, { "tuiHintDirectionChange": "tuiHintDirectionChange"; }, never, never, true, never>;
|
|
20
22
|
}
|
|
@@ -16,7 +16,6 @@ export declare class TuiHintComponent {
|
|
|
16
16
|
protected readonly pointer: TuiHintPointer | null;
|
|
17
17
|
protected readonly accessor: TuiRectAccessor;
|
|
18
18
|
protected readonly hint: TuiHintDirective<any>;
|
|
19
|
-
protected readonly isMobile: boolean;
|
|
20
19
|
protected readonly content: import("@angular/core").InputSignal<import("@taiga-ui/polymorpheus").PolymorpheusContent<any>> | import("@angular/core").WritableSignal<string>;
|
|
21
20
|
protected readonly theme: string | null | undefined;
|
|
22
21
|
protected readonly appearance: import("@angular/core").Signal<string>;
|
|
@@ -7,11 +7,11 @@ import * as i2 from "./hint-hover.directive";
|
|
|
7
7
|
import * as i3 from "./hint-position.directive";
|
|
8
8
|
export declare class TuiHintDirective<C> implements OnDestroy, OnChanges, TuiRectAccessor, TuiVehicle {
|
|
9
9
|
private readonly service;
|
|
10
|
-
private ref
|
|
10
|
+
private readonly ref;
|
|
11
11
|
readonly content: import("@angular/core").InputSignal<PolymorpheusContent<C>>;
|
|
12
12
|
readonly context: import("@angular/core").InputSignal<C | undefined>;
|
|
13
13
|
readonly appearance: import("@angular/core").InputSignal<string>;
|
|
14
|
-
readonly visible: import("@angular/core").
|
|
14
|
+
readonly visible: import("@angular/core").OutputRef<boolean>;
|
|
15
15
|
component: PolymorpheusComponent<any>;
|
|
16
16
|
readonly el: HTMLElement;
|
|
17
17
|
readonly type = "hint";
|
|
@@ -20,5 +20,5 @@ export declare class TuiHintDirective<C> implements OnDestroy, OnChanges, TuiRec
|
|
|
20
20
|
getClientRect(): DOMRect;
|
|
21
21
|
toggle(show: boolean): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintDirective<any>, never>;
|
|
23
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDirective<any>, "[tuiHint]:not(ng-container):not(ng-template)", never, { "content": { "alias": "tuiHint"; "required": false; "isSignal": true; }; "context": { "alias": "tuiHintContext"; "required": false; "isSignal": true; }; "appearance": { "alias": "tuiHintAppearance"; "required": false; "isSignal": true; }; }, { "visible": "tuiHintVisible"; }, never, never, true, [{ directive: typeof i1.TuiHintDriver; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiHintHover; inputs: { "tuiHintHideDelay": "tuiHintHideDelay"; "tuiHintShowDelay": "tuiHintShowDelay"; }; outputs: {}; }, { directive: typeof i3.TuiHintPosition; inputs: { "tuiHintDirection": "tuiHintDirection"; "tuiHintOffset": "tuiHintOffset"; }; outputs: { "tuiHintDirectionChange": "tuiHintDirectionChange"; }; }]>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDirective<any>, "[tuiHint]:not(ng-container):not(ng-template)", never, { "content": { "alias": "tuiHint"; "required": false; "isSignal": true; }; "context": { "alias": "tuiHintContext"; "required": false; "isSignal": true; }; "appearance": { "alias": "tuiHintAppearance"; "required": false; "isSignal": true; }; }, { "visible": "tuiHintVisible"; }, never, never, true, [{ directive: typeof i1.TuiHintDriver; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiHintHover; inputs: { "tuiHintHideDelay": "tuiHintHideDelay"; "tuiHintShowDelay": "tuiHintShowDelay"; }; outputs: {}; }, { directive: typeof i3.TuiHintPosition; inputs: { "tuiHintDirection": "tuiHintDirection"; "tuiHintCentered": "tuiHintCentered"; "tuiHintOffset": "tuiHintOffset"; }; outputs: { "tuiHintDirectionChange": "tuiHintDirectionChange"; }; }]>;
|
|
24
24
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { type AfterViewChecked } from '@angular/core';
|
|
1
2
|
import { TuiPortals } from '@taiga-ui/cdk/portals';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare
|
|
4
|
+
export declare const TUI_CDR: "_tuiCdr";
|
|
5
|
+
export declare class TuiPopups extends TuiPortals implements AfterViewChecked {
|
|
6
|
+
ngAfterViewChecked(): void;
|
|
4
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPopups, never>;
|
|
5
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiPopups, "tui-popups", never, {}, {}, never, ["*"], true, never>;
|
|
6
9
|
}
|
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TuiPositionService extends Observable<TuiPoint> {
|
|
5
5
|
private readonly el;
|
|
6
6
|
private readonly accessor;
|
|
7
|
+
private rect?;
|
|
7
8
|
constructor();
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiPositionService, never>;
|
|
9
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<TuiPositionService>;
|