@taiga-ui/kit 4.52.0-canary.a4e325d → 4.52.0-canary.aaf153c

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 (355) hide show
  1. package/components/accordion/accordion.component.d.ts +13 -0
  2. package/components/accordion/accordion.d.ts +4 -4
  3. package/components/accordion/accordion.directive.d.ts +11 -10
  4. package/components/accordion/index.d.ts +1 -3
  5. package/components/action-bar/action-bar.component.d.ts +5 -7
  6. package/components/action-bar/index.d.ts +0 -2
  7. package/components/avatar/avatar-outline.directive.d.ts +3 -3
  8. package/components/avatar/avatar.directive.d.ts +15 -0
  9. package/components/avatar/avatar.options.d.ts +1 -4
  10. package/components/avatar/index.d.ts +1 -1
  11. package/components/badge/badge.directive.d.ts +2 -2
  12. package/components/block/block.directive.d.ts +4 -4
  13. package/components/block/block.options.d.ts +1 -1
  14. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  15. package/components/calendar-month/calendar-month.options.d.ts +1 -1
  16. package/components/calendar-range/calendar-range.component.d.ts +1 -2
  17. package/components/checkbox/checkbox.component.d.ts +7 -18
  18. package/components/checkbox/checkbox.options.d.ts +5 -9
  19. package/components/chip/chip.directive.d.ts +2 -4
  20. package/components/comment/comment.directive.d.ts +2 -2
  21. package/components/confirm/confirm.component.d.ts +2 -1
  22. package/components/confirm/confirm.service.d.ts +2 -1
  23. package/{directives → components}/copy/copy.component.d.ts +1 -1
  24. package/{directives → components}/copy/copy.directive.d.ts +2 -2
  25. package/{directives → components}/copy/copy.options.d.ts +2 -2
  26. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +2 -0
  27. package/components/files/file/file.options.d.ts +1 -1
  28. package/components/files/files/files.component.d.ts +2 -2
  29. package/components/floating-container/floating-container.directive.d.ts +2 -2
  30. package/components/fullscreen/fullscreen.component.d.ts +14 -0
  31. package/components/fullscreen/index.d.ts +1 -0
  32. package/components/index.d.ts +3 -2
  33. package/components/input-chip/input-chip.options.d.ts +1 -1
  34. package/components/input-color/input-color.component.d.ts +2 -2
  35. package/components/input-color/input-color.options.d.ts +1 -1
  36. package/components/input-date/input-date.options.d.ts +1 -1
  37. package/components/input-number/input-number.options.d.ts +1 -1
  38. package/components/input-number/quantum.directive.d.ts +1 -1
  39. package/components/input-number/step/input-number-step.component.d.ts +1 -1
  40. package/components/input-phone/input-phone.options.d.ts +1 -1
  41. package/components/input-phone-international/input-phone-international.component.d.ts +24 -30
  42. package/components/input-pin/input-pin.component.d.ts +1 -1
  43. package/components/input-range/input-range.component.d.ts +9 -12
  44. package/components/input-slider/input-slider.directive.d.ts +2 -4
  45. package/components/input-time/input-time.directive.d.ts +6 -8
  46. package/components/input-time/input-time.options.d.ts +1 -1
  47. package/components/like/like.component.d.ts +4 -11
  48. package/components/like/like.options.d.ts +3 -4
  49. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  50. package/components/line-clamp/line-clamp.component.d.ts +12 -18
  51. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -3
  52. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  53. package/components/pager/pager.component.d.ts +1 -1
  54. package/components/pagination/pagination.component.d.ts +1 -1
  55. package/components/pin/pin.directive.d.ts +2 -2
  56. package/components/preview/pagination/preview-pagination.component.d.ts +1 -1
  57. package/components/preview/preview.component.d.ts +1 -1
  58. package/components/preview/zoom/preview-zoom.component.d.ts +1 -1
  59. package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
  60. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +4 -4
  61. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
  62. package/components/push/push-alert.component.d.ts +4 -3
  63. package/components/push/push.component.d.ts +2 -2
  64. package/components/push/push.directive.d.ts +4 -6
  65. package/components/push/push.options.d.ts +4 -8
  66. package/components/push/push.service.d.ts +6 -2
  67. package/components/radio/radio.component.d.ts +7 -8
  68. package/components/radio/radio.directive.d.ts +2 -2
  69. package/components/radio/radio.options.d.ts +2 -5
  70. package/components/range/range-change.directive.d.ts +1 -2
  71. package/components/range/range.component.d.ts +16 -24
  72. package/components/rating/rating.component.d.ts +5 -5
  73. package/components/rating/rating.options.d.ts +5 -3
  74. package/components/segmented/segmented.component.d.ts +1 -3
  75. package/components/select/native-select/native-select.component.d.ts +4 -5
  76. package/components/slider/helpers/key-steps.d.ts +1 -2
  77. package/components/slider/helpers/slider-key-steps.directive.d.ts +12 -21
  78. package/components/slides/slides.directive.d.ts +4 -4
  79. package/components/status/status.directive.d.ts +2 -2
  80. package/components/switch/switch.component.d.ts +7 -19
  81. package/components/switch/switch.options.d.ts +4 -8
  82. package/components/tabs/tabs-with-more.component.d.ts +1 -1
  83. package/components/textarea/textarea-limit.directive.d.ts +4 -5
  84. package/components/textarea/textarea.options.d.ts +1 -1
  85. package/components/toast/index.d.ts +5 -0
  86. package/components/toast/toast.component.d.ts +18 -0
  87. package/components/toast/toast.d.ts +3 -0
  88. package/components/toast/toast.directive.d.ts +7 -0
  89. package/components/toast/toast.options.d.ts +9 -0
  90. package/components/toast/toast.service.d.ts +17 -0
  91. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -1
  92. package/directives/button-select/button-select.directive.d.ts +1 -2
  93. package/directives/chevron/chevron.directive.d.ts +2 -3
  94. package/directives/fade/fade.directive.d.ts +1 -0
  95. package/directives/fluid-typography/fluid-typography.directive.d.ts +3 -6
  96. package/directives/highlight/highlight.directive.d.ts +1 -3
  97. package/directives/index.d.ts +0 -2
  98. package/directives/password/password.options.d.ts +1 -1
  99. package/directives/sensitive/sensitive.directive.d.ts +2 -2
  100. package/directives/shimmer/shimmer.directive.d.ts +3 -3
  101. package/directives/skeleton/skeleton.directive.d.ts +3 -3
  102. package/directives/tooltip/tooltip.directive.d.ts +2 -2
  103. package/directives/tooltip/tooltip.options.d.ts +1 -4
  104. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -145
  105. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +22 -38
  107. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-kit-components-avatar.mjs +81 -100
  109. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +3 -3
  111. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-components-badge.mjs +15 -21
  113. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +6 -6
  115. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-kit-components-block.mjs +17 -24
  117. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +7 -10
  119. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +6 -6
  121. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +5 -10
  123. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +7 -8
  125. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-kit-components-carousel.mjs +17 -19
  127. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +19 -76
  129. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-kit-components-chip.mjs +22 -27
  131. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +8 -8
  133. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-comment.mjs +13 -20
  135. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-compass.mjs +3 -3
  137. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-confirm.mjs +13 -14
  139. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-copy.mjs +120 -0
  141. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
  142. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +18 -11
  143. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-drawer.mjs +5 -5
  145. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +6 -6
  147. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-files.mjs +35 -43
  149. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-filter.mjs +6 -15
  151. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +13 -19
  153. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +63 -0
  155. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
  156. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +20 -17
  157. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-components-input-color.mjs +9 -12
  159. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +6 -7
  161. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +3 -3
  163. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +8 -10
  165. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-components-input-date.mjs +17 -19
  167. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +5 -6
  169. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +8 -9
  171. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-components-input-month.mjs +13 -15
  173. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-components-input-number.mjs +28 -27
  175. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +105 -131
  177. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +5 -6
  179. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +5 -5
  181. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-components-input-range.mjs +34 -38
  183. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +28 -42
  185. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-components-input-time.mjs +40 -46
  187. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-input-year.mjs +7 -8
  189. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +16 -16
  191. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-like.mjs +40 -33
  193. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +38 -83
  195. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-message.mjs +9 -11
  197. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +47 -46
  199. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +12 -19
  201. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-pager.mjs +6 -6
  203. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-pagination.mjs +7 -9
  205. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components-pin.mjs +15 -19
  207. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +11 -11
  209. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-components-preview.mjs +34 -36
  211. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-components-progress.mjs +70 -70
  213. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-components-pulse.mjs +3 -3
  215. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-components-push.mjs +49 -56
  217. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +5 -6
  219. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-components-radio.mjs +34 -39
  221. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-components-range.mjs +40 -81
  223. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  224. package/fesm2022/taiga-ui-kit-components-rating.mjs +17 -21
  225. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  226. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +3 -3
  227. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  228. package/fesm2022/taiga-ui-kit-components-segmented.mjs +6 -6
  229. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  230. package/fesm2022/taiga-ui-kit-components-select.mjs +44 -48
  231. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  232. package/fesm2022/taiga-ui-kit-components-slider.mjs +69 -67
  233. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  234. package/fesm2022/taiga-ui-kit-components-slides.mjs +14 -22
  235. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +1 -1
  236. package/fesm2022/taiga-ui-kit-components-status.mjs +12 -16
  237. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  238. package/fesm2022/taiga-ui-kit-components-stepper.mjs +11 -11
  239. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  240. package/fesm2022/taiga-ui-kit-components-switch.mjs +19 -65
  241. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  242. package/fesm2022/taiga-ui-kit-components-tabs.mjs +29 -34
  243. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  244. package/fesm2022/taiga-ui-kit-components-textarea.mjs +17 -25
  245. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  246. package/fesm2022/taiga-ui-kit-components-tiles.mjs +12 -12
  247. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  248. package/fesm2022/taiga-ui-kit-components-toast.mjs +165 -0
  249. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -0
  250. package/fesm2022/taiga-ui-kit-components-tree.mjs +33 -42
  251. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  252. package/fesm2022/taiga-ui-kit-components.mjs +3 -2
  253. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  255. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  256. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +9 -12
  257. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  258. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +5 -12
  259. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  260. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +13 -20
  261. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  262. package/fesm2022/taiga-ui-kit-directives-connected.mjs +9 -14
  263. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  264. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +3 -3
  265. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  266. package/fesm2022/taiga-ui-kit-directives-fade.mjs +9 -12
  267. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  268. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +12 -19
  269. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  270. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +3 -3
  271. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  272. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +6 -7
  273. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  274. package/fesm2022/taiga-ui-kit-directives-password.mjs +8 -11
  275. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  276. package/fesm2022/taiga-ui-kit-directives-present.mjs +3 -3
  277. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  278. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +13 -18
  279. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  280. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +24 -34
  281. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  282. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +27 -38
  283. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  284. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +15 -20
  285. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  286. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +5 -6
  287. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  288. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +3 -3
  289. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  290. package/fesm2022/taiga-ui-kit-directives.mjs +0 -2
  291. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  292. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  293. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  294. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
  295. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  296. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
  297. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  298. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +5 -4
  299. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  300. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  301. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  302. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  303. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  304. package/fesm2022/taiga-ui-kit-pipes.mjs +0 -1
  305. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  306. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -7
  307. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  308. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  309. package/package.json +22 -29
  310. package/pipes/index.d.ts +0 -1
  311. package/styles/components/avatar.less +188 -0
  312. package/styles/components/badge.less +1 -0
  313. package/styles/components/block.less +1 -1
  314. package/styles/components/checkbox.less +14 -12
  315. package/styles/components/chip.less +13 -4
  316. package/styles/components/like.less +4 -9
  317. package/styles/components/pin.less +3 -7
  318. package/styles/components/radio.less +1 -1
  319. package/styles/components/switch.less +9 -9
  320. package/styles/components/toast.less +44 -0
  321. package/tokens/i18n.d.ts +25 -26
  322. package/tokens/index.d.ts +0 -1
  323. package/tokens/input-date-options.d.ts +1 -1
  324. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  325. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  326. package/components/accordion/accordion-item.component.d.ts +0 -25
  327. package/components/action-bar/action-bar.d.ts +0 -3
  328. package/components/action-bar/action-bar.directive.d.ts +0 -6
  329. package/components/avatar/avatar.component.d.ts +0 -15
  330. package/components/input-password/index.d.ts +0 -2
  331. package/components/input-password/input-password.component.d.ts +0 -16
  332. package/components/input-password/input-password.options.d.ts +0 -24
  333. package/components/pdf-viewer/index.d.ts +0 -4
  334. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  335. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  336. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  337. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  338. package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
  339. package/directives/icon-badge/index.d.ts +0 -1
  340. package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -95
  341. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
  342. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  343. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  344. package/fesm2022/taiga-ui-kit-directives-copy.mjs +0 -120
  345. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
  346. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
  347. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
  348. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
  349. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
  350. package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
  351. package/pipes/field-error/field-error-pipe.d.ts +0 -29
  352. package/pipes/field-error/index.d.ts +0 -2
  353. package/tokens/validation-errors.d.ts +0 -5
  354. /package/{directives → components}/copy/copy.d.ts +0 -0
  355. /package/{directives → components}/copy/index.d.ts +0 -0
@@ -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]),
@@ -0,0 +1,44 @@
1
+ @import '@taiga-ui/core/styles/taiga-ui-local.less';
2
+
3
+ [tuiToast] {
4
+ .transition(transform);
5
+
6
+ display: flex;
7
+ grid-row: 1 / span 2;
8
+ box-sizing: border-box;
9
+ gap: 0.75rem;
10
+ color: var(--tui-text-primary);
11
+ background: var(--tui-background-elevation-3);
12
+ min-block-size: 3.5rem;
13
+ border-radius: 1rem;
14
+ padding: 0.75rem 1rem;
15
+ box-shadow: var(--tui-shadow-medium);
16
+ align-items: center;
17
+ justify-content: center;
18
+ inline-size: max-content;
19
+ font: var(--tui-font-text-ui-s);
20
+ max-inline-size: ~'min(calc(100vw - 2rem), 25rem)';
21
+ border: inherit;
22
+ text-decoration: none;
23
+ overflow: hidden;
24
+
25
+ .interactive({
26
+ cursor: pointer;
27
+ });
28
+
29
+ > *,
30
+ &::after,
31
+ &::before {
32
+ max-inline-size: 50%;
33
+ margin: 0 -0.25rem;
34
+ }
35
+
36
+ &::after {
37
+ font-size: 1rem;
38
+ color: var(--tui-text-tertiary);
39
+ }
40
+
41
+ [tuiAvatar] {
42
+ margin-inline-end: 0;
43
+ }
44
+ }
package/tokens/i18n.d.ts CHANGED
@@ -1,21 +1,20 @@
1
- import { InjectionToken } from '@angular/core';
1
+ import { InjectionToken, type Signal } from '@angular/core';
2
2
  import { type TuiDateMode } from '@taiga-ui/cdk/date-time';
3
3
  import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
4
- import { type Observable } from 'rxjs';
5
- export declare const TUI_CONFIRM_WORDS: InjectionToken<Observable<{
4
+ export declare const TUI_CONFIRM_WORDS: InjectionToken<Signal<{
6
5
  no: string;
7
6
  yes: string;
8
7
  }>>;
9
- export declare const TUI_CANCEL_WORD: InjectionToken<Observable<string>>;
10
- export declare const TUI_DONE_WORD: InjectionToken<Observable<string>>;
11
- export declare const TUI_MORE_WORD: InjectionToken<Observable<string>>;
12
- export declare const TUI_HIDE_TEXT: InjectionToken<Observable<string>>;
13
- export declare const TUI_SHOW_ALL_TEXT: InjectionToken<Observable<string>>;
14
- export declare const TUI_OTHER_DATE_TEXT: InjectionToken<Observable<string>>;
15
- export declare const TUI_CHOOSE_DAY_OR_RANGE_TEXTS: InjectionToken<Observable<readonly [choose_day: string, choose_range: string, choose_days: string]>>;
16
- export declare const TUI_FROM_TO_TEXTS: InjectionToken<Observable<readonly [from: string, to: string]>>;
17
- export declare const TUI_PLUS_MINUS_TEXTS: InjectionToken<Observable<readonly [plus: string, minus: string]>>;
18
- export declare const TUI_TIME_TEXTS: InjectionToken<Observable<{
8
+ export declare const TUI_CANCEL_WORD: InjectionToken<Signal<string>>;
9
+ export declare const TUI_DONE_WORD: InjectionToken<Signal<string>>;
10
+ export declare const TUI_MORE_WORD: InjectionToken<Signal<string>>;
11
+ export declare const TUI_HIDE_TEXT: InjectionToken<Signal<string>>;
12
+ export declare const TUI_SHOW_ALL_TEXT: InjectionToken<Signal<string>>;
13
+ export declare const TUI_OTHER_DATE_TEXT: InjectionToken<Signal<string>>;
14
+ export declare const TUI_CHOOSE_DAY_OR_RANGE_TEXTS: InjectionToken<Signal<readonly [choose_day: string, choose_range: string, choose_days: string]>>;
15
+ export declare const TUI_FROM_TO_TEXTS: InjectionToken<Signal<readonly [from: string, to: string]>>;
16
+ export declare const TUI_PLUS_MINUS_TEXTS: InjectionToken<Signal<readonly [plus: string, minus: string]>>;
17
+ export declare const TUI_TIME_TEXTS: InjectionToken<Signal<{
19
18
  'MM:SS': string;
20
19
  'HH:MM': string;
21
20
  'HH:MM AA': string;
@@ -29,18 +28,18 @@ export declare const TUI_TIME_TEXTS: InjectionToken<Observable<{
29
28
  'MM.SS.MSS': string;
30
29
  'SS.MSS': string;
31
30
  }>>;
32
- export declare const TUI_DATE_TEXTS: InjectionToken<Observable<Record<TuiDateMode, string>>>;
33
- export declare const TUI_DIGITAL_INFORMATION_UNITS: InjectionToken<Observable<readonly [short_byte: string, short_kilobyte: string, short_megabyte: string]>>;
34
- export declare const TUI_COPY_TEXTS: InjectionToken<Observable<readonly [copy: string, copied: string]>>;
35
- export declare const TUI_PASSWORD_TEXTS: InjectionToken<Observable<readonly [show_password: string, hide_password: string]>>;
36
- export declare const TUI_CALENDAR_MONTHS: InjectionToken<Observable<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
37
- export declare const TUI_FILE_TEXTS: InjectionToken<Observable<{
31
+ export declare const TUI_DATE_TEXTS: InjectionToken<Signal<Record<TuiDateMode, string>>>;
32
+ export declare const TUI_DIGITAL_INFORMATION_UNITS: InjectionToken<Signal<readonly [short_byte: string, short_kilobyte: string, short_megabyte: string]>>;
33
+ export declare const TUI_COPY_TEXTS: InjectionToken<Signal<readonly [copy: string, copied: string]>>;
34
+ export declare const TUI_PASSWORD_TEXTS: InjectionToken<Signal<readonly [show_password: string, hide_password: string]>>;
35
+ export declare const TUI_CALENDAR_MONTHS: InjectionToken<Signal<readonly [January: string, February: string, March: string, April: string, May: string, June: string, July: string, August: string, September: string, October: string, November: string, December: string]>>;
36
+ export declare const TUI_FILE_TEXTS: InjectionToken<Signal<{
38
37
  loadingError: string;
39
38
  preview: string;
40
39
  remove: string;
41
40
  }>>;
42
- export declare const TUI_PAGINATION_TEXTS: InjectionToken<Observable<readonly [previous_page: string, next_page: string]>>;
43
- export declare const TUI_INPUT_FILE_TEXTS: InjectionToken<Observable<{
41
+ export declare const TUI_PAGINATION_TEXTS: InjectionToken<Signal<readonly [previous_page: string, next_page: string]>>;
42
+ export declare const TUI_INPUT_FILE_TEXTS: InjectionToken<Signal<{
44
43
  defaultLabelMultiple: string;
45
44
  defaultLabelSingle: string;
46
45
  defaultLinkMultiple: string;
@@ -50,17 +49,17 @@ export declare const TUI_INPUT_FILE_TEXTS: InjectionToken<Observable<{
50
49
  formatRejectionReason: string;
51
50
  maxSizeRejectionReason: string;
52
51
  }>>;
53
- export declare const TUI_MULTI_SELECT_TEXTS: InjectionToken<Observable<{
52
+ export declare const TUI_MULTI_SELECT_TEXTS: InjectionToken<Signal<{
54
53
  all: string;
55
54
  none: string;
56
55
  }>>;
57
- export declare const TUI_COUNTRIES: InjectionToken<Observable<Record<TuiCountryIsoCode, string>>>;
58
- export declare const TUI_PREVIEW_TEXTS: InjectionToken<Observable<{
56
+ export declare const TUI_COUNTRIES: InjectionToken<Signal<Record<TuiCountryIsoCode, string>>>;
57
+ export declare const TUI_PREVIEW_TEXTS: InjectionToken<Signal<{
59
58
  rotate: string;
60
59
  }>>;
61
- export declare const TUI_PREVIEW_ZOOM_TEXTS: InjectionToken<Observable<{
60
+ export declare const TUI_PREVIEW_ZOOM_TEXTS: InjectionToken<Signal<{
62
61
  zoomIn: string;
63
62
  zoomOut: string;
64
63
  reset: string;
65
64
  }>>;
66
- export declare const TUI_INTERNATIONAL_SEARCH: InjectionToken<Observable<string>>;
65
+ export declare const TUI_INTERNATIONAL_SEARCH: InjectionToken<Signal<string>>;
package/tokens/index.d.ts CHANGED
@@ -6,4 +6,3 @@ export * from './items-handlers';
6
6
  export * from './mobile-calendar';
7
7
  export * from './month-formatter';
8
8
  export * from './preview-icons';
9
- export * from './validation-errors';
@@ -12,4 +12,4 @@ export declare const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions;
12
12
  /**
13
13
  * Default parameters for InputDate component
14
14
  */
15
- export declare const TUI_INPUT_DATE_OPTIONS: import("@angular/core").InjectionToken<TuiInputDateOptions>, tuiInputDateOptionsProvider: (item: Partial<TuiInputDateOptions> | import("@angular/core").ProviderToken<Partial<TuiInputDateOptions>> | (() => Partial<TuiInputDateOptions>)) => import("@angular/core").FactoryProvider;
15
+ export declare const TUI_INPUT_DATE_OPTIONS: import("@angular/core").InjectionToken<TuiInputDateOptions>, tuiInputDateOptionsProvider: (item: Partial<TuiInputDateOptions> | (() => Partial<TuiInputDateOptions>)) => import("@angular/core").FactoryProvider;
@@ -1,6 +0,0 @@
1
- import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiAccordionItemContent extends PolymorpheusTemplate<Record<string, unknown>> {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItemContent, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAccordionItemContent, "ng-template[tuiAccordionItemContent]", never, {}, {}, never, never, true, never>;
6
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiAccordionItemEagerContent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItemEagerContent, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAccordionItemEagerContent, "[tuiAccordionItemContent]:not(ng-template)", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,25 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type TuiSizeS } from '@taiga-ui/core/types';
3
- import { TuiAccordionItemContent } from './accordion-item-content.directive';
4
- import { TuiAccordionItemEagerContent } from './accordion-item-eager-content.directive';
5
- import * as i0 from "@angular/core";
6
- export declare class TuiAccordionItem {
7
- private readonly cdr;
8
- protected readonly eagerContent?: TuiAccordionItemEagerContent;
9
- protected readonly lazyContent?: TuiAccordionItemContent;
10
- noPadding: boolean;
11
- showArrow: boolean;
12
- borders: 'all' | 'top-bottom' | null;
13
- size: TuiSizeS;
14
- disabled: boolean;
15
- disableHover: boolean;
16
- open: boolean;
17
- async: boolean;
18
- readonly openChange: EventEmitter<boolean>;
19
- close(): void;
20
- protected onRowToggle(): void;
21
- protected onItemKeyDownEsc(event: Event): void;
22
- private updateOpen;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAccordionItem, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiAccordionItem, "tui-accordion-item", never, { "noPadding": { "alias": "noPadding"; "required": false; }; "showArrow": { "alias": "showArrow"; "required": false; }; "borders": { "alias": "borders"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disableHover": { "alias": "disableHover"; "required": false; }; "open": { "alias": "open"; "required": false; }; "async": { "alias": "async"; "required": false; }; }, { "openChange": "openChange"; }, ["eagerContent", "lazyContent"], ["*", "[tuiAccordionItemContent]:not(ng-template)"], true, never>;
25
- }
@@ -1,3 +0,0 @@
1
- import { TuiActionBarComponent } from './action-bar.component';
2
- import { TuiActionBarDirective } from './action-bar.directive';
3
- export declare const TuiActionBar: readonly [typeof TuiActionBarComponent, typeof TuiActionBarDirective];
@@ -1,6 +0,0 @@
1
- import { TuiDropdownPortal } from '@taiga-ui/core/directives/dropdown';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiActionBarDirective extends TuiDropdownPortal {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiActionBarDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiActionBarDirective, "ng-template[tuiActionBar]", never, { "tuiDropdown": { "alias": "tuiActionBar"; "required": false; }; }, {}, never, never, true, never>;
6
- }
@@ -1,15 +0,0 @@
1
- import { type SafeResourceUrl } from '@angular/platform-browser';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@taiga-ui/core/directives/appearance";
4
- import * as i2 from "@taiga-ui/core/directives/icons";
5
- export declare class TuiAvatar {
6
- private readonly options;
7
- size: "m" | "s" | "xs" | "l" | "xl" | "xxl";
8
- round: boolean;
9
- src?: SafeResourceUrl | string | null;
10
- protected get value(): SafeResourceUrl | string;
11
- protected get svg(): boolean;
12
- protected get type(): 'content' | 'icon' | 'img' | 'text';
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAvatar, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiAvatar, "tui-avatar,button[tuiAvatar],a[tuiAvatar]", never, { "size": { "alias": "size"; "required": false; }; "round": { "alias": "round"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiIcons; inputs: { "iconStart": "src"; }; outputs: {}; }]>;
15
- }
@@ -1,2 +0,0 @@
1
- export * from './input-password.component';
2
- export * from './input-password.options';
@@ -1,16 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@taiga-ui/core/components/textfield";
3
- /**
4
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
5
- */
6
- export declare class TuiInputPassword {
7
- private readonly options;
8
- private readonly texts;
9
- protected readonly el: HTMLInputElement;
10
- protected readonly size: import("@angular/core").WritableSignal<"m" | "l" | "s">;
11
- protected readonly hidden: import("@angular/core").WritableSignal<boolean>;
12
- protected readonly text: import("@angular/core").Signal<string>;
13
- protected readonly icon: import("@angular/core").Signal<string>;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPassword, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPassword, "input[tuiInputPassword]", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiWithTextfield; inputs: {}; outputs: {}; }]>;
16
- }
@@ -1,24 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiStringHandler } from '@taiga-ui/cdk/types';
3
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
- /**
5
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
6
- */
7
- export interface TuiInputPasswordOptions {
8
- readonly icons: Readonly<{
9
- hide: TuiStringHandler<TuiSizeL | TuiSizeS> | string;
10
- show: TuiStringHandler<TuiSizeL | TuiSizeS> | string;
11
- }>;
12
- }
13
- /**
14
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
15
- */
16
- export declare const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS: TuiInputPasswordOptions;
17
- /**
18
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
19
- */
20
- export declare const TUI_INPUT_PASSWORD_OPTIONS: InjectionToken<TuiInputPasswordOptions>;
21
- /**
22
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
23
- */
24
- export declare function tuiInputPasswordOptionsProvider(options: Partial<TuiInputPasswordOptions>): Provider;
@@ -1,4 +0,0 @@
1
- export * from './pdf-viewer.component';
2
- export * from './pdf-viewer.directive';
3
- export * from './pdf-viewer.options';
4
- export * from './pdf-viewer.service';
@@ -1,12 +0,0 @@
1
- import { type TuiPopover } from '@taiga-ui/cdk/services';
2
- import { type TuiPdfViewerOptions } from './pdf-viewer.options';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@taiga-ui/cdk/directives/animated";
5
- export declare class TuiPdfViewerComponent<I, O> {
6
- protected readonly closeWord$: import("rxjs").Observable<string>;
7
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
8
- protected readonly context: TuiPopover<TuiPdfViewerOptions<I>, O>;
9
- protected onKeyDownEsc(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerComponent<any, any>, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiPdfViewerComponent<any, any>, "tui-pdf-viewer", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
12
- }
@@ -1,7 +0,0 @@
1
- import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
2
- import { type TuiPdfViewerOptions } from './pdf-viewer.options';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiPdfViewerDirective<T> extends TuiPopoverDirective<TuiPdfViewerOptions<T>> {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerDirective<any>, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPdfViewerDirective<any>, "ng-template[tuiPdfViewer]", never, { "options": { "alias": "tuiPdfViewerOptions"; "required": false; }; "open": { "alias": "tuiPdfViewer"; "required": false; }; }, { "openChange": "tuiPdfViewerChange"; }, never, never, true, never>;
7
- }
@@ -1,13 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
- export declare const TUI_PDF_VIEWER_DEFAULT_OPTIONS: TuiPdfViewerOptions;
4
- /**
5
- * Default parameters for PdfViewer component
6
- */
7
- export declare const TUI_PDF_VIEWER_OPTIONS: InjectionToken<TuiPdfViewerOptions<undefined>>;
8
- export declare function tuiPdfViewerOptionsProvider(options: Partial<TuiPdfViewerOptions>): Provider;
9
- export interface TuiPdfViewerOptions<I = undefined> {
10
- readonly actions: PolymorpheusContent<TuiPdfViewerOptions<I>>;
11
- readonly data: I;
12
- readonly label: string;
13
- }
@@ -1,13 +0,0 @@
1
- import { type SafeResourceUrl } from '@angular/platform-browser';
2
- import { type TuiPopoverContext, TuiPopoverService } from '@taiga-ui/cdk/services';
3
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- import { type Observable } from 'rxjs';
5
- import { type TuiPdfViewerOptions } from './pdf-viewer.options';
6
- import * as i0 from "@angular/core";
7
- type Content<G> = PolymorpheusContent<TuiPdfViewerOptions<unknown> & TuiPopoverContext<G>>;
8
- export declare class TuiPdfViewerService extends TuiPopoverService<TuiPdfViewerOptions<unknown>> {
9
- open<G>(content: Content<G> | SafeResourceUrl, options?: Partial<TuiPdfViewerOptions<any>>): Observable<G>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerService, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiPdfViewerService>;
12
- }
13
- export {};
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiIconBadge {
3
- private readonly icon;
4
- protected readonly nothing: undefined;
5
- protected readonly badgeSrc: import("@angular/core").WritableSignal<string | null>;
6
- set badge(icon: string);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiIconBadge, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiIconBadge, "tui-icon[badge]", never, { "badge": { "alias": "badge"; "required": false; }; }, {}, never, never, true, never>;
9
- }
@@ -1 +0,0 @@
1
- export * from './icon-badge.directive';
@@ -1,95 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, signal, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { toSignal } from '@angular/core/rxjs-interop';
4
- import { tuiFallbackValueProvider } from '@taiga-ui/cdk/tokens';
5
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
6
- import { tuiProvideOptions, tuiIsString } from '@taiga-ui/cdk/utils/miscellaneous';
7
- import { TuiIcon } from '@taiga-ui/core/components/icon';
8
- import * as i1 from '@taiga-ui/core/components/textfield';
9
- import { TUI_TEXTFIELD_OPTIONS, TuiTextfieldContent, TuiWithTextfield } from '@taiga-ui/core/components/textfield';
10
- import { TuiTooltip } from '@taiga-ui/kit/directives';
11
- import { TUI_PASSWORD_TEXTS } from '@taiga-ui/kit/tokens';
12
-
13
- /**
14
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
15
- */
16
- const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS = {
17
- icons: {
18
- hide: '@tui.eye-off',
19
- show: '@tui.eye',
20
- },
21
- };
22
- /**
23
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
24
- */
25
- const TUI_INPUT_PASSWORD_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_PASSWORD_OPTIONS' : '', {
26
- factory: () => TUI_INPUT_PASSWORD_DEFAULT_OPTIONS,
27
- });
28
- /**
29
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
30
- */
31
- function tuiInputPasswordOptionsProvider(options) {
32
- return tuiProvideOptions(TUI_INPUT_PASSWORD_OPTIONS, options, TUI_INPUT_PASSWORD_DEFAULT_OPTIONS);
33
- }
34
-
35
- /**
36
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
37
- */
38
- class TuiInputPassword {
39
- constructor() {
40
- this.options = inject(TUI_INPUT_PASSWORD_OPTIONS);
41
- this.texts = toSignal(inject(TUI_PASSWORD_TEXTS), {
42
- initialValue: ['', ''],
43
- });
44
- this.el = tuiInjectElement();
45
- this.size = inject(TUI_TEXTFIELD_OPTIONS).size;
46
- this.hidden = signal(true);
47
- this.text = computed(() => this.hidden() ? this.texts()[0] : this.texts()[1]);
48
- this.icon = computed((size = this.size()) => {
49
- const icon = this.hidden() ? this.options.icons.show : this.options.icons.hide;
50
- return tuiIsString(icon) ? icon : icon(size);
51
- });
52
- }
53
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiInputPassword, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
54
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: TuiInputPassword, isStandalone: true, selector: "input[tuiInputPassword]", host: { attributes: { "ngSkipHydration": "true" }, properties: { "type": "hidden() ? \"password\" : \"text\"" } }, providers: [tuiFallbackValueProvider('')], hostDirectives: [{ directive: i1.TuiWithTextfield }], ngImport: i0, template: `
55
- <tui-icon
56
- *tuiTextfieldContent
57
- [icon]="icon()"
58
- [style.border]="size() === 's' ? null : 'none'"
59
- [tuiTooltip]="text()"
60
- (click)="hidden.set(!hidden())"
61
- (mousedown.capture.prevent.stop)="el.focus()"
62
- />
63
- `, isInline: true, dependencies: [{ kind: "component", type: TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: TuiTextfieldContent, selector: "ng-template[tuiTextfieldContent]" }, { kind: "directive", type: TuiTooltip, selector: "tui-icon[tuiTooltip]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
64
- }
65
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiInputPassword, decorators: [{
66
- type: Component,
67
- args: [{
68
- selector: 'input[tuiInputPassword]',
69
- imports: [TuiIcon, TuiTextfieldContent, TuiTooltip],
70
- template: `
71
- <tui-icon
72
- *tuiTextfieldContent
73
- [icon]="icon()"
74
- [style.border]="size() === 's' ? null : 'none'"
75
- [tuiTooltip]="text()"
76
- (click)="hidden.set(!hidden())"
77
- (mousedown.capture.prevent.stop)="el.focus()"
78
- />
79
- `,
80
- changeDetection: ChangeDetectionStrategy.OnPush,
81
- providers: [tuiFallbackValueProvider('')],
82
- hostDirectives: [TuiWithTextfield],
83
- host: {
84
- ngSkipHydration: 'true',
85
- '[type]': 'hidden() ? "password" : "text"',
86
- },
87
- }]
88
- }] });
89
-
90
- /**
91
- * Generated bundle index. Do not edit.
92
- */
93
-
94
- export { TUI_INPUT_PASSWORD_DEFAULT_OPTIONS, TUI_INPUT_PASSWORD_OPTIONS, TuiInputPassword, tuiInputPasswordOptionsProvider };
95
- //# sourceMappingURL=taiga-ui-kit-components-input-password.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-kit-components-input-password.mjs","sources":["../../../projects/kit/components/input-password/input-password.options.ts","../../../projects/kit/components/input-password/input-password.component.ts","../../../projects/kit/components/input-password/taiga-ui-kit-components-input-password.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\nexport interface TuiInputPasswordOptions {\n readonly icons: Readonly<{\n hide: TuiStringHandler<TuiSizeL | TuiSizeS> | string;\n show: TuiStringHandler<TuiSizeL | TuiSizeS> | string;\n }>;\n}\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\nexport const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS: TuiInputPasswordOptions = {\n icons: {\n hide: '@tui.eye-off',\n show: '@tui.eye',\n },\n};\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\nexport const TUI_INPUT_PASSWORD_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_PASSWORD_OPTIONS' : '',\n {\n factory: () => TUI_INPUT_PASSWORD_DEFAULT_OPTIONS,\n },\n);\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\nexport function tuiInputPasswordOptionsProvider(\n options: Partial<TuiInputPasswordOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_PASSWORD_OPTIONS,\n options,\n TUI_INPUT_PASSWORD_DEFAULT_OPTIONS,\n );\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n signal,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {tuiFallbackValueProvider} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {\n TUI_TEXTFIELD_OPTIONS,\n TuiTextfieldContent,\n TuiWithTextfield,\n} from '@taiga-ui/core/components/textfield';\nimport {TuiTooltip} from '@taiga-ui/kit/directives';\nimport {TUI_PASSWORD_TEXTS} from '@taiga-ui/kit/tokens';\n\nimport {TUI_INPUT_PASSWORD_OPTIONS} from './input-password.options';\n\n/**\n * @deprecated use {@link TuiPassword} with {@link TuiTextfield}\n */\n@Component({\n selector: 'input[tuiInputPassword]',\n imports: [TuiIcon, TuiTextfieldContent, TuiTooltip],\n template: `\n <tui-icon\n *tuiTextfieldContent\n [icon]=\"icon()\"\n [style.border]=\"size() === 's' ? null : 'none'\"\n [tuiTooltip]=\"text()\"\n (click)=\"hidden.set(!hidden())\"\n (mousedown.capture.prevent.stop)=\"el.focus()\"\n />\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiFallbackValueProvider('')],\n hostDirectives: [TuiWithTextfield],\n host: {\n ngSkipHydration: 'true',\n '[type]': 'hidden() ? \"password\" : \"text\"',\n },\n})\nexport class TuiInputPassword {\n private readonly options = inject(TUI_INPUT_PASSWORD_OPTIONS);\n private readonly texts = toSignal(inject(TUI_PASSWORD_TEXTS), {\n initialValue: ['', ''] as const,\n });\n\n protected readonly el = tuiInjectElement<HTMLInputElement>();\n protected readonly size = inject(TUI_TEXTFIELD_OPTIONS).size;\n protected readonly hidden = signal(true);\n protected readonly text = computed(() =>\n this.hidden() ? this.texts()[0] : this.texts()[1],\n );\n\n protected readonly icon = computed((size = this.size()) => {\n const icon = this.hidden() ? this.options.icons.show : this.options.icons.hide;\n\n return tuiIsString(icon) ? icon : icon(size);\n });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}