@salutejs/plasma-new-hope 0.156.0-canary.1459.11057629608.0 → 0.156.0-canary.1461.11071241828.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (380) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +18 -33
  2. package/cjs/components/Autocomplete/Autocomplete.js +2 -6
  3. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/Combobox.css +17 -37
  5. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +17 -37
  6. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +17 -37
  7. package/cjs/components/DatePicker/RangeDate/RangeDate.css +19 -34
  8. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -32
  9. package/cjs/components/DatePicker/SingleDate/SingleDate.css +19 -34
  10. package/cjs/components/Drawer/Drawer.js +6 -4
  11. package/cjs/components/Drawer/Drawer.js.map +1 -1
  12. package/cjs/components/Drawer/Drawer.styles.js +11 -14
  13. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  14. package/cjs/components/Drawer/Drawer.tokens.js +5 -1
  15. package/cjs/components/Drawer/Drawer.tokens.js.map +1 -1
  16. package/cjs/components/Drawer/hooks/useDrawer.js +7 -6
  17. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  18. package/cjs/components/Range/Range.css +18 -38
  19. package/cjs/components/Slider/Slider.css +18 -38
  20. package/cjs/components/Slider/components/Double/Double.css +18 -38
  21. package/cjs/components/TextArea/TextArea.js +15 -123
  22. package/cjs/components/TextArea/TextArea.js.map +1 -1
  23. package/cjs/components/TextArea/TextArea.styles.js +63 -116
  24. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  25. package/cjs/components/TextArea/TextArea.styles_1kzzs11.css +11 -0
  26. package/cjs/components/TextArea/TextArea.tokens.js +1 -36
  27. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  28. package/cjs/components/TextArea/variations/_view/base.js +1 -1
  29. package/cjs/components/TextArea/variations/_view/base.js.map +1 -1
  30. package/cjs/components/TextArea/variations/_view/base_8npjyq.css +1 -0
  31. package/cjs/components/TextField/TextField.js +7 -114
  32. package/cjs/components/TextField/TextField.js.map +1 -1
  33. package/cjs/components/TextField/TextField.styles.js +20 -74
  34. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  35. package/cjs/components/TextField/TextField.styles_uponva.css +15 -0
  36. package/cjs/components/TextField/TextField.tokens.js +0 -35
  37. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  38. package/cjs/components/TextField/variations/_disabled/base.js +1 -1
  39. package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
  40. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  41. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  42. package/cjs/components/TextField/variations/_label-placement/base_6k17xp.css +1 -0
  43. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  44. package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
  45. package/cjs/components/TextField/variations/_read-only/base_8onybn.css +1 -0
  46. package/cjs/components/TextField/variations/_size/base.js +1 -1
  47. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  48. package/cjs/components/TextField/variations/_size/base_1h8l0kj.css +1 -0
  49. package/cjs/components/TextField/variations/_view/base.js +1 -1
  50. package/cjs/components/TextField/variations/_view/base.js.map +1 -1
  51. package/cjs/components/TextField/variations/_view/base_1ph5cr0.css +1 -0
  52. package/cjs/components/TextFieldGroup/TextFieldGroup.css +1 -1
  53. package/cjs/components/TextFieldGroup/variations/_shape/base.js +1 -1
  54. package/cjs/components/TextFieldGroup/variations/_shape/base_1e0je21.css +1 -0
  55. package/cjs/index.css +31 -51
  56. package/emotion/cjs/components/Autocomplete/Autocomplete.js +2 -6
  57. package/emotion/cjs/components/Drawer/Drawer.js +2 -0
  58. package/emotion/cjs/components/Drawer/Drawer.styles.js +11 -14
  59. package/emotion/cjs/components/Drawer/Drawer.tokens.js +5 -1
  60. package/emotion/cjs/components/Drawer/hooks/useDrawer.js +7 -6
  61. package/emotion/cjs/components/TextArea/TextArea.js +20 -126
  62. package/emotion/cjs/components/TextArea/TextArea.styles.js +41 -81
  63. package/emotion/cjs/components/TextArea/TextArea.template-doc.mdx +1 -6
  64. package/emotion/cjs/components/TextArea/TextArea.tokens.js +1 -36
  65. package/emotion/cjs/components/TextArea/variations/_view/base.js +1 -2
  66. package/emotion/cjs/components/TextField/TextField.js +10 -116
  67. package/emotion/cjs/components/TextField/TextField.styles.js +34 -81
  68. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +1 -7
  69. package/emotion/cjs/components/TextField/TextField.tokens.js +0 -35
  70. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  71. package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
  72. package/emotion/cjs/components/TextField/variations/_size/base.js +1 -1
  73. package/emotion/cjs/components/TextField/variations/_view/base.js +1 -1
  74. package/emotion/cjs/components/_Icon/index.js +1 -8
  75. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +9 -18
  76. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +0 -69
  77. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +12 -21
  78. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -70
  79. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +9 -18
  80. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -69
  81. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +12 -21
  82. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -79
  83. package/emotion/es/components/Autocomplete/Autocomplete.js +2 -6
  84. package/emotion/es/components/Drawer/Drawer.js +3 -1
  85. package/emotion/es/components/Drawer/Drawer.styles.js +11 -14
  86. package/emotion/es/components/Drawer/Drawer.tokens.js +5 -1
  87. package/emotion/es/components/Drawer/hooks/useDrawer.js +7 -6
  88. package/emotion/es/components/TextArea/TextArea.js +21 -127
  89. package/emotion/es/components/TextArea/TextArea.styles.js +40 -80
  90. package/emotion/es/components/TextArea/TextArea.template-doc.mdx +1 -6
  91. package/emotion/es/components/TextArea/TextArea.tokens.js +1 -36
  92. package/emotion/es/components/TextArea/variations/_view/base.js +1 -2
  93. package/emotion/es/components/TextField/TextField.js +9 -115
  94. package/emotion/es/components/TextField/TextField.styles.js +33 -80
  95. package/emotion/es/components/TextField/TextField.template-doc.mdx +1 -7
  96. package/emotion/es/components/TextField/TextField.tokens.js +0 -35
  97. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  98. package/emotion/es/components/TextField/variations/_read-only/base.js +2 -2
  99. package/emotion/es/components/TextField/variations/_size/base.js +2 -2
  100. package/emotion/es/components/TextField/variations/_view/base.js +2 -2
  101. package/emotion/es/components/_Icon/index.js +1 -2
  102. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +9 -18
  103. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +0 -69
  104. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +12 -21
  105. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -70
  106. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +9 -18
  107. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -69
  108. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +12 -21
  109. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -79
  110. package/es/components/Autocomplete/Autocomplete.css +18 -33
  111. package/es/components/Autocomplete/Autocomplete.js +2 -6
  112. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  113. package/es/components/Combobox/ComboboxNew/Combobox.css +17 -37
  114. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +17 -37
  115. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +17 -37
  116. package/es/components/DatePicker/RangeDate/RangeDate.css +19 -34
  117. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -32
  118. package/es/components/DatePicker/SingleDate/SingleDate.css +19 -34
  119. package/es/components/Drawer/Drawer.js +4 -2
  120. package/es/components/Drawer/Drawer.js.map +1 -1
  121. package/es/components/Drawer/Drawer.styles.js +11 -14
  122. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  123. package/es/components/Drawer/Drawer.tokens.js +5 -1
  124. package/es/components/Drawer/Drawer.tokens.js.map +1 -1
  125. package/es/components/Drawer/hooks/useDrawer.js +7 -6
  126. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  127. package/es/components/Range/Range.css +18 -38
  128. package/es/components/Slider/Slider.css +18 -38
  129. package/es/components/Slider/components/Double/Double.css +18 -38
  130. package/es/components/TextArea/TextArea.js +19 -127
  131. package/es/components/TextArea/TextArea.js.map +1 -1
  132. package/es/components/TextArea/TextArea.styles.js +64 -111
  133. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  134. package/es/components/TextArea/TextArea.styles_1kzzs11.css +11 -0
  135. package/es/components/TextArea/TextArea.tokens.js +1 -36
  136. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  137. package/es/components/TextArea/variations/_view/base.js +1 -1
  138. package/es/components/TextArea/variations/_view/base.js.map +1 -1
  139. package/es/components/TextArea/variations/_view/base_8npjyq.css +1 -0
  140. package/es/components/TextField/TextField.js +8 -115
  141. package/es/components/TextField/TextField.js.map +1 -1
  142. package/es/components/TextField/TextField.styles.js +21 -69
  143. package/es/components/TextField/TextField.styles.js.map +1 -1
  144. package/es/components/TextField/TextField.styles_uponva.css +15 -0
  145. package/es/components/TextField/TextField.tokens.js +0 -35
  146. package/es/components/TextField/TextField.tokens.js.map +1 -1
  147. package/es/components/TextField/variations/_disabled/base.js +1 -1
  148. package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
  149. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  150. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  151. package/es/components/TextField/variations/_label-placement/base_6k17xp.css +1 -0
  152. package/es/components/TextField/variations/_read-only/base.js +1 -1
  153. package/es/components/TextField/variations/_read-only/base.js.map +1 -1
  154. package/es/components/TextField/variations/_read-only/base_8onybn.css +1 -0
  155. package/es/components/TextField/variations/_size/base.js +1 -1
  156. package/es/components/TextField/variations/_size/base.js.map +1 -1
  157. package/es/components/TextField/variations/_size/base_1h8l0kj.css +1 -0
  158. package/es/components/TextField/variations/_view/base.js +1 -1
  159. package/es/components/TextField/variations/_view/base.js.map +1 -1
  160. package/es/components/TextField/variations/_view/base_1ph5cr0.css +1 -0
  161. package/es/components/TextFieldGroup/TextFieldGroup.css +1 -1
  162. package/es/components/TextFieldGroup/variations/_shape/base.js +1 -1
  163. package/es/components/TextFieldGroup/variations/_shape/base_1e0je21.css +1 -0
  164. package/es/index.css +31 -51
  165. package/package.json +2 -2
  166. package/styled-components/cjs/components/Autocomplete/Autocomplete.js +2 -6
  167. package/styled-components/cjs/components/Drawer/Drawer.js +2 -0
  168. package/styled-components/cjs/components/Drawer/Drawer.styles.js +11 -14
  169. package/styled-components/cjs/components/Drawer/Drawer.tokens.js +5 -1
  170. package/styled-components/cjs/components/Drawer/hooks/useDrawer.js +7 -6
  171. package/styled-components/cjs/components/TextArea/TextArea.js +19 -125
  172. package/styled-components/cjs/components/TextArea/TextArea.styles.js +39 -64
  173. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +1 -6
  174. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +1 -36
  175. package/styled-components/cjs/components/TextArea/variations/_view/base.js +1 -2
  176. package/styled-components/cjs/components/TextField/TextField.js +9 -115
  177. package/styled-components/cjs/components/TextField/TextField.styles.js +17 -42
  178. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +1 -7
  179. package/styled-components/cjs/components/TextField/TextField.tokens.js +0 -35
  180. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  181. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +1 -1
  182. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  183. package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
  184. package/styled-components/cjs/components/_Icon/index.js +1 -8
  185. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +9 -18
  186. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +0 -69
  187. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +9 -18
  188. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -70
  189. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +9 -18
  190. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -69
  191. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +9 -18
  192. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -79
  193. package/styled-components/es/components/Autocomplete/Autocomplete.js +2 -6
  194. package/styled-components/es/components/Drawer/Drawer.js +3 -1
  195. package/styled-components/es/components/Drawer/Drawer.styles.js +11 -14
  196. package/styled-components/es/components/Drawer/Drawer.tokens.js +5 -1
  197. package/styled-components/es/components/Drawer/hooks/useDrawer.js +7 -6
  198. package/styled-components/es/components/TextArea/TextArea.js +20 -126
  199. package/styled-components/es/components/TextArea/TextArea.styles.js +38 -63
  200. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +1 -6
  201. package/styled-components/es/components/TextArea/TextArea.tokens.js +1 -36
  202. package/styled-components/es/components/TextArea/variations/_view/base.js +1 -2
  203. package/styled-components/es/components/TextField/TextField.js +8 -114
  204. package/styled-components/es/components/TextField/TextField.styles.js +16 -41
  205. package/styled-components/es/components/TextField/TextField.template-doc.mdx +1 -7
  206. package/styled-components/es/components/TextField/TextField.tokens.js +0 -35
  207. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  208. package/styled-components/es/components/TextField/variations/_read-only/base.js +2 -2
  209. package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
  210. package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
  211. package/styled-components/es/components/_Icon/index.js +1 -2
  212. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +9 -18
  213. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +0 -69
  214. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +9 -18
  215. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +1 -70
  216. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +9 -18
  217. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +1 -69
  218. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +9 -18
  219. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -79
  220. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  221. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +0 -208
  222. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  223. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +0 -208
  224. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  225. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -208
  226. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  227. package/types/components/Drawer/Drawer.d.ts.map +1 -1
  228. package/types/components/Drawer/Drawer.styles.d.ts.map +1 -1
  229. package/types/components/Drawer/Drawer.tokens.d.ts +4 -0
  230. package/types/components/Drawer/Drawer.tokens.d.ts.map +1 -1
  231. package/types/components/Drawer/hooks/useDrawer.d.ts.map +1 -1
  232. package/types/components/Range/Range.styles.d.ts +0 -208
  233. package/types/components/Range/Range.styles.d.ts.map +1 -1
  234. package/types/components/Slider/components/Double/Double.styles.d.ts +0 -208
  235. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  236. package/types/components/TextArea/TextArea.d.ts +3 -9
  237. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  238. package/types/components/TextArea/TextArea.styles.d.ts +0 -8
  239. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
  240. package/types/components/TextArea/TextArea.tokens.d.ts +0 -35
  241. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  242. package/types/components/TextArea/TextArea.types.d.ts +3 -87
  243. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  244. package/types/components/TextArea/variations/_view/base.d.ts.map +1 -1
  245. package/types/components/TextField/TextField.d.ts +3 -9
  246. package/types/components/TextField/TextField.d.ts.map +1 -1
  247. package/types/components/TextField/TextField.styles.d.ts +0 -8
  248. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  249. package/types/components/TextField/TextField.tokens.d.ts +0 -35
  250. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  251. package/types/components/TextField/TextField.types.d.ts +2 -82
  252. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  253. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
  254. package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
  255. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  256. package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
  257. package/types/components/_Icon/index.d.ts +0 -1
  258. package/types/components/_Icon/index.d.ts.map +1 -1
  259. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +0 -372
  260. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  261. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +0 -9
  262. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
  263. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +0 -351
  264. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
  265. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +0 -9
  266. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  267. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -217
  268. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  269. package/types/examples/plasma_web/components/Mask/Mask.d.ts +0 -372
  270. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  271. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +0 -9
  272. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
  273. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +0 -351
  274. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  275. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +0 -9
  276. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  277. package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -217
  278. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  279. package/cjs/components/TextArea/TextArea.styles_1phhc4q.css +0 -17
  280. package/cjs/components/TextArea/variations/_hint-size/base.js +0 -9
  281. package/cjs/components/TextArea/variations/_hint-size/base.js.map +0 -1
  282. package/cjs/components/TextArea/variations/_hint-size/base_1pzfoj7.css +0 -1
  283. package/cjs/components/TextArea/variations/_hint-view/base.js +0 -9
  284. package/cjs/components/TextArea/variations/_hint-view/base.js.map +0 -1
  285. package/cjs/components/TextArea/variations/_hint-view/base_111a0qe.css +0 -1
  286. package/cjs/components/TextArea/variations/_view/base_1ri7c88.css +0 -1
  287. package/cjs/components/TextField/TextField.styles_1i9z45f.css +0 -21
  288. package/cjs/components/TextField/variations/_disabled/base_frtgf7.css +0 -1
  289. package/cjs/components/TextField/variations/_hint-size/base.js +0 -9
  290. package/cjs/components/TextField/variations/_hint-size/base.js.map +0 -1
  291. package/cjs/components/TextField/variations/_hint-size/base_1f8fx0a.css +0 -1
  292. package/cjs/components/TextField/variations/_hint-view/base.js +0 -9
  293. package/cjs/components/TextField/variations/_hint-view/base.js.map +0 -1
  294. package/cjs/components/TextField/variations/_hint-view/base_l8etux.css +0 -1
  295. package/cjs/components/TextField/variations/_label-placement/base_oh623n.css +0 -1
  296. package/cjs/components/TextField/variations/_read-only/base_dwfq44.css +0 -1
  297. package/cjs/components/TextField/variations/_size/base_n9k1fc.css +0 -1
  298. package/cjs/components/TextField/variations/_view/base_tmr4o7.css +0 -1
  299. package/cjs/components/TextFieldGroup/variations/_shape/base_52bndd.css +0 -1
  300. package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -23
  301. package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js.map +0 -1
  302. package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +0 -23
  303. package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js.map +0 -1
  304. package/emotion/cjs/components/TextArea/variations/_hint-size/base.js +0 -11
  305. package/emotion/cjs/components/TextArea/variations/_hint-size/tokens.json +0 -21
  306. package/emotion/cjs/components/TextArea/variations/_hint-view/base.js +0 -11
  307. package/emotion/cjs/components/TextArea/variations/_hint-view/tokens.json +0 -5
  308. package/emotion/cjs/components/TextField/variations/_hint-size/base.js +0 -11
  309. package/emotion/cjs/components/TextField/variations/_hint-size/tokens.json +0 -21
  310. package/emotion/cjs/components/TextField/variations/_hint-view/base.js +0 -11
  311. package/emotion/cjs/components/TextField/variations/_hint-view/tokens.json +0 -5
  312. package/emotion/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -22
  313. package/emotion/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +0 -22
  314. package/emotion/es/components/TextArea/variations/_hint-size/base.js +0 -5
  315. package/emotion/es/components/TextArea/variations/_hint-size/tokens.json +0 -21
  316. package/emotion/es/components/TextArea/variations/_hint-view/base.js +0 -5
  317. package/emotion/es/components/TextArea/variations/_hint-view/tokens.json +0 -5
  318. package/emotion/es/components/TextField/variations/_hint-size/base.js +0 -5
  319. package/emotion/es/components/TextField/variations/_hint-size/tokens.json +0 -21
  320. package/emotion/es/components/TextField/variations/_hint-view/base.js +0 -5
  321. package/emotion/es/components/TextField/variations/_hint-view/tokens.json +0 -5
  322. package/emotion/es/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -15
  323. package/emotion/es/components/_Icon/Icons/IconInfoCircleOutline.js +0 -15
  324. package/es/components/TextArea/TextArea.styles_1phhc4q.css +0 -17
  325. package/es/components/TextArea/variations/_hint-size/base.js +0 -5
  326. package/es/components/TextArea/variations/_hint-size/base.js.map +0 -1
  327. package/es/components/TextArea/variations/_hint-size/base_1pzfoj7.css +0 -1
  328. package/es/components/TextArea/variations/_hint-view/base.js +0 -5
  329. package/es/components/TextArea/variations/_hint-view/base.js.map +0 -1
  330. package/es/components/TextArea/variations/_hint-view/base_111a0qe.css +0 -1
  331. package/es/components/TextArea/variations/_view/base_1ri7c88.css +0 -1
  332. package/es/components/TextField/TextField.styles_1i9z45f.css +0 -21
  333. package/es/components/TextField/variations/_disabled/base_frtgf7.css +0 -1
  334. package/es/components/TextField/variations/_hint-size/base.js +0 -5
  335. package/es/components/TextField/variations/_hint-size/base.js.map +0 -1
  336. package/es/components/TextField/variations/_hint-size/base_1f8fx0a.css +0 -1
  337. package/es/components/TextField/variations/_hint-view/base.js +0 -5
  338. package/es/components/TextField/variations/_hint-view/base.js.map +0 -1
  339. package/es/components/TextField/variations/_hint-view/base_l8etux.css +0 -1
  340. package/es/components/TextField/variations/_label-placement/base_oh623n.css +0 -1
  341. package/es/components/TextField/variations/_read-only/base_dwfq44.css +0 -1
  342. package/es/components/TextField/variations/_size/base_n9k1fc.css +0 -1
  343. package/es/components/TextField/variations/_view/base_tmr4o7.css +0 -1
  344. package/es/components/TextFieldGroup/variations/_shape/base_52bndd.css +0 -1
  345. package/es/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -19
  346. package/es/components/_Icon/Icon.assets/InfoCircleOutline.js.map +0 -1
  347. package/es/components/_Icon/Icons/IconInfoCircleOutline.js +0 -19
  348. package/es/components/_Icon/Icons/IconInfoCircleOutline.js.map +0 -1
  349. package/styled-components/cjs/components/TextArea/variations/_hint-size/base.js +0 -11
  350. package/styled-components/cjs/components/TextArea/variations/_hint-size/tokens.json +0 -21
  351. package/styled-components/cjs/components/TextArea/variations/_hint-view/base.js +0 -11
  352. package/styled-components/cjs/components/TextArea/variations/_hint-view/tokens.json +0 -5
  353. package/styled-components/cjs/components/TextField/variations/_hint-size/base.js +0 -11
  354. package/styled-components/cjs/components/TextField/variations/_hint-size/tokens.json +0 -21
  355. package/styled-components/cjs/components/TextField/variations/_hint-view/base.js +0 -11
  356. package/styled-components/cjs/components/TextField/variations/_hint-view/tokens.json +0 -5
  357. package/styled-components/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -22
  358. package/styled-components/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +0 -22
  359. package/styled-components/es/components/TextArea/variations/_hint-size/base.js +0 -5
  360. package/styled-components/es/components/TextArea/variations/_hint-size/tokens.json +0 -21
  361. package/styled-components/es/components/TextArea/variations/_hint-view/base.js +0 -5
  362. package/styled-components/es/components/TextArea/variations/_hint-view/tokens.json +0 -5
  363. package/styled-components/es/components/TextField/variations/_hint-size/base.js +0 -5
  364. package/styled-components/es/components/TextField/variations/_hint-size/tokens.json +0 -21
  365. package/styled-components/es/components/TextField/variations/_hint-view/base.js +0 -5
  366. package/styled-components/es/components/TextField/variations/_hint-view/tokens.json +0 -5
  367. package/styled-components/es/components/_Icon/Icon.assets/InfoCircleOutline.js +0 -15
  368. package/styled-components/es/components/_Icon/Icons/IconInfoCircleOutline.js +0 -15
  369. package/types/components/TextArea/variations/_hint-size/base.d.ts +0 -2
  370. package/types/components/TextArea/variations/_hint-size/base.d.ts.map +0 -1
  371. package/types/components/TextArea/variations/_hint-view/base.d.ts +0 -2
  372. package/types/components/TextArea/variations/_hint-view/base.d.ts.map +0 -1
  373. package/types/components/TextField/variations/_hint-size/base.d.ts +0 -2
  374. package/types/components/TextField/variations/_hint-size/base.d.ts.map +0 -1
  375. package/types/components/TextField/variations/_hint-view/base.d.ts +0 -2
  376. package/types/components/TextField/variations/_hint-view/base.d.ts.map +0 -1
  377. package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts +0 -4
  378. package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts.map +0 -1
  379. package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts +0 -4
  380. package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts.map +0 -1
@@ -9,26 +9,21 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
9
9
  var _styledComponents = /*#__PURE__*/require("styled-components");
10
10
  var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
11
11
  var _utils = /*#__PURE__*/require("../../utils");
12
- var _Icon = /*#__PURE__*/require("../_Icon");
13
- var _hooks = /*#__PURE__*/require("../../hooks");
14
12
  var _mixins = /*#__PURE__*/require("./mixins");
15
- var _hooks2 = /*#__PURE__*/require("./hooks");
13
+ var _hooks = /*#__PURE__*/require("./hooks");
16
14
  var _TextArea = /*#__PURE__*/require("./TextArea.styles");
17
15
  var _TextArea2 = /*#__PURE__*/require("./TextArea.tokens");
18
16
  var _base = /*#__PURE__*/require("./variations/_view/base");
19
17
  var _base2 = /*#__PURE__*/require("./variations/_size/base");
20
18
  var _base3 = /*#__PURE__*/require("./variations/_disabled/base");
21
- var _base4 = /*#__PURE__*/require("./variations/_hint-view/base");
22
- var _base5 = /*#__PURE__*/require("./variations/_hint-size/base");
23
- var _IconInfoCircleOutlin, _IconInfoCircleOutlin2;
24
- var _excluded = ["helperText", "status", "resize", "rightHelper", "leftHelper", "contentRight", "autoResize", "minAuto", "maxAuto", "label", "labelPlacement", "titleCaption", "placeholder", "defaultValue", "height", "width", "value", "disabled", "required", "requiredPlacement", "optional", "size", "view", "id", "style", "className", "readOnly", "rows", "cols", "hasHint", "hintTrigger", "hintText", "hintView", "hintSize", "hintTarget", "hintPlacement", "hintHasArrow", "hintOffset", "hintMinWidth", "hintMaxWidth", "hintContentLeft", "onChange"];
19
+ var _excluded = ["helperText", "status", "resize", "rightHelper", "leftHelper", "contentRight", "autoResize", "minAuto", "maxAuto", "label", "labelPlacement", "placeholder", "defaultValue", "height", "width", "value", "disabled", "required", "requiredPlacement", "optional", "size", "view", "id", "style", "className", "readOnly", "rows", "cols", "onChange"];
25
20
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
26
21
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
22
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
27
23
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
28
24
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
29
25
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
30
26
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
31
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
32
27
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
33
28
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
34
29
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@@ -97,7 +92,6 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
97
92
  label = props.label,
98
93
  _props$labelPlacement = props.labelPlacement,
99
94
  labelPlacement = _props$labelPlacement === void 0 ? 'inner' : _props$labelPlacement,
100
- titleCaption = props.titleCaption,
101
95
  placeholder = props.placeholder,
102
96
  defaultValue = props.defaultValue,
103
97
  height = props.height,
@@ -118,47 +112,21 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
118
112
  readOnly = props.readOnly,
119
113
  rows = props.rows,
120
114
  cols = props.cols,
121
- hasHint = props.hasHint,
122
- _props$hintTrigger = props.hintTrigger,
123
- hintTrigger = _props$hintTrigger === void 0 ? 'hover' : _props$hintTrigger,
124
- hintText = props.hintText,
125
- _props$hintView = props.hintView,
126
- hintView = _props$hintView === void 0 ? 'default' : _props$hintView,
127
- _props$hintSize = props.hintSize,
128
- hintSize = _props$hintSize === void 0 ? 'm' : _props$hintSize,
129
- hintTarget = props.hintTarget,
130
- _props$hintPlacement = props.hintPlacement,
131
- hintPlacement = _props$hintPlacement === void 0 ? 'auto' : _props$hintPlacement,
132
- hintHasArrow = props.hintHasArrow,
133
- hintOffset = props.hintOffset,
134
- hintMinWidth = props.hintMinWidth,
135
- hintMaxWidth = props.hintMaxWidth,
136
- hintContentLeft = props.hintContentLeft,
137
115
  onChange = props.onChange,
138
116
  rest = _objectWithoutProperties(props, _excluded);
139
- var _useState = (0, _react.useState)(false),
117
+ var _useState = (0, _react.useState)(width ? "".concat(width, "rem") : '100%'),
140
118
  _useState2 = _slicedToArray(_useState, 2),
141
- showHint = _useState2[0],
142
- setShowHint = _useState2[1];
143
- var _useState3 = (0, _react.useState)(width ? "".concat(width, "rem") : '100%'),
119
+ helperWidth = _useState2[0],
120
+ setHelperWidth = _useState2[1];
121
+ var _useState3 = (0, _react.useState)(false),
144
122
  _useState4 = _slicedToArray(_useState3, 2),
145
- helperWidth = _useState4[0],
146
- setHelperWidth = _useState4[1];
147
- var _useState5 = (0, _react.useState)(false),
123
+ focused = _useState4[0],
124
+ setFocused = _useState4[1];
125
+ var _useState5 = (0, _react.useState)(),
148
126
  _useState6 = _slicedToArray(_useState5, 2),
149
- focused = _useState6[0],
150
- setFocused = _useState6[1];
151
- var _useState7 = (0, _react.useState)(),
152
- _useState8 = _slicedToArray(_useState7, 2),
153
- uncontrolledValue = _useState8[0],
154
- setUncontrolledValue = _useState8[1];
155
- var hintId = (0, _utils.safeUseId)();
127
+ uncontrolledValue = _useState6[0],
128
+ setUncontrolledValue = _useState6[1];
156
129
  var outerRef = innerRef && 'current' in innerRef ? innerRef : /*#__PURE__*/(0, _react.createRef)();
157
- var hintRef = (0, _hooks.useOutsideClick)(function () {
158
- setShowHint(false);
159
- });
160
- var hintInnerRef = (0, _react.useRef)(null);
161
- var hintForkRef = (0, _plasmaCore.useForkRef)(hintRef, hintInnerRef);
162
130
  var innerOptional = required ? false : optional;
163
131
  var hasHelper = Boolean(leftHelper || rightHelper || helperText);
164
132
  var hasOuterLabel = Boolean(label && labelPlacement === 'outer');
@@ -169,32 +137,15 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
169
137
  var applyCustomWidth = resize !== 'horizontal' && resize !== 'both' && !cols;
170
138
  var placeholderLabel = hasInnerLabel ? label : placeholder;
171
139
  var requiredPlacementClass = requiredPlacement === 'right' ? 'align-right ' : undefined;
172
- var handleShowHint = function handleShowHint() {
173
- return setShowHint(true);
174
- };
175
- var handleHideHint = function handleHideHint() {
176
- return setShowHint(false);
177
- };
178
- var handleClickHint = function handleClickHint(event) {
179
- if (hasHint && hintTrigger === 'click') {
180
- var _hintInnerRef$current;
181
- event.stopPropagation();
182
- var targetIsPopover = event.target === hintInnerRef.current;
183
- var rootHasTarget = (_hintInnerRef$current = hintInnerRef.current) === null || _hintInnerRef$current === void 0 ? void 0 : _hintInnerRef$current.contains(event.target);
184
- if (!targetIsPopover && !rootHasTarget) {
185
- setShowHint(true);
186
- }
187
- }
188
- };
189
140
  (0, _plasmaCore.useResizeObserver)(outerRef, function (currentElement) {
190
141
  var inlineWidth = currentElement.style.width;
191
142
  if (inlineWidth || cols) {
192
143
  var _currentElement$getBo = currentElement.getBoundingClientRect(),
193
144
  elementWidth = _currentElement$getBo.width;
194
- setHelperWidth("".concat(elementWidth / _hooks2.ROOT_FONT_SIZE, "rem"));
145
+ setHelperWidth("".concat(elementWidth / _hooks.ROOT_FONT_SIZE, "rem"));
195
146
  }
196
147
  });
197
- (0, _hooks2.useAutoResize)(autoResize, outerRef, value, minAuto, maxAuto);
148
+ (0, _hooks.useAutoResize)(autoResize, outerRef, value, minAuto, maxAuto);
198
149
  var onFocusHandler = (0, _react.useCallback)(function () {
199
150
  setFocused(true);
200
151
  }, []);
@@ -220,7 +171,7 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
220
171
  autoResize: autoResize
221
172
  }), focused);
222
173
  var optionalTextNode = innerOptional ? /*#__PURE__*/_react["default"].createElement(_TextArea.StyledOptionalText, null, Boolean(hasPlaceholderOptional ? placeholderLabel : label) && '\xa0', optionalText) : null;
223
- return /*#__PURE__*/_react["default"].createElement(Root, _extends({
174
+ return /*#__PURE__*/_react["default"].createElement(Root, {
224
175
  view: overriddenView,
225
176
  size: size,
226
177
  disabled: disabled,
@@ -229,67 +180,16 @@ var textAreaRoot = exports.textAreaRoot = function textAreaRoot(Root) {
229
180
  width: helperWidth
230
181
  }, style),
231
182
  className: className
232
- }, hasHint && {
233
- hintView: hintView || 'default',
234
- hintSize: hintSize || 'm'
235
- }), (hasOuterLabel || titleCaption) && /*#__PURE__*/_react["default"].createElement(_TextArea.OuterLabelWrapper, {
236
- isInnnerLabel: labelPlacement === 'inner'
237
- }, hasOuterLabel && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicatorWrapper, null, /*#__PURE__*/_react["default"].createElement(_TextArea.StyledLabel, null, label), hasHint && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledHintWrapper, null, /*#__PURE__*/_react["default"].createElement(_TextArea.Hint, {
238
- text: String(hintText),
239
- opened: showHint,
240
- target: hintTarget || /*#__PURE__*/_react["default"].createElement(_TextArea.HintTargetWrapper, _extends({
241
- id: hintId
242
- }, hintTrigger === 'hover' ? {
243
- onMouseEnter: handleShowHint,
244
- onMouseLeave: handleHideHint
245
- } : {
246
- onClick: handleClickHint
247
- }), _IconInfoCircleOutlin || (_IconInfoCircleOutlin = /*#__PURE__*/_react["default"].createElement(_Icon.IconInfoCircleOutline, {
248
- size: "xs",
249
- color: "inherit"
250
- }))),
251
- placement: hintPlacement,
252
- hasArrow: hintHasArrow,
253
- offset: hintOffset,
254
- minWidth: hintMinWidth,
255
- maxWidth: hintMaxWidth,
256
- contentLeft: hintContentLeft,
257
- frame: hintId,
258
- ref: hintForkRef
259
- })), required && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicator, {
183
+ }, hasOuterLabel && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledLabel, null, required && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicator, {
260
184
  className: (0, _utils.cx)(_TextArea2.classes.outerLabelPlacement, requiredPlacementClass)
261
- }), optionalTextNode), titleCaption && /*#__PURE__*/_react["default"].createElement(_TextArea.TitleCaption, null, titleCaption)), /*#__PURE__*/_react["default"].createElement(_TextArea.StyledContainer, {
185
+ }), label, optionalTextNode), /*#__PURE__*/_react["default"].createElement(_TextArea.StyledContainer, {
262
186
  className: _utils.cx.apply(void 0, [styledContainer].concat(_toConsumableArray(dynamicLabelClasses))),
263
187
  width: helperWidth,
264
188
  onFocus: onFocusHandler,
265
189
  onBlur: onBlurHandler
266
- }, !hasOuterLabel && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, required && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicator, {
190
+ }, required && !hasOuterLabel && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledIndicator, {
267
191
  className: (0, _utils.cx)(_TextArea2.classes.innerLabelPlacement, requiredPlacementClass)
268
- }), hasHint && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledHintWrapper, {
269
- className: _TextArea2.classes.innerLabelPlacement
270
- }, /*#__PURE__*/_react["default"].createElement(_TextArea.Hint, {
271
- text: String(hintText),
272
- opened: showHint,
273
- target: hintTarget || /*#__PURE__*/_react["default"].createElement(_TextArea.HintTargetWrapper, _extends({
274
- id: hintId
275
- }, hintTrigger === 'hover' ? {
276
- onMouseEnter: handleShowHint,
277
- onMouseLeave: handleHideHint
278
- } : {
279
- onClick: handleClickHint
280
- }), _IconInfoCircleOutlin2 || (_IconInfoCircleOutlin2 = /*#__PURE__*/_react["default"].createElement(_Icon.IconInfoCircleOutline, {
281
- size: "xs",
282
- color: "inherit"
283
- }))),
284
- placement: hintPlacement,
285
- hasArrow: hintHasArrow,
286
- offset: hintOffset,
287
- minWidth: hintMinWidth,
288
- maxWidth: hintMaxWidth,
289
- contentLeft: hintContentLeft,
290
- frame: hintId,
291
- ref: hintForkRef
292
- }))), contentRight && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledContent, null, contentRight), /*#__PURE__*/_react["default"].createElement(_TextArea.StyledTextAreaWrapper, {
192
+ }), contentRight && /*#__PURE__*/_react["default"].createElement(_TextArea.StyledContent, null, contentRight), /*#__PURE__*/_react["default"].createElement(_TextArea.StyledTextAreaWrapper, {
293
193
  className: styledTextAreaWrapper,
294
194
  hasHelper: hasHelper
295
195
  }, /*#__PURE__*/_react["default"].createElement(_TextArea.StyledTextArea, _extends({
@@ -339,12 +239,6 @@ var textAreaConfig = exports.textAreaConfig = {
339
239
  },
340
240
  readOnly: {
341
241
  attrs: true
342
- },
343
- hintView: {
344
- css: _base4.base
345
- },
346
- hintSize: {
347
- css: _base5.base
348
242
  }
349
243
  },
350
244
  defaults: {
@@ -3,106 +3,81 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.TitleCaption = exports.StyledTextAreaWrapper = exports.StyledTextArea = exports.StyledRightHelper = exports.StyledPlaceholder = exports.StyledOptionalText = exports.StyledLeftHelper = exports.StyledLabel = exports.StyledIndicatorWrapper = exports.StyledIndicator = exports.StyledHintWrapper = exports.StyledHelpers = exports.StyledContent = exports.StyledContainer = exports.OuterLabelWrapper = exports.HintTargetWrapper = exports.Hint = void 0;
6
+ exports.StyledTextAreaWrapper = exports.StyledTextArea = exports.StyledRightHelper = exports.StyledPlaceholder = exports.StyledOptionalText = exports.StyledLeftHelper = exports.StyledLabel = exports.StyledIndicator = exports.StyledHelpers = exports.StyledContent = exports.StyledContainer = void 0;
7
7
  var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
8
  var _mixins = /*#__PURE__*/require("../../mixins");
9
- var _Tooltip = /*#__PURE__*/require("../Tooltip");
10
- var _engines = /*#__PURE__*/require("../../engines");
11
9
  var _TextArea = /*#__PURE__*/require("./TextArea.tokens");
12
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
- var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Tooltip.tooltipConfig);
14
- var Tooltip = /*#__PURE__*/(0, _engines.component)(mergedConfig);
15
- var Hint = exports.Hint = /*#__PURE__*/(0, _styledComponents["default"])(Tooltip).withConfig({
16
- componentId: "plasma-new-hope__sc-pxxv3p-0"
17
- })([""]);
18
- var OuterLabelWrapper = exports.OuterLabelWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
19
- componentId: "plasma-new-hope__sc-pxxv3p-1"
20
- })(["display:flex;align-items:center;margin-bottom:", ";"], function (_ref) {
21
- var isInnnerLabel = _ref.isInnnerLabel;
22
- return isInnnerLabel ? "var(".concat(_TextArea.tokens.titleCaptionInnerLabelOffset, ")") : "var(".concat(_TextArea.tokens.labelMarginBottom, ")");
23
- });
24
11
  var StyledLabel = exports.StyledLabel = /*#__PURE__*/_styledComponents["default"].div.withConfig({
25
- componentId: "plasma-new-hope__sc-pxxv3p-2"
26
- })(["position:relative;display:inline-flex;color:var(", ",var(", "));font-family:var(", ",var(", "));font-size:var(", ",var(", "));font-style:var(", ",var(", "));font-weight:var(", ",var(", "));letter-spacing:var(", ",var(", "));line-height:var(", ",var(", "));"], _TextArea.tokens.labelOuterColor, _TextArea.tokens.inputColor, _TextArea.tokens.labelOuterFontFamily, _TextArea.tokens.inputFontFamily, _TextArea.tokens.labelOuterFontSize, _TextArea.tokens.inputFontSize, _TextArea.tokens.labelOuterFontStyle, _TextArea.tokens.inputFontStyle, _TextArea.tokens.labelOuterFontWeight, _TextArea.tokens.inputFontWeight, _TextArea.tokens.labelOuterLetterSpacing, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.labelOuterLineHeight, _TextArea.tokens.inputLineHeight);
27
- var TitleCaption = exports.TitleCaption = /*#__PURE__*/_styledComponents["default"].div.withConfig({
28
- componentId: "plasma-new-hope__sc-pxxv3p-3"
29
- })(["display:inline-block;margin-left:auto;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _TextArea.tokens.titleCaptionFontFamily, _TextArea.tokens.titleCaptionFontSize, _TextArea.tokens.titleCaptionFontStyle, _TextArea.tokens.titleCaptionFontWeight, _TextArea.tokens.titleCaptionLetterSpacing, _TextArea.tokens.titleCaptionLineHeight);
30
- var StyledIndicatorWrapper = exports.StyledIndicatorWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
31
- componentId: "plasma-new-hope__sc-pxxv3p-4"
32
- })(["position:relative;display:inline-flex;align-items:center;"]);
12
+ componentId: "plasma-new-hope__sc-pxxv3p-0"
13
+ })(["position:relative;display:inline-flex;margin-bottom:var(", ");color:var(", ",var(", "));font-family:var(", ",var(", "));font-size:var(", ",var(", "));font-style:var(", ",var(", "));font-weight:var(", ",var(", "));letter-spacing:var(", ",var(", "));line-height:var(", ",var(", "));"], _TextArea.tokens.labelMarginBottom, _TextArea.tokens.labelOuterColor, _TextArea.tokens.inputColor, _TextArea.tokens.labelOuterFontFamily, _TextArea.tokens.inputFontFamily, _TextArea.tokens.labelOuterFontSize, _TextArea.tokens.inputFontSize, _TextArea.tokens.labelOuterFontStyle, _TextArea.tokens.inputFontStyle, _TextArea.tokens.labelOuterFontWeight, _TextArea.tokens.inputFontWeight, _TextArea.tokens.labelOuterLetterSpacing, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.labelOuterLineHeight, _TextArea.tokens.inputLineHeight);
33
14
  var StyledOptionalText = exports.StyledOptionalText = /*#__PURE__*/_styledComponents["default"].span.withConfig({
34
- componentId: "plasma-new-hope__sc-pxxv3p-5"
15
+ componentId: "plasma-new-hope__sc-pxxv3p-1"
35
16
  })(["color:var(", ");"], _TextArea.tokens.optionalColor);
36
- var StyledHintWrapper = exports.StyledHintWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
37
- componentId: "plasma-new-hope__sc-pxxv3p-6"
38
- })(["display:inline-block;line-height:0;margin:var(", ");&.", "{position:absolute;margin:0;top:0;right:var(", ");}"], _TextArea.tokens.hintMargin, _TextArea.classes.innerLabelPlacement, _TextArea.tokens.hintInnerLabelPlacementOffset);
39
- var HintTargetWrapper = exports.HintTargetWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
40
- componentId: "plasma-new-hope__sc-pxxv3p-7"
41
- })(["color:var(", ");"], _TextArea.tokens.hintIconColor);
42
17
  var StyledTextAreaWrapper = exports.StyledTextAreaWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
43
- componentId: "plasma-new-hope__sc-pxxv3p-8"
44
- })(["background-color:var(", ");padding-top:var(", ");padding-bottom:", ";border-radius:", ";"], _TextArea.tokens.inputBackgroundColor, _TextArea.tokens.inputPaddingTop, function (_ref2) {
45
- var hasHelper = _ref2.hasHelper;
18
+ componentId: "plasma-new-hope__sc-pxxv3p-2"
19
+ })(["background-color:var(", ");padding-top:var(", ");padding-bottom:", ";border-radius:", ";"], _TextArea.tokens.inputBackgroundColor, _TextArea.tokens.inputPaddingTop, function (_ref) {
20
+ var hasHelper = _ref.hasHelper;
46
21
  return hasHelper ? "var(".concat(_TextArea.tokens.inputPaddingBottomWithHelpers, ")") : "var(".concat(_TextArea.tokens.inputPaddingBottom, ")");
47
- }, function (_ref3) {
48
- var hasHelper = _ref3.hasHelper;
22
+ }, function (_ref2) {
23
+ var hasHelper = _ref2.hasHelper;
49
24
  return hasHelper ? "var(".concat(_TextArea.tokens.borderRadiusWithHelpers, ")") : "var(".concat(_TextArea.tokens.borderRadius, ")");
50
25
  });
51
26
  var StyledContent = exports.StyledContent = /*#__PURE__*/_styledComponents["default"].div.withConfig({
52
- componentId: "plasma-new-hope__sc-pxxv3p-9"
27
+ componentId: "plasma-new-hope__sc-pxxv3p-3"
53
28
  })(["position:absolute;display:flex;align-items:center;bottom:0;z-index:1;color:var(", ",var(", "));top:var(", ");right:var(", ");height:var(", ");"], _TextArea.tokens.rightContentColor, _TextArea.tokens.inputColor, _TextArea.tokens.rightContentTop, _TextArea.tokens.rightContentRight, _TextArea.tokens.rightContentHeight);
54
29
  var StyledContainer = exports.StyledContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
55
- componentId: "plasma-new-hope__sc-pxxv3p-10"
56
- })(["display:inline-flex;flex-direction:column;width:", ";position:relative;"], function (_ref4) {
57
- var width = _ref4.width;
30
+ componentId: "plasma-new-hope__sc-pxxv3p-4"
31
+ })(["display:inline-flex;flex-direction:column;width:", ";position:relative;"], function (_ref3) {
32
+ var width = _ref3.width;
58
33
  return width;
59
34
  });
60
35
  var StyledTextArea = exports.StyledTextArea = /*#__PURE__*/_styledComponents["default"].textarea.withConfig({
61
- componentId: "plasma-new-hope__sc-pxxv3p-11"
62
- })(["display:block;box-sizing:border-box;outline:none;border:none;-webkit-appearance:none;background-color:transparent;color:var(", ");caret-color:var(", ");resize:", ";--plasma_private-textarea-height:", ";--plasma_private-textarea-width:", ";--plasma_private-textarea-computed-height:", ";--plasma_private-textarea-computed-width:", ";height:var(--plasma_private-textarea-computed-height);width:var(--plasma_private-textarea-computed-width);min-width:", ";max-width:", ";min-height:var(", ");padding-right:", ";padding-left:var(", ");padding-top:0;padding-bottom:0;--plasma_private-textarea-helpers-computed-height:calc( var(", ") + var(", ") + var(", ") );--plasma_private-textarea-input-with-helpers-height:calc( var(--plasma_private-textarea-height) - var(--plasma_private-textarea-helpers-computed-height) + var(", ") );--plasma_private-textarea-input-without-helpers-height:calc( var(--plasma_private-textarea-computed-height) - var(", ") );--plasma_private-textarea-input-actual-height:", ";height:var(--plasma_private-textarea-input-actual-height);font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");&::placeholder{opacity:0;}&:read-only{cursor:default;}&:focus:not(:disabled){color:var(", ");}"], _TextArea.tokens.inputColor, _TextArea.tokens.inputCaretColor, function (_ref5) {
63
- var resize = _ref5.resize;
36
+ componentId: "plasma-new-hope__sc-pxxv3p-5"
37
+ })(["display:block;box-sizing:border-box;outline:none;border:none;-webkit-appearance:none;background-color:transparent;color:var(", ");caret-color:var(", ");resize:", ";--plasma_private-textarea-height:", ";--plasma_private-textarea-width:", ";--plasma_private-textarea-computed-height:", ";--plasma_private-textarea-computed-width:", ";height:var(--plasma_private-textarea-computed-height);width:var(--plasma_private-textarea-computed-width);min-width:", ";max-width:", ";min-height:var(", ");padding-right:", ";padding-left:var(", ");padding-top:0;padding-bottom:0;--plasma_private-textarea-helpers-computed-height:calc( var(", ") + var(", ") + var(", ") );--plasma_private-textarea-input-with-helpers-height:calc( var(--plasma_private-textarea-height) - var(--plasma_private-textarea-helpers-computed-height) + var(", ") );--plasma_private-textarea-input-without-helpers-height:calc( var(--plasma_private-textarea-computed-height) - var(", ") );--plasma_private-textarea-input-actual-height:", ";height:var(--plasma_private-textarea-input-actual-height);font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");&::placeholder{opacity:0;}&:read-only{cursor:default;}&:focus:not(:disabled){color:var(", ");}"], _TextArea.tokens.inputColor, _TextArea.tokens.inputCaretColor, function (_ref4) {
38
+ var resize = _ref4.resize;
64
39
  return resize || 'none';
65
- }, function (_ref6) {
66
- var height = _ref6.height;
40
+ }, function (_ref5) {
41
+ var height = _ref5.height;
67
42
  return !Number.isNaN(Number(height)) ? "calc(".concat(height, "rem - 0.875rem)") : height || "var(".concat(_TextArea.tokens.inputHeight, ")");
68
- }, function (_ref7) {
69
- var width = _ref7.width;
43
+ }, function (_ref6) {
44
+ var width = _ref6.width;
70
45
  return !Number.isNaN(Number(width)) ? "".concat(width, "rem") : width || "var(".concat(_TextArea.tokens.inputWidth, ")");
71
- }, function (_ref8) {
72
- var rows = _ref8.rows;
46
+ }, function (_ref7) {
47
+ var rows = _ref7.rows;
73
48
  return rows ? 'unset' : 'var(--plasma_private-textarea-height)';
74
- }, function (_ref9) {
75
- var cols = _ref9.cols;
49
+ }, function (_ref8) {
50
+ var cols = _ref8.cols;
76
51
  return cols ? 'unset' : 'var(--plasma_private-textarea-width)';
52
+ }, function (_ref9) {
53
+ var applyCustomWidth = _ref9.applyCustomWidth;
54
+ return applyCustomWidth ? 'var(--plasma_private-textarea-width)' : 'auto';
77
55
  }, function (_ref10) {
78
56
  var applyCustomWidth = _ref10.applyCustomWidth;
79
57
  return applyCustomWidth ? 'var(--plasma_private-textarea-width)' : 'auto';
80
- }, function (_ref11) {
81
- var applyCustomWidth = _ref11.applyCustomWidth;
82
- return applyCustomWidth ? 'var(--plasma_private-textarea-width)' : 'auto';
83
- }, _TextArea.tokens.inputMinHeight, function (_ref12) {
84
- var hasContentRight = _ref12.hasContentRight;
58
+ }, _TextArea.tokens.inputMinHeight, function (_ref11) {
59
+ var hasContentRight = _ref11.hasContentRight;
85
60
  return hasContentRight ? "var(".concat(_TextArea.tokens.inputPaddingRightWithRightContent, ")") : "var(".concat(_TextArea.tokens.inputPaddingRight, ")");
86
- }, _TextArea.tokens.inputPaddingLeft, _TextArea.tokens.helpersPaddingTop, _TextArea.tokens.helpersPaddingBottom, _TextArea.tokens.helpersLineHeight, _TextArea.tokens.helpersOffset, _TextArea.tokens.inputPaddingBottom, function (_ref13) {
87
- var hasHelper = _ref13.hasHelper,
88
- rows = _ref13.rows;
61
+ }, _TextArea.tokens.inputPaddingLeft, _TextArea.tokens.helpersPaddingTop, _TextArea.tokens.helpersPaddingBottom, _TextArea.tokens.helpersLineHeight, _TextArea.tokens.helpersOffset, _TextArea.tokens.inputPaddingBottom, function (_ref12) {
62
+ var hasHelper = _ref12.hasHelper,
63
+ rows = _ref12.rows;
89
64
  return hasHelper && !rows ? 'var(--plasma_private-textarea-input-with-helpers-height)' : 'var(--plasma_private-textarea-input-without-helpers-height)';
90
65
  }, _TextArea.tokens.inputFontFamily, _TextArea.tokens.inputFontSize, _TextArea.tokens.inputFontStyle, _TextArea.tokens.inputFontWeight, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.inputLineHeight, _TextArea.tokens.inputColorFocus);
91
66
  var StyledHelpers = exports.StyledHelpers = /*#__PURE__*/_styledComponents["default"].div.withConfig({
92
- componentId: "plasma-new-hope__sc-pxxv3p-12"
67
+ componentId: "plasma-new-hope__sc-pxxv3p-6"
93
68
  })(["box-sizing:border-box;display:flex;justify-content:space-between;transition:background-color 0.1s ease-in-out;background-color:var(", ");padding-top:var(", ");padding-right:var(", ");padding-bottom:var(", ");padding-left:var(", ");border-bottom-left-radius:var(", ");border-bottom-right-radius:var(", ");"], _TextArea.tokens.helpersBackgroundColor, _TextArea.tokens.helpersPaddingTop, _TextArea.tokens.helpersPaddingRight, _TextArea.tokens.helpersPaddingBottom, _TextArea.tokens.helpersPaddingLeft, _TextArea.tokens.borderRadius, _TextArea.tokens.borderRadius);
94
69
  var StyledLeftHelper = exports.StyledLeftHelper = /*#__PURE__*/_styledComponents["default"].span.withConfig({
95
- componentId: "plasma-new-hope__sc-pxxv3p-13"
70
+ componentId: "plasma-new-hope__sc-pxxv3p-7"
96
71
  })(["", ";display:block;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");color:var(", ");"], /*#__PURE__*/(0, _mixins.applyEllipsis)(), _TextArea.tokens.helpersFontFamily, _TextArea.tokens.helpersFontSize, _TextArea.tokens.helpersFontStyle, _TextArea.tokens.helpersFontWeight, _TextArea.tokens.helpersLetterSpacing, _TextArea.tokens.helpersLineHeight, _TextArea.tokens.leftHelperColor);
97
72
  var StyledRightHelper = exports.StyledRightHelper = /*#__PURE__*/(0, _styledComponents["default"])(StyledLeftHelper).withConfig({
98
- componentId: "plasma-new-hope__sc-pxxv3p-14"
73
+ componentId: "plasma-new-hope__sc-pxxv3p-8"
99
74
  })(["color:var(", ");margin-left:auto;"], _TextArea.tokens.rightHelperColor);
100
75
  var StyledPlaceholder = exports.StyledPlaceholder = /*#__PURE__*/_styledComponents["default"].label.withConfig({
101
- componentId: "plasma-new-hope__sc-pxxv3p-15"
102
- })(["box-sizing:border-box;position:absolute;pointer-events:none;display:inline-flex;align-items:center;transition:all 0.1s ease-in-out;transform-origin:top left;color:var(", ");width:100%;height:auto;top:var(", ");padding-left:var(", ");padding-right:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _TextArea.tokens.placeholderColor, _TextArea.tokens.inputPaddingTop, _TextArea.tokens.inputPaddingLeft, function (_ref14) {
103
- var hasContentRight = _ref14.hasContentRight;
76
+ componentId: "plasma-new-hope__sc-pxxv3p-9"
77
+ })(["box-sizing:border-box;position:absolute;pointer-events:none;display:inline-flex;align-items:center;transition:all 0.1s ease-in-out;transform-origin:top left;color:var(", ");width:100%;height:auto;top:var(", ");padding-left:var(", ");padding-right:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _TextArea.tokens.placeholderColor, _TextArea.tokens.inputPaddingTop, _TextArea.tokens.inputPaddingLeft, function (_ref13) {
78
+ var hasContentRight = _ref13.hasContentRight;
104
79
  return hasContentRight ? "var(".concat(_TextArea.tokens.inputPaddingRightWithRightContent, ")") : "var(".concat(_TextArea.tokens.inputPaddingRight, ")");
105
80
  }, _TextArea.tokens.inputFontFamily, _TextArea.tokens.inputFontSize, _TextArea.tokens.inputFontStyle, _TextArea.tokens.inputFontWeight, _TextArea.tokens.inputLetterSpacing, _TextArea.tokens.inputLineHeight);
106
81
  var StyledIndicator = exports.StyledIndicator = /*#__PURE__*/_styledComponents["default"].div.withConfig({
107
- componentId: "plasma-new-hope__sc-pxxv3p-16"
82
+ componentId: "plasma-new-hope__sc-pxxv3p-10"
108
83
  })(["position:absolute;border-radius:50%;background-color:var(", ");&.", "{width:var(", ");height:var(", ");inset:var(", ");&.align-right{inset:var(", ");}}&.", "{width:var(", ");height:var(", ");inset:var(", ");&.align-right{inset:var(", ");}}"], _TextArea.tokens.indicatorColor, _TextArea.classes.outerLabelPlacement, _TextArea.tokens.indicatorSizeOuter, _TextArea.tokens.indicatorSizeOuter, _TextArea.tokens.indicatorLabelPlacementOuter, _TextArea.tokens.indicatorLabelPlacementOuterRight, _TextArea.classes.innerLabelPlacement, _TextArea.tokens.indicatorSizeInner, _TextArea.tokens.indicatorSizeInner, _TextArea.tokens.indicatorLabelPlacementInner, _TextArea.tokens.indicatorLabelPlacementInnerRight);
@@ -105,8 +105,7 @@ export function App() {
105
105
  ```
106
106
 
107
107
  ### Подсказка
108
- Для вывода подсказки снизу от поля используйте свойство `leftHelper` и/или `rightHelper`,
109
- для подсказки в виде Tooltip - `hasHint`, для подсказки сверху справа - `titleCaption`:
108
+ Для вывода подсказки снизу от поля используйте свойство `leftHelper` и/или `rightHelper`.
110
109
 
111
110
  ```tsx live
112
111
  import React from 'react';
@@ -120,10 +119,6 @@ export function App() {
120
119
  defaultValue="Значение"
121
120
  leftHelper="Подсказка снизу слева"
122
121
  rightHelper="Подсказка снизу справа"
123
- hasHint
124
- hintText="Подсказка в виде Tooltip"
125
- hintView="default"
126
- hintSize="m"
127
122
  />
128
123
  </div>
129
124
  );
@@ -178,40 +178,5 @@ var tokens = exports.tokens = {
178
178
  indicatorLabelPlacementInner: '--plasma-textarea-indicator-placement-inner',
179
179
  indicatorLabelPlacementOuter: '--plasma-textarea-indicator-placement-outer',
180
180
  indicatorLabelPlacementInnerRight: '--plasma-textarea-indicator-placement-inner-right',
181
- indicatorLabelPlacementOuterRight: '--plasma-textarea-indicator-placement-outer-right',
182
- titleCaptionColor: '--plasma-textarea__title-caption-color',
183
- titleCaptionColorReadOnly: '--plasma-textarea__title-caption-color-readonly',
184
- titleCaptionInnerLabelOffset: '--plasma-textarea__title-caption-label-inner-offset',
185
- titleCaptionFontFamily: '--plasma-textarea__title-caption-font-family',
186
- titleCaptionFontStyle: '--plasma-textarea__title-caption-font-style',
187
- titleCaptionFontSize: '--plasma-textarea__title-caption-font-size',
188
- titleCaptionFontWeight: '--plasma-textarea__title-caption-font-weight',
189
- titleCaptionLetterSpacing: '--plasma-textarea__title-caption-letter-spacing',
190
- titleCaptionLineHeight: '--plasma-textarea__title-caption-line-height',
191
- /** Токены для tooltip */
192
- hintMargin: '--plasma-textarea__hint-margin',
193
- hintIconColor: '--plasma-textarea__hint-icon-color',
194
- hintInnerLabelPlacementOffset: '--plasma-textarea__hint-inner-label-placement-offset',
195
- tooltipBackgroundColor: '--plasma-textarea__tooltip-background-color',
196
- tooltipBoxShadow: '--plasma-textarea__tooltip-box-shadow',
197
- tooltipColor: '--plasma-textarea__tooltip-color',
198
- tooltipPaddingTop: '--plasma-textarea__tooltip-padding-top',
199
- tooltipPaddingRight: '--plasma-textarea__tooltip-padding-right',
200
- tooltipPaddingBottom: '--plasma-textarea__tooltip-padding-bottom',
201
- tooltipPaddingLeft: '--plasma-textarea__tooltip-padding-left',
202
- tooltipMinHeight: '--plasma-textarea__tooltip-min-height',
203
- tooltipBorderRadius: '--plasma-textarea__tooltip-border-radius',
204
- tooltipTextFontFamily: '--plasma-textarea__tooltip-text-font-family',
205
- tooltipTextFontSize: '--plasma-textarea__tooltip-text-font-size',
206
- tooltipTextFontStyle: '--plasma-textarea__tooltip-text-font-style',
207
- tooltipTextFontWeight: '--plasma-textarea__tooltip-text-font-weight',
208
- tooltipTextFontLetterSpacing: '--plasma-textarea__tooltip-text-font-letter-spacing',
209
- tooltipTextFontLineHeight: '--plasma-textarea__tooltip-text-font-line-height',
210
- tooltipContentLeftMargin: '--plasma-textarea__tooltip-content-left-margin',
211
- tooltipArrowMaskWidth: '--plasma-textarea__tooltip-arrow-mask-width',
212
- tooltipArrowMaskHeight: '--plasma-textarea__tooltip-arrow-mask-height',
213
- tooltipArrowMaskImage: '--plasma-textarea__tooltip-arrow-mask-image',
214
- tooltipArrowHeight: '--plasma-textarea__tooltip-arrow-height',
215
- tooltipArrowEdgeMargin: '--plasma-textarea__tooltip-arrow-edge-margin',
216
- tooltipArrowBackground: '--plasma-textarea__tooltip-arrow-background'
181
+ indicatorLabelPlacementOuterRight: '--plasma-textarea-indicator-placement-outer-right'
217
182
  };
@@ -6,9 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _TextArea = /*#__PURE__*/require("../../TextArea.tokens");
9
- var _TextArea2 = /*#__PURE__*/require("../../TextArea.styles");
10
9
  var styledContainer = _TextArea.classes.styledContainer,
11
10
  styledTextAreaWrapper = _TextArea.classes.styledTextAreaWrapper,
12
11
  styledHelpers = _TextArea.classes.styledHelpers;
13
12
  var exclusionSelectors = 'not([disabled]):not([readonly]):not(:focus-within)';
14
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{color:var(", ");}.", "{transition:box-shadow 0.1s ease-in-out;border-radius:var(", ");border:var(", ") solid var(", ");}.", "{transition:background-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out;box-shadow:inset 0 0 0 var(", ",1px) var(", ");}&:focus-within:not([readonly]) .", "{background-color:var(", ");box-shadow:inset 0 0 0 var(", ",1px) var(", ");}&:focus-within:not([readonly]) .", "{border:var(", ") solid var(", ");}&:focus-within:not([readonly]) .", "{background-color:var(", ");}&:hover:", " .", "{border:var(", ") solid var(", ");}&:hover:", " .", "{box-shadow:inset 0 0 0 var(", ",1px) var(", ");background-color:var(", ");}&:hover:", " .", " + .", "{background-color:var(", ");}&:active:", " .", "{box-shadow:inset 0 0 0 var(", ",1px) var(", ");background-color:var(", ");}&:active:", " .", " + .", "{background-color:var(", ");}"], _TextArea2.TitleCaption, _TextArea.tokens.titleCaptionColor, styledContainer, _TextArea.tokens.borderRadius, _TextArea.tokens.borderSize, _TextArea.tokens.borderColor, styledTextAreaWrapper, _TextArea.tokens.borderSize, _TextArea.tokens.inputBorderColor, styledTextAreaWrapper, _TextArea.tokens.inputBackgroundColorFocus, _TextArea.tokens.borderSize, _TextArea.tokens.inputBorderColorFocus, styledContainer, _TextArea.tokens.borderSize, _TextArea.tokens.borderColorFocus, styledHelpers, _TextArea.tokens.helpersBackgroundColorFocus, exclusionSelectors, styledContainer, _TextArea.tokens.borderSize, _TextArea.tokens.borderColorHover, exclusionSelectors, styledTextAreaWrapper, _TextArea.tokens.borderSize, _TextArea.tokens.inputBorderColorHover, _TextArea.tokens.inputBackgroundColorHover, exclusionSelectors, styledTextAreaWrapper, styledHelpers, _TextArea.tokens.helpersBackgroundColorHover, exclusionSelectors, styledTextAreaWrapper, _TextArea.tokens.borderSize, _TextArea.tokens.inputBorderColorActive, _TextArea.tokens.inputBackgroundColorActive, exclusionSelectors, styledTextAreaWrapper, styledHelpers, _TextArea.tokens.helpersBackgroundColorActive);
13
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)([".", "{transition:box-shadow 0.1s ease-in-out;border-radius:var(", ");border:var(", ") solid var(", ");}.", "{transition:background-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out;box-shadow:inset 0 0 0 var(", ",1px) var(", ");}&:focus-within:not([readonly]) .", "{background-color:var(", ");box-shadow:inset 0 0 0 var(", ",1px) var(", ");}&:focus-within:not([readonly]) .", "{border:var(", ") solid var(", ");}&:focus-within:not([readonly]) .", "{background-color:var(", ");}&:hover:", " .", "{border:var(", ") solid var(", ");}&:hover:", " .", "{box-shadow:inset 0 0 0 var(", ",1px) var(", ");background-color:var(", ");}&:hover:", " .", " + .", "{background-color:var(", ");}&:active:", " .", "{box-shadow:inset 0 0 0 var(", ",1px) var(", ");background-color:var(", ");}&:active:", " .", " + .", "{background-color:var(", ");}"], /*#__PURE__*/String(styledContainer), _TextArea.tokens.borderRadius, _TextArea.tokens.borderSize, _TextArea.tokens.borderColor, /*#__PURE__*/String(styledTextAreaWrapper), _TextArea.tokens.borderSize, _TextArea.tokens.inputBorderColor, /*#__PURE__*/String(styledTextAreaWrapper), _TextArea.tokens.inputBackgroundColorFocus, _TextArea.tokens.borderSize, _TextArea.tokens.inputBorderColorFocus, /*#__PURE__*/String(styledContainer), _TextArea.tokens.borderSize, _TextArea.tokens.borderColorFocus, /*#__PURE__*/String(styledHelpers), _TextArea.tokens.helpersBackgroundColorFocus, exclusionSelectors, /*#__PURE__*/String(styledContainer), _TextArea.tokens.borderSize, _TextArea.tokens.borderColorHover, exclusionSelectors, /*#__PURE__*/String(styledTextAreaWrapper), _TextArea.tokens.borderSize, _TextArea.tokens.inputBorderColorHover, _TextArea.tokens.inputBackgroundColorHover, exclusionSelectors, /*#__PURE__*/String(styledTextAreaWrapper), /*#__PURE__*/String(styledHelpers), _TextArea.tokens.helpersBackgroundColorHover, exclusionSelectors, /*#__PURE__*/String(styledTextAreaWrapper), _TextArea.tokens.borderSize, _TextArea.tokens.inputBorderColorActive, _TextArea.tokens.inputBackgroundColorActive, exclusionSelectors, /*#__PURE__*/String(styledTextAreaWrapper), /*#__PURE__*/String(styledHelpers), _TextArea.tokens.helpersBackgroundColorActive);