@taiga-ui/core 4.52.0-canary.6c67ccf → 4.52.0-canary.6de148b

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 (318) hide show
  1. package/README.md +1 -1
  2. package/classes/accessors.d.ts +1 -1
  3. package/components/button/button.directive.d.ts +2 -2
  4. package/components/button/button.options.d.ts +1 -1
  5. package/components/calendar/calendar-sheet.options.d.ts +1 -3
  6. package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +1 -1
  7. package/components/calendar/calendar-spin.component.d.ts +1 -0
  8. package/components/calendar/calendar-year.component.d.ts +1 -1
  9. package/components/calendar/index.d.ts +2 -0
  10. package/components/cell/cell.directive.d.ts +9 -0
  11. package/components/cell/cell.options.d.ts +6 -0
  12. package/components/cell/index.d.ts +2 -0
  13. package/components/data-list/data-list.component.d.ts +8 -12
  14. package/components/data-list/data-list.d.ts +3 -4
  15. package/components/data-list/data-list.tokens.d.ts +1 -23
  16. package/components/data-list/index.d.ts +3 -4
  17. package/components/data-list/opt-group.directive.d.ts +2 -2
  18. package/components/data-list/option-content.directive.d.ts +14 -0
  19. package/components/data-list/option-with-value.directive.d.ts +9 -0
  20. package/components/data-list/option.directive.d.ts +19 -0
  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/icon/icon.component.d.ts +3 -3
  29. package/components/index.d.ts +3 -3
  30. package/components/input/index.d.ts +2 -0
  31. package/components/input/input.d.ts +2 -0
  32. package/components/input/input.directive.d.ts +30 -0
  33. package/components/link/link.directive.d.ts +2 -2
  34. package/components/link/link.options.d.ts +1 -3
  35. package/components/loader/loader.component.d.ts +7 -7
  36. package/components/loader/loader.options.d.ts +1 -3
  37. package/components/notification/index.d.ts +3 -0
  38. package/components/notification/notification.component.d.ts +14 -0
  39. package/components/notification/notification.d.ts +3 -0
  40. package/components/notification/notification.directive.d.ts +7 -12
  41. package/components/notification/notification.options.d.ts +10 -7
  42. package/components/notification/notification.service.d.ts +17 -0
  43. package/components/root/root.component.d.ts +4 -6
  44. package/components/scrollbar/scroll-into-view.directive.d.ts +3 -2
  45. package/components/scrollbar/scrollbar.component.d.ts +2 -2
  46. package/components/scrollbar/scrollbar.directive.d.ts +2 -2
  47. package/components/scrollbar/scrollbar.options.d.ts +1 -1
  48. package/components/spin-button/spin-button.component.d.ts +8 -9
  49. package/components/textfield/index.d.ts +1 -4
  50. package/components/textfield/textfield-icon.d.ts +3 -3
  51. package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
  52. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +10 -15
  53. package/components/textfield/textfield.component.d.ts +23 -37
  54. package/components/textfield/textfield.d.ts +2 -4
  55. package/components/textfield/textfield.options.d.ts +8 -11
  56. package/{directives → components}/title/title.directive.d.ts +2 -3
  57. package/directives/appearance/appearance.directive.d.ts +5 -13
  58. package/directives/appearance/appearance.options.d.ts +1 -1
  59. package/directives/date-format/date-format.directive.d.ts +3 -7
  60. package/directives/group/group.directive.d.ts +7 -7
  61. package/directives/group/group.options.d.ts +1 -3
  62. package/directives/icons/icons.bindings.d.ts +5 -0
  63. package/directives/icons/icons.directive.d.ts +6 -14
  64. package/directives/icons/index.d.ts +1 -0
  65. package/directives/index.d.ts +0 -5
  66. package/directives/number-format/number-format.directive.d.ts +3 -7
  67. package/fesm2022/taiga-ui-core-animations.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-classes.mjs +6 -8
  69. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-core-components-button.mjs +11 -18
  71. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-core-components-calendar.mjs +125 -27
  73. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  75. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  76. package/fesm2022/taiga-ui-core-components-data-list.mjs +106 -275
  77. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-core-components-error.mjs +109 -24
  79. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-core-components-expand.mjs +33 -131
  81. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core-components-icon.mjs +5 -6
  83. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-components-input.mjs +95 -0
  85. package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
  86. package/fesm2022/taiga-ui-core-components-label.mjs +6 -9
  87. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-core-components-link.mjs +14 -23
  89. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-core-components-loader.mjs +14 -32
  91. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-core-components-notification.mjs +107 -64
  93. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-core-components-root.mjs +19 -50
  95. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +36 -45
  97. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-core-components-spin-button.mjs +14 -27
  99. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-core-components-textfield.mjs +109 -408
  101. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-core-components-title.mjs +37 -0
  103. package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -0
  104. package/fesm2022/taiga-ui-core-components.mjs +3 -3
  105. package/fesm2022/taiga-ui-core-directives-appearance.mjs +27 -64
  106. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-core-directives-date-format.mjs +24 -18
  108. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-core-directives-group.mjs +23 -38
  110. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-directives-icons.mjs +30 -40
  112. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +3 -6
  114. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-core-directives-number-format.mjs +30 -18
  116. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-core-directives.mjs +0 -5
  118. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +19 -13
  120. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-core-pipes.mjs +0 -8
  122. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-core-portals-alert.mjs +73 -0
  124. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
  125. package/fesm2022/taiga-ui-core-portals-dialog.mjs +158 -0
  126. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
  127. package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +137 -289
  128. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
  129. package/fesm2022/{taiga-ui-core-directives-hint.mjs → taiga-ui-core-portals-hint.mjs} +119 -219
  130. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
  131. package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
  132. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
  133. package/fesm2022/taiga-ui-core-portals-popup.mjs +56 -0
  134. package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
  135. package/fesm2022/taiga-ui-core-portals.mjs +11 -0
  136. package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
  137. package/fesm2022/taiga-ui-core-services.mjs +3 -23
  138. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-core-tokens.mjs +28 -26
  140. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -22
  143. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +55 -18
  145. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-core.mjs +1 -0
  147. package/fesm2022/taiga-ui-core.mjs.map +1 -1
  148. package/index.d.ts +1 -0
  149. package/package.json +83 -104
  150. package/pipes/format-number/format-number.pipe.d.ts +6 -4
  151. package/pipes/index.d.ts +0 -8
  152. package/portals/alert/alert.directive.d.ts +11 -0
  153. package/portals/alert/alert.service.d.ts +12 -0
  154. package/portals/alert/index.d.ts +2 -0
  155. package/portals/dialog/dialog.component.d.ts +14 -0
  156. package/portals/dialog/dialog.directive.d.ts +8 -0
  157. package/{components → portals}/dialog/dialog.factory.d.ts +1 -1
  158. package/portals/dialog/dialog.options.d.ts +25 -0
  159. package/{components/dialog/dialog-close.service.d.ts → portals/dialog/dialog.providers.d.ts} +2 -0
  160. package/portals/dialog/dialog.service.d.ts +10 -0
  161. package/portals/dialog/index.d.ts +6 -0
  162. package/portals/dropdown/dropdown-content.directive.d.ts +9 -0
  163. package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
  164. package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +1 -3
  165. package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
  166. package/portals/dropdown/dropdown-open.directive.d.ts +30 -0
  167. package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
  168. package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +5 -5
  169. package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
  170. package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
  171. package/{directives → portals}/dropdown/dropdown.d.ts +2 -3
  172. package/{directives → portals}/dropdown/dropdown.directive.d.ts +6 -8
  173. package/{directives → portals}/dropdown/index.d.ts +1 -4
  174. package/{directives → portals}/hint/hint-describe.directive.d.ts +4 -6
  175. package/{directives → portals}/hint/hint-host.directive.d.ts +2 -2
  176. package/{directives → portals}/hint/hint-hover.directive.d.ts +3 -4
  177. package/{directives → portals}/hint/hint-manual.directive.d.ts +2 -2
  178. package/{directives → portals}/hint/hint-options.directive.d.ts +3 -3
  179. package/{directives → portals}/hint/hint-overflow.directive.d.ts +2 -2
  180. package/{directives → portals}/hint/hint-position.directive.d.ts +4 -5
  181. package/{directives → portals}/hint/hint-unstyled.component.d.ts +2 -7
  182. package/portals/hint/hint.component.d.ts +29 -0
  183. package/portals/hint/hint.directive.d.ts +24 -0
  184. package/{directives → portals}/hint/index.d.ts +0 -2
  185. package/portals/index.d.ts +6 -0
  186. package/portals/modal/index.d.ts +2 -0
  187. package/portals/modal/modal.component.d.ts +17 -0
  188. package/portals/modal/modal.service.d.ts +13 -0
  189. package/portals/popup/popup.directive.d.ts +12 -0
  190. package/{directives → portals}/popup/popup.service.d.ts +1 -1
  191. package/{directives → portals}/popup/popups.component.d.ts +2 -2
  192. package/services/index.d.ts +0 -1
  193. package/styles/components/button.less +0 -2
  194. package/styles/components/icons.less +4 -4
  195. package/styles/components/link.less +1 -0
  196. package/styles/components/textfield.less +10 -7
  197. package/styles/mixins/appearance.less +1 -1
  198. package/styles/mixins/mixins.less +0 -6
  199. package/styles/mixins/mixins.scss +0 -6
  200. package/styles/mixins/slider.less +21 -16
  201. package/styles/mixins/slider.scss +1 -2
  202. package/styles/theme/variables.less +2 -4
  203. package/tokens/common-icons.d.ts +1 -3
  204. package/tokens/date-format.d.ts +2 -3
  205. package/tokens/i18n.d.ts +7 -7
  206. package/tokens/icon-resolver.d.ts +0 -4
  207. package/tokens/icons.d.ts +0 -4
  208. package/tokens/index.d.ts +1 -0
  209. package/tokens/number-format.d.ts +2 -3
  210. package/tokens/validation-errors.d.ts +4 -0
  211. package/types/index.d.ts +0 -3
  212. package/types/size.d.ts +0 -11
  213. package/utils/format/index.d.ts +0 -1
  214. package/utils/miscellaneous/get-duration.d.ts +2 -0
  215. package/utils/miscellaneous/index.d.ts +2 -1
  216. package/utils/miscellaneous/provide-taiga.d.ts +13 -0
  217. package/components/alert/alert.component.d.ts +0 -15
  218. package/components/alert/alert.directive.d.ts +0 -7
  219. package/components/alert/alert.interfaces.d.ts +0 -12
  220. package/components/alert/alert.service.d.ts +0 -7
  221. package/components/alert/alert.tokens.d.ts +0 -12
  222. package/components/alert/alerts.component.d.ts +0 -12
  223. package/components/alert/index.d.ts +0 -6
  224. package/components/data-list/data-list.directive.d.ts +0 -7
  225. package/components/data-list/option/option-content.d.ts +0 -16
  226. package/components/data-list/option/option-legacy.component.d.ts +0 -24
  227. package/components/data-list/option/option.directive.d.ts +0 -27
  228. package/components/dialog/dialog.component.d.ts +0 -20
  229. package/components/dialog/dialog.directive.d.ts +0 -7
  230. package/components/dialog/dialog.interfaces.d.ts +0 -34
  231. package/components/dialog/dialog.service.d.ts +0 -7
  232. package/components/dialog/dialog.tokens.d.ts +0 -15
  233. package/components/dialog/dialogs.component.d.ts +0 -8
  234. package/components/dialog/index.d.ts +0 -8
  235. package/components/expand/expand-content.directive.d.ts +0 -8
  236. package/components/expand/expand.d.ts +0 -6
  237. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  238. package/components/fullscreen/index.d.ts +0 -1
  239. package/components/textfield/select.directive.d.ts +0 -19
  240. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  241. package/components/textfield/textfield.directive.d.ts +0 -38
  242. package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
  243. package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
  244. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  245. package/directives/dropdown/dropdown.service.d.ts +0 -6
  246. package/directives/dropdown/dropdowns.component.d.ts +0 -9
  247. package/directives/hint/hint.component.d.ts +0 -30
  248. package/directives/hint/hint.directive.d.ts +0 -26
  249. package/directives/hint/hint.service.d.ts +0 -13
  250. package/directives/hint/hints.component.d.ts +0 -12
  251. package/directives/popup/popup.directive.d.ts +0 -11
  252. package/directives/surface/index.d.ts +0 -1
  253. package/directives/surface/surface.directive.d.ts +0 -8
  254. package/fesm2022/taiga-ui-core-components-alert.mjs +0 -149
  255. package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
  256. package/fesm2022/taiga-ui-core-components-dialog.mjs +0 -195
  257. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
  258. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -66
  259. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  260. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
  261. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
  262. package/fesm2022/taiga-ui-core-directives-popup.mjs +0 -63
  263. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
  264. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  265. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  266. package/fesm2022/taiga-ui-core-directives-title.mjs +0 -43
  267. package/fesm2022/taiga-ui-core-directives-title.mjs.map +0 -1
  268. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -25
  269. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
  270. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -94
  271. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
  272. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
  273. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
  274. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -32
  275. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
  276. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -28
  277. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
  278. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -29
  279. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
  280. package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
  281. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
  282. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -36
  283. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
  284. package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
  285. package/pipes/auto-color/index.d.ts +0 -1
  286. package/pipes/calendar-sheet/index.d.ts +0 -1
  287. package/pipes/calendar-sheet/utils.d.ts +0 -20
  288. package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
  289. package/pipes/fallback-src/index.d.ts +0 -1
  290. package/pipes/flag/flag.pipe.d.ts +0 -14
  291. package/pipes/flag/index.d.ts +0 -1
  292. package/pipes/format-date/format-date.pipe.d.ts +0 -9
  293. package/pipes/format-date/index.d.ts +0 -1
  294. package/pipes/initials/index.d.ts +0 -1
  295. package/pipes/initials/initials.pipe.d.ts +0 -7
  296. package/pipes/month/index.d.ts +0 -1
  297. package/pipes/month/month.pipe.d.ts +0 -10
  298. package/pipes/order-week-days/index.d.ts +0 -1
  299. package/services/format-date.service.d.ts +0 -8
  300. package/types/portal-item.d.ts +0 -9
  301. package/types/range-state.d.ts +0 -4
  302. package/types/value-content-context.d.ts +0 -4
  303. package/utils/format/string-hash-to-hsl.d.ts +0 -6
  304. package/utils/miscellaneous/to-animation-options.d.ts +0 -4
  305. /package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +0 -0
  306. /package/{directives → components}/title/index.d.ts +0 -0
  307. /package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -0
  308. /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
  309. /package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +0 -0
  310. /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
  311. /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
  312. /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
  313. /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
  314. /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
  315. /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
  316. /package/{directives → portals}/hint/hint.d.ts +0 -0
  317. /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
  318. /package/{directives → portals}/popup/index.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/core",
3
- "version": "4.52.0-canary.6c67ccf",
3
+ "version": "4.52.0-canary.6de148b",
4
4
  "description": "Core library for creating Angular components and applications using Taiga UI",
5
5
  "keywords": [
6
6
  "angular",
@@ -12,7 +12,10 @@
12
12
  "directive"
13
13
  ],
14
14
  "homepage": "https://github.com/taiga-family/taiga-ui",
15
- "repository": "https://github.com/taiga-family/taiga-ui",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/taiga-family/taiga-ui"
18
+ },
16
19
  "license": "Apache-2.0",
17
20
  "exports": {
18
21
  "./styles/*": "./styles/*",
@@ -23,45 +26,93 @@
23
26
  "types": "./index.d.ts",
24
27
  "default": "./fesm2022/taiga-ui-core.mjs"
25
28
  },
26
- "./animations": {
27
- "types": "./animations/index.d.ts",
28
- "default": "./fesm2022/taiga-ui-core-animations.mjs"
29
- },
30
29
  "./classes": {
31
30
  "types": "./classes/index.d.ts",
32
31
  "default": "./fesm2022/taiga-ui-core-classes.mjs"
33
32
  },
34
- "./components": {
35
- "types": "./components/index.d.ts",
36
- "default": "./fesm2022/taiga-ui-core-components.mjs"
37
- },
38
33
  "./directives": {
39
34
  "types": "./directives/index.d.ts",
40
35
  "default": "./fesm2022/taiga-ui-core-directives.mjs"
41
36
  },
42
- "./pipes": {
43
- "types": "./pipes/index.d.ts",
44
- "default": "./fesm2022/taiga-ui-core-pipes.mjs"
37
+ "./portals": {
38
+ "types": "./portals/index.d.ts",
39
+ "default": "./fesm2022/taiga-ui-core-portals.mjs"
45
40
  },
46
41
  "./services": {
47
42
  "types": "./services/index.d.ts",
48
43
  "default": "./fesm2022/taiga-ui-core-services.mjs"
49
44
  },
50
- "./tokens": {
51
- "types": "./tokens/index.d.ts",
52
- "default": "./fesm2022/taiga-ui-core-tokens.mjs"
45
+ "./animations": {
46
+ "types": "./animations/index.d.ts",
47
+ "default": "./fesm2022/taiga-ui-core-animations.mjs"
48
+ },
49
+ "./components": {
50
+ "types": "./components/index.d.ts",
51
+ "default": "./fesm2022/taiga-ui-core-components.mjs"
52
+ },
53
+ "./pipes": {
54
+ "types": "./pipes/index.d.ts",
55
+ "default": "./fesm2022/taiga-ui-core-pipes.mjs"
53
56
  },
54
57
  "./types": {
55
58
  "types": "./types/index.d.ts",
56
59
  "default": "./fesm2022/taiga-ui-core-types.mjs"
57
60
  },
61
+ "./tokens": {
62
+ "types": "./tokens/index.d.ts",
63
+ "default": "./fesm2022/taiga-ui-core-tokens.mjs"
64
+ },
58
65
  "./utils": {
59
66
  "types": "./utils/index.d.ts",
60
67
  "default": "./fesm2022/taiga-ui-core-utils.mjs"
61
68
  },
62
- "./components/alert": {
63
- "types": "./components/alert/index.d.ts",
64
- "default": "./fesm2022/taiga-ui-core-components-alert.mjs"
69
+ "./directives/appearance": {
70
+ "types": "./directives/appearance/index.d.ts",
71
+ "default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
72
+ },
73
+ "./directives/date-format": {
74
+ "types": "./directives/date-format/index.d.ts",
75
+ "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
76
+ },
77
+ "./directives/group": {
78
+ "types": "./directives/group/index.d.ts",
79
+ "default": "./fesm2022/taiga-ui-core-directives-group.mjs"
80
+ },
81
+ "./directives/icons": {
82
+ "types": "./directives/icons/index.d.ts",
83
+ "default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
84
+ },
85
+ "./directives/items-handlers": {
86
+ "types": "./directives/items-handlers/index.d.ts",
87
+ "default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
88
+ },
89
+ "./directives/number-format": {
90
+ "types": "./directives/number-format/index.d.ts",
91
+ "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
92
+ },
93
+ "./portals/alert": {
94
+ "types": "./portals/alert/index.d.ts",
95
+ "default": "./fesm2022/taiga-ui-core-portals-alert.mjs"
96
+ },
97
+ "./portals/dialog": {
98
+ "types": "./portals/dialog/index.d.ts",
99
+ "default": "./fesm2022/taiga-ui-core-portals-dialog.mjs"
100
+ },
101
+ "./portals/dropdown": {
102
+ "types": "./portals/dropdown/index.d.ts",
103
+ "default": "./fesm2022/taiga-ui-core-portals-dropdown.mjs"
104
+ },
105
+ "./portals/hint": {
106
+ "types": "./portals/hint/index.d.ts",
107
+ "default": "./fesm2022/taiga-ui-core-portals-hint.mjs"
108
+ },
109
+ "./portals/modal": {
110
+ "types": "./portals/modal/index.d.ts",
111
+ "default": "./fesm2022/taiga-ui-core-portals-modal.mjs"
112
+ },
113
+ "./portals/popup": {
114
+ "types": "./portals/popup/index.d.ts",
115
+ "default": "./fesm2022/taiga-ui-core-portals-popup.mjs"
65
116
  },
66
117
  "./components/button": {
67
118
  "types": "./components/button/index.d.ts",
@@ -71,14 +122,14 @@
71
122
  "types": "./components/calendar/index.d.ts",
72
123
  "default": "./fesm2022/taiga-ui-core-components-calendar.mjs"
73
124
  },
125
+ "./components/cell": {
126
+ "types": "./components/cell/index.d.ts",
127
+ "default": "./fesm2022/taiga-ui-core-components-cell.mjs"
128
+ },
74
129
  "./components/data-list": {
75
130
  "types": "./components/data-list/index.d.ts",
76
131
  "default": "./fesm2022/taiga-ui-core-components-data-list.mjs"
77
132
  },
78
- "./components/dialog": {
79
- "types": "./components/dialog/index.d.ts",
80
- "default": "./fesm2022/taiga-ui-core-components-dialog.mjs"
81
- },
82
133
  "./components/error": {
83
134
  "types": "./components/error/index.d.ts",
84
135
  "default": "./fesm2022/taiga-ui-core-components-error.mjs"
@@ -87,14 +138,14 @@
87
138
  "types": "./components/expand/index.d.ts",
88
139
  "default": "./fesm2022/taiga-ui-core-components-expand.mjs"
89
140
  },
90
- "./components/fullscreen": {
91
- "types": "./components/fullscreen/index.d.ts",
92
- "default": "./fesm2022/taiga-ui-core-components-fullscreen.mjs"
93
- },
94
141
  "./components/icon": {
95
142
  "types": "./components/icon/index.d.ts",
96
143
  "default": "./fesm2022/taiga-ui-core-components-icon.mjs"
97
144
  },
145
+ "./components/input": {
146
+ "types": "./components/input/index.d.ts",
147
+ "default": "./fesm2022/taiga-ui-core-components-input.mjs"
148
+ },
98
149
  "./components/label": {
99
150
  "types": "./components/label/index.d.ts",
100
151
  "default": "./fesm2022/taiga-ui-core-components-label.mjs"
@@ -127,86 +178,14 @@
127
178
  "types": "./components/textfield/index.d.ts",
128
179
  "default": "./fesm2022/taiga-ui-core-components-textfield.mjs"
129
180
  },
130
- "./directives/appearance": {
131
- "types": "./directives/appearance/index.d.ts",
132
- "default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
133
- },
134
- "./directives/date-format": {
135
- "types": "./directives/date-format/index.d.ts",
136
- "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
137
- },
138
- "./directives/dropdown": {
139
- "types": "./directives/dropdown/index.d.ts",
140
- "default": "./fesm2022/taiga-ui-core-directives-dropdown.mjs"
141
- },
142
- "./directives/group": {
143
- "types": "./directives/group/index.d.ts",
144
- "default": "./fesm2022/taiga-ui-core-directives-group.mjs"
145
- },
146
- "./directives/hint": {
147
- "types": "./directives/hint/index.d.ts",
148
- "default": "./fesm2022/taiga-ui-core-directives-hint.mjs"
149
- },
150
- "./directives/icons": {
151
- "types": "./directives/icons/index.d.ts",
152
- "default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
153
- },
154
- "./directives/items-handlers": {
155
- "types": "./directives/items-handlers/index.d.ts",
156
- "default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
157
- },
158
- "./directives/number-format": {
159
- "types": "./directives/number-format/index.d.ts",
160
- "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
161
- },
162
- "./directives/popup": {
163
- "types": "./directives/popup/index.d.ts",
164
- "default": "./fesm2022/taiga-ui-core-directives-popup.mjs"
165
- },
166
- "./directives/surface": {
167
- "types": "./directives/surface/index.d.ts",
168
- "default": "./fesm2022/taiga-ui-core-directives-surface.mjs"
169
- },
170
- "./directives/title": {
171
- "types": "./directives/title/index.d.ts",
172
- "default": "./fesm2022/taiga-ui-core-directives-title.mjs"
173
- },
174
- "./pipes/auto-color": {
175
- "types": "./pipes/auto-color/index.d.ts",
176
- "default": "./fesm2022/taiga-ui-core-pipes-auto-color.mjs"
177
- },
178
- "./pipes/calendar-sheet": {
179
- "types": "./pipes/calendar-sheet/index.d.ts",
180
- "default": "./fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs"
181
- },
182
- "./pipes/fallback-src": {
183
- "types": "./pipes/fallback-src/index.d.ts",
184
- "default": "./fesm2022/taiga-ui-core-pipes-fallback-src.mjs"
185
- },
186
- "./pipes/flag": {
187
- "types": "./pipes/flag/index.d.ts",
188
- "default": "./fesm2022/taiga-ui-core-pipes-flag.mjs"
189
- },
190
- "./pipes/format-date": {
191
- "types": "./pipes/format-date/index.d.ts",
192
- "default": "./fesm2022/taiga-ui-core-pipes-format-date.mjs"
181
+ "./components/title": {
182
+ "types": "./components/title/index.d.ts",
183
+ "default": "./fesm2022/taiga-ui-core-components-title.mjs"
193
184
  },
194
185
  "./pipes/format-number": {
195
186
  "types": "./pipes/format-number/index.d.ts",
196
187
  "default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
197
188
  },
198
- "./pipes/initials": {
199
- "types": "./pipes/initials/index.d.ts",
200
- "default": "./fesm2022/taiga-ui-core-pipes-initials.mjs"
201
- },
202
- "./pipes/month": {
203
- "types": "./pipes/month/index.d.ts",
204
- "default": "./fesm2022/taiga-ui-core-pipes-month.mjs"
205
- },
206
- "./pipes/order-week-days": {
207
- "types": "./pipes/order-week-days/index.d.ts",
208
- "default": "./fesm2022/taiga-ui-core-pipes-order-week-days.mjs"
209
- },
210
189
  "./utils/dom": {
211
190
  "types": "./utils/dom/index.d.ts",
212
191
  "default": "./fesm2022/taiga-ui-core-utils-dom.mjs"
@@ -227,8 +206,8 @@
227
206
  "@angular/forms": ">=19.0.0",
228
207
  "@angular/platform-browser": ">=19.0.0",
229
208
  "@angular/router": ">=19.0.0",
230
- "@ng-web-apis/common": "^4.12.0",
231
- "@ng-web-apis/mutation-observer": "^4.12.0",
209
+ "@ng-web-apis/common": "^4.12.2",
210
+ "@ng-web-apis/mutation-observer": "^4.12.2",
232
211
  "@taiga-ui/cdk": "^4.52.0",
233
212
  "@taiga-ui/event-plugins": "^4.7.0",
234
213
  "@taiga-ui/i18n": "^4.52.0",
@@ -1,16 +1,18 @@
1
1
  import { type PipeTransform } from '@angular/core';
2
2
  import { type TuiNumberFormatSettings } from '@taiga-ui/core/tokens';
3
- import { type Observable } from 'rxjs';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class TuiFormatNumberPipe implements PipeTransform {
6
- private readonly numberFormat;
5
+ private readonly format;
6
+ private readonly value;
7
+ private readonly settings;
8
+ private readonly formatted;
7
9
  /**
8
- * Formats number adding thousand separators and correct decimal separator
10
+ * Formats number adding a thousand separators and correct decimal separator
9
11
  * padding decimal part with zeroes to given length
10
12
  * @param value number
11
13
  * @param settings See {@link TuiNumberFormatSettings}
12
14
  */
13
- transform(value: number, settings?: Partial<TuiNumberFormatSettings>): Observable<string>;
15
+ transform(value: number, settings?: Partial<TuiNumberFormatSettings>): string;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiFormatNumberPipe, never>;
15
17
  static ɵpipe: i0.ɵɵPipeDeclaration<TuiFormatNumberPipe, "tuiFormatNumber", true>;
16
18
  }
package/pipes/index.d.ts CHANGED
@@ -1,9 +1 @@
1
- export * from '@taiga-ui/core/pipes/auto-color';
2
- export * from '@taiga-ui/core/pipes/calendar-sheet';
3
- export * from '@taiga-ui/core/pipes/fallback-src';
4
- export * from '@taiga-ui/core/pipes/flag';
5
- export * from '@taiga-ui/core/pipes/format-date';
6
1
  export * from '@taiga-ui/core/pipes/format-number';
7
- export * from '@taiga-ui/core/pipes/initials';
8
- export * from '@taiga-ui/core/pipes/month';
9
- export * from '@taiga-ui/core/pipes/order-week-days';
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export interface TuiPositionOptions {
3
+ readonly block: 'end' | 'start';
4
+ readonly inline: 'center' | 'end' | 'start';
5
+ }
6
+ export declare class TuiAlertDirective {
7
+ protected readonly nothing: undefined;
8
+ protected readonly context: TuiPositionOptions;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAlertDirective, never, never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { TuiPortal } from '@taiga-ui/cdk/portals';
2
+ import { type PolymorpheusComponent } from '@taiga-ui/polymorpheus';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class TuiAlertService<T, K = void> extends TuiPortal<T, K> {
5
+ private readonly concurrency;
6
+ private readonly current;
7
+ private readonly queue;
8
+ constructor(concurrency: number);
9
+ protected add(component: PolymorpheusComponent<unknown>): () => void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertService<any, any>, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiAlertService<any, any>>;
12
+ }
@@ -0,0 +1,2 @@
1
+ export * from './alert.directive';
2
+ export * from './alert.service';
@@ -0,0 +1,14 @@
1
+ import { Subject } from 'rxjs';
2
+ import { type TuiDialogContext } from './dialog.options';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@taiga-ui/cdk/directives/animated";
5
+ export declare class TuiDialogComponent<O, I> {
6
+ protected readonly close$: Subject<void>;
7
+ protected readonly close: import("@angular/core").Signal<string>;
8
+ protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
9
+ protected readonly context: TuiDialogContext<I, O>;
10
+ protected readonly primitive: boolean;
11
+ protected readonly sub: import("rxjs").Subscription;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogComponent<any, any>, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDialogComponent<any, any>, "tui-dialog", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
14
+ }
@@ -0,0 +1,8 @@
1
+ import { type TuiDialogOptions } from './dialog.options';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@taiga-ui/cdk/portals";
4
+ export declare class TuiDialog<T> {
5
+ readonly tuiDialogOptions: import("@angular/core").InputSignal<Partial<TuiDialogOptions<T>>>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialog<any>, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDialog<any>, "ng-template[tuiDialog]", never, { "tuiDialogOptions": { "alias": "tuiDialogOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "options": "tuiDialogOptions"; "open": "tuiDialog"; }; outputs: { "openChange": "tuiDialogChange"; }; }]>;
8
+ }
@@ -1,6 +1,6 @@
1
1
  import { type Injector } from '@angular/core';
2
2
  import { type Observable } from 'rxjs';
3
- import { type TuiDialogContext, type TuiDialogOptions } from './dialog.interfaces';
3
+ import { type TuiDialogContext, type TuiDialogOptions } from './dialog.options';
4
4
  type SingleUnionOrNever<T, U = T> = [T] extends [never] ? never : T extends U ? [U] extends [T] ? T : never : never;
5
5
  type ReplaceAny<T> = 0 extends T & 1 ? void : T;
6
6
  type ContextKeys<T> = {
@@ -0,0 +1,25 @@
1
+ import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
2
+ import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
3
+ import { type Observable } from 'rxjs';
4
+ /**
5
+ * Options for a dialog
6
+ *
7
+ * appearance - data-appearance attribute of the dialog ('taiga' by default)
8
+ * closable - show close button (true by default)
9
+ * data - arbitrary data for dialog
10
+ * dismissible - close dialog by Esc button or click on overlay (true by default)
11
+ * label - string title for the dialog ('' by default)
12
+ * required - dismissing or closing dialog by X button throws (false by default)
13
+ * size - size of the dialog ('m' by default)
14
+ */
15
+ export interface TuiDialogOptions<I> {
16
+ readonly appearance: string;
17
+ readonly closable: Observable<boolean> | boolean;
18
+ readonly data: I extends void ? undefined : I;
19
+ readonly dismissible: Observable<boolean> | boolean;
20
+ readonly label: string;
21
+ readonly required: boolean;
22
+ readonly size: TuiSizeL | TuiSizeS;
23
+ }
24
+ export type TuiDialogContext<O = void, I = undefined> = TuiPortalContext<TuiDialogOptions<I>, O>;
25
+ export declare const TUI_DIALOG_OPTIONS: import("@angular/core").InjectionToken<TuiDialogOptions<void>>, tuiDialogOptionsProvider: (item: Partial<TuiDialogOptions<void>> | (() => Partial<TuiDialogOptions<void>>)) => import("@angular/core").FactoryProvider;
@@ -1,5 +1,7 @@
1
+ import { InjectionToken } from '@angular/core';
1
2
  import { Observable } from 'rxjs';
2
3
  import * as i0 from "@angular/core";
4
+ export declare const TUI_DIALOGS_CLOSE: InjectionToken<Observable<unknown>>;
3
5
  export declare class TuiDialogCloseService extends Observable<unknown> {
4
6
  private readonly win;
5
7
  private readonly doc;
@@ -0,0 +1,10 @@
1
+ import { TuiModalService } from '@taiga-ui/core/portals/modal';
2
+ import { TuiDialogComponent } from './dialog.component';
3
+ import { type TuiDialogOptions } from './dialog.options';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TuiDialogService extends TuiModalService<TuiDialogOptions<any>> {
6
+ protected readonly options: TuiDialogOptions<void>;
7
+ protected readonly content: typeof TuiDialogComponent;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiDialogService>;
10
+ }
@@ -0,0 +1,6 @@
1
+ export * from './dialog.component';
2
+ export * from './dialog.directive';
3
+ export * from './dialog.factory';
4
+ export * from './dialog.options';
5
+ export * from './dialog.providers';
6
+ export * from './dialog.service';
@@ -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,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
- readonly accessor: TuiRectAccessor | null;
14
- emitDirection(direction: TuiVerticalDirection): void;
13
+ readonly accessor: TuiRectAccessor;
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 {};
@@ -1,14 +1,13 @@
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
- import { TuiDropdownOpenLegacy } from './dropdown-open-legacy.directive';
9
9
  import { TuiDropdownOptionsDirective } from './dropdown-options.directive';
10
- import { TuiDropdownPortal } from './dropdown-portal.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 TuiDropdownPortal, typeof TuiDropdownManual, typeof TuiDropdownHover, 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];