@taiga-ui/core 4.52.0-canary.536e4ff → 4.52.0-canary.698642f

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 (382) hide show
  1. package/classes/driver.d.ts +1 -1
  2. package/components/button/button.directive.d.ts +0 -1
  3. package/components/calendar/calendar-sheet.component.d.ts +1 -6
  4. package/components/icon/icon.component.d.ts +6 -11
  5. package/components/textfield/textfield.component.d.ts +7 -6
  6. package/directives/icons/icons.directive.d.ts +3 -3
  7. package/fesm2022/taiga-ui-core-animations.mjs.map +1 -1
  8. package/fesm2022/taiga-ui-core-classes.mjs +3 -3
  9. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  10. package/fesm2022/taiga-ui-core-components-alert.mjs +17 -17
  11. package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
  12. package/fesm2022/taiga-ui-core-components-button.mjs +9 -10
  13. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-core-components-calendar.mjs +21 -24
  15. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-core-components-data-list.mjs +27 -29
  17. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-core-components-dialog.mjs +24 -25
  19. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-core-components-error.mjs +6 -7
  21. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-core-components-expand.mjs +10 -10
  23. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +6 -13
  25. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-core-components-icon.mjs +22 -39
  27. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-core-components-label.mjs +8 -8
  29. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-core-components-link.mjs +8 -8
  31. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-core-components-loader.mjs +6 -7
  33. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-core-components-notification.mjs +7 -7
  35. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-core-components-root.mjs +8 -10
  37. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +28 -28
  39. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-core-components-spin-button.mjs +7 -7
  41. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-core-components-textfield.mjs +62 -61
  43. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-core-directives-appearance.mjs +11 -11
  45. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-core-directives-date-format.mjs +5 -5
  47. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +67 -67
  49. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-core-directives-group.mjs +8 -8
  51. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-core-directives-hint.mjs +59 -60
  53. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-core-directives-icons.mjs +11 -11
  55. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +11 -11
  57. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-core-directives-number-format.mjs +5 -5
  59. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-core-directives-popup.mjs +10 -10
  61. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-core-directives-surface.mjs +8 -8
  63. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-core-directives-title.mjs +7 -7
  65. package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +3 -3
  67. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +3 -3
  69. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +3 -3
  71. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-core-pipes-flag.mjs +3 -3
  73. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +3 -3
  75. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
  77. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-core-pipes-initials.mjs +3 -3
  79. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-core-pipes-month.mjs +3 -3
  81. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +3 -3
  83. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-services.mjs +18 -18
  85. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-core-tokens.mjs +9 -20
  87. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  91. package/package.json +7 -107
  92. package/styles/components/appearance.less +6 -0
  93. package/styles/components/icon.less +32 -22
  94. package/styles/components/icons.less +12 -8
  95. package/styles/components/link.less +1 -3
  96. package/styles/mixins/mixins.less +1 -1
  97. package/styles/mixins/mixins.scss +1 -1
  98. package/styles/theme/appearance/outline.less +1 -2
  99. package/styles/theme/appearance/textfield.less +1 -2
  100. package/tokens/icon-resolver.d.ts +1 -1
  101. package/esm2022/animations/animations.mjs +0 -363
  102. package/esm2022/animations/index.mjs +0 -2
  103. package/esm2022/animations/taiga-ui-core-animations.mjs +0 -5
  104. package/esm2022/classes/accessors.mjs +0 -31
  105. package/esm2022/classes/driver.mjs +0 -36
  106. package/esm2022/classes/index.mjs +0 -4
  107. package/esm2022/classes/taiga-ui-core-classes.mjs +0 -5
  108. package/esm2022/classes/vehicle.mjs +0 -7
  109. package/esm2022/components/alert/alert.component.mjs +0 -43
  110. package/esm2022/components/alert/alert.directive.mjs +0 -21
  111. package/esm2022/components/alert/alert.interfaces.mjs +0 -2
  112. package/esm2022/components/alert/alert.service.mjs +0 -18
  113. package/esm2022/components/alert/alert.tokens.mjs +0 -51
  114. package/esm2022/components/alert/alerts.component.mjs +0 -33
  115. package/esm2022/components/alert/index.mjs +0 -6
  116. package/esm2022/components/alert/taiga-ui-core-components-alert.mjs +0 -5
  117. package/esm2022/components/button/button.directive.mjs +0 -43
  118. package/esm2022/components/button/button.options.mjs +0 -7
  119. package/esm2022/components/button/index.mjs +0 -3
  120. package/esm2022/components/button/taiga-ui-core-components-button.mjs +0 -5
  121. package/esm2022/components/calendar/calendar-sheet.component.mjs +0 -168
  122. package/esm2022/components/calendar/calendar-sheet.options.mjs +0 -12
  123. package/esm2022/components/calendar/calendar-spin.component.mjs +0 -53
  124. package/esm2022/components/calendar/calendar-year.component.mjs +0 -128
  125. package/esm2022/components/calendar/calendar.component.mjs +0 -147
  126. package/esm2022/components/calendar/index.mjs +0 -6
  127. package/esm2022/components/calendar/taiga-ui-core-components-calendar.mjs +0 -5
  128. package/esm2022/components/data-list/data-list.component.mjs +0 -139
  129. package/esm2022/components/data-list/data-list.directive.mjs +0 -19
  130. package/esm2022/components/data-list/data-list.mjs +0 -14
  131. package/esm2022/components/data-list/data-list.tokens.mjs +0 -18
  132. package/esm2022/components/data-list/index.mjs +0 -9
  133. package/esm2022/components/data-list/opt-group.directive.mjs +0 -21
  134. package/esm2022/components/data-list/option/option-content.mjs +0 -36
  135. package/esm2022/components/data-list/option/option-legacy.component.mjs +0 -90
  136. package/esm2022/components/data-list/option/option.directive.mjs +0 -109
  137. package/esm2022/components/data-list/taiga-ui-core-components-data-list.mjs +0 -5
  138. package/esm2022/components/dialog/dialog-close.service.mjs +0 -41
  139. package/esm2022/components/dialog/dialog.component.mjs +0 -63
  140. package/esm2022/components/dialog/dialog.directive.mjs +0 -21
  141. package/esm2022/components/dialog/dialog.factory.mjs +0 -15
  142. package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
  143. package/esm2022/components/dialog/dialog.service.mjs +0 -18
  144. package/esm2022/components/dialog/dialog.tokens.mjs +0 -33
  145. package/esm2022/components/dialog/dialogs.component.mjs +0 -29
  146. package/esm2022/components/dialog/index.mjs +0 -8
  147. package/esm2022/components/dialog/taiga-ui-core-components-dialog.mjs +0 -5
  148. package/esm2022/components/error/error.component.mjs +0 -34
  149. package/esm2022/components/error/index.mjs +0 -2
  150. package/esm2022/components/error/taiga-ui-core-components-error.mjs +0 -5
  151. package/esm2022/components/expand/expand-content.directive.mjs +0 -18
  152. package/esm2022/components/expand/expand.component.mjs +0 -124
  153. package/esm2022/components/expand/expand.mjs +0 -7
  154. package/esm2022/components/expand/index.mjs +0 -4
  155. package/esm2022/components/expand/taiga-ui-core-components-expand.mjs +0 -5
  156. package/esm2022/components/fullscreen/fullscreen.component.mjs +0 -67
  157. package/esm2022/components/fullscreen/index.mjs +0 -2
  158. package/esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs +0 -5
  159. package/esm2022/components/icon/icon.component.mjs +0 -44
  160. package/esm2022/components/icon/icon.pipe.mjs +0 -19
  161. package/esm2022/components/icon/index.mjs +0 -3
  162. package/esm2022/components/icon/taiga-ui-core-components-icon.mjs +0 -5
  163. package/esm2022/components/index.mjs +0 -18
  164. package/esm2022/components/label/index.mjs +0 -2
  165. package/esm2022/components/label/label.directive.mjs +0 -41
  166. package/esm2022/components/label/taiga-ui-core-components-label.mjs +0 -5
  167. package/esm2022/components/link/index.mjs +0 -3
  168. package/esm2022/components/link/link.directive.mjs +0 -47
  169. package/esm2022/components/link/link.options.mjs +0 -13
  170. package/esm2022/components/link/taiga-ui-core-components-link.mjs +0 -5
  171. package/esm2022/components/loader/index.mjs +0 -3
  172. package/esm2022/components/loader/loader.component.mjs +0 -46
  173. package/esm2022/components/loader/loader.options.mjs +0 -18
  174. package/esm2022/components/loader/taiga-ui-core-components-loader.mjs +0 -5
  175. package/esm2022/components/notification/index.mjs +0 -3
  176. package/esm2022/components/notification/notification.directive.mjs +0 -81
  177. package/esm2022/components/notification/notification.options.mjs +0 -23
  178. package/esm2022/components/notification/taiga-ui-core-components-notification.mjs +0 -5
  179. package/esm2022/components/root/index.mjs +0 -2
  180. package/esm2022/components/root/root.component.mjs +0 -85
  181. package/esm2022/components/root/taiga-ui-core-components-root.mjs +0 -5
  182. package/esm2022/components/scrollbar/index.mjs +0 -9
  183. package/esm2022/components/scrollbar/scroll-controls.component.mjs +0 -32
  184. package/esm2022/components/scrollbar/scroll-into-view.directive.mjs +0 -43
  185. package/esm2022/components/scrollbar/scroll-ref.directive.mjs +0 -19
  186. package/esm2022/components/scrollbar/scrollable.directive.mjs +0 -26
  187. package/esm2022/components/scrollbar/scrollbar.component.mjs +0 -72
  188. package/esm2022/components/scrollbar/scrollbar.directive.mjs +0 -93
  189. package/esm2022/components/scrollbar/scrollbar.options.mjs +0 -6
  190. package/esm2022/components/scrollbar/scrollbar.service.mjs +0 -46
  191. package/esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs +0 -5
  192. package/esm2022/components/spin-button/index.mjs +0 -2
  193. package/esm2022/components/spin-button/spin-button.component.mjs +0 -51
  194. package/esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs +0 -5
  195. package/esm2022/components/taiga-ui-core-components.mjs +0 -5
  196. package/esm2022/components/textfield/index.mjs +0 -16
  197. package/esm2022/components/textfield/select-like.directive.mjs +0 -42
  198. package/esm2022/components/textfield/select.directive.mjs +0 -64
  199. package/esm2022/components/textfield/taiga-ui-core-components-textfield.mjs +0 -5
  200. package/esm2022/components/textfield/textfield-accessor.mjs +0 -7
  201. package/esm2022/components/textfield/textfield-auxiliary.mjs +0 -7
  202. package/esm2022/components/textfield/textfield-content.directive.mjs +0 -22
  203. package/esm2022/components/textfield/textfield-dropdown.directive.mjs +0 -43
  204. package/esm2022/components/textfield/textfield-icon.mjs +0 -10
  205. package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +0 -34
  206. package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +0 -137
  207. package/esm2022/components/textfield/textfield.component.mjs +0 -180
  208. package/esm2022/components/textfield/textfield.directive.mjs +0 -134
  209. package/esm2022/components/textfield/textfield.mjs +0 -19
  210. package/esm2022/components/textfield/textfield.options.mjs +0 -63
  211. package/esm2022/components/textfield/with-native-picker.directive.mjs +0 -24
  212. package/esm2022/directives/appearance/appearance.bindings.mjs +0 -15
  213. package/esm2022/directives/appearance/appearance.directive.mjs +0 -79
  214. package/esm2022/directives/appearance/appearance.options.mjs +0 -12
  215. package/esm2022/directives/appearance/index.mjs +0 -5
  216. package/esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs +0 -5
  217. package/esm2022/directives/appearance/with-appearance.mjs +0 -27
  218. package/esm2022/directives/date-format/date-format.directive.mjs +0 -31
  219. package/esm2022/directives/date-format/index.mjs +0 -2
  220. package/esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs +0 -5
  221. package/esm2022/directives/dropdown/dropdown-context.directive.mjs +0 -76
  222. package/esm2022/directives/dropdown/dropdown-hover.directive.mjs +0 -70
  223. package/esm2022/directives/dropdown/dropdown-hover.options.mjs +0 -17
  224. package/esm2022/directives/dropdown/dropdown-limit-width.mjs +0 -37
  225. package/esm2022/directives/dropdown/dropdown-manual.directive.mjs +0 -27
  226. package/esm2022/directives/dropdown/dropdown-open-legacy.directive.mjs +0 -33
  227. package/esm2022/directives/dropdown/dropdown-open.directive.mjs +0 -169
  228. package/esm2022/directives/dropdown/dropdown-options.directive.mjs +0 -73
  229. package/esm2022/directives/dropdown/dropdown-portal.directive.mjs +0 -34
  230. package/esm2022/directives/dropdown/dropdown-position-sided.directive.mjs +0 -69
  231. package/esm2022/directives/dropdown/dropdown-position.directive.mjs +0 -88
  232. package/esm2022/directives/dropdown/dropdown-selection.directive.mjs +0 -159
  233. package/esm2022/directives/dropdown/dropdown.bindings.mjs +0 -19
  234. package/esm2022/directives/dropdown/dropdown.component.mjs +0 -92
  235. package/esm2022/directives/dropdown/dropdown.directive.mjs +0 -110
  236. package/esm2022/directives/dropdown/dropdown.driver.mjs +0 -32
  237. package/esm2022/directives/dropdown/dropdown.mjs +0 -29
  238. package/esm2022/directives/dropdown/dropdown.providers.mjs +0 -10
  239. package/esm2022/directives/dropdown/dropdown.service.mjs +0 -15
  240. package/esm2022/directives/dropdown/dropdowns.component.mjs +0 -24
  241. package/esm2022/directives/dropdown/index.mjs +0 -22
  242. package/esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs +0 -5
  243. package/esm2022/directives/dropdown/with-dropdown-open.directive.mjs +0 -23
  244. package/esm2022/directives/group/group.directive.mjs +0 -53
  245. package/esm2022/directives/group/group.options.mjs +0 -15
  246. package/esm2022/directives/group/index.mjs +0 -3
  247. package/esm2022/directives/group/taiga-ui-core-directives-group.mjs +0 -5
  248. package/esm2022/directives/hint/hint-describe.directive.mjs +0 -50
  249. package/esm2022/directives/hint/hint-driver.directive.mjs +0 -19
  250. package/esm2022/directives/hint/hint-host.directive.mjs +0 -27
  251. package/esm2022/directives/hint/hint-hover.directive.mjs +0 -59
  252. package/esm2022/directives/hint/hint-manual.directive.mjs +0 -33
  253. package/esm2022/directives/hint/hint-options.directive.mjs +0 -86
  254. package/esm2022/directives/hint/hint-overflow.directive.mjs +0 -38
  255. package/esm2022/directives/hint/hint-pointer.directive.mjs +0 -33
  256. package/esm2022/directives/hint/hint-position.directive.mjs +0 -112
  257. package/esm2022/directives/hint/hint-unstyled.component.mjs +0 -39
  258. package/esm2022/directives/hint/hint.component.mjs +0 -127
  259. package/esm2022/directives/hint/hint.directive.mjs +0 -99
  260. package/esm2022/directives/hint/hint.mjs +0 -27
  261. package/esm2022/directives/hint/hint.providers.mjs +0 -9
  262. package/esm2022/directives/hint/hint.service.mjs +0 -29
  263. package/esm2022/directives/hint/hints.component.mjs +0 -34
  264. package/esm2022/directives/hint/index.mjs +0 -17
  265. package/esm2022/directives/hint/taiga-ui-core-directives-hint.mjs +0 -5
  266. package/esm2022/directives/icons/icons.directive.mjs +0 -66
  267. package/esm2022/directives/icons/index.mjs +0 -3
  268. package/esm2022/directives/icons/taiga-ui-core-directives-icons.mjs +0 -5
  269. package/esm2022/directives/icons/with-icons.mjs +0 -22
  270. package/esm2022/directives/index.mjs +0 -12
  271. package/esm2022/directives/items-handlers/index.mjs +0 -4
  272. package/esm2022/directives/items-handlers/items-handlers.directive.mjs +0 -63
  273. package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +0 -27
  274. package/esm2022/directives/items-handlers/items-handlers.validator.mjs +0 -32
  275. package/esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs +0 -5
  276. package/esm2022/directives/number-format/index.mjs +0 -2
  277. package/esm2022/directives/number-format/number-format.directive.mjs +0 -31
  278. package/esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs +0 -5
  279. package/esm2022/directives/popup/index.mjs +0 -4
  280. package/esm2022/directives/popup/popup.directive.mjs +0 -31
  281. package/esm2022/directives/popup/popup.service.mjs +0 -15
  282. package/esm2022/directives/popup/popups.component.mjs +0 -20
  283. package/esm2022/directives/popup/taiga-ui-core-directives-popup.mjs +0 -5
  284. package/esm2022/directives/surface/index.mjs +0 -2
  285. package/esm2022/directives/surface/surface.directive.mjs +0 -44
  286. package/esm2022/directives/surface/taiga-ui-core-directives-surface.mjs +0 -5
  287. package/esm2022/directives/taiga-ui-core-directives.mjs +0 -5
  288. package/esm2022/directives/title/index.mjs +0 -2
  289. package/esm2022/directives/title/taiga-ui-core-directives-title.mjs +0 -5
  290. package/esm2022/directives/title/title.directive.mjs +0 -37
  291. package/esm2022/index.mjs +0 -9
  292. package/esm2022/pipes/auto-color/auto-color.pipe.mjs +0 -19
  293. package/esm2022/pipes/auto-color/index.mjs +0 -2
  294. package/esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs +0 -5
  295. package/esm2022/pipes/calendar-sheet/calendar-sheet.pipe.mjs +0 -54
  296. package/esm2022/pipes/calendar-sheet/index.mjs +0 -2
  297. package/esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs +0 -5
  298. package/esm2022/pipes/calendar-sheet/utils.mjs +0 -36
  299. package/esm2022/pipes/fallback-src/fallback-src.pipe.mjs +0 -23
  300. package/esm2022/pipes/fallback-src/index.mjs +0 -2
  301. package/esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs +0 -5
  302. package/esm2022/pipes/flag/flag.pipe.mjs +0 -26
  303. package/esm2022/pipes/flag/index.mjs +0 -2
  304. package/esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs +0 -5
  305. package/esm2022/pipes/format-date/format-date.pipe.mjs +0 -22
  306. package/esm2022/pipes/format-date/index.mjs +0 -2
  307. package/esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs +0 -5
  308. package/esm2022/pipes/format-number/format-number.pipe.mjs +0 -36
  309. package/esm2022/pipes/format-number/index.mjs +0 -2
  310. package/esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs +0 -5
  311. package/esm2022/pipes/index.mjs +0 -10
  312. package/esm2022/pipes/initials/index.mjs +0 -2
  313. package/esm2022/pipes/initials/initials.pipe.mjs +0 -23
  314. package/esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs +0 -5
  315. package/esm2022/pipes/month/index.mjs +0 -2
  316. package/esm2022/pipes/month/month.pipe.mjs +0 -23
  317. package/esm2022/pipes/month/taiga-ui-core-pipes-month.mjs +0 -5
  318. package/esm2022/pipes/order-week-days/index.mjs +0 -2
  319. package/esm2022/pipes/order-week-days/order-week-days.pipe.mjs +0 -30
  320. package/esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs +0 -5
  321. package/esm2022/pipes/taiga-ui-core-pipes.mjs +0 -5
  322. package/esm2022/services/breakpoint.service.mjs +0 -31
  323. package/esm2022/services/dark-theme.service.mjs +0 -24
  324. package/esm2022/services/format-date.service.mjs +0 -24
  325. package/esm2022/services/index.mjs +0 -6
  326. package/esm2022/services/position.service.mjs +0 -26
  327. package/esm2022/services/taiga-ui-core-services.mjs +0 -5
  328. package/esm2022/services/visual-viewport.service.mjs +0 -29
  329. package/esm2022/taiga-ui-core.mjs +0 -5
  330. package/esm2022/tokens/animations-speed.mjs +0 -9
  331. package/esm2022/tokens/assets-path.mjs +0 -11
  332. package/esm2022/tokens/auxiliary.mjs +0 -9
  333. package/esm2022/tokens/common-icons.mjs +0 -18
  334. package/esm2022/tokens/dark-mode.mjs +0 -41
  335. package/esm2022/tokens/date-format.mjs +0 -20
  336. package/esm2022/tokens/day-type-handler.mjs +0 -8
  337. package/esm2022/tokens/first-day-of-week.mjs +0 -9
  338. package/esm2022/tokens/i18n.mjs +0 -45
  339. package/esm2022/tokens/icon-resolver.mjs +0 -44
  340. package/esm2022/tokens/icon.mjs +0 -8
  341. package/esm2022/tokens/icons.mjs +0 -21
  342. package/esm2022/tokens/index.mjs +0 -21
  343. package/esm2022/tokens/media.mjs +0 -12
  344. package/esm2022/tokens/number-format.mjs +0 -24
  345. package/esm2022/tokens/reduced-motion.mjs +0 -7
  346. package/esm2022/tokens/scroll-ref.mjs +0 -6
  347. package/esm2022/tokens/selection-stream.mjs +0 -14
  348. package/esm2022/tokens/spin-icons.mjs +0 -8
  349. package/esm2022/tokens/taiga-ui-core-tokens.mjs +0 -5
  350. package/esm2022/tokens/theme.mjs +0 -5
  351. package/esm2022/tokens/viewport.mjs +0 -35
  352. package/esm2022/types/direction.mjs +0 -2
  353. package/esm2022/types/index.mjs +0 -2
  354. package/esm2022/types/interactive-state.mjs +0 -2
  355. package/esm2022/types/orientation.mjs +0 -2
  356. package/esm2022/types/point.mjs +0 -2
  357. package/esm2022/types/portal-item.mjs +0 -2
  358. package/esm2022/types/range-state.mjs +0 -2
  359. package/esm2022/types/size.mjs +0 -13
  360. package/esm2022/types/taiga-ui-core-types.mjs +0 -5
  361. package/esm2022/types/value-content-context.mjs +0 -2
  362. package/esm2022/utils/dom/check-fixed-position.mjs +0 -9
  363. package/esm2022/utils/dom/get-viewport.mjs +0 -24
  364. package/esm2022/utils/dom/get-word-range.mjs +0 -51
  365. package/esm2022/utils/dom/index.mjs +0 -4
  366. package/esm2022/utils/dom/taiga-ui-core-utils-dom.mjs +0 -5
  367. package/esm2022/utils/format/format-number.mjs +0 -47
  368. package/esm2022/utils/format/get-fractional-part-padded.mjs +0 -16
  369. package/esm2022/utils/format/index.mjs +0 -5
  370. package/esm2022/utils/format/number-to-string-without-exp.mjs +0 -18
  371. package/esm2022/utils/format/string-hash-to-hsl.mjs +0 -21
  372. package/esm2022/utils/format/taiga-ui-core-utils-format.mjs +0 -5
  373. package/esm2022/utils/index.mjs +0 -4
  374. package/esm2022/utils/miscellaneous/font-scaling.mjs +0 -11
  375. package/esm2022/utils/miscellaneous/index.mjs +0 -7
  376. package/esm2022/utils/miscellaneous/is-editing-key.mjs +0 -18
  377. package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
  378. package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
  379. package/esm2022/utils/miscellaneous/size-bigger.mjs +0 -19
  380. package/esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs +0 -5
  381. package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -16
  382. package/esm2022/utils/taiga-ui-core-utils.mjs +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/core",
3
- "version": "4.52.0-canary.536e4ff",
3
+ "version": "4.52.0-canary.698642f",
4
4
  "description": "Core library for creating Angular components and applications using Taiga UI",
5
5
  "keywords": [
6
6
  "angular",
@@ -21,312 +21,212 @@
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
  },
100
74
  "./components/data-list": {
101
75
  "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
76
  "default": "./fesm2022/taiga-ui-core-components-data-list.mjs"
105
77
  },
106
78
  "./components/dialog": {
107
79
  "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
80
  "default": "./fesm2022/taiga-ui-core-components-dialog.mjs"
111
81
  },
112
82
  "./components/error": {
113
83
  "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
84
  "default": "./fesm2022/taiga-ui-core-components-error.mjs"
117
85
  },
118
86
  "./components/expand": {
119
87
  "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
88
  "default": "./fesm2022/taiga-ui-core-components-expand.mjs"
123
89
  },
124
90
  "./components/fullscreen": {
125
91
  "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
92
  "default": "./fesm2022/taiga-ui-core-components-fullscreen.mjs"
129
93
  },
130
94
  "./components/icon": {
131
95
  "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
96
  "default": "./fesm2022/taiga-ui-core-components-icon.mjs"
135
97
  },
136
98
  "./components/label": {
137
99
  "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
100
  "default": "./fesm2022/taiga-ui-core-components-label.mjs"
141
101
  },
142
102
  "./components/link": {
143
103
  "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
104
  "default": "./fesm2022/taiga-ui-core-components-link.mjs"
147
105
  },
148
106
  "./components/loader": {
149
107
  "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
108
  "default": "./fesm2022/taiga-ui-core-components-loader.mjs"
153
109
  },
154
110
  "./components/notification": {
155
111
  "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
112
  "default": "./fesm2022/taiga-ui-core-components-notification.mjs"
159
113
  },
160
114
  "./components/root": {
161
115
  "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
116
  "default": "./fesm2022/taiga-ui-core-components-root.mjs"
165
117
  },
166
118
  "./components/scrollbar": {
167
119
  "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
120
  "default": "./fesm2022/taiga-ui-core-components-scrollbar.mjs"
171
121
  },
172
122
  "./components/spin-button": {
173
123
  "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
124
  "default": "./fesm2022/taiga-ui-core-components-spin-button.mjs"
177
125
  },
178
126
  "./components/textfield": {
179
127
  "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
128
  "default": "./fesm2022/taiga-ui-core-components-textfield.mjs"
183
129
  },
184
130
  "./directives/appearance": {
185
131
  "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
132
  "default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
189
133
  },
190
134
  "./directives/date-format": {
191
135
  "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
136
  "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
195
137
  },
196
138
  "./directives/dropdown": {
197
139
  "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
140
  "default": "./fesm2022/taiga-ui-core-directives-dropdown.mjs"
201
141
  },
202
142
  "./directives/group": {
203
143
  "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
144
  "default": "./fesm2022/taiga-ui-core-directives-group.mjs"
207
145
  },
208
146
  "./directives/hint": {
209
147
  "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
148
  "default": "./fesm2022/taiga-ui-core-directives-hint.mjs"
213
149
  },
214
150
  "./directives/icons": {
215
151
  "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
152
  "default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
219
153
  },
220
154
  "./directives/items-handlers": {
221
155
  "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
156
  "default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
225
157
  },
226
158
  "./directives/number-format": {
227
159
  "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
160
  "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
231
161
  },
232
162
  "./directives/popup": {
233
163
  "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
164
  "default": "./fesm2022/taiga-ui-core-directives-popup.mjs"
237
165
  },
238
166
  "./directives/surface": {
239
167
  "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
168
  "default": "./fesm2022/taiga-ui-core-directives-surface.mjs"
243
169
  },
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
182
  "./pipes/fallback-src": {
263
183
  "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
184
  "default": "./fesm2022/taiga-ui-core-pipes-fallback-src.mjs"
267
185
  },
268
186
  "./pipes/flag": {
269
187
  "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
188
  "default": "./fesm2022/taiga-ui-core-pipes-flag.mjs"
273
189
  },
274
190
  "./pipes/format-date": {
275
191
  "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
192
  "default": "./fesm2022/taiga-ui-core-pipes-format-date.mjs"
279
193
  },
280
194
  "./pipes/format-number": {
281
195
  "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
196
  "default": "./fesm2022/taiga-ui-core-pipes-format-number.mjs"
285
197
  },
286
198
  "./pipes/initials": {
287
199
  "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
200
  "default": "./fesm2022/taiga-ui-core-pipes-initials.mjs"
291
201
  },
292
202
  "./pipes/month": {
293
203
  "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
204
  "default": "./fesm2022/taiga-ui-core-pipes-month.mjs"
297
205
  },
298
206
  "./pipes/order-week-days": {
299
207
  "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
208
  "default": "./fesm2022/taiga-ui-core-pipes-order-week-days.mjs"
303
209
  },
304
210
  "./utils/dom": {
305
211
  "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
212
  "default": "./fesm2022/taiga-ui-core-utils-dom.mjs"
309
213
  },
310
214
  "./utils/format": {
311
215
  "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
216
  "default": "./fesm2022/taiga-ui-core-utils-format.mjs"
315
217
  },
316
218
  "./utils/miscellaneous": {
317
219
  "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
220
  "default": "./fesm2022/taiga-ui-core-utils-miscellaneous.mjs"
321
221
  }
322
222
  },
323
223
  "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",
224
+ "@angular/animations": ">=19.0.0",
225
+ "@angular/common": ">=19.0.0",
226
+ "@angular/core": ">=19.0.0",
227
+ "@angular/forms": ">=19.0.0",
228
+ "@angular/platform-browser": ">=19.0.0",
229
+ "@angular/router": ">=19.0.0",
330
230
  "@ng-web-apis/common": "^4.12.0",
331
231
  "@ng-web-apis/mutation-observer": "^4.12.0",
332
232
  "@taiga-ui/cdk": "^4.52.0",
@@ -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
  });
@@ -9,18 +9,20 @@
9
9
  *
10
10
  * @vars
11
11
  * --t-icon — depending on the data-icon, it can serve as either a mask (`svg`),
12
- a background (`image`), or content (`font`) for the icon.
12
+ a background (`img`), or content (`font`) for the icon.
13
13
  * --t-icon-bg — mask for the background
14
14
  *
15
15
  * @example
16
- * <tui-icon data-icon="svg" style="--t-icon: url('icon.svg')"></tui-icon>
16
+ * <tui-icon tuiIcons style="--t-icon: url('icon.svg')"></tui-icon>
17
17
  *
18
18
  * @see-also
19
19
  * Icons
20
20
  */
21
21
  tui-icon {
22
+ --tui-icon-size: 1em;
23
+
22
24
  position: relative;
23
- display: inline-block;
25
+ display: inline-flex;
24
26
  inline-size: 1em;
25
27
  block-size: 1em;
26
28
  font-size: 1.5rem;
@@ -28,7 +30,7 @@ tui-icon {
28
30
  border: 0 solid transparent;
29
31
  vertical-align: middle;
30
32
  box-sizing: border-box;
31
- 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%;
32
34
 
33
35
  @media @tui-mouse {
34
36
  &[data-appearance='icon']:hover {
@@ -36,27 +38,35 @@ tui-icon {
36
38
  }
37
39
  }
38
40
 
39
- &::after,
40
- &[tuiIcons]::after {
41
- .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
+ }
42
48
 
43
- content: '';
44
- display: block;
45
- mask: var(--t-icon) no-repeat center/contain;
46
- background: currentColor;
47
- }
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
+ }
48
55
 
49
- &[data-icon='image']::after {
50
- mask: none;
51
- background: var(--t-icon) no-repeat center/contain;
56
+ &::after {
57
+ .fullsize();
58
+ }
52
59
  }
53
60
 
54
- &[data-icon='font']::after {
55
- content: var(--t-icon);
56
- mask: none;
57
- background: none;
58
- font: 1em/1 var(--tui-font-icon, inherit);
59
- text-align: center;
60
- text-transform: none;
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
+ }
61
71
  }
62
72
  }
@@ -7,12 +7,12 @@
7
7
  *
8
8
  * @vars
9
9
  * --t-icon-start — depending on the data-icon-start, it can serve as either a mask (`svg`),
10
- a background (`image`), or content (`font`) for the ::before element
10
+ a background (`img`), or content (`font`) for the ::before element
11
11
  * --t-icon-end — depending on the data-icon-end, it can serve as either a mask (`svg`),
12
- a background (`image`), or content (`font`) for the ::after element
12
+ a background (`img`), or content (`font`) for the ::after element
13
13
  *
14
14
  * @example
15
- * <button tuiIcons data-icon-start="svg" style="--t-icon-start: url('icon.svg')"></button>
15
+ * <button tuiIcons style="--t-icon-start: url('icon.svg')"></button>
16
16
  *
17
17
  * @see-also
18
18
  * Button, Icon, Link
@@ -27,7 +27,7 @@
27
27
  inline-size: 1em;
28
28
  block-size: 1em;
29
29
  line-height: 1em;
30
- font-size: 1.5rem;
30
+ font-size: var(--tui-icon-size, 1.5rem);
31
31
  flex-shrink: 0;
32
32
  box-sizing: content-box;
33
33
  background: currentColor;
@@ -35,20 +35,24 @@
35
35
 
36
36
  &::before {
37
37
  display: var(--t-icon-start, none);
38
- mask: var(--t-icon-start) no-repeat center/contain padding-box;
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;
39
42
  }
40
43
 
41
44
  &::after {
42
45
  display: var(--t-icon-end, none);
43
- 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;
44
48
  }
45
49
 
46
- &[data-icon-start='image']::before {
50
+ &[data-icon-start='img']::before {
47
51
  mask: none;
48
52
  background: var(--t-icon-start) no-repeat center/contain padding-box;
49
53
  }
50
54
 
51
- &[data-icon-end='image']::after {
55
+ &[data-icon-end='img']::after {
52
56
  mask: none;
53
57
  background: var(--t-icon-end) no-repeat center/contain padding-box;
54
58
  }
@@ -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 {
@@ -77,7 +77,7 @@
77
77
  > img,
78
78
  > tui-svg,
79
79
  > tui-icon,
80
- > tui-avatar,
80
+ > [tuiAvatar],
81
81
  > tui-badge,
82
82
  > [tuiBadge],
83
83
  > [tuiRadio],
@@ -74,7 +74,7 @@
74
74
  > img,
75
75
  > tui-svg,
76
76
  > tui-icon,
77
- > tui-avatar,
77
+ > [tuiAvatar],
78
78
  > tui-badge,
79
79
  > [tuiBadge],
80
80
  > [tuiRadio],
@@ -67,8 +67,7 @@
67
67
 
68
68
  &::before,
69
69
  &::after {
70
- .transition(~'color, transform');
71
-
70
+ transition-property: color, transform;
72
71
  color: var(--tui-text-tertiary);
73
72
  }
74
73
 
@@ -15,8 +15,7 @@
15
15
  // TODO: Remove tuiWrapper hack in v5
16
16
  &:not([tuiWrapper])::before,
17
17
  &:not([tuiWrapper])::after {
18
- .transition(~'color, transform');
19
-
18
+ transition-property: color, transform;
20
19
  color: var(--tui-text-tertiary);
21
20
  }
22
21
 
@@ -5,6 +5,6 @@ export declare const TUI_ICON_RESOLVER: InjectionToken<TuiStringHandler<string>>
5
5
  * @deprecated use {@link TUI_ICON_RESOLVER}
6
6
  */
7
7
  export declare const TUI_ICON_START_RESOLVER: InjectionToken<TuiStringHandler<string>>;
8
- export declare function tuiGetIconMode(icon?: string | null): 'font' | 'image' | 'svg' | null;
8
+ export declare function tuiGetIconMode(icon?: string | null): string | undefined;
9
9
  export declare function tuiInjectIconResolver(): TuiStringHandler<string>;
10
10
  export declare function tuiIconResolverProvider(useValue: TuiStringHandler<string>): Provider;