@taiga-ui/kit 4.52.0-canary.6c67ccf → 4.52.0-canary.811ffeb

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 (385) hide show
  1. package/README.md +1 -1
  2. package/components/accordion/accordion.component.d.ts +13 -0
  3. package/components/accordion/accordion.d.ts +4 -4
  4. package/components/accordion/accordion.directive.d.ts +11 -10
  5. package/components/accordion/index.d.ts +1 -3
  6. package/components/action-bar/action-bar.component.d.ts +5 -7
  7. package/components/action-bar/index.d.ts +0 -2
  8. package/components/avatar/avatar-outline.directive.d.ts +3 -3
  9. package/components/avatar/avatar.directive.d.ts +15 -0
  10. package/components/avatar/avatar.options.d.ts +1 -4
  11. package/components/avatar/index.d.ts +1 -1
  12. package/components/badge/badge.directive.d.ts +2 -2
  13. package/components/badge/badge.options.d.ts +1 -3
  14. package/components/badge-notification/badge-notification.options.d.ts +1 -3
  15. package/components/block/block.directive.d.ts +4 -4
  16. package/components/block/block.options.d.ts +2 -4
  17. package/components/breadcrumbs/breadcrumbs.options.d.ts +1 -3
  18. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  19. package/components/calendar-month/calendar-month.options.d.ts +1 -1
  20. package/components/calendar-range/calendar-range.component.d.ts +1 -2
  21. package/components/checkbox/checkbox.component.d.ts +7 -18
  22. package/components/checkbox/checkbox.options.d.ts +5 -9
  23. package/components/chip/chip.directive.d.ts +2 -4
  24. package/components/chip/chip.options.d.ts +1 -3
  25. package/components/comment/comment.directive.d.ts +2 -2
  26. package/components/confirm/confirm.component.d.ts +4 -2
  27. package/components/confirm/confirm.service.d.ts +2 -1
  28. package/{directives → components}/copy/copy.component.d.ts +2 -2
  29. package/{directives → components}/copy/copy.directive.d.ts +3 -4
  30. package/{directives → components}/copy/copy.options.d.ts +2 -2
  31. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -0
  32. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +1 -1
  33. package/components/files/file/file.options.d.ts +2 -2
  34. package/components/files/files/files.component.d.ts +2 -2
  35. package/components/files/input-files/input-files.options.d.ts +1 -3
  36. package/components/floating-container/floating-container.directive.d.ts +2 -2
  37. package/components/fullscreen/fullscreen.component.d.ts +14 -0
  38. package/components/fullscreen/index.d.ts +1 -0
  39. package/components/index.d.ts +3 -2
  40. package/components/input-chip/input-chip.component.d.ts +8 -7
  41. package/components/input-chip/input-chip.directive.d.ts +5 -10
  42. package/components/input-chip/input-chip.options.d.ts +1 -1
  43. package/components/input-color/input-color.component.d.ts +2 -2
  44. package/components/input-color/input-color.options.d.ts +1 -1
  45. package/components/input-date/input-date.options.d.ts +1 -1
  46. package/components/input-date-multi/input-date-multi.directive.d.ts +9 -13
  47. package/components/input-number/input-number.directive.d.ts +5 -9
  48. package/components/input-number/input-number.options.d.ts +1 -1
  49. package/components/input-number/quantum.directive.d.ts +1 -1
  50. package/components/input-number/step/input-number-step.component.d.ts +1 -1
  51. package/components/input-phone/input-phone.options.d.ts +1 -1
  52. package/components/input-phone-international/input-phone-international.component.d.ts +24 -30
  53. package/components/input-phone-international/input-phone-international.options.d.ts +1 -3
  54. package/components/input-pin/input-pin.component.d.ts +1 -1
  55. package/components/input-range/input-range.component.d.ts +9 -12
  56. package/components/input-slider/input-slider.directive.d.ts +3 -5
  57. package/components/input-time/input-time.directive.d.ts +6 -8
  58. package/components/input-time/input-time.options.d.ts +1 -1
  59. package/components/like/like.component.d.ts +4 -11
  60. package/components/like/like.options.d.ts +3 -4
  61. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  62. package/components/line-clamp/line-clamp.component.d.ts +8 -10
  63. package/components/line-clamp/line-clamp.options.d.ts +1 -3
  64. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +6 -8
  65. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  66. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  67. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  68. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  69. package/components/pager/pager.component.d.ts +1 -1
  70. package/components/pagination/index.d.ts +1 -0
  71. package/components/pagination/pagination.component.d.ts +3 -2
  72. package/components/pagination/pagination.options.d.ts +10 -0
  73. package/components/pin/pin.directive.d.ts +2 -2
  74. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  75. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  76. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  77. package/components/preview/pagination/preview-pagination.component.d.ts +1 -1
  78. package/components/preview/preview.component.d.ts +1 -1
  79. package/components/preview/preview.d.ts +2 -1
  80. package/components/preview/zoom/preview-zoom.component.d.ts +1 -1
  81. package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
  82. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +4 -4
  83. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
  84. package/components/progress/progress.options.d.ts +1 -3
  85. package/components/push/push-alert.component.d.ts +4 -3
  86. package/components/push/push.component.d.ts +2 -2
  87. package/components/push/push.directive.d.ts +4 -6
  88. package/components/push/push.options.d.ts +5 -8
  89. package/components/push/push.service.d.ts +6 -2
  90. package/components/radio/radio.component.d.ts +7 -8
  91. package/components/radio/radio.directive.d.ts +2 -2
  92. package/components/radio/radio.options.d.ts +2 -5
  93. package/components/range/range-change.directive.d.ts +1 -2
  94. package/components/range/range.component.d.ts +16 -24
  95. package/components/rating/rating.component.d.ts +5 -5
  96. package/components/rating/rating.options.d.ts +6 -6
  97. package/components/segmented/segmented.component.d.ts +5 -9
  98. package/components/segmented/segmented.directive.d.ts +6 -7
  99. package/components/select/native-select/native-select.component.d.ts +4 -5
  100. package/components/slider/helpers/key-steps.d.ts +1 -2
  101. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  102. package/components/slider/slider.options.d.ts +1 -6
  103. package/components/slides/slides.directive.d.ts +4 -4
  104. package/components/status/status.directive.d.ts +2 -2
  105. package/components/stepper/step.component.d.ts +6 -8
  106. package/components/stepper/stepper.component.d.ts +6 -11
  107. package/components/switch/switch.component.d.ts +7 -19
  108. package/components/switch/switch.options.d.ts +4 -8
  109. package/components/tabs/tabs-with-more.component.d.ts +1 -1
  110. package/components/tabs/tabs.options.d.ts +1 -6
  111. package/components/textarea/textarea-limit.directive.d.ts +4 -5
  112. package/components/textarea/textarea.options.d.ts +1 -1
  113. package/components/toast/index.d.ts +5 -0
  114. package/components/toast/toast.component.d.ts +18 -0
  115. package/components/toast/toast.d.ts +3 -0
  116. package/components/toast/toast.directive.d.ts +7 -0
  117. package/components/toast/toast.options.d.ts +10 -0
  118. package/components/toast/toast.service.d.ts +17 -0
  119. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +8 -1
  120. package/components/tree/misc/tree.constants.d.ts +0 -3
  121. package/components/tree/misc/tree.tokens.d.ts +1 -6
  122. package/directives/button-close/button-close.directive.d.ts +2 -1
  123. package/directives/button-select/button-select.directive.d.ts +3 -3
  124. package/directives/chevron/chevron.directive.d.ts +2 -3
  125. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  126. package/directives/fade/fade.directive.d.ts +1 -0
  127. package/directives/fluid-typography/fluid-typography.directive.d.ts +3 -6
  128. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  129. package/directives/highlight/highlight.directive.d.ts +1 -3
  130. package/directives/index.d.ts +0 -1
  131. package/directives/password/password.options.d.ts +1 -1
  132. package/directives/sensitive/sensitive.directive.d.ts +2 -2
  133. package/directives/shimmer/shimmer.directive.d.ts +3 -3
  134. package/directives/skeleton/skeleton.directive.d.ts +3 -3
  135. package/directives/tooltip/tooltip.directive.d.ts +2 -2
  136. package/directives/tooltip/tooltip.options.d.ts +1 -4
  137. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -145
  138. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
  140. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-kit-components-avatar.mjs +53 -71
  142. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  143. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +4 -9
  144. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  145. package/fesm2022/taiga-ui-kit-components-badge.mjs +14 -25
  146. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  147. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +0 -1
  148. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-kit-components-block.mjs +18 -29
  150. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  151. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +6 -12
  152. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  153. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +3 -3
  154. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  155. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +4 -15
  156. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +4 -5
  158. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-carousel.mjs +3 -9
  160. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +17 -75
  162. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-chip.mjs +23 -32
  164. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +5 -6
  166. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-comment.mjs +11 -18
  168. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-kit-components-compass.mjs +3 -3
  170. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-components-confirm.mjs +8 -11
  172. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  173. package/fesm2022/{taiga-ui-kit-directives-copy.mjs → taiga-ui-kit-components-copy.mjs} +17 -22
  174. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
  175. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +14 -6
  176. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  177. package/fesm2022/taiga-ui-kit-components-drawer.mjs +2 -2
  178. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  179. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -1
  180. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  181. package/fesm2022/taiga-ui-kit-components-files.mjs +21 -28
  182. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  183. package/fesm2022/taiga-ui-kit-components-filter.mjs +1 -1
  184. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +11 -17
  186. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  187. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
  188. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
  189. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +55 -68
  190. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  191. package/fesm2022/taiga-ui-kit-components-input-color.mjs +4 -6
  192. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  193. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +26 -45
  194. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  195. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +1 -2
  196. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  197. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +4 -6
  198. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  199. package/fesm2022/taiga-ui-kit-components-input-date.mjs +13 -21
  200. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  201. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +2 -3
  202. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  203. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +6 -8
  204. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  205. package/fesm2022/taiga-ui-kit-components-input-month.mjs +6 -8
  206. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  207. package/fesm2022/taiga-ui-kit-components-input-number.mjs +30 -54
  208. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  209. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +105 -133
  210. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  211. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +3 -5
  212. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  213. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +5 -6
  214. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  215. package/fesm2022/taiga-ui-kit-components-input-range.mjs +31 -27
  216. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  217. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +26 -41
  218. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  219. package/fesm2022/taiga-ui-kit-components-input-time.mjs +32 -39
  220. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  221. package/fesm2022/taiga-ui-kit-components-input-year.mjs +5 -7
  222. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  223. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +2 -4
  224. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  225. package/fesm2022/taiga-ui-kit-components-like.mjs +38 -31
  226. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  227. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +28 -72
  228. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  229. package/fesm2022/taiga-ui-kit-components-message.mjs +6 -9
  230. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  231. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +27 -38
  232. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +32 -28
  234. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  235. package/fesm2022/taiga-ui-kit-components-pager.mjs +5 -7
  236. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-components-pagination.mjs +22 -13
  238. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-components-pin.mjs +13 -17
  240. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  241. package/fesm2022/taiga-ui-kit-components-preview.mjs +37 -29
  242. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-components-progress.mjs +61 -66
  244. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-components-pulse.mjs +1 -1
  246. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-components-push.mjs +40 -47
  248. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  249. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +2 -2
  250. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  251. package/fesm2022/taiga-ui-kit-components-radio.mjs +31 -37
  252. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  253. package/fesm2022/taiga-ui-kit-components-range.mjs +36 -80
  254. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  255. package/fesm2022/taiga-ui-kit-components-rating.mjs +17 -26
  256. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  257. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +7 -3
  258. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-components-segmented.mjs +28 -55
  260. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-components-select.mjs +37 -41
  262. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  263. package/fesm2022/taiga-ui-kit-components-slider.mjs +62 -70
  264. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  265. package/fesm2022/taiga-ui-kit-components-slides.mjs +12 -20
  266. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
  267. package/fesm2022/taiga-ui-kit-components-status.mjs +10 -14
  268. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  269. package/fesm2022/taiga-ui-kit-components-stepper.mjs +41 -75
  270. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  271. package/fesm2022/taiga-ui-kit-components-switch.mjs +17 -64
  272. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  273. package/fesm2022/taiga-ui-kit-components-tabs.mjs +18 -31
  274. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  275. package/fesm2022/taiga-ui-kit-components-textarea.mjs +8 -18
  276. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  277. package/fesm2022/taiga-ui-kit-components-tiles.mjs +2 -3
  278. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  279. package/fesm2022/taiga-ui-kit-components-toast.mjs +165 -0
  280. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
  281. package/fesm2022/taiga-ui-kit-components-tree.mjs +39 -43
  282. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-components.mjs +3 -2
  284. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +13 -5
  286. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  287. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +6 -9
  288. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  289. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +14 -13
  290. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +13 -19
  292. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  293. package/fesm2022/taiga-ui-kit-directives-connected.mjs +7 -13
  294. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  295. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +22 -50
  296. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  297. package/fesm2022/taiga-ui-kit-directives-fade.mjs +6 -9
  298. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  299. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +12 -25
  300. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  301. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +0 -1
  302. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  303. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -1
  304. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  305. package/fesm2022/taiga-ui-kit-directives-password.mjs +9 -11
  306. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  307. package/fesm2022/taiga-ui-kit-directives-present.mjs +0 -1
  308. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  309. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +11 -16
  310. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  311. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +22 -32
  312. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  313. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +25 -36
  314. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  315. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +13 -18
  316. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  317. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +3 -5
  318. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  319. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +1 -2
  320. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  321. package/fesm2022/taiga-ui-kit-directives.mjs +0 -1
  322. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  323. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +0 -1
  324. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  325. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +0 -1
  326. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  327. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +1 -2
  328. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  329. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +2 -2
  330. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  331. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +0 -1
  332. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  333. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +0 -1
  334. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  335. package/fesm2022/taiga-ui-kit-pipes.mjs +0 -1
  336. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  337. package/fesm2022/taiga-ui-kit-tokens.mjs +6 -24
  338. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  339. package/fesm2022/taiga-ui-kit-utils.mjs +1 -1
  340. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  341. package/package.json +44 -48
  342. package/pipes/index.d.ts +0 -1
  343. package/styles/components/avatar.less +188 -0
  344. package/styles/components/badge.less +1 -0
  345. package/styles/components/checkbox.less +14 -12
  346. package/styles/components/chip.less +12 -3
  347. package/styles/components/like.less +4 -9
  348. package/styles/components/pin.less +3 -7
  349. package/styles/components/radio.less +1 -1
  350. package/styles/components/switch.less +9 -9
  351. package/styles/components/toast.less +44 -0
  352. package/tokens/i18n.d.ts +25 -26
  353. package/tokens/index.d.ts +0 -1
  354. package/tokens/input-date-options.d.ts +1 -1
  355. package/tokens/items-handlers.d.ts +1 -7
  356. package/tokens/preview-icons.d.ts +1 -3
  357. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  358. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  359. package/components/accordion/accordion-item.component.d.ts +0 -25
  360. package/components/action-bar/action-bar.d.ts +0 -3
  361. package/components/action-bar/action-bar.directive.d.ts +0 -6
  362. package/components/avatar/avatar.component.d.ts +0 -15
  363. package/components/input-password/index.d.ts +0 -2
  364. package/components/input-password/input-password.component.d.ts +0 -16
  365. package/components/input-password/input-password.options.d.ts +0 -24
  366. package/components/pdf-viewer/index.d.ts +0 -4
  367. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  368. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  369. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  370. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  371. package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -95
  372. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
  373. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  374. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  375. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -64
  376. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  377. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
  378. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
  379. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
  380. package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
  381. package/pipes/field-error/field-error-pipe.d.ts +0 -29
  382. package/pipes/field-error/index.d.ts +0 -2
  383. package/tokens/validation-errors.d.ts +0 -5
  384. /package/{directives → components}/copy/copy.d.ts +0 -0
  385. /package/{directives → components}/copy/index.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.52.0-canary.6c67ccf",
3
+ "version": "4.52.0-canary.811ffeb",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -10,7 +10,10 @@
10
10
  "directive"
11
11
  ],
12
12
  "homepage": "https://github.com/taiga-family/taiga-ui",
13
- "repository": "https://github.com/taiga-family/taiga-ui",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/taiga-family/taiga-ui"
16
+ },
14
17
  "license": "Apache-2.0",
15
18
  "exports": {
16
19
  "./styles/*": "./styles/*",
@@ -113,6 +116,10 @@
113
116
  "types": "./components/confirm/index.d.ts",
114
117
  "default": "./fesm2022/taiga-ui-kit-components-confirm.mjs"
115
118
  },
119
+ "./components/copy": {
120
+ "types": "./components/copy/index.d.ts",
121
+ "default": "./fesm2022/taiga-ui-kit-components-copy.mjs"
122
+ },
116
123
  "./components/data-list-wrapper": {
117
124
  "types": "./components/data-list-wrapper/index.d.ts",
118
125
  "default": "./fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs"
@@ -137,6 +144,10 @@
137
144
  "types": "./components/floating-container/index.d.ts",
138
145
  "default": "./fesm2022/taiga-ui-kit-components-floating-container.mjs"
139
146
  },
147
+ "./components/fullscreen": {
148
+ "types": "./components/fullscreen/index.d.ts",
149
+ "default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
150
+ },
140
151
  "./components/input-chip": {
141
152
  "types": "./components/input-chip/index.d.ts",
142
153
  "default": "./fesm2022/taiga-ui-kit-components-input-chip.mjs"
@@ -177,10 +188,6 @@
177
188
  "types": "./components/input-number/index.d.ts",
178
189
  "default": "./fesm2022/taiga-ui-kit-components-input-number.mjs"
179
190
  },
180
- "./components/input-password": {
181
- "types": "./components/input-password/index.d.ts",
182
- "default": "./fesm2022/taiga-ui-kit-components-input-password.mjs"
183
- },
184
191
  "./components/input-phone": {
185
192
  "types": "./components/input-phone/index.d.ts",
186
193
  "default": "./fesm2022/taiga-ui-kit-components-input-phone.mjs"
@@ -229,21 +236,13 @@
229
236
  "types": "./components/multi-select/index.d.ts",
230
237
  "default": "./fesm2022/taiga-ui-kit-components-multi-select.mjs"
231
238
  },
232
- "./components/notification-middle": {
233
- "types": "./components/notification-middle/index.d.ts",
234
- "default": "./fesm2022/taiga-ui-kit-components-notification-middle.mjs"
235
- },
236
239
  "./components/pager": {
237
240
  "types": "./components/pager/index.d.ts",
238
241
  "default": "./fesm2022/taiga-ui-kit-components-pager.mjs"
239
242
  },
240
- "./components/pagination": {
241
- "types": "./components/pagination/index.d.ts",
242
- "default": "./fesm2022/taiga-ui-kit-components-pagination.mjs"
243
- },
244
- "./components/pdf-viewer": {
245
- "types": "./components/pdf-viewer/index.d.ts",
246
- "default": "./fesm2022/taiga-ui-kit-components-pdf-viewer.mjs"
243
+ "./components/notification-middle": {
244
+ "types": "./components/notification-middle/index.d.ts",
245
+ "default": "./fesm2022/taiga-ui-kit-components-notification-middle.mjs"
247
246
  },
248
247
  "./components/pin": {
249
248
  "types": "./components/pin/index.d.ts",
@@ -257,6 +256,10 @@
257
256
  "types": "./components/progress/index.d.ts",
258
257
  "default": "./fesm2022/taiga-ui-kit-components-progress.mjs"
259
258
  },
259
+ "./components/pagination": {
260
+ "types": "./components/pagination/index.d.ts",
261
+ "default": "./fesm2022/taiga-ui-kit-components-pagination.mjs"
262
+ },
260
263
  "./components/pulse": {
261
264
  "types": "./components/pulse/index.d.ts",
262
265
  "default": "./fesm2022/taiga-ui-kit-components-pulse.mjs"
@@ -265,10 +268,6 @@
265
268
  "types": "./components/push/index.d.ts",
266
269
  "default": "./fesm2022/taiga-ui-kit-components-push.mjs"
267
270
  },
268
- "./components/radio": {
269
- "types": "./components/radio/index.d.ts",
270
- "default": "./fesm2022/taiga-ui-kit-components-radio.mjs"
271
- },
272
271
  "./components/radio-list": {
273
272
  "types": "./components/radio-list/index.d.ts",
274
273
  "default": "./fesm2022/taiga-ui-kit-components-radio-list.mjs"
@@ -277,6 +276,10 @@
277
276
  "types": "./components/range/index.d.ts",
278
277
  "default": "./fesm2022/taiga-ui-kit-components-range.mjs"
279
278
  },
279
+ "./components/radio": {
280
+ "types": "./components/radio/index.d.ts",
281
+ "default": "./fesm2022/taiga-ui-kit-components-radio.mjs"
282
+ },
280
283
  "./components/rating": {
281
284
  "types": "./components/rating/index.d.ts",
282
285
  "default": "./fesm2022/taiga-ui-kit-components-rating.mjs"
@@ -309,14 +312,14 @@
309
312
  "types": "./components/switch/index.d.ts",
310
313
  "default": "./fesm2022/taiga-ui-kit-components-switch.mjs"
311
314
  },
312
- "./components/stepper": {
313
- "types": "./components/stepper/index.d.ts",
314
- "default": "./fesm2022/taiga-ui-kit-components-stepper.mjs"
315
- },
316
315
  "./components/tabs": {
317
316
  "types": "./components/tabs/index.d.ts",
318
317
  "default": "./fesm2022/taiga-ui-kit-components-tabs.mjs"
319
318
  },
319
+ "./components/stepper": {
320
+ "types": "./components/stepper/index.d.ts",
321
+ "default": "./fesm2022/taiga-ui-kit-components-stepper.mjs"
322
+ },
320
323
  "./components/textarea": {
321
324
  "types": "./components/textarea/index.d.ts",
322
325
  "default": "./fesm2022/taiga-ui-kit-components-textarea.mjs"
@@ -325,6 +328,10 @@
325
328
  "types": "./components/tiles/index.d.ts",
326
329
  "default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
327
330
  },
331
+ "./components/toast": {
332
+ "types": "./components/toast/index.d.ts",
333
+ "default": "./fesm2022/taiga-ui-kit-components-toast.mjs"
334
+ },
328
335
  "./components/tree": {
329
336
  "types": "./components/tree/index.d.ts",
330
337
  "default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
@@ -349,10 +356,6 @@
349
356
  "types": "./directives/connected/index.d.ts",
350
357
  "default": "./fesm2022/taiga-ui-kit-directives-connected.mjs"
351
358
  },
352
- "./directives/copy": {
353
- "types": "./directives/copy/index.d.ts",
354
- "default": "./fesm2022/taiga-ui-kit-directives-copy.mjs"
355
- },
356
359
  "./directives/data-list-dropdown-manager": {
357
360
  "types": "./directives/data-list-dropdown-manager/index.d.ts",
358
361
  "default": "./fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs"
@@ -405,18 +408,14 @@
405
408
  "types": "./directives/unmask-handler/index.d.ts",
406
409
  "default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
407
410
  },
408
- "./pipes/field-error": {
409
- "types": "./pipes/field-error/index.d.ts",
410
- "default": "./fesm2022/taiga-ui-kit-pipes-field-error.mjs"
411
+ "./pipes/emails": {
412
+ "types": "./pipes/emails/index.d.ts",
413
+ "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
411
414
  },
412
415
  "./pipes/filter-by-input": {
413
416
  "types": "./pipes/filter-by-input/index.d.ts",
414
417
  "default": "./fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs"
415
418
  },
416
- "./pipes/emails": {
417
- "types": "./pipes/emails/index.d.ts",
418
- "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
419
- },
420
419
  "./pipes/hide-selected": {
421
420
  "types": "./pipes/hide-selected/index.d.ts",
422
421
  "default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
@@ -432,10 +431,6 @@
432
431
  "./pipes/stringify-content": {
433
432
  "types": "./pipes/stringify-content/index.d.ts",
434
433
  "default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
435
- },
436
- "./components/preview/dialog": {
437
- "types": "./components/preview/dialog/index.d.ts",
438
- "default": "./fesm2022/taiga-ui-kit-components-preview-dialog.mjs"
439
434
  }
440
435
  },
441
436
  "peerDependencies": {
@@ -443,16 +438,17 @@
443
438
  "@angular/core": ">=19.0.0",
444
439
  "@angular/forms": ">=19.0.0",
445
440
  "@angular/router": ">=19.0.0",
446
- "@maskito/angular": "^3.10.3",
447
- "@maskito/core": "^3.10.3",
448
- "@maskito/kit": "^3.10.3",
449
- "@maskito/phone": "^3.10.3",
450
- "@ng-web-apis/common": "^4.12.0",
451
- "@ng-web-apis/intersection-observer": "^4.12.0",
452
- "@ng-web-apis/mutation-observer": "^4.12.0",
453
- "@ng-web-apis/resize-observer": "^4.12.0",
441
+ "@maskito/angular": "^4.0.1",
442
+ "@maskito/core": "^4.0.1",
443
+ "@maskito/kit": "^4.0.1",
444
+ "@maskito/phone": "^4.0.1",
445
+ "@ng-web-apis/common": "^4.12.2",
446
+ "@ng-web-apis/intersection-observer": "^4.12.2",
447
+ "@ng-web-apis/mutation-observer": "^4.12.2",
448
+ "@ng-web-apis/resize-observer": "^4.12.2",
454
449
  "@taiga-ui/cdk": "^4.52.0",
455
450
  "@taiga-ui/core": "^4.52.0",
451
+ "@taiga-ui/design-tokens": "~0.265.0",
456
452
  "@taiga-ui/i18n": "^4.52.0",
457
453
  "@taiga-ui/polymorpheus": "^4.9.0",
458
454
  "rxjs": ">=7.0.0"
package/pipes/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export * from '@taiga-ui/kit/pipes/emails';
2
- export * from '@taiga-ui/kit/pipes/field-error';
3
2
  export * from '@taiga-ui/kit/pipes/filter-by-input';
4
3
  export * from '@taiga-ui/kit/pipes/hide-selected';
5
4
  export * from '@taiga-ui/kit/pipes/sort-countries';
@@ -0,0 +1,188 @@
1
+ @import '@taiga-ui/core/styles/taiga-ui-local.less';
2
+
3
+ /**
4
+ * @name Avatar
5
+ * @selector [tuiAvatar]
6
+ *
7
+ * @description
8
+ * An avatar component which can be used with icons, text or images
9
+ * and is applicable to static elements as well as buttons and links
10
+ *
11
+ * @attributes
12
+ * data-size — size (default: 'l') ('xs' | 's' | 'm' | 'l' | 'xl' | 'xxl')
13
+ * data-shape — shape (default: 'round') ('round' | 'square')
14
+ *
15
+ * @example
16
+ * <span tuiAvatar tuiIcons style="--t-icon-start: url('icon.svg')"></span>
17
+ * <button tuiAvatar>
18
+ * <img src="path/to/image" alt="Avatar" />
19
+ * </button>
20
+ *
21
+ * @see-also
22
+ * Icons, Icon, Appearance
23
+ */
24
+ [tuiAvatar] {
25
+ --t-size: var(--tui-height-l);
26
+ --t-radius: 0.75rem;
27
+ --t-corner-offset: calc((var(--t-radius) * 1.4142 - var(--t-radius)) * 1 / 1.4142);
28
+
29
+ position: relative;
30
+ display: inline-flex;
31
+ flex-shrink: 0;
32
+ inline-size: var(--t-size);
33
+ block-size: var(--t-size);
34
+ align-items: center;
35
+ justify-content: center;
36
+ white-space: nowrap;
37
+ border-radius: var(--t-radius);
38
+ border: none;
39
+ background: var(--tui-background-neutral-1);
40
+ color: var(--tui-text-secondary);
41
+ vertical-align: middle;
42
+ box-sizing: border-box;
43
+ padding: 0.25rem;
44
+ font: var(--tui-font-text-l);
45
+ font-weight: bold;
46
+ opacity: 0.999; // Kick in hardware rendering layer to avoid artifacts on the edges
47
+
48
+ &::before {
49
+ inline-size: auto;
50
+ block-size: auto;
51
+ }
52
+
53
+ &:not(._initials)::before {
54
+ position: absolute;
55
+ inset: 0;
56
+ font-size: calc(var(--t-size) * 0.6);
57
+ }
58
+
59
+ &[data-size='xs'] {
60
+ --t-size: var(--tui-height-xs);
61
+ --t-radius: 0.5rem;
62
+
63
+ font: var(--tui-font-text-ui-xs);
64
+ font-size: 0.5625rem;
65
+
66
+ &._initials::before {
67
+ font: var(--tui-font-text-ui-xs);
68
+ font-weight: bold;
69
+ }
70
+ }
71
+
72
+ &[data-size='s'] {
73
+ --t-size: var(--tui-height-s);
74
+ --t-radius: 0.5rem;
75
+
76
+ font: var(--tui-font-text-ui-xs);
77
+ font-weight: bold;
78
+
79
+ &._initials::before {
80
+ font: var(--tui-font-text-s);
81
+ font-weight: bold;
82
+ }
83
+ }
84
+
85
+ &[data-size='m'] {
86
+ --t-size: calc(var(--tui-height-m) - 0.25rem);
87
+ --t-radius: 0.75rem;
88
+
89
+ font: var(--tui-font-text-ui-m);
90
+ font-weight: bold;
91
+
92
+ &._initials::before {
93
+ font: var(--tui-font-text-m);
94
+ font-weight: bold;
95
+ }
96
+ }
97
+
98
+ &[data-size='xl'] {
99
+ --t-size: 5rem;
100
+ --t-radius: 0.75rem;
101
+
102
+ font: var(--tui-font-heading-4);
103
+
104
+ &._initials::before {
105
+ font: var(--tui-font-heading-3);
106
+ }
107
+ }
108
+
109
+ &[data-size='xxl'] {
110
+ --t-size: 6rem;
111
+ --t-radius: 1rem;
112
+
113
+ font: var(--tui-font-heading-3);
114
+
115
+ &._initials::before {
116
+ font: var(--tui-font-heading-3);
117
+ }
118
+ }
119
+
120
+ &[data-size='xxxl'] {
121
+ --t-size: 8rem;
122
+ --t-radius: 1.25rem;
123
+
124
+ font: var(--tui-font-heading-3);
125
+
126
+ &._initials::before {
127
+ font: var(--tui-font-heading-2);
128
+ }
129
+ }
130
+
131
+ &:not([data-shape='square']) {
132
+ --t-radius: calc(var(--t-size) / 2);
133
+ }
134
+
135
+ &._initials {
136
+ &::before {
137
+ content: attr(data-icon-start);
138
+ mask: none;
139
+ background: none;
140
+ font: var(--tui-font-heading-6);
141
+ }
142
+ }
143
+
144
+ &._badge {
145
+ mask: radial-gradient(
146
+ circle at calc(100% - var(--t-corner-offset)) calc(100% - var(--t-corner-offset)),
147
+ black 0.23rem,
148
+ transparent 0.25rem,
149
+ transparent 0.375rem,
150
+ black 0.39rem
151
+ );
152
+ mask-clip: no-clip;
153
+
154
+ &::after {
155
+ content: '';
156
+ position: absolute;
157
+ top: calc(100% - var(--t-corner-offset));
158
+ left: calc(100% - var(--t-corner-offset));
159
+ display: block;
160
+ inline-size: 0.55rem;
161
+ block-size: 0.55rem;
162
+ border-radius: 100%;
163
+ background: var(--t-badge);
164
+ transform: translate3d(-50%, -50%, 0);
165
+ }
166
+ }
167
+
168
+ &._fallback {
169
+ img,
170
+ video {
171
+ display: none;
172
+ }
173
+ }
174
+
175
+ img,
176
+ video,
177
+ picture {
178
+ .fullsize();
179
+
180
+ object-fit: cover;
181
+ box-sizing: border-box;
182
+ border-radius: inherit;
183
+ }
184
+
185
+ &:has(img, video):not(._fallback) {
186
+ background: none;
187
+ }
188
+ }
@@ -26,6 +26,7 @@ tui-badge,
26
26
  .button-base();
27
27
 
28
28
  border-radius: 6rem;
29
+ justify-content: center;
29
30
  background: #959595;
30
31
  color: var(--tui-background-base);
31
32
  padding: var(--t-padding);
@@ -11,11 +11,11 @@
11
11
  * data-size — size (default: 'm') ('s' | 'm')
12
12
  *
13
13
  * @vars
14
- * --t-checked-icon — checkmark icon
15
- * --t-indeterminate-icon — indeterminate state icon
14
+ * --t-icon-start — checkmark icon
15
+ * --t-icon-end — indeterminate state icon
16
16
  *
17
17
  * @example
18
- * <input type="checkbox" tuiCheckbox />
18
+ * <input type="checkbox" tuiCheckbox tuiIcons tuiAppearance data-appearance='secondary' />
19
19
  *
20
20
  * @see-also
21
21
  * Switch, Radio, Appearance
@@ -32,20 +32,22 @@
32
32
  flex-shrink: 0;
33
33
 
34
34
  &::before {
35
- .fullsize(absolute, inset);
36
-
37
- content: '';
35
+ position: absolute;
36
+ block-size: 100%;
37
+ inline-size: 100%;
38
38
  font-size: 1rem;
39
- background: currentColor;
40
- mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"></svg>') no-repeat center /
41
- calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem)) ~'min(1em, 100%)' padding-box;
39
+ mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"></svg>');
42
40
  transform: scale(0);
43
41
  transition:
44
42
  transform var(--tui-duration) ease-in-out,
45
43
  mask 0s var(--tui-duration) ease-in-out;
46
44
  }
47
45
 
48
- &:disabled._readonly {
46
+ &::after {
47
+ display: none;
48
+ }
49
+
50
+ &:disabled._readonly._readonly {
49
51
  opacity: 1;
50
52
  pointer-events: none;
51
53
  }
@@ -53,7 +55,7 @@
53
55
  &:checked,
54
56
  &:indeterminate {
55
57
  &::before {
56
- mask-image: var(--t-checked-icon);
58
+ mask-image: var(--t-icon-start);
57
59
  transform: scale(1);
58
60
  transition:
59
61
  transform var(--tui-duration) ease-in-out,
@@ -63,7 +65,7 @@
63
65
  }
64
66
 
65
67
  &:indeterminate::before {
66
- mask-image: var(--t-indeterminate-icon);
68
+ mask-image: var(--t-icon-end);
67
69
  }
68
70
 
69
71
  &[data-size='s'] {
@@ -11,7 +11,7 @@
11
11
  * data-size — size (default: 's') ('xxs' | 'xs' | 's' | 'm')
12
12
  *
13
13
  * @example
14
- * <tui-chip>Sale</tui-badge>
14
+ * <tui-chip>Sale</tui-chip>
15
15
  *
16
16
  * @see-also
17
17
  * Icons, Appearance, Badge, Block
@@ -32,6 +32,7 @@ tui-chip,
32
32
  block-size: var(--t-size);
33
33
  inline-size: fit-content;
34
34
  isolation: isolate;
35
+ max-inline-size: stretch;
35
36
 
36
37
  .interactive({
37
38
  cursor: pointer;
@@ -47,6 +48,11 @@ tui-chip,
47
48
  margin: -0.375rem;
48
49
  }
49
50
 
51
+ > tui-badge,
52
+ > [tuiBadge] {
53
+ margin-inline-end: 0;
54
+ }
55
+
50
56
  &[data-size='xxs'] {
51
57
  // StackBlitz changes "0rem" to "0" breaking calc
52
58
  --t-gap: ~'0rem';
@@ -85,6 +91,11 @@ tui-chip,
85
91
  & > [tuiIconButton] {
86
92
  margin: -0.75rem;
87
93
  }
94
+
95
+ & > tui-badge,
96
+ & > [tuiBadge] {
97
+ margin-inline-start: -0.375rem;
98
+ }
88
99
  }
89
100
 
90
101
  & > img,
@@ -115,8 +126,6 @@ tui-chip,
115
126
  }
116
127
  }
117
128
 
118
- &[tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
119
- &[tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
120
129
  &[tuiAppearance][data-appearance='negative'],
121
130
  &[tuiAppearance][data-appearance='positive'],
122
131
  &[tuiAppearance][data-appearance='warning'],
@@ -11,12 +11,12 @@
11
11
  * data-size — size (default: 'm') ('s' | 'm')
12
12
  *
13
13
  * @vars
14
- * --t-icon-color - custom color for `:checked` state
15
- * --t-unchecked-icon — default state icon
16
- * --t-checked-icon — checkmark icon
14
+ * --t-icon-color custom color for `:checked` state
15
+ * --t-icon-start — default state icon
16
+ * --t-icon-end — checkmark icon
17
17
  *
18
18
  * @example
19
- * <input tuiLike />
19
+ * <input tuiLike tuiIcons tuiAppearance data-appearance="secondary" />
20
20
  *
21
21
  * @see-also
22
22
  * Checkbox, Switch, Radio, Appearance
@@ -34,16 +34,11 @@
34
34
  &::after {
35
35
  .fullsize();
36
36
 
37
- content: '';
38
- background: currentColor;
39
37
  font-size: 1.25rem;
40
- mask: var(--t-unchecked-icon) no-repeat center /
41
- calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem)) ~'min(1em, 100%)' padding-box;
42
38
  transition-property: transform, opacity;
43
39
  }
44
40
 
45
41
  &::after {
46
- mask-image: var(--t-checked-icon);
47
42
  opacity: 0;
48
43
  color: var(--t-icon-color, inherit);
49
44
  transform: scale(0);
@@ -13,7 +13,6 @@
13
13
  * @see-also
14
14
  * Compass
15
15
  */
16
- tui-pin,
17
16
  [tuiPin] {
18
17
  --t-size: 2rem;
19
18
 
@@ -64,8 +63,7 @@ tui-pin,
64
63
  background: var(--tui-background-base);
65
64
  }
66
65
 
67
- > tui-icon,
68
- > tui-svg {
66
+ > tui-icon {
69
67
  .transition(~'width, height');
70
68
 
71
69
  font-size: 1.25rem;
@@ -84,8 +82,7 @@ tui-pin,
84
82
  padding: 0.125rem;
85
83
  }
86
84
 
87
- > tui-icon,
88
- > tui-svg {
85
+ > tui-icon {
89
86
  font-size: 2.125rem;
90
87
  }
91
88
 
@@ -113,8 +110,7 @@ tui-pin,
113
110
  padding: 0.125rem;
114
111
  }
115
112
 
116
- > tui-icon,
117
- > tui-svg {
113
+ > tui-icon {
118
114
  font-size: 2.125rem;
119
115
  }
120
116
 
@@ -29,7 +29,7 @@
29
29
  border-radius: 100%;
30
30
  color: var(--tui-text-primary-on-accent-1);
31
31
 
32
- &:disabled._readonly {
32
+ &:disabled._readonly._readonly {
33
33
  opacity: 1;
34
34
  }
35
35
 
@@ -11,10 +11,10 @@
11
11
  * data-size — size (default: 'm') ('s' | 'm')
12
12
  *
13
13
  * @vars
14
- * --t-checked-icon — checkmark icon
14
+ * --t-icon-start — checkmark icon
15
15
  *
16
16
  * @example
17
- * <input type="checkbox" tuiSwitch />
17
+ * <input type="checkbox" tuiSwitch tuiAppearance data-appearance="primary" />
18
18
  *
19
19
  * @see-also
20
20
  * Checkbox, Radio
@@ -63,13 +63,12 @@
63
63
  }
64
64
  }
65
65
 
66
- &:disabled._readonly {
66
+ &:disabled._readonly._readonly {
67
67
  opacity: 1;
68
68
  }
69
69
 
70
70
  &::before,
71
71
  &::after {
72
- content: '';
73
72
  position: absolute;
74
73
  block-size: 100%;
75
74
  inline-size: 1.5rem;
@@ -77,10 +76,6 @@
77
76
  }
78
77
 
79
78
  &::before {
80
- display: var(--t-checked-icon, none);
81
- background: currentColor;
82
- mask: var(--t-checked-icon) no-repeat center / calc(~'min(1em, 100%)' + 10 * var(--tui-stroke-width, 0.125rem))
83
- ~'min(1em, 100%)' padding-box;
84
79
  font-size: 1rem;
85
80
  inline-size: 1.375rem;
86
81
  transform: translateX(-1.5rem);
@@ -88,11 +83,16 @@
88
83
 
89
84
  &::after {
90
85
  right: 0;
86
+ display: block;
91
87
  border-radius: 100%;
88
+ background: none;
92
89
  transform: scale(0.33333);
93
90
  box-shadow: -4.5rem 0 0 0.75rem var(--tui-background-base);
94
91
  outline: 0.375rem solid var(--tui-background-neutral-2-pressed);
95
- outline-offset: var(--t-checked-icon, 20rem);
92
+ }
93
+
94
+ &:not([data-icon-start])::after {
95
+ outline-offset: 20rem;
96
96
  }
97
97
 
98
98
  &:invalid:not([data-mode]),