@salutejs/plasma-new-hope 0.157.0-canary.1451.11123209424.0 → 0.157.0-canary.1459.11144116576.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (357) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +33 -18
  2. package/cjs/components/Autocomplete/Autocomplete.js +6 -2
  3. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/Combobox.css +37 -17
  5. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +37 -17
  6. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +37 -17
  7. package/cjs/components/DatePicker/RangeDate/RangeDate.css +34 -19
  8. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +32 -17
  9. package/cjs/components/DatePicker/SingleDate/SingleDate.css +34 -19
  10. package/cjs/components/Range/Range.css +38 -18
  11. package/cjs/components/Slider/Slider.css +38 -18
  12. package/cjs/components/Slider/components/Double/Double.css +38 -18
  13. package/cjs/components/TextArea/TextArea.js +138 -37
  14. package/cjs/components/TextArea/TextArea.js.map +1 -1
  15. package/cjs/components/TextArea/TextArea.styles.js +116 -63
  16. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  17. package/cjs/components/TextArea/TextArea.styles_1phhc4q.css +17 -0
  18. package/cjs/components/TextArea/TextArea.tokens.js +36 -17
  19. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  20. package/cjs/components/TextArea/variations/{_clear → _hint-size}/base.js +2 -2
  21. package/cjs/components/TextArea/variations/_hint-size/base.js.map +1 -0
  22. package/cjs/components/TextArea/variations/_hint-size/base_1pzfoj7.css +1 -0
  23. package/cjs/components/TextArea/variations/_hint-view/base.js +9 -0
  24. package/cjs/components/TextArea/variations/_hint-view/base.js.map +1 -0
  25. package/cjs/components/TextArea/variations/_hint-view/base_111a0qe.css +1 -0
  26. package/cjs/components/TextArea/variations/_view/base.js +1 -1
  27. package/cjs/components/TextArea/variations/_view/base.js.map +1 -1
  28. package/cjs/components/TextArea/variations/_view/base_1ri7c88.css +1 -0
  29. package/cjs/components/TextField/TextField.js +114 -7
  30. package/cjs/components/TextField/TextField.js.map +1 -1
  31. package/cjs/components/TextField/TextField.styles.js +74 -20
  32. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  33. package/cjs/components/TextField/TextField.styles_1i9z45f.css +21 -0
  34. package/cjs/components/TextField/TextField.tokens.js +35 -0
  35. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  36. package/cjs/components/TextField/variations/_disabled/base.js +1 -1
  37. package/cjs/components/TextField/variations/_disabled/base_frtgf7.css +1 -0
  38. package/cjs/components/TextField/variations/_hint-size/base.js +9 -0
  39. package/cjs/components/TextField/variations/_hint-size/base.js.map +1 -0
  40. package/cjs/components/TextField/variations/_hint-size/base_1f8fx0a.css +1 -0
  41. package/cjs/components/TextField/variations/_hint-view/base.js +9 -0
  42. package/cjs/components/TextField/variations/_hint-view/base.js.map +1 -0
  43. package/cjs/components/TextField/variations/_hint-view/base_l8etux.css +1 -0
  44. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  45. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  46. package/cjs/components/TextField/variations/_label-placement/base_oh623n.css +1 -0
  47. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  48. package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
  49. package/cjs/components/TextField/variations/_read-only/base_dwfq44.css +1 -0
  50. package/cjs/components/TextField/variations/_size/base.js +1 -1
  51. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  52. package/cjs/components/TextField/variations/_size/base_n9k1fc.css +1 -0
  53. package/cjs/components/TextField/variations/_view/base.js +1 -1
  54. package/cjs/components/TextField/variations/_view/base.js.map +1 -1
  55. package/cjs/components/TextField/variations/_view/base_tmr4o7.css +1 -0
  56. package/cjs/components/TextFieldGroup/TextFieldGroup.css +1 -1
  57. package/cjs/components/TextFieldGroup/variations/_shape/base.js +1 -1
  58. package/cjs/components/TextFieldGroup/variations/_shape/base_52bndd.css +1 -0
  59. package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +23 -0
  60. package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js.map +1 -0
  61. package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +23 -0
  62. package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js.map +1 -0
  63. package/cjs/index.css +51 -33
  64. package/emotion/cjs/components/Autocomplete/Autocomplete.js +6 -2
  65. package/emotion/cjs/components/TextArea/TextArea.js +140 -41
  66. package/emotion/cjs/components/TextArea/TextArea.styles.js +81 -41
  67. package/emotion/cjs/components/TextArea/TextArea.template-doc.mdx +6 -30
  68. package/emotion/cjs/components/TextArea/TextArea.tokens.js +36 -17
  69. package/emotion/cjs/components/TextArea/mixins/applyDynamicLabel.js +1 -1
  70. package/emotion/cjs/components/TextArea/variations/_hint-size/base.js +11 -0
  71. package/emotion/cjs/components/TextArea/variations/_hint-size/tokens.json +21 -0
  72. package/emotion/cjs/components/TextArea/variations/_hint-view/base.js +11 -0
  73. package/emotion/cjs/components/TextArea/variations/_hint-view/tokens.json +5 -0
  74. package/emotion/cjs/components/TextArea/variations/_view/base.js +3 -2
  75. package/emotion/cjs/components/TextField/TextField.js +116 -10
  76. package/emotion/cjs/components/TextField/TextField.styles.js +81 -34
  77. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +7 -1
  78. package/emotion/cjs/components/TextField/TextField.tokens.js +35 -0
  79. package/emotion/cjs/components/TextField/variations/_hint-size/base.js +11 -0
  80. package/emotion/cjs/components/TextField/variations/_hint-size/tokens.json +21 -0
  81. package/emotion/cjs/components/TextField/variations/_hint-view/base.js +11 -0
  82. package/emotion/cjs/components/TextField/variations/_hint-view/tokens.json +5 -0
  83. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  84. package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
  85. package/emotion/cjs/components/TextField/variations/_size/base.js +1 -1
  86. package/emotion/cjs/components/TextField/variations/_view/base.js +1 -1
  87. package/emotion/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +22 -0
  88. package/emotion/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +22 -0
  89. package/emotion/cjs/components/_Icon/index.js +8 -1
  90. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +17 -11
  91. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +77 -15
  92. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +21 -12
  93. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +70 -1
  94. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +17 -11
  95. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +77 -15
  96. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +21 -12
  97. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +79 -10
  98. package/emotion/es/components/Autocomplete/Autocomplete.js +6 -2
  99. package/emotion/es/components/TextArea/TextArea.js +140 -41
  100. package/emotion/es/components/TextArea/TextArea.styles.js +80 -40
  101. package/emotion/es/components/TextArea/TextArea.template-doc.mdx +6 -30
  102. package/emotion/es/components/TextArea/TextArea.tokens.js +36 -17
  103. package/emotion/es/components/TextArea/mixins/applyDynamicLabel.js +1 -1
  104. package/emotion/es/components/TextArea/variations/_hint-size/base.js +5 -0
  105. package/emotion/es/components/TextArea/variations/_hint-size/tokens.json +21 -0
  106. package/emotion/es/components/TextArea/variations/_hint-view/base.js +5 -0
  107. package/emotion/es/components/TextArea/variations/_hint-view/tokens.json +5 -0
  108. package/emotion/es/components/TextArea/variations/_view/base.js +3 -2
  109. package/emotion/es/components/TextField/TextField.js +115 -9
  110. package/emotion/es/components/TextField/TextField.styles.js +80 -33
  111. package/emotion/es/components/TextField/TextField.template-doc.mdx +7 -1
  112. package/emotion/es/components/TextField/TextField.tokens.js +35 -0
  113. package/emotion/es/components/TextField/variations/_hint-size/base.js +5 -0
  114. package/emotion/es/components/TextField/variations/_hint-size/tokens.json +21 -0
  115. package/emotion/es/components/TextField/variations/_hint-view/base.js +5 -0
  116. package/emotion/es/components/TextField/variations/_hint-view/tokens.json +5 -0
  117. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  118. package/emotion/es/components/TextField/variations/_read-only/base.js +2 -2
  119. package/emotion/es/components/TextField/variations/_size/base.js +2 -2
  120. package/emotion/es/components/TextField/variations/_view/base.js +2 -2
  121. package/emotion/es/components/_Icon/Icon.assets/InfoCircleOutline.js +15 -0
  122. package/emotion/es/components/_Icon/Icons/IconInfoCircleOutline.js +15 -0
  123. package/emotion/es/components/_Icon/index.js +2 -1
  124. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +17 -11
  125. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +77 -15
  126. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +21 -12
  127. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +70 -1
  128. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +17 -11
  129. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +77 -15
  130. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +21 -12
  131. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +79 -10
  132. package/es/components/Autocomplete/Autocomplete.css +33 -18
  133. package/es/components/Autocomplete/Autocomplete.js +6 -2
  134. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  135. package/es/components/Combobox/ComboboxNew/Combobox.css +37 -17
  136. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +37 -17
  137. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +37 -17
  138. package/es/components/DatePicker/RangeDate/RangeDate.css +34 -19
  139. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +32 -17
  140. package/es/components/DatePicker/SingleDate/SingleDate.css +34 -19
  141. package/es/components/Range/Range.css +38 -18
  142. package/es/components/Slider/Slider.css +38 -18
  143. package/es/components/Slider/components/Double/Double.css +38 -18
  144. package/es/components/TextArea/TextArea.js +142 -41
  145. package/es/components/TextArea/TextArea.js.map +1 -1
  146. package/es/components/TextArea/TextArea.styles.js +111 -64
  147. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  148. package/es/components/TextArea/TextArea.styles_1phhc4q.css +17 -0
  149. package/es/components/TextArea/TextArea.tokens.js +36 -17
  150. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  151. package/es/components/TextArea/variations/{_clear → _hint-size}/base.js +2 -2
  152. package/es/components/TextArea/variations/_hint-size/base.js.map +1 -0
  153. package/es/components/TextArea/variations/_hint-size/base_1pzfoj7.css +1 -0
  154. package/es/components/TextArea/variations/_hint-view/base.js +5 -0
  155. package/es/components/TextArea/variations/_hint-view/base.js.map +1 -0
  156. package/es/components/TextArea/variations/_hint-view/base_111a0qe.css +1 -0
  157. package/es/components/TextArea/variations/_view/base.js +1 -1
  158. package/es/components/TextArea/variations/_view/base.js.map +1 -1
  159. package/es/components/TextArea/variations/_view/base_1ri7c88.css +1 -0
  160. package/es/components/TextField/TextField.js +115 -8
  161. package/es/components/TextField/TextField.js.map +1 -1
  162. package/es/components/TextField/TextField.styles.js +69 -21
  163. package/es/components/TextField/TextField.styles.js.map +1 -1
  164. package/es/components/TextField/TextField.styles_1i9z45f.css +21 -0
  165. package/es/components/TextField/TextField.tokens.js +35 -0
  166. package/es/components/TextField/TextField.tokens.js.map +1 -1
  167. package/es/components/TextField/variations/_disabled/base.js +1 -1
  168. package/es/components/TextField/variations/_disabled/base_frtgf7.css +1 -0
  169. package/es/components/TextField/variations/_hint-size/base.js +5 -0
  170. package/es/components/TextField/variations/_hint-size/base.js.map +1 -0
  171. package/es/components/TextField/variations/_hint-size/base_1f8fx0a.css +1 -0
  172. package/es/components/TextField/variations/_hint-view/base.js +5 -0
  173. package/es/components/TextField/variations/_hint-view/base.js.map +1 -0
  174. package/es/components/TextField/variations/_hint-view/base_l8etux.css +1 -0
  175. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  176. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  177. package/es/components/TextField/variations/_label-placement/base_oh623n.css +1 -0
  178. package/es/components/TextField/variations/_read-only/base.js +1 -1
  179. package/es/components/TextField/variations/_read-only/base.js.map +1 -1
  180. package/es/components/TextField/variations/_read-only/base_dwfq44.css +1 -0
  181. package/es/components/TextField/variations/_size/base.js +1 -1
  182. package/es/components/TextField/variations/_size/base.js.map +1 -1
  183. package/es/components/TextField/variations/_size/base_n9k1fc.css +1 -0
  184. package/es/components/TextField/variations/_view/base.js +1 -1
  185. package/es/components/TextField/variations/_view/base.js.map +1 -1
  186. package/es/components/TextField/variations/_view/base_tmr4o7.css +1 -0
  187. package/es/components/TextFieldGroup/TextFieldGroup.css +1 -1
  188. package/es/components/TextFieldGroup/variations/_shape/base.js +1 -1
  189. package/es/components/TextFieldGroup/variations/_shape/base_52bndd.css +1 -0
  190. package/es/components/_Icon/Icon.assets/InfoCircleOutline.js +19 -0
  191. package/es/components/_Icon/Icon.assets/InfoCircleOutline.js.map +1 -0
  192. package/es/components/_Icon/Icons/IconInfoCircleOutline.js +19 -0
  193. package/es/components/_Icon/Icons/IconInfoCircleOutline.js.map +1 -0
  194. package/es/index.css +51 -33
  195. package/package.json +2 -2
  196. package/styled-components/cjs/components/Autocomplete/Autocomplete.js +6 -2
  197. package/styled-components/cjs/components/TextArea/TextArea.js +139 -40
  198. package/styled-components/cjs/components/TextArea/TextArea.styles.js +64 -39
  199. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +6 -30
  200. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +36 -17
  201. package/styled-components/cjs/components/TextArea/mixins/applyDynamicLabel.js +1 -1
  202. package/styled-components/cjs/components/TextArea/variations/_hint-size/base.js +11 -0
  203. package/styled-components/cjs/components/TextArea/variations/_hint-size/tokens.json +21 -0
  204. package/styled-components/cjs/components/TextArea/variations/_hint-view/base.js +11 -0
  205. package/styled-components/cjs/components/TextArea/variations/_hint-view/tokens.json +5 -0
  206. package/styled-components/cjs/components/TextArea/variations/_view/base.js +3 -2
  207. package/styled-components/cjs/components/TextField/TextField.js +115 -9
  208. package/styled-components/cjs/components/TextField/TextField.styles.js +42 -17
  209. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +7 -1
  210. package/styled-components/cjs/components/TextField/TextField.tokens.js +35 -0
  211. package/styled-components/cjs/components/TextField/variations/_hint-size/base.js +11 -0
  212. package/styled-components/cjs/components/TextField/variations/_hint-size/tokens.json +21 -0
  213. package/styled-components/cjs/components/TextField/variations/_hint-view/base.js +11 -0
  214. package/styled-components/cjs/components/TextField/variations/_hint-view/tokens.json +5 -0
  215. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  216. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +1 -1
  217. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  218. package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
  219. package/styled-components/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +22 -0
  220. package/styled-components/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +22 -0
  221. package/styled-components/cjs/components/_Icon/index.js +8 -1
  222. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +17 -11
  223. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +77 -15
  224. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +18 -9
  225. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +70 -1
  226. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +17 -11
  227. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +77 -15
  228. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +18 -9
  229. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +79 -10
  230. package/styled-components/es/components/Autocomplete/Autocomplete.js +6 -2
  231. package/styled-components/es/components/TextArea/TextArea.js +139 -40
  232. package/styled-components/es/components/TextArea/TextArea.styles.js +63 -38
  233. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +6 -30
  234. package/styled-components/es/components/TextArea/TextArea.tokens.js +36 -17
  235. package/styled-components/es/components/TextArea/mixins/applyDynamicLabel.js +1 -1
  236. package/styled-components/es/components/TextArea/variations/_hint-size/base.js +5 -0
  237. package/styled-components/es/components/TextArea/variations/_hint-size/tokens.json +21 -0
  238. package/styled-components/es/components/TextArea/variations/_hint-view/base.js +5 -0
  239. package/styled-components/es/components/TextArea/variations/_hint-view/tokens.json +5 -0
  240. package/styled-components/es/components/TextArea/variations/_view/base.js +3 -2
  241. package/styled-components/es/components/TextField/TextField.js +114 -8
  242. package/styled-components/es/components/TextField/TextField.styles.js +41 -16
  243. package/styled-components/es/components/TextField/TextField.template-doc.mdx +7 -1
  244. package/styled-components/es/components/TextField/TextField.tokens.js +35 -0
  245. package/styled-components/es/components/TextField/variations/_hint-size/base.js +5 -0
  246. package/styled-components/es/components/TextField/variations/_hint-size/tokens.json +21 -0
  247. package/styled-components/es/components/TextField/variations/_hint-view/base.js +5 -0
  248. package/styled-components/es/components/TextField/variations/_hint-view/tokens.json +5 -0
  249. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  250. package/styled-components/es/components/TextField/variations/_read-only/base.js +2 -2
  251. package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
  252. package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
  253. package/styled-components/es/components/_Icon/Icon.assets/InfoCircleOutline.js +15 -0
  254. package/styled-components/es/components/_Icon/Icons/IconInfoCircleOutline.js +15 -0
  255. package/styled-components/es/components/_Icon/index.js +2 -1
  256. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +17 -11
  257. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +77 -15
  258. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +18 -9
  259. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +70 -1
  260. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +17 -11
  261. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +77 -15
  262. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +18 -9
  263. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +79 -10
  264. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  265. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +208 -0
  266. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  267. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +208 -0
  268. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  269. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +208 -0
  270. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  271. package/types/components/Range/Range.styles.d.ts +208 -0
  272. package/types/components/Range/Range.styles.d.ts.map +1 -1
  273. package/types/components/Slider/components/Double/Double.styles.d.ts +208 -0
  274. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  275. package/types/components/TextArea/TextArea.d.ts +9 -7
  276. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  277. package/types/components/TextArea/TextArea.styles.d.ts +8 -0
  278. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
  279. package/types/components/TextArea/TextArea.tokens.d.ts +35 -16
  280. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  281. package/types/components/TextArea/TextArea.types.d.ts +90 -18
  282. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  283. package/types/components/TextArea/mixins/applyDynamicLabel.d.ts.map +1 -1
  284. package/types/components/TextArea/variations/_hint-size/base.d.ts.map +1 -0
  285. package/types/components/TextArea/variations/_hint-view/base.d.ts +2 -0
  286. package/types/components/TextArea/variations/_hint-view/base.d.ts.map +1 -0
  287. package/types/components/TextArea/variations/_view/base.d.ts.map +1 -1
  288. package/types/components/TextField/TextField.d.ts +9 -3
  289. package/types/components/TextField/TextField.d.ts.map +1 -1
  290. package/types/components/TextField/TextField.styles.d.ts +8 -0
  291. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  292. package/types/components/TextField/TextField.tokens.d.ts +35 -0
  293. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  294. package/types/components/TextField/TextField.types.d.ts +82 -2
  295. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  296. package/types/components/TextField/variations/_hint-size/base.d.ts +2 -0
  297. package/types/components/TextField/variations/_hint-size/base.d.ts.map +1 -0
  298. package/types/components/TextField/variations/_hint-view/base.d.ts +2 -0
  299. package/types/components/TextField/variations/_hint-view/base.d.ts.map +1 -0
  300. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
  301. package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
  302. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  303. package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
  304. package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts +4 -0
  305. package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts.map +1 -0
  306. package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts +4 -0
  307. package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts.map +1 -0
  308. package/types/components/_Icon/index.d.ts +1 -0
  309. package/types/components/_Icon/index.d.ts.map +1 -1
  310. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +372 -0
  311. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  312. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +8 -2
  313. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
  314. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +292 -22
  315. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
  316. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +9 -0
  317. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  318. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +217 -0
  319. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  320. package/types/examples/plasma_web/components/Mask/Mask.d.ts +372 -0
  321. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  322. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +8 -2
  323. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
  324. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +292 -22
  325. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  326. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +9 -0
  327. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  328. package/types/examples/plasma_web/components/TextField/TextField.d.ts +217 -0
  329. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  330. package/cjs/components/TextArea/TextArea.styles_1kzzs11.css +0 -11
  331. package/cjs/components/TextArea/variations/_clear/base.js.map +0 -1
  332. package/cjs/components/TextArea/variations/_clear/base_vidplj.css +0 -1
  333. package/cjs/components/TextArea/variations/_view/base_d1s4o7.css +0 -1
  334. package/cjs/components/TextField/TextField.styles_uponva.css +0 -15
  335. package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +0 -1
  336. package/cjs/components/TextField/variations/_label-placement/base_6k17xp.css +0 -1
  337. package/cjs/components/TextField/variations/_read-only/base_8onybn.css +0 -1
  338. package/cjs/components/TextField/variations/_size/base_1h8l0kj.css +0 -1
  339. package/cjs/components/TextField/variations/_view/base_1ph5cr0.css +0 -1
  340. package/cjs/components/TextFieldGroup/variations/_shape/base_1e0je21.css +0 -1
  341. package/emotion/cjs/components/TextArea/variations/_clear/base.js +0 -10
  342. package/emotion/es/components/TextArea/variations/_clear/base.js +0 -4
  343. package/es/components/TextArea/TextArea.styles_1kzzs11.css +0 -11
  344. package/es/components/TextArea/variations/_clear/base.js.map +0 -1
  345. package/es/components/TextArea/variations/_clear/base_vidplj.css +0 -1
  346. package/es/components/TextArea/variations/_view/base_d1s4o7.css +0 -1
  347. package/es/components/TextField/TextField.styles_uponva.css +0 -15
  348. package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +0 -1
  349. package/es/components/TextField/variations/_label-placement/base_6k17xp.css +0 -1
  350. package/es/components/TextField/variations/_read-only/base_8onybn.css +0 -1
  351. package/es/components/TextField/variations/_size/base_1h8l0kj.css +0 -1
  352. package/es/components/TextField/variations/_view/base_1ph5cr0.css +0 -1
  353. package/es/components/TextFieldGroup/variations/_shape/base_1e0je21.css +0 -1
  354. package/styled-components/cjs/components/TextArea/variations/_clear/base.js +0 -10
  355. package/styled-components/es/components/TextArea/variations/_clear/base.js +0 -4
  356. package/types/components/TextArea/variations/_clear/base.d.ts.map +0 -1
  357. /package/types/components/TextArea/variations/{_clear → _hint-size}/base.d.ts +0 -0
@@ -1,47 +1,72 @@
1
1
  import styled from 'styled-components';
2
+ import { component, mergeConfig } from '../../engines';
3
+ import { tooltipConfig } from '../Tooltip';
2
4
  import { classes, tokens } from './TextField.tokens';
3
- export var InputWrapper = /*#__PURE__*/styled.div.withConfig({
5
+ var mergedConfig = /*#__PURE__*/mergeConfig(tooltipConfig);
6
+ var Tooltip = /*#__PURE__*/component(mergedConfig);
7
+ export var Hint = /*#__PURE__*/styled(Tooltip).withConfig({
4
8
  componentId: "plasma-new-hope__sc-g4vxbb-0"
9
+ })([""]);
10
+ export var InputWrapper = /*#__PURE__*/styled.div.withConfig({
11
+ componentId: "plasma-new-hope__sc-g4vxbb-1"
5
12
  })(["position:relative;display:flex;align-items:center;box-sizing:border-box;"]);
6
13
  export var InputLabelWrapper = /*#__PURE__*/styled.div.withConfig({
7
- componentId: "plasma-new-hope__sc-g4vxbb-1"
14
+ componentId: "plasma-new-hope__sc-g4vxbb-2"
8
15
  })(["flex:1;overflow:scroll;position:relative;width:100%;display:inline-flex;align-items:center;::-webkit-scrollbar{display:none;}scrollbar-width:none;overscroll-behavior:contain;&.", "{height:var(", ");border-radius:var(", ");}"], /*#__PURE__*/String(classes.hasChips), tokens.chipHeight, tokens.chipBorderRadius);
9
16
  export var StyledChips = /*#__PURE__*/styled.div.withConfig({
10
- componentId: "plasma-new-hope__sc-g4vxbb-2"
17
+ componentId: "plasma-new-hope__sc-g4vxbb-3"
11
18
  })(["display:flex;gap:var(", ");margin-right:var(", ");user-select:none;"], tokens.chipGap, tokens.chipGap);
12
19
  export var Input = /*#__PURE__*/styled.input.withConfig({
13
- componentId: "plasma-new-hope__sc-g4vxbb-3"
20
+ componentId: "plasma-new-hope__sc-g4vxbb-4"
14
21
  })(["box-sizing:border-box;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:100%;z-index:1;&::placeholder{opacity:0;}"]);
15
22
  export var InputContainer = /*#__PURE__*/styled.div.withConfig({
16
- componentId: "plasma-new-hope__sc-g4vxbb-4"
23
+ componentId: "plasma-new-hope__sc-g4vxbb-5"
17
24
  })(["position:relative;flex:1;min-width:60%;"]);
18
25
  export var InputPlaceholder = /*#__PURE__*/styled.div.withConfig({
19
- componentId: "plasma-new-hope__sc-g4vxbb-5"
26
+ componentId: "plasma-new-hope__sc-g4vxbb-6"
20
27
  })(["position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;white-space:nowrap;pointer-events:none;user-select:none;font:inherit;letter-spacing:inherit;line-height:inherit;color:var(", ");"], tokens.placeholderColor);
28
+ export var OuterLabelWrapper = /*#__PURE__*/styled.div.withConfig({
29
+ componentId: "plasma-new-hope__sc-g4vxbb-7"
30
+ })(["display:flex;align-items:center;margin-bottom:", ";"], function (_ref) {
31
+ var isInnnerLabel = _ref.isInnnerLabel;
32
+ return isInnnerLabel ? "var(".concat(tokens.titleCaptionInnerLabelOffset, ")") : "var(".concat(tokens.labelOffset, ")");
33
+ });
34
+ export var TitleCaption = /*#__PURE__*/styled.div.withConfig({
35
+ componentId: "plasma-new-hope__sc-g4vxbb-8"
36
+ })(["display:inline-block;margin-left:auto;"]);
37
+ export var StyledIndicatorWrapper = /*#__PURE__*/styled.div.withConfig({
38
+ componentId: "plasma-new-hope__sc-g4vxbb-9"
39
+ })(["position:relative;display:inline-flex;align-items:center;"]);
21
40
  export var Label = /*#__PURE__*/styled.label.withConfig({
22
- componentId: "plasma-new-hope__sc-g4vxbb-6"
23
- })(["position:relative;display:inline-flex;"]);
41
+ componentId: "plasma-new-hope__sc-g4vxbb-10"
42
+ })(["display:inline-flex;"]);
24
43
  var StyledContentSlot = /*#__PURE__*/styled.div.withConfig({
25
- componentId: "plasma-new-hope__sc-g4vxbb-7"
44
+ componentId: "plasma-new-hope__sc-g4vxbb-11"
26
45
  })(["color:var(", ");line-height:0;"], tokens.contentSlotColor);
27
46
  export var StyledContentLeft = /*#__PURE__*/styled(StyledContentSlot).withConfig({
28
- componentId: "plasma-new-hope__sc-g4vxbb-8"
47
+ componentId: "plasma-new-hope__sc-g4vxbb-12"
29
48
  })(["margin:var(", ");"], tokens.leftContentMargin);
30
49
  export var StyledContentRight = /*#__PURE__*/styled(StyledContentSlot).withConfig({
31
- componentId: "plasma-new-hope__sc-g4vxbb-9"
50
+ componentId: "plasma-new-hope__sc-g4vxbb-13"
32
51
  })(["margin:var(", ");color:var(", ",var(", "));&:hover{color:var(", ");color:var(", ",var(", "));cursor:pointer;}&:active{color:var(", ",var(", "));}"], tokens.rightContentMargin, tokens.contentSlotRightColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotRightColorHover, tokens.contentSlotColorHover, tokens.contentSlotRightColorActive, tokens.contentSlotColorActive);
33
52
  export var LeftHelper = /*#__PURE__*/styled.div.withConfig({
34
- componentId: "plasma-new-hope__sc-g4vxbb-10"
53
+ componentId: "plasma-new-hope__sc-g4vxbb-14"
35
54
  })([""]);
36
55
  export var StyledTextBefore = /*#__PURE__*/styled.div.withConfig({
37
- componentId: "plasma-new-hope__sc-g4vxbb-11"
56
+ componentId: "plasma-new-hope__sc-g4vxbb-15"
38
57
  })([""]);
39
58
  export var StyledTextAfter = /*#__PURE__*/styled.div.withConfig({
40
- componentId: "plasma-new-hope__sc-g4vxbb-12"
59
+ componentId: "plasma-new-hope__sc-g4vxbb-16"
41
60
  })([""]);
42
61
  export var StyledOptionalText = /*#__PURE__*/styled.span.withConfig({
43
- componentId: "plasma-new-hope__sc-g4vxbb-13"
62
+ componentId: "plasma-new-hope__sc-g4vxbb-17"
44
63
  })(["color:var(", ");"], tokens.optionalColor);
64
+ export var StyledHintWrapper = /*#__PURE__*/styled.div.withConfig({
65
+ componentId: "plasma-new-hope__sc-g4vxbb-18"
66
+ })(["display:inline-block;line-height:0;&.", "{position:absolute;margin:0;top:0;right:var(", ");}"], classes.innerLabelPlacement, tokens.hintInnerLabelPlacementOffset);
67
+ export var HintTargetWrapper = /*#__PURE__*/styled.div.withConfig({
68
+ componentId: "plasma-new-hope__sc-g4vxbb-19"
69
+ })(["color:var(", ");"], tokens.hintIconColor);
45
70
  export var StyledIndicator = /*#__PURE__*/styled.div.withConfig({
46
- componentId: "plasma-new-hope__sc-g4vxbb-14"
71
+ componentId: "plasma-new-hope__sc-g4vxbb-20"
47
72
  })(["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(", ");}}"], tokens.indicatorColor, classes.outerLabelPlacement, tokens.indicatorSizeOuter, tokens.indicatorSizeOuter, tokens.indicatorLabelPlacementOuter, tokens.indicatorLabelPlacementOuterRight, classes.innerLabelPlacement, tokens.indicatorSizeInner, tokens.indicatorSizeInner, tokens.indicatorLabelPlacementInner, tokens.indicatorLabelPlacementInnerRight);
@@ -92,7 +92,8 @@ export function App() {
92
92
  ```
93
93
 
94
94
  ### Подсказка
95
- Для вывода подсказки снизу от поля используйте свойство `helperText`:
95
+ Для вывода подсказки снизу от поля используйте свойство `helperText`,
96
+ для подсказки в виде Tooltip - `hasHint`, для подсказки сверху справа - `titleCaption`:
96
97
 
97
98
  ```tsx live
98
99
  import React from 'react';
@@ -105,6 +106,11 @@ export function App() {
105
106
  placeholder="Введите значение"
106
107
  defaultValue="Значение"
107
108
  helperText="Подсказка снизу"
109
+ titleCaption="Подсказка сверху"
110
+ hasHint
111
+ hintText="Подсказка в виде Tooltip"
112
+ hintView="default"
113
+ hintSize="m"
108
114
  />
109
115
  </div>
110
116
  );
@@ -66,6 +66,15 @@ export var tokens = {
66
66
  labelInnerLineHeight: '--plasma-textfield-placement_inner__label-line-height',
67
67
  labelInnerPadding: '--plasma-textfield-placement_inner__label-padding',
68
68
  contentLabelInnerPadding: '--plasma-textfield-placement_inner__content-padding',
69
+ titleCaptionColor: '--plasma-textfield__title-caption-color',
70
+ titleCaptionColorReadOnly: '--plasma-textfield__title-caption-color-readonly',
71
+ titleCaptionInnerLabelOffset: '--plasma-textfield__title-caption-label-inner-offset',
72
+ titleCaptionFontFamily: '--plasma-textfield__title-caption-font-family',
73
+ titleCaptionFontStyle: '--plasma-textfield__title-caption-font-style',
74
+ titleCaptionFontSize: '--plasma-textfield__title-caption-font-size',
75
+ titleCaptionFontWeight: '--plasma-textfield__title-caption-font-weight',
76
+ titleCaptionLetterSpacing: '--plasma-textfield__title-caption-letter-spacing',
77
+ titleCaptionLineHeight: '--plasma-textfield__title-caption-line-height',
69
78
  leftHelperColor: '--plasma-textfield__left-helper-color',
70
79
  leftHelperColorReadOnly: '--plasma-textfield__left-helper-color-readonly',
71
80
  leftHelperOffset: '--plasma-textfield__left-helper-offset',
@@ -82,6 +91,32 @@ export var tokens = {
82
91
  textAfterMargin: '--plasma-textfield__after-text-margin',
83
92
  /** Прозрачность для всего компонента в состоянии disabled */
84
93
  disabledOpacity: '--plasma-textfield-disabled-opacity',
94
+ /** Токены для tooltip */
95
+ hintMargin: '--plasma-textfield__hint-margin',
96
+ hintIconColor: '--plasma-textfield__hint-icon-color',
97
+ hintInnerLabelPlacementOffset: '--plasma-textfield__hint-inner-label-placement-offset',
98
+ tooltipBackgroundColor: '--plasma-textfield__tooltip-background-color',
99
+ tooltipBoxShadow: '--plasma-textfield__tooltip-box-shadow',
100
+ tooltipColor: '--plasma-textfield__tooltip-color',
101
+ tooltipPaddingTop: '--plasma-textfield__tooltip-padding-top',
102
+ tooltipPaddingRight: '--plasma-textfield__tooltip-padding-right',
103
+ tooltipPaddingBottom: '--plasma-textfield__tooltip-padding-bottom',
104
+ tooltipPaddingLeft: '--plasma-textfield__tooltip-padding-left',
105
+ tooltipMinHeight: '--plasma-textfield__tooltip-min-height',
106
+ tooltipBorderRadius: '--plasma-textfield__tooltip-border-radius',
107
+ tooltipTextFontFamily: '--plasma-textfield__tooltip-text-font-family',
108
+ tooltipTextFontSize: '--plasma-textfield__tooltip-text-font-size',
109
+ tooltipTextFontStyle: '--plasma-textfield__tooltip-text-font-style',
110
+ tooltipTextFontWeight: '--plasma-textfield__tooltip-text-font-weight',
111
+ tooltipTextFontLetterSpacing: '--plasma-textfield__tooltip-text-font-letter-spacing',
112
+ tooltipTextFontLineHeight: '--plasma-textfield__tooltip-text-font-line-height',
113
+ tooltipContentLeftMargin: '--plasma-textfield__tooltip-content-left-margin',
114
+ tooltipArrowMaskWidth: '--plasma-textfield__tooltip-arrow-mask-width',
115
+ tooltipArrowMaskHeight: '--plasma-textfield__tooltip-arrow-mask-height',
116
+ tooltipArrowMaskImage: '--plasma-textfield__tooltip-arrow-mask-image',
117
+ tooltipArrowHeight: '--plasma-textfield__tooltip-arrow-height',
118
+ tooltipArrowEdgeMargin: '--plasma-textfield__tooltip-arrow-edge-margin',
119
+ tooltipArrowBackground: '--plasma-textfield__tooltip-arrow-background',
85
120
  /** Токены чипа */
86
121
  chipHeight: '--plasma-textfield__chip-height',
87
122
  chipBorderRadius: '--plasma-textfield__chip-border-radius',
@@ -0,0 +1,5 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../TextField.tokens';
3
+ import { tooltipTokens } from '../../../Tooltip';
4
+ import { Hint } from '../../TextField.styles';
5
+ export var base = /*#__PURE__*/css(["", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":url(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], Hint, tooltipTokens.paddingTop, tokens.tooltipPaddingTop, tooltipTokens.paddingRight, tokens.tooltipPaddingRight, tooltipTokens.paddingBottom, tokens.tooltipPaddingBottom, tooltipTokens.paddingLeft, tokens.tooltipPaddingLeft, tooltipTokens.minHeight, tokens.tooltipMinHeight, tooltipTokens.borderRadius, tokens.tooltipBorderRadius, tooltipTokens.textFontFamily, tokens.tooltipTextFontFamily, tooltipTokens.textFontSize, tokens.tooltipTextFontSize, tooltipTokens.textFontStyle, tokens.tooltipTextFontStyle, tooltipTokens.textFontWeight, tokens.tooltipTextFontWeight, tooltipTokens.textFontLetterSpacing, tokens.tooltipTextFontLetterSpacing, tooltipTokens.textFontLineHeight, tokens.tooltipTextFontLineHeight, tooltipTokens.contentLeftMargin, tokens.tooltipContentLeftMargin, tooltipTokens.arrowMaskWidth, tokens.tooltipArrowMaskWidth, tooltipTokens.arrowMaskHeight, tokens.tooltipArrowMaskHeight, tooltipTokens.arrowMaskImage, tokens.tooltipArrowMaskImage, tooltipTokens.arrowHeight, tokens.tooltipArrowHeight, tooltipTokens.arrowEdgeMargin, tokens.tooltipArrowEdgeMargin, tooltipTokens.arrowBackground, tokens.tooltipArrowBackground);
@@ -0,0 +1,21 @@
1
+ [
2
+ "--plasma-textfield__tooltip-padding-top",
3
+ "--plasma-textfield__tooltip-padding-right",
4
+ "--plasma-textfield__tooltip-padding-bottom",
5
+ "--plasma-textfield__tooltip-padding-left",
6
+ "--plasma-textfield__tooltip-min-height",
7
+ "--plasma-textfield__tooltip-border-radius",
8
+ "--plasma-textfield__tooltip-text-font-family",
9
+ "--plasma-textfield__tooltip-text-font-size",
10
+ "--plasma-textfield__tooltip-text-font-style",
11
+ "--plasma-textfield__tooltip-text-font-weight",
12
+ "--plasma-textfield__tooltip-text-font-letter-spacing",
13
+ "--plasma-textfield__tooltip-text-font-line-height",
14
+ "--plasma-textfield__tooltip-content-left-margin",
15
+ "--plasma-textfield__tooltip-arrow-mask-width",
16
+ "--plasma-textfield__tooltip-arrow-mask-height",
17
+ "--plasma-textfield__tooltip-arrow-mask-image",
18
+ "--plasma-textfield__tooltip-arrow-height",
19
+ "--plasma-textfield__tooltip-arrow-edge-margin",
20
+ "--plasma-textfield__tooltip-arrow-background"
21
+ ]
@@ -0,0 +1,5 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../TextField.tokens';
3
+ import { tooltipTokens } from '../../../Tooltip';
4
+ import { Hint } from '../../TextField.styles';
5
+ export var base = /*#__PURE__*/css(["", "{", ":var(", ");", ":var(", ");", ":var(", ");}"], Hint, tooltipTokens.backgroundColor, tokens.tooltipBackgroundColor, tooltipTokens.boxShadow, tokens.tooltipBoxShadow, tooltipTokens.color, tokens.tooltipColor);
@@ -0,0 +1,5 @@
1
+ [
2
+ "--plasma-textfield__tooltip-background-color",
3
+ "--plasma-textfield__tooltip-box-shadow",
4
+ "--plasma-textfield__tooltip-color "
5
+ ]
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { classes, tokens } from '../../TextField.tokens';
3
3
  import { Input, InputContainer, Label, StyledTextAfter, StyledTextBefore } from '../../TextField.styles';
4
- export var base = /*#__PURE__*/css(["&.", "{", "{position:relative;display:inline-block;margin-bottom:var(", ");color:var(", ");}}&.", "{", "{padding:var(", ");}", ",", "{padding:var(", ");}", ":focus ~ ", ",", ".", " ~ ", "{align-items:flex-start;padding:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{color:var(", ");pointer-events:none;position:absolute;top:0;display:flex;align-items:center;box-sizing:border-box;height:var(", ");padding-top:calc(calc(var(", ") - var(", ")) / 2);padding-bottom:calc(calc(var(", ") - var(", ")) / 2);}}"], classes.outerLabelPlacement, Label, tokens.labelOffset, tokens.labelColor, classes.innerLabelPlacement, InputContainer, tokens.contentLabelInnerPadding, StyledTextAfter, StyledTextBefore, tokens.contentLabelInnerPadding, Input, Label, Input, classes.hasValue, Label, tokens.labelInnerPadding, tokens.labelInnerFontFamily, tokens.labelInnerFontSize, tokens.labelInnerFontStyle, tokens.labelInnerFontWeight, tokens.labelInnerLetterSpacing, tokens.labelInnerLineHeight, Label, tokens.placeholderColor, tokens.height, tokens.height, tokens.labelLineHeight, tokens.height, tokens.labelLineHeight);
4
+ export var base = /*#__PURE__*/css(["&.", "{", "{position:relative;display:inline-block;color:var(", ");}}&.", "{", "{padding:var(", ");}", ",", "{padding:var(", ");}", ":focus ~ ", ",", ".", " ~ ", "{align-items:flex-start;padding:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{color:var(", ");pointer-events:none;position:absolute;top:0;display:flex;align-items:center;box-sizing:border-box;height:var(", ");padding-top:calc(calc(var(", ") - var(", ")) / 2);padding-bottom:calc(calc(var(", ") - var(", ")) / 2);}}"], classes.outerLabelPlacement, Label, tokens.labelColor, classes.innerLabelPlacement, InputContainer, tokens.contentLabelInnerPadding, StyledTextAfter, StyledTextBefore, tokens.contentLabelInnerPadding, Input, Label, Input, classes.hasValue, Label, tokens.labelInnerPadding, tokens.labelInnerFontFamily, tokens.labelInnerFontSize, tokens.labelInnerFontStyle, tokens.labelInnerFontWeight, tokens.labelInnerLetterSpacing, tokens.labelInnerLineHeight, Label, tokens.placeholderColor, tokens.height, tokens.height, tokens.labelLineHeight, tokens.height, tokens.labelLineHeight);
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { tokens } from '../../TextField.tokens';
3
- import { Input, InputPlaceholder, InputWrapper, Label, LeftHelper } from '../../TextField.styles';
4
- export var base = /*#__PURE__*/css(["&[readonly]{", "{color:var(", ");background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}", ":hover{background-color:var(", ");}", "{color:var(", ");}", "{color:var(", ");cursor:default;min-width:unset;}", "{color:var(", ");}", "{color:var(", ");}}"], InputWrapper, tokens.colorReadOnly, /*#__PURE__*/String(tokens.backgroundColorReadOnly), /*#__PURE__*/String(tokens.borderWidth), /*#__PURE__*/String(tokens.borderColorReadOnly), InputWrapper, tokens.backgroundColorReadOnly, InputPlaceholder, tokens.placeholderColorReadOnly, Input, tokens.colorReadOnly, LeftHelper, tokens.leftHelperColorReadOnly, Label, tokens.labelColorReadOnly);
3
+ import { Input, InputPlaceholder, InputWrapper, Label, LeftHelper, TitleCaption } from '../../TextField.styles';
4
+ export var base = /*#__PURE__*/css(["&[readonly]{", "{color:var(", ");background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}", ":hover{background-color:var(", ");}", "{color:var(", ");}", "{color:var(", ");cursor:default;min-width:unset;}", "{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}}"], InputWrapper, tokens.colorReadOnly, /*#__PURE__*/String(tokens.backgroundColorReadOnly), /*#__PURE__*/String(tokens.borderWidth), /*#__PURE__*/String(tokens.borderColorReadOnly), InputWrapper, tokens.backgroundColorReadOnly, InputPlaceholder, tokens.placeholderColorReadOnly, Input, tokens.colorReadOnly, TitleCaption, tokens.titleCaptionColorReadOnly, LeftHelper, tokens.leftHelperColorReadOnly, Label, tokens.labelColorReadOnly);
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { classes, tokens } from '../../TextField.tokens';
3
- import { Input, InputContainer, InputWrapper, Label, LeftHelper, StyledTextAfter, StyledTextBefore } from '../../TextField.styles';
4
- export var base = /*#__PURE__*/css(["", "{width:100%;font:inherit;letter-spacing:inherit;line-height:inherit;}", "{width:100%;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{height:var(", ");border-radius:var(", ");padding:var(", ");&.", "{padding-top:var(", ");padding-bottom:var(", ");}&.", "{padding-left:var(", ");}&.", "{padding-right:var(", ");}}", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin-top:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", ",", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin:var(", ");}", "{margin:var(", ");}"], Input, InputContainer, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, InputWrapper, tokens.height, tokens.borderRadius, tokens.padding, classes.hasChips, tokens.paddingWithChips, tokens.paddingWithChips, classes.hasEmptyContentLeft, tokens.paddingWithChips, classes.hasEmptyContentRight, tokens.paddingWithChips, Label, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, LeftHelper, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, StyledTextBefore, StyledTextAfter, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, StyledTextBefore, tokens.textBeforeMargin, StyledTextAfter, tokens.textAfterMargin);
3
+ import { Input, InputContainer, InputWrapper, Label, LeftHelper, StyledHintWrapper, StyledTextAfter, StyledTextBefore, TitleCaption } from '../../TextField.styles';
4
+ export var base = /*#__PURE__*/css(["", "{width:100%;font:inherit;letter-spacing:inherit;line-height:inherit;}", "{width:100%;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{height:var(", ");border-radius:var(", ");padding:var(", ");&.", "{padding-top:var(", ");padding-bottom:var(", ");}&.", "{padding-left:var(", ");}&.", "{padding-right:var(", ");}}", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin:var(", ");}", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin-top:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", ",", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin:var(", ");}", "{margin:var(", ");}"], Input, InputContainer, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, InputWrapper, tokens.height, tokens.borderRadius, tokens.padding, classes.hasChips, tokens.paddingWithChips, tokens.paddingWithChips, classes.hasEmptyContentLeft, tokens.paddingWithChips, classes.hasEmptyContentRight, tokens.paddingWithChips, Label, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, StyledHintWrapper, tokens.hintMargin, TitleCaption, tokens.titleCaptionFontFamily, tokens.titleCaptionFontSize, tokens.titleCaptionFontStyle, tokens.titleCaptionFontWeight, tokens.titleCaptionLetterSpacing, tokens.titleCaptionLineHeight, LeftHelper, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight, StyledTextBefore, StyledTextAfter, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, StyledTextBefore, tokens.textBeforeMargin, StyledTextAfter, tokens.textAfterMargin);
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { tokens } from '../../TextField.tokens';
3
- import { Input, InputPlaceholder, InputWrapper, LeftHelper, StyledTextAfter, StyledTextBefore } from '../../TextField.styles';
4
- export var base = /*#__PURE__*/css(["", "{--plasma_private-textfield-border-color:var(", ");--plasma_private-textfield-bg-color:var(", ");color:var(", ");background-color:var(--plasma_private-textfield-bg-color);box-shadow:inset 0 0 0 var(", ") var(--plasma_private-textfield-border-color);caret-color:var(", ");transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;}", ":hover{--plasma_private-textfield-border-color:var(", ",var(", "));--plasma_private-textfield-bg-color:var( ", ",var(", ") );}", ":focus-within{--plasma_private-textfield-border-color:var(", ",var(", "));--plasma_private-textfield-bg-color:var( ", ",var(", ") );}", "{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}"], InputWrapper, /*#__PURE__*/String(tokens.borderColor), /*#__PURE__*/String(tokens.backgroundColor), tokens.color, tokens.borderWidth, tokens.caretColor, InputWrapper, tokens.borderColorHover, /*#__PURE__*/String(tokens.borderColor), tokens.backgroundColorHover, /*#__PURE__*/String(tokens.backgroundColor), InputWrapper, tokens.borderColorFocus, /*#__PURE__*/String(tokens.borderColor), tokens.backgroundColorFocus, /*#__PURE__*/String(tokens.backgroundColor), InputPlaceholder, tokens.placeholderColor, Input, tokens.color, LeftHelper, tokens.leftHelperColor, StyledTextBefore, tokens.textBeforeColor, StyledTextAfter, tokens.textAfterColor);
3
+ import { Input, InputPlaceholder, InputWrapper, LeftHelper, StyledTextAfter, StyledTextBefore, TitleCaption } from '../../TextField.styles';
4
+ export var base = /*#__PURE__*/css(["", "{--plasma_private-textfield-border-color:var(", ");--plasma_private-textfield-bg-color:var(", ");color:var(", ");background-color:var(--plasma_private-textfield-bg-color);box-shadow:inset 0 0 0 var(", ") var(--plasma_private-textfield-border-color);caret-color:var(", ");transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;}", ":hover{--plasma_private-textfield-border-color:var(", ",var(", "));--plasma_private-textfield-bg-color:var( ", ",var(", ") );}", ":focus-within{--plasma_private-textfield-border-color:var(", ",var(", "));--plasma_private-textfield-bg-color:var( ", ",var(", ") );}", "{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}"], InputWrapper, /*#__PURE__*/String(tokens.borderColor), /*#__PURE__*/String(tokens.backgroundColor), tokens.color, tokens.borderWidth, tokens.caretColor, InputWrapper, tokens.borderColorHover, /*#__PURE__*/String(tokens.borderColor), tokens.backgroundColorHover, /*#__PURE__*/String(tokens.backgroundColor), InputWrapper, tokens.borderColorFocus, /*#__PURE__*/String(tokens.borderColor), tokens.backgroundColorFocus, /*#__PURE__*/String(tokens.backgroundColor), InputPlaceholder, tokens.placeholderColor, Input, tokens.color, TitleCaption, tokens.titleCaptionColor, LeftHelper, tokens.leftHelperColor, StyledTextBefore, tokens.textBeforeColor, StyledTextAfter, tokens.textAfterColor);
@@ -0,0 +1,15 @@
1
+ var _path;
2
+ 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); }
3
+ import React from 'react';
4
+ export var InfoCircleOutline = function InfoCircleOutline(props) {
5
+ return /*#__PURE__*/React.createElement("svg", _extends({
6
+ width: "100%",
7
+ viewBox: "0 0 24 24",
8
+ fill: "none"
9
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
10
+ fillRule: "evenodd",
11
+ clipRule: "evenodd",
12
+ d: "M3.5 12C3.5 7.30558 7.30558 3.5 12 3.5C16.6944 3.5 20.5 7.30558 20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.30558 20.5 3.5 16.6944 3.5 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM13 8C13 8.55228 12.5523 9 12 9C11.4477 9 11 8.55228 11 8C11 7.44772 11.4477 7 12 7C12.5523 7 13 7.44772 13 8ZM12 10.25C12.4142 10.25 12.75 10.5858 12.75 11V17C12.75 17.4142 12.4142 17.75 12 17.75C11.5858 17.75 11.25 17.4142 11.25 17V11C11.25 10.5858 11.5858 10.25 12 10.25Z",
13
+ fill: "currentColor"
14
+ })));
15
+ };
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { InfoCircleOutline } from '../Icon.assets/InfoCircleOutline';
3
+ import { IconRoot } from '../IconRoot';
4
+ export var IconInfoCircleOutline = function IconInfoCircleOutline(_ref) {
5
+ var _ref$size = _ref.size,
6
+ size = _ref$size === void 0 ? 's' : _ref$size,
7
+ color = _ref.color,
8
+ className = _ref.className;
9
+ return /*#__PURE__*/React.createElement(IconRoot, {
10
+ className: className,
11
+ size: size,
12
+ color: color,
13
+ icon: InfoCircleOutline
14
+ });
15
+ };
@@ -19,4 +19,5 @@ export { IconBlankDocOutline } from './Icons/IconBlankDocOutline';
19
19
  export { IconBlankOutline } from './Icons/IconBlankOutline';
20
20
  export { IconBlankPdfOutline } from './Icons/IconBlankPdfOutline';
21
21
  export { IconBlankTxtOutline } from './Icons/IconBlankTxtOutline';
22
- export { IconBlankXlsOutline } from './Icons/IconBlankXlsOutline';
22
+ export { IconBlankXlsOutline } from './Icons/IconBlankXlsOutline';
23
+ export { IconInfoCircleOutline } from './Icons/IconInfoCircleOutline';
@@ -7,22 +7,28 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  size: {
10
- xs: /*#__PURE__*/css(["", ":100%;", ":7.312rem;", ":0.625rem;", ":0.5rem;", ":0.5rem 0.5rem 0 0;", ":0.563rem;", ":0.625rem;", ":2.125rem;", ":1.5rem;", ":0.563rem;", ":0.625rem;", ":0.5rem;", ":0.25rem;", ":0.625rem;", ":0.563rem;", ":0.625rem;", ":0rem;", ":0.563rem;", ":0.5rem;", ":1rem;", ":0.375rem;", ":0.25rem;", ":var(--plasma-typo-body-xxs-font-family);", ":var(--plasma-typo-body-xxs-font-size);", ":var(--plasma-typo-body-xxs-font-style);", ":var(--plasma-typo-body-xxs-font-weight);", ":var(--plasma-typo-body-xxs-letter-spacing);", ":var(--plasma-typo-body-xxs-line-height);", ":0rem;", ":0rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.375rem;", ":0 0 0 0;", ":0.25rem auto auto -0.625rem;", ":0 0 auto auto;", ":0.125rem -0.675rem auto auto;", ":0.813rem auto auto -0.625rem;", ":0.813rem -0.625rem auto auto;"], textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderRadius, textAreaTokens.borderRadiusWithHelpers, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingRightWithRightContent, textAreaTokens.clearInputPaddingRightWithRightContent, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.helpersPaddingTop, textAreaTokens.clearHelpersPaddingTop, textAreaTokens.helpersPaddingRight, textAreaTokens.helpersPaddingBottom, textAreaTokens.helpersPaddingLeft, textAreaTokens.helpersOffset, textAreaTokens.rightContentTop, textAreaTokens.rightContentRight, textAreaTokens.rightContentHeight, textAreaTokens.labelMarginBottom, textAreaTokens.clearLabelMarginBottom, textAreaTokens.labelInnerFontFamily, textAreaTokens.labelInnerFontSize, textAreaTokens.labelInnerFontStyle, textAreaTokens.labelInnerFontWeight, textAreaTokens.labelInnerLetterSpacing, textAreaTokens.labelInnerLineHeight, textAreaTokens.labelInnerTop, textAreaTokens.labelInnerMarginBottom, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight, textAreaTokens.helpersFontFamily, textAreaTokens.helpersFontSize, textAreaTokens.helpersFontStyle, textAreaTokens.helpersFontWeight, textAreaTokens.helpersLetterSpacing, textAreaTokens.helpersLineHeight, textAreaTokens.indicatorSizeInner, textAreaTokens.indicatorSizeOuter, textAreaTokens.indicatorLabelPlacementInner, textAreaTokens.indicatorLabelPlacementOuter, textAreaTokens.indicatorLabelPlacementInnerRight, textAreaTokens.indicatorLabelPlacementOuterRight, textAreaTokens.clearIndicatorLabelPlacementInner, textAreaTokens.clearIndicatorLabelPlacementInnerRight),
11
- s: /*#__PURE__*/css(["", ":100%;", ":7.187rem;", ":0.625rem;", ":0.625rem;", ":0.625rem 0.625rem 0 0;", ":0.688rem;", ":0.875rem;", ":3.125rem;", ":2rem;", ":0.75rem;", ":0.875rem;", ":0.75rem;", ":0.25rem;", ":0.875rem;", ":0.75rem;", ":0.875rem;", ":0rem;", ":0.688rem;", ":0.75rem;", ":1.25rem;", ":0.5rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.125rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.375rem;", ":0 0 0 0;", ":0.375rem auto auto -0.675rem;", ":0 0 auto auto;", ":0.25rem -0.625rem auto auto;", ":1.063rem auto auto -0.75rem;", ":1.063rem -0.75rem auto auto;"], textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderRadius, textAreaTokens.borderRadiusWithHelpers, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingRightWithRightContent, textAreaTokens.clearInputPaddingRightWithRightContent, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.helpersPaddingTop, textAreaTokens.clearHelpersPaddingTop, textAreaTokens.helpersPaddingRight, textAreaTokens.helpersPaddingBottom, textAreaTokens.helpersPaddingLeft, textAreaTokens.helpersOffset, textAreaTokens.rightContentTop, textAreaTokens.rightContentRight, textAreaTokens.rightContentHeight, textAreaTokens.labelMarginBottom, textAreaTokens.clearLabelMarginBottom, textAreaTokens.labelInnerFontFamily, textAreaTokens.labelInnerFontSize, textAreaTokens.labelInnerFontStyle, textAreaTokens.labelInnerFontWeight, textAreaTokens.labelInnerLetterSpacing, textAreaTokens.labelInnerLineHeight, textAreaTokens.labelInnerTop, textAreaTokens.labelInnerMarginBottom, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight, textAreaTokens.helpersFontFamily, textAreaTokens.helpersFontSize, textAreaTokens.helpersFontStyle, textAreaTokens.helpersFontWeight, textAreaTokens.helpersLetterSpacing, textAreaTokens.helpersLineHeight, textAreaTokens.indicatorSizeInner, textAreaTokens.indicatorSizeOuter, textAreaTokens.indicatorLabelPlacementInner, textAreaTokens.indicatorLabelPlacementOuter, textAreaTokens.indicatorLabelPlacementInnerRight, textAreaTokens.indicatorLabelPlacementOuterRight, textAreaTokens.clearIndicatorLabelPlacementInner, textAreaTokens.clearIndicatorLabelPlacementInnerRight),
12
- m: /*#__PURE__*/css(["", ":100%;", ":7rem;", ":1.125rem;", ":0.75rem;", ":0.75rem 0.75rem 0 0;", ":0.875rem;", ":1rem;", ":3.375rem;", ":2.125rem;", ":0.75rem;", ":1rem;", ":0.75rem;", ":0.25rem;", ":1rem;", ":0.75rem;", ":1rem;", ":0rem;", ":0.875rem;", ":0.875rem;", ":1.25rem;", ":0.625rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.125rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5rem;", ":0.375rem;", ":0 0 0 0;", ":0.4375rem auto auto -0.675rem;", ":0 0 auto auto;", ":0.1875rem -0.625rem auto auto;", ":1.25rem auto auto -0.875rem;", ":1.25rem -0.875rem auto auto;"], textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderRadius, textAreaTokens.borderRadiusWithHelpers, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingRightWithRightContent, textAreaTokens.clearInputPaddingRightWithRightContent, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.helpersPaddingTop, textAreaTokens.clearHelpersPaddingTop, textAreaTokens.helpersPaddingRight, textAreaTokens.helpersPaddingBottom, textAreaTokens.helpersPaddingLeft, textAreaTokens.helpersOffset, textAreaTokens.rightContentTop, textAreaTokens.rightContentRight, textAreaTokens.rightContentHeight, textAreaTokens.labelMarginBottom, textAreaTokens.clearLabelMarginBottom, textAreaTokens.labelInnerFontFamily, textAreaTokens.labelInnerFontSize, textAreaTokens.labelInnerFontStyle, textAreaTokens.labelInnerFontWeight, textAreaTokens.labelInnerLetterSpacing, textAreaTokens.labelInnerLineHeight, textAreaTokens.labelInnerTop, textAreaTokens.labelInnerMarginBottom, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight, textAreaTokens.helpersFontFamily, textAreaTokens.helpersFontSize, textAreaTokens.helpersFontStyle, textAreaTokens.helpersFontWeight, textAreaTokens.helpersLetterSpacing, textAreaTokens.helpersLineHeight, textAreaTokens.indicatorSizeInner, textAreaTokens.indicatorSizeOuter, textAreaTokens.indicatorLabelPlacementInner, textAreaTokens.indicatorLabelPlacementOuter, textAreaTokens.indicatorLabelPlacementInnerRight, textAreaTokens.indicatorLabelPlacementOuterRight, textAreaTokens.clearIndicatorLabelPlacementInner, textAreaTokens.clearIndicatorLabelPlacementInnerRight),
13
- l: /*#__PURE__*/css(["", ":100%;", ":6.812rem;", ":1.625rem;", ":0.875rem;", ":0.875rem 0.875rem 0 0;", ":1.063rem;", ":1.125rem;", ":3.625rem;", ":2.25rem;", ":0.75rem;", ":1.125rem;", ":0.75rem;", ":0.25rem;", ":1.125rem;", ":0.75rem;", ":1.125rem;", ":0rem;", ":1.063rem;", ":1rem;", ":1.25rem;", ":0.75rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5625rem;", ":0.125rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5rem;", ":0.375rem;", ":0 0 0 0;", ":0.5rem auto auto -0.675rem;", ":0 0 auto auto;", ":0.25rem -0.625rem auto auto;", ":1.5rem auto auto -0.875rem;", ":1.5rem -0.875rem auto auto;"], textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderRadius, textAreaTokens.borderRadiusWithHelpers, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingRightWithRightContent, textAreaTokens.clearInputPaddingRightWithRightContent, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.helpersPaddingTop, textAreaTokens.clearHelpersPaddingTop, textAreaTokens.helpersPaddingRight, textAreaTokens.helpersPaddingBottom, textAreaTokens.helpersPaddingLeft, textAreaTokens.helpersOffset, textAreaTokens.rightContentTop, textAreaTokens.rightContentRight, textAreaTokens.rightContentHeight, textAreaTokens.labelMarginBottom, textAreaTokens.clearLabelMarginBottom, textAreaTokens.labelInnerFontFamily, textAreaTokens.labelInnerFontSize, textAreaTokens.labelInnerFontStyle, textAreaTokens.labelInnerFontWeight, textAreaTokens.labelInnerLetterSpacing, textAreaTokens.labelInnerLineHeight, textAreaTokens.labelInnerTop, textAreaTokens.labelInnerMarginBottom, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight, textAreaTokens.helpersFontFamily, textAreaTokens.helpersFontSize, textAreaTokens.helpersFontStyle, textAreaTokens.helpersFontWeight, textAreaTokens.helpersLetterSpacing, textAreaTokens.helpersLineHeight, textAreaTokens.indicatorSizeInner, textAreaTokens.indicatorSizeOuter, textAreaTokens.indicatorLabelPlacementInner, textAreaTokens.indicatorLabelPlacementOuter, textAreaTokens.indicatorLabelPlacementInnerRight, textAreaTokens.indicatorLabelPlacementOuterRight, textAreaTokens.clearIndicatorLabelPlacementInner, textAreaTokens.clearIndicatorLabelPlacementInnerRight)
10
+ xs: /*#__PURE__*/css(["", ":100%;", ":7.312rem;", ":0.625rem;", ":0.5rem;", ":0.5rem 0.5rem 0 0;", ":0.563rem;", ":0.625rem;", ":2.125rem;", ":0.563rem;", ":0.625rem;", ":0.5rem;", ":0.625rem;", ":0.563rem;", ":0.625rem;", ":0rem;", ":0.563rem;", ":0.5rem;", ":1.25rem;", ":0.375rem;", ":var(--plasma-typo-body-xxs-font-family);", ":var(--plasma-typo-body-xxs-font-size);", ":var(--plasma-typo-body-xxs-font-style);", ":var(--plasma-typo-body-xxs-font-weight);", ":var(--plasma-typo-body-xxs-letter-spacing);", ":var(--plasma-typo-body-xxs-line-height);", ":0rem;", ":0rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.375rem;", ":0 0 0 0;", ":0.25rem auto auto -0.625rem;", ":0 0 auto auto;", ":0.125rem -0.675rem auto auto;", ":0 0.25rem;", ":-1.25rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderRadius, textAreaTokens.borderRadiusWithHelpers, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingRightWithRightContent, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.helpersPaddingTop, textAreaTokens.helpersPaddingRight, textAreaTokens.helpersPaddingBottom, textAreaTokens.helpersPaddingLeft, textAreaTokens.helpersOffset, textAreaTokens.rightContentTop, textAreaTokens.rightContentRight, textAreaTokens.rightContentHeight, textAreaTokens.labelMarginBottom, textAreaTokens.labelInnerFontFamily, textAreaTokens.labelInnerFontSize, textAreaTokens.labelInnerFontStyle, textAreaTokens.labelInnerFontWeight, textAreaTokens.labelInnerLetterSpacing, textAreaTokens.labelInnerLineHeight, textAreaTokens.labelInnerTop, textAreaTokens.labelInnerMarginBottom, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight, textAreaTokens.helpersFontFamily, textAreaTokens.helpersFontSize, textAreaTokens.helpersFontStyle, textAreaTokens.helpersFontWeight, textAreaTokens.helpersLetterSpacing, textAreaTokens.helpersLineHeight, textAreaTokens.indicatorSizeInner, textAreaTokens.indicatorSizeOuter, textAreaTokens.indicatorLabelPlacementInner, textAreaTokens.indicatorLabelPlacementOuter, textAreaTokens.indicatorLabelPlacementInnerRight, textAreaTokens.indicatorLabelPlacementOuterRight, textAreaTokens.hintMargin, textAreaTokens.hintInnerLabelPlacementOffset, textAreaTokens.titleCaptionInnerLabelOffset, textAreaTokens.titleCaptionFontFamily, textAreaTokens.titleCaptionFontSize, textAreaTokens.titleCaptionFontStyle, textAreaTokens.titleCaptionFontWeight, textAreaTokens.titleCaptionLetterSpacing, textAreaTokens.titleCaptionLineHeight),
11
+ s: /*#__PURE__*/css(["", ":100%;", ":7.187rem;", ":0.625rem;", ":0.625rem;", ":0.625rem 0.625rem 0 0;", ":0.688rem;", ":0.875rem;", ":3.125rem;", ":0.75rem;", ":0.875rem;", ":0.75rem;", ":0.875rem;", ":0.75rem;", ":0.875rem;", ":0rem;", ":0.688rem;", ":0.75rem;", ":1.25rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.125rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.375rem;", ":0 0 0 0;", ":0.375rem auto auto -0.675rem;", ":0 0 auto auto;", ":0.25rem -0.625rem auto auto;", ":0 0.25rem;", ":-1.375rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderRadius, textAreaTokens.borderRadiusWithHelpers, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingRightWithRightContent, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.helpersPaddingTop, textAreaTokens.helpersPaddingRight, textAreaTokens.helpersPaddingBottom, textAreaTokens.helpersPaddingLeft, textAreaTokens.helpersOffset, textAreaTokens.rightContentTop, textAreaTokens.rightContentRight, textAreaTokens.rightContentHeight, textAreaTokens.labelMarginBottom, textAreaTokens.labelInnerFontFamily, textAreaTokens.labelInnerFontSize, textAreaTokens.labelInnerFontStyle, textAreaTokens.labelInnerFontWeight, textAreaTokens.labelInnerLetterSpacing, textAreaTokens.labelInnerLineHeight, textAreaTokens.labelInnerTop, textAreaTokens.labelInnerMarginBottom, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight, textAreaTokens.helpersFontFamily, textAreaTokens.helpersFontSize, textAreaTokens.helpersFontStyle, textAreaTokens.helpersFontWeight, textAreaTokens.helpersLetterSpacing, textAreaTokens.helpersLineHeight, textAreaTokens.indicatorSizeInner, textAreaTokens.indicatorSizeOuter, textAreaTokens.indicatorLabelPlacementInner, textAreaTokens.indicatorLabelPlacementOuter, textAreaTokens.indicatorLabelPlacementInnerRight, textAreaTokens.indicatorLabelPlacementOuterRight, textAreaTokens.hintMargin, textAreaTokens.hintInnerLabelPlacementOffset, textAreaTokens.titleCaptionInnerLabelOffset, textAreaTokens.titleCaptionFontFamily, textAreaTokens.titleCaptionFontSize, textAreaTokens.titleCaptionFontStyle, textAreaTokens.titleCaptionFontWeight, textAreaTokens.titleCaptionLetterSpacing, textAreaTokens.titleCaptionLineHeight),
12
+ m: /*#__PURE__*/css(["", ":100%;", ":7rem;", ":1.125rem;", ":0.75rem;", ":0.75rem 0.75rem 0 0;", ":0.875rem;", ":1rem;", ":3.375rem;", ":0.75rem;", ":1rem;", ":0.75rem;", ":1rem;", ":0.75rem;", ":1rem;", ":0rem;", ":0.875rem;", ":0.875rem;", ":1.25rem;", ":0.625rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":0.125rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5rem;", ":0.375rem;", ":0 0 0 0;", ":0.4375rem auto auto -0.675rem;", ":0 0 auto auto;", ":0.1875rem -0.625rem auto auto;", ":0 0.25rem;", ":-1.375rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderRadius, textAreaTokens.borderRadiusWithHelpers, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingRightWithRightContent, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.helpersPaddingTop, textAreaTokens.helpersPaddingRight, textAreaTokens.helpersPaddingBottom, textAreaTokens.helpersPaddingLeft, textAreaTokens.helpersOffset, textAreaTokens.rightContentTop, textAreaTokens.rightContentRight, textAreaTokens.rightContentHeight, textAreaTokens.labelMarginBottom, textAreaTokens.labelInnerFontFamily, textAreaTokens.labelInnerFontSize, textAreaTokens.labelInnerFontStyle, textAreaTokens.labelInnerFontWeight, textAreaTokens.labelInnerLetterSpacing, textAreaTokens.labelInnerLineHeight, textAreaTokens.labelInnerTop, textAreaTokens.labelInnerMarginBottom, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight, textAreaTokens.helpersFontFamily, textAreaTokens.helpersFontSize, textAreaTokens.helpersFontStyle, textAreaTokens.helpersFontWeight, textAreaTokens.helpersLetterSpacing, textAreaTokens.helpersLineHeight, textAreaTokens.indicatorSizeInner, textAreaTokens.indicatorSizeOuter, textAreaTokens.indicatorLabelPlacementInner, textAreaTokens.indicatorLabelPlacementOuter, textAreaTokens.indicatorLabelPlacementInnerRight, textAreaTokens.indicatorLabelPlacementOuterRight, textAreaTokens.hintMargin, textAreaTokens.hintInnerLabelPlacementOffset, textAreaTokens.titleCaptionInnerLabelOffset, textAreaTokens.titleCaptionFontFamily, textAreaTokens.titleCaptionFontSize, textAreaTokens.titleCaptionFontStyle, textAreaTokens.titleCaptionFontWeight, textAreaTokens.titleCaptionLetterSpacing, textAreaTokens.titleCaptionLineHeight),
13
+ l: /*#__PURE__*/css(["", ":100%;", ":6.812rem;", ":1.625rem;", ":0.875rem;", ":0.875rem 0.875rem 0 0;", ":1.063rem;", ":1.125rem;", ":3.625rem;", ":0.75rem;", ":1.125rem;", ":0.75rem;", ":1.125rem;", ":0.75rem;", ":1.125rem;", ":0rem;", ":1.063rem;", ":1rem;", ":1.25rem;", ":0.75rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5625rem;", ":0.125rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5rem;", ":0.375rem;", ":0 0 0 0;", ":0.5rem auto auto -0.675rem;", ":0 0 auto auto;", ":0.25rem -0.625rem auto auto;", ":0 0.25rem;", ":-1.375rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], textAreaTokens.inputWidth, textAreaTokens.inputHeight, textAreaTokens.inputMinHeight, textAreaTokens.borderRadius, textAreaTokens.borderRadiusWithHelpers, textAreaTokens.inputPaddingTop, textAreaTokens.inputPaddingRight, textAreaTokens.inputPaddingRightWithRightContent, textAreaTokens.inputPaddingBottom, textAreaTokens.inputPaddingLeft, textAreaTokens.helpersPaddingTop, textAreaTokens.helpersPaddingRight, textAreaTokens.helpersPaddingBottom, textAreaTokens.helpersPaddingLeft, textAreaTokens.helpersOffset, textAreaTokens.rightContentTop, textAreaTokens.rightContentRight, textAreaTokens.rightContentHeight, textAreaTokens.labelMarginBottom, textAreaTokens.labelInnerFontFamily, textAreaTokens.labelInnerFontSize, textAreaTokens.labelInnerFontStyle, textAreaTokens.labelInnerFontWeight, textAreaTokens.labelInnerLetterSpacing, textAreaTokens.labelInnerLineHeight, textAreaTokens.labelInnerTop, textAreaTokens.labelInnerMarginBottom, textAreaTokens.inputFontFamily, textAreaTokens.inputFontSize, textAreaTokens.inputFontStyle, textAreaTokens.inputFontWeight, textAreaTokens.inputLetterSpacing, textAreaTokens.inputLineHeight, textAreaTokens.helpersFontFamily, textAreaTokens.helpersFontSize, textAreaTokens.helpersFontStyle, textAreaTokens.helpersFontWeight, textAreaTokens.helpersLetterSpacing, textAreaTokens.helpersLineHeight, textAreaTokens.indicatorSizeInner, textAreaTokens.indicatorSizeOuter, textAreaTokens.indicatorLabelPlacementInner, textAreaTokens.indicatorLabelPlacementOuter, textAreaTokens.indicatorLabelPlacementInnerRight, textAreaTokens.indicatorLabelPlacementOuterRight, textAreaTokens.hintMargin, textAreaTokens.hintInnerLabelPlacementOffset, textAreaTokens.titleCaptionInnerLabelOffset, textAreaTokens.titleCaptionFontFamily, textAreaTokens.titleCaptionFontSize, textAreaTokens.titleCaptionFontStyle, textAreaTokens.titleCaptionFontWeight, textAreaTokens.titleCaptionLetterSpacing, textAreaTokens.titleCaptionLineHeight)
14
14
  },
15
15
  view: {
16
- "default": /*#__PURE__*/css(["", ":var(--surface-transparent-primary);", ":var(--surface-transparent-primary-hover);", ":var(--surface-transparent-primary-active);", ":var(--surface-transparent-secondary);", ":var(--surface-transparent-primary);", ":var(--surface-transparent-primary-hover);", ":var(--surface-transparent-primary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--surface-negative);", ":var(--text-tertiary);", ":var(--surface-transparent-tertiary);", ":var(--text-secondary);", ":var(--surface-accent);"], textAreaTokens.inputBackgroundColor, textAreaTokens.inputBackgroundColorHover, textAreaTokens.inputBackgroundColorActive, textAreaTokens.inputBackgroundColorFocus, textAreaTokens.helpersBackgroundColor, textAreaTokens.helpersBackgroundColorHover, textAreaTokens.helpersBackgroundColorActive, textAreaTokens.helpersBackgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.clearInputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.clearPlaceholderColor, textAreaTokens.clearPlaceholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.dividerColor, textAreaTokens.dividerColorHover, textAreaTokens.dividerColorFocus),
17
- positive: /*#__PURE__*/css(["", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-hover);", ":var(--surface-transparent-positive-active);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-hover);", ":var(--surface-transparent-positive-active);", ":var(--surface-transparent-positive);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-positive);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-positive);", ":var(--text-positive);", ":var(--text-secondary);", ":var(--surface-negative);", ":var(--text-tertiary);", ":var(--surface-positive);", ":var(--surface-positive);", ":var(--surface-accent);"], textAreaTokens.inputBackgroundColor, textAreaTokens.inputBackgroundColorHover, textAreaTokens.inputBackgroundColorActive, textAreaTokens.inputBackgroundColorFocus, textAreaTokens.helpersBackgroundColor, textAreaTokens.helpersBackgroundColorHover, textAreaTokens.helpersBackgroundColorActive, textAreaTokens.helpersBackgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.clearInputColor, textAreaTokens.clearPlaceholderColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.clearPlaceholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.dividerColor, textAreaTokens.dividerColorHover, textAreaTokens.dividerColorFocus),
18
- warning: /*#__PURE__*/css(["", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning-hover);", ":var(--surface-transparent-warning-active);", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning-hover);", ":var(--surface-transparent-warning-active);", ":var(--surface-transparent-warning);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-warning);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-warning);", ":var(--text-warning);", ":var(--text-secondary);", ":var(--surface-negative);", ":var(--text-tertiary);", ":var(--surface-warning);", ":var(--surface-warning);", ":var(--surface-accent);"], textAreaTokens.inputBackgroundColor, textAreaTokens.inputBackgroundColorHover, textAreaTokens.inputBackgroundColorActive, textAreaTokens.inputBackgroundColorFocus, textAreaTokens.helpersBackgroundColor, textAreaTokens.helpersBackgroundColorHover, textAreaTokens.helpersBackgroundColorActive, textAreaTokens.helpersBackgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.clearInputColor, textAreaTokens.clearPlaceholderColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.clearPlaceholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.dividerColor, textAreaTokens.dividerColorHover, textAreaTokens.dividerColorFocus),
19
- negative: /*#__PURE__*/css(["", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-hover);", ":var(--surface-transparent-negative-active);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-hover);", ":var(--surface-transparent-negative-active);", ":var(--surface-transparent-negative);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-negative);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-negative);", ":var(--text-negative);", ":var(--text-secondary);", ":var(--surface-negative);", ":var(--text-tertiary);", ":var(--surface-negative);", ":var(--surface-negative);", ":var(--surface-accent);"], textAreaTokens.inputBackgroundColor, textAreaTokens.inputBackgroundColorHover, textAreaTokens.inputBackgroundColorActive, textAreaTokens.inputBackgroundColorFocus, textAreaTokens.helpersBackgroundColor, textAreaTokens.helpersBackgroundColorHover, textAreaTokens.helpersBackgroundColorActive, textAreaTokens.helpersBackgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.clearInputColor, textAreaTokens.clearPlaceholderColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.clearPlaceholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.dividerColor, textAreaTokens.dividerColorHover, textAreaTokens.dividerColorFocus)
16
+ "default": /*#__PURE__*/css(["", ":var(--surface-transparent-primary);", ":var(--surface-transparent-primary-hover);", ":var(--surface-transparent-primary-active);", ":var(--surface-transparent-secondary);", ":var(--surface-transparent-primary);", ":var(--surface-transparent-primary-hover);", ":var(--surface-transparent-primary-active);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--surface-negative);", ":var(--text-tertiary);", ":var(--text-secondary);", ":var(--text-secondary);"], textAreaTokens.inputBackgroundColor, textAreaTokens.inputBackgroundColorHover, textAreaTokens.inputBackgroundColorActive, textAreaTokens.inputBackgroundColorFocus, textAreaTokens.helpersBackgroundColor, textAreaTokens.helpersBackgroundColorHover, textAreaTokens.helpersBackgroundColorActive, textAreaTokens.helpersBackgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.titleCaptionColor, textAreaTokens.hintIconColor),
17
+ positive: /*#__PURE__*/css(["", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-hover);", ":var(--surface-transparent-positive-active);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-hover);", ":var(--surface-transparent-positive-active);", ":var(--surface-transparent-positive);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-positive);", ":var(--text-secondary);", ":var(--surface-negative);", ":var(--text-tertiary);", ":var(--text-secondary);", ":var(--text-secondary);"], textAreaTokens.inputBackgroundColor, textAreaTokens.inputBackgroundColorHover, textAreaTokens.inputBackgroundColorActive, textAreaTokens.inputBackgroundColorFocus, textAreaTokens.helpersBackgroundColor, textAreaTokens.helpersBackgroundColorHover, textAreaTokens.helpersBackgroundColorActive, textAreaTokens.helpersBackgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.titleCaptionColor, textAreaTokens.hintIconColor),
18
+ warning: /*#__PURE__*/css(["", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning-hover);", ":var(--surface-transparent-warning-active);", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning-hover);", ":var(--surface-transparent-warning-active);", ":var(--surface-transparent-warning);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-warning);", ":var(--text-secondary);", ":var(--surface-negative);", ":var(--text-tertiary);", ":var(--text-secondary);", ":var(--text-secondary);"], textAreaTokens.inputBackgroundColor, textAreaTokens.inputBackgroundColorHover, textAreaTokens.inputBackgroundColorActive, textAreaTokens.inputBackgroundColorFocus, textAreaTokens.helpersBackgroundColor, textAreaTokens.helpersBackgroundColorHover, textAreaTokens.helpersBackgroundColorActive, textAreaTokens.helpersBackgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.titleCaptionColor, textAreaTokens.hintIconColor),
19
+ negative: /*#__PURE__*/css(["", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-hover);", ":var(--surface-transparent-negative-active);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-hover);", ":var(--surface-transparent-negative-active);", ":var(--surface-transparent-negative);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-negative);", ":var(--text-secondary);", ":var(--surface-negative);", ":var(--text-tertiary);", ":var(--text-secondary);", ":var(--text-secondary);"], textAreaTokens.inputBackgroundColor, textAreaTokens.inputBackgroundColorHover, textAreaTokens.inputBackgroundColorActive, textAreaTokens.inputBackgroundColorFocus, textAreaTokens.helpersBackgroundColor, textAreaTokens.helpersBackgroundColorHover, textAreaTokens.helpersBackgroundColorActive, textAreaTokens.helpersBackgroundColorFocus, textAreaTokens.inputColor, textAreaTokens.inputColorFocus, textAreaTokens.inputCaretColor, textAreaTokens.placeholderColor, textAreaTokens.placeholderColorFocus, textAreaTokens.leftHelperColor, textAreaTokens.rightHelperColor, textAreaTokens.indicatorColor, textAreaTokens.optionalColor, textAreaTokens.titleCaptionColor, textAreaTokens.hintIconColor)
20
20
  },
21
- clear: {
22
- "true": /*#__PURE__*/css([""])
21
+ hintView: {
22
+ "default": /*#__PURE__*/css(["", ":var(--surface-solid-card);", ":var(--shadow-down-hard-m);", ":var(--text-primary);"], textAreaTokens.tooltipBackgroundColor, textAreaTokens.tooltipBoxShadow, textAreaTokens.tooltipColor),
23
+ onDark: /*#__PURE__*/css(["", ":var(--on-dark-surface-solid-card);", ":var(--shadow-down-hard-m);", ":var(--on-dark-text-primary);"], textAreaTokens.tooltipBackgroundColor, textAreaTokens.tooltipBoxShadow, textAreaTokens.tooltipColor),
24
+ onLight: /*#__PURE__*/css(["", ":var(--on-light-surface-solid-card);", ":var(--shadow-down-hard-m);", ":var(--on-light-text-primary);"], textAreaTokens.tooltipBackgroundColor, textAreaTokens.tooltipBoxShadow, textAreaTokens.tooltipColor)
25
+ },
26
+ hintSize: {
27
+ m: /*#__PURE__*/css(["", ":0.6875rem;", ":0.875rem;", ":0.6875rem;", ":0.875rem;", ":2.5rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.375rem;", ":1.25rem;", ":1.25rem;", ":url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMC4xNywxMS44M2wyMCwwYy01LjUyLDAgLTEwLDMuNTkgLTEwLDhjMCwtNC40MSAtNC40OCwtOCAtMTAsLTh6IiBmaWxsPSIjMTcxNzE3IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGlkPSJUYWlsIi8+Cjwvc3ZnPg==\");", ":0.5rem;", ":0.625rem;", ":var(--surface-solid-card);"], textAreaTokens.tooltipPaddingTop, textAreaTokens.tooltipPaddingRight, textAreaTokens.tooltipPaddingBottom, textAreaTokens.tooltipPaddingLeft, textAreaTokens.tooltipMinHeight, textAreaTokens.tooltipBorderRadius, textAreaTokens.tooltipTextFontFamily, textAreaTokens.tooltipTextFontSize, textAreaTokens.tooltipTextFontStyle, textAreaTokens.tooltipTextFontWeight, textAreaTokens.tooltipTextFontLetterSpacing, textAreaTokens.tooltipTextFontLineHeight, textAreaTokens.tooltipContentLeftMargin, textAreaTokens.tooltipArrowMaskWidth, textAreaTokens.tooltipArrowMaskHeight, textAreaTokens.tooltipArrowMaskImage, textAreaTokens.tooltipArrowHeight, textAreaTokens.tooltipArrowEdgeMargin, textAreaTokens.tooltipArrowBackground),
28
+ s: /*#__PURE__*/css(["", ":0.5rem;", ":0.75rem;", ":0.5rem;", ":0.75rem;", ":2rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem;", ":1rem;", ":1rem;", ":url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+\");", ":0.375rem;", ":0.5625rem;", ":var(--surface-solid-card);"], textAreaTokens.tooltipPaddingTop, textAreaTokens.tooltipPaddingRight, textAreaTokens.tooltipPaddingBottom, textAreaTokens.tooltipPaddingLeft, textAreaTokens.tooltipMinHeight, textAreaTokens.tooltipBorderRadius, textAreaTokens.tooltipTextFontFamily, textAreaTokens.tooltipTextFontSize, textAreaTokens.tooltipTextFontStyle, textAreaTokens.tooltipTextFontWeight, textAreaTokens.tooltipTextFontLetterSpacing, textAreaTokens.tooltipTextFontLineHeight, textAreaTokens.tooltipContentLeftMargin, textAreaTokens.tooltipArrowMaskWidth, textAreaTokens.tooltipArrowMaskHeight, textAreaTokens.tooltipArrowMaskImage, textAreaTokens.tooltipArrowHeight, textAreaTokens.tooltipArrowEdgeMargin, textAreaTokens.tooltipArrowBackground)
23
29
  },
24
30
  disabled: {
25
- "true": /*#__PURE__*/css(["", ":0.4;", ":var(--text-secondary);", ":var(--surface-transparent-primary);"], textAreaTokens.disabledOpacity, textAreaTokens.inputColorDisabled, textAreaTokens.dividerColorReadOnly)
31
+ "true": /*#__PURE__*/css(["", ":0.4;", ":var(--text-secondary);", ":var(--text-secondary);"], textAreaTokens.disabledOpacity, textAreaTokens.inputColorDisabled, textAreaTokens.titleCaptionColorReadOnly)
26
32
  }
27
33
  }
28
34
  };
@@ -2,16 +2,40 @@ import React, { useState } from 'react';
2
2
  import type { ComponentProps } from 'react';
3
3
  import type { Meta, StoryObj } from '@storybook/react';
4
4
  import { action } from '@storybook/addon-actions';
5
- import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
5
+ import { tertiary } from '@salutejs/plasma-core';
6
+ import styled from 'styled-components';
6
7
 
7
8
  import { textAreaConfig } from '../../../../components/TextArea';
8
9
  import { mergeConfig } from '../../../../engines';
9
10
  import { WithTheme, argTypesFromConfig } from '../../../_helpers';
11
+ import type { PopoverPlacement } from '../Popover/Popover';
10
12
 
11
13
  import { config } from './TextArea.config';
12
14
  import { TextArea } from './TextArea';
13
15
 
14
16
  const labelPlacements = ['inner', 'outer'];
17
+ const hintViews = ['default', 'onDark', 'onLight'];
18
+ const hintSizes = ['m', 's'];
19
+ const hintTriggers = ['hover', 'click'];
20
+ const placements: Array<PopoverPlacement> = [
21
+ 'top',
22
+ 'top-start',
23
+ 'top-end',
24
+
25
+ 'bottom',
26
+ 'bottom-start',
27
+ 'bottom-end',
28
+
29
+ 'left',
30
+ 'left-start',
31
+ 'left-end',
32
+
33
+ 'right',
34
+ 'right-start',
35
+ 'right-end',
36
+
37
+ 'auto',
38
+ ];
15
39
 
16
40
  type StoryTextAreaPropsCustom = {
17
41
  enableContentRight?: boolean;
@@ -47,13 +71,11 @@ const meta: Meta<StoryTextAreaProps> = {
47
71
  control: {
48
72
  type: 'number',
49
73
  },
50
- if: { arg: 'clear', truthy: false },
51
74
  },
52
75
  cols: {
53
76
  control: {
54
77
  type: 'number',
55
78
  },
56
- if: { arg: 'clear', truthy: false },
57
79
  },
58
80
  labelPlacement: {
59
81
  options: labelPlacements,
@@ -61,21 +83,50 @@ const meta: Meta<StoryTextAreaProps> = {
61
83
  type: 'select',
62
84
  },
63
85
  },
64
- hasDivider: {
86
+ hintView: {
87
+ options: hintViews,
65
88
  control: {
66
- type: 'boolean',
89
+ type: 'select',
67
90
  },
68
- if: { arg: 'clear', truthy: true },
91
+ if: { arg: 'hasHint', truthy: true },
92
+ },
93
+ hintSize: {
94
+ options: hintSizes,
95
+ control: {
96
+ type: 'select',
97
+ },
98
+ if: { arg: 'hasHint', truthy: true },
99
+ },
100
+ hintTrigger: {
101
+ options: hintTriggers,
102
+ control: {
103
+ type: 'inline-radio',
104
+ },
105
+ if: { arg: 'hasHint', truthy: true },
106
+ },
107
+ hintText: {
108
+ control: { type: 'text' },
109
+ if: { arg: 'hasHint', truthy: true },
110
+ },
111
+ hintPlacement: {
112
+ options: placements,
113
+ control: {
114
+ type: 'select',
115
+ },
116
+ if: { arg: 'hasHint', truthy: true },
117
+ mappers: placements,
118
+ },
119
+ hintHasArrow: {
120
+ control: { type: 'boolean' },
121
+ if: { arg: 'hasHint', truthy: true },
69
122
  },
70
123
  },
71
124
  args: {
72
125
  id: 'example-textarea',
73
- view: 'default',
74
- size: 's',
75
126
  enableContentRight: true,
76
- label: 'Лейбл',
77
- labelPlacement: 'outer',
127
+ label: 'Подсказка',
78
128
  placeholder: 'Заполните многострочное поле',
129
+ titleCaption: 'Подпись к полю',
79
130
  leftHelper: 'Подсказка к полю слева',
80
131
  rightHelper: 'Подсказка к полю справа',
81
132
  disabled: false,
@@ -86,8 +137,13 @@ const meta: Meta<StoryTextAreaProps> = {
86
137
  optional: false,
87
138
  required: false,
88
139
  requiredPlacement: 'right',
89
- clear: false,
90
- hasDivider: false,
140
+ hasHint: false,
141
+ hintTrigger: 'hover',
142
+ hintText: 'Текст подсказки',
143
+ hintView: 'default',
144
+ hintSize: 'm',
145
+ hintPlacement: 'auto',
146
+ hintHasArrow: true,
91
147
  },
92
148
  };
93
149
 
@@ -97,21 +153,27 @@ const onChange = action('onChange');
97
153
  const onFocus = action('onFocus');
98
154
  const onBlur = action('onBlur');
99
155
 
156
+ const IconPlaceholder = styled.div`
157
+ width: 1.5rem;
158
+ height: 1.5rem;
159
+ border-radius: 50%;
160
+ background: ${tertiary};
161
+ `;
162
+
100
163
  const StoryDefault = (props: StoryTextAreaProps) => {
101
164
  const [value, setValue] = useState('Значение поля');
102
165
 
103
- const iconSize = props.size === 'xs' ? 'xs' : 's';
104
-
105
166
  return (
106
167
  <TextArea
107
168
  value={value}
108
- contentRight={props.enableContentRight ? <IconPlaceholder size={iconSize} /> : undefined}
169
+ contentRight={props.enableContentRight ? <IconPlaceholder /> : undefined}
109
170
  onChange={(e) => {
110
171
  setValue(e.target.value);
111
172
  onChange(e);
112
173
  }}
113
174
  onFocus={onFocus}
114
175
  onBlur={onBlur}
176
+ style={{ width: '70%', margin: '0 auto' }}
115
177
  {...props}
116
178
  />
117
179
  );