@salutejs/plasma-new-hope 0.82.1-canary.1209.9162541836.0 → 0.83.0-canary.1194.9157747369.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (308) hide show
  1. package/cjs/components/Combobox/hooks/useFocusController.js +1 -0
  2. package/cjs/components/Combobox/hooks/useFocusController.js.map +1 -1
  3. package/cjs/components/Slider/Slider.css +69 -0
  4. package/cjs/components/Slider/Slider.js +48 -0
  5. package/cjs/components/Slider/Slider.js.map +1 -0
  6. package/cjs/components/Slider/Slider.tokens.js +79 -0
  7. package/cjs/components/Slider/Slider.tokens.js.map +1 -0
  8. package/cjs/components/Slider/components/Double/Double.css +62 -0
  9. package/cjs/components/Slider/components/Double/Double.js +288 -0
  10. package/cjs/components/Slider/components/Double/Double.js.map +1 -0
  11. package/cjs/components/Slider/components/Double/Double.styles.js +61 -0
  12. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -0
  13. package/cjs/components/Slider/components/Double/Double.styles_1jhda4u.css +7 -0
  14. package/cjs/components/Slider/components/Single/Single.css +16 -0
  15. package/cjs/components/Slider/components/Single/Single.js +164 -0
  16. package/cjs/components/Slider/components/Single/Single.js.map +1 -0
  17. package/cjs/components/Slider/components/Single/Single.styles.js +45 -0
  18. package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -0
  19. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  20. package/cjs/components/Slider/components/SliderBase/SliderBase.css +4 -0
  21. package/cjs/components/Slider/components/SliderBase/SliderBase.js +82 -0
  22. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -0
  23. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +33 -0
  24. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -0
  25. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_7is2ll.css +4 -0
  26. package/cjs/components/Slider/ui/Handler/Handler.css +4 -0
  27. package/cjs/components/Slider/ui/Handler/Handler.js +174 -0
  28. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -0
  29. package/cjs/components/Slider/ui/Handler/Handler.styles.js +21 -0
  30. package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -0
  31. package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
  32. package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -0
  33. package/cjs/components/Slider/ui/Thumb/Thumb.js +31 -0
  34. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -0
  35. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +15 -0
  36. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -0
  37. package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +1 -0
  38. package/cjs/components/Slider/utils/index.js +56 -0
  39. package/cjs/components/Slider/utils/index.js.map +1 -0
  40. package/cjs/components/Slider/variations/_disabled/base.js +9 -0
  41. package/cjs/components/Slider/variations/_disabled/base.js.map +1 -0
  42. package/cjs/components/Slider/variations/_disabled/base_x642ct.css +1 -0
  43. package/cjs/components/Slider/variations/_size/base.js +9 -0
  44. package/cjs/components/Slider/variations/_size/base.js.map +1 -0
  45. package/cjs/components/Slider/variations/_size/base_x642ct.css +1 -0
  46. package/cjs/components/Slider/variations/_view/base.js +9 -0
  47. package/cjs/components/Slider/variations/_view/base.js.map +1 -0
  48. package/cjs/components/Slider/variations/_view/base_x642ct.css +1 -0
  49. package/cjs/components/TextArea/TextArea.js +5 -7
  50. package/cjs/components/TextArea/TextArea.js.map +1 -1
  51. package/cjs/components/TextArea/TextArea.tokens.js +0 -4
  52. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  53. package/cjs/components/TextArea/TextArea_qicm5y.css +1 -0
  54. package/cjs/components/TextField/TextField.js +12 -3
  55. package/cjs/components/TextField/TextField.js.map +1 -1
  56. package/cjs/engines/common.js +4 -0
  57. package/cjs/engines/common.js.map +1 -1
  58. package/cjs/engines/index.js.map +1 -1
  59. package/cjs/hooks/useIsomorphicLayoutEffect.js +15 -0
  60. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  61. package/cjs/index.css +26 -1
  62. package/cjs/index.js +14 -0
  63. package/cjs/index.js.map +1 -1
  64. package/cjs/utils/canUseDOM.js +12 -0
  65. package/cjs/utils/canUseDOM.js.map +1 -0
  66. package/cjs/utils/index.js.map +1 -1
  67. package/es/components/Combobox/hooks/useFocusController.js +1 -0
  68. package/es/components/Combobox/hooks/useFocusController.js.map +1 -1
  69. package/es/components/Slider/Slider.css +69 -0
  70. package/es/components/Slider/Slider.js +43 -0
  71. package/es/components/Slider/Slider.js.map +1 -0
  72. package/es/components/Slider/Slider.tokens.js +74 -0
  73. package/es/components/Slider/Slider.tokens.js.map +1 -0
  74. package/es/components/Slider/components/Double/Double.css +62 -0
  75. package/es/components/Slider/components/Double/Double.js +284 -0
  76. package/es/components/Slider/components/Double/Double.js.map +1 -0
  77. package/es/components/Slider/components/Double/Double.styles.js +51 -0
  78. package/es/components/Slider/components/Double/Double.styles.js.map +1 -0
  79. package/es/components/Slider/components/Double/Double.styles_1jhda4u.css +7 -0
  80. package/es/components/Slider/components/Single/Single.css +16 -0
  81. package/es/components/Slider/components/Single/Single.js +160 -0
  82. package/es/components/Slider/components/Single/Single.js.map +1 -0
  83. package/es/components/Slider/components/Single/Single.styles.js +36 -0
  84. package/es/components/Slider/components/Single/Single.styles.js.map +1 -0
  85. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  86. package/es/components/Slider/components/SliderBase/SliderBase.css +4 -0
  87. package/es/components/Slider/components/SliderBase/SliderBase.js +78 -0
  88. package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -0
  89. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +26 -0
  90. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -0
  91. package/es/components/Slider/components/SliderBase/SliderBase.styles_7is2ll.css +4 -0
  92. package/es/components/Slider/ui/Handler/Handler.css +4 -0
  93. package/es/components/Slider/ui/Handler/Handler.js +170 -0
  94. package/es/components/Slider/ui/Handler/Handler.js.map +1 -0
  95. package/es/components/Slider/ui/Handler/Handler.styles.js +16 -0
  96. package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -0
  97. package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
  98. package/es/components/Slider/ui/Thumb/Thumb.css +1 -0
  99. package/es/components/Slider/ui/Thumb/Thumb.js +27 -0
  100. package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -0
  101. package/es/components/Slider/ui/Thumb/Thumb.styles.js +11 -0
  102. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -0
  103. package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +1 -0
  104. package/es/components/Slider/utils/index.js +50 -0
  105. package/es/components/Slider/utils/index.js.map +1 -0
  106. package/es/components/Slider/variations/_disabled/base.js +5 -0
  107. package/es/components/Slider/variations/_disabled/base.js.map +1 -0
  108. package/es/components/Slider/variations/_disabled/base_x642ct.css +1 -0
  109. package/es/components/Slider/variations/_size/base.js +5 -0
  110. package/es/components/Slider/variations/_size/base.js.map +1 -0
  111. package/es/components/Slider/variations/_size/base_x642ct.css +1 -0
  112. package/es/components/Slider/variations/_view/base.js +5 -0
  113. package/es/components/Slider/variations/_view/base.js.map +1 -0
  114. package/es/components/Slider/variations/_view/base_x642ct.css +1 -0
  115. package/es/components/TextArea/TextArea.js +5 -7
  116. package/es/components/TextArea/TextArea.js.map +1 -1
  117. package/es/components/TextArea/TextArea.tokens.js +0 -4
  118. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  119. package/es/components/TextArea/TextArea_qicm5y.css +1 -0
  120. package/es/components/TextField/TextField.js +12 -3
  121. package/es/components/TextField/TextField.js.map +1 -1
  122. package/es/engines/common.js +4 -0
  123. package/es/engines/common.js.map +1 -1
  124. package/es/engines/index.js.map +1 -1
  125. package/es/hooks/useIsomorphicLayoutEffect.js +11 -0
  126. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  127. package/es/index.css +26 -1
  128. package/es/index.js +8 -0
  129. package/es/index.js.map +1 -1
  130. package/es/utils/canUseDOM.js +8 -0
  131. package/es/utils/canUseDOM.js.map +1 -0
  132. package/es/utils/index.js.map +1 -1
  133. package/package.json +3 -2
  134. package/styled-components/cjs/components/Slider/Slider.js +47 -0
  135. package/styled-components/cjs/components/Slider/Slider.tokens.js +77 -0
  136. package/styled-components/cjs/components/Slider/Slider.types.js +5 -0
  137. package/styled-components/cjs/components/Slider/components/Double/Double.js +300 -0
  138. package/styled-components/cjs/components/Slider/components/Double/Double.styles.js +36 -0
  139. package/styled-components/cjs/components/Slider/components/Double/Double.types.js +5 -0
  140. package/styled-components/cjs/components/Slider/components/Single/Single.js +176 -0
  141. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +27 -0
  142. package/styled-components/cjs/components/Slider/components/Single/Single.types.js +5 -0
  143. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +83 -0
  144. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +21 -0
  145. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.types.js +5 -0
  146. package/styled-components/cjs/components/Slider/components/index.js +27 -0
  147. package/styled-components/cjs/components/Slider/index.js +32 -0
  148. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +183 -0
  149. package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +15 -0
  150. package/styled-components/cjs/components/Slider/ui/Handler/Handler.types.js +5 -0
  151. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +32 -0
  152. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +18 -0
  153. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.types.js +5 -0
  154. package/styled-components/cjs/components/Slider/ui/index.js +63 -0
  155. package/styled-components/cjs/components/Slider/utils/index.js +55 -0
  156. package/styled-components/cjs/components/Slider/variations/_disabled/base.js +8 -0
  157. package/styled-components/cjs/components/Slider/variations/_disabled/tokens.json +4 -0
  158. package/styled-components/cjs/components/Slider/variations/_size/base.js +8 -0
  159. package/styled-components/cjs/components/Slider/variations/_size/tokens.json +0 -0
  160. package/styled-components/cjs/components/Slider/variations/_view/base.js +8 -0
  161. package/styled-components/cjs/components/Slider/variations/_view/tokens.json +0 -0
  162. package/styled-components/cjs/components/TextArea/TextArea.js +4 -6
  163. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +0 -4
  164. package/styled-components/cjs/components/TextArea/mixins/applyDynamicLabel.js +1 -1
  165. package/styled-components/cjs/components/TextField/TextField.js +12 -3
  166. package/styled-components/cjs/engines/common.js +4 -0
  167. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +29 -0
  168. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.js +16 -0
  169. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +164 -0
  170. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +4 -4
  171. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +29 -0
  172. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.js +16 -0
  173. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +163 -0
  174. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +4 -4
  175. package/styled-components/cjs/hooks/index.js +8 -1
  176. package/styled-components/cjs/hooks/useIsomorphicLayoutEffect.js +12 -0
  177. package/styled-components/cjs/index.js +11 -0
  178. package/styled-components/cjs/utils/canUseDOM.js +11 -0
  179. package/styled-components/cjs/utils/index.js +7 -0
  180. package/styled-components/es/components/Slider/Slider.js +38 -0
  181. package/styled-components/es/components/Slider/Slider.tokens.js +71 -0
  182. package/styled-components/es/components/Slider/Slider.types.js +1 -0
  183. package/styled-components/es/components/Slider/components/Double/Double.js +292 -0
  184. package/styled-components/es/components/Slider/components/Double/Double.styles.js +29 -0
  185. package/styled-components/es/components/Slider/components/Double/Double.types.js +1 -0
  186. package/styled-components/es/components/Slider/components/Single/Single.js +168 -0
  187. package/styled-components/es/components/Slider/components/Single/Single.styles.js +20 -0
  188. package/styled-components/es/components/Slider/components/Single/Single.types.js +1 -0
  189. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +74 -0
  190. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +14 -0
  191. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.types.js +1 -0
  192. package/styled-components/es/components/Slider/components/index.js +3 -0
  193. package/styled-components/es/components/Slider/index.js +3 -0
  194. package/styled-components/es/components/Slider/ui/Handler/Handler.js +174 -0
  195. package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +8 -0
  196. package/styled-components/es/components/Slider/ui/Handler/Handler.types.js +1 -0
  197. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +25 -0
  198. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +11 -0
  199. package/styled-components/es/components/Slider/ui/Thumb/Thumb.types.js +1 -0
  200. package/styled-components/es/components/Slider/ui/index.js +5 -0
  201. package/styled-components/es/components/Slider/utils/index.js +47 -0
  202. package/styled-components/es/components/Slider/variations/_disabled/base.js +2 -0
  203. package/styled-components/es/components/Slider/variations/_disabled/tokens.json +4 -0
  204. package/styled-components/es/components/Slider/variations/_size/base.js +2 -0
  205. package/styled-components/es/components/Slider/variations/_size/tokens.json +0 -0
  206. package/styled-components/es/components/Slider/variations/_view/base.js +2 -0
  207. package/styled-components/es/components/Slider/variations/_view/tokens.json +0 -0
  208. package/styled-components/es/components/TextArea/TextArea.js +4 -6
  209. package/styled-components/es/components/TextArea/TextArea.tokens.js +0 -4
  210. package/styled-components/es/components/TextArea/mixins/applyDynamicLabel.js +1 -1
  211. package/styled-components/es/components/TextField/TextField.js +12 -3
  212. package/styled-components/es/engines/common.js +4 -0
  213. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +23 -0
  214. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.js +10 -0
  215. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +164 -0
  216. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +4 -4
  217. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +23 -0
  218. package/styled-components/es/examples/plasma_web/components/Slider/Slider.js +10 -0
  219. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +163 -0
  220. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +4 -4
  221. package/styled-components/es/hooks/index.js +2 -1
  222. package/styled-components/es/hooks/useIsomorphicLayoutEffect.js +7 -0
  223. package/styled-components/es/index.js +2 -1
  224. package/styled-components/es/utils/canUseDOM.js +5 -0
  225. package/styled-components/es/utils/index.js +1 -0
  226. package/types/components/Slider/Slider.d.ts +27 -0
  227. package/types/components/Slider/Slider.d.ts.map +1 -0
  228. package/types/components/Slider/Slider.tokens.d.ts +72 -0
  229. package/types/components/Slider/Slider.tokens.d.ts.map +1 -0
  230. package/types/components/Slider/Slider.types.d.ts +3 -0
  231. package/types/components/Slider/Slider.types.d.ts.map +1 -0
  232. package/types/components/Slider/components/Double/Double.d.ts +4 -0
  233. package/types/components/Slider/components/Double/Double.d.ts.map +1 -0
  234. package/types/components/Slider/components/Double/Double.styles.d.ts +43 -0
  235. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -0
  236. package/types/components/Slider/components/Double/Double.types.d.ts +65 -0
  237. package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -0
  238. package/types/components/Slider/components/Single/Single.d.ts +4 -0
  239. package/types/components/Slider/components/Single/Single.d.ts.map +1 -0
  240. package/types/components/Slider/components/Single/Single.styles.d.ts +8 -0
  241. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -0
  242. package/types/components/Slider/components/Single/Single.types.d.ts +55 -0
  243. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -0
  244. package/types/components/Slider/components/SliderBase/SliderBase.d.ts +4 -0
  245. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -0
  246. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +6 -0
  247. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -0
  248. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +45 -0
  249. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -0
  250. package/types/components/Slider/components/index.d.ts +6 -0
  251. package/types/components/Slider/components/index.d.ts.map +1 -0
  252. package/types/components/Slider/index.d.ts +6 -0
  253. package/types/components/Slider/index.d.ts.map +1 -0
  254. package/types/components/Slider/ui/Handler/Handler.d.ts +9 -0
  255. package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -0
  256. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +4 -0
  257. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -0
  258. package/types/components/Slider/ui/Handler/Handler.types.d.ts +24 -0
  259. package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -0
  260. package/types/components/Slider/ui/Thumb/Thumb.d.ts +4 -0
  261. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -0
  262. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts +5 -0
  263. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -0
  264. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +12 -0
  265. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -0
  266. package/types/components/Slider/ui/index.d.ts +6 -0
  267. package/types/components/Slider/ui/index.d.ts.map +1 -0
  268. package/types/components/Slider/utils/index.d.ts +33 -0
  269. package/types/components/Slider/utils/index.d.ts.map +1 -0
  270. package/types/components/Slider/variations/_disabled/base.d.ts +2 -0
  271. package/types/components/Slider/variations/_disabled/base.d.ts.map +1 -0
  272. package/types/components/Slider/variations/_size/base.d.ts +2 -0
  273. package/types/components/Slider/variations/_size/base.d.ts.map +1 -0
  274. package/types/components/Slider/variations/_view/base.d.ts +2 -0
  275. package/types/components/Slider/variations/_view/base.d.ts.map +1 -0
  276. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  277. package/types/components/TextArea/TextArea.tokens.d.ts +0 -4
  278. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  279. package/types/components/TextArea/mixins/applyDynamicLabel.d.ts.map +1 -1
  280. package/types/components/TextField/TextField.d.ts.map +1 -1
  281. package/types/engines/common.d.ts +3 -3
  282. package/types/engines/common.d.ts.map +1 -1
  283. package/types/engines/index.d.ts +1 -1
  284. package/types/engines/index.d.ts.map +1 -1
  285. package/types/engines/types.d.ts +4 -0
  286. package/types/engines/types.d.ts.map +1 -1
  287. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts +22 -0
  288. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -0
  289. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +21 -0
  290. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -0
  291. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
  292. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts +22 -0
  293. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -0
  294. package/types/examples/plasma_web/components/Slider/Slider.d.ts +21 -0
  295. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -0
  296. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
  297. package/types/hooks/index.d.ts +1 -0
  298. package/types/hooks/index.d.ts.map +1 -1
  299. package/types/hooks/useIsomorphicLayoutEffect.d.ts +6 -0
  300. package/types/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -0
  301. package/types/index.d.ts +1 -0
  302. package/types/index.d.ts.map +1 -1
  303. package/types/utils/canUseDOM.d.ts +6 -0
  304. package/types/utils/canUseDOM.d.ts.map +1 -0
  305. package/types/utils/index.d.ts +1 -0
  306. package/types/utils/index.d.ts.map +1 -1
  307. package/cjs/components/TextArea/TextArea_ob9y3r.css +0 -1
  308. package/es/components/TextArea/TextArea_ob9y3r.css +0 -1
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import type { ComponentConfig, HTMLAnyAttributes, HTMLTagList, PropsType, Variants } from './types';
2
+ import type { ComponentConfig, HTMLAnyAttributes, HTMLTagList, PropsType, Variants, HTMLAttributesOmitOnChange } from './types';
3
3
  export declare const getStaticVariants: (config: ComponentConfig) => string[];
4
4
  export declare const getDynamicVariants: (config: ComponentConfig) => (props: HTMLAnyAttributes) => any[];
5
- export declare const mergeConfig: <Tag extends HTMLTagList, VariantList extends Variants, VariantsProps extends PropsType<VariantList>, LayoutPropsBase extends React.HTMLAttributes<HTMLElement>, LayoutPropsUser extends React.HTMLAttributes<HTMLElement> | undefined = undefined>(baseConfig: ComponentConfig<Tag, Variants, PropsType<Variants> & LayoutPropsBase, LayoutPropsBase>, userConfig?: Partial<ComponentConfig<Tag, VariantList, VariantsProps, LayoutPropsUser>> | undefined) => ComponentConfig<Tag, VariantList, PropsType<VariantList>, LayoutPropsUser extends undefined ? LayoutPropsBase : LayoutPropsUser>;
6
- export declare function component<Tag extends HTMLTagList, VariantList extends Variants, VariantsProps extends PropsType<VariantList>, LayoutProps extends React.HTMLAttributes<HTMLElement>>(config: ComponentConfig<Tag, VariantList, VariantsProps, LayoutProps>): React.FunctionComponent<VariantsProps & LayoutProps>;
5
+ export declare const mergeConfig: <Tag extends HTMLTagList, VariantList extends Variants, VariantsProps extends PropsType<VariantList>, LayoutPropsBase extends React.HTMLAttributes<HTMLElement> | HTMLAttributesOmitOnChange, LayoutPropsUser extends React.HTMLAttributes<HTMLElement> | HTMLAttributesOmitOnChange | undefined = undefined>(baseConfig: ComponentConfig<Tag, Variants, PropsType<Variants> & LayoutPropsBase, LayoutPropsBase>, userConfig?: Partial<ComponentConfig<Tag, VariantList, VariantsProps, LayoutPropsUser>> | undefined) => ComponentConfig<Tag, VariantList, PropsType<VariantList>, LayoutPropsUser extends undefined ? LayoutPropsBase : LayoutPropsUser>;
6
+ export declare function component<Tag extends HTMLTagList, VariantList extends Variants, VariantsProps extends PropsType<VariantList>, LayoutProps extends React.HTMLAttributes<HTMLElement> | HTMLAttributesOmitOnChange>(config: ComponentConfig<Tag, VariantList, VariantsProps, LayoutProps>): React.FunctionComponent<VariantsProps & LayoutProps>;
7
7
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/engines/common.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEpG,eAAO,MAAM,iBAAiB,WAAY,eAAe,aAcxD,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,eAAe,aACvC,iBAAiB,UAgBnC,CAAC;AAEF,eAAO,MAAM,WAAW,kkBA2CvB,CAAC;AAEF,wBAAgB,SAAS,CACrB,GAAG,SAAS,WAAW,EACvB,WAAW,SAAS,QAAQ,EAC5B,aAAa,SAAS,SAAS,CAAC,WAAW,CAAC,EAC5C,WAAW,SAAS,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAErD,MAAM,EAAE,eAAe,CAAC,GAAG,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC,GACtE,KAAK,CAAC,iBAAiB,CAAC,aAAa,GAAG,WAAW,CAAC,CAMtD"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/engines/common.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EACR,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,SAAS,EACT,QAAQ,EACR,0BAA0B,EAC7B,MAAM,SAAS,CAAC;AAMjB,eAAO,MAAM,iBAAiB,WAAY,eAAe,aAcxD,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,eAAe,aACvC,iBAAiB,UAgBnC,CAAC;AAEF,eAAO,MAAM,WAAW,4nBA2CvB,CAAC;AAEF,wBAAgB,SAAS,CACrB,GAAG,SAAS,WAAW,EACvB,WAAW,SAAS,QAAQ,EAC5B,aAAa,SAAS,SAAS,CAAC,WAAW,CAAC,EAC5C,WAAW,SAAS,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,0BAA0B,EAElF,MAAM,EAAE,eAAe,CAAC,GAAG,EAAE,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC,GACtE,KAAK,CAAC,iBAAiB,CAAC,aAAa,GAAG,WAAW,CAAC,CAMtD"}
@@ -1,5 +1,5 @@
1
1
  import type { CSS } from './types';
2
2
  export declare const css: CSS;
3
3
  export { mergeConfig, component } from './common';
4
- export type { Variant, ComponentConfig, RootProps, CSS } from './types';
4
+ export type { Variant, ComponentConfig, RootProps, CSS, RootPropsOmitOnChange } from './types';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/engines/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,GAAG,KAAoB,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAElD,YAAY,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/engines/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,GAAG,KAAoB,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAElD,YAAY,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC"}
@@ -7,6 +7,10 @@ export declare type CSS = (strings: TemplateStringsArray, ...exprs: Array<string
7
7
  export declare type RootProps<RefElement extends HTMLElement, Element extends React.HTMLAttributes<HTMLElement>> = React.FunctionComponent<{
8
8
  children?: React.ReactNode;
9
9
  } & Element & React.RefAttributes<RefElement>>;
10
+ export declare type HTMLAttributesOmitOnChange = Omit<React.HTMLAttributes<HTMLElement>, 'onChange'>;
11
+ export declare type RootPropsOmitOnChange<RefElement extends HTMLElement, Element extends HTMLAttributesOmitOnChange> = React.FunctionComponent<{
12
+ children?: React.ReactNode;
13
+ } & React.RefAttributes<RefElement> & Element>;
10
14
  export declare type Variant = {
11
15
  css?: PolymorphicClassName;
12
16
  attrs?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/engines/types.ts"],"names":[],"mappings":";AAAA,oBAAY,oBAAoB,GAAG,MAAM,CAAC;AAE1C,oBAAY,aAAa,GAAG;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC;CAClD,CAAC;AAEF,oBAAY,GAAG,GAAG,CACd,OAAO,EAAE,oBAAoB,EAC7B,GAAG,KAAK,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC,KAC/C,oBAAoB,CAAC;AAE1B,oBAAY,SAAS,CACjB,UAAU,SAAS,WAAW,EAC9B,OAAO,SAAS,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,IACjD,KAAK,CAAC,iBAAiB,CAAC;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,GAAG,OAAO,GAAG,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;AAExG,oBAAY,OAAO,GAAG;IAClB,GAAG,CAAC,EAAE,oBAAoB,CAAC;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,oBAAoB,CAA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C;CAC7C"}
@@ -0,0 +1,22 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ view: {
8
+ default: import("@linaria/core").LinariaClassName;
9
+ accent: import("@linaria/core").LinariaClassName;
10
+ gradient: import("@linaria/core").LinariaClassName;
11
+ };
12
+ size: {
13
+ l: import("@linaria/core").LinariaClassName;
14
+ m: import("@linaria/core").LinariaClassName;
15
+ s: import("@linaria/core").LinariaClassName;
16
+ };
17
+ disabled: {
18
+ true: import("@linaria/core").LinariaClassName;
19
+ };
20
+ };
21
+ };
22
+ //# sourceMappingURL=Slider.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Slider/Slider.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;CA8OlB,CAAC"}
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ export declare const Slider: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
+ view: {
4
+ default: import("@linaria/core").LinariaClassName;
5
+ accent: import("@linaria/core").LinariaClassName;
6
+ gradient: import("@linaria/core").LinariaClassName;
7
+ };
8
+ size: {
9
+ l: import("@linaria/core").LinariaClassName;
10
+ m: import("@linaria/core").LinariaClassName;
11
+ s: import("@linaria/core").LinariaClassName;
12
+ };
13
+ disabled: {
14
+ true: import("@linaria/core").LinariaClassName;
15
+ };
16
+ }> & ((import("../../../../components/Slider").SingleSliderProps & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider").DoubleSliderProps & import("react").RefAttributes<HTMLDivElement>))>;
17
+ /**
18
+ * Слайдер позволяет определить числовое значение в пределах указанного промежутка.
19
+ * Можно указать два значения.
20
+ */
21
+ //# sourceMappingURL=Slider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Slider/Slider.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;iOAA0B,CAAC;AAE9C;;;GAGG"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextArea/TextArea.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAyPlB,CAAC"}
1
+ {"version":3,"file":"TextArea.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextArea/TextArea.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAiPlB,CAAC"}
@@ -0,0 +1,22 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ view: {
8
+ default: import("@linaria/core").LinariaClassName;
9
+ accent: import("@linaria/core").LinariaClassName;
10
+ gradient: import("@linaria/core").LinariaClassName;
11
+ };
12
+ size: {
13
+ l: import("@linaria/core").LinariaClassName;
14
+ m: import("@linaria/core").LinariaClassName;
15
+ s: import("@linaria/core").LinariaClassName;
16
+ };
17
+ disabled: {
18
+ true: import("@linaria/core").LinariaClassName;
19
+ };
20
+ };
21
+ };
22
+ //# sourceMappingURL=Slider.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Slider/Slider.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;CA8OlB,CAAC"}
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ export declare const Slider: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
+ view: {
4
+ default: import("@linaria/core").LinariaClassName;
5
+ accent: import("@linaria/core").LinariaClassName;
6
+ gradient: import("@linaria/core").LinariaClassName;
7
+ };
8
+ size: {
9
+ l: import("@linaria/core").LinariaClassName;
10
+ m: import("@linaria/core").LinariaClassName;
11
+ s: import("@linaria/core").LinariaClassName;
12
+ };
13
+ disabled: {
14
+ true: import("@linaria/core").LinariaClassName;
15
+ };
16
+ }> & ((import("../../../../components/Slider").SingleSliderProps & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider").DoubleSliderProps & import("react").RefAttributes<HTMLDivElement>))>;
17
+ /**
18
+ * Слайдер позволяет определить числовое значение в пределах указанного промежутка.
19
+ * Можно указать два значения.
20
+ */
21
+ //# sourceMappingURL=Slider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Slider/Slider.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;iOAA0B,CAAC;AAE9C;;;GAGG"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CA6OlB,CAAC"}
1
+ {"version":3,"file":"TextArea.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextArea/TextArea.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAqOlB,CAAC"}
@@ -2,4 +2,5 @@ export { useUniqId } from './useUniqId';
2
2
  export { usePreviousValue } from './usePreviousValue';
3
3
  export { useForceUpdate } from './useForceUpdate';
4
4
  export { useDidMountEffect } from './useDidMountEffect';
5
+ export { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { useEffect } from 'react';
2
+ /**
3
+ * Runs effect safely on server.
4
+ */
5
+ export declare const useIsomorphicLayoutEffect: typeof useEffect;
6
+ //# sourceMappingURL=useIsomorphicLayoutEffect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIsomorphicLayoutEffect.d.ts","sourceRoot":"","sources":["../../src/hooks/useIsomorphicLayoutEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,SAAS,EAAE,MAAM,OAAO,CAAC;AAInD;;GAEG;AACH,eAAO,MAAM,yBAAyB,kBAA0C,CAAC"}
package/types/index.d.ts CHANGED
@@ -44,4 +44,5 @@ export * from './components/Progress';
44
44
  export * from './components/Select';
45
45
  export * from './components/Divider';
46
46
  export * from './components/Toolbar';
47
+ export * from './components/Slider';
47
48
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,q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* https://github.com/facebook/react/blob/master/packages/shared/ExecutionEnvironment.js
4
+ */
5
+ export declare const canUseDOM: boolean;
6
+ //# sourceMappingURL=canUseDOM.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"canUseDOM.d.ts","sourceRoot":"","sources":["../../src/utils/canUseDOM.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,SAAS,SAIrB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { CSSProperties } from '@linaria/core';
2
+ export { canUseDOM } from './canUseDOM';
2
3
  export { extractTextFrom } from './extractTextFrom';
3
4
  export { getSizeValueFromProp } from './getSizeValueFromProp';
4
5
  export { IS_REACT_18, safeUseId } from './react';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,EAAE,eAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,WAAuD,CAAC;AAE7G,eAAO,MAAM,eAAe,MAAO,oBAAoB,WAAW,MAAM,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC,KAAG,MAQ1G,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,eAAO,MAAM,EAAE,eAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,WAAuD,CAAC;AAE7G,eAAO,MAAM,eAAe,MAAO,oBAAoB,WAAW,MAAM,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC,KAAG,MAQ1G,CAAC"}
@@ -1 +0,0 @@
1
- .b6rykm0{position:relative;box-sizing:border-box;}.b6rykm0 .inner-placeholder-up .textarea{height:calc(var(--plasma_private-textarea-input-actual-height) - var(--plasma-textarea-label-inner-top));}.b6rykm0 .inner-placeholder-up .textarea-wrapper{padding-top:calc(calc(var(--plasma-textarea-label-inner-top) + var(--plasma-textarea-label-inner-font-size)) + var(--plasma-textarea-label-inner-margin-bottom));}.b6rykm0 .inner-placeholder-up .textarea-placeholder{font-family:var(--plasma-textarea-label-inner-font-family);font-size:var(--plasma-textarea-label-inner-font-size);font-style:var(--plasma-textarea-label-inner-font-style);font-weight:var(--plasma-textarea-label-inner-font-weight);-webkit-letter-spacing:var(--plasma-textarea-label-inner-letter-spacing);-moz-letter-spacing:var(--plasma-textarea-label-inner-letter-spacing);-ms-letter-spacing:var(--plasma-textarea-label-inner-letter-spacing);letter-spacing:var(--plasma-textarea-label-inner-letter-spacing);line-height:var(--plasma-textarea-label-inner-line-height);top:var(--plasma-textarea-label-inner-top);}.b6rykm0 .hide-placeholder .textarea-placeholder{display:none;}.b6rykm0 .focused-outer-placeholder-color .textarea-placeholder{color:var(--plasma-textarea-placeholder-color-focus);}
@@ -1 +0,0 @@
1
- .b6rykm0{position:relative;box-sizing:border-box;}.b6rykm0 .inner-placeholder-up .textarea{height:calc(var(--plasma_private-textarea-input-actual-height) - var(--plasma-textarea-label-inner-top));}.b6rykm0 .inner-placeholder-up .textarea-wrapper{padding-top:calc(calc(var(--plasma-textarea-label-inner-top) + var(--plasma-textarea-label-inner-font-size)) + var(--plasma-textarea-label-inner-margin-bottom));}.b6rykm0 .inner-placeholder-up .textarea-placeholder{font-family:var(--plasma-textarea-label-inner-font-family);font-size:var(--plasma-textarea-label-inner-font-size);font-style:var(--plasma-textarea-label-inner-font-style);font-weight:var(--plasma-textarea-label-inner-font-weight);-webkit-letter-spacing:var(--plasma-textarea-label-inner-letter-spacing);-moz-letter-spacing:var(--plasma-textarea-label-inner-letter-spacing);-ms-letter-spacing:var(--plasma-textarea-label-inner-letter-spacing);letter-spacing:var(--plasma-textarea-label-inner-letter-spacing);line-height:var(--plasma-textarea-label-inner-line-height);top:var(--plasma-textarea-label-inner-top);}.b6rykm0 .hide-placeholder .textarea-placeholder{display:none;}.b6rykm0 .focused-outer-placeholder-color .textarea-placeholder{color:var(--plasma-textarea-placeholder-color-focus);}