@taiga-ui/core 2.36.0 → 2.38.0

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 (357) hide show
  1. package/abstract/abstract-dropdown.d.ts +3 -3
  2. package/abstract/abstract-hint.d.ts +1 -1
  3. package/abstract/taiga-ui-core-abstract.metadata.json +1 -1
  4. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  5. package/bundles/taiga-ui-core-abstract.umd.min.js.map +1 -1
  6. package/bundles/taiga-ui-core-components-button.umd.js +6 -6
  7. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  8. package/bundles/taiga-ui-core-components-button.umd.min.js +2 -2
  9. package/bundles/taiga-ui-core-components-button.umd.min.js.map +1 -1
  10. package/bundles/taiga-ui-core-components-dialog.umd.js +2 -19
  11. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  12. package/bundles/taiga-ui-core-components-dialog.umd.min.js +2 -2
  13. package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +1 -1
  14. package/bundles/taiga-ui-core-components-dropdown-box.umd.js +3 -6
  15. package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +1 -1
  16. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +1 -1
  17. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +1 -1
  18. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-expand.umd.min.js.map +1 -1
  20. package/bundles/taiga-ui-core-components-group.umd.js +23 -4
  21. package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
  22. package/bundles/taiga-ui-core-components-group.umd.min.js +2 -2
  23. package/bundles/taiga-ui-core-components-group.umd.min.js.map +1 -1
  24. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +1 -4
  25. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  26. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js +1 -1
  27. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +1 -1
  28. package/bundles/taiga-ui-core-components-link.umd.js +1 -1
  29. package/bundles/taiga-ui-core-components-link.umd.min.js +1 -1
  30. package/bundles/taiga-ui-core-components-link.umd.min.js.map +1 -1
  31. package/bundles/taiga-ui-core-components-loader.umd.js +1 -1
  32. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  33. package/bundles/taiga-ui-core-components-loader.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
  35. package/bundles/taiga-ui-core-components-notification.umd.min.js.map +1 -1
  36. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +4 -4
  37. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  38. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js +2 -2
  39. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +1 -1
  40. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +5 -5
  41. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  42. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +2 -2
  43. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +1 -1
  44. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
  45. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-core-components-root.umd.js +3 -3
  47. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  48. package/bundles/taiga-ui-core-components-root.umd.min.js +1 -1
  49. package/bundles/taiga-ui-core-components-root.umd.min.js.map +1 -1
  50. package/bundles/taiga-ui-core-components-tooltip.umd.js +1 -1
  51. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  52. package/bundles/taiga-ui-core-components-tooltip.umd.min.js +2 -2
  53. package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +1 -1
  54. package/bundles/taiga-ui-core-components.umd.js +4 -12
  55. package/bundles/taiga-ui-core-components.umd.js.map +1 -1
  56. package/bundles/taiga-ui-core-components.umd.min.js +1 -1
  57. package/bundles/taiga-ui-core-constants.umd.js +1 -1
  58. package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
  59. package/bundles/taiga-ui-core-constants.umd.min.js +1 -1
  60. package/bundles/taiga-ui-core-constants.umd.min.js.map +1 -1
  61. package/bundles/{taiga-ui-core-components-wrapper.umd.js → taiga-ui-core-directives-wrapper.umd.js} +56 -40
  62. package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -0
  63. package/bundles/taiga-ui-core-directives-wrapper.umd.min.js +16 -0
  64. package/bundles/taiga-ui-core-directives-wrapper.umd.min.js.map +1 -0
  65. package/bundles/taiga-ui-core-directives.umd.js +12 -4
  66. package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
  67. package/bundles/taiga-ui-core-directives.umd.min.js +1 -1
  68. package/bundles/taiga-ui-core-enums.umd.js +2 -0
  69. package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
  70. package/bundles/taiga-ui-core-enums.umd.min.js.map +1 -1
  71. package/bundles/taiga-ui-core-modules-notifications.umd.js +4 -6
  72. package/bundles/taiga-ui-core-modules-notifications.umd.js.map +1 -1
  73. package/bundles/taiga-ui-core-modules-notifications.umd.min.js +1 -1
  74. package/bundles/taiga-ui-core-modules-notifications.umd.min.js.map +1 -1
  75. package/bundles/taiga-ui-core-tokens.umd.js +8 -0
  76. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  77. package/bundles/taiga-ui-core-tokens.umd.min.js +2 -2
  78. package/bundles/taiga-ui-core-tokens.umd.min.js.map +1 -1
  79. package/bundles/taiga-ui-core-utils-dom.umd.js +1 -1
  80. package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
  81. package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +1 -1
  82. package/bundles/taiga-ui-core-utils-format.umd.js +1 -1
  83. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  84. package/bundles/taiga-ui-core-utils-format.umd.min.js.map +1 -1
  85. package/bundles/taiga-ui-core-utils-mask.umd.js +7 -2
  86. package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
  87. package/bundles/taiga-ui-core-utils-mask.umd.min.js +1 -1
  88. package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +1 -1
  89. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +2 -2
  90. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
  91. package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js +1 -1
  92. package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js.map +1 -1
  93. package/components/button/button-options.d.ts +1 -1
  94. package/components/button/taiga-ui-core-components-button.metadata.json +1 -1
  95. package/components/dialog/dialog.component.d.ts +0 -1
  96. package/components/dialog/taiga-ui-core-components-dialog.metadata.json +1 -1
  97. package/components/dropdown-box/dropdown-box.component.d.ts +2 -3
  98. package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +1 -1
  99. package/components/expand/expand.component.d.ts +2 -1
  100. package/components/expand/taiga-ui-core-components-expand.metadata.json +1 -1
  101. package/components/group/group-styles.component.d.ts +2 -0
  102. package/components/group/group.directive.d.ts +2 -0
  103. package/components/group/index.d.ts +1 -0
  104. package/components/group/taiga-ui-core-components-group.metadata.json +1 -1
  105. package/components/hosted-dropdown/hosted-dropdown.component.d.ts +2 -3
  106. package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.metadata.json +1 -1
  107. package/components/index.d.ts +0 -1
  108. package/components/link/taiga-ui-core-components-link.metadata.json +1 -1
  109. package/components/notification/notification.component.d.ts +3 -3
  110. package/components/notification/taiga-ui-core-components-notification.metadata.json +1 -1
  111. package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.metadata.json +1 -1
  112. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +1 -1
  113. package/components/primitive-year-picker/primitive-year-picker.component.d.ts +3 -3
  114. package/components/root/root.component.d.ts +3 -4
  115. package/components/root/taiga-ui-core-components-root.metadata.json +1 -1
  116. package/components/taiga-ui-core-components.metadata.json +1 -1
  117. package/components/tooltip/tooltip.component.d.ts +1 -1
  118. package/constants/taiga-ui-core-constants.metadata.json +1 -1
  119. package/constants/version.d.ts +1 -1
  120. package/directives/index.d.ts +1 -0
  121. package/directives/taiga-ui-core-directives.metadata.json +1 -1
  122. package/directives/wrapper/index.d.ts +2 -0
  123. package/directives/wrapper/package.json +13 -0
  124. package/{components/wrapper/taiga-ui-core-components-wrapper.d.ts → directives/wrapper/taiga-ui-core-directives-wrapper.d.ts} +0 -0
  125. package/directives/wrapper/taiga-ui-core-directives-wrapper.metadata.json +1 -0
  126. package/{components/wrapper/wrapper.component.d.ts → directives/wrapper/wrapper.directive.d.ts} +7 -6
  127. package/{components → directives}/wrapper/wrapper.module.d.ts +0 -0
  128. package/esm2015/abstract/abstract-dropdown.js +2 -2
  129. package/esm2015/abstract/abstract-hint.js +1 -1
  130. package/esm2015/components/button/button-options.js +1 -1
  131. package/esm2015/components/button/button.component.js +4 -4
  132. package/esm2015/components/button/button.module.js +2 -2
  133. package/esm2015/components/dialog/dialog.component.js +3 -16
  134. package/esm2015/components/dropdown-box/dropdown-box.component.js +5 -8
  135. package/esm2015/components/expand/expand.component.js +1 -1
  136. package/esm2015/components/group/group-styles.component.js +13 -0
  137. package/esm2015/components/group/group.directive.js +12 -6
  138. package/esm2015/components/group/group.module.js +4 -3
  139. package/esm2015/components/group/index.js +2 -1
  140. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +3 -6
  141. package/esm2015/components/index.js +1 -2
  142. package/esm2015/components/link/link.component.js +1 -1
  143. package/esm2015/components/loader/loader.directive.js +2 -2
  144. package/esm2015/components/notification/notification.component.js +1 -1
  145. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +2 -2
  146. package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +2 -2
  147. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +1 -1
  148. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +2 -2
  149. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +1 -1
  150. package/esm2015/components/root/root.component.js +4 -4
  151. package/esm2015/components/root/root.module.js +3 -3
  152. package/esm2015/components/tooltip/tooltip.component.js +2 -2
  153. package/esm2015/constants/version.js +2 -2
  154. package/esm2015/directives/index.js +2 -1
  155. package/esm2015/{components → directives}/wrapper/index.js +2 -2
  156. package/esm2015/{components/wrapper/taiga-ui-core-components-wrapper.js → directives/wrapper/taiga-ui-core-directives-wrapper.js} +1 -1
  157. package/esm2015/directives/wrapper/wrapper.directive.js +98 -0
  158. package/esm2015/{components → directives}/wrapper/wrapper.module.js +4 -4
  159. package/esm2015/enums/interactive-state.js +3 -1
  160. package/esm2015/interfaces/dropdown-directive.js +1 -1
  161. package/esm2015/modules/notifications/notification-alert/notification-alert.component.js +4 -5
  162. package/esm2015/modules/notifications/notifications-host/notifications-host.component.js +3 -3
  163. package/esm2015/modules/notifications/notifications.service.js +2 -2
  164. package/esm2015/tokens/notification-options.js +8 -1
  165. package/esm2015/utils/dom/process-icon.js +2 -2
  166. package/esm2015/utils/format/format-number.js +2 -2
  167. package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +2 -2
  168. package/esm2015/utils/mask/create-number-mask.js +1 -2
  169. package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +5 -0
  170. package/esm2015/utils/mask/index.js +2 -1
  171. package/esm2015/utils/miscellaneous/icons-path-factory.js +2 -2
  172. package/esm2015/utils/miscellaneous/is-editing-key.js +2 -2
  173. package/esm5/abstract/abstract-dropdown.js +2 -2
  174. package/esm5/abstract/abstract-hint.js +1 -1
  175. package/esm5/components/button/button-options.js +1 -1
  176. package/esm5/components/button/button.component.js +4 -4
  177. package/esm5/components/button/button.module.js +2 -2
  178. package/esm5/components/dialog/dialog.component.js +3 -20
  179. package/esm5/components/dropdown-box/dropdown-box.component.js +5 -8
  180. package/esm5/components/expand/expand.component.js +1 -1
  181. package/esm5/components/group/group-styles.component.js +16 -0
  182. package/esm5/components/group/group.directive.js +12 -6
  183. package/esm5/components/group/group.module.js +4 -3
  184. package/esm5/components/group/index.js +2 -1
  185. package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +3 -6
  186. package/esm5/components/index.js +1 -2
  187. package/esm5/components/link/link.component.js +1 -1
  188. package/esm5/components/loader/loader.directive.js +2 -2
  189. package/esm5/components/notification/notification.component.js +1 -1
  190. package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +2 -2
  191. package/esm5/components/primitive-checkbox/primitive-checkbox.module.js +2 -2
  192. package/esm5/components/primitive-textfield/primitive-textfield.component.js +1 -1
  193. package/esm5/components/primitive-textfield/primitive-textfield.module.js +2 -2
  194. package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +1 -1
  195. package/esm5/components/root/root.component.js +4 -4
  196. package/esm5/components/root/root.module.js +3 -3
  197. package/esm5/components/tooltip/tooltip.component.js +2 -2
  198. package/esm5/constants/version.js +2 -2
  199. package/esm5/directives/index.js +2 -1
  200. package/esm5/{components → directives}/wrapper/index.js +2 -2
  201. package/esm5/{components/wrapper/taiga-ui-core-components-wrapper.js → directives/wrapper/taiga-ui-core-directives-wrapper.js} +1 -1
  202. package/esm5/directives/wrapper/wrapper.directive.js +119 -0
  203. package/esm5/{components → directives}/wrapper/wrapper.module.js +4 -4
  204. package/esm5/enums/interactive-state.js +3 -1
  205. package/esm5/interfaces/dropdown-directive.js +1 -1
  206. package/esm5/modules/notifications/notification-alert/notification-alert.component.js +4 -5
  207. package/esm5/modules/notifications/notifications-host/notifications-host.component.js +3 -3
  208. package/esm5/modules/notifications/notifications.service.js +2 -2
  209. package/esm5/tokens/notification-options.js +9 -1
  210. package/esm5/utils/dom/process-icon.js +2 -2
  211. package/esm5/utils/format/format-number.js +2 -2
  212. package/esm5/utils/mask/create-auto-corrected-money-pipe.js +2 -2
  213. package/esm5/utils/mask/create-number-mask.js +1 -2
  214. package/esm5/utils/mask/enable-auto-correct-decimal-symbol.js +6 -0
  215. package/esm5/utils/mask/index.js +2 -1
  216. package/esm5/utils/miscellaneous/icons-path-factory.js +2 -2
  217. package/esm5/utils/miscellaneous/is-editing-key.js +2 -2
  218. package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
  219. package/fesm2015/taiga-ui-core-components-button.js +4 -4
  220. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  221. package/fesm2015/taiga-ui-core-components-dialog.js +2 -15
  222. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  223. package/fesm2015/taiga-ui-core-components-dropdown-box.js +4 -7
  224. package/fesm2015/taiga-ui-core-components-dropdown-box.js.map +1 -1
  225. package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
  226. package/fesm2015/taiga-ui-core-components-group.js +23 -8
  227. package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
  228. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +2 -5
  229. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
  230. package/fesm2015/taiga-ui-core-components-link.js +1 -1
  231. package/fesm2015/taiga-ui-core-components-loader.js +1 -1
  232. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  233. package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
  234. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +2 -2
  235. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  236. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +2 -2
  237. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  238. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
  239. package/fesm2015/taiga-ui-core-components-root.js +5 -5
  240. package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
  241. package/fesm2015/taiga-ui-core-components-tooltip.js +1 -1
  242. package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
  243. package/fesm2015/taiga-ui-core-components.js +0 -1
  244. package/fesm2015/taiga-ui-core-components.js.map +1 -1
  245. package/fesm2015/taiga-ui-core-constants.js +1 -1
  246. package/fesm2015/taiga-ui-core-constants.js.map +1 -1
  247. package/fesm2015/taiga-ui-core-directives-wrapper.js +113 -0
  248. package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -0
  249. package/fesm2015/taiga-ui-core-directives.js +1 -0
  250. package/fesm2015/taiga-ui-core-directives.js.map +1 -1
  251. package/fesm2015/taiga-ui-core-enums.js +2 -0
  252. package/fesm2015/taiga-ui-core-enums.js.map +1 -1
  253. package/fesm2015/taiga-ui-core-modules-notifications.js +5 -6
  254. package/fesm2015/taiga-ui-core-modules-notifications.js.map +1 -1
  255. package/fesm2015/taiga-ui-core-tokens.js +8 -1
  256. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  257. package/fesm2015/taiga-ui-core-utils-dom.js +1 -1
  258. package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
  259. package/fesm2015/taiga-ui-core-utils-format.js +1 -1
  260. package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
  261. package/fesm2015/taiga-ui-core-utils-mask.js +7 -4
  262. package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
  263. package/fesm2015/taiga-ui-core-utils-miscellaneous.js +2 -2
  264. package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
  265. package/fesm5/taiga-ui-core-abstract.js.map +1 -1
  266. package/fesm5/taiga-ui-core-components-button.js +4 -4
  267. package/fesm5/taiga-ui-core-components-button.js.map +1 -1
  268. package/fesm5/taiga-ui-core-components-dialog.js +2 -19
  269. package/fesm5/taiga-ui-core-components-dialog.js.map +1 -1
  270. package/fesm5/taiga-ui-core-components-dropdown-box.js +4 -7
  271. package/fesm5/taiga-ui-core-components-dropdown-box.js.map +1 -1
  272. package/fesm5/taiga-ui-core-components-expand.js.map +1 -1
  273. package/fesm5/taiga-ui-core-components-group.js +26 -8
  274. package/fesm5/taiga-ui-core-components-group.js.map +1 -1
  275. package/fesm5/taiga-ui-core-components-hosted-dropdown.js +2 -5
  276. package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
  277. package/fesm5/taiga-ui-core-components-link.js +1 -1
  278. package/fesm5/taiga-ui-core-components-loader.js +1 -1
  279. package/fesm5/taiga-ui-core-components-loader.js.map +1 -1
  280. package/fesm5/taiga-ui-core-components-notification.js.map +1 -1
  281. package/fesm5/taiga-ui-core-components-primitive-checkbox.js +2 -2
  282. package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  283. package/fesm5/taiga-ui-core-components-primitive-textfield.js +2 -2
  284. package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  285. package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
  286. package/fesm5/taiga-ui-core-components-root.js +5 -5
  287. package/fesm5/taiga-ui-core-components-root.js.map +1 -1
  288. package/fesm5/taiga-ui-core-components-tooltip.js +1 -1
  289. package/fesm5/taiga-ui-core-components-tooltip.js.map +1 -1
  290. package/fesm5/taiga-ui-core-components.js +0 -1
  291. package/fesm5/taiga-ui-core-components.js.map +1 -1
  292. package/fesm5/taiga-ui-core-constants.js +1 -1
  293. package/fesm5/taiga-ui-core-constants.js.map +1 -1
  294. package/fesm5/taiga-ui-core-directives-wrapper.js +137 -0
  295. package/fesm5/taiga-ui-core-directives-wrapper.js.map +1 -0
  296. package/fesm5/taiga-ui-core-directives.js +1 -0
  297. package/fesm5/taiga-ui-core-directives.js.map +1 -1
  298. package/fesm5/taiga-ui-core-enums.js +2 -0
  299. package/fesm5/taiga-ui-core-enums.js.map +1 -1
  300. package/fesm5/taiga-ui-core-modules-notifications.js +5 -6
  301. package/fesm5/taiga-ui-core-modules-notifications.js.map +1 -1
  302. package/fesm5/taiga-ui-core-tokens.js +9 -2
  303. package/fesm5/taiga-ui-core-tokens.js.map +1 -1
  304. package/fesm5/taiga-ui-core-utils-dom.js +1 -1
  305. package/fesm5/taiga-ui-core-utils-dom.js.map +1 -1
  306. package/fesm5/taiga-ui-core-utils-format.js +1 -1
  307. package/fesm5/taiga-ui-core-utils-format.js.map +1 -1
  308. package/fesm5/taiga-ui-core-utils-mask.js +8 -4
  309. package/fesm5/taiga-ui-core-utils-mask.js.map +1 -1
  310. package/fesm5/taiga-ui-core-utils-miscellaneous.js +2 -2
  311. package/fesm5/taiga-ui-core-utils-miscellaneous.js.map +1 -1
  312. package/interfaces/dropdown-directive.d.ts +2 -2
  313. package/modules/notifications/notification-alert/notification-alert.component.d.ts +3 -4
  314. package/modules/notifications/notifications.service.d.ts +3 -3
  315. package/modules/notifications/taiga-ui-core-modules-notifications.metadata.json +1 -1
  316. package/package.json +4 -4
  317. package/styles/markup/tui-group.less +4 -2
  318. package/styles/mixins/slider.less +33 -0
  319. package/styles/mixins/slider.scss +34 -0
  320. package/styles/mixins/textfield.less +8 -6
  321. package/styles/mixins/textfield.scss +2 -2
  322. package/styles/mixins/wrapper.less +57 -0
  323. package/styles/mixins/wrapper.scss +57 -0
  324. package/styles/taiga-ui-local.less +2 -0
  325. package/styles/taiga-ui-local.scss +2 -0
  326. package/styles/theme/variables.less +1 -1
  327. package/styles/theme/wrapper/accent.less +16 -18
  328. package/styles/theme/wrapper/base.less +35 -0
  329. package/styles/theme/wrapper/icon.less +18 -28
  330. package/styles/theme/wrapper/outline.less +28 -29
  331. package/styles/theme/wrapper/primary.less +20 -18
  332. package/styles/theme/wrapper/secondary.less +35 -35
  333. package/styles/theme/wrapper/table.less +27 -33
  334. package/styles/theme/wrapper/textfield.less +45 -55
  335. package/styles/theme/wrapper/whiteblock.less +27 -16
  336. package/styles/theme/wrapper.less +2 -0
  337. package/tokens/notification-options.d.ts +10 -4
  338. package/tokens/taiga-ui-core-tokens.metadata.json +1 -1
  339. package/utils/format/format-number.d.ts +1 -1
  340. package/utils/mask/create-auto-corrected-money-pipe.d.ts +1 -1
  341. package/utils/mask/create-number-mask.d.ts +0 -1
  342. package/utils/mask/enable-auto-correct-decimal-symbol.d.ts +2 -0
  343. package/utils/mask/index.d.ts +1 -0
  344. package/utils/mask/taiga-ui-core-utils-mask.metadata.json +1 -1
  345. package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.metadata.json +1 -1
  346. package/bundles/taiga-ui-core-components-wrapper.umd.js.map +0 -1
  347. package/bundles/taiga-ui-core-components-wrapper.umd.min.js +0 -16
  348. package/bundles/taiga-ui-core-components-wrapper.umd.min.js.map +0 -1
  349. package/components/wrapper/index.d.ts +0 -2
  350. package/components/wrapper/package.json +0 -13
  351. package/components/wrapper/taiga-ui-core-components-wrapper.metadata.json +0 -1
  352. package/esm2015/components/wrapper/wrapper.component.js +0 -91
  353. package/esm5/components/wrapper/wrapper.component.js +0 -104
  354. package/fesm2015/taiga-ui-core-components-wrapper.js +0 -106
  355. package/fesm2015/taiga-ui-core-components-wrapper.js.map +0 -1
  356. package/fesm5/taiga-ui-core-components-wrapper.js +0 -122
  357. package/fesm5/taiga-ui-core-components-wrapper.js.map +0 -1
@@ -1,4 +1,8 @@
1
- tui-wrapper[data-appearance='outline'] {
1
+ @import '../../taiga-ui-local.less';
2
+
3
+ /* stylelint-disable order/order */
4
+ tui-wrapper[data-appearance='outline'],
5
+ [tuiWrapper][data-appearance='outline'] {
2
6
  background: transparent;
3
7
  color: var(--tui-text-01);
4
8
 
@@ -6,23 +10,6 @@ tui-wrapper[data-appearance='outline'] {
6
10
  color: var(--tui-base-04);
7
11
  }
8
12
 
9
- &[data-state='hovered'] {
10
- &:after {
11
- color: var(--tui-base-05);
12
- }
13
- }
14
-
15
- &:active,
16
- &[data-state='pressed'] {
17
- &:after {
18
- color: var(--tui-base-06);
19
- }
20
- }
21
-
22
- &[data-state='disabled'] {
23
- opacity: var(--tui-disabled-opacity);
24
- }
25
-
26
13
  &[data-mode='onDark'] {
27
14
  color: var(--tui-text-01-night);
28
15
 
@@ -30,25 +17,25 @@ tui-wrapper[data-appearance='outline'] {
30
17
  color: var(--tui-text-01-night);
31
18
  }
32
19
 
33
- &[data-state='hovered'] {
20
+ .wrapper-hover({
34
21
  background: var(--tui-clear-inverse-hover);
35
22
 
36
23
  &:after {
37
24
  color: var(--tui-text-03-night);
38
25
  }
39
- }
26
+ });
40
27
 
41
- &[data-state='pressed'] {
28
+ .wrapper-active({
42
29
  background: var(--tui-clear-inverse-active);
43
30
 
44
31
  &:after {
45
32
  color: var(--tui-text-03-night);
46
33
  }
47
- }
34
+ });
48
35
 
49
- &._focused:after {
50
- color: var(--tui-text-01-night);
51
- }
36
+ .wrapper-focus({
37
+ --tui-focus: var(--tui-text-01-night);
38
+ });
52
39
  }
53
40
 
54
41
  &[data-mode='onLight'] {
@@ -58,20 +45,32 @@ tui-wrapper[data-appearance='outline'] {
58
45
  color: var(--tui-text-01);
59
46
  }
60
47
 
61
- &[data-state='hovered'] {
48
+ .wrapper-hover({
62
49
  background: var(--tui-clear-hover);
63
50
 
64
51
  &:after {
65
52
  color: var(--tui-text-03);
66
53
  }
67
- }
54
+ });
68
55
 
69
- &[data-state='pressed'] {
56
+ .wrapper-active({
70
57
  background: var(--tui-clear-active);
71
58
 
72
59
  &:after {
73
60
  color: var(--tui-text-03);
74
61
  }
75
- }
62
+ });
76
63
  }
64
+
65
+ .wrapper-hover({
66
+ &:after {
67
+ color: var(--tui-base-05);
68
+ }
69
+ });
70
+
71
+ .wrapper-active({
72
+ &:after {
73
+ color: var(--tui-base-06);
74
+ }
75
+ });
77
76
  }
@@ -1,31 +1,33 @@
1
- tui-wrapper[data-appearance='primary'] {
1
+ @import '../../taiga-ui-local';
2
+
3
+ /* stylelint-disable order/order */
4
+ tui-wrapper[data-appearance='primary'],
5
+ [tuiWrapper][data-appearance='primary'] {
2
6
  background: var(--tui-primary);
3
7
  color: var(--tui-primary-text);
4
8
 
5
- &[data-state='hovered'] {
9
+ .wrapper-hover({
6
10
  background: var(--tui-primary-hover);
7
- }
11
+ });
8
12
 
9
- &:active,
10
- &[data-state='pressed'] {
13
+ .wrapper-active({
11
14
  background: var(--tui-primary-active);
12
- }
13
-
14
- &[data-state='disabled'] {
15
- opacity: var(--tui-disabled-opacity);
16
- }
15
+ });
17
16
 
18
- &._invalid {
17
+ .wrapper-invalid({
19
18
  color: var(--tui-negative-night);
20
19
  background: var(--tui-error-bg);
21
20
 
22
- &[data-state='hovered'],
23
- &[data-state='pressed'] {
21
+ .wrapper-hover({
22
+ background: var(--tui-error-bg-hover);
23
+ });
24
+
25
+ .wrapper-active({
24
26
  background: var(--tui-error-bg-hover);
25
- }
27
+ });
26
28
 
27
- &._focused:after {
28
- color: var(--tui-error-fill);
29
- }
30
- }
29
+ .wrapper-focus({
30
+ --tui-focus: var(--tui-error-fill);
31
+ })
32
+ });
31
33
  }
@@ -1,68 +1,68 @@
1
+ @import '../../taiga-ui-local';
2
+
3
+ /* stylelint-disable order/order */
1
4
  tui-wrapper[data-appearance='secondary'],
2
- tui-wrapper[data-appearance='flat'] {
5
+ tui-wrapper[data-appearance='flat'],
6
+ [tuiWrapper][data-appearance='secondary'],
7
+ [tuiWrapper][data-appearance='flat'] {
3
8
  background: var(--tui-secondary);
4
9
  color: var(--tui-link);
5
10
 
6
- &[data-state='hovered'] {
7
- background: var(--tui-secondary-hover);
8
- color: var(--tui-link-hover);
9
- }
10
-
11
- &:active,
12
- &[data-state='pressed'] {
13
- background: var(--tui-secondary-active);
14
- }
15
-
16
- &[data-state='disabled'] {
17
- opacity: var(--tui-disabled-opacity);
18
- }
19
-
20
11
  &[data-mode='onDark'] {
21
12
  background: var(--tui-clear-inverse);
22
13
  color: var(--tui-text-01-night);
23
14
 
24
- &[data-state='hovered'] {
15
+ .wrapper-hover({
25
16
  background: var(--tui-clear-inverse-hover);
26
- }
17
+ });
27
18
 
28
- &[data-state='pressed'] {
19
+ .wrapper-active({
29
20
  background: var(--tui-clear-inverse-active);
30
- }
21
+ });
31
22
 
32
- &._focused:after {
33
- color: var(--tui-text-01-night);
34
- }
23
+ .wrapper-focus({
24
+ --tui-focus: var(--tui-text-01-night);
25
+ });
35
26
  }
36
27
 
37
28
  &[data-mode='onLight'] {
38
29
  background: var(--tui-clear);
39
30
  color: var(--tui-text-01);
40
31
 
41
- &[data-state='hovered'] {
32
+ .wrapper-hover({
42
33
  background: var(--tui-clear-hover);
43
- }
34
+ });
44
35
 
45
- &[data-state='pressed'] {
36
+ .wrapper-active({
46
37
  background: var(--tui-clear-active);
47
- }
38
+ });
48
39
  }
49
40
 
50
- &._invalid {
41
+ .wrapper-hover({
42
+ background: var(--tui-secondary-hover);
43
+ color: var(--tui-link-hover);
44
+ });
45
+
46
+ .wrapper-active({
47
+ background: var(--tui-secondary-active);
48
+ });
49
+
50
+ .wrapper-invalid({
51
51
  color: var(--tui-error-fill);
52
52
  background: var(--tui-error-bg);
53
53
 
54
- &[data-state='hovered'],
55
- &[data-state='pressed'] {
54
+ .wrapper-hover({
56
55
  background: var(--tui-error-bg-hover);
57
- }
56
+ });
58
57
 
59
- &._focused:after {
60
- color: var(--tui-error-fill);
61
- }
62
- }
58
+ .wrapper-focus({
59
+ --tui-focus: var(--tui-error-fill);
60
+ });
61
+ });
63
62
  }
64
63
 
65
- tui-wrapper[data-appearance='flat'] {
64
+ tui-wrapper[data-appearance='flat'],
65
+ [tuiWrapper][data-appearance='flat'] {
66
66
  background: transparent;
67
67
 
68
68
  &[data-mode='onDark'],
@@ -1,4 +1,8 @@
1
- tui-wrapper[data-appearance='table'] {
1
+ @import '../../taiga-ui-local';
2
+
3
+ /* stylelint-disable order/order */
4
+ tui-wrapper[data-appearance='table'],
5
+ [tuiWrapper][data-appearance='table'] {
2
6
  border-radius: 0;
3
7
  background: transparent;
4
8
  color: var(--tui-text-01);
@@ -16,24 +20,21 @@ tui-wrapper[data-appearance='table'] {
16
20
  color: var(--tui-base-04);
17
21
  }
18
22
 
19
- &[data-state='hovered']:not(._focused) {
20
- background: var(--tui-clear-disabled);
21
- }
22
-
23
- &[data-state='disabled'] {
24
- color: var(--tui-text-03);
23
+ &[data-mode='onDark'] {
24
+ .wrapper-focus({
25
+ --tui-focus: var(--tui-text-01-night);
26
+ });
25
27
  }
26
28
 
27
- &._focused:after {
28
- border-width: 2px;
29
- color: var(--tui-focus);
30
- }
29
+ .wrapper-hover({
30
+ background: var(--tui-clear-disabled);
31
+ });
31
32
 
32
- &[data-mode='onDark']._focused:after {
33
- color: var(--tui-text-01-night);
34
- }
33
+ .wrapper-focus({
34
+ background: transparent;
35
+ });
35
36
 
36
- &._invalid {
37
+ .wrapper-invalid({
37
38
  background: var(--tui-error-bg);
38
39
 
39
40
  &:before {
@@ -42,33 +43,26 @@ tui-wrapper[data-appearance='table'] {
42
43
  top: 0;
43
44
  right: 0;
44
45
  z-index: 1;
45
- // TODO: research if it can be used in rem units
46
- /* stylelint-disable-next-line */
47
- border-top: 8px solid var(--tui-error-fill);
48
- // TODO: research if it can be used in rem units
49
- /* stylelint-disable-next-line */
50
- border-left: 8px solid transparent;
46
+ border-top: 0.5rem solid var(--tui-error-fill);
47
+ border-left: 0.5rem solid transparent;
51
48
  }
52
49
 
53
- &[data-state='hovered'] {
50
+ .wrapper-hover({
54
51
  background: var(--tui-error-bg-hover);
52
+ });
55
53
 
56
- &._focused {
57
- background: transparent;
58
- }
59
- }
60
-
61
- &[data-state='disabled'] {
54
+ .wrapper-disabled({
62
55
  background: transparent;
63
- }
56
+ });
64
57
 
65
- &._focused {
58
+ .wrapper-focus({
66
59
  background: transparent;
67
60
 
61
+ --tui-focus: var(--tui-error-fill);
62
+
68
63
  &:after {
69
64
  border-width: 1px;
70
- color: var(--tui-error-fill);
71
65
  }
72
- }
73
- }
66
+ });
67
+ });
74
68
  }
@@ -1,110 +1,100 @@
1
- tui-wrapper[data-appearance='textfield'] {
2
- transition: var(--tui-duration) ease-in-out;
3
- transition-property: box-shadow, background;
1
+ @import '../../taiga-ui-local';
2
+
3
+ /* stylelint-disable order/order */
4
+ tui-wrapper[data-appearance='textfield'],
5
+ [tuiWrapper][data-appearance='textfield'] {
6
+ .transition('box-shadow, background');
4
7
  background: var(--tui-base-01);
5
8
  color: var(--tui-text-01);
6
9
  box-shadow: 0 0.125rem 0.1875rem rgba(0, 0, 0, 0.1);
7
10
 
8
11
  &[data-appearance='textfield']:after {
9
- transition: color var(--tui-duration) ease-in-out;
10
- border-width: 1px;
12
+ .transition(color);
11
13
  color: var(--tui-base-03);
12
14
  }
13
15
 
14
- &[data-state='hovered'] {
16
+ .wrapper-hover({
15
17
  box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.16);
16
- }
18
+ });
17
19
 
18
- &._focused {
20
+ .wrapper-focus({
19
21
  box-shadow: none;
20
22
 
21
- &:after {
22
- color: var(--tui-primary);
23
- border-width: 2px;
24
- }
25
- }
23
+ --tui-focus: var(--tui-primary);
24
+ });
26
25
 
27
- &[data-state='readonly'] {
26
+ .wrapper-readonly({
28
27
  box-shadow: none;
29
28
 
30
29
  &:after {
31
30
  color: var(--tui-base-04);
32
31
  }
33
- }
32
+ });
34
33
 
35
- &[data-state='disabled'] {
36
- opacity: var(--tui-disabled-opacity);
34
+ .wrapper-disabled({
37
35
  box-shadow: none;
38
- }
36
+ });
39
37
 
40
- &._invalid._focused:after {
41
- color: var(--tui-error-fill);
42
- opacity: var(--tui-disabled-opacity);
43
- }
38
+ .wrapper-invalid({
39
+ --tui-focus: var(--tui-error-fill-night);
40
+ });
44
41
  }
45
42
 
46
- tui-wrapper[data-appearance='textfield'][data-mode='onDark'] {
43
+ tui-wrapper[data-appearance='textfield'][data-mode='onDark'],
44
+ [tuiWrapper][data-appearance='textfield'][data-mode='onDark'] {
47
45
  background: var(--tui-clear-inverse);
48
46
  color: var(--tui-text-01-night);
49
47
 
50
- &[data-appearance='textfield']:after {
48
+ &:after {
51
49
  color: var(--tui-text-03-night);
52
50
  opacity: var(--tui-disabled-opacity);
53
51
  }
54
52
 
55
- &[data-state='hovered'] {
53
+ .wrapper-hover({
56
54
  background: var(--tui-clear-inverse-hover);
55
+ });
57
56
 
58
- &:after {
59
- color: var(--tui-text-02-night);
60
- }
61
- }
62
-
63
- &[data-state='readonly'] {
57
+ .wrapper-readonly({
64
58
  background: transparent;
65
- }
66
-
67
- &._invalid._focused:after {
68
- color: var(--tui-error-fill-night);
69
- }
59
+ });
70
60
 
71
- &._focused {
61
+ .wrapper-focus({
72
62
  background: rgba(255, 255, 255, 0.08);
73
63
 
64
+ --tui-focus: var(--tui-primary);
65
+
74
66
  &:after {
75
67
  transition: none;
76
- color: var(--tui-primary);
77
68
  opacity: 1;
78
69
  }
79
- }
70
+ });
71
+
72
+ .wrapper-invalid({
73
+ --tui-focus: var(--tui-error-fill-night);
74
+ });
80
75
  }
81
76
 
82
- tui-wrapper[data-appearance='textfield'][data-mode='onLight'] {
77
+ tui-wrapper[data-appearance='textfield'][data-mode='onLight'],
78
+ [tuiWrapper][data-appearance='textfield'][data-mode='onLight'] {
83
79
  background: var(--tui-clear);
84
80
 
85
- &[data-state='hovered'] {
81
+ .wrapper-hover({
86
82
  background: var(--tui-clear-hover);
87
- }
83
+ });
88
84
 
89
- &[data-state='readonly'] {
85
+ .wrapper-readonly({
90
86
  background: transparent;
91
- }
87
+ });
92
88
 
93
- &._invalid {
89
+ .wrapper-invalid({
94
90
  &:after {
95
91
  color: var(--tui-error-fill);
96
92
  }
93
+ });
97
94
 
98
- &._focused {
99
- background: transparent;
100
- }
101
- }
102
-
103
- &._focused {
95
+ .wrapper-focus({
104
96
  background: transparent;
105
97
 
106
- &:after {
107
- color: var(--tui-text-01);
108
- }
109
- }
98
+ --tui-focus: var(--tui-text-01);
99
+ });
110
100
  }
@@ -1,5 +1,10 @@
1
+ @import '../../taiga-ui-local';
2
+
3
+ /* stylelint-disable order/order */
1
4
  tui-wrapper[data-appearance='whiteblock'],
2
- tui-wrapper[data-appearance='whiteblock-active'] {
5
+ tui-wrapper[data-appearance='whiteblock-active'],
6
+ [tuiWrapper][data-appearance='whiteblock'],
7
+ [tuiWrapper][data-appearance='whiteblock-active'] {
3
8
  background: var(--tui-base-01);
4
9
  color: var(--tui-text-01);
5
10
 
@@ -7,33 +12,39 @@ tui-wrapper[data-appearance='whiteblock-active'] {
7
12
  color: var(--tui-base-03);
8
13
  }
9
14
 
10
- &:active,
11
- &[data-state='hovered'],
12
- &[data-state='pressed'] {
15
+ .wrapper-hover({
13
16
  background: var(--tui-base-02);
14
17
 
15
18
  &:after {
16
19
  color: var(--tui-base-04);
17
20
  }
18
- }
21
+ });
19
22
 
20
- &[data-state='disabled'] {
21
- opacity: var(--tui-disabled-opacity);
22
- }
23
+ .wrapper-active({
24
+ background: var(--tui-base-02);
25
+
26
+ &:after {
27
+ color: var(--tui-base-04);
28
+ }
29
+ });
23
30
  }
24
31
 
25
- tui-wrapper[data-appearance='whiteblock-active'] {
32
+ tui-wrapper[data-appearance='whiteblock-active'],
33
+ [tuiWrapper][data-appearance='whiteblock-active'] {
26
34
  &:after {
27
35
  color: var(--tui-primary);
28
36
  border-width: 2px;
29
37
  }
30
38
 
31
- &[data-state='hovered']:after {
32
- color: var(--tui-primary-hover);
33
- }
39
+ .wrapper-hover({
40
+ &:after {
41
+ color: var(--tui-primary-hover);
42
+ }
43
+ });
34
44
 
35
- &:active,
36
- &[data-state='pressed']:after {
37
- color: var(--tui-primary-active);
38
- }
45
+ .wrapper-active({
46
+ &:after {
47
+ color: var(--tui-primary-active);
48
+ }
49
+ });
39
50
  }
@@ -6,3 +6,5 @@
6
6
  @import 'wrapper/table.less';
7
7
  @import 'wrapper/textfield.less';
8
8
  @import 'wrapper/whiteblock.less';
9
+
10
+ @import 'wrapper/base.less';
@@ -1,15 +1,21 @@
1
- import { InjectionToken } from '@angular/core';
1
+ import { InjectionToken, ValueProvider } from '@angular/core';
2
2
  import { TuiContextWithImplicit } from '@taiga-ui/cdk';
3
3
  import { TuiNotification } from '@taiga-ui/core/enums';
4
4
  import { TuiNotificationAutoClose } from '@taiga-ui/core/interfaces';
5
5
  import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
6
- export interface NotificationTokenOptions {
6
+ export interface TuiNotificationDefaultOptions {
7
7
  readonly autoClose: TuiNotificationAutoClose;
8
8
  readonly label: PolymorpheusContent<TuiContextWithImplicit<TuiNotification>>;
9
9
  readonly status: TuiNotification;
10
10
  readonly hasIcon: boolean;
11
11
  readonly hasCloseButton: boolean;
12
+ readonly defaultAutoCloseTime: number;
12
13
  }
14
+ /**
15
+ * @deprecated: remove in v3.0, use TuiNotificationDefaultOptions
16
+ */
17
+ export declare type NotificationTokenOptions = TuiNotificationDefaultOptions;
13
18
  /** Default values for the notification options. */
14
- export declare const TUI_NOTIFICATION_DEFAULT_OPTIONS: NotificationTokenOptions;
15
- export declare const TUI_NOTIFICATION_OPTIONS: InjectionToken<NotificationTokenOptions>;
19
+ export declare const TUI_NOTIFICATION_DEFAULT_OPTIONS: TuiNotificationDefaultOptions;
20
+ export declare const TUI_NOTIFICATION_OPTIONS: InjectionToken<TuiNotificationDefaultOptions>;
21
+ export declare function tuiNotificationOptionsProvider(options: Partial<TuiNotificationDefaultOptions>): ValueProvider;