@taiga-ui/core 2.29.0 → 2.33.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 (348) hide show
  1. package/abstract/abstract-dropdown.d.ts +2 -1
  2. package/abstract/abstract-hint-options.d.ts +7 -0
  3. package/abstract/abstract-hint.d.ts +5 -4
  4. package/abstract/abstract-textfield-host.d.ts +13 -0
  5. package/abstract/index.d.ts +2 -0
  6. package/abstract/taiga-ui-core-abstract.metadata.json +1 -1
  7. package/bundles/taiga-ui-core-abstract.umd.js +76 -4
  8. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  9. package/bundles/taiga-ui-core-abstract.umd.min.js +1 -1
  10. package/bundles/taiga-ui-core-abstract.umd.min.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-dialog.umd.js +1 -1
  12. package/bundles/taiga-ui-core-components-dialog.umd.min.js +1 -1
  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 +1 -1
  15. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +1 -1
  16. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-hints-host.umd.js +1 -0
  18. package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-hints-host.umd.min.js.map +1 -1
  20. package/bundles/taiga-ui-core-components-label.umd.js +1 -1
  21. package/bundles/taiga-ui-core-components-label.umd.min.js +1 -1
  22. package/bundles/taiga-ui-core-components-label.umd.min.js.map +1 -1
  23. package/bundles/taiga-ui-core-components-link.umd.js +2 -2
  24. package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
  25. package/bundles/taiga-ui-core-components-link.umd.min.js +1 -1
  26. package/bundles/taiga-ui-core-components-link.umd.min.js.map +1 -1
  27. package/bundles/taiga-ui-core-components-loader.umd.js +5 -2
  28. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  29. package/bundles/taiga-ui-core-components-loader.umd.min.js +1 -1
  30. package/bundles/taiga-ui-core-components-loader.umd.min.js.map +1 -1
  31. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +226 -44
  32. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  33. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +2 -2
  34. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +1 -1
  35. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +1 -1
  36. package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js +2 -2
  37. package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js.map +1 -1
  38. package/bundles/taiga-ui-core-components-theme-night.umd.js +1 -1
  39. package/bundles/taiga-ui-core-components-theme-night.umd.min.js +1 -1
  40. package/bundles/taiga-ui-core-components-theme-night.umd.min.js.map +1 -1
  41. package/bundles/taiga-ui-core-components-tooltip.umd.js +24 -14
  42. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  43. package/bundles/taiga-ui-core-components-tooltip.umd.min.js +2 -2
  44. package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +1 -1
  45. package/bundles/taiga-ui-core-constants.umd.js +2 -2
  46. package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
  47. package/bundles/taiga-ui-core-constants.umd.min.js +1 -1
  48. package/bundles/taiga-ui-core-constants.umd.min.js.map +1 -1
  49. package/bundles/taiga-ui-core-directives-dropdown.umd.js +1 -6
  50. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  51. package/bundles/taiga-ui-core-directives-dropdown.umd.min.js +2 -2
  52. package/bundles/taiga-ui-core-directives-dropdown.umd.min.js.map +1 -1
  53. package/bundles/taiga-ui-core-directives-hint-controller.umd.js +17 -12
  54. package/bundles/taiga-ui-core-directives-hint-controller.umd.js.map +1 -1
  55. package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js +2 -2
  56. package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js.map +1 -1
  57. package/bundles/taiga-ui-core-directives-hint.umd.js +20 -6
  58. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  59. package/bundles/taiga-ui-core-directives-hint.umd.min.js +1 -1
  60. package/bundles/taiga-ui-core-directives-hint.umd.min.js.map +1 -1
  61. package/bundles/taiga-ui-core-directives-manual-hint.umd.js +15 -4
  62. package/bundles/taiga-ui-core-directives-manual-hint.umd.js.map +1 -1
  63. package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js +1 -1
  64. package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js.map +1 -1
  65. package/bundles/taiga-ui-core-directives-pointer-hint.umd.js +17 -6
  66. package/bundles/taiga-ui-core-directives-pointer-hint.umd.js.map +1 -1
  67. package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js +1 -1
  68. package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js.map +1 -1
  69. package/bundles/taiga-ui-core-directives.umd.js +4 -12
  70. package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
  71. package/bundles/taiga-ui-core-directives.umd.min.js +1 -1
  72. package/bundles/taiga-ui-core-providers.umd.js +2 -1
  73. package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
  74. package/bundles/taiga-ui-core-providers.umd.min.js +1 -1
  75. package/bundles/taiga-ui-core-providers.umd.min.js.map +1 -1
  76. package/bundles/taiga-ui-core-tokens.umd.js +3 -0
  77. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  78. package/bundles/taiga-ui-core-tokens.umd.min.js +2 -2
  79. package/bundles/taiga-ui-core-tokens.umd.min.js.map +1 -1
  80. package/bundles/taiga-ui-core-utils-dom.umd.js +1 -1
  81. package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
  82. package/bundles/taiga-ui-core-utils-dom.umd.min.js +1 -1
  83. package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +1 -1
  84. package/bundles/taiga-ui-core-utils-format.umd.js +38 -6
  85. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  86. package/bundles/taiga-ui-core-utils-format.umd.min.js +1 -1
  87. package/bundles/taiga-ui-core-utils-format.umd.min.js.map +1 -1
  88. package/bundles/taiga-ui-core-utils-mask.umd.js +1 -1
  89. package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
  90. package/bundles/taiga-ui-core-utils-mask.umd.min.js +1 -1
  91. package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +1 -1
  92. package/components/dialog/taiga-ui-core-components-dialog.metadata.json +1 -1
  93. package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +1 -1
  94. package/components/label/taiga-ui-core-components-label.metadata.json +1 -1
  95. package/components/link/taiga-ui-core-components-link.metadata.json +1 -1
  96. package/components/loader/loader.directive.d.ts +3 -0
  97. package/components/loader/taiga-ui-core-components-loader.metadata.json +1 -1
  98. package/components/primitive-textfield/index.d.ts +3 -0
  99. package/components/primitive-textfield/primitive-textfield-options.d.ts +11 -0
  100. package/components/primitive-textfield/primitive-textfield.component.d.ts +18 -11
  101. package/components/primitive-textfield/primitive-textfield.directive.d.ts +8 -0
  102. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +1 -1
  103. package/components/primitive-textfield/textfield/textfield.component.d.ts +15 -0
  104. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +1 -0
  105. package/components/scroll-controls/taiga-ui-core-components-scroll-controls.metadata.json +1 -1
  106. package/components/theme-night/taiga-ui-core-components-theme-night.metadata.json +1 -1
  107. package/components/tooltip/taiga-ui-core-components-tooltip.metadata.json +1 -1
  108. package/components/tooltip/tooltip.component.d.ts +9 -6
  109. package/constants/taiga-ui-core-constants.metadata.json +1 -1
  110. package/constants/version.d.ts +1 -1
  111. package/directives/dropdown/taiga-ui-core-directives-dropdown.metadata.json +1 -1
  112. package/directives/hint/hint-options.d.ts +12 -0
  113. package/directives/hint/hint.directive.d.ts +5 -3
  114. package/directives/hint/index.d.ts +1 -0
  115. package/directives/hint/taiga-ui-core-directives-hint.metadata.json +1 -1
  116. package/directives/hint-controller/hint-controller.directive.d.ts +7 -5
  117. package/directives/hint-controller/taiga-ui-core-directives-hint-controller.metadata.json +1 -1
  118. package/directives/index.d.ts +0 -1
  119. package/directives/manual-hint/index.d.ts +1 -0
  120. package/directives/manual-hint/manual-hint-options.d.ts +6 -0
  121. package/directives/manual-hint/manual-hint.directive.d.ts +3 -1
  122. package/directives/manual-hint/taiga-ui-core-directives-manual-hint.metadata.json +1 -1
  123. package/directives/pointer-hint/index.d.ts +1 -0
  124. package/directives/pointer-hint/pointer-hint-options.d.ts +9 -0
  125. package/directives/pointer-hint/pointer-hint.directive.d.ts +5 -3
  126. package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.metadata.json +1 -1
  127. package/directives/taiga-ui-core-directives.metadata.json +1 -1
  128. package/esm2015/abstract/abstract-dropdown.js +12 -1
  129. package/esm2015/abstract/abstract-hint-options.js +6 -0
  130. package/esm2015/abstract/abstract-hint.js +7 -5
  131. package/esm2015/abstract/abstract-textfield-host.js +34 -0
  132. package/esm2015/abstract/index.js +3 -1
  133. package/esm2015/components/dialog/dialog.component.js +1 -1
  134. package/esm2015/components/dropdown-box/dropdown-box.component.js +1 -1
  135. package/esm2015/components/hints-host/hint-box/hint-box.component.js +2 -1
  136. package/esm2015/components/label/label.component.js +1 -1
  137. package/esm2015/components/link/link.component.js +3 -3
  138. package/esm2015/components/loader/loader.component.js +1 -1
  139. package/esm2015/components/loader/loader.directive.js +5 -2
  140. package/esm2015/components/primitive-textfield/index.js +4 -1
  141. package/esm2015/components/primitive-textfield/primitive-textfield-options.js +12 -0
  142. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +66 -31
  143. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +40 -0
  144. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +15 -7
  145. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +68 -0
  146. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +12 -5
  147. package/esm2015/components/scroll-controls/scroll-controls.component.js +1 -1
  148. package/esm2015/components/theme-night/theme-night.component.js +1 -1
  149. package/esm2015/components/tooltip/tooltip.component.js +17 -10
  150. package/esm2015/components/tooltip/tooltip.module.js +3 -2
  151. package/esm2015/constants/regexp.js +2 -2
  152. package/esm2015/constants/version.js +2 -2
  153. package/esm2015/directives/dropdown/dropdown.directive.js +2 -7
  154. package/esm2015/directives/hint/hint-options.js +10 -0
  155. package/esm2015/directives/hint/hint.directive.js +11 -7
  156. package/esm2015/directives/hint/index.js +2 -1
  157. package/esm2015/directives/hint-controller/hint-controller.directive.js +16 -10
  158. package/esm2015/directives/hint-controller/hint-controller.token.js +4 -3
  159. package/esm2015/directives/index.js +1 -2
  160. package/esm2015/directives/manual-hint/index.js +2 -1
  161. package/esm2015/directives/manual-hint/manual-hint-options.js +8 -0
  162. package/esm2015/directives/manual-hint/manual-hint.directive.js +9 -5
  163. package/esm2015/directives/pointer-hint/index.js +2 -1
  164. package/esm2015/directives/pointer-hint/pointer-hint-options.js +8 -0
  165. package/esm2015/directives/pointer-hint/pointer-hint.directive.js +11 -7
  166. package/esm2015/interfaces/index.js +1 -1
  167. package/esm2015/interfaces/textfield-host.js +1 -0
  168. package/esm2015/providers/mode.provider.js +3 -2
  169. package/esm2015/tokens/index.js +2 -1
  170. package/esm2015/tokens/textfield-host.js +3 -0
  171. package/esm2015/utils/dom/process-icon.js +2 -2
  172. package/esm2015/utils/format/format-number.js +6 -7
  173. package/esm2015/utils/format/get-fractional-part-padded.js +15 -0
  174. package/esm2015/utils/format/index.js +3 -1
  175. package/esm2015/utils/format/number-to-string-without-exp.js +18 -0
  176. package/esm2015/utils/mask/create-number-mask.js +2 -2
  177. package/esm5/abstract/abstract-dropdown.js +12 -1
  178. package/esm5/abstract/abstract-hint-options.js +6 -0
  179. package/esm5/abstract/abstract-hint.js +7 -5
  180. package/esm5/abstract/abstract-textfield-host.js +55 -0
  181. package/esm5/abstract/index.js +3 -1
  182. package/esm5/components/dialog/dialog.component.js +1 -1
  183. package/esm5/components/dropdown-box/dropdown-box.component.js +1 -1
  184. package/esm5/components/hints-host/hint-box/hint-box.component.js +2 -1
  185. package/esm5/components/label/label.component.js +1 -1
  186. package/esm5/components/link/link.component.js +3 -3
  187. package/esm5/components/loader/loader.component.js +1 -1
  188. package/esm5/components/loader/loader.directive.js +5 -2
  189. package/esm5/components/primitive-textfield/index.js +4 -1
  190. package/esm5/components/primitive-textfield/primitive-textfield-options.js +12 -0
  191. package/esm5/components/primitive-textfield/primitive-textfield.component.js +70 -35
  192. package/esm5/components/primitive-textfield/primitive-textfield.directive.js +49 -0
  193. package/esm5/components/primitive-textfield/primitive-textfield.module.js +15 -7
  194. package/esm5/components/primitive-textfield/textfield/textfield.component.js +77 -0
  195. package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +16 -5
  196. package/esm5/components/scroll-controls/scroll-controls.component.js +1 -1
  197. package/esm5/components/theme-night/theme-night.component.js +1 -1
  198. package/esm5/components/tooltip/tooltip.component.js +21 -10
  199. package/esm5/components/tooltip/tooltip.module.js +3 -2
  200. package/esm5/constants/regexp.js +2 -2
  201. package/esm5/constants/version.js +2 -2
  202. package/esm5/directives/dropdown/dropdown.directive.js +2 -7
  203. package/esm5/directives/hint/hint-options.js +11 -0
  204. package/esm5/directives/hint/hint.directive.js +11 -7
  205. package/esm5/directives/hint/index.js +2 -1
  206. package/esm5/directives/hint-controller/hint-controller.directive.js +16 -10
  207. package/esm5/directives/hint-controller/hint-controller.token.js +4 -3
  208. package/esm5/directives/index.js +1 -2
  209. package/esm5/directives/manual-hint/index.js +2 -1
  210. package/esm5/directives/manual-hint/manual-hint-options.js +9 -0
  211. package/esm5/directives/manual-hint/manual-hint.directive.js +9 -5
  212. package/esm5/directives/pointer-hint/index.js +2 -1
  213. package/esm5/directives/pointer-hint/pointer-hint-options.js +9 -0
  214. package/esm5/directives/pointer-hint/pointer-hint.directive.js +11 -7
  215. package/esm5/interfaces/index.js +1 -1
  216. package/esm5/interfaces/textfield-host.js +1 -0
  217. package/esm5/providers/mode.provider.js +3 -2
  218. package/esm5/tokens/index.js +2 -1
  219. package/esm5/tokens/textfield-host.js +3 -0
  220. package/esm5/utils/dom/process-icon.js +2 -2
  221. package/esm5/utils/format/format-number.js +6 -7
  222. package/esm5/utils/format/get-fractional-part-padded.js +16 -0
  223. package/esm5/utils/format/index.js +3 -1
  224. package/esm5/utils/format/number-to-string-without-exp.js +19 -0
  225. package/esm5/utils/mask/create-number-mask.js +2 -2
  226. package/fesm2015/taiga-ui-core-abstract.js +57 -8
  227. package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
  228. package/fesm2015/taiga-ui-core-components-dialog.js +1 -1
  229. package/fesm2015/taiga-ui-core-components-dropdown-box.js +1 -1
  230. package/fesm2015/taiga-ui-core-components-hints-host.js +1 -0
  231. package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
  232. package/fesm2015/taiga-ui-core-components-label.js +1 -1
  233. package/fesm2015/taiga-ui-core-components-link.js +2 -2
  234. package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
  235. package/fesm2015/taiga-ui-core-components-loader.js +5 -2
  236. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  237. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +197 -42
  238. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  239. package/fesm2015/taiga-ui-core-components-scroll-controls.js +1 -1
  240. package/fesm2015/taiga-ui-core-components-theme-night.js +1 -1
  241. package/fesm2015/taiga-ui-core-components-tooltip.js +18 -10
  242. package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
  243. package/fesm2015/taiga-ui-core-constants.js +2 -2
  244. package/fesm2015/taiga-ui-core-constants.js.map +1 -1
  245. package/fesm2015/taiga-ui-core-directives-dropdown.js +1 -6
  246. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  247. package/fesm2015/taiga-ui-core-directives-hint-controller.js +16 -10
  248. package/fesm2015/taiga-ui-core-directives-hint-controller.js.map +1 -1
  249. package/fesm2015/taiga-ui-core-directives-hint.js +20 -9
  250. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  251. package/fesm2015/taiga-ui-core-directives-manual-hint.js +16 -7
  252. package/fesm2015/taiga-ui-core-directives-manual-hint.js.map +1 -1
  253. package/fesm2015/taiga-ui-core-directives-pointer-hint.js +18 -9
  254. package/fesm2015/taiga-ui-core-directives-pointer-hint.js.map +1 -1
  255. package/fesm2015/taiga-ui-core-directives.js +0 -1
  256. package/fesm2015/taiga-ui-core-directives.js.map +1 -1
  257. package/fesm2015/taiga-ui-core-providers.js +2 -1
  258. package/fesm2015/taiga-ui-core-providers.js.map +1 -1
  259. package/fesm2015/taiga-ui-core-tokens.js +3 -1
  260. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  261. package/fesm2015/taiga-ui-core-utils-dom.js +1 -1
  262. package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
  263. package/fesm2015/taiga-ui-core-utils-format.js +37 -7
  264. package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
  265. package/fesm2015/taiga-ui-core-utils-mask.js +1 -1
  266. package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
  267. package/fesm5/taiga-ui-core-abstract.js +78 -8
  268. package/fesm5/taiga-ui-core-abstract.js.map +1 -1
  269. package/fesm5/taiga-ui-core-components-dialog.js +1 -1
  270. package/fesm5/taiga-ui-core-components-dropdown-box.js +1 -1
  271. package/fesm5/taiga-ui-core-components-hints-host.js +1 -0
  272. package/fesm5/taiga-ui-core-components-hints-host.js.map +1 -1
  273. package/fesm5/taiga-ui-core-components-label.js +1 -1
  274. package/fesm5/taiga-ui-core-components-link.js +2 -2
  275. package/fesm5/taiga-ui-core-components-link.js.map +1 -1
  276. package/fesm5/taiga-ui-core-components-loader.js +5 -2
  277. package/fesm5/taiga-ui-core-components-loader.js.map +1 -1
  278. package/fesm5/taiga-ui-core-components-primitive-textfield.js +223 -46
  279. package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  280. package/fesm5/taiga-ui-core-components-scroll-controls.js +1 -1
  281. package/fesm5/taiga-ui-core-components-theme-night.js +1 -1
  282. package/fesm5/taiga-ui-core-components-tooltip.js +22 -10
  283. package/fesm5/taiga-ui-core-components-tooltip.js.map +1 -1
  284. package/fesm5/taiga-ui-core-constants.js +2 -2
  285. package/fesm5/taiga-ui-core-constants.js.map +1 -1
  286. package/fesm5/taiga-ui-core-directives-dropdown.js +1 -6
  287. package/fesm5/taiga-ui-core-directives-dropdown.js.map +1 -1
  288. package/fesm5/taiga-ui-core-directives-hint-controller.js +16 -10
  289. package/fesm5/taiga-ui-core-directives-hint-controller.js.map +1 -1
  290. package/fesm5/taiga-ui-core-directives-hint.js +21 -10
  291. package/fesm5/taiga-ui-core-directives-hint.js.map +1 -1
  292. package/fesm5/taiga-ui-core-directives-manual-hint.js +17 -8
  293. package/fesm5/taiga-ui-core-directives-manual-hint.js.map +1 -1
  294. package/fesm5/taiga-ui-core-directives-pointer-hint.js +19 -10
  295. package/fesm5/taiga-ui-core-directives-pointer-hint.js.map +1 -1
  296. package/fesm5/taiga-ui-core-directives.js +0 -1
  297. package/fesm5/taiga-ui-core-directives.js.map +1 -1
  298. package/fesm5/taiga-ui-core-providers.js +2 -1
  299. package/fesm5/taiga-ui-core-providers.js.map +1 -1
  300. package/fesm5/taiga-ui-core-tokens.js +3 -1
  301. package/fesm5/taiga-ui-core-tokens.js.map +1 -1
  302. package/fesm5/taiga-ui-core-utils-dom.js +1 -1
  303. package/fesm5/taiga-ui-core-utils-dom.js.map +1 -1
  304. package/fesm5/taiga-ui-core-utils-format.js +37 -7
  305. package/fesm5/taiga-ui-core-utils-format.js.map +1 -1
  306. package/fesm5/taiga-ui-core-utils-mask.js +1 -1
  307. package/fesm5/taiga-ui-core-utils-mask.js.map +1 -1
  308. package/interfaces/index.d.ts +1 -0
  309. package/interfaces/taiga-ui-core-interfaces.metadata.json +1 -1
  310. package/interfaces/textfield-host.d.ts +9 -0
  311. package/package.json +7 -6
  312. package/providers/taiga-ui-core-providers.metadata.json +1 -1
  313. package/styles/markup/tui-island.less +1 -0
  314. package/styles/mixins/textfield.less +47 -27
  315. package/styles/mixins/textfield.scss +0 -9
  316. package/styles/taiga-ui-theme.less +1 -0
  317. package/styles/theme/dialog.less +13 -0
  318. package/styles/theme/variables.less +2 -0
  319. package/styles/variables/media.less +2 -2
  320. package/tokens/index.d.ts +1 -0
  321. package/tokens/taiga-ui-core-tokens.metadata.json +1 -1
  322. package/tokens/textfield-host.d.ts +3 -0
  323. package/utils/format/get-fractional-part-padded.d.ts +8 -0
  324. package/utils/format/index.d.ts +2 -0
  325. package/utils/format/number-to-string-without-exp.d.ts +7 -0
  326. package/utils/format/taiga-ui-core-utils-format.metadata.json +1 -1
  327. package/bundles/taiga-ui-core-directives-border.umd.js +0 -291
  328. package/bundles/taiga-ui-core-directives-border.umd.js.map +0 -1
  329. package/bundles/taiga-ui-core-directives-border.umd.min.js +0 -16
  330. package/bundles/taiga-ui-core-directives-border.umd.min.js.map +0 -1
  331. package/directives/border/border.directive.d.ts +0 -9
  332. package/directives/border/border.module.d.ts +0 -2
  333. package/directives/border/index.d.ts +0 -2
  334. package/directives/border/package.json +0 -13
  335. package/directives/border/taiga-ui-core-directives-border.d.ts +0 -4
  336. package/directives/border/taiga-ui-core-directives-border.metadata.json +0 -1
  337. package/esm2015/directives/border/border.directive.js +0 -42
  338. package/esm2015/directives/border/border.module.js +0 -13
  339. package/esm2015/directives/border/index.js +0 -3
  340. package/esm2015/directives/border/taiga-ui-core-directives-border.js +0 -5
  341. package/esm5/directives/border/border.directive.js +0 -51
  342. package/esm5/directives/border/border.module.js +0 -16
  343. package/esm5/directives/border/index.js +0 -3
  344. package/esm5/directives/border/taiga-ui-core-directives-border.js +0 -5
  345. package/fesm2015/taiga-ui-core-directives-border.js +0 -57
  346. package/fesm2015/taiga-ui-core-directives-border.js.map +0 -1
  347. package/fesm5/taiga-ui-core-directives-border.js +0 -69
  348. package/fesm5/taiga-ui-core-directives-border.js.map +0 -1
@@ -1,57 +0,0 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { Inject, Input, HostBinding, Directive, NgModule } from '@angular/core';
3
- import { CSS } from '@ng-web-apis/common';
4
-
5
- let TuiBorderDirective = class TuiBorderDirective {
6
- constructor(css) {
7
- this.css = css;
8
- this.start = 0;
9
- this.end = 0;
10
- this.modern = this.css.supports('border-inline-start-width', '0');
11
- }
12
- get oldStart() {
13
- return this.modern ? null : this.start;
14
- }
15
- get oldEnd() {
16
- return this.modern ? null : this.end;
17
- }
18
- };
19
- TuiBorderDirective.ctorParameters = () => [
20
- { type: undefined, decorators: [{ type: Inject, args: [CSS,] }] }
21
- ];
22
- __decorate([
23
- Input('tuiBorderStart'),
24
- HostBinding('style.borderInlineStartWidth.rem')
25
- ], TuiBorderDirective.prototype, "start", void 0);
26
- __decorate([
27
- Input('tuiBorderEnd'),
28
- HostBinding('style.borderInlineEndWidth.rem')
29
- ], TuiBorderDirective.prototype, "end", void 0);
30
- __decorate([
31
- HostBinding('style.borderLeftWidth.rem')
32
- ], TuiBorderDirective.prototype, "oldStart", null);
33
- __decorate([
34
- HostBinding('style.borderRightWidth.rem')
35
- ], TuiBorderDirective.prototype, "oldEnd", null);
36
- TuiBorderDirective = __decorate([
37
- Directive({
38
- selector: '[tuiBorderStart], [tuiBorderEnd]',
39
- }),
40
- __param(0, Inject(CSS))
41
- ], TuiBorderDirective);
42
-
43
- let TuiBorderModule = class TuiBorderModule {
44
- };
45
- TuiBorderModule = __decorate([
46
- NgModule({
47
- declarations: [TuiBorderDirective],
48
- exports: [TuiBorderDirective],
49
- })
50
- ], TuiBorderModule);
51
-
52
- /**
53
- * Generated bundle index. Do not edit.
54
- */
55
-
56
- export { TuiBorderDirective, TuiBorderModule };
57
- //# sourceMappingURL=taiga-ui-core-directives-border.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-directives-border.js","sources":["ng://@taiga-ui/core/directives/border/border.directive.ts","ng://@taiga-ui/core/directives/border/border.module.ts","ng://@taiga-ui/core/directives/border/taiga-ui-core-directives-border.ts"],"sourcesContent":["import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {CSS} from '@ng-web-apis/common';\n\n@Directive({\n selector: '[tuiBorderStart], [tuiBorderEnd]',\n})\nexport class TuiBorderDirective {\n @Input('tuiBorderStart')\n @HostBinding('style.borderInlineStartWidth.rem')\n start = 0;\n\n @Input('tuiBorderEnd')\n @HostBinding('style.borderInlineEndWidth.rem')\n end = 0;\n\n readonly modern = this.css.supports('border-inline-start-width', '0');\n\n constructor(@Inject(CSS) private readonly css: any) {}\n\n @HostBinding('style.borderLeftWidth.rem')\n get oldStart(): number | null {\n return this.modern ? null : this.start;\n }\n\n @HostBinding('style.borderRightWidth.rem')\n get oldEnd(): number | null {\n return this.modern ? null : this.end;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiBorderDirective} from './border.directive';\n\n@NgModule({\n declarations: [TuiBorderDirective],\n exports: [TuiBorderDirective],\n})\nexport class TuiBorderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;IAMa,kBAAkB,GAA/B,MAAa,kBAAkB;IAW3B,YAA0C,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;QARlD,UAAK,GAAG,CAAC,CAAC;QAIV,QAAG,GAAG,CAAC,CAAC;QAEC,WAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,GAAG,CAAC,CAAC;KAEhB;IAGtD,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;KAC1C;IAGD,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;KACxC;EACJ;;4CAXgB,MAAM,SAAC,GAAG;;AARvB;IAFC,KAAK,CAAC,gBAAgB,CAAC;IACvB,WAAW,CAAC,kCAAkC,CAAC;iDACtC;AAIV;IAFC,KAAK,CAAC,cAAc,CAAC;IACrB,WAAW,CAAC,gCAAgC,CAAC;+CACtC;AAOR;IADC,WAAW,CAAC,2BAA2B,CAAC;kDAGxC;AAGD;IADC,WAAW,CAAC,4BAA4B,CAAC;gDAGzC;AArBQ,kBAAkB;IAH9B,SAAS,CAAC;QACP,QAAQ,EAAE,kCAAkC;KAC/C,CAAC;IAYe,WAAA,MAAM,CAAC,GAAG,CAAC,CAAA;GAXf,kBAAkB,CAsB9B;;ICpBY,eAAe,GAA5B,MAAa,eAAe;EAAG;AAAlB,eAAe;IAJ3B,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;QAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAChC,CAAC;GACW,eAAe,CAAG;;ACR/B;;;;;;"}
@@ -1,69 +0,0 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { Inject, Input, HostBinding, Directive, NgModule } from '@angular/core';
3
- import { CSS } from '@ng-web-apis/common';
4
-
5
- var TuiBorderDirective = /** @class */ (function () {
6
- function TuiBorderDirective(css) {
7
- this.css = css;
8
- this.start = 0;
9
- this.end = 0;
10
- this.modern = this.css.supports('border-inline-start-width', '0');
11
- }
12
- Object.defineProperty(TuiBorderDirective.prototype, "oldStart", {
13
- get: function () {
14
- return this.modern ? null : this.start;
15
- },
16
- enumerable: true,
17
- configurable: true
18
- });
19
- Object.defineProperty(TuiBorderDirective.prototype, "oldEnd", {
20
- get: function () {
21
- return this.modern ? null : this.end;
22
- },
23
- enumerable: true,
24
- configurable: true
25
- });
26
- TuiBorderDirective.ctorParameters = function () { return [
27
- { type: undefined, decorators: [{ type: Inject, args: [CSS,] }] }
28
- ]; };
29
- __decorate([
30
- Input('tuiBorderStart'),
31
- HostBinding('style.borderInlineStartWidth.rem')
32
- ], TuiBorderDirective.prototype, "start", void 0);
33
- __decorate([
34
- Input('tuiBorderEnd'),
35
- HostBinding('style.borderInlineEndWidth.rem')
36
- ], TuiBorderDirective.prototype, "end", void 0);
37
- __decorate([
38
- HostBinding('style.borderLeftWidth.rem')
39
- ], TuiBorderDirective.prototype, "oldStart", null);
40
- __decorate([
41
- HostBinding('style.borderRightWidth.rem')
42
- ], TuiBorderDirective.prototype, "oldEnd", null);
43
- TuiBorderDirective = __decorate([
44
- Directive({
45
- selector: '[tuiBorderStart], [tuiBorderEnd]',
46
- }),
47
- __param(0, Inject(CSS))
48
- ], TuiBorderDirective);
49
- return TuiBorderDirective;
50
- }());
51
-
52
- var TuiBorderModule = /** @class */ (function () {
53
- function TuiBorderModule() {
54
- }
55
- TuiBorderModule = __decorate([
56
- NgModule({
57
- declarations: [TuiBorderDirective],
58
- exports: [TuiBorderDirective],
59
- })
60
- ], TuiBorderModule);
61
- return TuiBorderModule;
62
- }());
63
-
64
- /**
65
- * Generated bundle index. Do not edit.
66
- */
67
-
68
- export { TuiBorderDirective, TuiBorderModule };
69
- //# sourceMappingURL=taiga-ui-core-directives-border.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-directives-border.js","sources":["ng://@taiga-ui/core/directives/border/border.directive.ts","ng://@taiga-ui/core/directives/border/border.module.ts","ng://@taiga-ui/core/directives/border/taiga-ui-core-directives-border.ts"],"sourcesContent":["import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {CSS} from '@ng-web-apis/common';\n\n@Directive({\n selector: '[tuiBorderStart], [tuiBorderEnd]',\n})\nexport class TuiBorderDirective {\n @Input('tuiBorderStart')\n @HostBinding('style.borderInlineStartWidth.rem')\n start = 0;\n\n @Input('tuiBorderEnd')\n @HostBinding('style.borderInlineEndWidth.rem')\n end = 0;\n\n readonly modern = this.css.supports('border-inline-start-width', '0');\n\n constructor(@Inject(CSS) private readonly css: any) {}\n\n @HostBinding('style.borderLeftWidth.rem')\n get oldStart(): number | null {\n return this.modern ? null : this.start;\n }\n\n @HostBinding('style.borderRightWidth.rem')\n get oldEnd(): number | null {\n return this.modern ? null : this.end;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiBorderDirective} from './border.directive';\n\n@NgModule({\n declarations: [TuiBorderDirective],\n exports: [TuiBorderDirective],\n})\nexport class TuiBorderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAiBI,4BAA0C,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;QARlD,UAAK,GAAG,CAAC,CAAC;QAIV,QAAG,GAAG,CAAC,CAAC;QAEC,WAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,GAAG,CAAC,CAAC;KAEhB;IAGtD,sBAAI,wCAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;SAC1C;;;OAAA;IAGD,sBAAI,sCAAM;aAAV;YACI,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;SACxC;;;OAAA;;gDAVY,MAAM,SAAC,GAAG;;IARvB;QAFC,KAAK,CAAC,gBAAgB,CAAC;QACvB,WAAW,CAAC,kCAAkC,CAAC;qDACtC;IAIV;QAFC,KAAK,CAAC,cAAc,CAAC;QACrB,WAAW,CAAC,gCAAgC,CAAC;mDACtC;IAOR;QADC,WAAW,CAAC,2BAA2B,CAAC;sDAGxC;IAGD;QADC,WAAW,CAAC,4BAA4B,CAAC;oDAGzC;IArBQ,kBAAkB;QAH9B,SAAS,CAAC;YACP,QAAQ,EAAE,kCAAkC;SAC/C,CAAC;QAYe,WAAA,MAAM,CAAC,GAAG,CAAC,CAAA;OAXf,kBAAkB,CAsB9B;IAAD,yBAAC;CAtBD;;;ICEA;KAA+B;IAAlB,eAAe;QAJ3B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACRA;;;;;;"}