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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/classes/accessors.d.ts +1 -1
  2. package/components/calendar/calendar-sheet.component.d.ts +1 -1
  3. package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +2 -2
  4. package/components/calendar/calendar-spin.component.d.ts +1 -0
  5. package/components/calendar/calendar-year.component.d.ts +1 -1
  6. package/components/calendar/calendar.options.d.ts +9 -0
  7. package/components/calendar/index.d.ts +3 -0
  8. package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +1 -1
  9. package/components/data-list/data-list.component.d.ts +2 -4
  10. package/components/data-list/data-list.d.ts +3 -4
  11. package/components/data-list/data-list.tokens.d.ts +1 -23
  12. package/components/data-list/index.d.ts +3 -4
  13. package/components/data-list/option-content.directive.d.ts +14 -0
  14. package/components/data-list/option-with-value.directive.d.ts +9 -0
  15. package/components/data-list/option.directive.d.ts +19 -0
  16. package/components/icon/icon.component.d.ts +2 -2
  17. package/components/index.d.ts +2 -2
  18. package/components/input/index.d.ts +2 -0
  19. package/components/input/input.d.ts +5 -0
  20. package/components/{textfield/textfield.directive.d.ts → input/input.directive.d.ts} +7 -9
  21. package/components/label/label.directive.d.ts +1 -1
  22. package/components/link/index.d.ts +0 -1
  23. package/components/link/link.directive.d.ts +8 -6
  24. package/components/notification/notification.component.d.ts +1 -1
  25. package/components/notification/notification.directive.d.ts +2 -2
  26. package/components/notification/notification.options.d.ts +1 -1
  27. package/components/notification/notification.service.d.ts +1 -1
  28. package/components/root/root.component.d.ts +1 -1
  29. package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
  30. package/components/scrollbar/scrollbar.component.d.ts +1 -5
  31. package/components/spin-button/spin-button.component.d.ts +1 -1
  32. package/components/textfield/index.d.ts +0 -1
  33. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +2 -3
  34. package/components/textfield/textfield.component.d.ts +8 -9
  35. package/components/textfield/textfield.d.ts +2 -3
  36. package/directives/appearance/appearance.directive.d.ts +1 -1
  37. package/directives/appearance/appearance.options.d.ts +1 -2
  38. package/directives/group/group.directive.d.ts +7 -7
  39. package/directives/index.d.ts +0 -5
  40. package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
  41. package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
  42. package/fesm2022/taiga-ui-core-classes.mjs +7 -9
  43. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-core-components-button.mjs +7 -7
  45. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-core-components-calendar.mjs +137 -32
  47. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-core-components-cell.mjs +7 -7
  49. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-core-components-data-list.mjs +94 -230
  51. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-core-components-error.mjs +10 -10
  53. package/fesm2022/taiga-ui-core-components-expand.mjs +3 -3
  54. package/fesm2022/taiga-ui-core-components-icon.mjs +9 -9
  55. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-core-components-input.mjs +103 -0
  57. package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
  58. package/fesm2022/taiga-ui-core-components-label.mjs +11 -13
  59. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-core-components-link.mjs +13 -24
  61. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-core-components-loader.mjs +4 -4
  63. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-core-components-notification.mjs +24 -26
  65. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-core-components-root.mjs +7 -9
  67. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +43 -48
  69. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-core-components-spin-button.mjs +6 -6
  71. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-core-components-textfield.mjs +56 -140
  73. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  74. package/fesm2022/{taiga-ui-core-directives-title.mjs → taiga-ui-core-components-title.mjs} +8 -8
  75. package/fesm2022/{taiga-ui-core-directives-title.mjs.map → taiga-ui-core-components-title.mjs.map} +1 -1
  76. package/fesm2022/taiga-ui-core-components.mjs +2 -2
  77. package/fesm2022/taiga-ui-core-directives-appearance.mjs +10 -10
  78. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-core-directives-date-format.mjs +3 -3
  80. package/fesm2022/taiga-ui-core-directives-group.mjs +20 -28
  81. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core-directives-icons.mjs +10 -10
  83. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +15 -36
  85. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-core-directives-number-format.mjs +3 -3
  87. package/fesm2022/taiga-ui-core-directives.mjs +0 -5
  88. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +5 -8
  90. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-core-pipes.mjs +0 -7
  92. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  93. package/fesm2022/{taiga-ui-core-directives-alert.mjs → taiga-ui-core-portals-alert.mjs} +12 -12
  94. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
  95. package/fesm2022/taiga-ui-core-portals-dialog.mjs +158 -0
  96. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
  97. package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +159 -263
  98. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
  99. package/fesm2022/{taiga-ui-core-directives-hint.mjs → taiga-ui-core-portals-hint.mjs} +69 -126
  100. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
  101. package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
  102. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
  103. package/fesm2022/{taiga-ui-core-directives-popup.mjs → taiga-ui-core-portals-popup.mjs} +10 -10
  104. package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
  105. package/fesm2022/taiga-ui-core-portals.mjs +11 -0
  106. package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
  107. package/fesm2022/taiga-ui-core-services.mjs +15 -79
  108. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-core-tokens.mjs +33 -47
  110. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -23
  112. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +19 -19
  114. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-core.mjs +1 -1
  116. package/index.d.ts +1 -1
  117. package/package.json +65 -90
  118. package/pipes/format-number/format-number.pipe.d.ts +1 -1
  119. package/pipes/index.d.ts +0 -7
  120. package/{components → portals}/dialog/dialog.service.d.ts +1 -1
  121. package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
  122. package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
  123. package/portals/dropdown/dropdown-open.directive.d.ts +30 -0
  124. package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +0 -4
  125. package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
  126. package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +4 -4
  127. package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
  128. package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
  129. package/{directives → portals}/dropdown/dropdown.d.ts +1 -2
  130. package/{directives → portals}/dropdown/dropdown.directive.d.ts +5 -6
  131. package/{directives → portals}/dropdown/index.d.ts +0 -1
  132. package/portals/hint/hint-options.directive.d.ts +17 -0
  133. package/{directives → portals}/hint/hint-position.directive.d.ts +5 -5
  134. package/{directives → portals}/hint/hint.d.ts +1 -2
  135. package/{directives → portals}/hint/hint.directive.d.ts +2 -2
  136. package/portals/index.d.ts +6 -0
  137. package/services/index.d.ts +0 -3
  138. package/styles/components/appearance.less +5 -0
  139. package/styles/components/button.less +10 -20
  140. package/styles/components/icon.less +11 -0
  141. package/styles/components/icons.less +2 -1
  142. package/styles/components/label.less +3 -12
  143. package/styles/components/link.less +8 -24
  144. package/styles/components/notification.less +31 -65
  145. package/styles/components/textfield.less +129 -211
  146. package/styles/components/title.less +8 -8
  147. package/styles/mixins/appearance.less +9 -25
  148. package/styles/mixins/appearance.scss +8 -24
  149. package/styles/mixins/date-picker.less +1 -1
  150. package/styles/mixins/picker.less +1 -1
  151. package/styles/mixins/picker.scss +1 -1
  152. package/styles/mixins/slider.less +4 -10
  153. package/styles/mixins/slider.scss +23 -22
  154. package/styles/taiga-ui-local.less +0 -1
  155. package/styles/taiga-ui-local.scss +0 -1
  156. package/styles/taiga-ui-theme.less +0 -1
  157. package/styles/theme/appearance/outline.less +9 -18
  158. package/styles/theme/appearance/primary.less +2 -4
  159. package/styles/theme/appearance/secondary.less +6 -14
  160. package/styles/theme/appearance/status.less +0 -4
  161. package/styles/theme/appearance/table.less +36 -35
  162. package/styles/theme/appearance/textfield.less +30 -27
  163. package/styles/theme/appearance.less +0 -1
  164. package/styles/theme/variables.less +16 -17
  165. package/styles/variables/media.less +13 -18
  166. package/styles/variables/media.scss +13 -13
  167. package/tokens/breakpoint.d.ts +4 -0
  168. package/tokens/common-icons.d.ts +2 -0
  169. package/tokens/icons.d.ts +0 -4
  170. package/tokens/index.d.ts +1 -4
  171. package/types/index.d.ts +0 -2
  172. package/types/point.d.ts +1 -1
  173. package/types/size.d.ts +0 -11
  174. package/utils/format/index.d.ts +0 -1
  175. package/utils/miscellaneous/font-scaling.d.ts +2 -1
  176. package/utils/miscellaneous/get-duration.d.ts +2 -0
  177. package/utils/miscellaneous/index.d.ts +1 -1
  178. package/animations/animations.d.ts +0 -109
  179. package/animations/index.d.ts +0 -1
  180. package/components/data-list/data-list.directive.d.ts +0 -7
  181. package/components/data-list/option/option-content.d.ts +0 -16
  182. package/components/data-list/option/option-legacy.component.d.ts +0 -24
  183. package/components/data-list/option/option.directive.d.ts +0 -26
  184. package/components/link/link.options.d.ts +0 -10
  185. package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
  186. package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
  187. package/directives/hint/hint-options.directive.d.ts +0 -36
  188. package/fesm2022/taiga-ui-core-animations.mjs +0 -370
  189. package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
  190. package/fesm2022/taiga-ui-core-components-dialog.mjs +0 -158
  191. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
  192. package/fesm2022/taiga-ui-core-components-modal.mjs +0 -89
  193. package/fesm2022/taiga-ui-core-components-modal.mjs.map +0 -1
  194. package/fesm2022/taiga-ui-core-directives-alert.mjs.map +0 -1
  195. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
  196. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
  197. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
  198. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -24
  199. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
  200. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -93
  201. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
  202. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -31
  203. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
  204. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -27
  205. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
  206. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -28
  207. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
  208. package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
  209. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
  210. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -35
  211. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
  212. package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
  213. package/pipes/auto-color/index.d.ts +0 -1
  214. package/pipes/calendar-sheet/index.d.ts +0 -1
  215. package/pipes/calendar-sheet/utils.d.ts +0 -20
  216. package/pipes/flag/flag.pipe.d.ts +0 -14
  217. package/pipes/flag/index.d.ts +0 -1
  218. package/pipes/format-date/format-date.pipe.d.ts +0 -9
  219. package/pipes/format-date/index.d.ts +0 -1
  220. package/pipes/initials/index.d.ts +0 -1
  221. package/pipes/initials/initials.pipe.d.ts +0 -7
  222. package/pipes/month/index.d.ts +0 -1
  223. package/pipes/month/month.pipe.d.ts +0 -10
  224. package/pipes/order-week-days/index.d.ts +0 -1
  225. package/services/breakpoint.service.d.ts +0 -16
  226. package/services/dark-theme.service.d.ts +0 -10
  227. package/services/format-date.service.d.ts +0 -8
  228. package/styles/mixins/wrapper.less +0 -64
  229. package/styles/mixins/wrapper.scss +0 -61
  230. package/styles/theme/appearance/opposite.less +0 -17
  231. package/styles/theme/wrapper.less +0 -211
  232. package/tokens/day-type-handler.d.ts +0 -7
  233. package/tokens/first-day-of-week.d.ts +0 -5
  234. package/tokens/scroll-ref.d.ts +0 -2
  235. package/tokens/spin-icons.d.ts +0 -6
  236. package/types/range-state.d.ts +0 -4
  237. package/types/value-content-context.d.ts +0 -4
  238. package/utils/format/string-hash-to-hsl.d.ts +0 -6
  239. package/utils/miscellaneous/to-animation-options.d.ts +0 -4
  240. /package/{directives → components}/title/index.d.ts +0 -0
  241. /package/{directives → components}/title/title.directive.d.ts +0 -0
  242. /package/{directives → portals}/alert/alert.directive.d.ts +0 -0
  243. /package/{directives → portals}/alert/alert.service.d.ts +0 -0
  244. /package/{directives → portals}/alert/index.d.ts +0 -0
  245. /package/{components → portals}/dialog/dialog.component.d.ts +0 -0
  246. /package/{components → portals}/dialog/dialog.directive.d.ts +0 -0
  247. /package/{components → portals}/dialog/dialog.factory.d.ts +0 -0
  248. /package/{components → portals}/dialog/dialog.options.d.ts +0 -0
  249. /package/{components → portals}/dialog/dialog.providers.d.ts +0 -0
  250. /package/{components → portals}/dialog/index.d.ts +0 -0
  251. /package/{directives → portals}/dropdown/dropdown-content.directive.d.ts +0 -0
  252. /package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -0
  253. /package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +0 -0
  254. /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
  255. /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
  256. /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
  257. /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
  258. /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
  259. /package/{directives → portals}/hint/hint-describe.directive.d.ts +0 -0
  260. /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
  261. /package/{directives → portals}/hint/hint-host.directive.d.ts +0 -0
  262. /package/{directives → portals}/hint/hint-hover.directive.d.ts +0 -0
  263. /package/{directives → portals}/hint/hint-manual.directive.d.ts +0 -0
  264. /package/{directives → portals}/hint/hint-overflow.directive.d.ts +0 -0
  265. /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
  266. /package/{directives → portals}/hint/hint-unstyled.component.d.ts +0 -0
  267. /package/{directives → portals}/hint/hint.component.d.ts +0 -0
  268. /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
  269. /package/{directives → portals}/hint/index.d.ts +0 -0
  270. /package/{components → portals}/modal/index.d.ts +0 -0
  271. /package/{components → portals}/modal/modal.component.d.ts +0 -0
  272. /package/{components → portals}/modal/modal.service.d.ts +0 -0
  273. /package/{directives → portals}/popup/index.d.ts +0 -0
  274. /package/{directives → portals}/popup/popup.directive.d.ts +0 -0
  275. /package/{directives → portals}/popup/popup.service.d.ts +0 -0
  276. /package/{directives → portals}/popup/popups.component.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/core",
3
- "version": "4.52.0-canary.6ee9658",
3
+ "version": "4.52.0-canary.7c53ccc",
4
4
  "description": "Core library for creating Angular components and applications using Taiga UI",
5
5
  "keywords": [
6
6
  "angular",
@@ -26,26 +26,26 @@
26
26
  "types": "./index.d.ts",
27
27
  "default": "./fesm2022/taiga-ui-core.mjs"
28
28
  },
29
- "./animations": {
30
- "types": "./animations/index.d.ts",
31
- "default": "./fesm2022/taiga-ui-core-animations.mjs"
32
- },
33
29
  "./classes": {
34
30
  "types": "./classes/index.d.ts",
35
31
  "default": "./fesm2022/taiga-ui-core-classes.mjs"
36
32
  },
37
- "./components": {
38
- "types": "./components/index.d.ts",
39
- "default": "./fesm2022/taiga-ui-core-components.mjs"
40
- },
41
33
  "./directives": {
42
34
  "types": "./directives/index.d.ts",
43
35
  "default": "./fesm2022/taiga-ui-core-directives.mjs"
44
36
  },
37
+ "./components": {
38
+ "types": "./components/index.d.ts",
39
+ "default": "./fesm2022/taiga-ui-core-components.mjs"
40
+ },
45
41
  "./pipes": {
46
42
  "types": "./pipes/index.d.ts",
47
43
  "default": "./fesm2022/taiga-ui-core-pipes.mjs"
48
44
  },
45
+ "./portals": {
46
+ "types": "./portals/index.d.ts",
47
+ "default": "./fesm2022/taiga-ui-core-portals.mjs"
48
+ },
49
49
  "./services": {
50
50
  "types": "./services/index.d.ts",
51
51
  "default": "./fesm2022/taiga-ui-core-services.mjs"
@@ -62,6 +62,30 @@
62
62
  "types": "./utils/index.d.ts",
63
63
  "default": "./fesm2022/taiga-ui-core-utils.mjs"
64
64
  },
65
+ "./directives/appearance": {
66
+ "types": "./directives/appearance/index.d.ts",
67
+ "default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
68
+ },
69
+ "./directives/date-format": {
70
+ "types": "./directives/date-format/index.d.ts",
71
+ "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
72
+ },
73
+ "./directives/group": {
74
+ "types": "./directives/group/index.d.ts",
75
+ "default": "./fesm2022/taiga-ui-core-directives-group.mjs"
76
+ },
77
+ "./directives/icons": {
78
+ "types": "./directives/icons/index.d.ts",
79
+ "default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
80
+ },
81
+ "./directives/items-handlers": {
82
+ "types": "./directives/items-handlers/index.d.ts",
83
+ "default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
84
+ },
85
+ "./directives/number-format": {
86
+ "types": "./directives/number-format/index.d.ts",
87
+ "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
88
+ },
65
89
  "./components/button": {
66
90
  "types": "./components/button/index.d.ts",
67
91
  "default": "./fesm2022/taiga-ui-core-components-button.mjs"
@@ -78,10 +102,6 @@
78
102
  "types": "./components/data-list/index.d.ts",
79
103
  "default": "./fesm2022/taiga-ui-core-components-data-list.mjs"
80
104
  },
81
- "./components/dialog": {
82
- "types": "./components/dialog/index.d.ts",
83
- "default": "./fesm2022/taiga-ui-core-components-dialog.mjs"
84
- },
85
105
  "./components/error": {
86
106
  "types": "./components/error/index.d.ts",
87
107
  "default": "./fesm2022/taiga-ui-core-components-error.mjs"
@@ -94,6 +114,10 @@
94
114
  "types": "./components/icon/index.d.ts",
95
115
  "default": "./fesm2022/taiga-ui-core-components-icon.mjs"
96
116
  },
117
+ "./components/input": {
118
+ "types": "./components/input/index.d.ts",
119
+ "default": "./fesm2022/taiga-ui-core-components-input.mjs"
120
+ },
97
121
  "./components/label": {
98
122
  "types": "./components/label/index.d.ts",
99
123
  "default": "./fesm2022/taiga-ui-core-components-label.mjs"
@@ -106,22 +130,18 @@
106
130
  "types": "./components/loader/index.d.ts",
107
131
  "default": "./fesm2022/taiga-ui-core-components-loader.mjs"
108
132
  },
109
- "./components/modal": {
110
- "types": "./components/modal/index.d.ts",
111
- "default": "./fesm2022/taiga-ui-core-components-modal.mjs"
112
- },
113
133
  "./components/notification": {
114
134
  "types": "./components/notification/index.d.ts",
115
135
  "default": "./fesm2022/taiga-ui-core-components-notification.mjs"
116
136
  },
117
- "./components/scrollbar": {
118
- "types": "./components/scrollbar/index.d.ts",
119
- "default": "./fesm2022/taiga-ui-core-components-scrollbar.mjs"
120
- },
121
137
  "./components/root": {
122
138
  "types": "./components/root/index.d.ts",
123
139
  "default": "./fesm2022/taiga-ui-core-components-root.mjs"
124
140
  },
141
+ "./components/scrollbar": {
142
+ "types": "./components/scrollbar/index.d.ts",
143
+ "default": "./fesm2022/taiga-ui-core-components-scrollbar.mjs"
144
+ },
125
145
  "./components/spin-button": {
126
146
  "types": "./components/spin-button/index.d.ts",
127
147
  "default": "./fesm2022/taiga-ui-core-components-spin-button.mjs"
@@ -130,81 +150,37 @@
130
150
  "types": "./components/textfield/index.d.ts",
131
151
  "default": "./fesm2022/taiga-ui-core-components-textfield.mjs"
132
152
  },
133
- "./directives/alert": {
134
- "types": "./directives/alert/index.d.ts",
135
- "default": "./fesm2022/taiga-ui-core-directives-alert.mjs"
136
- },
137
- "./directives/appearance": {
138
- "types": "./directives/appearance/index.d.ts",
139
- "default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
140
- },
141
- "./directives/date-format": {
142
- "types": "./directives/date-format/index.d.ts",
143
- "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
144
- },
145
- "./directives/dropdown": {
146
- "types": "./directives/dropdown/index.d.ts",
147
- "default": "./fesm2022/taiga-ui-core-directives-dropdown.mjs"
148
- },
149
- "./directives/group": {
150
- "types": "./directives/group/index.d.ts",
151
- "default": "./fesm2022/taiga-ui-core-directives-group.mjs"
152
- },
153
- "./directives/hint": {
154
- "types": "./directives/hint/index.d.ts",
155
- "default": "./fesm2022/taiga-ui-core-directives-hint.mjs"
156
- },
157
- "./directives/icons": {
158
- "types": "./directives/icons/index.d.ts",
159
- "default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
160
- },
161
- "./directives/items-handlers": {
162
- "types": "./directives/items-handlers/index.d.ts",
163
- "default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
164
- },
165
- "./directives/number-format": {
166
- "types": "./directives/number-format/index.d.ts",
167
- "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
168
- },
169
- "./directives/popup": {
170
- "types": "./directives/popup/index.d.ts",
171
- "default": "./fesm2022/taiga-ui-core-directives-popup.mjs"
172
- },
173
- "./directives/title": {
174
- "types": "./directives/title/index.d.ts",
175
- "default": "./fesm2022/taiga-ui-core-directives-title.mjs"
176
- },
177
- "./pipes/auto-color": {
178
- "types": "./pipes/auto-color/index.d.ts",
179
- "default": "./fesm2022/taiga-ui-core-pipes-auto-color.mjs"
180
- },
181
- "./pipes/calendar-sheet": {
182
- "types": "./pipes/calendar-sheet/index.d.ts",
183
- "default": "./fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs"
184
- },
185
- "./pipes/flag": {
186
- "types": "./pipes/flag/index.d.ts",
187
- "default": "./fesm2022/taiga-ui-core-pipes-flag.mjs"
188
- },
189
- "./pipes/format-date": {
190
- "types": "./pipes/format-date/index.d.ts",
191
- "default": "./fesm2022/taiga-ui-core-pipes-format-date.mjs"
153
+ "./components/title": {
154
+ "types": "./components/title/index.d.ts",
155
+ "default": "./fesm2022/taiga-ui-core-components-title.mjs"
192
156
  },
193
157
  "./pipes/format-number": {
194
158
  "types": "./pipes/format-number/index.d.ts",
195
159
  "default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
196
160
  },
197
- "./pipes/initials": {
198
- "types": "./pipes/initials/index.d.ts",
199
- "default": "./fesm2022/taiga-ui-core-pipes-initials.mjs"
161
+ "./portals/alert": {
162
+ "types": "./portals/alert/index.d.ts",
163
+ "default": "./fesm2022/taiga-ui-core-portals-alert.mjs"
164
+ },
165
+ "./portals/dialog": {
166
+ "types": "./portals/dialog/index.d.ts",
167
+ "default": "./fesm2022/taiga-ui-core-portals-dialog.mjs"
168
+ },
169
+ "./portals/dropdown": {
170
+ "types": "./portals/dropdown/index.d.ts",
171
+ "default": "./fesm2022/taiga-ui-core-portals-dropdown.mjs"
172
+ },
173
+ "./portals/hint": {
174
+ "types": "./portals/hint/index.d.ts",
175
+ "default": "./fesm2022/taiga-ui-core-portals-hint.mjs"
200
176
  },
201
- "./pipes/month": {
202
- "types": "./pipes/month/index.d.ts",
203
- "default": "./fesm2022/taiga-ui-core-pipes-month.mjs"
177
+ "./portals/modal": {
178
+ "types": "./portals/modal/index.d.ts",
179
+ "default": "./fesm2022/taiga-ui-core-portals-modal.mjs"
204
180
  },
205
- "./pipes/order-week-days": {
206
- "types": "./pipes/order-week-days/index.d.ts",
207
- "default": "./fesm2022/taiga-ui-core-pipes-order-week-days.mjs"
181
+ "./portals/popup": {
182
+ "types": "./portals/popup/index.d.ts",
183
+ "default": "./fesm2022/taiga-ui-core-portals-popup.mjs"
208
184
  },
209
185
  "./utils/dom": {
210
186
  "types": "./utils/dom/index.d.ts",
@@ -220,7 +196,6 @@
220
196
  }
221
197
  },
222
198
  "peerDependencies": {
223
- "@angular/animations": ">=19.0.0",
224
199
  "@angular/common": ">=19.0.0",
225
200
  "@angular/core": ">=19.0.0",
226
201
  "@angular/forms": ">=19.0.0",
@@ -7,7 +7,7 @@ export declare class TuiFormatNumberPipe implements PipeTransform {
7
7
  private readonly settings;
8
8
  private readonly formatted;
9
9
  /**
10
- * Formats number adding thousand separators and correct decimal separator
10
+ * Formats number adding a thousand separators and correct decimal separator
11
11
  * padding decimal part with zeroes to given length
12
12
  * @param value number
13
13
  * @param settings See {@link TuiNumberFormatSettings}
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';
@@ -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";
@@ -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
  }
@@ -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
+ }
@@ -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
13
  readonly accessor: TuiRectAccessor;
14
- emitDirection(direction: TuiVerticalDirection): void;
14
+ readonly tuiDropdownDirectionChange: import("@angular/core").OutputRef<TuiVerticalDirection>;
15
15
  getPosition({ width, height }: DOMRect): TuiPoint;
16
16
  getAlign(align: TuiDropdownAlign): TuiDropdownAlign;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownPosition, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPosition, never, never, {}, { "directionChange": "tuiDropdownDirectionChange"; }, never, never, true, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPosition, never, never, {}, { "tuiDropdownDirectionChange": "tuiDropdownDirectionChange"; }, never, never, true, never>;
19
19
  }
@@ -1,7 +1,6 @@
1
1
  import { type OnDestroy, ViewContainerRef } from '@angular/core';
2
2
  import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
3
3
  import { TuiDriver, type TuiRectAccessor } from '@taiga-ui/core/classes';
4
- import { BehaviorSubject } from 'rxjs';
5
4
  import { TuiDropdownDirective } from './dropdown.directive';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class TuiDropdownSelection extends TuiDriver implements TuiRectAccessor, OnDestroy {
@@ -10,13 +9,13 @@ export declare class TuiDropdownSelection extends TuiDriver implements TuiRectAc
10
9
  protected readonly vcr: ViewContainerRef;
11
10
  protected readonly dropdown: TuiDropdownDirective;
12
11
  protected readonly el: HTMLElement;
13
- protected readonly handler$: BehaviorSubject<TuiBooleanHandler<Range>>;
12
+ protected readonly handler: import("@angular/core").Signal<TuiBooleanHandler<Range>>;
14
13
  protected readonly stream$: import("rxjs").Observable<boolean>;
15
14
  protected range: Range;
16
- position: 'selection' | 'tag' | 'word';
17
15
  readonly type = "dropdown";
16
+ readonly tuiDropdownSelection: import("@angular/core").InputSignal<string | TuiBooleanHandler<Range>>;
17
+ readonly tuiDropdownSelectionPosition: import("@angular/core").InputSignal<"selection" | "tag" | "word">;
18
18
  constructor();
19
- set tuiDropdownSelection(visible: TuiBooleanHandler<Range> | string);
20
19
  getClientRect(): DOMRect;
21
20
  ngOnDestroy(): void;
22
21
  private get ghostHost();
@@ -39,5 +38,5 @@ export declare class TuiDropdownSelection extends TuiDriver implements TuiRectAc
39
38
  */
40
39
  private initGhost;
41
40
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownSelection, never>;
42
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownSelection, "[tuiDropdownSelection]", never, { "position": { "alias": "tuiDropdownSelectionPosition"; "required": false; }; "tuiDropdownSelection": { "alias": "tuiDropdownSelection"; "required": false; }; }, {}, never, never, true, never>;
41
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownSelection, "[tuiDropdownSelection]", never, { "tuiDropdownSelection": { "alias": "tuiDropdownSelection"; "required": false; "isSignal": true; }; "tuiDropdownSelectionPosition": { "alias": "tuiDropdownSelectionPosition"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
43
42
  }
@@ -5,5 +5,4 @@ export declare function tuiDropdown(value: C | WritableSignal<C>): WritableSigna
5
5
  export declare function tuiDropdown(value: Signal<C>): Signal<C>;
6
6
  export declare function tuiDropdownEnabled(value: WritableSignal<boolean> | boolean): WritableSignal<boolean>;
7
7
  export declare function tuiDropdownEnabled(value: Signal<boolean>): Signal<boolean>;
8
- export declare function tuiDropdownOpen(): WritableSignal<boolean>;
9
8
  export {};
@@ -6,9 +6,8 @@ import { TuiDropdownContext } from './dropdown-context.directive';
6
6
  import { TuiDropdownHover } from './dropdown-hover.directive';
7
7
  import { TuiDropdownManual } from './dropdown-manual.directive';
8
8
  import { TuiDropdownOpen } from './dropdown-open.directive';
9
- import { TuiDropdownOpenLegacy } from './dropdown-open-legacy.directive';
10
9
  import { TuiDropdownOptionsDirective } from './dropdown-options.directive';
11
10
  import { TuiDropdownPosition } from './dropdown-position.directive';
12
11
  import { TuiDropdownPositionSided } from './dropdown-position-sided.directive';
13
12
  import { TuiDropdownSelection } from './dropdown-selection.directive';
14
- export declare const TuiDropdown: readonly [typeof TuiDropdownOptionsDirective, typeof TuiDropdownDriverDirective, typeof TuiDropdownDirective, typeof TuiDropdownComponent, typeof TuiDropdownOpen, typeof TuiDropdownOpenLegacy, typeof TuiDropdownManual, typeof TuiDropdownHover, typeof TuiDropdownContent, typeof TuiDropdownContext, typeof TuiDropdownPosition, typeof TuiDropdownPositionSided, typeof TuiDropdownSelection];
13
+ export declare const TuiDropdown: readonly [typeof TuiDropdownOptionsDirective, typeof TuiDropdownDriverDirective, typeof TuiDropdownDirective, typeof TuiDropdownComponent, typeof TuiDropdownOpen, typeof TuiDropdownManual, typeof TuiDropdownHover, typeof TuiDropdownContent, typeof TuiDropdownContext, typeof TuiDropdownPosition, typeof TuiDropdownPositionSided, typeof TuiDropdownSelection];
@@ -11,19 +11,18 @@ export declare class TuiDropdownDirective implements AfterViewChecked, OnDestroy
11
11
  private readonly cdr;
12
12
  private readonly drivers;
13
13
  protected readonly sub: import("rxjs").Subscription;
14
+ protected readonly autoClose: import("@angular/core").EffectRef;
15
+ readonly ref: import("@angular/core").WritableSignal<ComponentRef<unknown> | null>;
14
16
  readonly el: HTMLElement;
15
17
  readonly type = "dropdown";
16
18
  readonly component: PolymorpheusComponent<any>;
17
- ref: import("@angular/core").WritableSignal<ComponentRef<unknown> | null>;
18
- readonly _content: import("@angular/core").WritableSignal<PolymorpheusContent<TuiContext<() => void>>>;
19
- set tuiDropdown(content: PolymorpheusContent<TuiContext<() => void>>);
19
+ readonly tuiDropdown: import("@angular/core").InputSignal<PolymorpheusContent<TuiContext<() => void>>>;
20
+ readonly content: import("@angular/core").Signal<PolymorpheusContent<TuiContext<() => void>>>;
20
21
  get position(): 'absolute' | 'fixed';
21
- get content(): PolymorpheusContent<TuiContext<() => void>>;
22
- set content(x: PolymorpheusContent<TuiContext<() => void>>);
23
22
  ngAfterViewChecked(): void;
24
23
  ngOnDestroy(): void;
25
24
  getClientRect(): DOMRect;
26
25
  toggle(show: boolean): void;
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownDirective, never>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownDirective, "[tuiDropdown]:not(ng-container):not(ng-template)", ["tuiDropdown"], { "tuiDropdown": { "alias": "tuiDropdown"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiDropdownDriverDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiDropdownPosition; inputs: {}; outputs: { "tuiDropdownDirectionChange": "tuiDropdownDirectionChange"; }; }]>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownDirective, "[tuiDropdown]:not(ng-container):not(ng-template)", ["tuiDropdown"], { "tuiDropdown": { "alias": "tuiDropdown"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiDropdownDriverDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiDropdownPosition; inputs: {}; outputs: { "tuiDropdownDirectionChange": "tuiDropdownDirectionChange"; }; }]>;
29
28
  }
@@ -11,7 +11,6 @@ export * from './dropdown-hover.options';
11
11
  export * from './dropdown-limit-width';
12
12
  export * from './dropdown-manual.directive';
13
13
  export * from './dropdown-open.directive';
14
- export * from './dropdown-open-legacy.directive';
15
14
  export * from './dropdown-options.directive';
16
15
  export * from './dropdown-position.directive';
17
16
  export * from './dropdown-position-sided.directive';
@@ -0,0 +1,17 @@
1
+ import { type FactoryProvider, InjectionToken } from '@angular/core';
2
+ import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
3
+ export type TuiHintDirection = 'bottom-left' | 'bottom-right' | 'bottom' | 'left-bottom' | 'left-top' | 'left' | 'right-bottom' | 'right-top' | 'right' | 'top-left' | 'top-right' | 'top';
4
+ export declare const TUI_HINT_DIRECTIONS: readonly TuiHintDirection[];
5
+ export interface TuiHintOptions extends TuiAppearanceOptions {
6
+ readonly direction: TuiHintDirection | TuiHintDirection[];
7
+ readonly hideDelay: number;
8
+ readonly icon: string;
9
+ readonly showDelay: number;
10
+ }
11
+ /** Default values for hint options */
12
+ export declare const TUI_HINT_DEFAULT_OPTIONS: TuiHintOptions;
13
+ /**
14
+ * Default parameters for hint directive
15
+ */
16
+ export declare const TUI_HINT_OPTIONS: InjectionToken<TuiHintOptions>;
17
+ export declare const tuiHintOptionsProvider: (options: Partial<TuiHintOptions>) => FactoryProvider;
@@ -4,17 +4,17 @@ import { type TuiHintDirection } from './hint-options.directive';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TuiHintPosition extends TuiPositionAccessor {
6
6
  private readonly el;
7
- private readonly offset;
8
7
  private readonly viewport;
8
+ private readonly directionChange;
9
9
  private readonly accessor;
10
10
  private readonly points;
11
11
  readonly direction: import("@angular/core").InputSignal<TuiHintDirection | TuiHintDirection[]>;
12
- readonly directionChange: import("@angular/core").OutputEmitterRef<TuiHintDirection>;
12
+ readonly offset: import("@angular/core").InputSignal<number>;
13
+ readonly tuiHintDirectionChange: import("@angular/core").OutputRef<TuiHintDirection>;
13
14
  readonly type = "hint";
14
- emitDirection(direction: TuiHintDirection): void;
15
- getPosition(rect: DOMRect, el?: HTMLElement): TuiPoint;
15
+ getPosition({ width, height }: DOMRect): TuiPoint;
16
16
  private get fallback();
17
17
  private checkPosition;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintPosition, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintPosition, never, never, { "direction": { "alias": "tuiHintDirection"; "required": false; "isSignal": true; }; }, { "directionChange": "tuiHintDirectionChange"; }, never, never, true, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintPosition, never, never, { "direction": { "alias": "tuiHintDirection"; "required": false; "isSignal": true; }; "offset": { "alias": "tuiHintOffset"; "required": false; "isSignal": true; }; }, { "tuiHintDirectionChange": "tuiHintDirectionChange"; }, never, never, true, never>;
20
20
  }
@@ -5,9 +5,8 @@ import { TuiHintDriver } from './hint-driver.directive';
5
5
  import { TuiHintHost } from './hint-host.directive';
6
6
  import { TuiHintHover } from './hint-hover.directive';
7
7
  import { TuiHintManual } from './hint-manual.directive';
8
- import { TuiHintOptionsDirective } from './hint-options.directive';
9
8
  import { TuiHintOverflow } from './hint-overflow.directive';
10
9
  import { TuiHintPointer } from './hint-pointer.directive';
11
10
  import { TuiHintPosition } from './hint-position.directive';
12
11
  import { TuiHintUnstyled } from './hint-unstyled.component';
13
- export declare const TuiHint: readonly [typeof TuiHintComponent, typeof TuiHintDirective, typeof TuiHintOptionsDirective, typeof TuiHintUnstyled, typeof TuiHintDriver, typeof TuiHintPosition, typeof TuiHintHover, typeof TuiHintOverflow, typeof TuiHintDescribe, typeof TuiHintHost, typeof TuiHintManual, typeof TuiHintPointer];
12
+ export declare const TuiHint: readonly [typeof TuiHintComponent, typeof TuiHintDirective, typeof TuiHintUnstyled, typeof TuiHintDriver, typeof TuiHintPosition, typeof TuiHintHover, typeof TuiHintOverflow, typeof TuiHintDescribe, typeof TuiHintHost, typeof TuiHintManual, typeof TuiHintPointer];
@@ -10,7 +10,7 @@ export declare class TuiHintDirective<C> implements OnDestroy, OnChanges, TuiRec
10
10
  private ref?;
11
11
  readonly content: import("@angular/core").InputSignal<PolymorpheusContent<C>>;
12
12
  readonly context: import("@angular/core").InputSignal<C | undefined>;
13
- readonly appearance: import("@angular/core").InputSignal<"" | ("accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "info" | "negative" | "neutral" | "outline-destructive" | "outline-grayscale" | "outline" | "positive" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | "warning" | (Record<never, never> & string))>;
13
+ readonly appearance: import("@angular/core").InputSignal<string>;
14
14
  readonly visible: import("@angular/core").OutputEmitterRef<boolean>;
15
15
  component: PolymorpheusComponent<any>;
16
16
  readonly el: HTMLElement;
@@ -20,5 +20,5 @@ export declare class TuiHintDirective<C> implements OnDestroy, OnChanges, TuiRec
20
20
  getClientRect(): DOMRect;
21
21
  toggle(show: boolean): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintDirective<any>, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDirective<any>, "[tuiHint]:not(ng-container):not(ng-template)", never, { "content": { "alias": "tuiHint"; "required": false; "isSignal": true; }; "context": { "alias": "tuiHintContext"; "required": false; "isSignal": true; }; "appearance": { "alias": "tuiHintAppearance"; "required": false; "isSignal": true; }; }, { "visible": "tuiHintVisible"; }, never, never, true, [{ directive: typeof i1.TuiHintDriver; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiHintHover; inputs: { "tuiHintHideDelay": "tuiHintHideDelay"; "tuiHintShowDelay": "tuiHintShowDelay"; }; outputs: {}; }, { directive: typeof i3.TuiHintPosition; inputs: { "tuiHintDirection": "tuiHintDirection"; }; outputs: { "tuiHintDirectionChange": "tuiHintDirectionChange"; }; }]>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDirective<any>, "[tuiHint]:not(ng-container):not(ng-template)", never, { "content": { "alias": "tuiHint"; "required": false; "isSignal": true; }; "context": { "alias": "tuiHintContext"; "required": false; "isSignal": true; }; "appearance": { "alias": "tuiHintAppearance"; "required": false; "isSignal": true; }; }, { "visible": "tuiHintVisible"; }, never, never, true, [{ directive: typeof i1.TuiHintDriver; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiHintHover; inputs: { "tuiHintHideDelay": "tuiHintHideDelay"; "tuiHintShowDelay": "tuiHintShowDelay"; }; outputs: {}; }, { directive: typeof i3.TuiHintPosition; inputs: { "tuiHintDirection": "tuiHintDirection"; "tuiHintOffset": "tuiHintOffset"; }; outputs: { "tuiHintDirectionChange": "tuiHintDirectionChange"; }; }]>;
24
24
  }
@@ -0,0 +1,6 @@
1
+ export * from '@taiga-ui/core/portals/alert';
2
+ export * from '@taiga-ui/core/portals/dialog';
3
+ export * from '@taiga-ui/core/portals/dropdown';
4
+ export * from '@taiga-ui/core/portals/hint';
5
+ export * from '@taiga-ui/core/portals/modal';
6
+ export * from '@taiga-ui/core/portals/popup';
@@ -1,5 +1,2 @@
1
- export * from './breakpoint.service';
2
- export * from './dark-theme.service';
3
- export * from './format-date.service';
4
1
  export * from './position.service';
5
2
  export * from './visual-viewport.service';
@@ -41,5 +41,10 @@
41
41
  .appearance-disabled({
42
42
  cursor: initial;
43
43
  opacity: var(--tui-disabled-opacity);
44
+
45
+ &::before,
46
+ &::after {
47
+ cursor: initial;
48
+ }
44
49
  });
45
50
  }