@taiga-ui/core 4.52.0-canary.9fae831 → 4.52.0-canary.a1004d6

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 (344) hide show
  1. package/README.md +1 -1
  2. package/classes/accessors.d.ts +2 -2
  3. package/components/button/button.directive.d.ts +2 -2
  4. package/components/calendar/calendar-sheet.component.d.ts +1 -1
  5. package/components/calendar/calendar-sheet.options.d.ts +1 -3
  6. package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +2 -2
  7. package/components/calendar/calendar-spin.component.d.ts +1 -0
  8. package/components/calendar/calendar-year.component.d.ts +1 -1
  9. package/components/calendar/calendar.options.d.ts +9 -0
  10. package/components/calendar/index.d.ts +3 -0
  11. package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +1 -1
  12. package/components/cell/cell.directive.d.ts +9 -0
  13. package/components/cell/cell.options.d.ts +6 -0
  14. package/components/cell/index.d.ts +2 -0
  15. package/components/data-list/data-list.component.d.ts +8 -12
  16. package/components/data-list/data-list.d.ts +3 -4
  17. package/components/data-list/data-list.tokens.d.ts +1 -23
  18. package/components/data-list/index.d.ts +3 -4
  19. package/components/data-list/opt-group.directive.d.ts +2 -2
  20. package/components/data-list/option-content.directive.d.ts +14 -0
  21. package/components/data-list/option-with-value.directive.d.ts +9 -0
  22. package/components/data-list/option.directive.d.ts +19 -0
  23. package/components/error/error.component.d.ts +1 -1
  24. package/components/expand/expand.component.d.ts +9 -28
  25. package/components/expand/index.d.ts +0 -2
  26. package/components/icon/icon.component.d.ts +2 -2
  27. package/components/index.d.ts +3 -3
  28. package/components/input/index.d.ts +2 -0
  29. package/components/input/input.d.ts +5 -0
  30. package/components/input/input.directive.d.ts +29 -0
  31. package/components/label/label.directive.d.ts +1 -1
  32. package/components/link/index.d.ts +0 -1
  33. package/components/link/link.directive.d.ts +8 -6
  34. package/components/loader/loader.component.d.ts +7 -7
  35. package/components/loader/loader.options.d.ts +1 -3
  36. package/components/notification/index.d.ts +3 -0
  37. package/components/notification/notification.component.d.ts +14 -0
  38. package/components/notification/notification.d.ts +3 -0
  39. package/components/notification/notification.directive.d.ts +7 -12
  40. package/components/notification/notification.options.d.ts +10 -7
  41. package/components/notification/notification.service.d.ts +17 -0
  42. package/components/root/root.component.d.ts +2 -3
  43. package/components/scrollbar/scroll-into-view.directive.d.ts +3 -2
  44. package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
  45. package/components/scrollbar/scrollbar.component.d.ts +1 -5
  46. package/components/scrollbar/scrollbar.directive.d.ts +2 -2
  47. package/components/spin-button/spin-button.component.d.ts +9 -10
  48. package/components/textfield/index.d.ts +1 -4
  49. package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
  50. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +9 -15
  51. package/components/textfield/textfield.component.d.ts +20 -34
  52. package/components/textfield/textfield.d.ts +2 -4
  53. package/components/textfield/textfield.options.d.ts +8 -11
  54. package/{directives → components}/title/title.directive.d.ts +2 -3
  55. package/directives/appearance/appearance.directive.d.ts +1 -1
  56. package/directives/appearance/appearance.options.d.ts +1 -1
  57. package/directives/date-format/date-format.directive.d.ts +3 -7
  58. package/directives/group/group.directive.d.ts +7 -7
  59. package/directives/group/group.options.d.ts +1 -3
  60. package/directives/index.d.ts +0 -5
  61. package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
  62. package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
  63. package/directives/number-format/number-format.directive.d.ts +3 -7
  64. package/fesm2022/taiga-ui-core-classes.mjs +9 -11
  65. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-core-components-button.mjs +13 -20
  67. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-components-calendar.mjs +140 -36
  69. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  71. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  72. package/fesm2022/taiga-ui-core-components-data-list.mjs +111 -280
  73. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-core-components-error.mjs +14 -13
  75. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-core-components-expand.mjs +33 -131
  77. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-core-components-icon.mjs +10 -11
  79. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-core-components-input.mjs +103 -0
  81. package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
  82. package/fesm2022/taiga-ui-core-components-label.mjs +13 -18
  83. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-components-link.mjs +16 -36
  85. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-core-components-loader.mjs +16 -34
  87. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-core-components-notification.mjs +108 -68
  89. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-core-components-root.mjs +9 -25
  91. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +68 -82
  93. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-core-components-spin-button.mjs +18 -31
  95. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-core-components-textfield.mjs +120 -419
  97. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-core-components-title.mjs +37 -0
  99. package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -0
  100. package/fesm2022/taiga-ui-core-components.mjs +3 -3
  101. package/fesm2022/taiga-ui-core-directives-appearance.mjs +18 -21
  102. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-core-directives-date-format.mjs +26 -20
  104. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-core-directives-group.mjs +25 -40
  106. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-core-directives-icons.mjs +14 -17
  108. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +18 -42
  110. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-directives-number-format.mjs +32 -20
  112. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-core-directives.mjs +0 -5
  114. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -15
  116. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-core-pipes.mjs +0 -7
  118. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-core-portals-alert.mjs +73 -0
  120. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
  121. package/fesm2022/taiga-ui-core-portals-dialog.mjs +158 -0
  122. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
  123. package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +191 -359
  124. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
  125. package/fesm2022/taiga-ui-core-portals-hint.mjs +609 -0
  126. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
  127. package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
  128. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
  129. package/fesm2022/taiga-ui-core-portals-popup.mjs +56 -0
  130. package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
  131. package/fesm2022/taiga-ui-core-portals.mjs +11 -0
  132. package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
  133. package/fesm2022/taiga-ui-core-services.mjs +15 -79
  134. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-core-tokens.mjs +51 -64
  136. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -22
  138. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +20 -20
  140. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-core.mjs +1 -1
  142. package/index.d.ts +1 -1
  143. package/package.json +71 -93
  144. package/pipes/format-number/format-number.pipe.d.ts +6 -4
  145. package/pipes/index.d.ts +0 -7
  146. package/portals/alert/alert.directive.d.ts +11 -0
  147. package/portals/alert/alert.service.d.ts +12 -0
  148. package/portals/alert/index.d.ts +2 -0
  149. package/portals/dialog/dialog.component.d.ts +14 -0
  150. package/portals/dialog/dialog.directive.d.ts +8 -0
  151. package/{components → portals}/dialog/dialog.factory.d.ts +1 -1
  152. package/portals/dialog/dialog.options.d.ts +25 -0
  153. package/{components/dialog/dialog-close.service.d.ts → portals/dialog/dialog.providers.d.ts} +2 -0
  154. package/portals/dialog/dialog.service.d.ts +10 -0
  155. package/portals/dialog/index.d.ts +6 -0
  156. package/portals/dropdown/dropdown-content.directive.d.ts +9 -0
  157. package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
  158. package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +1 -3
  159. package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
  160. package/portals/dropdown/dropdown-open.directive.d.ts +30 -0
  161. package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +0 -4
  162. package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
  163. package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +5 -5
  164. package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
  165. package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
  166. package/{directives → portals}/dropdown/dropdown.d.ts +2 -3
  167. package/{directives → portals}/dropdown/dropdown.directive.d.ts +6 -8
  168. package/{directives → portals}/dropdown/index.d.ts +1 -4
  169. package/{directives → portals}/hint/hint-describe.directive.d.ts +4 -6
  170. package/{directives → portals}/hint/hint-host.directive.d.ts +2 -2
  171. package/{directives → portals}/hint/hint-hover.directive.d.ts +3 -4
  172. package/{directives → portals}/hint/hint-manual.directive.d.ts +2 -2
  173. package/{directives → portals}/hint/hint-options.directive.d.ts +3 -3
  174. package/{directives → portals}/hint/hint-overflow.directive.d.ts +2 -2
  175. package/{directives → portals}/hint/hint-position.directive.d.ts +6 -7
  176. package/{directives → portals}/hint/hint-unstyled.component.d.ts +2 -7
  177. package/portals/hint/hint.component.d.ts +29 -0
  178. package/portals/hint/hint.directive.d.ts +24 -0
  179. package/{directives → portals}/hint/index.d.ts +0 -2
  180. package/portals/index.d.ts +6 -0
  181. package/portals/modal/index.d.ts +2 -0
  182. package/portals/modal/modal.component.d.ts +17 -0
  183. package/portals/modal/modal.service.d.ts +13 -0
  184. package/portals/popup/popup.directive.d.ts +12 -0
  185. package/{directives → portals}/popup/popup.service.d.ts +1 -1
  186. package/{directives → portals}/popup/popups.component.d.ts +2 -2
  187. package/services/index.d.ts +0 -3
  188. package/styles/components/appearance.less +5 -0
  189. package/styles/components/button.less +10 -20
  190. package/styles/components/icon.less +11 -0
  191. package/styles/components/icons.less +2 -1
  192. package/styles/components/label.less +3 -12
  193. package/styles/components/link.less +9 -24
  194. package/styles/components/notification.less +21 -22
  195. package/styles/components/textfield.less +129 -211
  196. package/styles/components/title.less +8 -8
  197. package/styles/mixins/appearance.less +10 -26
  198. package/styles/mixins/appearance.scss +8 -24
  199. package/styles/mixins/date-picker.less +1 -1
  200. package/styles/mixins/mixins.less +0 -5
  201. package/styles/mixins/mixins.scss +0 -5
  202. package/styles/mixins/picker.less +1 -1
  203. package/styles/mixins/picker.scss +1 -1
  204. package/styles/mixins/slider.less +25 -26
  205. package/styles/mixins/slider.scss +23 -22
  206. package/styles/taiga-ui-local.less +0 -1
  207. package/styles/taiga-ui-local.scss +0 -1
  208. package/styles/taiga-ui-theme.less +0 -1
  209. package/styles/theme/appearance/outline.less +9 -18
  210. package/styles/theme/appearance/primary.less +2 -4
  211. package/styles/theme/appearance/secondary.less +6 -14
  212. package/styles/theme/appearance/status.less +0 -4
  213. package/styles/theme/appearance/table.less +36 -35
  214. package/styles/theme/appearance/textfield.less +30 -27
  215. package/styles/theme/appearance.less +0 -1
  216. package/styles/theme/variables.less +16 -19
  217. package/tokens/breakpoint.d.ts +4 -0
  218. package/tokens/common-icons.d.ts +3 -3
  219. package/tokens/date-format.d.ts +2 -3
  220. package/tokens/i18n.d.ts +7 -7
  221. package/tokens/icon-resolver.d.ts +0 -4
  222. package/tokens/icons.d.ts +0 -4
  223. package/tokens/index.d.ts +1 -4
  224. package/tokens/number-format.d.ts +2 -3
  225. package/types/index.d.ts +0 -3
  226. package/types/point.d.ts +1 -1
  227. package/types/size.d.ts +0 -11
  228. package/utils/format/index.d.ts +0 -1
  229. package/utils/miscellaneous/font-scaling.d.ts +2 -1
  230. package/utils/miscellaneous/get-duration.d.ts +2 -0
  231. package/utils/miscellaneous/index.d.ts +1 -1
  232. package/animations/animations.d.ts +0 -109
  233. package/animations/index.d.ts +0 -1
  234. package/components/alert/alert.component.d.ts +0 -15
  235. package/components/alert/alert.directive.d.ts +0 -7
  236. package/components/alert/alert.interfaces.d.ts +0 -12
  237. package/components/alert/alert.service.d.ts +0 -7
  238. package/components/alert/alert.tokens.d.ts +0 -12
  239. package/components/alert/alerts.component.d.ts +0 -12
  240. package/components/alert/index.d.ts +0 -6
  241. package/components/data-list/data-list.directive.d.ts +0 -7
  242. package/components/data-list/option/option-content.d.ts +0 -16
  243. package/components/data-list/option/option-legacy.component.d.ts +0 -24
  244. package/components/data-list/option/option.directive.d.ts +0 -27
  245. package/components/dialog/active-zone-adapter.directive.d.ts +0 -11
  246. package/components/dialog/dialog.component.d.ts +0 -20
  247. package/components/dialog/dialog.directive.d.ts +0 -7
  248. package/components/dialog/dialog.interfaces.d.ts +0 -34
  249. package/components/dialog/dialog.service.d.ts +0 -7
  250. package/components/dialog/dialog.tokens.d.ts +0 -15
  251. package/components/dialog/dialogs.component.d.ts +0 -8
  252. package/components/dialog/index.d.ts +0 -8
  253. package/components/expand/expand-content.directive.d.ts +0 -8
  254. package/components/expand/expand.d.ts +0 -6
  255. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  256. package/components/fullscreen/index.d.ts +0 -1
  257. package/components/link/link.options.d.ts +0 -12
  258. package/components/textfield/select.directive.d.ts +0 -19
  259. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  260. package/components/textfield/textfield.directive.d.ts +0 -38
  261. package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
  262. package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
  263. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  264. package/directives/dropdown/dropdown.service.d.ts +0 -6
  265. package/directives/dropdown/dropdowns.component.d.ts +0 -9
  266. package/directives/hint/hint.component.d.ts +0 -30
  267. package/directives/hint/hint.directive.d.ts +0 -26
  268. package/directives/hint/hint.service.d.ts +0 -13
  269. package/directives/hint/hints.component.d.ts +0 -12
  270. package/directives/popup/popup.directive.d.ts +0 -11
  271. package/directives/surface/index.d.ts +0 -1
  272. package/directives/surface/surface.directive.d.ts +0 -8
  273. package/fesm2022/taiga-ui-core-animations.mjs +0 -370
  274. package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
  275. package/fesm2022/taiga-ui-core-components-alert.mjs +0 -149
  276. package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
  277. package/fesm2022/taiga-ui-core-components-dialog.mjs +0 -229
  278. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
  279. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -77
  280. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  281. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
  282. package/fesm2022/taiga-ui-core-directives-hint.mjs +0 -709
  283. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
  284. package/fesm2022/taiga-ui-core-directives-popup.mjs +0 -63
  285. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
  286. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  287. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  288. package/fesm2022/taiga-ui-core-directives-title.mjs +0 -43
  289. package/fesm2022/taiga-ui-core-directives-title.mjs.map +0 -1
  290. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -25
  291. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
  292. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -94
  293. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
  294. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -32
  295. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
  296. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -28
  297. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
  298. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -29
  299. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
  300. package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
  301. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
  302. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -36
  303. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
  304. package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
  305. package/pipes/auto-color/index.d.ts +0 -1
  306. package/pipes/calendar-sheet/index.d.ts +0 -1
  307. package/pipes/calendar-sheet/utils.d.ts +0 -20
  308. package/pipes/flag/flag.pipe.d.ts +0 -14
  309. package/pipes/flag/index.d.ts +0 -1
  310. package/pipes/format-date/format-date.pipe.d.ts +0 -9
  311. package/pipes/format-date/index.d.ts +0 -1
  312. package/pipes/initials/index.d.ts +0 -1
  313. package/pipes/initials/initials.pipe.d.ts +0 -7
  314. package/pipes/month/index.d.ts +0 -1
  315. package/pipes/month/month.pipe.d.ts +0 -10
  316. package/pipes/order-week-days/index.d.ts +0 -1
  317. package/services/breakpoint.service.d.ts +0 -16
  318. package/services/dark-theme.service.d.ts +0 -10
  319. package/services/format-date.service.d.ts +0 -8
  320. package/styles/mixins/wrapper.less +0 -64
  321. package/styles/mixins/wrapper.scss +0 -61
  322. package/styles/theme/appearance/opposite.less +0 -17
  323. package/styles/theme/wrapper.less +0 -211
  324. package/tokens/day-type-handler.d.ts +0 -7
  325. package/tokens/first-day-of-week.d.ts +0 -5
  326. package/tokens/scroll-ref.d.ts +0 -2
  327. package/tokens/spin-icons.d.ts +0 -6
  328. package/types/portal-item.d.ts +0 -9
  329. package/types/range-state.d.ts +0 -4
  330. package/types/value-content-context.d.ts +0 -4
  331. package/utils/format/string-hash-to-hsl.d.ts +0 -6
  332. package/utils/miscellaneous/to-animation-options.d.ts +0 -4
  333. /package/{directives → components}/title/index.d.ts +0 -0
  334. /package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -0
  335. /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
  336. /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
  337. /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
  338. /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
  339. /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
  340. /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
  341. /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
  342. /package/{directives → portals}/hint/hint.d.ts +0 -0
  343. /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
  344. /package/{directives → portals}/popup/index.d.ts +0 -0
@@ -3,7 +3,7 @@
3
3
  .appearance-hover(@content) {
4
4
  .interactive({
5
5
  @media @tui-mouse {
6
- &:hover:not(:disabled):not([data-state]) {
6
+ &:hover:not([data-state]) {
7
7
  @content();
8
8
  }
9
9
  }
@@ -12,19 +12,11 @@
12
12
  &[data-state='hover'] {
13
13
  @content();
14
14
  }
15
-
16
- /* @deprecated TODO remove in v5 */
17
- @media @tui-mouse {
18
- &[tuiWrapper]:hover:not(._no-hover),
19
- &[tuiWrapper][data-state='hover'] {
20
- @content();
21
- }
22
- }
23
15
  }
24
16
 
25
17
  .appearance-active(@content) {
26
18
  .interactive({
27
- &:active:not(:disabled):not([data-state]) {
19
+ &:active:not([data-state]) {
28
20
  @content();
29
21
  }
30
22
  });
@@ -32,13 +24,6 @@
32
24
  &[data-state='active'] {
33
25
  @content();
34
26
  }
35
-
36
- /* @deprecated TODO remove in v5 */
37
- &[tuiWrapper]:active:not(._no-active),
38
- &[tuiWrapper][data-state='active'],
39
- &[tuiWrapper][data-state='active']:hover {
40
- @content();
41
- }
42
27
  }
43
28
 
44
29
  .appearance-disabled(@content) {
@@ -46,12 +31,6 @@
46
31
  &[data-state='disabled'] {
47
32
  @content();
48
33
  }
49
-
50
- /* @deprecated TODO remove in v5 */
51
- &[tuiWrapper]:disabled:not([data-state]),
52
- &[tuiWrapper][data-state='disabled'] {
53
- @content();
54
- }
55
34
  }
56
35
 
57
36
  .appearance-focus(@content) {
@@ -62,10 +41,15 @@
62
41
  &[data-focus='true'] {
63
42
  @content();
64
43
  }
44
+ }
65
45
 
66
- /* @deprecated TODO remove in v5 */
67
- &[tuiWrapper]:not(._focused):has(:focus-visible),
68
- &[tuiWrapper]._focused {
46
+ .appearance-invalid(@content) {
47
+ &:is([data-mode~='invalid'], .tui-invalid, :invalid):not(
48
+ [data-mode~='readonly'],
49
+ [data-mode~='valid'],
50
+ [data-state='disabled'],
51
+ :disabled
52
+ ) {
69
53
  @content();
70
54
  }
71
55
  }
@@ -13,14 +13,6 @@
13
13
  &[data-state='hover'] {
14
14
  @content;
15
15
  }
16
-
17
- /* @deprecated TODO remove in v5 */
18
- @media ($tui-mouse) {
19
- &[tuiWrapper]:hover:not(._no-hover),
20
- &[tuiWrapper][data-state='hover'] {
21
- @content;
22
- }
23
- }
24
16
  }
25
17
 
26
18
  @mixin appearance-active {
@@ -33,13 +25,6 @@
33
25
  &[data-state='active'] {
34
26
  @content;
35
27
  }
36
-
37
- /* @deprecated TODO remove in v5 */
38
- &[tuiWrapper]:active:not(._no-active),
39
- &[tuiWrapper][data-state='active'],
40
- &[tuiWrapper][data-state='active']:hover {
41
- @content;
42
- }
43
28
  }
44
29
 
45
30
  @mixin appearance-disabled {
@@ -47,12 +32,6 @@
47
32
  &[data-state='disabled'] {
48
33
  @content;
49
34
  }
50
-
51
- /* @deprecated TODO remove in v5 */
52
- &[tuiWrapper]:disabled:not([data-state]),
53
- &[tuiWrapper][data-state='disabled'] {
54
- @content;
55
- }
56
35
  }
57
36
 
58
37
  @mixin appearance-focus {
@@ -63,10 +42,15 @@
63
42
  &[data-focus='true'] {
64
43
  @content;
65
44
  }
45
+ }
66
46
 
67
- /* @deprecated TODO remove in v5 */
68
- &[tuiWrapper]:not(._focused):has(:focus-visible),
69
- &[tuiWrapper]._focused {
47
+ @mixin appearance-invalid {
48
+ &:is([data-mode~='invalid'], .tui-invalid, :invalid):not(
49
+ [data-mode~='readonly'],
50
+ [data-mode~='valid'],
51
+ [data-state='disabled'],
52
+ :disabled
53
+ ) {
70
54
  @content;
71
55
  }
72
56
  }
@@ -4,7 +4,7 @@
4
4
  .t-row {
5
5
  display: flex;
6
6
  justify-content: flex-start;
7
- font: var(--tui-font-text-m);
7
+ font: var(--tui-font-body-m);
8
8
 
9
9
  &:first-child {
10
10
  justify-content: flex-end;
@@ -1,11 +1,6 @@
1
1
  @import 'browsers.less';
2
2
 
3
3
  .interactive(@ruleset) {
4
- // TODO remove after dropping Safari 13 support
5
- &:matches(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
6
- @ruleset();
7
- }
8
-
9
4
  &:is(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
10
5
  @ruleset();
11
6
  }
@@ -1,11 +1,6 @@
1
1
  @import 'browsers.scss';
2
2
 
3
3
  @mixin interactive {
4
- // TODO remove after dropping Safari 13 support
5
- &:matches(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
6
- @content;
7
- }
8
-
9
4
  &:is(a, button, select, textarea, input, label, .tui-interactive):not(:disabled) {
10
5
  @content;
11
6
  }
@@ -4,7 +4,7 @@
4
4
  .picker(@itemSize) {
5
5
  :host {
6
6
  display: block;
7
- font: var(--tui-font-text-m);
7
+ font: var(--tui-font-body-m);
8
8
  }
9
9
 
10
10
  .t-row {
@@ -4,7 +4,7 @@
4
4
  @mixin picker($itemSize) {
5
5
  :host {
6
6
  display: block;
7
- font: var(--tui-font-text-m);
7
+ font: var(--tui-font-body-m);
8
8
  }
9
9
 
10
10
  .t-row {
@@ -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,16 +9,15 @@
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
 
19
17
  display: flex;
20
- font: var(--tui-font-text-s);
21
- margin-inline-start: var(--t-offset);
22
- margin-inline-end: var(--t-offset);
18
+ font: var(--tui-font-body-s);
19
+ color: var(--tui-text-secondary);
20
+ margin: 0.25rem var(--t-offset) 0;
23
21
 
24
22
  & > * {
25
23
  position: relative;
@@ -27,45 +25,46 @@
27
25
  text-align: center;
28
26
 
29
27
  &:first-child {
30
- left: calc(-1 * var(--t-offset));
31
28
  inset-inline-start: calc(-1 * var(--t-offset));
32
29
  flex: 1;
33
30
  text-align: start;
34
31
  }
35
32
 
36
33
  &:last-child {
37
- right: calc(-1 * var(--t-offset));
34
+ inset-inline-end: calc(-1 * var(--t-offset));
38
35
  flex: 1;
39
36
  text-align: end;
40
-
41
- @supports (inset-inline-end: 0) {
42
- right: unset;
43
- inset-inline-end: calc(-1 * var(--t-offset));
44
- }
45
37
  }
46
38
  }
47
39
 
48
- /* TODO(v5): delete */
49
- tui-input-slider + & {
50
- margin-inline-start: calc(var(--tui-radius-m) / 2 + var(--t-offset));
40
+ tui-range + & {
41
+ --t-offset: @thumb;
51
42
  }
52
43
 
53
44
  /* TODO: add :has([tuiInputSlider]) */
54
- tui-textfield + & {
55
- --t-offset: calc(var(--tui-radius-m) / 2 + @thumb / 2);
45
+ tui-textfield[data-size='l'] + & {
46
+ --t-offset: calc(@track-inset[@l] + @thumb / 2);
56
47
  }
57
48
 
58
49
  /* TODO: add :has([tuiInputSlider]) */
59
- tui-textfield[data-size='l'] + & {
60
- --t-offset: calc(var(--tui-radius-l) / 2 + @thumb / 2);
50
+ tui-textfield[data-size='m'] + & {
51
+ --t-offset: calc(@track-inset[@m] + @thumb / 2);
61
52
  }
62
53
 
63
- tui-input-range:not([new]) + &, /* TODO(v5): delete */
64
- tui-range + & {
65
- --t-offset: @thumb;
54
+ /* TODO: add :has([tuiInputSlider]) */
55
+ tui-textfield[data-size='s'] + & {
56
+ --t-offset: calc(@track-inset[@s] + @thumb / 2);
57
+ }
58
+
59
+ tui-input-range[data-size='l'] + & {
60
+ --t-offset: calc(@track-inset[@l] + @thumb);
61
+ }
62
+
63
+ tui-input-range[data-size='m'] + & {
64
+ --t-offset: calc(@track-inset[@m] + @thumb);
66
65
  }
67
66
 
68
- tui-input-range[new] + & {
69
- --t-offset: calc(@track-inset[@@input-size] + @thumb);
67
+ tui-input-range[data-size='s'] + & {
68
+ --t-offset: calc(@track-inset[@s] + @thumb);
70
69
  }
71
70
  }
@@ -17,9 +17,9 @@ $track-inset: (
17
17
  --t-offset: calc($thumb / 2);
18
18
 
19
19
  display: flex;
20
- font: var(--tui-font-text-s);
21
- margin-inline-start: var(--t-offset);
22
- margin-inline-end: var(--t-offset);
20
+ font: var(--tui-font-body-s);
21
+ color: var(--tui-text-secondary);
22
+ margin: 0.25rem var(--t-offset) 0;
23
23
 
24
24
  & > * {
25
25
  position: relative;
@@ -27,45 +27,46 @@ $track-inset: (
27
27
  text-align: center;
28
28
 
29
29
  &:first-child {
30
- left: calc(-1 * var(--t-offset));
31
30
  inset-inline-start: calc(-1 * var(--t-offset));
32
31
  flex: 1;
33
32
  text-align: start;
34
33
  }
35
34
 
36
35
  &:last-child {
37
- right: calc(-1 * var(--t-offset));
36
+ inset-inline-end: calc(-1 * var(--t-offset));
38
37
  flex: 1;
39
38
  text-align: end;
40
-
41
- @supports (inset-inline-end: 0) {
42
- right: unset;
43
- inset-inline-end: calc(-1 * var(--t-offset));
44
- }
45
39
  }
46
40
  }
47
41
 
48
- /* TODO(v5): delete */
49
- tui-input-slider + & {
50
- margin-inline-start: calc(var(--tui-radius-m) / 2 + var(--t-offset));
42
+ tui-range + & {
43
+ --t-offset: $thumb;
51
44
  }
52
45
 
53
46
  /* TODO: add :has([tuiInputSlider]) */
54
- tui-textfield + & {
55
- --t-offset: calc(var(--tui-radius-m) / 2 + $thumb / 2);
47
+ tui-textfield[data-size='l'] + & {
48
+ --t-offset: calc(map-get($track-inset, 'l') + $thumb / 2);
56
49
  }
57
50
 
58
51
  /* TODO: add :has([tuiInputSlider]) */
59
- tui-textfield[data-size='l'] + & {
60
- --t-offset: calc(var(--tui-radius-l) / 2 + $thumb / 2);
52
+ tui-textfield[data-size='m'] + & {
53
+ --t-offset: calc(map-get($track-inset, 'm') + $thumb / 2);
61
54
  }
62
55
 
63
- tui-input-range:not([new]) + &, /* TODO(v5): delete */
64
- tui-range + & {
65
- --t-offset: $thumb;
56
+ /* TODO: add :has([tuiInputSlider]) */
57
+ tui-textfield[data-size='s'] + & {
58
+ --t-offset: calc(map-get($track-inset, 's') + $thumb / 2);
59
+ }
60
+
61
+ tui-input-range[data-size='l'] + & {
62
+ --t-offset: calc(map-get($track-inset, 'l') + $thumb);
63
+ }
64
+
65
+ tui-input-range[data-size='m'] + & {
66
+ --t-offset: calc(map-get($track-inset, 'm') + $thumb);
66
67
  }
67
68
 
68
- tui-input-range[new] + & {
69
- --t-offset: calc(map-get($track-inset, $input-size) + $thumb);
69
+ tui-input-range[data-size='s'] + & {
70
+ --t-offset: calc(map-get($track-inset, 's') + $thumb);
70
71
  }
71
72
  }
@@ -3,6 +3,5 @@
3
3
  @import 'mixins/mixins.less';
4
4
  @import 'mixins/picker.less';
5
5
  @import 'mixins/slider.less';
6
- @import 'mixins/wrapper.less';
7
6
  @import 'mixins/appearance.less';
8
7
  @import 'variables/media.less';
@@ -2,6 +2,5 @@
2
2
  @import 'mixins/mixins.scss';
3
3
  @import 'mixins/picker.scss';
4
4
  @import 'mixins/slider.scss';
5
- @import 'mixins/wrapper.scss';
6
5
  @import 'mixins/appearance.scss';
7
6
  @import 'variables/media.scss';
@@ -1,5 +1,4 @@
1
1
  @import 'theme/variables.less';
2
2
  @import 'theme/palette.less';
3
3
  @import 'theme/appearance.less';
4
- @import 'theme/wrapper.less';
5
4
  @import 'theme/appearance/textfield.less';
@@ -2,9 +2,7 @@
2
2
 
3
3
  [tuiAppearance][data-appearance='outline'],
4
4
  [tuiAppearance][data-appearance='outline-destructive'],
5
- [tuiAppearance][data-appearance='outline-grayscale'],
6
- /* TODO @deprecated remove in v5 */
7
- [tuiAppearance][data-appearance='whiteblock'] {
5
+ [tuiAppearance][data-appearance='outline-grayscale'] {
8
6
  --t-bs: var(--tui-border-normal);
9
7
 
10
8
  color: var(--tui-text-action);
@@ -25,17 +23,14 @@
25
23
  });
26
24
  }
27
25
 
28
- &:invalid:not([data-mode]),
29
- &[data-mode~='invalid'],
30
- &.tui-invalid:not([data-mode]) {
26
+ .appearance-invalid({
31
27
  box-shadow: inset 0 0 0 1px var(--tui-status-negative-pale-hover);
32
- }
33
28
 
34
- &:checked:invalid:not([data-mode]),
35
- &[data-mode~='checked'][data-mode~='invalid'],
36
- &:checked.tui-invalid:not([data-mode]) {
37
- box-shadow: inset 0 0 0 2px var(--tui-status-negative);
38
- }
29
+ &:checked,
30
+ &[data-mode~='checked'] {
31
+ box-shadow: inset 0 0 0 2px var(--tui-status-negative);
32
+ }
33
+ });
39
34
 
40
35
  .appearance-hover({
41
36
  cursor: pointer;
@@ -48,9 +43,7 @@
48
43
  });
49
44
  }
50
45
 
51
- [tuiAppearance][data-appearance='outline-grayscale'],
52
- /* TODO @deprecated remove in v5 */
53
- [tuiAppearance][data-appearance='whiteblock'] {
46
+ [tuiAppearance][data-appearance='outline-grayscale'] {
54
47
  color: var(--tui-text-primary);
55
48
  }
56
49
 
@@ -60,9 +53,7 @@
60
53
 
61
54
  [tuiAppearance][data-appearance='icon'],
62
55
  [tuiAppearance][data-appearance='outline-grayscale'],
63
- [tuiAppearance][data-appearance='floating'],
64
- /* TODO @deprecated remove in v5 */
65
- [tuiAppearance][data-appearance='whiteblock'] {
56
+ [tuiAppearance][data-appearance='floating'] {
66
57
  color: var(--tui-text-primary);
67
58
 
68
59
  &::before,
@@ -6,11 +6,9 @@
6
6
  background: var(--t-bg);
7
7
  color: var(--tui-text-primary-on-accent-1);
8
8
 
9
- &:invalid:not([data-mode]),
10
- &[data-mode~='invalid'],
11
- &.tui-invalid:not([data-mode]) {
9
+ .appearance-invalid({
12
10
  background: var(--tui-status-negative);
13
- }
11
+ });
14
12
 
15
13
  .appearance-hover({
16
14
  --t-bg: var(--tui-background-accent-1-hover);
@@ -2,9 +2,7 @@
2
2
 
3
3
  [tuiAppearance][data-appearance='secondary'],
4
4
  [tuiAppearance][data-appearance='secondary-destructive'],
5
- [tuiAppearance][data-appearance='secondary-grayscale'],
6
- /* TODO @deprecated remove in v5 */
7
- [tuiAppearance][data-appearance='destructive'] {
5
+ [tuiAppearance][data-appearance='secondary-grayscale'] {
8
6
  background: var(--tui-background-neutral-1);
9
7
  color: var(--tui-text-action);
10
8
 
@@ -30,9 +28,7 @@
30
28
  background: var(--tui-background-accent-1-pressed);
31
29
  });
32
30
 
33
- &:invalid:not([data-mode]),
34
- &[data-mode~='invalid'],
35
- &.tui-invalid:not([data-mode]) {
31
+ .appearance-invalid({
36
32
  background: var(--tui-status-negative);
37
33
  color: #fff;
38
34
 
@@ -45,12 +41,10 @@
45
41
  background: var(--tui-status-negative);
46
42
  color: #fff;
47
43
  });
48
- }
44
+ });
49
45
  }
50
46
 
51
- &:invalid:not([data-mode]),
52
- &[data-mode~='invalid'],
53
- &.tui-invalid:not([data-mode]) {
47
+ .appearance-invalid({
54
48
  color: var(--tui-text-negative);
55
49
  background: var(--tui-status-negative-pale);
56
50
 
@@ -63,12 +57,10 @@
63
57
  color: var(--tui-text-negative-hover);
64
58
  background: var(--tui-status-negative-pale-hover);
65
59
  });
66
- }
60
+ });
67
61
  }
68
62
 
69
- [tuiAppearance][data-appearance='secondary-destructive'],
70
- /* TODO @deprecated remove in v5 */
71
- [tuiAppearance][data-appearance='destructive'] {
63
+ [tuiAppearance][data-appearance='secondary-destructive'] {
72
64
  color: var(--tui-text-negative);
73
65
  }
74
66
 
@@ -1,7 +1,5 @@
1
1
  @import '@taiga-ui/core/styles/taiga-ui-local.less';
2
2
 
3
- [tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
4
- [tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
5
3
  [tuiAppearance][data-appearance='negative'],
6
4
  [tuiAppearance][data-appearance='positive'],
7
5
  [tuiAppearance][data-appearance='warning'],
@@ -16,7 +14,6 @@
16
14
  }
17
15
  }
18
16
 
19
- [tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
20
17
  [tuiAppearance][data-appearance='negative'] {
21
18
  --t-bg: var(--tui-status-negative-pale);
22
19
 
@@ -39,7 +36,6 @@
39
36
  }
40
37
  }
41
38
 
42
- [tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
43
39
  [tuiAppearance][data-appearance='positive'] {
44
40
  --t-bg: var(--tui-status-positive-pale);
45
41
 
@@ -1,47 +1,49 @@
1
1
  @import '@taiga-ui/core/styles/taiga-ui-local.less';
2
2
 
3
- /*
4
- TODO: remove :not([tuiWrapper]) after legacy controls deletion
5
- */
6
- [tuiAppearance][data-appearance='table']:not([tuiWrapper]) {
7
- content: '';
8
- position: fixed;
9
- /* TODO: Use inset: -1px after Safari 14+ support */
10
- top: -1px;
11
- bottom: -1px;
12
- left: -1px;
13
- right: -1px;
14
- inline-size: auto;
15
- block-size: auto;
16
- border-radius: 0;
3
+ [tuiAppearance][data-appearance='table'] {
4
+ min-block-size: calc(100% + 1px);
5
+ border-radius: 0 !important;
17
6
  background: transparent;
7
+ color: var(--tui-text-primary);
18
8
  border: none;
19
9
  outline: none;
20
- border-block-end: calc(var(--t-row-height) - var(--t-height)) solid transparent;
10
+ margin: -1px -1px 0;
11
+ overflow: hidden;
21
12
 
22
- &:not(._empty) {
23
- color: var(--tui-text-primary);
13
+ &:not(tui-textfield[multi], tui-input-card-group) [tuiInput]:not(textarea) {
14
+ block-size: var(--t-height);
15
+ border-block-end: 100rem solid transparent;
16
+ box-sizing: content-box;
24
17
  }
25
18
 
26
- .appearance-hover({
27
- &[data-focus='false'] {
28
- background-color: var(--tui-background-neutral-1);
29
- }
30
- });
19
+ &::before,
20
+ &::after {
21
+ color: var(--tui-text-tertiary);
22
+ }
23
+
24
+ &:not([data-mode~='readonly']) {
25
+ .appearance-hover({
26
+ &[data-focus='false'] {
27
+ background-color: var(--tui-background-neutral-1);
28
+ }
29
+
30
+ &::before,
31
+ &::after {
32
+ color: var(--tui-text-secondary);
33
+ }
34
+ });
35
+ }
31
36
 
32
37
  .appearance-focus({
33
- outline-offset: -0.125rem;
34
- outline: 0.125rem solid var(--tui-border-focus);
38
+ border-image: conic-gradient(var(--tui-border-focus) 0 0) 1 / 0.125rem / 0 0 1px;
35
39
  });
36
40
 
37
- &:invalid:not([data-mode]),
38
- &[data-mode~='invalid'],
39
- &.tui-invalid:not([data-mode]) {
40
- background-origin: border-box;
41
- background-position: top right;
42
- background-repeat: no-repeat;
43
- background-image: linear-gradient(to top right, transparent 0% 50%, var(--tui-status-negative) 50% 100%);
44
- background-size: 0.5rem 0.5rem;
41
+ .appearance-invalid({
42
+ background:
43
+ linear-gradient(to top right, transparent 0% 50%, var(--tui-status-negative) 50% 100%)
44
+ top right / 0.5rem 0.5rem
45
+ no-repeat
46
+ border-box;
45
47
 
46
48
  &[data-focus='false'] {
47
49
  background-color: var(--tui-status-negative-pale);
@@ -60,8 +62,7 @@ TODO: remove :not([tuiWrapper]) after legacy controls deletion
60
62
 
61
63
  .appearance-focus({
62
64
  background-color: transparent;
63
- outline-offset: -0.0625rem;
64
- outline: 0.0625rem solid var(--tui-status-negative);
65
+ border-image: conic-gradient(var(--tui-status-negative) 0 0) 1 / 1px / 0 0 1px;
65
66
  });
66
- }
67
+ });
67
68
  }