@taiga-ui/core 4.52.0-canary.6ee9658 → 4.52.0-canary.7c53ccc

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 (276) hide show
  1. package/classes/accessors.d.ts +1 -1
  2. package/components/calendar/calendar-sheet.component.d.ts +1 -1
  3. package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +2 -2
  4. package/components/calendar/calendar-spin.component.d.ts +1 -0
  5. package/components/calendar/calendar-year.component.d.ts +1 -1
  6. package/components/calendar/calendar.options.d.ts +9 -0
  7. package/components/calendar/index.d.ts +3 -0
  8. package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +1 -1
  9. package/components/data-list/data-list.component.d.ts +2 -4
  10. package/components/data-list/data-list.d.ts +3 -4
  11. package/components/data-list/data-list.tokens.d.ts +1 -23
  12. package/components/data-list/index.d.ts +3 -4
  13. package/components/data-list/option-content.directive.d.ts +14 -0
  14. package/components/data-list/option-with-value.directive.d.ts +9 -0
  15. package/components/data-list/option.directive.d.ts +19 -0
  16. package/components/icon/icon.component.d.ts +2 -2
  17. package/components/index.d.ts +2 -2
  18. package/components/input/index.d.ts +2 -0
  19. package/components/input/input.d.ts +5 -0
  20. package/components/{textfield/textfield.directive.d.ts → input/input.directive.d.ts} +7 -9
  21. package/components/label/label.directive.d.ts +1 -1
  22. package/components/link/index.d.ts +0 -1
  23. package/components/link/link.directive.d.ts +8 -6
  24. package/components/notification/notification.component.d.ts +1 -1
  25. package/components/notification/notification.directive.d.ts +2 -2
  26. package/components/notification/notification.options.d.ts +1 -1
  27. package/components/notification/notification.service.d.ts +1 -1
  28. package/components/root/root.component.d.ts +1 -1
  29. package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
  30. package/components/scrollbar/scrollbar.component.d.ts +1 -5
  31. package/components/spin-button/spin-button.component.d.ts +1 -1
  32. package/components/textfield/index.d.ts +0 -1
  33. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +2 -3
  34. package/components/textfield/textfield.component.d.ts +8 -9
  35. package/components/textfield/textfield.d.ts +2 -3
  36. package/directives/appearance/appearance.directive.d.ts +1 -1
  37. package/directives/appearance/appearance.options.d.ts +1 -2
  38. package/directives/group/group.directive.d.ts +7 -7
  39. package/directives/index.d.ts +0 -5
  40. package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
  41. package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
  42. package/fesm2022/taiga-ui-core-classes.mjs +7 -9
  43. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-core-components-button.mjs +7 -7
  45. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-core-components-calendar.mjs +137 -32
  47. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-core-components-cell.mjs +7 -7
  49. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-core-components-data-list.mjs +94 -230
  51. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-core-components-error.mjs +10 -10
  53. package/fesm2022/taiga-ui-core-components-expand.mjs +3 -3
  54. package/fesm2022/taiga-ui-core-components-icon.mjs +9 -9
  55. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-core-components-input.mjs +103 -0
  57. package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
  58. package/fesm2022/taiga-ui-core-components-label.mjs +11 -13
  59. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-core-components-link.mjs +13 -24
  61. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-core-components-loader.mjs +4 -4
  63. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-core-components-notification.mjs +24 -26
  65. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-core-components-root.mjs +7 -9
  67. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +43 -48
  69. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-core-components-spin-button.mjs +6 -6
  71. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-core-components-textfield.mjs +56 -140
  73. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  74. package/fesm2022/{taiga-ui-core-directives-title.mjs → taiga-ui-core-components-title.mjs} +8 -8
  75. package/fesm2022/{taiga-ui-core-directives-title.mjs.map → taiga-ui-core-components-title.mjs.map} +1 -1
  76. package/fesm2022/taiga-ui-core-components.mjs +2 -2
  77. package/fesm2022/taiga-ui-core-directives-appearance.mjs +10 -10
  78. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-core-directives-date-format.mjs +3 -3
  80. package/fesm2022/taiga-ui-core-directives-group.mjs +20 -28
  81. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core-directives-icons.mjs +10 -10
  83. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +15 -36
  85. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-core-directives-number-format.mjs +3 -3
  87. package/fesm2022/taiga-ui-core-directives.mjs +0 -5
  88. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +5 -8
  90. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-core-pipes.mjs +0 -7
  92. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  93. package/fesm2022/{taiga-ui-core-directives-alert.mjs → taiga-ui-core-portals-alert.mjs} +12 -12
  94. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
  95. package/fesm2022/taiga-ui-core-portals-dialog.mjs +158 -0
  96. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
  97. package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +159 -263
  98. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
  99. package/fesm2022/{taiga-ui-core-directives-hint.mjs → taiga-ui-core-portals-hint.mjs} +69 -126
  100. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
  101. package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
  102. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
  103. package/fesm2022/{taiga-ui-core-directives-popup.mjs → taiga-ui-core-portals-popup.mjs} +10 -10
  104. package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
  105. package/fesm2022/taiga-ui-core-portals.mjs +11 -0
  106. package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
  107. package/fesm2022/taiga-ui-core-services.mjs +15 -79
  108. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-core-tokens.mjs +33 -47
  110. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -23
  112. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +19 -19
  114. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-core.mjs +1 -1
  116. package/index.d.ts +1 -1
  117. package/package.json +65 -90
  118. package/pipes/format-number/format-number.pipe.d.ts +1 -1
  119. package/pipes/index.d.ts +0 -7
  120. package/{components → portals}/dialog/dialog.service.d.ts +1 -1
  121. package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
  122. package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
  123. package/portals/dropdown/dropdown-open.directive.d.ts +30 -0
  124. package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +0 -4
  125. package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
  126. package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +4 -4
  127. package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
  128. package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
  129. package/{directives → portals}/dropdown/dropdown.d.ts +1 -2
  130. package/{directives → portals}/dropdown/dropdown.directive.d.ts +5 -6
  131. package/{directives → portals}/dropdown/index.d.ts +0 -1
  132. package/portals/hint/hint-options.directive.d.ts +17 -0
  133. package/{directives → portals}/hint/hint-position.directive.d.ts +5 -5
  134. package/{directives → portals}/hint/hint.d.ts +1 -2
  135. package/{directives → portals}/hint/hint.directive.d.ts +2 -2
  136. package/portals/index.d.ts +6 -0
  137. package/services/index.d.ts +0 -3
  138. package/styles/components/appearance.less +5 -0
  139. package/styles/components/button.less +10 -20
  140. package/styles/components/icon.less +11 -0
  141. package/styles/components/icons.less +2 -1
  142. package/styles/components/label.less +3 -12
  143. package/styles/components/link.less +8 -24
  144. package/styles/components/notification.less +31 -65
  145. package/styles/components/textfield.less +129 -211
  146. package/styles/components/title.less +8 -8
  147. package/styles/mixins/appearance.less +9 -25
  148. package/styles/mixins/appearance.scss +8 -24
  149. package/styles/mixins/date-picker.less +1 -1
  150. package/styles/mixins/picker.less +1 -1
  151. package/styles/mixins/picker.scss +1 -1
  152. package/styles/mixins/slider.less +4 -10
  153. package/styles/mixins/slider.scss +23 -22
  154. package/styles/taiga-ui-local.less +0 -1
  155. package/styles/taiga-ui-local.scss +0 -1
  156. package/styles/taiga-ui-theme.less +0 -1
  157. package/styles/theme/appearance/outline.less +9 -18
  158. package/styles/theme/appearance/primary.less +2 -4
  159. package/styles/theme/appearance/secondary.less +6 -14
  160. package/styles/theme/appearance/status.less +0 -4
  161. package/styles/theme/appearance/table.less +36 -35
  162. package/styles/theme/appearance/textfield.less +30 -27
  163. package/styles/theme/appearance.less +0 -1
  164. package/styles/theme/variables.less +16 -17
  165. package/styles/variables/media.less +13 -18
  166. package/styles/variables/media.scss +13 -13
  167. package/tokens/breakpoint.d.ts +4 -0
  168. package/tokens/common-icons.d.ts +2 -0
  169. package/tokens/icons.d.ts +0 -4
  170. package/tokens/index.d.ts +1 -4
  171. package/types/index.d.ts +0 -2
  172. package/types/point.d.ts +1 -1
  173. package/types/size.d.ts +0 -11
  174. package/utils/format/index.d.ts +0 -1
  175. package/utils/miscellaneous/font-scaling.d.ts +2 -1
  176. package/utils/miscellaneous/get-duration.d.ts +2 -0
  177. package/utils/miscellaneous/index.d.ts +1 -1
  178. package/animations/animations.d.ts +0 -109
  179. package/animations/index.d.ts +0 -1
  180. package/components/data-list/data-list.directive.d.ts +0 -7
  181. package/components/data-list/option/option-content.d.ts +0 -16
  182. package/components/data-list/option/option-legacy.component.d.ts +0 -24
  183. package/components/data-list/option/option.directive.d.ts +0 -26
  184. package/components/link/link.options.d.ts +0 -10
  185. package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
  186. package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
  187. package/directives/hint/hint-options.directive.d.ts +0 -36
  188. package/fesm2022/taiga-ui-core-animations.mjs +0 -370
  189. package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
  190. package/fesm2022/taiga-ui-core-components-dialog.mjs +0 -158
  191. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
  192. package/fesm2022/taiga-ui-core-components-modal.mjs +0 -89
  193. package/fesm2022/taiga-ui-core-components-modal.mjs.map +0 -1
  194. package/fesm2022/taiga-ui-core-directives-alert.mjs.map +0 -1
  195. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
  196. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
  197. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
  198. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -24
  199. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
  200. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -93
  201. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
  202. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -31
  203. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
  204. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -27
  205. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
  206. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -28
  207. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
  208. package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
  209. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
  210. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -35
  211. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
  212. package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
  213. package/pipes/auto-color/index.d.ts +0 -1
  214. package/pipes/calendar-sheet/index.d.ts +0 -1
  215. package/pipes/calendar-sheet/utils.d.ts +0 -20
  216. package/pipes/flag/flag.pipe.d.ts +0 -14
  217. package/pipes/flag/index.d.ts +0 -1
  218. package/pipes/format-date/format-date.pipe.d.ts +0 -9
  219. package/pipes/format-date/index.d.ts +0 -1
  220. package/pipes/initials/index.d.ts +0 -1
  221. package/pipes/initials/initials.pipe.d.ts +0 -7
  222. package/pipes/month/index.d.ts +0 -1
  223. package/pipes/month/month.pipe.d.ts +0 -10
  224. package/pipes/order-week-days/index.d.ts +0 -1
  225. package/services/breakpoint.service.d.ts +0 -16
  226. package/services/dark-theme.service.d.ts +0 -10
  227. package/services/format-date.service.d.ts +0 -8
  228. package/styles/mixins/wrapper.less +0 -64
  229. package/styles/mixins/wrapper.scss +0 -61
  230. package/styles/theme/appearance/opposite.less +0 -17
  231. package/styles/theme/wrapper.less +0 -211
  232. package/tokens/day-type-handler.d.ts +0 -7
  233. package/tokens/first-day-of-week.d.ts +0 -5
  234. package/tokens/scroll-ref.d.ts +0 -2
  235. package/tokens/spin-icons.d.ts +0 -6
  236. package/types/range-state.d.ts +0 -4
  237. package/types/value-content-context.d.ts +0 -4
  238. package/utils/format/string-hash-to-hsl.d.ts +0 -6
  239. package/utils/miscellaneous/to-animation-options.d.ts +0 -4
  240. /package/{directives → components}/title/index.d.ts +0 -0
  241. /package/{directives → components}/title/title.directive.d.ts +0 -0
  242. /package/{directives → portals}/alert/alert.directive.d.ts +0 -0
  243. /package/{directives → portals}/alert/alert.service.d.ts +0 -0
  244. /package/{directives → portals}/alert/index.d.ts +0 -0
  245. /package/{components → portals}/dialog/dialog.component.d.ts +0 -0
  246. /package/{components → portals}/dialog/dialog.directive.d.ts +0 -0
  247. /package/{components → portals}/dialog/dialog.factory.d.ts +0 -0
  248. /package/{components → portals}/dialog/dialog.options.d.ts +0 -0
  249. /package/{components → portals}/dialog/dialog.providers.d.ts +0 -0
  250. /package/{components → portals}/dialog/index.d.ts +0 -0
  251. /package/{directives → portals}/dropdown/dropdown-content.directive.d.ts +0 -0
  252. /package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -0
  253. /package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +0 -0
  254. /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
  255. /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
  256. /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
  257. /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
  258. /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
  259. /package/{directives → portals}/hint/hint-describe.directive.d.ts +0 -0
  260. /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
  261. /package/{directives → portals}/hint/hint-host.directive.d.ts +0 -0
  262. /package/{directives → portals}/hint/hint-hover.directive.d.ts +0 -0
  263. /package/{directives → portals}/hint/hint-manual.directive.d.ts +0 -0
  264. /package/{directives → portals}/hint/hint-overflow.directive.d.ts +0 -0
  265. /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
  266. /package/{directives → portals}/hint/hint-unstyled.component.d.ts +0 -0
  267. /package/{directives → portals}/hint/hint.component.d.ts +0 -0
  268. /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
  269. /package/{directives → portals}/hint/index.d.ts +0 -0
  270. /package/{components → portals}/modal/index.d.ts +0 -0
  271. /package/{components → portals}/modal/modal.component.d.ts +0 -0
  272. /package/{components → portals}/modal/modal.service.d.ts +0 -0
  273. /package/{directives → portals}/popup/index.d.ts +0 -0
  274. /package/{directives → portals}/popup/popup.directive.d.ts +0 -0
  275. /package/{directives → portals}/popup/popup.service.d.ts +0 -0
  276. /package/{directives → portals}/popup/popups.component.d.ts +0 -0
package/tokens/index.d.ts CHANGED
@@ -1,11 +1,10 @@
1
1
  export * from './animations-speed';
2
2
  export * from './assets-path';
3
3
  export * from './auxiliary';
4
+ export * from './breakpoint';
4
5
  export * from './common-icons';
5
6
  export * from './dark-mode';
6
7
  export * from './date-format';
7
- export * from './day-type-handler';
8
- export * from './first-day-of-week';
9
8
  export * from './i18n';
10
9
  export * from './icon';
11
10
  export * from './icon-resolver';
@@ -13,9 +12,7 @@ export * from './icons';
13
12
  export * from './media';
14
13
  export * from './number-format';
15
14
  export * from './reduced-motion';
16
- export * from './scroll-ref';
17
15
  export * from './selection-stream';
18
- export * from './spin-icons';
19
16
  export * from './theme';
20
17
  export * from './validation-errors';
21
18
  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';
@@ -1,2 +1,3 @@
1
- import { type Provider } from '@angular/core';
1
+ import { InjectionToken, type Provider, type WritableSignal } from '@angular/core';
2
+ export declare const TUI_FONT_OFFSET: InjectionToken<WritableSignal<number>>;
2
3
  export declare function tuiEnableFontScaling(): Provider;
@@ -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,7 +0,0 @@
1
- import { type Provider, type Type } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiDataListDirective {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiDataListDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDataListDirective, "ng-template[tuiDataList]", never, {}, {}, never, never, true, never>;
6
- }
7
- export declare function tuiAsDataList(list: Type<TuiDataListDirective>): Provider;
@@ -1,16 +0,0 @@
1
- import { InjectionToken, type Provider, type TemplateRef, type Type } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Content for tuiOption component
7
- */
8
- export declare const TUI_OPTION_CONTENT: InjectionToken<Type<any> | PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>>>;
9
- export declare function tuiAsOptionContent(useValue: PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>> | Type<any>): Provider;
10
- export declare class TuiWithOptionContent {
11
- protected readonly localContent: Type<any> | null;
12
- protected readonly globalContent: Type<any> | null;
13
- get content(): Type<any> | null;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiWithOptionContent, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiWithOptionContent, never, never, {}, {}, ["localContent"], never, true, never>;
16
- }
@@ -1,24 +0,0 @@
1
- import { type OnDestroy, type TemplateRef } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@taiga-ui/core/directives/icons";
6
- /**
7
- * TODO(v5): delete
8
- * @deprecated use `<button tuiOption new />` / `<a tuiOption new /> / `<label tuiOption new /> instead
9
- */
10
- export declare class TuiOption<T = unknown> implements OnDestroy {
11
- private readonly isMobile;
12
- private readonly el;
13
- private readonly dataList;
14
- private readonly host;
15
- protected readonly content: PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>>;
16
- protected readonly dropdown: import("@angular/core").WritableSignal<import("@angular/core").ComponentRef<unknown> | null> | undefined;
17
- disabled: boolean;
18
- value?: T;
19
- ngOnDestroy(): void;
20
- protected onClick(): void;
21
- protected onMouseMove(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiOption<any>, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiOption<any>, "button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])", never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }]>;
24
- }
@@ -1,26 +0,0 @@
1
- import { type OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@taiga-ui/core/directives/icons";
4
- export declare class TuiOptionNew<T = unknown> implements OnDestroy {
5
- private readonly vcr;
6
- private readonly isMobile;
7
- private readonly el;
8
- private readonly dataList;
9
- private readonly content;
10
- private readonly ref;
11
- protected readonly dropdown: import("@angular/core").WritableSignal<import("@angular/core").ComponentRef<unknown> | null> | undefined;
12
- readonly disabled: import("@angular/core").InputSignal<boolean>;
13
- constructor();
14
- ngOnDestroy(): void;
15
- protected onMouseMove(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiOptionNew<any>, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptionNew<any>, "button[tuiOption][new], a[tuiOption][new], label[tuiOption][new]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }]>;
18
- }
19
- export declare class TuiOptionWithValue<T = unknown> {
20
- private readonly host;
21
- readonly disabled: import("@angular/core").InputSignal<boolean>;
22
- readonly value: import("@angular/core").InputSignal<T | undefined>;
23
- protected onClick(value?: T | undefined): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiOptionWithValue<any>, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptionWithValue<any>, "button[tuiOption][value][new], a[tuiOption][value][new], label[tuiOption][value][new]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
26
- }
@@ -1,10 +0,0 @@
1
- import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
2
- export interface TuiLinkOptions extends TuiAppearanceOptions {
3
- /**
4
- * @deprecated: use on host
5
- * [style.text-decoration-line]="'underline'"
6
- */
7
- readonly pseudo: boolean;
8
- }
9
- export declare const TUI_LINK_DEFAULT_OPTIONS: TuiLinkOptions;
10
- export declare const TUI_LINK_OPTIONS: import("@angular/core").InjectionToken<TuiLinkOptions>, tuiLinkOptionsProvider: (item: Partial<TuiLinkOptions> | (() => Partial<TuiLinkOptions>)) => import("@angular/core").FactoryProvider;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * @deprecated TODO: remove in v.5 when legacy controls are dropped
4
- */
5
- export declare class TuiDropdownOpenLegacy {
6
- private readonly openStateSub;
7
- readonly tuiDropdownOpenChange: import("rxjs").Observable<boolean>;
8
- set tuiDropdownOpen(open: boolean);
9
- emitOpenChange(open: boolean): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownOpenLegacy, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownOpenLegacy, "[tuiDropdownOpen]:not([tuiDropdown]),[tuiDropdownOpenChange]:not([tuiDropdown])", never, { "tuiDropdownOpen": { "alias": "tuiDropdownOpen"; "required": false; }; }, { "tuiDropdownOpenChange": "tuiDropdownOpenChange"; }, never, never, true, never>;
12
- }
@@ -1,33 +0,0 @@
1
- import { EventEmitter, type OnChanges } from '@angular/core';
2
- import { TuiDropdownDriver } from './dropdown.driver';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@taiga-ui/cdk/directives/obscured";
5
- import * as i2 from "@taiga-ui/cdk/directives/active-zone";
6
- export declare class TuiDropdownOpen implements OnChanges {
7
- private readonly dropdownHost?;
8
- private readonly directive;
9
- private readonly el;
10
- private readonly obscured;
11
- private readonly activeZone;
12
- private readonly dropdown;
13
- tuiDropdownEnabled: boolean;
14
- tuiDropdownOpen: boolean | '';
15
- readonly tuiDropdownOpenChange: EventEmitter<boolean>;
16
- readonly driver: TuiDropdownDriver;
17
- readonly sub: import("rxjs").Subscription;
18
- readonly sync: import("rxjs").Subscription;
19
- ngOnChanges(): void;
20
- toggle(open: boolean): void;
21
- protected onEsc(event: KeyboardEvent): void;
22
- protected onClick(target: HTMLElement): void;
23
- protected onArrow(event: KeyboardEvent, up: boolean): void;
24
- protected onKeydown(event: KeyboardEvent): void;
25
- private get host();
26
- private get editable();
27
- private get focused();
28
- private update;
29
- private drive;
30
- private focusDropdown;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownOpen, never>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownOpen, "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", never, { "tuiDropdownEnabled": { "alias": "tuiDropdownEnabled"; "required": false; }; "tuiDropdownOpen": { "alias": "tuiDropdownOpen"; "required": false; }; }, { "tuiDropdownOpenChange": "tuiDropdownOpenChange"; }, ["dropdownHost"], never, true, [{ directive: typeof i1.TuiObscured; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiActiveZone; inputs: { "tuiActiveZoneParent": "tuiActiveZoneParent"; }; outputs: { "tuiActiveZoneChange": "tuiActiveZoneChange"; }; }]>;
33
- }
@@ -1,36 +0,0 @@
1
- import { type FactoryProvider, InjectionToken, type OnChanges } from '@angular/core';
2
- import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
3
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- import { Subject } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export type TuiHintDirection = 'bottom-left' | 'bottom-right' | 'bottom' | 'left-bottom' | 'left-top' | 'left' | 'right-bottom' | 'right-top' | 'right' | 'top-left' | 'top-right' | 'top';
7
- export declare const TUI_HINT_DIRECTIONS: readonly TuiHintDirection[];
8
- export interface TuiHintOptions extends TuiAppearanceOptions {
9
- readonly direction: TuiHintDirection | TuiHintDirection[];
10
- readonly hideDelay: number;
11
- readonly icon: string;
12
- readonly showDelay: number;
13
- }
14
- /** Default values for hint options */
15
- export declare const TUI_HINT_DEFAULT_OPTIONS: TuiHintOptions;
16
- /**
17
- * Default parameters for hint directive
18
- */
19
- export declare const TUI_HINT_OPTIONS: InjectionToken<TuiHintOptions>;
20
- export declare const tuiHintOptionsProvider: (options: Partial<TuiHintOptions>) => FactoryProvider;
21
- /**
22
- * @deprecated: drop in 5.0
23
- */
24
- export declare class TuiHintOptionsDirective implements TuiHintOptions, OnChanges {
25
- private readonly options;
26
- content: PolymorpheusContent;
27
- direction: TuiHintDirection | TuiHintDirection[];
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
- showDelay: number;
30
- hideDelay: number;
31
- icon: string;
32
- readonly change$: Subject<void>;
33
- ngOnChanges(): void;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintOptionsDirective, never>;
35
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintOptionsDirective, "[tuiHintContent]", never, { "content": { "alias": "tuiHintContent"; "required": false; }; "direction": { "alias": "tuiHintDirection"; "required": false; }; "appearance": { "alias": "tuiHintAppearance"; "required": false; }; "showDelay": { "alias": "tuiHintShowDelay"; "required": false; }; "hideDelay": { "alias": "tuiHintHideDelay"; "required": false; }; }, {}, never, never, true, never>;
36
- }