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

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 +2 -2
  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 -4
  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 +29 -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 +5 -6
  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-into-view.directive.d.ts +3 -2
  36. package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
  37. package/components/scrollbar/scrollbar.component.d.ts +1 -5
  38. package/components/scrollbar/scrollbar.directive.d.ts +2 -2
  39. package/components/spin-button/spin-button.component.d.ts +1 -1
  40. package/components/textfield/index.d.ts +0 -1
  41. package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
  42. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +8 -13
  43. package/components/textfield/textfield.component.d.ts +20 -33
  44. package/components/textfield/textfield.d.ts +2 -3
  45. package/directives/appearance/appearance.directive.d.ts +1 -1
  46. package/directives/appearance/appearance.options.d.ts +1 -2
  47. package/directives/button-x/button-x.directive.d.ts +6 -0
  48. package/directives/button-x/index.d.ts +1 -0
  49. package/directives/date-format/date-format.directive.d.ts +3 -7
  50. package/directives/group/group.directive.d.ts +7 -7
  51. package/directives/group/group.options.d.ts +1 -3
  52. package/directives/index.d.ts +1 -5
  53. package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
  54. package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
  55. package/directives/number-format/number-format.directive.d.ts +3 -7
  56. package/fesm2022/taiga-ui-core-classes.mjs +9 -11
  57. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-core-components-button.mjs +7 -7
  59. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-core-components-calendar.mjs +138 -37
  61. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-core-components-cell.mjs +7 -7
  63. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-core-components-data-list.mjs +110 -279
  65. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-core-components-error.mjs +12 -11
  67. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-components-expand.mjs +3 -3
  69. package/fesm2022/taiga-ui-core-components-icon.mjs +10 -11
  70. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-core-components-input.mjs +103 -0
  72. package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
  73. package/fesm2022/taiga-ui-core-components-label.mjs +11 -13
  74. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-core-components-link.mjs +13 -28
  76. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-core-components-loader.mjs +7 -12
  78. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-core-components-notification.mjs +99 -29
  80. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-core-components-root.mjs +9 -13
  82. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +69 -83
  84. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-core-components-spin-button.mjs +6 -6
  86. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-core-components-textfield.mjs +104 -266
  88. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  89. package/fesm2022/{taiga-ui-core-directives-title.mjs → taiga-ui-core-components-title.mjs} +8 -8
  90. package/fesm2022/{taiga-ui-core-directives-title.mjs.map → taiga-ui-core-components-title.mjs.map} +1 -1
  91. package/fesm2022/taiga-ui-core-components.mjs +2 -4
  92. package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-core-directives-appearance.mjs +16 -16
  94. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-core-directives-button-x.mjs +51 -0
  96. package/fesm2022/taiga-ui-core-directives-button-x.mjs.map +1 -0
  97. package/fesm2022/taiga-ui-core-directives-date-format.mjs +26 -20
  98. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-core-directives-group.mjs +23 -35
  100. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-core-directives-icons.mjs +12 -12
  102. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +16 -40
  104. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-core-directives-number-format.mjs +32 -20
  106. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-core-directives.mjs +1 -5
  108. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -15
  110. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-pipes.mjs +0 -7
  112. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-core-portals-alert.mjs +73 -0
  114. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
  115. package/fesm2022/taiga-ui-core-portals-dialog.mjs +159 -0
  116. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
  117. package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +214 -348
  118. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
  119. package/fesm2022/{taiga-ui-core-directives-hint.mjs → taiga-ui-core-portals-hint.mjs} +73 -132
  120. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
  121. package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
  122. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
  123. package/fesm2022/{taiga-ui-core-directives-popup.mjs → taiga-ui-core-portals-popup.mjs} +11 -11
  124. package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
  125. package/fesm2022/taiga-ui-core-portals.mjs +11 -0
  126. package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
  127. package/fesm2022/taiga-ui-core-services.mjs +15 -79
  128. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-core-tokens.mjs +51 -60
  130. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -22
  132. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +19 -19
  134. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-core.mjs +1 -1
  136. package/index.d.ts +1 -1
  137. package/package.json +72 -98
  138. package/pipes/format-number/format-number.pipe.d.ts +6 -4
  139. package/pipes/index.d.ts +0 -7
  140. package/{directives/notification/notification.directive.d.ts → portals/alert/alert.directive.d.ts} +3 -3
  141. package/{directives/notification/notification.service.d.ts → portals/alert/alert.service.d.ts} +3 -3
  142. package/portals/alert/index.d.ts +2 -0
  143. package/{components → portals}/dialog/dialog.component.d.ts +2 -3
  144. package/{components → portals}/dialog/dialog.options.d.ts +2 -3
  145. package/{components → portals}/dialog/dialog.providers.d.ts +1 -2
  146. package/{components → portals}/dialog/dialog.service.d.ts +1 -1
  147. package/{components → portals}/dialog/index.d.ts +0 -1
  148. package/portals/dropdown/dropdown-close.directive.d.ts +15 -0
  149. package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -1
  150. package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
  151. package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +1 -3
  152. package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
  153. package/portals/dropdown/dropdown-open.directive.d.ts +29 -0
  154. package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +0 -4
  155. package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
  156. package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +5 -5
  157. package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
  158. package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
  159. package/{directives → portals}/dropdown/dropdown.d.ts +1 -2
  160. package/{directives → portals}/dropdown/dropdown.directive.d.ts +5 -6
  161. package/{directives → portals}/dropdown/index.d.ts +1 -1
  162. package/portals/hint/hint-options.directive.d.ts +17 -0
  163. package/{directives → portals}/hint/hint-position.directive.d.ts +5 -5
  164. package/{directives → portals}/hint/hint.d.ts +1 -2
  165. package/{directives → portals}/hint/hint.directive.d.ts +2 -2
  166. package/portals/index.d.ts +6 -0
  167. package/{components → portals}/modal/modal.component.d.ts +3 -3
  168. package/{components → portals}/modal/modal.service.d.ts +3 -3
  169. package/services/index.d.ts +0 -3
  170. package/styles/components/appearance.less +5 -0
  171. package/styles/components/button.less +10 -20
  172. package/styles/components/icon.less +11 -0
  173. package/styles/components/icons.less +2 -1
  174. package/styles/components/label.less +3 -12
  175. package/styles/components/link.less +9 -24
  176. package/styles/components/notification.less +31 -65
  177. package/styles/components/textfield.less +129 -211
  178. package/styles/components/title.less +8 -8
  179. package/styles/mixins/appearance.less +10 -26
  180. package/styles/mixins/appearance.scss +8 -24
  181. package/styles/mixins/date-picker.less +1 -1
  182. package/styles/mixins/mixins.less +0 -5
  183. package/styles/mixins/mixins.scss +0 -5
  184. package/styles/mixins/picker.less +1 -1
  185. package/styles/mixins/picker.scss +1 -1
  186. package/styles/mixins/slider.less +4 -10
  187. package/styles/mixins/slider.scss +23 -22
  188. package/styles/taiga-ui-local.less +0 -1
  189. package/styles/taiga-ui-local.scss +0 -1
  190. package/styles/taiga-ui-theme.less +0 -1
  191. package/styles/theme/appearance/outline.less +9 -18
  192. package/styles/theme/appearance/primary.less +2 -4
  193. package/styles/theme/appearance/secondary.less +6 -14
  194. package/styles/theme/appearance/status.less +0 -4
  195. package/styles/theme/appearance/table.less +36 -35
  196. package/styles/theme/appearance/textfield.less +30 -27
  197. package/styles/theme/appearance.less +0 -1
  198. package/styles/theme/variables.less +16 -19
  199. package/styles/variables/media.less +13 -18
  200. package/styles/variables/media.scss +13 -13
  201. package/tokens/breakpoint.d.ts +4 -0
  202. package/tokens/common-icons.d.ts +3 -3
  203. package/tokens/date-format.d.ts +2 -3
  204. package/tokens/icons.d.ts +0 -4
  205. package/tokens/index.d.ts +1 -4
  206. package/tokens/number-format.d.ts +2 -3
  207. package/types/index.d.ts +0 -2
  208. package/types/point.d.ts +1 -1
  209. package/types/size.d.ts +0 -11
  210. package/utils/format/index.d.ts +0 -1
  211. package/utils/miscellaneous/font-scaling.d.ts +2 -1
  212. package/utils/miscellaneous/get-duration.d.ts +2 -0
  213. package/utils/miscellaneous/index.d.ts +1 -1
  214. package/animations/animations.d.ts +0 -109
  215. package/animations/index.d.ts +0 -1
  216. package/components/alert/alert.component.d.ts +0 -14
  217. package/components/alert/alert.directive.d.ts +0 -8
  218. package/components/alert/alert.interfaces.d.ts +0 -13
  219. package/components/alert/alert.service.d.ts +0 -11
  220. package/components/alert/alert.tokens.d.ts +0 -6
  221. package/components/alert/index.d.ts +0 -5
  222. package/components/data-list/data-list.directive.d.ts +0 -7
  223. package/components/data-list/option/option-content.d.ts +0 -16
  224. package/components/data-list/option/option-legacy.component.d.ts +0 -24
  225. package/components/data-list/option/option.directive.d.ts +0 -27
  226. package/components/dialog/active-zone-adapter.directive.d.ts +0 -11
  227. package/components/dialog/dialogs.component.d.ts +0 -8
  228. package/components/header/header.directive.d.ts +0 -17
  229. package/components/header/index.d.ts +0 -1
  230. package/components/link/link.options.d.ts +0 -12
  231. package/components/textfield/textfield.directive.d.ts +0 -35
  232. package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
  233. package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
  234. package/directives/hint/hint-options.directive.d.ts +0 -36
  235. package/directives/notification/index.d.ts +0 -2
  236. package/fesm2022/taiga-ui-core-animations.mjs +0 -370
  237. package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
  238. package/fesm2022/taiga-ui-core-components-alert.mjs +0 -110
  239. package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
  240. package/fesm2022/taiga-ui-core-components-dialog.mjs +0 -227
  241. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
  242. package/fesm2022/taiga-ui-core-components-header.mjs +0 -42
  243. package/fesm2022/taiga-ui-core-components-header.mjs.map +0 -1
  244. package/fesm2022/taiga-ui-core-components-modal.mjs +0 -89
  245. package/fesm2022/taiga-ui-core-components-modal.mjs.map +0 -1
  246. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
  247. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
  248. package/fesm2022/taiga-ui-core-directives-notification.mjs +0 -73
  249. package/fesm2022/taiga-ui-core-directives-notification.mjs.map +0 -1
  250. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
  251. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -25
  252. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
  253. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -94
  254. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
  255. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -32
  256. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
  257. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -28
  258. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
  259. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -29
  260. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
  261. package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -30
  262. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
  263. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -36
  264. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
  265. package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
  266. package/pipes/auto-color/index.d.ts +0 -1
  267. package/pipes/calendar-sheet/index.d.ts +0 -1
  268. package/pipes/calendar-sheet/utils.d.ts +0 -20
  269. package/pipes/flag/flag.pipe.d.ts +0 -14
  270. package/pipes/flag/index.d.ts +0 -1
  271. package/pipes/format-date/format-date.pipe.d.ts +0 -9
  272. package/pipes/format-date/index.d.ts +0 -1
  273. package/pipes/initials/index.d.ts +0 -1
  274. package/pipes/initials/initials.pipe.d.ts +0 -7
  275. package/pipes/month/index.d.ts +0 -1
  276. package/pipes/month/month.pipe.d.ts +0 -10
  277. package/pipes/order-week-days/index.d.ts +0 -1
  278. package/services/breakpoint.service.d.ts +0 -16
  279. package/services/dark-theme.service.d.ts +0 -10
  280. package/services/format-date.service.d.ts +0 -8
  281. package/styles/mixins/wrapper.less +0 -64
  282. package/styles/mixins/wrapper.scss +0 -61
  283. package/styles/theme/appearance/opposite.less +0 -17
  284. package/styles/theme/wrapper.less +0 -211
  285. package/tokens/day-type-handler.d.ts +0 -7
  286. package/tokens/first-day-of-week.d.ts +0 -5
  287. package/tokens/scroll-ref.d.ts +0 -2
  288. package/tokens/spin-icons.d.ts +0 -6
  289. package/types/range-state.d.ts +0 -4
  290. package/types/value-content-context.d.ts +0 -4
  291. package/utils/format/string-hash-to-hsl.d.ts +0 -6
  292. package/utils/miscellaneous/to-animation-options.d.ts +0 -4
  293. /package/{directives → components}/title/index.d.ts +0 -0
  294. /package/{directives → components}/title/title.directive.d.ts +0 -0
  295. /package/{components → portals}/dialog/dialog.directive.d.ts +0 -0
  296. /package/{components → portals}/dialog/dialog.factory.d.ts +0 -0
  297. /package/{directives → portals}/dropdown/dropdown-content.directive.d.ts +0 -0
  298. /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
  299. /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
  300. /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
  301. /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
  302. /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
  303. /package/{directives → portals}/hint/hint-describe.directive.d.ts +0 -0
  304. /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
  305. /package/{directives → portals}/hint/hint-host.directive.d.ts +0 -0
  306. /package/{directives → portals}/hint/hint-hover.directive.d.ts +0 -0
  307. /package/{directives → portals}/hint/hint-manual.directive.d.ts +0 -0
  308. /package/{directives → portals}/hint/hint-overflow.directive.d.ts +0 -0
  309. /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
  310. /package/{directives → portals}/hint/hint-unstyled.component.d.ts +0 -0
  311. /package/{directives → portals}/hint/hint.component.d.ts +0 -0
  312. /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
  313. /package/{directives → portals}/hint/index.d.ts +0 -0
  314. /package/{components → portals}/modal/index.d.ts +0 -0
  315. /package/{directives → portals}/popup/index.d.ts +0 -0
  316. /package/{directives → portals}/popup/popup.directive.d.ts +0 -0
  317. /package/{directives → portals}/popup/popup.service.d.ts +0 -0
  318. /package/{directives → portals}/popup/popups.component.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.aaf153c",
3
+ "version": "4.52.0-canary.ae38a1e",
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,34 +26,30 @@
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
- "./classes": {
31
- "types": "./classes/index.d.ts",
32
- "default": "./fesm2022/taiga-ui-core-classes.mjs"
33
- },
34
- "./components": {
35
- "types": "./components/index.d.ts",
36
- "default": "./fesm2022/taiga-ui-core-components.mjs"
37
- },
38
- "./directives": {
39
- "types": "./directives/index.d.ts",
40
- "default": "./fesm2022/taiga-ui-core-directives.mjs"
41
- },
42
29
  "./pipes": {
43
30
  "types": "./pipes/index.d.ts",
44
31
  "default": "./fesm2022/taiga-ui-core-pipes.mjs"
45
32
  },
33
+ "./portals": {
34
+ "types": "./portals/index.d.ts",
35
+ "default": "./fesm2022/taiga-ui-core-portals.mjs"
36
+ },
46
37
  "./services": {
47
38
  "types": "./services/index.d.ts",
48
39
  "default": "./fesm2022/taiga-ui-core-services.mjs"
49
40
  },
41
+ "./classes": {
42
+ "types": "./classes/index.d.ts",
43
+ "default": "./fesm2022/taiga-ui-core-classes.mjs"
44
+ },
50
45
  "./tokens": {
51
46
  "types": "./tokens/index.d.ts",
52
47
  "default": "./fesm2022/taiga-ui-core-tokens.mjs"
53
48
  },
49
+ "./components": {
50
+ "types": "./components/index.d.ts",
51
+ "default": "./fesm2022/taiga-ui-core-components.mjs"
52
+ },
54
53
  "./types": {
55
54
  "types": "./types/index.d.ts",
56
55
  "default": "./fesm2022/taiga-ui-core-types.mjs"
@@ -59,9 +58,37 @@
59
58
  "types": "./utils/index.d.ts",
60
59
  "default": "./fesm2022/taiga-ui-core-utils.mjs"
61
60
  },
62
- "./components/alert": {
63
- "types": "./components/alert/index.d.ts",
64
- "default": "./fesm2022/taiga-ui-core-components-alert.mjs"
61
+ "./pipes/format-number": {
62
+ "types": "./pipes/format-number/index.d.ts",
63
+ "default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
64
+ },
65
+ "./portals/alert": {
66
+ "types": "./portals/alert/index.d.ts",
67
+ "default": "./fesm2022/taiga-ui-core-portals-alert.mjs"
68
+ },
69
+ "./portals/dialog": {
70
+ "types": "./portals/dialog/index.d.ts",
71
+ "default": "./fesm2022/taiga-ui-core-portals-dialog.mjs"
72
+ },
73
+ "./portals/dropdown": {
74
+ "types": "./portals/dropdown/index.d.ts",
75
+ "default": "./fesm2022/taiga-ui-core-portals-dropdown.mjs"
76
+ },
77
+ "./portals/hint": {
78
+ "types": "./portals/hint/index.d.ts",
79
+ "default": "./fesm2022/taiga-ui-core-portals-hint.mjs"
80
+ },
81
+ "./portals/modal": {
82
+ "types": "./portals/modal/index.d.ts",
83
+ "default": "./fesm2022/taiga-ui-core-portals-modal.mjs"
84
+ },
85
+ "./directives": {
86
+ "types": "./directives/index.d.ts",
87
+ "default": "./fesm2022/taiga-ui-core-directives.mjs"
88
+ },
89
+ "./portals/popup": {
90
+ "types": "./portals/popup/index.d.ts",
91
+ "default": "./fesm2022/taiga-ui-core-portals-popup.mjs"
65
92
  },
66
93
  "./components/button": {
67
94
  "types": "./components/button/index.d.ts",
@@ -79,10 +106,6 @@
79
106
  "types": "./components/data-list/index.d.ts",
80
107
  "default": "./fesm2022/taiga-ui-core-components-data-list.mjs"
81
108
  },
82
- "./components/dialog": {
83
- "types": "./components/dialog/index.d.ts",
84
- "default": "./fesm2022/taiga-ui-core-components-dialog.mjs"
85
- },
86
109
  "./components/error": {
87
110
  "types": "./components/error/index.d.ts",
88
111
  "default": "./fesm2022/taiga-ui-core-components-error.mjs"
@@ -91,14 +114,14 @@
91
114
  "types": "./components/expand/index.d.ts",
92
115
  "default": "./fesm2022/taiga-ui-core-components-expand.mjs"
93
116
  },
94
- "./components/header": {
95
- "types": "./components/header/index.d.ts",
96
- "default": "./fesm2022/taiga-ui-core-components-header.mjs"
97
- },
98
117
  "./components/icon": {
99
118
  "types": "./components/icon/index.d.ts",
100
119
  "default": "./fesm2022/taiga-ui-core-components-icon.mjs"
101
120
  },
121
+ "./components/input": {
122
+ "types": "./components/input/index.d.ts",
123
+ "default": "./fesm2022/taiga-ui-core-components-input.mjs"
124
+ },
102
125
  "./components/label": {
103
126
  "types": "./components/label/index.d.ts",
104
127
  "default": "./fesm2022/taiga-ui-core-components-label.mjs"
@@ -111,10 +134,6 @@
111
134
  "types": "./components/loader/index.d.ts",
112
135
  "default": "./fesm2022/taiga-ui-core-components-loader.mjs"
113
136
  },
114
- "./components/modal": {
115
- "types": "./components/modal/index.d.ts",
116
- "default": "./fesm2022/taiga-ui-core-components-modal.mjs"
117
- },
118
137
  "./components/notification": {
119
138
  "types": "./components/notification/index.d.ts",
120
139
  "default": "./fesm2022/taiga-ui-core-components-notification.mjs"
@@ -135,26 +154,38 @@
135
154
  "types": "./components/textfield/index.d.ts",
136
155
  "default": "./fesm2022/taiga-ui-core-components-textfield.mjs"
137
156
  },
157
+ "./components/title": {
158
+ "types": "./components/title/index.d.ts",
159
+ "default": "./fesm2022/taiga-ui-core-components-title.mjs"
160
+ },
161
+ "./utils/dom": {
162
+ "types": "./utils/dom/index.d.ts",
163
+ "default": "./fesm2022/taiga-ui-core-utils-dom.mjs"
164
+ },
165
+ "./utils/format": {
166
+ "types": "./utils/format/index.d.ts",
167
+ "default": "./fesm2022/taiga-ui-core-utils-format.mjs"
168
+ },
169
+ "./utils/miscellaneous": {
170
+ "types": "./utils/miscellaneous/index.d.ts",
171
+ "default": "./fesm2022/taiga-ui-core-utils-miscellaneous.mjs"
172
+ },
138
173
  "./directives/appearance": {
139
174
  "types": "./directives/appearance/index.d.ts",
140
175
  "default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
141
176
  },
177
+ "./directives/button-x": {
178
+ "types": "./directives/button-x/index.d.ts",
179
+ "default": "./fesm2022/taiga-ui-core-directives-button-x.mjs"
180
+ },
142
181
  "./directives/date-format": {
143
182
  "types": "./directives/date-format/index.d.ts",
144
183
  "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
145
184
  },
146
- "./directives/dropdown": {
147
- "types": "./directives/dropdown/index.d.ts",
148
- "default": "./fesm2022/taiga-ui-core-directives-dropdown.mjs"
149
- },
150
185
  "./directives/group": {
151
186
  "types": "./directives/group/index.d.ts",
152
187
  "default": "./fesm2022/taiga-ui-core-directives-group.mjs"
153
188
  },
154
- "./directives/hint": {
155
- "types": "./directives/hint/index.d.ts",
156
- "default": "./fesm2022/taiga-ui-core-directives-hint.mjs"
157
- },
158
189
  "./directives/icons": {
159
190
  "types": "./directives/icons/index.d.ts",
160
191
  "default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
@@ -163,69 +194,12 @@
163
194
  "types": "./directives/items-handlers/index.d.ts",
164
195
  "default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
165
196
  },
166
- "./directives/notification": {
167
- "types": "./directives/notification/index.d.ts",
168
- "default": "./fesm2022/taiga-ui-core-directives-notification.mjs"
169
- },
170
197
  "./directives/number-format": {
171
198
  "types": "./directives/number-format/index.d.ts",
172
199
  "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
173
- },
174
- "./directives/popup": {
175
- "types": "./directives/popup/index.d.ts",
176
- "default": "./fesm2022/taiga-ui-core-directives-popup.mjs"
177
- },
178
- "./directives/title": {
179
- "types": "./directives/title/index.d.ts",
180
- "default": "./fesm2022/taiga-ui-core-directives-title.mjs"
181
- },
182
- "./pipes/auto-color": {
183
- "types": "./pipes/auto-color/index.d.ts",
184
- "default": "./fesm2022/taiga-ui-core-pipes-auto-color.mjs"
185
- },
186
- "./pipes/calendar-sheet": {
187
- "types": "./pipes/calendar-sheet/index.d.ts",
188
- "default": "./fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs"
189
- },
190
- "./pipes/flag": {
191
- "types": "./pipes/flag/index.d.ts",
192
- "default": "./fesm2022/taiga-ui-core-pipes-flag.mjs"
193
- },
194
- "./pipes/format-date": {
195
- "types": "./pipes/format-date/index.d.ts",
196
- "default": "./fesm2022/taiga-ui-core-pipes-format-date.mjs"
197
- },
198
- "./pipes/format-number": {
199
- "types": "./pipes/format-number/index.d.ts",
200
- "default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
201
- },
202
- "./pipes/initials": {
203
- "types": "./pipes/initials/index.d.ts",
204
- "default": "./fesm2022/taiga-ui-core-pipes-initials.mjs"
205
- },
206
- "./pipes/month": {
207
- "types": "./pipes/month/index.d.ts",
208
- "default": "./fesm2022/taiga-ui-core-pipes-month.mjs"
209
- },
210
- "./pipes/order-week-days": {
211
- "types": "./pipes/order-week-days/index.d.ts",
212
- "default": "./fesm2022/taiga-ui-core-pipes-order-week-days.mjs"
213
- },
214
- "./utils/dom": {
215
- "types": "./utils/dom/index.d.ts",
216
- "default": "./fesm2022/taiga-ui-core-utils-dom.mjs"
217
- },
218
- "./utils/format": {
219
- "types": "./utils/format/index.d.ts",
220
- "default": "./fesm2022/taiga-ui-core-utils-format.mjs"
221
- },
222
- "./utils/miscellaneous": {
223
- "types": "./utils/miscellaneous/index.d.ts",
224
- "default": "./fesm2022/taiga-ui-core-utils-miscellaneous.mjs"
225
200
  }
226
201
  },
227
202
  "peerDependencies": {
228
- "@angular/animations": ">=19.0.0",
229
203
  "@angular/common": ">=19.0.0",
230
204
  "@angular/core": ">=19.0.0",
231
205
  "@angular/forms": ">=19.0.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,8 +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/flag';
4
- export * from '@taiga-ui/core/pipes/format-date';
5
1
  export * from '@taiga-ui/core/pipes/format-number';
6
- export * from '@taiga-ui/core/pipes/initials';
7
- export * from '@taiga-ui/core/pipes/month';
8
- export * from '@taiga-ui/core/pipes/order-week-days';
@@ -3,9 +3,9 @@ export interface TuiPositionOptions {
3
3
  readonly block: 'end' | 'start';
4
4
  readonly inline: 'center' | 'end' | 'start';
5
5
  }
6
- export declare class TuiNotificationDirective {
6
+ export declare class TuiAlertDirective {
7
7
  protected readonly nothing: undefined;
8
8
  protected readonly context: TuiPositionOptions;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotificationDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNotificationDirective, never, never, {}, {}, never, never, true, never>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAlertDirective, never, never, {}, {}, never, never, true, never>;
11
11
  }
@@ -1,12 +1,12 @@
1
1
  import { TuiPortal } from '@taiga-ui/cdk/portals';
2
2
  import { type PolymorpheusComponent } from '@taiga-ui/polymorpheus';
3
3
  import * as i0 from "@angular/core";
4
- export declare abstract class TuiNotificationService<T, K = void> extends TuiPortal<T, K> {
4
+ export declare abstract class TuiAlertService<T, K = void> extends TuiPortal<T, K> {
5
5
  private readonly concurrency;
6
6
  private readonly current;
7
7
  private readonly queue;
8
8
  constructor(concurrency: number);
9
9
  protected add(component: PolymorpheusComponent<unknown>): () => void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotificationService<any, any>, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiNotificationService<any, any>>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertService<any, any>, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiAlertService<any, any>>;
12
12
  }
@@ -0,0 +1,2 @@
1
+ export * from './alert.directive';
2
+ export * from './alert.service';
@@ -1,13 +1,12 @@
1
- import { type TuiPopover } from '@taiga-ui/cdk/services';
2
1
  import { Subject } from 'rxjs';
3
- import { type TuiDialogOptions } from './dialog.options';
2
+ import { type TuiDialogContext } from './dialog.options';
4
3
  import * as i0 from "@angular/core";
5
4
  import * as i1 from "@taiga-ui/cdk/directives/animated";
6
5
  export declare class TuiDialogComponent<O, I> {
7
6
  protected readonly close$: Subject<void>;
8
7
  protected readonly close: import("@angular/core").Signal<string>;
9
8
  protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
10
- protected readonly context: TuiPopover<TuiDialogOptions<I>, O>;
9
+ protected readonly context: TuiDialogContext<I, O>;
11
10
  protected readonly primitive: boolean;
12
11
  protected readonly sub: import("rxjs").Subscription;
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogComponent<any, any>, never>;
@@ -1,4 +1,4 @@
1
- import { type TuiPopoverContext } from '@taiga-ui/cdk/services';
1
+ import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
2
2
  import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
3
3
  import { type Observable } from 'rxjs';
4
4
  /**
@@ -21,6 +21,5 @@ export interface TuiDialogOptions<I> {
21
21
  readonly required: boolean;
22
22
  readonly size: TuiSizeL | TuiSizeS;
23
23
  }
24
- export interface TuiDialogContext<O = void, I = undefined> extends TuiPopoverContext<O>, TuiDialogOptions<I> {
25
- }
24
+ export type TuiDialogContext<O = void, I = undefined> = TuiPortalContext<TuiDialogOptions<I>, O>;
26
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,7 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { BehaviorSubject, Observable } from 'rxjs';
2
+ import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
- export declare const TUI_DIALOGS: InjectionToken<BehaviorSubject<readonly any[]>>;
5
4
  export declare const TUI_DIALOGS_CLOSE: InjectionToken<Observable<unknown>>;
6
5
  export declare class TuiDialogCloseService extends Observable<unknown> {
7
6
  private readonly win;
@@ -1,4 +1,4 @@
1
- import { TuiModalService } from '@taiga-ui/core/components/modal';
1
+ import { TuiModalService } from '@taiga-ui/core/portals/modal';
2
2
  import { TuiDialogComponent } from './dialog.component';
3
3
  import { type TuiDialogOptions } from './dialog.options';
4
4
  import * as i0 from "@angular/core";
@@ -4,4 +4,3 @@ export * from './dialog.factory';
4
4
  export * from './dialog.options';
5
5
  export * from './dialog.providers';
6
6
  export * from './dialog.service';
7
- export * from './dialogs.component';
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TuiDropdownClose {
3
+ private readonly el;
4
+ private readonly ref;
5
+ private readonly open;
6
+ private readonly obscured;
7
+ private readonly activeZone;
8
+ protected readonly tuiDropdownClose: import("@angular/core").OutputRef<boolean | void | (KeyboardEvent & {
9
+ readonly currentTarget: Document;
10
+ }) | (FocusEvent & {
11
+ readonly currentTarget: HTMLElement;
12
+ })>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownClose, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownClose, never, never, {}, { "tuiDropdownClose": "tuiDropdownClose"; }, never, never, true, never>;
15
+ }
@@ -12,7 +12,6 @@ export declare class TuiDropdownContext extends TuiRectAccessor {
12
12
  protected readonly sub: import("rxjs").Subscription;
13
13
  readonly type = "dropdown";
14
14
  getClientRect(): DOMRect;
15
- protected closeDropdown(_event?: Event): void;
16
15
  protected onContextMenu(x: number, y: number): void;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownContext, never>;
18
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownContext, "[tuiDropdownContext]", never, {}, {}, never, never, true, never>;
@@ -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,29 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@taiga-ui/cdk/directives/obscured";
3
+ import * as i2 from "./dropdown-close.directive";
4
+ import * as i3 from "@taiga-ui/cdk/directives/active-zone";
5
+ export declare class TuiDropdownOpen {
6
+ private readonly dropdownHost;
7
+ private readonly directive;
8
+ private readonly el;
9
+ private readonly obscured;
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 keydownSub: import("rxjs").Subscription;
17
+ get host(): HTMLElement;
18
+ toggle(open: boolean): void;
19
+ protected onClick(target: HTMLElement): void;
20
+ protected onArrow(event: KeyboardEvent, up: boolean): void;
21
+ private get editable();
22
+ private get focused();
23
+ private onKeydown;
24
+ private update;
25
+ private drive;
26
+ private focusDropdown;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownOpen, never>;
28
+ 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.TuiDropdownClose; inputs: {}; outputs: { "tuiDropdownClose": "tuiDropdownClose"; }; }, { directive: typeof i3.TuiActiveZone; inputs: { "tuiActiveZoneParent": "tuiActiveZoneParent"; }; outputs: { "tuiActiveZoneChange": "tuiActiveZoneChange"; }; }]>;
29
+ }
@@ -12,11 +12,7 @@ export interface TuiDropdownOptions {
12
12
  readonly minHeight: number;
13
13
  readonly offset: number;
14
14
  }
15
- /** Default values for dropdown options */
16
15
  export declare const TUI_DROPDOWN_DEFAULT_OPTIONS: TuiDropdownOptions;
17
- /**
18
- * Default parameters for dropdown directive
19
- */
20
16
  export declare const TUI_DROPDOWN_OPTIONS: InjectionToken<TuiDropdownOptions>;
21
17
  export declare const tuiDropdownOptionsProvider: (options: Partial<TuiDropdownOptions>) => FactoryProvider;
22
18
  export declare class TuiDropdownOptionsDirective implements TuiDropdownOptions {
@@ -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 {};
@@ -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];