@taiga-ui/core 4.51.0 → 4.52.0-canary.05c3268

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 (457) hide show
  1. package/classes/driver.d.ts +1 -1
  2. package/components/alert/alert.interfaces.d.ts +1 -1
  3. package/components/button/button.directive.d.ts +2 -3
  4. package/components/button/button.options.d.ts +1 -1
  5. package/components/calendar/calendar-sheet.component.d.ts +1 -6
  6. package/components/cell/cell.directive.d.ts +9 -0
  7. package/components/cell/cell.options.d.ts +6 -0
  8. package/components/cell/index.d.ts +2 -0
  9. package/components/dialog/active-zone-adapter.directive.d.ts +11 -0
  10. package/components/dialog/dialog.component.d.ts +6 -11
  11. package/components/dialog/dialog.directive.d.ts +1 -1
  12. package/components/dialog/dialog.factory.d.ts +1 -1
  13. package/components/dialog/dialog.options.d.ts +26 -0
  14. package/components/dialog/{dialog-close.service.d.ts → dialog.providers.d.ts} +4 -1
  15. package/components/dialog/dialog.service.d.ts +1 -1
  16. package/components/dialog/index.d.ts +2 -3
  17. package/components/error/error.component.d.ts +5 -7
  18. package/components/error/error.d.ts +4 -0
  19. package/components/error/error.directive.d.ts +19 -0
  20. package/components/error/error.pipe.d.ts +10 -0
  21. package/components/error/index.d.ts +3 -0
  22. package/components/expand/expand.component.d.ts +9 -28
  23. package/components/expand/index.d.ts +0 -2
  24. package/components/header/header.directive.d.ts +17 -0
  25. package/components/header/index.d.ts +1 -0
  26. package/components/icon/icon.component.d.ts +6 -8
  27. package/components/index.d.ts +2 -1
  28. package/components/notification/notification.options.d.ts +1 -1
  29. package/components/root/root.component.d.ts +3 -5
  30. package/components/scrollbar/scrollbar.options.d.ts +1 -1
  31. package/components/textfield/index.d.ts +1 -3
  32. package/components/textfield/textfield-content.directive.d.ts +3 -2
  33. package/components/textfield/textfield-icon.d.ts +3 -3
  34. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +6 -8
  35. package/components/textfield/textfield.component.d.ts +10 -9
  36. package/components/textfield/textfield.d.ts +2 -3
  37. package/components/textfield/textfield.directive.d.ts +1 -1
  38. package/directives/appearance/appearance.directive.d.ts +5 -13
  39. package/directives/dropdown/dropdown-content.directive.d.ts +9 -0
  40. package/directives/dropdown/dropdown-context.directive.d.ts +2 -0
  41. package/directives/dropdown/dropdown.d.ts +2 -2
  42. package/directives/dropdown/index.d.ts +1 -1
  43. package/directives/hint/hint-options.directive.d.ts +3 -3
  44. package/directives/hint/hint.component.d.ts +6 -8
  45. package/directives/hint/hint.directive.d.ts +1 -1
  46. package/directives/icons/icons.bindings.d.ts +5 -0
  47. package/directives/icons/icons.directive.d.ts +8 -14
  48. package/directives/icons/index.d.ts +1 -0
  49. package/directives/index.d.ts +0 -1
  50. package/directives/title/title.directive.d.ts +2 -3
  51. package/fesm2022/taiga-ui-core-animations.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-core-classes.mjs +3 -3
  53. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-core-components-alert.mjs +18 -19
  55. package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-core-components-button.mjs +13 -21
  57. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-core-components-calendar.mjs +22 -24
  59. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  61. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  62. package/fesm2022/taiga-ui-core-components-data-list.mjs +31 -33
  63. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-core-components-dialog.mjs +103 -84
  65. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-core-components-error.mjs +107 -24
  67. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-components-expand.mjs +34 -132
  69. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-core-components-header.mjs +42 -0
  71. package/fesm2022/taiga-ui-core-components-header.mjs.map +1 -0
  72. package/fesm2022/taiga-ui-core-components-icon.mjs +22 -30
  73. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-core-components-label.mjs +10 -13
  75. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-core-components-link.mjs +10 -13
  77. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-core-components-loader.mjs +6 -7
  79. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-core-components-notification.mjs +17 -31
  81. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core-components-root.mjs +20 -41
  83. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +28 -28
  85. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-core-components-spin-button.mjs +7 -7
  87. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-core-components-textfield.mjs +169 -255
  89. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-core-components.mjs +2 -1
  91. package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-core-directives-appearance.mjs +26 -63
  93. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-core-directives-date-format.mjs +5 -5
  95. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +99 -104
  97. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-core-directives-group.mjs +10 -13
  99. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-core-directives-hint.mjs +78 -89
  101. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-core-directives-icons.mjs +41 -41
  103. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +11 -11
  105. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-core-directives-number-format.mjs +5 -5
  107. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-core-directives-popup.mjs +10 -10
  109. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-core-directives-title.mjs +13 -19
  111. package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-core-directives.mjs +0 -1
  113. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +3 -3
  115. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +3 -3
  117. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-core-pipes-flag.mjs +3 -3
  119. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +3 -3
  121. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
  123. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-core-pipes-initials.mjs +3 -3
  125. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-core-pipes-month.mjs +3 -3
  127. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +3 -3
  129. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-core-pipes.mjs +0 -1
  131. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-core-services.mjs +18 -18
  133. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-core-tokens.mjs +31 -17
  135. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +49 -3
  139. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  140. package/package.json +19 -123
  141. package/pipes/index.d.ts +0 -1
  142. package/styles/components/appearance.less +6 -0
  143. package/styles/components/button.less +0 -2
  144. package/styles/components/icon.less +37 -12
  145. package/styles/components/icons.less +45 -7
  146. package/styles/components/link.less +1 -3
  147. package/styles/mixins/mixins.less +1 -2
  148. package/styles/mixins/mixins.scss +1 -2
  149. package/styles/mixins/slider.less +21 -16
  150. package/styles/theme/appearance/outline.less +1 -2
  151. package/styles/theme/appearance/textfield.less +1 -2
  152. package/tokens/icon-resolver.d.ts +1 -4
  153. package/tokens/index.d.ts +1 -0
  154. package/tokens/validation-errors.d.ts +4 -0
  155. package/utils/miscellaneous/index.d.ts +1 -0
  156. package/utils/miscellaneous/provide-taiga.d.ts +13 -0
  157. package/components/dialog/dialog.interfaces.d.ts +0 -34
  158. package/components/dialog/dialog.tokens.d.ts +0 -15
  159. package/components/expand/expand-content.directive.d.ts +0 -8
  160. package/components/expand/expand.d.ts +0 -6
  161. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  162. package/components/fullscreen/index.d.ts +0 -1
  163. package/components/textfield/select.directive.d.ts +0 -19
  164. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  165. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  166. package/directives/surface/index.d.ts +0 -1
  167. package/directives/surface/surface.directive.d.ts +0 -8
  168. package/esm2022/animations/animations.mjs +0 -363
  169. package/esm2022/animations/index.mjs +0 -2
  170. package/esm2022/animations/taiga-ui-core-animations.mjs +0 -5
  171. package/esm2022/classes/accessors.mjs +0 -31
  172. package/esm2022/classes/driver.mjs +0 -36
  173. package/esm2022/classes/index.mjs +0 -4
  174. package/esm2022/classes/taiga-ui-core-classes.mjs +0 -5
  175. package/esm2022/classes/vehicle.mjs +0 -7
  176. package/esm2022/components/alert/alert.component.mjs +0 -43
  177. package/esm2022/components/alert/alert.directive.mjs +0 -21
  178. package/esm2022/components/alert/alert.interfaces.mjs +0 -2
  179. package/esm2022/components/alert/alert.service.mjs +0 -18
  180. package/esm2022/components/alert/alert.tokens.mjs +0 -51
  181. package/esm2022/components/alert/alerts.component.mjs +0 -34
  182. package/esm2022/components/alert/index.mjs +0 -6
  183. package/esm2022/components/alert/taiga-ui-core-components-alert.mjs +0 -5
  184. package/esm2022/components/button/button.directive.mjs +0 -43
  185. package/esm2022/components/button/button.options.mjs +0 -7
  186. package/esm2022/components/button/index.mjs +0 -3
  187. package/esm2022/components/button/taiga-ui-core-components-button.mjs +0 -5
  188. package/esm2022/components/calendar/calendar-sheet.component.mjs +0 -167
  189. package/esm2022/components/calendar/calendar-sheet.options.mjs +0 -12
  190. package/esm2022/components/calendar/calendar-spin.component.mjs +0 -53
  191. package/esm2022/components/calendar/calendar-year.component.mjs +0 -128
  192. package/esm2022/components/calendar/calendar.component.mjs +0 -147
  193. package/esm2022/components/calendar/index.mjs +0 -6
  194. package/esm2022/components/calendar/taiga-ui-core-components-calendar.mjs +0 -5
  195. package/esm2022/components/data-list/data-list.component.mjs +0 -139
  196. package/esm2022/components/data-list/data-list.directive.mjs +0 -19
  197. package/esm2022/components/data-list/data-list.mjs +0 -14
  198. package/esm2022/components/data-list/data-list.tokens.mjs +0 -18
  199. package/esm2022/components/data-list/index.mjs +0 -9
  200. package/esm2022/components/data-list/opt-group.directive.mjs +0 -21
  201. package/esm2022/components/data-list/option/option-content.mjs +0 -36
  202. package/esm2022/components/data-list/option/option-legacy.component.mjs +0 -90
  203. package/esm2022/components/data-list/option/option.directive.mjs +0 -109
  204. package/esm2022/components/data-list/taiga-ui-core-components-data-list.mjs +0 -5
  205. package/esm2022/components/dialog/dialog-close.service.mjs +0 -41
  206. package/esm2022/components/dialog/dialog.component.mjs +0 -63
  207. package/esm2022/components/dialog/dialog.directive.mjs +0 -21
  208. package/esm2022/components/dialog/dialog.factory.mjs +0 -15
  209. package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
  210. package/esm2022/components/dialog/dialog.service.mjs +0 -18
  211. package/esm2022/components/dialog/dialog.tokens.mjs +0 -33
  212. package/esm2022/components/dialog/dialogs.component.mjs +0 -29
  213. package/esm2022/components/dialog/index.mjs +0 -8
  214. package/esm2022/components/dialog/taiga-ui-core-components-dialog.mjs +0 -5
  215. package/esm2022/components/error/error.component.mjs +0 -34
  216. package/esm2022/components/error/index.mjs +0 -2
  217. package/esm2022/components/error/taiga-ui-core-components-error.mjs +0 -5
  218. package/esm2022/components/expand/expand-content.directive.mjs +0 -18
  219. package/esm2022/components/expand/expand.component.mjs +0 -124
  220. package/esm2022/components/expand/expand.mjs +0 -7
  221. package/esm2022/components/expand/index.mjs +0 -4
  222. package/esm2022/components/expand/taiga-ui-core-components-expand.mjs +0 -5
  223. package/esm2022/components/fullscreen/fullscreen.component.mjs +0 -67
  224. package/esm2022/components/fullscreen/index.mjs +0 -2
  225. package/esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs +0 -5
  226. package/esm2022/components/icon/icon.component.mjs +0 -35
  227. package/esm2022/components/icon/icon.pipe.mjs +0 -19
  228. package/esm2022/components/icon/index.mjs +0 -3
  229. package/esm2022/components/icon/taiga-ui-core-components-icon.mjs +0 -5
  230. package/esm2022/components/index.mjs +0 -18
  231. package/esm2022/components/label/index.mjs +0 -2
  232. package/esm2022/components/label/label.directive.mjs +0 -41
  233. package/esm2022/components/label/taiga-ui-core-components-label.mjs +0 -5
  234. package/esm2022/components/link/index.mjs +0 -3
  235. package/esm2022/components/link/link.directive.mjs +0 -47
  236. package/esm2022/components/link/link.options.mjs +0 -13
  237. package/esm2022/components/link/taiga-ui-core-components-link.mjs +0 -5
  238. package/esm2022/components/loader/index.mjs +0 -3
  239. package/esm2022/components/loader/loader.component.mjs +0 -46
  240. package/esm2022/components/loader/loader.options.mjs +0 -18
  241. package/esm2022/components/loader/taiga-ui-core-components-loader.mjs +0 -5
  242. package/esm2022/components/notification/index.mjs +0 -3
  243. package/esm2022/components/notification/notification.directive.mjs +0 -81
  244. package/esm2022/components/notification/notification.options.mjs +0 -23
  245. package/esm2022/components/notification/taiga-ui-core-components-notification.mjs +0 -5
  246. package/esm2022/components/root/index.mjs +0 -2
  247. package/esm2022/components/root/root.component.mjs +0 -85
  248. package/esm2022/components/root/taiga-ui-core-components-root.mjs +0 -5
  249. package/esm2022/components/scrollbar/index.mjs +0 -9
  250. package/esm2022/components/scrollbar/scroll-controls.component.mjs +0 -32
  251. package/esm2022/components/scrollbar/scroll-into-view.directive.mjs +0 -43
  252. package/esm2022/components/scrollbar/scroll-ref.directive.mjs +0 -19
  253. package/esm2022/components/scrollbar/scrollable.directive.mjs +0 -26
  254. package/esm2022/components/scrollbar/scrollbar.component.mjs +0 -72
  255. package/esm2022/components/scrollbar/scrollbar.directive.mjs +0 -93
  256. package/esm2022/components/scrollbar/scrollbar.options.mjs +0 -6
  257. package/esm2022/components/scrollbar/scrollbar.service.mjs +0 -46
  258. package/esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs +0 -5
  259. package/esm2022/components/spin-button/index.mjs +0 -2
  260. package/esm2022/components/spin-button/spin-button.component.mjs +0 -51
  261. package/esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs +0 -5
  262. package/esm2022/components/taiga-ui-core-components.mjs +0 -5
  263. package/esm2022/components/textfield/index.mjs +0 -16
  264. package/esm2022/components/textfield/select-like.directive.mjs +0 -42
  265. package/esm2022/components/textfield/select.directive.mjs +0 -65
  266. package/esm2022/components/textfield/taiga-ui-core-components-textfield.mjs +0 -5
  267. package/esm2022/components/textfield/textfield-accessor.mjs +0 -7
  268. package/esm2022/components/textfield/textfield-auxiliary.mjs +0 -7
  269. package/esm2022/components/textfield/textfield-content.directive.mjs +0 -22
  270. package/esm2022/components/textfield/textfield-dropdown.directive.mjs +0 -43
  271. package/esm2022/components/textfield/textfield-icon.mjs +0 -10
  272. package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +0 -34
  273. package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +0 -137
  274. package/esm2022/components/textfield/textfield.component.mjs +0 -177
  275. package/esm2022/components/textfield/textfield.directive.mjs +0 -131
  276. package/esm2022/components/textfield/textfield.mjs +0 -19
  277. package/esm2022/components/textfield/textfield.options.mjs +0 -63
  278. package/esm2022/components/textfield/with-native-picker.directive.mjs +0 -24
  279. package/esm2022/directives/appearance/appearance.bindings.mjs +0 -15
  280. package/esm2022/directives/appearance/appearance.directive.mjs +0 -79
  281. package/esm2022/directives/appearance/appearance.options.mjs +0 -12
  282. package/esm2022/directives/appearance/index.mjs +0 -5
  283. package/esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs +0 -5
  284. package/esm2022/directives/appearance/with-appearance.mjs +0 -27
  285. package/esm2022/directives/date-format/date-format.directive.mjs +0 -31
  286. package/esm2022/directives/date-format/index.mjs +0 -2
  287. package/esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs +0 -5
  288. package/esm2022/directives/dropdown/dropdown-context.directive.mjs +0 -70
  289. package/esm2022/directives/dropdown/dropdown-hover.directive.mjs +0 -70
  290. package/esm2022/directives/dropdown/dropdown-hover.options.mjs +0 -17
  291. package/esm2022/directives/dropdown/dropdown-limit-width.mjs +0 -37
  292. package/esm2022/directives/dropdown/dropdown-manual.directive.mjs +0 -27
  293. package/esm2022/directives/dropdown/dropdown-open-legacy.directive.mjs +0 -33
  294. package/esm2022/directives/dropdown/dropdown-open.directive.mjs +0 -169
  295. package/esm2022/directives/dropdown/dropdown-options.directive.mjs +0 -73
  296. package/esm2022/directives/dropdown/dropdown-portal.directive.mjs +0 -34
  297. package/esm2022/directives/dropdown/dropdown-position-sided.directive.mjs +0 -69
  298. package/esm2022/directives/dropdown/dropdown-position.directive.mjs +0 -88
  299. package/esm2022/directives/dropdown/dropdown-selection.directive.mjs +0 -159
  300. package/esm2022/directives/dropdown/dropdown.bindings.mjs +0 -19
  301. package/esm2022/directives/dropdown/dropdown.component.mjs +0 -92
  302. package/esm2022/directives/dropdown/dropdown.directive.mjs +0 -110
  303. package/esm2022/directives/dropdown/dropdown.driver.mjs +0 -32
  304. package/esm2022/directives/dropdown/dropdown.mjs +0 -29
  305. package/esm2022/directives/dropdown/dropdown.providers.mjs +0 -10
  306. package/esm2022/directives/dropdown/dropdown.service.mjs +0 -15
  307. package/esm2022/directives/dropdown/dropdowns.component.mjs +0 -24
  308. package/esm2022/directives/dropdown/index.mjs +0 -22
  309. package/esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs +0 -5
  310. package/esm2022/directives/dropdown/with-dropdown-open.directive.mjs +0 -23
  311. package/esm2022/directives/group/group.directive.mjs +0 -53
  312. package/esm2022/directives/group/group.options.mjs +0 -15
  313. package/esm2022/directives/group/index.mjs +0 -3
  314. package/esm2022/directives/group/taiga-ui-core-directives-group.mjs +0 -5
  315. package/esm2022/directives/hint/hint-describe.directive.mjs +0 -50
  316. package/esm2022/directives/hint/hint-driver.directive.mjs +0 -19
  317. package/esm2022/directives/hint/hint-host.directive.mjs +0 -27
  318. package/esm2022/directives/hint/hint-hover.directive.mjs +0 -59
  319. package/esm2022/directives/hint/hint-manual.directive.mjs +0 -33
  320. package/esm2022/directives/hint/hint-options.directive.mjs +0 -86
  321. package/esm2022/directives/hint/hint-overflow.directive.mjs +0 -38
  322. package/esm2022/directives/hint/hint-pointer.directive.mjs +0 -33
  323. package/esm2022/directives/hint/hint-position.directive.mjs +0 -112
  324. package/esm2022/directives/hint/hint-unstyled.component.mjs +0 -39
  325. package/esm2022/directives/hint/hint.component.mjs +0 -127
  326. package/esm2022/directives/hint/hint.directive.mjs +0 -99
  327. package/esm2022/directives/hint/hint.mjs +0 -27
  328. package/esm2022/directives/hint/hint.providers.mjs +0 -9
  329. package/esm2022/directives/hint/hint.service.mjs +0 -29
  330. package/esm2022/directives/hint/hints.component.mjs +0 -34
  331. package/esm2022/directives/hint/index.mjs +0 -17
  332. package/esm2022/directives/hint/taiga-ui-core-directives-hint.mjs +0 -5
  333. package/esm2022/directives/icons/icons.directive.mjs +0 -56
  334. package/esm2022/directives/icons/index.mjs +0 -3
  335. package/esm2022/directives/icons/taiga-ui-core-directives-icons.mjs +0 -5
  336. package/esm2022/directives/icons/with-icons.mjs +0 -22
  337. package/esm2022/directives/index.mjs +0 -12
  338. package/esm2022/directives/items-handlers/index.mjs +0 -4
  339. package/esm2022/directives/items-handlers/items-handlers.directive.mjs +0 -63
  340. package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +0 -27
  341. package/esm2022/directives/items-handlers/items-handlers.validator.mjs +0 -32
  342. package/esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs +0 -5
  343. package/esm2022/directives/number-format/index.mjs +0 -2
  344. package/esm2022/directives/number-format/number-format.directive.mjs +0 -31
  345. package/esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs +0 -5
  346. package/esm2022/directives/popup/index.mjs +0 -4
  347. package/esm2022/directives/popup/popup.directive.mjs +0 -31
  348. package/esm2022/directives/popup/popup.service.mjs +0 -15
  349. package/esm2022/directives/popup/popups.component.mjs +0 -20
  350. package/esm2022/directives/popup/taiga-ui-core-directives-popup.mjs +0 -5
  351. package/esm2022/directives/surface/index.mjs +0 -2
  352. package/esm2022/directives/surface/surface.directive.mjs +0 -44
  353. package/esm2022/directives/surface/taiga-ui-core-directives-surface.mjs +0 -5
  354. package/esm2022/directives/taiga-ui-core-directives.mjs +0 -5
  355. package/esm2022/directives/title/index.mjs +0 -2
  356. package/esm2022/directives/title/taiga-ui-core-directives-title.mjs +0 -5
  357. package/esm2022/directives/title/title.directive.mjs +0 -37
  358. package/esm2022/index.mjs +0 -9
  359. package/esm2022/pipes/auto-color/auto-color.pipe.mjs +0 -19
  360. package/esm2022/pipes/auto-color/index.mjs +0 -2
  361. package/esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs +0 -5
  362. package/esm2022/pipes/calendar-sheet/calendar-sheet.pipe.mjs +0 -54
  363. package/esm2022/pipes/calendar-sheet/index.mjs +0 -2
  364. package/esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs +0 -5
  365. package/esm2022/pipes/calendar-sheet/utils.mjs +0 -36
  366. package/esm2022/pipes/fallback-src/fallback-src.pipe.mjs +0 -23
  367. package/esm2022/pipes/fallback-src/index.mjs +0 -2
  368. package/esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs +0 -5
  369. package/esm2022/pipes/flag/flag.pipe.mjs +0 -26
  370. package/esm2022/pipes/flag/index.mjs +0 -2
  371. package/esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs +0 -5
  372. package/esm2022/pipes/format-date/format-date.pipe.mjs +0 -22
  373. package/esm2022/pipes/format-date/index.mjs +0 -2
  374. package/esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs +0 -5
  375. package/esm2022/pipes/format-number/format-number.pipe.mjs +0 -36
  376. package/esm2022/pipes/format-number/index.mjs +0 -2
  377. package/esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs +0 -5
  378. package/esm2022/pipes/index.mjs +0 -10
  379. package/esm2022/pipes/initials/index.mjs +0 -2
  380. package/esm2022/pipes/initials/initials.pipe.mjs +0 -23
  381. package/esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs +0 -5
  382. package/esm2022/pipes/month/index.mjs +0 -2
  383. package/esm2022/pipes/month/month.pipe.mjs +0 -23
  384. package/esm2022/pipes/month/taiga-ui-core-pipes-month.mjs +0 -5
  385. package/esm2022/pipes/order-week-days/index.mjs +0 -2
  386. package/esm2022/pipes/order-week-days/order-week-days.pipe.mjs +0 -30
  387. package/esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs +0 -5
  388. package/esm2022/pipes/taiga-ui-core-pipes.mjs +0 -5
  389. package/esm2022/services/breakpoint.service.mjs +0 -31
  390. package/esm2022/services/dark-theme.service.mjs +0 -24
  391. package/esm2022/services/format-date.service.mjs +0 -24
  392. package/esm2022/services/index.mjs +0 -6
  393. package/esm2022/services/position.service.mjs +0 -26
  394. package/esm2022/services/taiga-ui-core-services.mjs +0 -5
  395. package/esm2022/services/visual-viewport.service.mjs +0 -29
  396. package/esm2022/taiga-ui-core.mjs +0 -5
  397. package/esm2022/tokens/animations-speed.mjs +0 -9
  398. package/esm2022/tokens/assets-path.mjs +0 -11
  399. package/esm2022/tokens/auxiliary.mjs +0 -9
  400. package/esm2022/tokens/common-icons.mjs +0 -18
  401. package/esm2022/tokens/dark-mode.mjs +0 -41
  402. package/esm2022/tokens/date-format.mjs +0 -20
  403. package/esm2022/tokens/day-type-handler.mjs +0 -8
  404. package/esm2022/tokens/first-day-of-week.mjs +0 -9
  405. package/esm2022/tokens/i18n.mjs +0 -45
  406. package/esm2022/tokens/icon-resolver.mjs +0 -22
  407. package/esm2022/tokens/icon.mjs +0 -8
  408. package/esm2022/tokens/icons.mjs +0 -21
  409. package/esm2022/tokens/index.mjs +0 -21
  410. package/esm2022/tokens/media.mjs +0 -12
  411. package/esm2022/tokens/number-format.mjs +0 -24
  412. package/esm2022/tokens/reduced-motion.mjs +0 -7
  413. package/esm2022/tokens/scroll-ref.mjs +0 -6
  414. package/esm2022/tokens/selection-stream.mjs +0 -14
  415. package/esm2022/tokens/spin-icons.mjs +0 -8
  416. package/esm2022/tokens/taiga-ui-core-tokens.mjs +0 -5
  417. package/esm2022/tokens/theme.mjs +0 -5
  418. package/esm2022/tokens/viewport.mjs +0 -35
  419. package/esm2022/types/direction.mjs +0 -2
  420. package/esm2022/types/index.mjs +0 -2
  421. package/esm2022/types/interactive-state.mjs +0 -2
  422. package/esm2022/types/orientation.mjs +0 -2
  423. package/esm2022/types/point.mjs +0 -2
  424. package/esm2022/types/portal-item.mjs +0 -2
  425. package/esm2022/types/range-state.mjs +0 -2
  426. package/esm2022/types/size.mjs +0 -13
  427. package/esm2022/types/taiga-ui-core-types.mjs +0 -5
  428. package/esm2022/types/value-content-context.mjs +0 -2
  429. package/esm2022/utils/dom/check-fixed-position.mjs +0 -9
  430. package/esm2022/utils/dom/get-viewport.mjs +0 -24
  431. package/esm2022/utils/dom/get-word-range.mjs +0 -51
  432. package/esm2022/utils/dom/index.mjs +0 -4
  433. package/esm2022/utils/dom/taiga-ui-core-utils-dom.mjs +0 -5
  434. package/esm2022/utils/format/format-number.mjs +0 -47
  435. package/esm2022/utils/format/get-fractional-part-padded.mjs +0 -16
  436. package/esm2022/utils/format/index.mjs +0 -5
  437. package/esm2022/utils/format/number-to-string-without-exp.mjs +0 -18
  438. package/esm2022/utils/format/string-hash-to-hsl.mjs +0 -21
  439. package/esm2022/utils/format/taiga-ui-core-utils-format.mjs +0 -5
  440. package/esm2022/utils/index.mjs +0 -4
  441. package/esm2022/utils/miscellaneous/font-scaling.mjs +0 -11
  442. package/esm2022/utils/miscellaneous/index.mjs +0 -7
  443. package/esm2022/utils/miscellaneous/is-editing-key.mjs +0 -18
  444. package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
  445. package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
  446. package/esm2022/utils/miscellaneous/size-bigger.mjs +0 -19
  447. package/esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs +0 -5
  448. package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -16
  449. package/esm2022/utils/taiga-ui-core-utils.mjs +0 -5
  450. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -73
  451. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  452. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  453. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  454. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
  455. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
  456. package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
  457. package/pipes/fallback-src/index.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/core",
3
- "version": "4.51.0",
3
+ "version": "4.52.0-canary.05c3268",
4
4
  "description": "Core library for creating Angular components and applications using Taiga UI",
5
5
  "keywords": [
6
6
  "angular",
@@ -21,317 +21,213 @@
21
21
  },
22
22
  ".": {
23
23
  "types": "./index.d.ts",
24
- "esm2022": "./esm2022/taiga-ui-core.mjs",
25
- "esm": "./esm2022/taiga-ui-core.mjs",
26
24
  "default": "./fesm2022/taiga-ui-core.mjs"
27
25
  },
28
26
  "./animations": {
29
27
  "types": "./animations/index.d.ts",
30
- "esm2022": "./esm2022/animations/taiga-ui-core-animations.mjs",
31
- "esm": "./esm2022/animations/taiga-ui-core-animations.mjs",
32
28
  "default": "./fesm2022/taiga-ui-core-animations.mjs"
33
29
  },
34
30
  "./classes": {
35
31
  "types": "./classes/index.d.ts",
36
- "esm2022": "./esm2022/classes/taiga-ui-core-classes.mjs",
37
- "esm": "./esm2022/classes/taiga-ui-core-classes.mjs",
38
32
  "default": "./fesm2022/taiga-ui-core-classes.mjs"
39
33
  },
40
34
  "./components": {
41
35
  "types": "./components/index.d.ts",
42
- "esm2022": "./esm2022/components/taiga-ui-core-components.mjs",
43
- "esm": "./esm2022/components/taiga-ui-core-components.mjs",
44
36
  "default": "./fesm2022/taiga-ui-core-components.mjs"
45
37
  },
46
38
  "./directives": {
47
39
  "types": "./directives/index.d.ts",
48
- "esm2022": "./esm2022/directives/taiga-ui-core-directives.mjs",
49
- "esm": "./esm2022/directives/taiga-ui-core-directives.mjs",
50
40
  "default": "./fesm2022/taiga-ui-core-directives.mjs"
51
41
  },
52
42
  "./pipes": {
53
43
  "types": "./pipes/index.d.ts",
54
- "esm2022": "./esm2022/pipes/taiga-ui-core-pipes.mjs",
55
- "esm": "./esm2022/pipes/taiga-ui-core-pipes.mjs",
56
44
  "default": "./fesm2022/taiga-ui-core-pipes.mjs"
57
45
  },
58
46
  "./services": {
59
47
  "types": "./services/index.d.ts",
60
- "esm2022": "./esm2022/services/taiga-ui-core-services.mjs",
61
- "esm": "./esm2022/services/taiga-ui-core-services.mjs",
62
48
  "default": "./fesm2022/taiga-ui-core-services.mjs"
63
49
  },
64
50
  "./tokens": {
65
51
  "types": "./tokens/index.d.ts",
66
- "esm2022": "./esm2022/tokens/taiga-ui-core-tokens.mjs",
67
- "esm": "./esm2022/tokens/taiga-ui-core-tokens.mjs",
68
52
  "default": "./fesm2022/taiga-ui-core-tokens.mjs"
69
53
  },
70
54
  "./types": {
71
55
  "types": "./types/index.d.ts",
72
- "esm2022": "./esm2022/types/taiga-ui-core-types.mjs",
73
- "esm": "./esm2022/types/taiga-ui-core-types.mjs",
74
56
  "default": "./fesm2022/taiga-ui-core-types.mjs"
75
57
  },
76
58
  "./utils": {
77
59
  "types": "./utils/index.d.ts",
78
- "esm2022": "./esm2022/utils/taiga-ui-core-utils.mjs",
79
- "esm": "./esm2022/utils/taiga-ui-core-utils.mjs",
80
60
  "default": "./fesm2022/taiga-ui-core-utils.mjs"
81
61
  },
82
62
  "./components/alert": {
83
63
  "types": "./components/alert/index.d.ts",
84
- "esm2022": "./esm2022/components/alert/taiga-ui-core-components-alert.mjs",
85
- "esm": "./esm2022/components/alert/taiga-ui-core-components-alert.mjs",
86
64
  "default": "./fesm2022/taiga-ui-core-components-alert.mjs"
87
65
  },
88
66
  "./components/button": {
89
67
  "types": "./components/button/index.d.ts",
90
- "esm2022": "./esm2022/components/button/taiga-ui-core-components-button.mjs",
91
- "esm": "./esm2022/components/button/taiga-ui-core-components-button.mjs",
92
68
  "default": "./fesm2022/taiga-ui-core-components-button.mjs"
93
69
  },
94
70
  "./components/calendar": {
95
71
  "types": "./components/calendar/index.d.ts",
96
- "esm2022": "./esm2022/components/calendar/taiga-ui-core-components-calendar.mjs",
97
- "esm": "./esm2022/components/calendar/taiga-ui-core-components-calendar.mjs",
98
72
  "default": "./fesm2022/taiga-ui-core-components-calendar.mjs"
99
73
  },
74
+ "./components/cell": {
75
+ "types": "./components/cell/index.d.ts",
76
+ "default": "./fesm2022/taiga-ui-core-components-cell.mjs"
77
+ },
100
78
  "./components/data-list": {
101
79
  "types": "./components/data-list/index.d.ts",
102
- "esm2022": "./esm2022/components/data-list/taiga-ui-core-components-data-list.mjs",
103
- "esm": "./esm2022/components/data-list/taiga-ui-core-components-data-list.mjs",
104
80
  "default": "./fesm2022/taiga-ui-core-components-data-list.mjs"
105
81
  },
106
82
  "./components/dialog": {
107
83
  "types": "./components/dialog/index.d.ts",
108
- "esm2022": "./esm2022/components/dialog/taiga-ui-core-components-dialog.mjs",
109
- "esm": "./esm2022/components/dialog/taiga-ui-core-components-dialog.mjs",
110
84
  "default": "./fesm2022/taiga-ui-core-components-dialog.mjs"
111
85
  },
112
86
  "./components/error": {
113
87
  "types": "./components/error/index.d.ts",
114
- "esm2022": "./esm2022/components/error/taiga-ui-core-components-error.mjs",
115
- "esm": "./esm2022/components/error/taiga-ui-core-components-error.mjs",
116
88
  "default": "./fesm2022/taiga-ui-core-components-error.mjs"
117
89
  },
118
90
  "./components/expand": {
119
91
  "types": "./components/expand/index.d.ts",
120
- "esm2022": "./esm2022/components/expand/taiga-ui-core-components-expand.mjs",
121
- "esm": "./esm2022/components/expand/taiga-ui-core-components-expand.mjs",
122
92
  "default": "./fesm2022/taiga-ui-core-components-expand.mjs"
123
93
  },
124
- "./components/fullscreen": {
125
- "types": "./components/fullscreen/index.d.ts",
126
- "esm2022": "./esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs",
127
- "esm": "./esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs",
128
- "default": "./fesm2022/taiga-ui-core-components-fullscreen.mjs"
94
+ "./components/header": {
95
+ "types": "./components/header/index.d.ts",
96
+ "default": "./fesm2022/taiga-ui-core-components-header.mjs"
129
97
  },
130
98
  "./components/icon": {
131
99
  "types": "./components/icon/index.d.ts",
132
- "esm2022": "./esm2022/components/icon/taiga-ui-core-components-icon.mjs",
133
- "esm": "./esm2022/components/icon/taiga-ui-core-components-icon.mjs",
134
100
  "default": "./fesm2022/taiga-ui-core-components-icon.mjs"
135
101
  },
136
102
  "./components/label": {
137
103
  "types": "./components/label/index.d.ts",
138
- "esm2022": "./esm2022/components/label/taiga-ui-core-components-label.mjs",
139
- "esm": "./esm2022/components/label/taiga-ui-core-components-label.mjs",
140
104
  "default": "./fesm2022/taiga-ui-core-components-label.mjs"
141
105
  },
142
106
  "./components/link": {
143
107
  "types": "./components/link/index.d.ts",
144
- "esm2022": "./esm2022/components/link/taiga-ui-core-components-link.mjs",
145
- "esm": "./esm2022/components/link/taiga-ui-core-components-link.mjs",
146
108
  "default": "./fesm2022/taiga-ui-core-components-link.mjs"
147
109
  },
148
110
  "./components/loader": {
149
111
  "types": "./components/loader/index.d.ts",
150
- "esm2022": "./esm2022/components/loader/taiga-ui-core-components-loader.mjs",
151
- "esm": "./esm2022/components/loader/taiga-ui-core-components-loader.mjs",
152
112
  "default": "./fesm2022/taiga-ui-core-components-loader.mjs"
153
113
  },
154
114
  "./components/notification": {
155
115
  "types": "./components/notification/index.d.ts",
156
- "esm2022": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
157
- "esm": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
158
116
  "default": "./fesm2022/taiga-ui-core-components-notification.mjs"
159
117
  },
160
118
  "./components/root": {
161
119
  "types": "./components/root/index.d.ts",
162
- "esm2022": "./esm2022/components/root/taiga-ui-core-components-root.mjs",
163
- "esm": "./esm2022/components/root/taiga-ui-core-components-root.mjs",
164
120
  "default": "./fesm2022/taiga-ui-core-components-root.mjs"
165
121
  },
166
122
  "./components/scrollbar": {
167
123
  "types": "./components/scrollbar/index.d.ts",
168
- "esm2022": "./esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs",
169
- "esm": "./esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs",
170
124
  "default": "./fesm2022/taiga-ui-core-components-scrollbar.mjs"
171
125
  },
172
126
  "./components/spin-button": {
173
127
  "types": "./components/spin-button/index.d.ts",
174
- "esm2022": "./esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs",
175
- "esm": "./esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs",
176
128
  "default": "./fesm2022/taiga-ui-core-components-spin-button.mjs"
177
129
  },
178
130
  "./components/textfield": {
179
131
  "types": "./components/textfield/index.d.ts",
180
- "esm2022": "./esm2022/components/textfield/taiga-ui-core-components-textfield.mjs",
181
- "esm": "./esm2022/components/textfield/taiga-ui-core-components-textfield.mjs",
182
132
  "default": "./fesm2022/taiga-ui-core-components-textfield.mjs"
183
133
  },
184
134
  "./directives/appearance": {
185
135
  "types": "./directives/appearance/index.d.ts",
186
- "esm2022": "./esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs",
187
- "esm": "./esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs",
188
136
  "default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
189
137
  },
190
138
  "./directives/date-format": {
191
139
  "types": "./directives/date-format/index.d.ts",
192
- "esm2022": "./esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs",
193
- "esm": "./esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs",
194
140
  "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
195
141
  },
196
142
  "./directives/dropdown": {
197
143
  "types": "./directives/dropdown/index.d.ts",
198
- "esm2022": "./esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs",
199
- "esm": "./esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs",
200
144
  "default": "./fesm2022/taiga-ui-core-directives-dropdown.mjs"
201
145
  },
202
146
  "./directives/group": {
203
147
  "types": "./directives/group/index.d.ts",
204
- "esm2022": "./esm2022/directives/group/taiga-ui-core-directives-group.mjs",
205
- "esm": "./esm2022/directives/group/taiga-ui-core-directives-group.mjs",
206
148
  "default": "./fesm2022/taiga-ui-core-directives-group.mjs"
207
149
  },
208
150
  "./directives/hint": {
209
151
  "types": "./directives/hint/index.d.ts",
210
- "esm2022": "./esm2022/directives/hint/taiga-ui-core-directives-hint.mjs",
211
- "esm": "./esm2022/directives/hint/taiga-ui-core-directives-hint.mjs",
212
152
  "default": "./fesm2022/taiga-ui-core-directives-hint.mjs"
213
153
  },
214
154
  "./directives/icons": {
215
155
  "types": "./directives/icons/index.d.ts",
216
- "esm2022": "./esm2022/directives/icons/taiga-ui-core-directives-icons.mjs",
217
- "esm": "./esm2022/directives/icons/taiga-ui-core-directives-icons.mjs",
218
156
  "default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
219
157
  },
220
158
  "./directives/items-handlers": {
221
159
  "types": "./directives/items-handlers/index.d.ts",
222
- "esm2022": "./esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs",
223
- "esm": "./esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs",
224
160
  "default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
225
161
  },
226
162
  "./directives/number-format": {
227
163
  "types": "./directives/number-format/index.d.ts",
228
- "esm2022": "./esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs",
229
- "esm": "./esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs",
230
164
  "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
231
165
  },
232
166
  "./directives/popup": {
233
167
  "types": "./directives/popup/index.d.ts",
234
- "esm2022": "./esm2022/directives/popup/taiga-ui-core-directives-popup.mjs",
235
- "esm": "./esm2022/directives/popup/taiga-ui-core-directives-popup.mjs",
236
168
  "default": "./fesm2022/taiga-ui-core-directives-popup.mjs"
237
169
  },
238
- "./directives/surface": {
239
- "types": "./directives/surface/index.d.ts",
240
- "esm2022": "./esm2022/directives/surface/taiga-ui-core-directives-surface.mjs",
241
- "esm": "./esm2022/directives/surface/taiga-ui-core-directives-surface.mjs",
242
- "default": "./fesm2022/taiga-ui-core-directives-surface.mjs"
243
- },
244
170
  "./directives/title": {
245
171
  "types": "./directives/title/index.d.ts",
246
- "esm2022": "./esm2022/directives/title/taiga-ui-core-directives-title.mjs",
247
- "esm": "./esm2022/directives/title/taiga-ui-core-directives-title.mjs",
248
172
  "default": "./fesm2022/taiga-ui-core-directives-title.mjs"
249
173
  },
250
174
  "./pipes/auto-color": {
251
175
  "types": "./pipes/auto-color/index.d.ts",
252
- "esm2022": "./esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs",
253
- "esm": "./esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs",
254
176
  "default": "./fesm2022/taiga-ui-core-pipes-auto-color.mjs"
255
177
  },
256
178
  "./pipes/calendar-sheet": {
257
179
  "types": "./pipes/calendar-sheet/index.d.ts",
258
- "esm2022": "./esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs",
259
- "esm": "./esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs",
260
180
  "default": "./fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs"
261
181
  },
262
- "./pipes/fallback-src": {
263
- "types": "./pipes/fallback-src/index.d.ts",
264
- "esm2022": "./esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs",
265
- "esm": "./esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs",
266
- "default": "./fesm2022/taiga-ui-core-pipes-fallback-src.mjs"
267
- },
268
182
  "./pipes/flag": {
269
183
  "types": "./pipes/flag/index.d.ts",
270
- "esm2022": "./esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs",
271
- "esm": "./esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs",
272
184
  "default": "./fesm2022/taiga-ui-core-pipes-flag.mjs"
273
185
  },
274
186
  "./pipes/format-date": {
275
187
  "types": "./pipes/format-date/index.d.ts",
276
- "esm2022": "./esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs",
277
- "esm": "./esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs",
278
188
  "default": "./fesm2022/taiga-ui-core-pipes-format-date.mjs"
279
189
  },
280
190
  "./pipes/format-number": {
281
191
  "types": "./pipes/format-number/index.d.ts",
282
- "esm2022": "./esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs",
283
- "esm": "./esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs",
284
192
  "default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
285
193
  },
286
194
  "./pipes/initials": {
287
195
  "types": "./pipes/initials/index.d.ts",
288
- "esm2022": "./esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs",
289
- "esm": "./esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs",
290
196
  "default": "./fesm2022/taiga-ui-core-pipes-initials.mjs"
291
197
  },
292
198
  "./pipes/month": {
293
199
  "types": "./pipes/month/index.d.ts",
294
- "esm2022": "./esm2022/pipes/month/taiga-ui-core-pipes-month.mjs",
295
- "esm": "./esm2022/pipes/month/taiga-ui-core-pipes-month.mjs",
296
200
  "default": "./fesm2022/taiga-ui-core-pipes-month.mjs"
297
201
  },
298
202
  "./pipes/order-week-days": {
299
203
  "types": "./pipes/order-week-days/index.d.ts",
300
- "esm2022": "./esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs",
301
- "esm": "./esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs",
302
204
  "default": "./fesm2022/taiga-ui-core-pipes-order-week-days.mjs"
303
205
  },
304
206
  "./utils/dom": {
305
207
  "types": "./utils/dom/index.d.ts",
306
- "esm2022": "./esm2022/utils/dom/taiga-ui-core-utils-dom.mjs",
307
- "esm": "./esm2022/utils/dom/taiga-ui-core-utils-dom.mjs",
308
208
  "default": "./fesm2022/taiga-ui-core-utils-dom.mjs"
309
209
  },
310
210
  "./utils/format": {
311
211
  "types": "./utils/format/index.d.ts",
312
- "esm2022": "./esm2022/utils/format/taiga-ui-core-utils-format.mjs",
313
- "esm": "./esm2022/utils/format/taiga-ui-core-utils-format.mjs",
314
212
  "default": "./fesm2022/taiga-ui-core-utils-format.mjs"
315
213
  },
316
214
  "./utils/miscellaneous": {
317
215
  "types": "./utils/miscellaneous/index.d.ts",
318
- "esm2022": "./esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs",
319
- "esm": "./esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs",
320
216
  "default": "./fesm2022/taiga-ui-core-utils-miscellaneous.mjs"
321
217
  }
322
218
  },
323
219
  "peerDependencies": {
324
- "@angular/animations": ">=16.0.0",
325
- "@angular/common": ">=16.0.0",
326
- "@angular/core": ">=16.0.0",
327
- "@angular/forms": ">=16.0.0",
328
- "@angular/platform-browser": ">=16.0.0",
329
- "@angular/router": ">=16.0.0",
330
- "@ng-web-apis/common": "^4.12.0",
331
- "@ng-web-apis/mutation-observer": "^4.12.0",
332
- "@taiga-ui/cdk": "^4.51.0",
333
- "@taiga-ui/event-plugins": "^4.6.0",
334
- "@taiga-ui/i18n": "^4.51.0",
220
+ "@angular/animations": ">=19.0.0",
221
+ "@angular/common": ">=19.0.0",
222
+ "@angular/core": ">=19.0.0",
223
+ "@angular/forms": ">=19.0.0",
224
+ "@angular/platform-browser": ">=19.0.0",
225
+ "@angular/router": ">=19.0.0",
226
+ "@ng-web-apis/common": "^4.12.2",
227
+ "@ng-web-apis/mutation-observer": "^4.12.2",
228
+ "@taiga-ui/cdk": "^4.52.0",
229
+ "@taiga-ui/event-plugins": "^4.7.0",
230
+ "@taiga-ui/i18n": "^4.52.0",
335
231
  "@taiga-ui/polymorpheus": "^4.9.0",
336
232
  "rxjs": ">=7.0.0"
337
233
  },
package/pipes/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export * from '@taiga-ui/core/pipes/auto-color';
2
2
  export * from '@taiga-ui/core/pipes/calendar-sheet';
3
- export * from '@taiga-ui/core/pipes/fallback-src';
4
3
  export * from '@taiga-ui/core/pipes/flag';
5
4
  export * from '@taiga-ui/core/pipes/format-date';
6
5
  export * from '@taiga-ui/core/pipes/format-number';
@@ -28,6 +28,12 @@
28
28
  outline-offset: -0.125rem;
29
29
  transition-property: color, background-color, opacity, box-shadow, border-color, border-radius, filter;
30
30
 
31
+ &::before,
32
+ &::after {
33
+ transition-duration: inherit;
34
+ transition-timing-function: ease-in-out;
35
+ }
36
+
31
37
  .appearance-focus({
32
38
  outline-color: var(--tui-border-focus);
33
39
  });
@@ -52,7 +52,6 @@
52
52
 
53
53
  font: var(--tui-font-text-s);
54
54
 
55
- tui-svg,
56
55
  tui-icon,
57
56
  &::before {
58
57
  font-size: 1rem;
@@ -68,7 +67,6 @@
68
67
 
69
68
  font: var(--tui-font-text-s);
70
69
 
71
- tui-svg,
72
70
  tui-icon,
73
71
  &:not([tuiIconButton][data-appearance='icon']):not([tuiIconButton][data-appearance='link'])::before {
74
72
  font-size: 1rem;
@@ -5,21 +5,24 @@
5
5
  * @selector tui-icon
6
6
  *
7
7
  * @description
8
- * Container for displaying icons colored with CSS (color/background) using mask
8
+ * Container for displaying icons colored with CSS (color/background)
9
9
  *
10
10
  * @vars
11
- * --t-icon — mask for the icon
11
+ * --t-icon — depending on the data-icon, it can serve as either a mask (`svg`),
12
+ a background (`img`), or content (`font`) for the icon.
12
13
  * --t-icon-bg — mask for the background
13
14
  *
14
15
  * @example
15
- * <tui-icon style="--t-icon: url('icon.svg')"></tui-icon>
16
+ * <tui-icon tuiIcons style="--t-icon: url('icon.svg')"></tui-icon>
16
17
  *
17
18
  * @see-also
18
19
  * Icons
19
20
  */
20
21
  tui-icon {
22
+ --tui-icon-size: 1em;
23
+
21
24
  position: relative;
22
- display: inline-block;
25
+ display: inline-flex;
23
26
  inline-size: 1em;
24
27
  block-size: 1em;
25
28
  font-size: 1.5rem;
@@ -27,7 +30,7 @@ tui-icon {
27
30
  border: 0 solid transparent;
28
31
  vertical-align: middle;
29
32
  box-sizing: border-box;
30
- mask: var(--t-icon-bg) no-repeat center/contain;
33
+ mask: var(--t-icon-bg) no-repeat center / calc(100% + 10 * var(--tui-stroke-width, 0.125rem)) 100%;
31
34
 
32
35
  @media @tui-mouse {
33
36
  &[data-appearance='icon']:hover {
@@ -35,13 +38,35 @@ tui-icon {
35
38
  }
36
39
  }
37
40
 
38
- &::after,
39
- &[tuiIcons]::after {
40
- .fullsize();
41
+ &[data-icon-end] {
42
+ &::before {
43
+ mask-image:
44
+ var(--t-icon-start),
45
+ radial-gradient(circle at bottom 0.1em right 0.1em, transparent calc(0.4em - 0.5px), #000 0.4em);
46
+ mask-composite: intersect;
47
+ }
48
+
49
+ &[data-icon-start='img'],
50
+ &[data-icon-start='font'] {
51
+ &::before {
52
+ mask: radial-gradient(circle at bottom 0.1em right 0.1em, transparent calc(0.4em - 0.5px), #000 0.4em);
53
+ }
54
+ }
41
55
 
42
- content: '';
43
- display: block;
44
- mask: var(--t-icon) no-repeat center/contain;
45
- background: currentColor;
56
+ &::after {
57
+ .fullsize();
58
+ }
59
+ }
60
+
61
+ &[data-icon-start] {
62
+ &::before {
63
+ .fullsize();
64
+ }
65
+
66
+ &::after {
67
+ transform: translate(36%, 36%);
68
+
69
+ --tui-icon-size: 0.5715em;
70
+ }
46
71
  }
47
72
  }
@@ -3,11 +3,13 @@
3
3
  * @selector [tuiIcons]
4
4
  *
5
5
  * @description
6
- * Icons directive applies CSS mask to ::before and ::after pseudo elements
6
+ * Icons directive applies styles to ::before and ::after pseudo elements
7
7
  *
8
8
  * @vars
9
- * --t-icon-start — mask for ::before element
10
- * --t-icon-end mask for ::after element
9
+ * --t-icon-start — depending on the data-icon-start, it can serve as either a mask (`svg`),
10
+ a background (`img`), or content (`font`) for the ::before element
11
+ * --t-icon-end — depending on the data-icon-end, it can serve as either a mask (`svg`),
12
+ a background (`img`), or content (`font`) for the ::after element
11
13
  *
12
14
  * @example
13
15
  * <button tuiIcons style="--t-icon-start: url('icon.svg')"></button>
@@ -22,19 +24,55 @@
22
24
  &::before,
23
25
  &::after {
24
26
  content: '';
25
- display: var(--t-icon-start);
26
27
  inline-size: 1em;
27
28
  block-size: 1em;
28
29
  line-height: 1em;
29
- font-size: 1.5rem;
30
+ font-size: var(--tui-icon-size, 1.5rem);
30
31
  flex-shrink: 0;
31
32
  box-sizing: content-box;
32
33
  background: currentColor;
33
- mask: var(--t-icon-start) no-repeat center/contain padding-box;
34
+ }
35
+
36
+ &::before {
37
+ display: var(--t-icon-start);
38
+ mask:
39
+ var(--t-icon-start) no-repeat center / calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem))
40
+ ~'min(1em, 100%)',
41
+ 100% padding-box;
34
42
  }
35
43
 
36
44
  &::after {
37
45
  display: var(--t-icon-end);
38
- mask: var(--t-icon-end) no-repeat center/contain padding-box;
46
+ mask: var(--t-icon-end) no-repeat center / calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem))
47
+ ~'min(1em, 100%)' padding-box;
48
+ }
49
+
50
+ &[data-icon-start='img']::before {
51
+ mask: none;
52
+ background: var(--t-icon-start) no-repeat center / 1em padding-box;
53
+ }
54
+
55
+ &[data-icon-end='img']::after {
56
+ mask: none;
57
+ background: var(--t-icon-end) no-repeat center / 1em padding-box;
58
+ }
59
+
60
+ &[data-icon-start='font']::before,
61
+ &[data-icon-end='font']::after {
62
+ display: grid;
63
+ mask: none;
64
+ background: none;
65
+ font: 1.3em/1 var(--tui-font-icon, inherit);
66
+ text-align: center;
67
+ place-content: center;
68
+ text-transform: none;
69
+ }
70
+
71
+ &[data-icon-start='font']::before {
72
+ content: var(--t-icon-start);
73
+ }
74
+
75
+ &[data-icon-end='font']::after {
76
+ content: var(--t-icon-end);
39
77
  }
40
78
  }
@@ -14,9 +14,6 @@
14
14
  * Icons, Appearance, Button
15
15
  */
16
16
  [tuiLink] {
17
- // TODO: Remove in v5
18
- --tui-text-tertiary: var(--tui-text-secondary);
19
-
20
17
  .transition(~'color, text-decoration, opacity');
21
18
 
22
19
  padding: 0;
@@ -53,6 +50,7 @@
53
50
  font-size: 0;
54
51
  line-height: 0;
55
52
  box-sizing: border-box;
53
+ mask-size: calc(100% + 10 * var(--tui-stroke-width, 0.125rem)) 100%;
56
54
  }
57
55
 
58
56
  &[tuiChevron]::after {
@@ -75,9 +75,8 @@
75
75
  gap: calc(var(--t-gap, ~'0rem') - 2 * var(--t-margin, 0rem));
76
76
 
77
77
  > img,
78
- > tui-svg,
79
78
  > tui-icon,
80
- > tui-avatar,
79
+ > [tuiAvatar],
81
80
  > tui-badge,
82
81
  > [tuiBadge],
83
82
  > [tuiRadio],
@@ -72,9 +72,8 @@
72
72
  gap: calc(var(--t-gap) - 2 * var(--t-margin));
73
73
 
74
74
  > img,
75
- > tui-svg,
76
75
  > tui-icon,
77
- > tui-avatar,
76
+ > [tuiAvatar],
78
77
  > tui-badge,
79
78
  > [tuiBadge],
80
79
  > [tuiRadio],
@@ -1,7 +1,6 @@
1
1
  @thumb-diameters: {
2
2
  @s: 0.5rem;
3
3
  @m: 0.75rem;
4
- @l: 0.75rem;
5
4
  };
6
5
 
7
6
  @track-inset: {
@@ -10,9 +9,8 @@
10
9
  @l: 1rem;
11
10
  };
12
11
 
13
- // TODO(v5): use `l` by default (default size for new textfields)
14
- .tui-slider-ticks-labels(@input-size: m) {
15
- @thumb: @thumb-diameters[@@input-size];
12
+ .tui-slider-ticks-labels(@thumb-size: m) {
13
+ @thumb: @thumb-diameters[@@thumb-size];
16
14
 
17
15
  --t-offset: calc(@thumb / 2);
18
16
 
@@ -45,27 +43,34 @@
45
43
  }
46
44
  }
47
45
 
48
- /* TODO(v5): delete */
49
- tui-input-slider + & {
50
- margin-inline-start: calc(var(--tui-radius-m) / 2 + var(--t-offset));
46
+ tui-range + & {
47
+ --t-offset: @thumb;
51
48
  }
52
49
 
53
50
  /* TODO: add :has([tuiInputSlider]) */
54
- tui-textfield + & {
55
- --t-offset: calc(var(--tui-radius-m) / 2 + @thumb / 2);
51
+ tui-textfield[data-size='l'] + & {
52
+ --t-offset: calc(@track-inset[@l] + @thumb / 2);
56
53
  }
57
54
 
58
55
  /* TODO: add :has([tuiInputSlider]) */
59
- tui-textfield[data-size='l'] + & {
60
- --t-offset: calc(var(--tui-radius-l) / 2 + @thumb / 2);
56
+ tui-textfield[data-size='m'] + & {
57
+ --t-offset: calc(@track-inset[@m] + @thumb / 2);
61
58
  }
62
59
 
63
- tui-input-range:not([new]) + &, /* TODO(v5): delete */
64
- tui-range + & {
65
- --t-offset: @thumb;
60
+ /* TODO: add :has([tuiInputSlider]) */
61
+ tui-textfield[data-size='s'] + & {
62
+ --t-offset: calc(@track-inset[@s] + @thumb / 2);
63
+ }
64
+
65
+ tui-input-range[data-size='l'] + & {
66
+ --t-offset: calc(@track-inset[@l] + @thumb);
67
+ }
68
+
69
+ tui-input-range[data-size='m'] + & {
70
+ --t-offset: calc(@track-inset[@m] + @thumb);
66
71
  }
67
72
 
68
- tui-input-range[new] + & {
69
- --t-offset: calc(@track-inset[@@input-size] + @thumb);
73
+ tui-input-range[data-size='s'] + & {
74
+ --t-offset: calc(@track-inset[@s] + @thumb);
70
75
  }
71
76
  }