@taiga-ui/core 4.52.0-canary.a4e325d → 4.52.0-canary.aaf153c

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.
Files changed (210) hide show
  1. package/components/alert/alert.component.d.ts +5 -6
  2. package/components/alert/alert.directive.d.ts +4 -3
  3. package/components/alert/alert.interfaces.d.ts +3 -2
  4. package/components/alert/alert.service.d.ts +6 -2
  5. package/components/alert/alert.tokens.d.ts +1 -7
  6. package/components/alert/index.d.ts +0 -1
  7. package/components/button/button.directive.d.ts +2 -2
  8. package/components/button/button.options.d.ts +1 -1
  9. package/components/cell/cell.directive.d.ts +9 -0
  10. package/components/cell/cell.options.d.ts +6 -0
  11. package/components/cell/index.d.ts +2 -0
  12. package/components/data-list/data-list.component.d.ts +1 -1
  13. package/components/dialog/active-zone-adapter.directive.d.ts +11 -0
  14. package/components/dialog/dialog.component.d.ts +6 -11
  15. package/components/dialog/dialog.directive.d.ts +5 -4
  16. package/components/dialog/dialog.factory.d.ts +1 -1
  17. package/components/dialog/dialog.options.d.ts +26 -0
  18. package/components/dialog/{dialog-close.service.d.ts → dialog.providers.d.ts} +4 -1
  19. package/components/dialog/dialog.service.d.ts +6 -3
  20. package/components/dialog/index.d.ts +2 -3
  21. package/components/error/error.component.d.ts +6 -8
  22. package/components/error/error.d.ts +4 -0
  23. package/components/error/error.directive.d.ts +19 -0
  24. package/components/error/error.pipe.d.ts +10 -0
  25. package/components/error/index.d.ts +3 -0
  26. package/components/expand/expand.component.d.ts +9 -28
  27. package/components/expand/index.d.ts +0 -2
  28. package/components/header/header.directive.d.ts +17 -0
  29. package/components/header/index.d.ts +1 -0
  30. package/components/icon/icon.component.d.ts +6 -11
  31. package/components/index.d.ts +3 -1
  32. package/components/link/link.directive.d.ts +2 -2
  33. package/components/loader/loader.component.d.ts +7 -7
  34. package/components/modal/index.d.ts +2 -0
  35. package/components/modal/modal.component.d.ts +17 -0
  36. package/components/modal/modal.service.d.ts +13 -0
  37. package/components/notification/notification.directive.d.ts +7 -11
  38. package/components/notification/notification.options.d.ts +1 -1
  39. package/components/root/root.component.d.ts +4 -6
  40. package/components/scrollbar/scrollbar.options.d.ts +1 -1
  41. package/components/spin-button/spin-button.component.d.ts +8 -9
  42. package/components/textfield/index.d.ts +1 -3
  43. package/components/textfield/textfield-content.directive.d.ts +3 -2
  44. package/components/textfield/textfield-icon.d.ts +3 -3
  45. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +5 -6
  46. package/components/textfield/textfield.component.d.ts +5 -7
  47. package/components/textfield/textfield.d.ts +2 -3
  48. package/components/textfield/textfield.directive.d.ts +11 -14
  49. package/components/textfield/textfield.options.d.ts +8 -11
  50. package/directives/appearance/appearance.directive.d.ts +5 -13
  51. package/directives/appearance/appearance.options.d.ts +1 -1
  52. package/directives/dropdown/dropdown-content.directive.d.ts +9 -0
  53. package/directives/dropdown/dropdown.d.ts +2 -2
  54. package/directives/dropdown/dropdown.directive.d.ts +1 -2
  55. package/directives/dropdown/index.d.ts +1 -3
  56. package/directives/hint/hint-describe.directive.d.ts +4 -6
  57. package/directives/hint/hint-host.directive.d.ts +2 -2
  58. package/directives/hint/hint-hover.directive.d.ts +3 -4
  59. package/directives/hint/hint-manual.directive.d.ts +2 -2
  60. package/directives/hint/hint-options.directive.d.ts +3 -3
  61. package/directives/hint/hint-overflow.directive.d.ts +2 -2
  62. package/directives/hint/hint-position.directive.d.ts +4 -5
  63. package/directives/hint/hint-unstyled.component.d.ts +2 -7
  64. package/directives/hint/hint.component.d.ts +10 -11
  65. package/directives/hint/hint.directive.d.ts +9 -11
  66. package/directives/hint/index.d.ts +0 -2
  67. package/directives/icons/icons.bindings.d.ts +5 -0
  68. package/directives/icons/icons.directive.d.ts +8 -16
  69. package/directives/icons/index.d.ts +1 -0
  70. package/directives/index.d.ts +1 -1
  71. package/directives/notification/index.d.ts +2 -0
  72. package/directives/notification/notification.directive.d.ts +11 -0
  73. package/directives/notification/notification.service.d.ts +12 -0
  74. package/directives/popup/popup.directive.d.ts +6 -5
  75. package/directives/popup/popup.service.d.ts +1 -1
  76. package/directives/popup/popups.component.d.ts +2 -2
  77. package/directives/title/title.directive.d.ts +2 -3
  78. package/fesm2022/taiga-ui-core-animations.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-core-classes.mjs +3 -3
  80. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-core-components-alert.mjs +60 -99
  82. package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-core-components-button.mjs +13 -20
  84. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-core-components-calendar.mjs +20 -24
  86. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  88. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  89. package/fesm2022/taiga-ui-core-components-data-list.mjs +29 -30
  90. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-core-components-dialog.mjs +123 -92
  92. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-core-components-error.mjs +109 -26
  94. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-core-components-expand.mjs +34 -132
  96. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  97. package/fesm2022/taiga-ui-core-components-header.mjs +42 -0
  98. package/fesm2022/taiga-ui-core-components-header.mjs.map +1 -0
  99. package/fesm2022/taiga-ui-core-components-icon.mjs +22 -39
  100. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-core-components-label.mjs +9 -12
  102. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-core-components-link.mjs +13 -18
  104. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-core-components-loader.mjs +15 -29
  106. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-core-components-modal.mjs +89 -0
  108. package/fesm2022/taiga-ui-core-components-modal.mjs.map +1 -0
  109. package/fesm2022/taiga-ui-core-components-notification.mjs +24 -53
  110. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-components-root.mjs +20 -50
  112. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +26 -26
  114. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-core-components-spin-button.mjs +16 -29
  116. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-core-components-textfield.mjs +156 -293
  118. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-core-components.mjs +3 -1
  120. package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-core-directives-appearance.mjs +26 -63
  122. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-core-directives-date-format.mjs +3 -3
  124. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +82 -119
  126. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-core-directives-group.mjs +9 -12
  128. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-core-directives-hint.mjs +143 -241
  130. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-core-directives-icons.mjs +35 -45
  132. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +11 -11
  134. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-core-directives-notification.mjs +73 -0
  136. package/fesm2022/taiga-ui-core-directives-notification.mjs.map +1 -0
  137. package/fesm2022/taiga-ui-core-directives-number-format.mjs +3 -3
  138. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-core-directives-popup.mjs +20 -27
  140. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-core-directives-title.mjs +13 -19
  142. package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
  143. package/fesm2022/taiga-ui-core-directives.mjs +1 -1
  144. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +3 -3
  145. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +3 -3
  147. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-core-pipes-flag.mjs +3 -3
  149. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +3 -3
  151. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
  153. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-core-pipes-initials.mjs +3 -3
  155. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-core-pipes-month.mjs +5 -4
  157. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +3 -3
  159. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-core-pipes.mjs +0 -1
  161. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-core-services.mjs +15 -15
  163. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-core-tokens.mjs +24 -32
  165. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +50 -4
  169. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  170. package/package.json +18 -14
  171. package/pipes/index.d.ts +0 -1
  172. package/styles/components/button.less +0 -2
  173. package/styles/components/icon.less +32 -26
  174. package/styles/components/icons.less +14 -12
  175. package/styles/components/link.less +0 -3
  176. package/styles/mixins/mixins.less +1 -2
  177. package/styles/mixins/mixins.scss +1 -2
  178. package/styles/mixins/slider.less +21 -16
  179. package/tokens/i18n.d.ts +7 -7
  180. package/tokens/icon-resolver.d.ts +1 -5
  181. package/tokens/index.d.ts +1 -0
  182. package/tokens/validation-errors.d.ts +4 -0
  183. package/types/index.d.ts +0 -1
  184. package/utils/miscellaneous/index.d.ts +1 -0
  185. package/utils/miscellaneous/provide-taiga.d.ts +13 -0
  186. package/components/alert/alerts.component.d.ts +0 -12
  187. package/components/dialog/dialog.interfaces.d.ts +0 -34
  188. package/components/dialog/dialog.tokens.d.ts +0 -15
  189. package/components/expand/expand-content.directive.d.ts +0 -8
  190. package/components/expand/expand.d.ts +0 -6
  191. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  192. package/components/fullscreen/index.d.ts +0 -1
  193. package/components/textfield/select.directive.d.ts +0 -19
  194. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  195. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  196. package/directives/dropdown/dropdown.service.d.ts +0 -6
  197. package/directives/dropdown/dropdowns.component.d.ts +0 -9
  198. package/directives/hint/hint.service.d.ts +0 -13
  199. package/directives/hint/hints.component.d.ts +0 -12
  200. package/directives/surface/index.d.ts +0 -1
  201. package/directives/surface/surface.directive.d.ts +0 -8
  202. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -66
  203. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  204. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  205. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  206. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
  207. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
  208. package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
  209. package/pipes/fallback-src/index.d.ts +0 -1
  210. package/types/portal-item.d.ts +0 -9
@@ -1,16 +1,15 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class TuiSpinButton {
4
3
  protected readonly icons: import("@taiga-ui/core/tokens").TuiSpinIcons;
5
- protected readonly spinTexts$: import("rxjs").Observable<readonly [previous: string, next: string]>;
6
- focusable: boolean;
7
- disabled: boolean;
8
- leftDisabled: boolean;
9
- rightDisabled: boolean;
10
- readonly leftClick: EventEmitter<void>;
11
- readonly rightClick: EventEmitter<void>;
4
+ protected readonly spinTexts: import("@angular/core").Signal<readonly [previous: string, next: string]>;
5
+ readonly focusable: import("@angular/core").InputSignal<boolean>;
6
+ readonly disabled: import("@angular/core").InputSignal<boolean>;
7
+ readonly leftDisabled: import("@angular/core").InputSignal<boolean>;
8
+ readonly rightDisabled: import("@angular/core").InputSignal<boolean>;
9
+ readonly leftClick: import("@angular/core").OutputEmitterRef<void>;
10
+ readonly rightClick: import("@angular/core").OutputEmitterRef<void>;
12
11
  onLeftClick(): void;
13
12
  onRightClick(): void;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSpinButton, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSpinButton, "tui-spin-button", never, { "focusable": { "alias": "focusable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "leftDisabled": { "alias": "leftDisabled"; "required": false; }; "rightDisabled": { "alias": "rightDisabled"; "required": false; }; }, { "leftClick": "leftClick"; "rightClick": "rightClick"; }, never, ["*"], true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiSpinButton, "tui-spin-button", never, { "focusable": { "alias": "focusable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "leftDisabled": { "alias": "leftDisabled"; "required": false; "isSignal": true; }; "rightDisabled": { "alias": "rightDisabled"; "required": false; "isSignal": true; }; }, { "leftClick": "leftClick"; "rightClick": "rightClick"; }, never, ["*"], true, never>;
16
15
  }
@@ -6,9 +6,7 @@ export * from './textfield.options';
6
6
  export * from './textfield-accessor';
7
7
  export * from './textfield-auxiliary';
8
8
  export * from './textfield-content.directive';
9
- export * from './textfield-dropdown.directive';
10
9
  export * from './textfield-icon';
11
- export * from './with-native-picker.directive';
12
- export * from './select.directive';
13
10
  export * from './textfield-multi/textfield-item.component';
14
11
  export * from './textfield-multi/textfield-multi.component';
12
+ export * from './with-native-picker.directive';
@@ -1,8 +1,9 @@
1
- import { type DoCheck } from '@angular/core';
1
+ import { type DoCheck, type OnDestroy } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class TuiTextfieldContent implements DoCheck {
3
+ export declare class TuiTextfieldContent implements DoCheck, OnDestroy {
4
4
  private readonly ref;
5
5
  ngDoCheck(): void;
6
+ ngOnDestroy(): void;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldContent, never>;
7
8
  static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldContent, "ng-template[tuiTextfieldContent]", never, {}, {}, never, never, true, never>;
8
9
  }
@@ -1,6 +1,6 @@
1
1
  import { type ProviderToken, type Signal } from '@angular/core';
2
- import { type TuiHandler } from '@taiga-ui/cdk/types';
2
+ import { type TuiStringHandler } from '@taiga-ui/cdk/types';
3
3
  import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
- export declare function tuiTextfieldIconBinding(token: ProviderToken<{
5
- icon: TuiHandler<TuiSizeL | TuiSizeS, string>;
4
+ export declare function tuiTextfieldIcon(token: ProviderToken<{
5
+ icon: TuiStringHandler<TuiSizeL | TuiSizeS>;
6
6
  }>): Signal<string>;
@@ -5,22 +5,21 @@ import { TuiTextfieldBaseComponent } from '../textfield.component';
5
5
  import { type TuiTextfieldItem } from './textfield-item.component';
6
6
  import * as i0 from "@angular/core";
7
7
  import * as i1 from "@taiga-ui/core/directives/dropdown";
8
- import * as i2 from "../textfield-dropdown.directive";
9
- import * as i3 from "@taiga-ui/core/directives/icons";
10
- import * as i4 from "@taiga-ui/core/directives";
11
- import * as i5 from "@taiga-ui/core/components/data-list";
8
+ import * as i2 from "@taiga-ui/core/directives/icons";
9
+ import * as i3 from "@taiga-ui/core/directives";
10
+ import * as i4 from "@taiga-ui/core/components/data-list";
12
11
  export declare class TuiTextfieldMultiComponent<T> extends TuiTextfieldBaseComponent<T> {
13
12
  protected readonly height: import("@angular/core").WritableSignal<number | null>;
14
13
  protected readonly handlers: import("@taiga-ui/core/directives").TuiItemsHandlers<unknown>;
15
14
  protected readonly component: PolymorpheusContent<TuiContext<TuiTextfieldItem<T>>>;
16
15
  protected readonly sub: import("rxjs").Subscription;
17
16
  readonly item?: TemplateRef<unknown>;
18
- rows: number;
17
+ readonly rows: import("@angular/core").InputSignal<number>;
19
18
  handleOption(option: T): void;
20
19
  protected get placeholder(): string;
21
20
  protected onItems({ target }: ResizeObserverEntry): void;
22
21
  protected onLeft(event: any): void;
23
22
  protected onClick(target: HTMLElement): void;
24
23
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldMultiComponent<any>, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldMultiComponent<any>, "tui-textfield[multi]", never, { "rows": { "alias": "rows"; "required": false; }; }, {}, ["item"], ["label", "input", "select", "*", "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: {}; }, { directive: typeof i4.TuiWithItemsHandlers; inputs: {}; outputs: {}; }, { directive: typeof i5.TuiWithOptionContent; inputs: {}; outputs: {}; }, { directive: typeof i4.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldMultiComponent<any>, "tui-textfield[multi]", never, { "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, ["item"], ["label", "input", "select", "*", "tui-icon"], true, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiWithDropdownOpen; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithItemsHandlers; inputs: {}; outputs: {}; }, { directive: typeof i4.TuiWithOptionContent; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
26
25
  }
@@ -13,9 +13,7 @@ import * as i2 from "@taiga-ui/cdk/directives/transitioned";
13
13
  import * as i3 from "@taiga-ui/core/directives/icons";
14
14
  import * as i4 from "@taiga-ui/core/directives/items-handlers";
15
15
  import * as i5 from "@taiga-ui/core/components/data-list";
16
- import * as i6 from "./textfield-dropdown.directive";
17
16
  export declare class TuiTextfieldBaseComponent<T> implements TuiDataListHost<T>, AfterContentChecked {
18
- private readonly filler;
19
17
  private readonly autoId;
20
18
  private readonly focusedIn;
21
19
  private readonly contentReady$;
@@ -28,7 +26,7 @@ export declare class TuiTextfieldBaseComponent<T> implements TuiDataListHost<T>,
28
26
  protected readonly dropdown: TuiDropdownDirective;
29
27
  protected readonly dropdownOpen: TuiDropdownOpen;
30
28
  protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
31
- protected readonly clear: import("@angular/core").Signal<string | undefined>;
29
+ protected readonly clear: import("@angular/core").Signal<string>;
32
30
  protected readonly computedFiller: import("@angular/core").Signal<string>;
33
31
  protected readonly showFiller: import("@angular/core").Signal<boolean>;
34
32
  readonly vcr?: ViewContainerRef;
@@ -36,13 +34,13 @@ export declare class TuiTextfieldBaseComponent<T> implements TuiDataListHost<T>,
36
34
  readonly control?: NgControl;
37
35
  readonly cva?: TuiControl<unknown>;
38
36
  readonly input?: ElementRef<HTMLInputElement>;
39
- content: PolymorpheusContent<TuiContext<T>>;
37
+ readonly content: import("@angular/core").InputSignal<PolymorpheusContent<TuiContext<T>>>;
40
38
  readonly focused: import("@angular/core").Signal<boolean>;
41
39
  readonly options: import("./textfield.options").TuiTextfieldOptions;
42
40
  readonly el: HTMLElement;
43
41
  readonly value: import("@angular/core").WritableSignal<string>;
44
42
  readonly auxiliaries: import("@angular/core").Signal<readonly object[]>;
45
- set fillerSetter(filler: string);
43
+ readonly filler: import("@angular/core").InputSignal<string>;
46
44
  get id(): string;
47
45
  get size(): TuiSizeL | TuiSizeS;
48
46
  ngAfterContentChecked(): void;
@@ -52,9 +50,9 @@ export declare class TuiTextfieldBaseComponent<T> implements TuiDataListHost<T>,
52
50
  protected onIconClick(): void;
53
51
  protected onScroll(element: HTMLElement): void;
54
52
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldBaseComponent<any>, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldBaseComponent<any>, never, never, { "content": { "alias": "content"; "required": false; }; "fillerSetter": { "alias": "filler"; "required": false; }; }, {}, ["label", "_input", "accessor", "control", "cva", "input", "auxiliaryQuery"], never, true, never>;
53
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldBaseComponent<any>, never, never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "filler": { "alias": "filler"; "required": false; "isSignal": true; }; }, {}, ["label", "_input", "accessor", "control", "cva", "input", "auxiliaryQuery"], never, true, never>;
56
54
  }
57
55
  export declare class TuiTextfieldComponent<T> extends TuiTextfieldBaseComponent<T> {
58
56
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldComponent<any>, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldComponent<any>, "tui-textfield:not([multi])", never, {}, {}, never, ["input", "select", "textarea", "label", "*", "tui-icon"], true, [{ directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiTransitioned; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiWithDropdownOpen; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i4.TuiWithItemsHandlers; inputs: {}; outputs: {}; }, { directive: typeof i5.TuiWithOptionContent; inputs: {}; outputs: {}; }, { directive: typeof i6.TuiWithTextfieldDropdown; inputs: {}; outputs: {}; }]>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldComponent<any>, "tui-textfield:not([multi])", never, {}, {}, never, ["input", "select", "textarea", "label", "*", "tui-icon"], true, [{ directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiTransitioned; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiWithDropdownOpen; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i4.TuiWithItemsHandlers; inputs: {}; outputs: {}; }, { directive: typeof i5.TuiWithOptionContent; inputs: {}; outputs: {}; }]>;
60
58
  }
@@ -1,9 +1,8 @@
1
1
  import { TuiItem } from '@taiga-ui/cdk/directives/item';
2
2
  import { TuiLabel } from '@taiga-ui/core/components/label';
3
- import { TuiSelect } from './select.directive';
3
+ import { TuiDropdownContent } from '@taiga-ui/core/directives/dropdown';
4
4
  import { TuiTextfieldComponent } from './textfield.component';
5
5
  import { TuiTextfieldDirective } from './textfield.directive';
6
6
  import { TuiTextfieldOptionsDirective } from './textfield.options';
7
- import { TuiTextfieldDropdownDirective } from './textfield-dropdown.directive';
8
7
  import { TuiTextfieldMultiComponent } from './textfield-multi/textfield-multi.component';
9
- export declare const TuiTextfield: readonly [typeof TuiItem, typeof TuiLabel, typeof TuiSelect, typeof TuiTextfieldComponent, typeof TuiTextfieldDirective, typeof TuiTextfieldOptionsDirective, typeof TuiTextfieldDropdownDirective, typeof TuiTextfieldMultiComponent];
8
+ export declare const TuiTextfield: readonly [typeof TuiItem, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldDirective, typeof TuiTextfieldOptionsDirective, typeof TuiTextfieldMultiComponent, typeof TuiDropdownContent];
@@ -1,4 +1,3 @@
1
- import { type OnChanges } from '@angular/core';
2
1
  import { NgControl } from '@angular/forms';
3
2
  import { type TuiItemsHandlers } from '@taiga-ui/core/directives/items-handlers';
4
3
  import { type TuiInteractiveState } from '@taiga-ui/core/types';
@@ -7,30 +6,28 @@ import { type TuiTextfieldAccessor } from './textfield-accessor';
7
6
  import * as i0 from "@angular/core";
8
7
  import * as i1 from "@taiga-ui/cdk/directives/native-validator";
9
8
  import * as i2 from "@taiga-ui/core/directives/appearance";
10
- export declare class TuiTextfieldBase<T> implements OnChanges, TuiTextfieldAccessor<T> {
11
- private readonly focused;
9
+ export declare class TuiTextfieldBase<T> implements TuiTextfieldAccessor<T> {
12
10
  protected readonly control: NgControl | null;
13
- protected readonly a: import("@angular/core").WritableSignal<string>;
14
- protected readonly s: import("@angular/core").WritableSignal<TuiInteractiveState | null>;
15
- protected readonly m: import("@angular/core").WritableSignal<string | readonly string[] | null>;
11
+ protected readonly a: import("@angular/core").Signal<string>;
12
+ protected readonly s: import("@angular/core").Signal<TuiInteractiveState | null>;
13
+ protected readonly m: import("@angular/core").Signal<string | readonly string[] | null>;
16
14
  protected readonly f: import("@angular/core").Signal<boolean | null>;
17
15
  protected readonly el: HTMLInputElement;
18
16
  protected readonly handlers: TuiItemsHandlers<T>;
19
17
  protected readonly textfield: TuiTextfieldComponent<T>;
20
- readOnly: boolean;
21
- invalid: boolean | null;
18
+ readonly readOnly: import("@angular/core").InputSignal<boolean>;
19
+ readonly invalid: import("@angular/core").InputSignal<boolean | null>;
22
20
  readonly value: import("@angular/core").WritableSignal<string>;
23
- set focusedSetter(focused: boolean | null);
24
- set stateSetter(state: TuiInteractiveState | null);
25
- get mode(): string | null;
26
- ngOnChanges(): void;
21
+ readonly focused: import("@angular/core").InputSignal<boolean | null>;
22
+ readonly state: import("@angular/core").InputSignal<TuiInteractiveState | null>;
23
+ readonly mode: import("@angular/core").Signal<string | null>;
27
24
  setValue(value: T | null): void;
28
25
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldBase<any>, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldBase<any>, never, never, { "readOnly": { "alias": "readOnly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "focusedSetter": { "alias": "focused"; "required": false; }; "stateSetter": { "alias": "state"; "required": false; }; }, {}, never, never, true, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldBase<any>, never, never, { "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "focused": { "alias": "focused"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
30
27
  }
31
28
  export declare class TuiTextfieldDirective<T> extends TuiTextfieldBase<T> {
32
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldDirective<any>, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldDirective<any>, "input[tuiTextfield]:not([tuiInputCard]):not([tuiInputExpire]):not([tuiInputCVC])", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiNativeValidator; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAppearance; inputs: {}; outputs: {}; }]>;
30
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldDirective<any>, "input[tuiTextfield]", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiNativeValidator; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAppearance; inputs: {}; outputs: {}; }]>;
34
31
  }
35
32
  export declare class TuiWithTextfield {
36
33
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiWithTextfield, never>;
@@ -1,21 +1,18 @@
1
- import { InjectionToken, type Provider, type WritableSignal } from '@angular/core';
1
+ import { InjectionToken, type Provider, type Signal } from '@angular/core';
2
2
  import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
3
3
  import * as i0 from "@angular/core";
4
4
  export interface TuiTextfieldOptions {
5
- readonly appearance: WritableSignal<string>;
6
- readonly size: WritableSignal<TuiSizeL | TuiSizeS>;
7
- readonly cleaner: WritableSignal<boolean>;
5
+ readonly appearance: Signal<string>;
6
+ readonly size: Signal<TuiSizeL | TuiSizeS>;
7
+ readonly cleaner: Signal<boolean>;
8
8
  }
9
9
  export declare const TUI_TEXTFIELD_OPTIONS: InjectionToken<TuiTextfieldOptions>;
10
10
  export declare function tuiTextfieldOptionsProvider(options: Partial<TuiTextfieldOptions>): Provider;
11
11
  export declare class TuiTextfieldOptionsDirective implements TuiTextfieldOptions {
12
12
  private readonly options;
13
- appearance: WritableSignal<string>;
14
- size: WritableSignal<"l" | "m" | "s">;
15
- cleaner: WritableSignal<boolean>;
16
- set tuiTextfieldAppearance(appearance: string);
17
- set tuiTextfieldSize(size: TuiSizeL | TuiSizeS);
18
- set tuiTextfieldCleaner(enabled: boolean);
13
+ readonly appearance: import("@angular/core").InputSignal<string>;
14
+ readonly size: import("@angular/core").InputSignalWithTransform<"l" | "m" | "s", "" | "l" | "m" | "s">;
15
+ readonly cleaner: import("@angular/core").InputSignal<boolean>;
19
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldOptionsDirective, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldOptionsDirective, "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", never, { "tuiTextfieldAppearance": { "alias": "tuiTextfieldAppearance"; "required": false; }; "tuiTextfieldSize": { "alias": "tuiTextfieldSize"; "required": false; }; "tuiTextfieldCleaner": { "alias": "tuiTextfieldCleaner"; "required": false; }; }, {}, never, never, true, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldOptionsDirective, "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", never, { "appearance": { "alias": "tuiTextfieldAppearance"; "required": false; "isSignal": true; }; "size": { "alias": "tuiTextfieldSize"; "required": false; "isSignal": true; }; "cleaner": { "alias": "tuiTextfieldCleaner"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
21
18
  }
@@ -1,21 +1,13 @@
1
1
  import { type TuiInteractiveState } from '@taiga-ui/core/types';
2
- import { type TuiAppearanceOptions } from './appearance.options';
3
2
  import * as i0 from "@angular/core";
4
3
  import * as i1 from "@taiga-ui/cdk/directives/transitioned";
5
4
  export declare class TuiAppearance {
6
- private readonly cdr;
7
- private readonly el;
8
5
  protected readonly nothing: undefined;
9
6
  protected readonly modes: import("@angular/core").Signal<string | null>;
10
- readonly appearance: import("@angular/core").WritableSignal<"accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "info" | "negative" | "neutral" | "outline-destructive" | "outline-grayscale" | "outline" | "positive" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | "warning" | (Record<never, never> & string)>;
11
- readonly state: import("@angular/core").WritableSignal<TuiInteractiveState | null>;
12
- readonly focus: import("@angular/core").WritableSignal<boolean | null>;
13
- readonly mode: import("@angular/core").WritableSignal<string | readonly string[] | null>;
14
- readonly update: import("@angular/core").EffectRef;
15
- set tuiAppearance(appearance: TuiAppearanceOptions['appearance']);
16
- set tuiAppearanceState(state: TuiInteractiveState | null);
17
- set tuiAppearanceFocus(focus: boolean | null);
18
- set tuiAppearanceMode(mode: string | readonly string[] | null);
7
+ readonly tuiAppearance: import("@angular/core").InputSignal<"" | ("accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "info" | "negative" | "neutral" | "outline-destructive" | "outline-grayscale" | "outline" | "positive" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | "warning" | (Record<never, never> & string))>;
8
+ readonly tuiAppearanceState: import("@angular/core").InputSignal<TuiInteractiveState | null>;
9
+ readonly tuiAppearanceFocus: import("@angular/core").InputSignal<boolean | null>;
10
+ readonly tuiAppearanceMode: import("@angular/core").InputSignal<string | readonly string[] | null>;
19
11
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiAppearance, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAppearance, "[tuiAppearance]", never, { "tuiAppearance": { "alias": "tuiAppearance"; "required": false; }; "tuiAppearanceState": { "alias": "tuiAppearanceState"; "required": false; }; "tuiAppearanceFocus": { "alias": "tuiAppearanceFocus"; "required": false; }; "tuiAppearanceMode": { "alias": "tuiAppearanceMode"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiTransitioned; inputs: {}; outputs: {}; }]>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAppearance, "[tuiAppearance]", never, { "tuiAppearance": { "alias": "tuiAppearance"; "required": false; "isSignal": true; }; "tuiAppearanceState": { "alias": "tuiAppearanceState"; "required": false; "isSignal": true; }; "tuiAppearanceFocus": { "alias": "tuiAppearanceFocus"; "required": false; "isSignal": true; }; "tuiAppearanceMode": { "alias": "tuiAppearanceMode"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiTransitioned; inputs: {}; outputs: {}; }]>;
21
13
  }
@@ -5,7 +5,7 @@ import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
5
5
  */
6
6
  type Appearance = TuiLooseUnion<'accent' | 'action-destructive' | 'action-grayscale' | 'action' | 'flat-destructive' | 'flat-grayscale' | 'flat' | 'floating' | 'glass' | 'icon' | 'info' | 'negative' | 'neutral' | 'outline-destructive' | 'outline-grayscale' | 'outline' | 'positive' | 'primary-destructive' | 'primary-grayscale' | 'primary' | 'secondary-destructive' | 'secondary-grayscale' | 'secondary' | 'textfield' | 'warning'>;
7
7
  export interface TuiAppearanceOptions {
8
- readonly appearance: Appearance;
8
+ readonly appearance: Appearance | '';
9
9
  }
10
10
  export declare const TUI_APPEARANCE_DEFAULT_OPTIONS: TuiAppearanceOptions;
11
11
  export declare const TUI_APPEARANCE_OPTIONS: InjectionToken<TuiAppearanceOptions>;
@@ -0,0 +1,9 @@
1
+ import { type OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiDropdownContent implements OnDestroy {
4
+ private readonly directive;
5
+ constructor();
6
+ ngOnDestroy(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownContent, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownContent, "ng-template[tuiDropdown]", never, {}, {}, never, never, true, never>;
9
+ }
@@ -1,14 +1,14 @@
1
1
  import { TuiDropdownComponent } from './dropdown.component';
2
2
  import { TuiDropdownDirective } from './dropdown.directive';
3
3
  import { TuiDropdownDriverDirective } from './dropdown.driver';
4
+ import { TuiDropdownContent } from './dropdown-content.directive';
4
5
  import { TuiDropdownContext } from './dropdown-context.directive';
5
6
  import { TuiDropdownHover } from './dropdown-hover.directive';
6
7
  import { TuiDropdownManual } from './dropdown-manual.directive';
7
8
  import { TuiDropdownOpen } from './dropdown-open.directive';
8
9
  import { TuiDropdownOpenLegacy } from './dropdown-open-legacy.directive';
9
10
  import { TuiDropdownOptionsDirective } from './dropdown-options.directive';
10
- import { TuiDropdownPortal } from './dropdown-portal.directive';
11
11
  import { TuiDropdownPosition } from './dropdown-position.directive';
12
12
  import { TuiDropdownPositionSided } from './dropdown-position-sided.directive';
13
13
  import { TuiDropdownSelection } from './dropdown-selection.directive';
14
- export declare const TuiDropdown: readonly [typeof TuiDropdownOptionsDirective, typeof TuiDropdownDriverDirective, typeof TuiDropdownDirective, typeof TuiDropdownComponent, typeof TuiDropdownOpen, typeof TuiDropdownOpenLegacy, typeof TuiDropdownPortal, typeof TuiDropdownManual, typeof TuiDropdownHover, typeof TuiDropdownContext, typeof TuiDropdownPosition, typeof TuiDropdownPositionSided, typeof TuiDropdownSelection];
14
+ export declare const TuiDropdown: readonly [typeof TuiDropdownOptionsDirective, typeof TuiDropdownDriverDirective, typeof TuiDropdownDirective, typeof TuiDropdownComponent, typeof TuiDropdownOpen, typeof TuiDropdownOpenLegacy, typeof TuiDropdownManual, typeof TuiDropdownHover, typeof TuiDropdownContent, typeof TuiDropdownContext, typeof TuiDropdownPosition, typeof TuiDropdownPositionSided, typeof TuiDropdownSelection];
@@ -1,12 +1,11 @@
1
1
  import { type AfterViewChecked, type ComponentRef, type OnDestroy } from '@angular/core';
2
2
  import { type TuiContext } from '@taiga-ui/cdk/types';
3
3
  import { type TuiRectAccessor, type TuiVehicle } from '@taiga-ui/core/classes';
4
- import { type TuiPortalItem } from '@taiga-ui/core/types';
5
4
  import { PolymorpheusComponent, type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
5
  import * as i0 from "@angular/core";
7
6
  import * as i1 from "./dropdown.driver";
8
7
  import * as i2 from "./dropdown-position.directive";
9
- export declare class TuiDropdownDirective implements AfterViewChecked, OnDestroy, TuiPortalItem, TuiRectAccessor, TuiVehicle {
8
+ export declare class TuiDropdownDirective implements AfterViewChecked, OnDestroy, TuiRectAccessor, TuiVehicle {
10
9
  private readonly refresh$;
11
10
  private readonly service;
12
11
  private readonly cdr;
@@ -4,7 +4,7 @@ export * from './dropdown.component';
4
4
  export * from './dropdown.directive';
5
5
  export * from './dropdown.driver';
6
6
  export * from './dropdown.providers';
7
- export * from './dropdown.service';
7
+ export * from './dropdown-content.directive';
8
8
  export * from './dropdown-context.directive';
9
9
  export * from './dropdown-hover.directive';
10
10
  export * from './dropdown-hover.options';
@@ -13,9 +13,7 @@ export * from './dropdown-manual.directive';
13
13
  export * from './dropdown-open.directive';
14
14
  export * from './dropdown-open-legacy.directive';
15
15
  export * from './dropdown-options.directive';
16
- export * from './dropdown-portal.directive';
17
16
  export * from './dropdown-position.directive';
18
17
  export * from './dropdown-position-sided.directive';
19
18
  export * from './dropdown-selection.directive';
20
- export * from './dropdowns.component';
21
19
  export * from './with-dropdown-open.directive';
@@ -3,14 +3,12 @@ import * as i0 from "@angular/core";
3
3
  export declare class TuiHintDescribe extends TuiDriver {
4
4
  private readonly doc;
5
5
  private readonly el;
6
- private readonly zone;
7
- private readonly id$;
8
- private readonly stream$;
6
+ protected readonly element: import("@angular/core").Signal<Element>;
7
+ readonly id: import("@angular/core").InputSignal<string | null | undefined>;
9
8
  readonly type = "hint";
9
+ protected readonly stream$: import("rxjs").Observable<boolean>;
10
10
  constructor();
11
- set tuiHintDescribe(id: string | null | undefined);
12
- private get element();
13
11
  private get focused();
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintDescribe, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDescribe, "[tuiHintDescribe]", never, { "tuiHintDescribe": { "alias": "tuiHintDescribe"; "required": false; }; }, {}, never, never, true, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDescribe, "[tuiHintDescribe]", never, { "id": { "alias": "tuiHintDescribe"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
16
14
  }
@@ -1,9 +1,9 @@
1
1
  import { TuiRectAccessor } from '@taiga-ui/core/classes';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TuiHintHost extends TuiRectAccessor {
4
- tuiHintHost?: HTMLElement;
4
+ readonly tuiHintHost: import("@angular/core").InputSignal<HTMLElement | undefined>;
5
5
  readonly type = "hint";
6
6
  getClientRect(): DOMRect;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintHost, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHost, "[tuiHint][tuiHintHost]", never, { "tuiHintHost": { "alias": "tuiHintHost"; "required": false; }; }, {}, never, never, true, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHost, "[tuiHint][tuiHintHost]", never, { "tuiHintHost": { "alias": "tuiHintHost"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9
9
  }
@@ -1,5 +1,4 @@
1
1
  import { TuiDriver } from '@taiga-ui/core/classes';
2
- import { type TuiHintOptions } from './hint-options.directive';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class TuiHintHover extends TuiDriver {
5
4
  private readonly isMobile;
@@ -10,13 +9,13 @@ export declare class TuiHintHover extends TuiDriver {
10
9
  private readonly toggle$;
11
10
  private readonly stream$;
12
11
  private readonly parent;
13
- tuiHintShowDelay: TuiHintOptions['showDelay'];
14
- tuiHintHideDelay: TuiHintOptions['hideDelay'];
12
+ readonly showDelay: import("@angular/core").InputSignal<number>;
13
+ readonly hideDelay: import("@angular/core").InputSignal<number>;
15
14
  readonly type = "hint";
16
15
  enabled: boolean;
17
16
  constructor();
18
17
  toggle(visible?: boolean): void;
19
18
  close(): void;
20
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintHover, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHover, never, ["tuiHintHover"], { "tuiHintShowDelay": { "alias": "tuiHintShowDelay"; "required": false; }; "tuiHintHideDelay": { "alias": "tuiHintHideDelay"; "required": false; }; }, {}, never, never, true, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHover, never, ["tuiHintHover"], { "showDelay": { "alias": "tuiHintShowDelay"; "required": false; "isSignal": true; }; "hideDelay": { "alias": "tuiHintHideDelay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
22
21
  }
@@ -4,10 +4,10 @@ import * as i0 from "@angular/core";
4
4
  export declare class TuiHintManual extends TuiDriver implements OnChanges {
5
5
  private readonly hover;
6
6
  private readonly stream$;
7
- tuiHintManual: boolean | null;
7
+ readonly visible: import("@angular/core").InputSignal<boolean | null>;
8
8
  readonly type = "hint";
9
9
  constructor();
10
10
  ngOnChanges(): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintManual, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintManual, "[tuiHint][tuiHintManual]", never, { "tuiHintManual": { "alias": "tuiHintManual"; "required": false; }; }, {}, never, never, true, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintManual, "[tuiHint][tuiHintManual]", never, { "visible": { "alias": "tuiHintManual"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
13
13
  }
@@ -1,11 +1,11 @@
1
1
  import { type FactoryProvider, InjectionToken, type OnChanges } from '@angular/core';
2
+ import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
2
3
  import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
4
  import { Subject } from 'rxjs';
4
5
  import * as i0 from "@angular/core";
5
6
  export type TuiHintDirection = 'bottom-left' | 'bottom-right' | 'bottom' | 'left-bottom' | 'left-top' | 'left' | 'right-bottom' | 'right-top' | 'right' | 'top-left' | 'top-right' | 'top';
6
7
  export declare const TUI_HINT_DIRECTIONS: readonly TuiHintDirection[];
7
- export interface TuiHintOptions {
8
- readonly appearance: string;
8
+ export interface TuiHintOptions extends TuiAppearanceOptions {
9
9
  readonly direction: TuiHintDirection | TuiHintDirection[];
10
10
  readonly hideDelay: number;
11
11
  readonly icon: string;
@@ -25,7 +25,7 @@ export declare class TuiHintOptionsDirective implements TuiHintOptions, OnChange
25
25
  private readonly options;
26
26
  content: PolymorpheusContent;
27
27
  direction: TuiHintDirection | TuiHintDirection[];
28
- appearance: string;
28
+ appearance: "" | ("accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "info" | "negative" | "neutral" | "outline-destructive" | "outline-grayscale" | "outline" | "positive" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | "warning" | (Record<never, never> & string));
29
29
  showDelay: number;
30
30
  hideDelay: number;
31
31
  icon: string;
@@ -2,8 +2,8 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./hint.directive";
3
3
  export declare class TuiHintOverflow {
4
4
  private readonly hint;
5
- tuiHintOverflow: string | null;
5
+ readonly content: import("@angular/core").InputSignal<string | null>;
6
6
  protected onMouseEnter({ scrollWidth, clientWidth, textContent }: Element): void;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintOverflow, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintOverflow, "[tuiHintOverflow]", never, { "tuiHintOverflow": { "alias": "tuiHintOverflow"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiHintDirective; inputs: { "tuiHintAppearance": "tuiHintAppearance"; }; outputs: {}; }]>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintOverflow, "[tuiHintOverflow]", never, { "content": { "alias": "tuiHintOverflow"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiHintDirective; inputs: { "tuiHintAppearance": "tuiHintAppearance"; }; outputs: {}; }]>;
9
9
  }
@@ -1,7 +1,6 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { TuiPositionAccessor } from '@taiga-ui/core/classes';
3
2
  import { type TuiPoint } from '@taiga-ui/core/types';
4
- import { type TuiHintDirection, type TuiHintOptions } from './hint-options.directive';
3
+ import { type TuiHintDirection } from './hint-options.directive';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class TuiHintPosition extends TuiPositionAccessor {
7
6
  private readonly el;
@@ -9,13 +8,13 @@ export declare class TuiHintPosition extends TuiPositionAccessor {
9
8
  private readonly viewport;
10
9
  private readonly accessor;
11
10
  private readonly points;
12
- direction: TuiHintOptions['direction'];
13
- readonly directionChange: EventEmitter<TuiHintDirection>;
11
+ readonly direction: import("@angular/core").InputSignal<TuiHintDirection | TuiHintDirection[]>;
12
+ readonly directionChange: import("@angular/core").OutputEmitterRef<TuiHintDirection>;
14
13
  readonly type = "hint";
15
14
  emitDirection(direction: TuiHintDirection): void;
16
15
  getPosition(rect: DOMRect, el?: HTMLElement): TuiPoint;
17
16
  private get fallback();
18
17
  private checkPosition;
19
18
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintPosition, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintPosition, never, never, { "direction": { "alias": "tuiHintDirection"; "required": false; }; }, { "directionChange": "tuiHintDirectionChange"; }, never, never, true, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintPosition, never, never, { "direction": { "alias": "tuiHintDirection"; "required": false; "isSignal": true; }; }, { "directionChange": "tuiHintDirectionChange"; }, never, never, true, never>;
21
20
  }
@@ -1,12 +1,7 @@
1
- import { type WritableSignal } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type TuiPortalItem } from '@taiga-ui/core/types';
4
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
1
+ import { TuiHintDirective } from './hint.directive';
5
2
  import * as i0 from "@angular/core";
6
3
  export declare class TuiHintUnstyledComponent {
7
- protected readonly context: TuiContext<TuiPortalItem<any> & {
8
- content: WritableSignal<PolymorpheusContent>;
9
- }>;
4
+ protected readonly hint: TuiHintDirective<any>;
10
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintUnstyledComponent, never>;
11
6
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiHintUnstyledComponent, "ng-component", never, {}, {}, never, never, true, never>;
12
7
  }
@@ -4,27 +4,26 @@ import { TuiPositionService } from '@taiga-ui/core/services';
4
4
  import { TuiHintDirective } from './hint.directive';
5
5
  import { TuiHintPointer } from './hint-pointer.directive';
6
6
  import * as i0 from "@angular/core";
7
- import * as i1 from "@taiga-ui/cdk/directives/animated";
7
+ import * as i1 from "@taiga-ui/core/directives/appearance";
8
+ import * as i2 from "@taiga-ui/cdk/directives/animated";
9
+ import * as i3 from "@taiga-ui/cdk/directives/active-zone";
8
10
  export declare const TUI_HINT_PROVIDERS: (import("@angular/core").FactoryProvider | typeof TuiHoveredService | typeof TuiPositionService)[];
9
- export declare class TuiHintBaseComponent<C = any> {
11
+ export declare class TuiHintComponent {
10
12
  private readonly el;
11
13
  private readonly hover;
12
14
  private readonly vvs;
13
15
  private readonly viewport;
14
16
  protected readonly pointer: TuiHintPointer | null;
15
17
  protected readonly accessor: TuiRectAccessor;
16
- protected readonly hint: TuiHintDirective<C>;
18
+ protected readonly hint: TuiHintDirective<any>;
17
19
  protected readonly isMobile: boolean;
18
- protected readonly content: import("@angular/core").WritableSignal<import("@taiga-ui/polymorpheus").PolymorpheusContent<C>>;
19
- protected readonly appearance: string | null | undefined;
20
+ protected readonly content: import("@angular/core").InputSignal<import("@taiga-ui/polymorpheus").PolymorpheusContent<any>> | import("@angular/core").WritableSignal<string>;
21
+ protected readonly theme: string | null | undefined;
22
+ protected readonly appearance: import("@angular/core").Signal<string>;
20
23
  constructor();
21
24
  protected onClick(target: HTMLElement): void;
22
25
  private apply;
23
26
  private update;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintBaseComponent<any>, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiHintBaseComponent<any>, "ng-component", never, {}, {}, never, never, true, never>;
26
- }
27
- export declare class TuiHintComponent<C = any> extends TuiHintBaseComponent<C> {
28
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintComponent<any>, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiHintComponent<any>, "tui-hint", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiHintComponent, "tui-hint", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.TuiAppearance; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAnimated; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiActiveZone; inputs: {}; outputs: {}; }]>;
30
29
  }
@@ -1,26 +1,24 @@
1
- import { EventEmitter, type OnDestroy } from '@angular/core';
2
- import { TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
1
+ import { type OnChanges, type OnDestroy } from '@angular/core';
3
2
  import { type TuiRectAccessor, type TuiVehicle } from '@taiga-ui/core/classes';
4
- import { type TuiPortalItem } from '@taiga-ui/core/types';
5
3
  import { PolymorpheusComponent, type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
4
  import * as i0 from "@angular/core";
7
5
  import * as i1 from "./hint-driver.directive";
8
6
  import * as i2 from "./hint-hover.directive";
9
7
  import * as i3 from "./hint-position.directive";
10
- export declare class TuiHintDirective<C> implements OnDestroy, TuiPortalItem<C>, TuiRectAccessor, TuiVehicle {
8
+ export declare class TuiHintDirective<C> implements OnDestroy, OnChanges, TuiRectAccessor, TuiVehicle {
11
9
  private readonly service;
12
- context?: C;
13
- appearance: string;
14
- readonly visible: EventEmitter<boolean>;
15
- content: import("@angular/core").WritableSignal<PolymorpheusContent<C>>;
10
+ private ref?;
11
+ readonly content: import("@angular/core").InputSignal<PolymorpheusContent<C>>;
12
+ readonly context: import("@angular/core").InputSignal<C | undefined>;
13
+ readonly appearance: import("@angular/core").InputSignal<"" | ("accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "info" | "negative" | "neutral" | "outline-destructive" | "outline-grayscale" | "outline" | "positive" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | "warning" | (Record<never, never> & string))>;
14
+ readonly visible: import("@angular/core").OutputEmitterRef<boolean>;
16
15
  component: PolymorpheusComponent<any>;
17
16
  readonly el: HTMLElement;
18
- readonly activeZone?: TuiActiveZone | null | undefined;
19
17
  readonly type = "hint";
20
- set tuiHint(content: PolymorpheusContent<C>);
18
+ ngOnChanges(): void;
21
19
  ngOnDestroy(): void;
22
20
  getClientRect(): DOMRect;
23
21
  toggle(show: boolean): void;
24
22
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintDirective<any>, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDirective<any>, "[tuiHint]:not(ng-container):not(ng-template)", never, { "context": { "alias": "tuiHintContext"; "required": false; }; "appearance": { "alias": "tuiHintAppearance"; "required": false; }; "tuiHint": { "alias": "tuiHint"; "required": false; }; }, { "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"; }; 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"; }; outputs: { "tuiHintDirectionChange": "tuiHintDirectionChange"; }; }]>;
26
24
  }
@@ -2,7 +2,6 @@ export * from './hint';
2
2
  export * from './hint.component';
3
3
  export * from './hint.directive';
4
4
  export * from './hint.providers';
5
- export * from './hint.service';
6
5
  export * from './hint-describe.directive';
7
6
  export * from './hint-driver.directive';
8
7
  export * from './hint-host.directive';
@@ -13,4 +12,3 @@ export * from './hint-overflow.directive';
13
12
  export * from './hint-pointer.directive';
14
13
  export * from './hint-position.directive';
15
14
  export * from './hint-unstyled.component';
16
- export * from './hints.component';