@taiga-ui/core 4.52.0-canary.2c75afa → 4.52.0-canary.2d877cf

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 (259) hide show
  1. package/README.md +1 -1
  2. package/classes/accessors.d.ts +1 -1
  3. package/components/calendar/calendar-sheet.component.d.ts +1 -1
  4. package/components/calendar/calendar-sheet.options.d.ts +1 -3
  5. package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +2 -2
  6. package/components/calendar/calendar-spin.component.d.ts +1 -0
  7. package/components/calendar/calendar-year.component.d.ts +1 -1
  8. package/components/calendar/calendar.options.d.ts +9 -0
  9. package/components/calendar/index.d.ts +3 -0
  10. package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +1 -1
  11. package/components/data-list/data-list.component.d.ts +7 -11
  12. package/components/data-list/data-list.d.ts +3 -4
  13. package/components/data-list/data-list.tokens.d.ts +1 -23
  14. package/components/data-list/index.d.ts +3 -4
  15. package/components/data-list/opt-group.directive.d.ts +2 -2
  16. package/components/data-list/option-content.directive.d.ts +14 -0
  17. package/components/data-list/option-with-value.directive.d.ts +9 -0
  18. package/components/data-list/option.directive.d.ts +19 -0
  19. package/components/icon/icon.component.d.ts +2 -2
  20. package/components/index.d.ts +2 -3
  21. package/components/input/index.d.ts +2 -0
  22. package/components/input/input.d.ts +5 -0
  23. package/components/input/input.directive.d.ts +30 -0
  24. package/components/label/label.directive.d.ts +1 -1
  25. package/components/link/index.d.ts +0 -1
  26. package/components/link/link.directive.d.ts +8 -6
  27. package/components/loader/loader.options.d.ts +1 -3
  28. package/components/notification/index.d.ts +3 -0
  29. package/components/notification/notification.component.d.ts +14 -0
  30. package/components/notification/notification.d.ts +3 -0
  31. package/components/notification/notification.directive.d.ts +3 -3
  32. package/components/notification/notification.options.d.ts +10 -7
  33. package/components/notification/notification.service.d.ts +17 -0
  34. package/components/root/root.component.d.ts +1 -1
  35. package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
  36. package/components/scrollbar/scrollbar.component.d.ts +1 -5
  37. package/components/spin-button/spin-button.component.d.ts +1 -1
  38. package/components/textfield/index.d.ts +0 -1
  39. package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
  40. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +9 -13
  41. package/components/textfield/textfield.component.d.ts +23 -35
  42. package/components/textfield/textfield.d.ts +2 -3
  43. package/directives/group/group.directive.d.ts +7 -7
  44. package/directives/group/group.options.d.ts +1 -3
  45. package/directives/index.d.ts +0 -5
  46. package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
  47. package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
  48. package/fesm2022/taiga-ui-core-classes.mjs +8 -10
  49. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-core-components-button.mjs +6 -6
  51. package/fesm2022/taiga-ui-core-components-calendar.mjs +137 -32
  52. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-core-components-cell.mjs +7 -7
  54. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-core-components-data-list.mjs +109 -271
  56. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  57. package/fesm2022/taiga-ui-core-components-error.mjs +11 -10
  58. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-core-components-expand.mjs +3 -3
  60. package/fesm2022/taiga-ui-core-components-icon.mjs +8 -8
  61. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-core-components-input.mjs +103 -0
  63. package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
  64. package/fesm2022/taiga-ui-core-components-label.mjs +10 -12
  65. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-core-components-link.mjs +13 -28
  67. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-components-loader.mjs +6 -11
  69. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-core-components-notification.mjs +95 -24
  71. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-core-components-root.mjs +7 -8
  73. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +42 -48
  75. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-core-components-spin-button.mjs +5 -5
  77. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-core-components-textfield.mjs +102 -257
  79. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  80. package/fesm2022/{taiga-ui-core-directives-title.mjs → taiga-ui-core-components-title.mjs} +7 -7
  81. package/fesm2022/{taiga-ui-core-directives-title.mjs.map → taiga-ui-core-components-title.mjs.map} +1 -1
  82. package/fesm2022/taiga-ui-core-components.mjs +2 -3
  83. package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-directives-appearance.mjs +15 -14
  85. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-core-directives-date-format.mjs +3 -3
  87. package/fesm2022/taiga-ui-core-directives-group.mjs +22 -34
  88. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-core-directives-icons.mjs +11 -10
  90. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +16 -37
  92. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-core-directives-number-format.mjs +3 -3
  94. package/fesm2022/taiga-ui-core-directives.mjs +0 -5
  95. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +5 -8
  97. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-core-pipes.mjs +0 -7
  99. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-core-portals-alert.mjs +73 -0
  101. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
  102. package/fesm2022/{taiga-ui-core-components-dialog.mjs → taiga-ui-core-portals-dialog.mjs} +15 -15
  103. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
  104. package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +148 -240
  105. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
  106. package/fesm2022/{taiga-ui-core-directives-hint.mjs → taiga-ui-core-portals-hint.mjs} +49 -50
  107. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
  108. package/fesm2022/{taiga-ui-core-components-modal.mjs → taiga-ui-core-portals-modal.mjs} +10 -10
  109. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
  110. package/fesm2022/{taiga-ui-core-directives-popup.mjs → taiga-ui-core-portals-popup.mjs} +11 -11
  111. package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
  112. package/fesm2022/taiga-ui-core-portals.mjs +11 -0
  113. package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
  114. package/fesm2022/taiga-ui-core-services.mjs +16 -55
  115. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-core-tokens.mjs +8 -41
  117. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -23
  119. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +7 -16
  121. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-core.mjs +1 -1
  123. package/index.d.ts +1 -1
  124. package/package.json +70 -99
  125. package/pipes/format-number/format-number.pipe.d.ts +1 -1
  126. package/pipes/index.d.ts +0 -7
  127. package/{directives/notification/notification.directive.d.ts → portals/alert/alert.directive.d.ts} +3 -3
  128. package/{directives/notification/notification.service.d.ts → portals/alert/alert.service.d.ts} +3 -3
  129. package/portals/alert/index.d.ts +2 -0
  130. package/{components → portals}/dialog/dialog.service.d.ts +1 -1
  131. package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
  132. package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +1 -3
  133. package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
  134. package/portals/dropdown/dropdown-open.directive.d.ts +30 -0
  135. package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
  136. package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +4 -4
  137. package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
  138. package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
  139. package/{directives → portals}/dropdown/dropdown.d.ts +1 -2
  140. package/{directives → portals}/dropdown/dropdown.directive.d.ts +5 -6
  141. package/{directives → portals}/dropdown/index.d.ts +0 -1
  142. package/{directives → portals}/hint/hint-position.directive.d.ts +1 -1
  143. package/portals/index.d.ts +6 -0
  144. package/services/index.d.ts +0 -2
  145. package/styles/components/link.less +8 -23
  146. package/styles/components/textfield.less +10 -7
  147. package/styles/mixins/appearance.less +1 -1
  148. package/styles/mixins/slider.scss +1 -2
  149. package/tokens/common-icons.d.ts +3 -3
  150. package/tokens/icons.d.ts +0 -4
  151. package/tokens/index.d.ts +0 -4
  152. package/types/index.d.ts +0 -2
  153. package/types/point.d.ts +1 -1
  154. package/types/size.d.ts +0 -11
  155. package/utils/format/index.d.ts +0 -1
  156. package/utils/miscellaneous/get-duration.d.ts +2 -0
  157. package/utils/miscellaneous/index.d.ts +1 -1
  158. package/animations/animations.d.ts +0 -109
  159. package/animations/index.d.ts +0 -1
  160. package/components/alert/alert.component.d.ts +0 -14
  161. package/components/alert/alert.directive.d.ts +0 -8
  162. package/components/alert/alert.interfaces.d.ts +0 -12
  163. package/components/alert/alert.service.d.ts +0 -11
  164. package/components/alert/alert.tokens.d.ts +0 -6
  165. package/components/alert/index.d.ts +0 -5
  166. package/components/data-list/data-list.directive.d.ts +0 -7
  167. package/components/data-list/option/option-content.d.ts +0 -16
  168. package/components/data-list/option/option-legacy.component.d.ts +0 -24
  169. package/components/data-list/option/option.directive.d.ts +0 -27
  170. package/components/link/link.options.d.ts +0 -12
  171. package/components/textfield/textfield.directive.d.ts +0 -35
  172. package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
  173. package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
  174. package/directives/notification/index.d.ts +0 -2
  175. package/fesm2022/taiga-ui-core-animations.mjs +0 -370
  176. package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
  177. package/fesm2022/taiga-ui-core-components-alert.mjs +0 -110
  178. package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
  179. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
  180. package/fesm2022/taiga-ui-core-components-modal.mjs.map +0 -1
  181. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
  182. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
  183. package/fesm2022/taiga-ui-core-directives-notification.mjs +0 -73
  184. package/fesm2022/taiga-ui-core-directives-notification.mjs.map +0 -1
  185. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
  186. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -24
  187. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
  188. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -93
  189. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
  190. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -31
  191. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
  192. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -27
  193. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
  194. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -28
  195. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
  196. package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
  197. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
  198. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -35
  199. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
  200. package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
  201. package/pipes/auto-color/index.d.ts +0 -1
  202. package/pipes/calendar-sheet/index.d.ts +0 -1
  203. package/pipes/calendar-sheet/utils.d.ts +0 -20
  204. package/pipes/flag/flag.pipe.d.ts +0 -14
  205. package/pipes/flag/index.d.ts +0 -1
  206. package/pipes/format-date/format-date.pipe.d.ts +0 -9
  207. package/pipes/format-date/index.d.ts +0 -1
  208. package/pipes/initials/index.d.ts +0 -1
  209. package/pipes/initials/initials.pipe.d.ts +0 -7
  210. package/pipes/month/index.d.ts +0 -1
  211. package/pipes/month/month.pipe.d.ts +0 -10
  212. package/pipes/order-week-days/index.d.ts +0 -1
  213. package/services/dark-theme.service.d.ts +0 -10
  214. package/services/format-date.service.d.ts +0 -8
  215. package/tokens/day-type-handler.d.ts +0 -7
  216. package/tokens/first-day-of-week.d.ts +0 -5
  217. package/tokens/scroll-ref.d.ts +0 -2
  218. package/tokens/spin-icons.d.ts +0 -6
  219. package/types/range-state.d.ts +0 -4
  220. package/types/value-content-context.d.ts +0 -4
  221. package/utils/format/string-hash-to-hsl.d.ts +0 -6
  222. package/utils/miscellaneous/to-animation-options.d.ts +0 -4
  223. /package/{directives → components}/title/index.d.ts +0 -0
  224. /package/{directives → components}/title/title.directive.d.ts +0 -0
  225. /package/{components → portals}/dialog/dialog.component.d.ts +0 -0
  226. /package/{components → portals}/dialog/dialog.directive.d.ts +0 -0
  227. /package/{components → portals}/dialog/dialog.factory.d.ts +0 -0
  228. /package/{components → portals}/dialog/dialog.options.d.ts +0 -0
  229. /package/{components → portals}/dialog/dialog.providers.d.ts +0 -0
  230. /package/{components → portals}/dialog/index.d.ts +0 -0
  231. /package/{directives → portals}/dropdown/dropdown-content.directive.d.ts +0 -0
  232. /package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -0
  233. /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
  234. /package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +0 -0
  235. /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
  236. /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
  237. /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
  238. /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
  239. /package/{directives → portals}/hint/hint-describe.directive.d.ts +0 -0
  240. /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
  241. /package/{directives → portals}/hint/hint-host.directive.d.ts +0 -0
  242. /package/{directives → portals}/hint/hint-hover.directive.d.ts +0 -0
  243. /package/{directives → portals}/hint/hint-manual.directive.d.ts +0 -0
  244. /package/{directives → portals}/hint/hint-options.directive.d.ts +0 -0
  245. /package/{directives → portals}/hint/hint-overflow.directive.d.ts +0 -0
  246. /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
  247. /package/{directives → portals}/hint/hint-unstyled.component.d.ts +0 -0
  248. /package/{directives → portals}/hint/hint.component.d.ts +0 -0
  249. /package/{directives → portals}/hint/hint.d.ts +0 -0
  250. /package/{directives → portals}/hint/hint.directive.d.ts +0 -0
  251. /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
  252. /package/{directives → portals}/hint/index.d.ts +0 -0
  253. /package/{components → portals}/modal/index.d.ts +0 -0
  254. /package/{components → portals}/modal/modal.component.d.ts +0 -0
  255. /package/{components → portals}/modal/modal.service.d.ts +0 -0
  256. /package/{directives → portals}/popup/index.d.ts +0 -0
  257. /package/{directives → portals}/popup/popup.directive.d.ts +0 -0
  258. /package/{directives → portals}/popup/popup.service.d.ts +0 -0
  259. /package/{directives → portals}/popup/popups.component.d.ts +0 -0
@@ -1,25 +1,20 @@
1
1
  import { TuiDriver } from '@taiga-ui/core/classes';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TuiDropdownHover extends TuiDriver {
4
- private readonly dropdownHost?;
4
+ private readonly dropdownHost;
5
+ private hovered;
5
6
  private readonly el;
6
7
  private readonly doc;
7
8
  private readonly options;
8
9
  private readonly activeZone;
9
10
  private readonly open;
10
- /**
11
- * Dropdown can be removed not only via click/touch –
12
- * swipe on mobile devices removes dropdown sheet without triggering new mouseover / mouseout events.
13
- */
14
- private readonly dropdownExternalRemoval$;
15
11
  private readonly stream$;
16
- showDelay: number;
17
- hideDelay: number;
18
- hovered: boolean;
12
+ readonly tuiDropdownShowDelay: import("@angular/core").InputSignal<number>;
13
+ readonly tuiDropdownHideDelay: import("@angular/core").InputSignal<number>;
19
14
  readonly type = "dropdown";
20
15
  constructor();
21
16
  protected onClick(event: MouseEvent): void;
22
17
  private isHovered;
23
18
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownHover, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownHover, "[tuiDropdownHover]", never, { "showDelay": { "alias": "tuiDropdownShowDelay"; "required": false; }; "hideDelay": { "alias": "tuiDropdownHideDelay"; "required": false; }; }, {}, ["dropdownHost"], never, true, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownHover, "[tuiDropdownHover]", never, { "tuiDropdownShowDelay": { "alias": "tuiDropdownShowDelay"; "required": false; "isSignal": true; }; "tuiDropdownHideDelay": { "alias": "tuiDropdownHideDelay"; "required": false; "isSignal": true; }; }, {}, ["dropdownHost"], never, true, never>;
25
20
  }
@@ -1,4 +1,3 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  export interface TuiDropdownHoverOptions {
3
2
  readonly hideDelay: number;
4
3
  readonly showDelay: number;
@@ -8,5 +7,4 @@ export declare const TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS: TuiDropdownHoverOptions
8
7
  /**
9
8
  * Default parameters for dropdown hover directive
10
9
  */
11
- export declare const TUI_DROPDOWN_HOVER_OPTIONS: InjectionToken<TuiDropdownHoverOptions>;
12
- export declare function tuiDropdownHoverOptionsProvider(options: Partial<TuiDropdownHoverOptions>): Provider;
10
+ export declare const TUI_DROPDOWN_HOVER_OPTIONS: import("@angular/core").InjectionToken<TuiDropdownHoverOptions>, tuiDropdownHoverOptionsProvider: (item: Partial<TuiDropdownHoverOptions> | (() => Partial<TuiDropdownHoverOptions>)) => import("@angular/core").FactoryProvider;
@@ -2,8 +2,8 @@ import { type OnChanges } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TuiDropdownManual implements OnChanges {
4
4
  private readonly driver;
5
- tuiDropdownManual: boolean | '';
5
+ readonly tuiDropdownManual: import("@angular/core").InputSignal<boolean | "">;
6
6
  ngOnChanges(): void;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownManual, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownManual, "[tuiDropdownManual]", never, { "tuiDropdownManual": { "alias": "tuiDropdownManual"; "required": false; }; }, {}, never, never, true, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownManual, "[tuiDropdownManual]", never, { "tuiDropdownManual": { "alias": "tuiDropdownManual"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
9
9
  }
@@ -0,0 +1,30 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@taiga-ui/cdk/directives/obscured";
3
+ import * as i2 from "@taiga-ui/cdk/directives/active-zone";
4
+ export declare class TuiDropdownOpen {
5
+ private readonly dropdownHost;
6
+ private readonly directive;
7
+ private readonly el;
8
+ private readonly obscured;
9
+ private readonly activeZone;
10
+ private readonly driver;
11
+ private readonly dropdown;
12
+ readonly enabled: import("@angular/core").InputSignal<boolean>;
13
+ readonly open: import("@angular/core").ModelSignal<boolean>;
14
+ protected readonly driveEffect: import("@angular/core").EffectRef;
15
+ protected readonly syncSub: import("rxjs").Subscription;
16
+ protected readonly closeSub: import("rxjs").Subscription;
17
+ toggle(open: boolean): void;
18
+ protected onEsc(event: KeyboardEvent): void;
19
+ protected onClick(target: HTMLElement): void;
20
+ protected onArrow(event: KeyboardEvent, up: boolean): void;
21
+ protected onKeydown(event: KeyboardEvent): void;
22
+ private get host();
23
+ private get editable();
24
+ private get focused();
25
+ private update;
26
+ private drive;
27
+ private focusDropdown;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownOpen, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownOpen, "[tuiDropdown][tuiDropdownAuto],[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", never, { "enabled": { "alias": "tuiDropdownEnabled"; "required": false; "isSignal": true; }; "open": { "alias": "tuiDropdownOpen"; "required": false; "isSignal": true; }; }, { "open": "tuiDropdownOpenChange"; }, ["dropdownHost"], never, true, [{ directive: typeof i1.TuiObscured; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiActiveZone; inputs: { "tuiActiveZoneParent": "tuiActiveZoneParent"; }; outputs: { "tuiActiveZoneChange": "tuiActiveZoneChange"; }; }]>;
30
+ }
@@ -6,10 +6,10 @@ export declare class TuiDropdownPositionSided extends TuiPositionAccessor {
6
6
  private readonly viewport;
7
7
  private readonly vertical;
8
8
  private previous;
9
- tuiDropdownSided: boolean | string;
10
- tuiDropdownSidedOffset: number;
9
+ readonly tuiDropdownSided: import("@angular/core").InputSignal<string | boolean>;
10
+ readonly tuiDropdownSidedOffset: import("@angular/core").InputSignal<number>;
11
11
  readonly type = "dropdown";
12
12
  getPosition(rect: DOMRect): TuiPoint;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownPositionSided, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPositionSided, "[tuiDropdownSided]", never, { "tuiDropdownSided": { "alias": "tuiDropdownSided"; "required": false; }; "tuiDropdownSidedOffset": { "alias": "tuiDropdownSidedOffset"; "required": false; }; }, {}, never, never, true, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPositionSided, "[tuiDropdownSided]", never, { "tuiDropdownSided": { "alias": "tuiDropdownSided"; "required": false; "isSignal": true; }; "tuiDropdownSidedOffset": { "alias": "tuiDropdownSidedOffset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
15
  }
@@ -1,6 +1,6 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { TuiPositionAccessor, TuiRectAccessor } from '@taiga-ui/core/classes';
3
2
  import { type TuiPoint, type TuiVerticalDirection } from '@taiga-ui/core/types';
3
+ import { Subject } from 'rxjs';
4
4
  import { type TuiDropdownAlign } from './dropdown-options.directive';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class TuiDropdownPosition extends TuiPositionAccessor {
@@ -8,12 +8,12 @@ export declare class TuiDropdownPosition extends TuiPositionAccessor {
8
8
  private readonly options;
9
9
  private readonly viewport;
10
10
  private previous?;
11
- readonly directionChange: EventEmitter<TuiVerticalDirection>;
11
+ readonly direction: Subject<TuiVerticalDirection>;
12
12
  readonly type = "dropdown";
13
13
  readonly accessor: TuiRectAccessor;
14
- emitDirection(direction: TuiVerticalDirection): void;
14
+ readonly tuiDropdownDirectionChange: import("@angular/core").OutputRef<TuiVerticalDirection>;
15
15
  getPosition({ width, height }: DOMRect): TuiPoint;
16
16
  getAlign(align: TuiDropdownAlign): TuiDropdownAlign;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownPosition, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPosition, never, never, {}, { "directionChange": "tuiDropdownDirectionChange"; }, never, never, true, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPosition, never, never, {}, { "tuiDropdownDirectionChange": "tuiDropdownDirectionChange"; }, never, never, true, never>;
19
19
  }
@@ -1,7 +1,6 @@
1
1
  import { type OnDestroy, ViewContainerRef } from '@angular/core';
2
2
  import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
3
3
  import { TuiDriver, type TuiRectAccessor } from '@taiga-ui/core/classes';
4
- import { BehaviorSubject } from 'rxjs';
5
4
  import { TuiDropdownDirective } from './dropdown.directive';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class TuiDropdownSelection extends TuiDriver implements TuiRectAccessor, OnDestroy {
@@ -10,13 +9,13 @@ export declare class TuiDropdownSelection extends TuiDriver implements TuiRectAc
10
9
  protected readonly vcr: ViewContainerRef;
11
10
  protected readonly dropdown: TuiDropdownDirective;
12
11
  protected readonly el: HTMLElement;
13
- protected readonly handler$: BehaviorSubject<TuiBooleanHandler<Range>>;
12
+ protected readonly handler: import("@angular/core").Signal<TuiBooleanHandler<Range>>;
14
13
  protected readonly stream$: import("rxjs").Observable<boolean>;
15
14
  protected range: Range;
16
- position: 'selection' | 'tag' | 'word';
17
15
  readonly type = "dropdown";
16
+ readonly tuiDropdownSelection: import("@angular/core").InputSignal<string | TuiBooleanHandler<Range>>;
17
+ readonly tuiDropdownSelectionPosition: import("@angular/core").InputSignal<"selection" | "tag" | "word">;
18
18
  constructor();
19
- set tuiDropdownSelection(visible: TuiBooleanHandler<Range> | string);
20
19
  getClientRect(): DOMRect;
21
20
  ngOnDestroy(): void;
22
21
  private get ghostHost();
@@ -39,5 +38,5 @@ export declare class TuiDropdownSelection extends TuiDriver implements TuiRectAc
39
38
  */
40
39
  private initGhost;
41
40
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownSelection, never>;
42
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownSelection, "[tuiDropdownSelection]", never, { "position": { "alias": "tuiDropdownSelectionPosition"; "required": false; }; "tuiDropdownSelection": { "alias": "tuiDropdownSelection"; "required": false; }; }, {}, never, never, true, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownSelection, "[tuiDropdownSelection]", never, { "tuiDropdownSelection": { "alias": "tuiDropdownSelection"; "required": false; "isSignal": true; }; "tuiDropdownSelectionPosition": { "alias": "tuiDropdownSelectionPosition"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
43
42
  }
@@ -5,5 +5,4 @@ export declare function tuiDropdown(value: C | WritableSignal<C>): WritableSigna
5
5
  export declare function tuiDropdown(value: Signal<C>): Signal<C>;
6
6
  export declare function tuiDropdownEnabled(value: WritableSignal<boolean> | boolean): WritableSignal<boolean>;
7
7
  export declare function tuiDropdownEnabled(value: Signal<boolean>): Signal<boolean>;
8
- export declare function tuiDropdownOpen(): WritableSignal<boolean>;
9
8
  export {};
@@ -6,9 +6,8 @@ import { TuiDropdownContext } from './dropdown-context.directive';
6
6
  import { TuiDropdownHover } from './dropdown-hover.directive';
7
7
  import { TuiDropdownManual } from './dropdown-manual.directive';
8
8
  import { TuiDropdownOpen } from './dropdown-open.directive';
9
- import { TuiDropdownOpenLegacy } from './dropdown-open-legacy.directive';
10
9
  import { TuiDropdownOptionsDirective } from './dropdown-options.directive';
11
10
  import { TuiDropdownPosition } from './dropdown-position.directive';
12
11
  import { TuiDropdownPositionSided } from './dropdown-position-sided.directive';
13
12
  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 TuiDropdownManual, typeof TuiDropdownHover, typeof TuiDropdownContent, typeof TuiDropdownContext, typeof TuiDropdownPosition, typeof TuiDropdownPositionSided, typeof TuiDropdownSelection];
13
+ export declare const TuiDropdown: readonly [typeof TuiDropdownOptionsDirective, typeof TuiDropdownDriverDirective, typeof TuiDropdownDirective, typeof TuiDropdownComponent, typeof TuiDropdownOpen, typeof TuiDropdownManual, typeof TuiDropdownHover, typeof TuiDropdownContent, typeof TuiDropdownContext, typeof TuiDropdownPosition, typeof TuiDropdownPositionSided, typeof TuiDropdownSelection];
@@ -11,19 +11,18 @@ export declare class TuiDropdownDirective implements AfterViewChecked, OnDestroy
11
11
  private readonly cdr;
12
12
  private readonly drivers;
13
13
  protected readonly sub: import("rxjs").Subscription;
14
+ protected readonly autoClose: import("@angular/core").EffectRef;
15
+ readonly ref: import("@angular/core").WritableSignal<ComponentRef<unknown> | null>;
14
16
  readonly el: HTMLElement;
15
17
  readonly type = "dropdown";
16
18
  readonly component: PolymorpheusComponent<any>;
17
- ref: import("@angular/core").WritableSignal<ComponentRef<unknown> | null>;
18
- readonly _content: import("@angular/core").WritableSignal<PolymorpheusContent<TuiContext<() => void>>>;
19
- set tuiDropdown(content: PolymorpheusContent<TuiContext<() => void>>);
19
+ readonly tuiDropdown: import("@angular/core").InputSignal<PolymorpheusContent<TuiContext<() => void>>>;
20
+ readonly content: import("@angular/core").Signal<PolymorpheusContent<TuiContext<() => void>>>;
20
21
  get position(): 'absolute' | 'fixed';
21
- get content(): PolymorpheusContent<TuiContext<() => void>>;
22
- set content(x: PolymorpheusContent<TuiContext<() => void>>);
23
22
  ngAfterViewChecked(): void;
24
23
  ngOnDestroy(): void;
25
24
  getClientRect(): DOMRect;
26
25
  toggle(show: boolean): void;
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownDirective, never>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownDirective, "[tuiDropdown]:not(ng-container):not(ng-template)", ["tuiDropdown"], { "tuiDropdown": { "alias": "tuiDropdown"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiDropdownDriverDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiDropdownPosition; inputs: {}; outputs: { "tuiDropdownDirectionChange": "tuiDropdownDirectionChange"; }; }]>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownDirective, "[tuiDropdown]:not(ng-container):not(ng-template)", ["tuiDropdown"], { "tuiDropdown": { "alias": "tuiDropdown"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiDropdownDriverDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiDropdownPosition; inputs: {}; outputs: { "tuiDropdownDirectionChange": "tuiDropdownDirectionChange"; }; }]>;
29
28
  }
@@ -11,7 +11,6 @@ export * from './dropdown-hover.options';
11
11
  export * from './dropdown-limit-width';
12
12
  export * from './dropdown-manual.directive';
13
13
  export * from './dropdown-open.directive';
14
- export * from './dropdown-open-legacy.directive';
15
14
  export * from './dropdown-options.directive';
16
15
  export * from './dropdown-position.directive';
17
16
  export * from './dropdown-position-sided.directive';
@@ -12,7 +12,7 @@ export declare class TuiHintPosition extends TuiPositionAccessor {
12
12
  readonly directionChange: import("@angular/core").OutputEmitterRef<TuiHintDirection>;
13
13
  readonly type = "hint";
14
14
  emitDirection(direction: TuiHintDirection): void;
15
- getPosition(rect: DOMRect, el?: HTMLElement): TuiPoint;
15
+ getPosition({ width, height }: DOMRect): TuiPoint;
16
16
  private get fallback();
17
17
  private checkPosition;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintPosition, never>;
@@ -0,0 +1,6 @@
1
+ export * from '@taiga-ui/core/portals/alert';
2
+ export * from '@taiga-ui/core/portals/dialog';
3
+ export * from '@taiga-ui/core/portals/dropdown';
4
+ export * from '@taiga-ui/core/portals/hint';
5
+ export * from '@taiga-ui/core/portals/modal';
6
+ export * from '@taiga-ui/core/portals/popup';
@@ -1,5 +1,3 @@
1
1
  export * from './breakpoint.service';
2
- export * from './dark-theme.service';
3
- export * from './format-date.service';
4
2
  export * from './position.service';
5
3
  export * from './visual-viewport.service';
@@ -21,19 +21,15 @@
21
21
  border: none;
22
22
  cursor: pointer;
23
23
  font: inherit;
24
- color: var(--tui-text-primary);
24
+ color: inherit;
25
+ border-radius: 0.125rem;
26
+ outline-width: 1px;
27
+ outline-offset: -1px;
25
28
  text-decoration: none dashed currentColor;
26
29
  text-underline-offset: 0.2em;
27
- text-decoration-thickness: 0.7px;
30
+ text-decoration-thickness: 1px;
28
31
  text-decoration-color: color-mix(in lch, currentColor, transparent);
29
32
 
30
- // TODO: Remove in v5
31
- @media @tui-mouse {
32
- &:hover {
33
- --tui-text-secondary: var(--tui-text-primary);
34
- }
35
- }
36
-
37
33
  &::before {
38
34
  margin-inline-end: 0.25rem;
39
35
  }
@@ -58,12 +54,6 @@
58
54
  display: inline-block;
59
55
  }
60
56
 
61
- .appearance-focus({
62
- outline: none;
63
- background: var(--tui-service-selection-background);
64
- background: color-mix(in lch, currentColor 12%, transparent);
65
- });
66
-
67
57
  .appearance-hover({
68
58
  text-decoration-color: currentColor;
69
59
  });
@@ -72,13 +62,8 @@
72
62
  text-decoration-color: currentColor;
73
63
  });
74
64
 
75
- @media @tui-mouse {
76
- &[data-appearance='']:hover {
77
- opacity: 0.7;
78
- }
79
- }
80
-
81
- &[data-appearance='']:active {
82
- opacity: 0.7;
65
+ &[data-appearance=''] {
66
+ text-decoration-line: underline;
67
+ text-decoration-style: solid;
83
68
  }
84
69
  }
@@ -6,8 +6,8 @@ tui-textfield {
6
6
 
7
7
  --t-height: var(--tui-height-l);
8
8
  --t-padding: var(--tui-padding-l);
9
- --t-label: -0.7em;
10
- --t-label-size: 0.83em;
9
+ --t-label-y: -0.75rem;
10
+ --t-label-font: var(--tui-font-text-s);
11
11
  --t-end: ~'0rem';
12
12
  --t-start: ~'0rem';
13
13
 
@@ -133,6 +133,8 @@ tui-textfield {
133
133
  &[data-size='m'] {
134
134
  --t-height: var(--tui-height-m);
135
135
  --t-padding: var(--tui-padding-m);
136
+ --t-label-font: var(--tui-font-text-xs);
137
+ --t-label-y: -0.5625rem;
136
138
 
137
139
  border-radius: var(--tui-radius-m);
138
140
  font: var(--tui-font-text-ui-s);
@@ -288,7 +290,6 @@ tui-textfield {
288
290
  pointer-events: auto;
289
291
  background: none;
290
292
 
291
- // TODO: Remove :not when we drop old select tuiTextfield in v5
292
293
  &:not(select):read-only ~ .t-filler {
293
294
  display: none;
294
295
  }
@@ -307,8 +308,9 @@ tui-textfield {
307
308
  &:-webkit-autofill,
308
309
  &:not(._empty):not(:placeholder-shown) {
309
310
  & ~ label {
310
- font-size: var(--t-label-size);
311
- transform: translateY(var(--t-label));
311
+ font: var(--t-label-font);
312
+ line-height: var(--t-height);
313
+ transform: translateY(var(--t-label-y));
312
314
  }
313
315
 
314
316
  &:not(:disabled)[data-mode~='invalid'] ~ label,
@@ -330,8 +332,9 @@ tui-textfield {
330
332
 
331
333
  & ~ label {
332
334
  color: var(--tui-text-primary) !important;
333
- font-size: var(--t-label-size);
334
- transform: translateY(var(--t-label));
335
+ font: var(--t-label-font);
336
+ line-height: var(--t-height);
337
+ transform: translateY(var(--t-label-y));
335
338
  }
336
339
  });
337
340
  }
@@ -3,7 +3,7 @@
3
3
  .appearance-hover(@content) {
4
4
  .interactive({
5
5
  @media @tui-mouse {
6
- &:hover:not(:disabled):not([data-state]) {
6
+ &:hover:not([data-state]) {
7
7
  @content();
8
8
  }
9
9
  }
@@ -60,12 +60,11 @@ $track-inset: (
60
60
  --t-offset: calc(var(--tui-radius-l) / 2 + $thumb / 2);
61
61
  }
62
62
 
63
- tui-input-range:not([new]) + &, /* TODO(v5): delete */
64
63
  tui-range + & {
65
64
  --t-offset: $thumb;
66
65
  }
67
66
 
68
- tui-input-range[new] + & {
67
+ tui-input-range + & {
69
68
  --t-offset: calc(map-get($track-inset, $input-size) + $thumb);
70
69
  }
71
70
  }
@@ -1,4 +1,3 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  export interface TuiCommonIcons {
3
2
  readonly check: string;
4
3
  readonly close: string;
@@ -6,6 +5,7 @@ export interface TuiCommonIcons {
6
5
  readonly more: string;
7
6
  readonly search: string;
8
7
  readonly ellipsis: string;
8
+ readonly decrement: string;
9
+ readonly increment: string;
9
10
  }
10
- export declare const TUI_COMMON_ICONS: InjectionToken<TuiCommonIcons>;
11
- export declare function tuiCommonIconsProvider(icons: Partial<TuiCommonIcons>): Provider;
11
+ export declare const TUI_COMMON_ICONS: import("@angular/core").InjectionToken<TuiCommonIcons>, tuiCommonIconsProvider: (item: Partial<TuiCommonIcons> | (() => Partial<TuiCommonIcons>)) => import("@angular/core").FactoryProvider;
package/tokens/icons.d.ts CHANGED
@@ -1,7 +1,3 @@
1
1
  import { type FactoryProvider, InjectionToken } from '@angular/core';
2
2
  export declare const TUI_ICON_REGISTRY: InjectionToken<Record<string, string>>;
3
- /**
4
- * @deprecated: use {@link TUI_ICON_REGISTRY}
5
- */
6
- export declare const TUI_ICON_STARTS: InjectionToken<Record<string, string>>;
7
3
  export declare function tuiIconsProvider(icons: Record<string, string>): FactoryProvider;
package/tokens/index.d.ts CHANGED
@@ -4,8 +4,6 @@ export * from './auxiliary';
4
4
  export * from './common-icons';
5
5
  export * from './dark-mode';
6
6
  export * from './date-format';
7
- export * from './day-type-handler';
8
- export * from './first-day-of-week';
9
7
  export * from './i18n';
10
8
  export * from './icon';
11
9
  export * from './icon-resolver';
@@ -13,9 +11,7 @@ export * from './icons';
13
11
  export * from './media';
14
12
  export * from './number-format';
15
13
  export * from './reduced-motion';
16
- export * from './scroll-ref';
17
14
  export * from './selection-stream';
18
- export * from './spin-icons';
19
15
  export * from './theme';
20
16
  export * from './validation-errors';
21
17
  export * from './viewport';
package/types/index.d.ts CHANGED
@@ -2,6 +2,4 @@ export type * from './direction';
2
2
  export type * from './interactive-state';
3
3
  export type * from './orientation';
4
4
  export type * from './point';
5
- export type * from './range-state';
6
5
  export type * from './size';
7
- export type * from './value-content-context';
package/types/point.d.ts CHANGED
@@ -1 +1 @@
1
- export type TuiPoint = Readonly<[number, number]>;
1
+ export type TuiPoint = Readonly<[x: number, y: number]>;
package/types/size.d.ts CHANGED
@@ -1,14 +1,3 @@
1
- /**
2
- * Various sizes for components
3
- *
4
- * 'xxs' - extra extra small
5
- * 'xs' - extra small
6
- * 's' - small
7
- * 'm' - medium (typically default)
8
- * 'l' - large
9
- * 'xl' - extra large
10
- * 'xxl' - extra extra large
11
- */
12
1
  export type TuiSizeM = 'm';
13
2
  export type TuiSizeS = TuiSizeM | 's';
14
3
  export type TuiSizeL = TuiSizeM | 'l';
@@ -1,4 +1,3 @@
1
1
  export * from './format-number';
2
2
  export * from './get-fractional-part-padded';
3
3
  export * from './number-to-string-without-exp';
4
- export * from './string-hash-to-hsl';
@@ -0,0 +1,2 @@
1
+ export declare const TUI_ANIMATIONS_DEFAULT_DURATION = 300;
2
+ export declare function tuiGetDuration(speed: number): number;
@@ -1,7 +1,7 @@
1
1
  export * from './font-scaling';
2
+ export * from './get-duration';
2
3
  export * from './is-editing-key';
3
4
  export * from './is-obscured';
4
5
  export * from './override-options';
5
6
  export * from './provide-taiga';
6
7
  export * from './size-bigger';
7
- export * from './to-animation-options';
@@ -1,109 +0,0 @@
1
- /**
2
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
3
- */
4
- export interface TuiDurationOptions {
5
- params: {
6
- duration: number;
7
- };
8
- value: string;
9
- }
10
- /**
11
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
12
- */
13
- export declare const tuiParentAnimation: import("@angular/animations").AnimationTriggerMetadata;
14
- /**
15
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
16
- */
17
- export declare const tuiParentStop: import("@angular/animations").AnimationTriggerMetadata;
18
- /**
19
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
20
- */
21
- export declare const tuiHost: import("@angular/animations").AnimationTriggerMetadata;
22
- /**
23
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
24
- */
25
- export declare const tuiHeightCollapse: import("@angular/animations").AnimationTriggerMetadata;
26
- /**
27
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
28
- */
29
- export declare const tuiHeightCollapseList: import("@angular/animations").AnimationTriggerMetadata;
30
- /**
31
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
32
- */
33
- export declare const tuiWidthCollapse: import("@angular/animations").AnimationTriggerMetadata;
34
- /**
35
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
36
- */
37
- export declare const tuiWidthCollapseList: import("@angular/animations").AnimationTriggerMetadata;
38
- /**
39
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
40
- */
41
- export declare const tuiCrossFade: import("@angular/animations").AnimationTriggerMetadata;
42
- /**
43
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
44
- */
45
- export declare const tuiFadeIn: import("@angular/animations").AnimationTriggerMetadata;
46
- /**
47
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
48
- */
49
- export declare const tuiFadeInList: import("@angular/animations").AnimationTriggerMetadata;
50
- /**
51
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
52
- */
53
- export declare const tuiFadeInTop: import("@angular/animations").AnimationTriggerMetadata;
54
- /**
55
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
56
- */
57
- export declare const tuiFadeInBottom: import("@angular/animations").AnimationTriggerMetadata;
58
- /**
59
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
60
- */
61
- export declare const tuiDropdownAnimation: import("@angular/animations").AnimationTriggerMetadata;
62
- /**
63
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
64
- */
65
- export declare const tuiScaleIn: import("@angular/animations").AnimationTriggerMetadata;
66
- /**
67
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
68
- */
69
- export declare const tuiPop: import("@angular/animations").AnimationTriggerMetadata;
70
- /**
71
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
72
- */
73
- export declare const tuiScaleInList: import("@angular/animations").AnimationTriggerMetadata;
74
- /**
75
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
76
- */
77
- export declare const tuiSlideIn: import("@angular/animations").AnimationTriggerMetadata;
78
- /**
79
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
80
- */
81
- export declare const tuiSlideInLeft: import("@angular/animations").AnimationTriggerMetadata;
82
- /**
83
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
84
- */
85
- export declare const tuiSlideInLeftList: import("@angular/animations").AnimationTriggerMetadata;
86
- /**
87
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
88
- */
89
- export declare const tuiSlideInRight: import("@angular/animations").AnimationTriggerMetadata;
90
- /**
91
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
92
- */
93
- export declare const tuiSlideInRightList: import("@angular/animations").AnimationTriggerMetadata;
94
- /**
95
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
96
- */
97
- export declare const tuiSlideInTop: import("@angular/animations").AnimationTriggerMetadata;
98
- /**
99
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
100
- */
101
- export declare const tuiSlideInTopList: import("@angular/animations").AnimationTriggerMetadata;
102
- /**
103
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
104
- */
105
- export declare const tuiSlideInBottom: import("@angular/animations").AnimationTriggerMetadata;
106
- /**
107
- * @deprecated Angular animations are deprecated, use {@link TuiAnimated} directive and CSS instead
108
- */
109
- export declare const tuiSlideInBottomList: import("@angular/animations").AnimationTriggerMetadata;
@@ -1 +0,0 @@
1
- export * from './animations';
@@ -1,14 +0,0 @@
1
- import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
2
- import { type TuiAlertOptions } from './alert.interfaces';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@taiga-ui/cdk/directives/animated";
5
- import * as i2 from "@taiga-ui/core/directives";
6
- export declare class TuiAlertComponent<O, I> {
7
- private readonly el;
8
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
9
- protected readonly close: import("@angular/core").Signal<string>;
10
- protected readonly item: TuiPortalContext<TuiAlertOptions<I>, O>;
11
- protected readonly sub: import("rxjs").Subscription;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertComponent<any, any>, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiAlertComponent<any, any>, "tui-alert", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiNotificationDirective; inputs: {}; outputs: {}; }]>;
14
- }
@@ -1,8 +0,0 @@
1
- import { type TuiAlertOptions } from './alert.interfaces';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@taiga-ui/cdk/portals";
4
- export declare class TuiAlert<T> {
5
- readonly tuiAlertOptions: import("@angular/core").InputSignal<Partial<TuiAlertOptions<T>>>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlert<any>, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAlert<any>, "ng-template[tuiAlert]", never, { "tuiAlertOptions": { "alias": "tuiAlertOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "options": "tuiAlertOptions"; "open": "tuiAlert"; }; outputs: { "openChange": "tuiAlertChange"; }; }]>;
8
- }
@@ -1,12 +0,0 @@
1
- import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
2
- import { type TuiNumberHandler } from '@taiga-ui/cdk/types';
3
- import { type TuiNotificationOptions } from '@taiga-ui/core/components/notification';
4
- import { type TuiPositionOptions } from '@taiga-ui/core/directives';
5
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
- export interface TuiAlertOptions<I = undefined> extends Omit<TuiNotificationOptions, 'size'>, TuiPositionOptions {
7
- readonly autoClose: TuiNumberHandler<string> | number;
8
- readonly data: I;
9
- readonly closable: boolean;
10
- readonly label: PolymorpheusContent<TuiAlertOptions<I>>;
11
- }
12
- export type TuiAlertContext<O = void, I = undefined> = TuiPortalContext<TuiAlertOptions<I>, O>;