@salutejs/plasma-new-hope 0.186.0-canary.1511.11719682564.0 → 0.186.0-canary.1534.11720486647.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (305) hide show
  1. package/cjs/index.css +0 -23
  2. package/cjs/index.js +0 -6
  3. package/cjs/index.js.map +1 -1
  4. package/emotion/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +23 -0
  5. package/emotion/cjs/components/_Icon/Icons/IconArrowBarDown.js +22 -0
  6. package/emotion/cjs/components/_Icon/index.js +8 -1
  7. package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +215 -0
  8. package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
  9. package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +80 -0
  10. package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
  11. package/emotion/cjs/index.js +0 -11
  12. package/emotion/es/components/_Icon/Icon.assets/ArrowBarDown.js +16 -0
  13. package/emotion/es/components/_Icon/Icons/IconArrowBarDown.js +15 -0
  14. package/emotion/es/components/_Icon/index.js +2 -1
  15. package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +207 -0
  16. package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
  17. package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +73 -0
  18. package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
  19. package/emotion/es/index.js +1 -2
  20. package/es/index.css +0 -23
  21. package/es/index.js +0 -2
  22. package/es/index.js.map +1 -1
  23. package/package.json +2 -2
  24. package/styled-components/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +23 -0
  25. package/styled-components/cjs/components/_Icon/Icons/IconArrowBarDown.js +22 -0
  26. package/styled-components/cjs/components/_Icon/index.js +8 -1
  27. package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +215 -0
  28. package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
  29. package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +33 -0
  30. package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
  31. package/styled-components/cjs/index.js +0 -11
  32. package/styled-components/es/components/_Icon/Icon.assets/ArrowBarDown.js +16 -0
  33. package/styled-components/es/components/_Icon/Icons/IconArrowBarDown.js +15 -0
  34. package/styled-components/es/components/_Icon/index.js +2 -1
  35. package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +207 -0
  36. package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +58 -0
  37. package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.styles.js +26 -0
  38. package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.template-docs.mdx +136 -0
  39. package/styled-components/es/index.js +1 -2
  40. package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts +4 -0
  41. package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts.map +1 -0
  42. package/types/components/_Icon/Icons/IconArrowBarDown.d.ts +4 -0
  43. package/types/components/_Icon/Icons/IconArrowBarDown.d.ts.map +1 -0
  44. package/types/components/_Icon/index.d.ts +1 -0
  45. package/types/components/_Icon/index.d.ts.map +1 -1
  46. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts +20 -0
  47. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts.map +1 -0
  48. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.styles.d.ts +15 -0
  49. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.styles.d.ts.map +1 -0
  50. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.types.d.ts +72 -0
  51. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.types.d.ts.map +1 -0
  52. package/types/index.d.ts +0 -1
  53. package/types/index.d.ts.map +1 -1
  54. package/cjs/components/NumberInput/NumberInput.css +0 -52
  55. package/cjs/components/NumberInput/NumberInput.js +0 -207
  56. package/cjs/components/NumberInput/NumberInput.js.map +0 -1
  57. package/cjs/components/NumberInput/NumberInput.styles.js +0 -9
  58. package/cjs/components/NumberInput/NumberInput.styles.js.map +0 -1
  59. package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +0 -1
  60. package/cjs/components/NumberInput/NumberInput.tokens.js +0 -102
  61. package/cjs/components/NumberInput/NumberInput.tokens.js.map +0 -1
  62. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -19
  63. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +0 -1
  64. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -22
  65. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +0 -1
  66. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +0 -1
  67. package/cjs/components/NumberInput/ui/Input/Input.css +0 -15
  68. package/cjs/components/NumberInput/ui/Input/Input.js +0 -205
  69. package/cjs/components/NumberInput/ui/Input/Input.js.map +0 -1
  70. package/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -96
  71. package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +0 -1
  72. package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +0 -8
  73. package/cjs/components/NumberInput/utils/index.js +0 -12
  74. package/cjs/components/NumberInput/utils/index.js.map +0 -1
  75. package/cjs/components/NumberInput/variations/_background-type/base.js +0 -9
  76. package/cjs/components/NumberInput/variations/_background-type/base.js.map +0 -1
  77. package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +0 -1
  78. package/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
  79. package/cjs/components/NumberInput/variations/_disabled/base.js.map +0 -1
  80. package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +0 -1
  81. package/cjs/components/NumberInput/variations/_segmentation/base.js +0 -9
  82. package/cjs/components/NumberInput/variations/_segmentation/base.js.map +0 -1
  83. package/cjs/components/NumberInput/variations/_segmentation/base_14s5rot.css +0 -1
  84. package/cjs/components/NumberInput/variations/_shape/base.js +0 -9
  85. package/cjs/components/NumberInput/variations/_shape/base.js.map +0 -1
  86. package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +0 -1
  87. package/cjs/components/NumberInput/variations/_size/base.js +0 -9
  88. package/cjs/components/NumberInput/variations/_size/base.js.map +0 -1
  89. package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +0 -1
  90. package/cjs/components/NumberInput/variations/_view/base.js +0 -9
  91. package/cjs/components/NumberInput/variations/_view/base.js.map +0 -1
  92. package/cjs/components/NumberInput/variations/_view/base_tnfbb5.css +0 -1
  93. package/emotion/cjs/components/NumberInput/NumberInput.js +0 -216
  94. package/emotion/cjs/components/NumberInput/NumberInput.styles.js +0 -17
  95. package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +0 -214
  96. package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +0 -99
  97. package/emotion/cjs/components/NumberInput/index.js +0 -31
  98. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -18
  99. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -16
  100. package/emotion/cjs/components/NumberInput/ui/Input/Input.js +0 -213
  101. package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -81
  102. package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +0 -5
  103. package/emotion/cjs/components/NumberInput/ui/index.js +0 -19
  104. package/emotion/cjs/components/NumberInput/utils/index.js +0 -9
  105. package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +0 -10
  106. package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +0 -6
  107. package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
  108. package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +0 -4
  109. package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +0 -12
  110. package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  111. package/emotion/cjs/components/NumberInput/variations/_shape/base.js +0 -11
  112. package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +0 -1
  113. package/emotion/cjs/components/NumberInput/variations/_size/base.js +0 -13
  114. package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +0 -22
  115. package/emotion/cjs/components/NumberInput/variations/_view/base.js +0 -13
  116. package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +0 -14
  117. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -46
  118. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -11
  119. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  120. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -46
  121. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +0 -11
  122. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  123. package/emotion/es/components/NumberInput/NumberInput.js +0 -208
  124. package/emotion/es/components/NumberInput/NumberInput.styles.js +0 -11
  125. package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +0 -214
  126. package/emotion/es/components/NumberInput/NumberInput.tokens.js +0 -93
  127. package/emotion/es/components/NumberInput/index.js +0 -2
  128. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -11
  129. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -9
  130. package/emotion/es/components/NumberInput/ui/Input/Input.js +0 -204
  131. package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +0 -74
  132. package/emotion/es/components/NumberInput/ui/Input/Input.types.js +0 -1
  133. package/emotion/es/components/NumberInput/ui/index.js +0 -2
  134. package/emotion/es/components/NumberInput/utils/index.js +0 -3
  135. package/emotion/es/components/NumberInput/variations/_background-type/base.js +0 -4
  136. package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +0 -6
  137. package/emotion/es/components/NumberInput/variations/_disabled/base.js +0 -3
  138. package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +0 -4
  139. package/emotion/es/components/NumberInput/variations/_segmentation/base.js +0 -6
  140. package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  141. package/emotion/es/components/NumberInput/variations/_shape/base.js +0 -5
  142. package/emotion/es/components/NumberInput/variations/_shape/tokens.json +0 -1
  143. package/emotion/es/components/NumberInput/variations/_size/base.js +0 -7
  144. package/emotion/es/components/NumberInput/variations/_size/tokens.json +0 -22
  145. package/emotion/es/components/NumberInput/variations/_view/base.js +0 -7
  146. package/emotion/es/components/NumberInput/variations/_view/tokens.json +0 -14
  147. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -40
  148. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -5
  149. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  150. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -40
  151. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +0 -5
  152. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  153. package/es/components/NumberInput/NumberInput.css +0 -52
  154. package/es/components/NumberInput/NumberInput.js +0 -202
  155. package/es/components/NumberInput/NumberInput.js.map +0 -1
  156. package/es/components/NumberInput/NumberInput.styles.js +0 -5
  157. package/es/components/NumberInput/NumberInput.styles.js.map +0 -1
  158. package/es/components/NumberInput/NumberInput.styles_jeawjl.css +0 -1
  159. package/es/components/NumberInput/NumberInput.tokens.js +0 -96
  160. package/es/components/NumberInput/NumberInput.tokens.js.map +0 -1
  161. package/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -15
  162. package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +0 -1
  163. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -18
  164. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +0 -1
  165. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +0 -1
  166. package/es/components/NumberInput/ui/Input/Input.css +0 -15
  167. package/es/components/NumberInput/ui/Input/Input.js +0 -201
  168. package/es/components/NumberInput/ui/Input/Input.js.map +0 -1
  169. package/es/components/NumberInput/ui/Input/Input.styles.js +0 -85
  170. package/es/components/NumberInput/ui/Input/Input.styles.js.map +0 -1
  171. package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +0 -8
  172. package/es/components/NumberInput/utils/index.js +0 -6
  173. package/es/components/NumberInput/utils/index.js.map +0 -1
  174. package/es/components/NumberInput/variations/_background-type/base.js +0 -5
  175. package/es/components/NumberInput/variations/_background-type/base.js.map +0 -1
  176. package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +0 -1
  177. package/es/components/NumberInput/variations/_disabled/base.js +0 -5
  178. package/es/components/NumberInput/variations/_disabled/base.js.map +0 -1
  179. package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +0 -1
  180. package/es/components/NumberInput/variations/_segmentation/base.js +0 -5
  181. package/es/components/NumberInput/variations/_segmentation/base.js.map +0 -1
  182. package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +0 -1
  183. package/es/components/NumberInput/variations/_shape/base.js +0 -5
  184. package/es/components/NumberInput/variations/_shape/base.js.map +0 -1
  185. package/es/components/NumberInput/variations/_shape/base_k05biw.css +0 -1
  186. package/es/components/NumberInput/variations/_size/base.js +0 -5
  187. package/es/components/NumberInput/variations/_size/base.js.map +0 -1
  188. package/es/components/NumberInput/variations/_size/base_yqdmk4.css +0 -1
  189. package/es/components/NumberInput/variations/_view/base.js +0 -5
  190. package/es/components/NumberInput/variations/_view/base.js.map +0 -1
  191. package/es/components/NumberInput/variations/_view/base_tnfbb5.css +0 -1
  192. package/styled-components/cjs/components/NumberInput/NumberInput.js +0 -216
  193. package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +0 -8
  194. package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +0 -214
  195. package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +0 -99
  196. package/styled-components/cjs/components/NumberInput/NumberInput.types.js +0 -5
  197. package/styled-components/cjs/components/NumberInput/index.js +0 -31
  198. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -18
  199. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -15
  200. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -5
  201. package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +0 -213
  202. package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -48
  203. package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +0 -5
  204. package/styled-components/cjs/components/NumberInput/ui/index.js +0 -19
  205. package/styled-components/cjs/components/NumberInput/utils/index.js +0 -9
  206. package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +0 -10
  207. package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +0 -6
  208. package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
  209. package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +0 -4
  210. package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +0 -12
  211. package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  212. package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +0 -11
  213. package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +0 -1
  214. package/styled-components/cjs/components/NumberInput/variations/_size/base.js +0 -13
  215. package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +0 -22
  216. package/styled-components/cjs/components/NumberInput/variations/_view/base.js +0 -13
  217. package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +0 -14
  218. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -46
  219. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -11
  220. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  221. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -46
  222. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +0 -11
  223. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  224. package/styled-components/es/components/NumberInput/NumberInput.js +0 -208
  225. package/styled-components/es/components/NumberInput/NumberInput.styles.js +0 -2
  226. package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +0 -214
  227. package/styled-components/es/components/NumberInput/NumberInput.tokens.js +0 -93
  228. package/styled-components/es/components/NumberInput/NumberInput.types.js +0 -1
  229. package/styled-components/es/components/NumberInput/index.js +0 -2
  230. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -11
  231. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -8
  232. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -1
  233. package/styled-components/es/components/NumberInput/ui/Input/Input.js +0 -204
  234. package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +0 -41
  235. package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +0 -1
  236. package/styled-components/es/components/NumberInput/ui/index.js +0 -2
  237. package/styled-components/es/components/NumberInput/utils/index.js +0 -3
  238. package/styled-components/es/components/NumberInput/variations/_background-type/base.js +0 -4
  239. package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +0 -6
  240. package/styled-components/es/components/NumberInput/variations/_disabled/base.js +0 -3
  241. package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +0 -4
  242. package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +0 -6
  243. package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  244. package/styled-components/es/components/NumberInput/variations/_shape/base.js +0 -5
  245. package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +0 -1
  246. package/styled-components/es/components/NumberInput/variations/_size/base.js +0 -7
  247. package/styled-components/es/components/NumberInput/variations/_size/tokens.json +0 -22
  248. package/styled-components/es/components/NumberInput/variations/_view/base.js +0 -7
  249. package/styled-components/es/components/NumberInput/variations/_view/tokens.json +0 -14
  250. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -40
  251. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -5
  252. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  253. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -40
  254. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +0 -5
  255. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  256. package/types/components/NumberInput/NumberInput.d.ts +0 -38
  257. package/types/components/NumberInput/NumberInput.d.ts.map +0 -1
  258. package/types/components/NumberInput/NumberInput.styles.d.ts +0 -2
  259. package/types/components/NumberInput/NumberInput.styles.d.ts.map +0 -1
  260. package/types/components/NumberInput/NumberInput.tokens.d.ts +0 -88
  261. package/types/components/NumberInput/NumberInput.tokens.d.ts.map +0 -1
  262. package/types/components/NumberInput/NumberInput.types.d.ts +0 -112
  263. package/types/components/NumberInput/NumberInput.types.d.ts.map +0 -1
  264. package/types/components/NumberInput/index.d.ts +0 -3
  265. package/types/components/NumberInput/index.d.ts.map +0 -1
  266. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +0 -4
  267. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +0 -1
  268. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +0 -45
  269. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +0 -1
  270. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +0 -7
  271. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +0 -1
  272. package/types/components/NumberInput/ui/Input/Input.d.ts +0 -19
  273. package/types/components/NumberInput/ui/Input/Input.d.ts.map +0 -1
  274. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +0 -30
  275. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +0 -1
  276. package/types/components/NumberInput/ui/Input/Input.types.d.ts +0 -19
  277. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +0 -1
  278. package/types/components/NumberInput/ui/index.d.ts +0 -3
  279. package/types/components/NumberInput/ui/index.d.ts.map +0 -1
  280. package/types/components/NumberInput/utils/index.d.ts +0 -4
  281. package/types/components/NumberInput/utils/index.d.ts.map +0 -1
  282. package/types/components/NumberInput/variations/_background-type/base.d.ts +0 -2
  283. package/types/components/NumberInput/variations/_background-type/base.d.ts.map +0 -1
  284. package/types/components/NumberInput/variations/_disabled/base.d.ts +0 -2
  285. package/types/components/NumberInput/variations/_disabled/base.d.ts.map +0 -1
  286. package/types/components/NumberInput/variations/_segmentation/base.d.ts +0 -2
  287. package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +0 -1
  288. package/types/components/NumberInput/variations/_shape/base.d.ts +0 -2
  289. package/types/components/NumberInput/variations/_shape/base.d.ts.map +0 -1
  290. package/types/components/NumberInput/variations/_size/base.d.ts +0 -2
  291. package/types/components/NumberInput/variations/_size/base.d.ts.map +0 -1
  292. package/types/components/NumberInput/variations/_view/base.d.ts +0 -2
  293. package/types/components/NumberInput/variations/_view/base.d.ts.map +0 -1
  294. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +0 -39
  295. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +0 -1
  296. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +0 -82
  297. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +0 -1
  298. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +0 -39
  299. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +0 -1
  300. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +0 -82
  301. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +0 -1
  302. /package/emotion/cjs/{components/NumberInput/NumberInput.types.js → examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
  303. /package/emotion/es/{components/NumberInput/NumberInput.types.js → examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
  304. /package/{emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js → styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
  305. /package/{emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js → styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.types.js} +0 -0
@@ -0,0 +1,136 @@
1
+ ---
2
+ id: dropzone
3
+ title: Dropzone
4
+ ---
5
+
6
+ import { PropsTable } from '@site/src/components';
7
+
8
+ # Dropzone
9
+ Компонент для загрузки файлов, без отображения индикации загрузки.
10
+ Компонент не предполагает наличия валиации, так как является частью Upload.
11
+ Но валидацию можно задать с помощью callback `validator`.
12
+ <PropsTable name="Dropzone" />
13
+
14
+ # Типизация
15
+
16
+ ```tsx
17
+ type DropzoneProps = {
18
+ /**
19
+ * Массив форматов файлов, которые могут быть прикреплены (см. HTML-атрибут 'accept' для 'input').
20
+ */
21
+ acceptedFileFormats?: string[];
22
+ /**
23
+ * Позовляет выбирать несколько файлов для загрузки
24
+ */
25
+ multiple?: boolean;
26
+ /**
27
+ * Слот для Title
28
+ */
29
+ title?: string;
30
+ /**
31
+ * Слот для описания
32
+ */
33
+ description?: ReactNode;
34
+ /**
35
+ * Слот для иконки
36
+ */
37
+ icon?: ReactNode;
38
+ /**
39
+ * Расположение иконки
40
+ * @default 'left'
41
+ */
42
+ iconPlacement?: 'top' | 'left';
43
+ /**
44
+ * Размер компонента
45
+ */
46
+ size?: string;
47
+ /**
48
+ * Вид компонента
49
+ */
50
+ view?: string;
51
+ /**
52
+ * Компонент неактивен
53
+ */
54
+ disabled?: boolean;
55
+ /**
56
+ * Компонент растягивается на всю доступную ширину
57
+ */
58
+ stretch?: boolean;
59
+ /**
60
+ * Функция, вызываемая в момент вхождения курсора внутрь границ Dropzone
61
+ */
62
+ onDragEnter?: () => void;
63
+ /**
64
+ * Функция, вызываемая в момент выхода курсора из Dropzone
65
+ */
66
+ onDragLeave?: () => void;
67
+ /**
68
+ * Функция, вызываемая при нахождении курсора внутри Dropzone
69
+ */
70
+ onDragOver?: () => void;
71
+ /**
72
+ * Функция, вызываемая при drop файлов
73
+ */
74
+ onDrop?: () => void;
75
+ /**
76
+ * Функция, вызываемая для валидации файлов, перед onDropFiles
77
+ */
78
+ validator?: (files: File[]) => ValidatorReturnType;
79
+ /**
80
+ * Функция, вызываемая при наличии файлов, после onDrop
81
+ */
82
+ onDropFiles?: FileProcessHandler;
83
+ /**
84
+ * Функция, вызываемая при выборе файлов
85
+ */
86
+ onChoseFiles?: FileProcessHandler;
87
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, 'accept'>;
88
+ ```
89
+
90
+ # Пример
91
+
92
+ ```tsx live
93
+ import React from 'react';
94
+ import { Dropzone } from '@salutejs/{{ package }}';
95
+
96
+ export function App() {
97
+ const onDragEnter = () => {
98
+ console.log("onDragEnter")
99
+ }
100
+
101
+ const onDragLeave = () => {
102
+ console.log("onDragLeave")
103
+ }
104
+
105
+ const onDrop = () => {
106
+ console.log("onDrop")
107
+ }
108
+
109
+ const onDropFiles = () => {
110
+ console.log("onDropFiles")
111
+ }
112
+
113
+ const onChange = () => {
114
+ console.log("onChange")
115
+ }
116
+
117
+ const onChoseFiles = () => {
118
+ console.log("onChoseFiles")
119
+ }
120
+
121
+ return (
122
+ <Dropzone
123
+ iconPlacement="top"
124
+ width="240"
125
+ title="Click to upload"
126
+ description="or drag and drop files here"
127
+ onDragEnter={onDragEnter}
128
+ onDragLeave={onDragLeave}
129
+ onDrop={onDrop}
130
+ onDropFiles={onDropFiles}
131
+ onChange={onChange}
132
+ onChoseFiles={onChoseFiles}
133
+ />
134
+ );
135
+ }
136
+ ```
@@ -684,15 +684,4 @@ Object.keys(_ViewContainer).forEach(function (key) {
684
684
  return _ViewContainer[key];
685
685
  }
686
686
  });
687
- });
688
- var _NumberInput = /*#__PURE__*/require("./components/NumberInput");
689
- Object.keys(_NumberInput).forEach(function (key) {
690
- if (key === "default" || key === "__esModule") return;
691
- if (key in exports && exports[key] === _NumberInput[key]) return;
692
- Object.defineProperty(exports, key, {
693
- enumerable: true,
694
- get: function get() {
695
- return _NumberInput[key];
696
- }
697
- });
698
687
  });
@@ -0,0 +1,16 @@
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 ArrowBarDown = function ArrowBarDown(props) {
5
+ return /*#__PURE__*/React.createElement("svg", _extends({
6
+ width: "100%",
7
+ viewBox: "0 0 16 16",
8
+ fill: "none",
9
+ xmlns: "http://www.w3.org/2000/svg"
10
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
11
+ fillRule: "evenodd",
12
+ clipRule: "evenodd",
13
+ d: "M7.95833 1.875C8.23448 1.875 8.45833 2.09886 8.45833 2.375V10.4043L11.2686 7.54868C11.4623 7.35186 11.7789 7.34933 11.9757 7.54302C12.1725 7.73672 12.1751 8.05329 11.9814 8.25011L8.3147 11.9759C8.21782 12.0744 8.08453 12.1283 7.94645 12.1251C7.80837 12.1218 7.67779 12.0615 7.5857 11.9586L4.25237 8.23278C4.06824 8.02698 4.08582 7.71088 4.29162 7.52676C4.49742 7.34264 4.81351 7.36021 4.99763 7.56601L7.45833 10.3164V2.375C7.45833 2.09886 7.68219 1.875 7.95833 1.875ZM2.5 14.0001C2.5 13.724 2.72386 13.5001 3 13.5001H13C13.2761 13.5001 13.5 13.724 13.5 14.0001C13.5 14.2763 13.2761 14.5001 13 14.5001H3C2.72386 14.5001 2.5 14.2763 2.5 14.0001Z",
14
+ fill: "currentColor"
15
+ })));
16
+ };
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { ArrowBarDown } from '../Icon.assets/ArrowBarDown';
3
+ import { IconRoot } from '../IconRoot';
4
+ export var IconArrowBarDown = function IconArrowBarDown(_ref) {
5
+ var _ref$size = _ref.size,
6
+ size = _ref$size === void 0 ? 'xs' : _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: ArrowBarDown
14
+ });
15
+ };
@@ -24,4 +24,5 @@ export { IconBlankOutline } from './Icons/IconBlankOutline';
24
24
  export { IconBlankPdfOutline } from './Icons/IconBlankPdfOutline';
25
25
  export { IconBlankTxtOutline } from './Icons/IconBlankTxtOutline';
26
26
  export { IconBlankXlsOutline } from './Icons/IconBlankXlsOutline';
27
- export { IconInfoCircleOutline } from './Icons/IconInfoCircleOutline';
27
+ export { IconInfoCircleOutline } from './Icons/IconInfoCircleOutline';
28
+ export { IconArrowBarDown } from './Icons/IconArrowBarDown';
@@ -0,0 +1,207 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _IconArrowBarDown;
3
+ var _excluded = ["className", "style", "accept", "multiple", "title", "description", "icon", "iconPlacement", "size", "view", "disabled", "stretch", "width", "onDragEnter", "onDragLeave", "onDragOver", "onDrop", "validator", "onClick", "onChange", "onChoseFiles"];
4
+ 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); }
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
11
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
12
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
13
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
14
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
15
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
16
+ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
17
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
18
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
19
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
20
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
21
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
22
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
23
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
24
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
+ import React, { forwardRef, useRef, useState } from 'react';
26
+ import { useForkRef } from '@salutejs/plasma-core';
27
+ import { cx, getSizeValueFromProp } from '../../../../utils';
28
+ import { IconArrowBarDown } from '../../../../components/_Icon';
29
+ import { classes, Content, Description, HiddenInput, privateTokens, StyledRoot, Title, TitleWrapper } from './Dropzone.styles';
30
+ export var Dropzone = /*#__PURE__*/forwardRef(function (_ref, outerRef) {
31
+ var className = _ref.className,
32
+ style = _ref.style,
33
+ accept = _ref.accept,
34
+ multiple = _ref.multiple,
35
+ title = _ref.title,
36
+ description = _ref.description,
37
+ icon = _ref.icon,
38
+ iconPlacement = _ref.iconPlacement,
39
+ size = _ref.size,
40
+ view = _ref.view,
41
+ disabled = _ref.disabled,
42
+ stretch = _ref.stretch,
43
+ width = _ref.width,
44
+ onDragEnter = _ref.onDragEnter,
45
+ onDragLeave = _ref.onDragLeave,
46
+ onDragOver = _ref.onDragOver,
47
+ onDrop = _ref.onDrop,
48
+ validator = _ref.validator,
49
+ onClick = _ref.onClick,
50
+ onChange = _ref.onChange,
51
+ onChoseFiles = _ref.onChoseFiles,
52
+ rest = _objectWithoutProperties(_ref, _excluded);
53
+ var _useState = useState(false),
54
+ _useState2 = _slicedToArray(_useState, 2),
55
+ isDropzoneActive = _useState2[0],
56
+ setIsDropzoneActive = _useState2[1];
57
+ var inputRef = useRef(null);
58
+ var forkInputRef = useForkRef(outerRef, inputRef);
59
+ var innerWidth = width ? getSizeValueFromProp(width) : 'fit-content';
60
+ var processFiles = /*#__PURE__*/function () {
61
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(rawFiles, callback, afterAction) {
62
+ var files, res;
63
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
64
+ while (1) switch (_context.prev = _context.next) {
65
+ case 0:
66
+ if (!(rawFiles && rawFiles.length > 0)) {
67
+ _context.next = 12;
68
+ break;
69
+ }
70
+ files = _toConsumableArray(rawFiles);
71
+ res = {
72
+ acceptedFiles: files
73
+ };
74
+ if (!validator) {
75
+ _context.next = 7;
76
+ break;
77
+ }
78
+ _context.next = 6;
79
+ return validator === null || validator === void 0 ? void 0 : validator(files);
80
+ case 6:
81
+ res = _context.sent;
82
+ case 7:
83
+ console.log(res);
84
+ if (!callback) {
85
+ _context.next = 11;
86
+ break;
87
+ }
88
+ _context.next = 11;
89
+ return callback(res);
90
+ case 11:
91
+ if (afterAction) {
92
+ afterAction();
93
+ }
94
+ case 12:
95
+ case "end":
96
+ return _context.stop();
97
+ }
98
+ }, _callee);
99
+ }));
100
+ return function processFiles(_x, _x2, _x3) {
101
+ return _ref2.apply(this, arguments);
102
+ };
103
+ }();
104
+ var handleDragEnter = function handleDragEnter(event) {
105
+ event.preventDefault();
106
+ event.stopPropagation();
107
+ if (onDragEnter) {
108
+ onDragEnter(event);
109
+ }
110
+ var rawFiles = event.dataTransfer.files;
111
+ if (rawFiles && rawFiles.length > 0) {
112
+ setIsDropzoneActive(true);
113
+ }
114
+ };
115
+ var handleDragLeave = function handleDragLeave(event) {
116
+ event.preventDefault();
117
+ if (onDragLeave) {
118
+ onDragLeave(event);
119
+ }
120
+ setIsDropzoneActive(false);
121
+ };
122
+ var handleDragOver = function handleDragOver(event) {
123
+ event.preventDefault();
124
+ if (onDragOver) {
125
+ onDragOver(event);
126
+ }
127
+ var rawFiles = event.dataTransfer.files;
128
+ if (!isDropzoneActive && rawFiles && rawFiles.length > 0) {
129
+ setIsDropzoneActive(true);
130
+ }
131
+ };
132
+ var handleDrop = /*#__PURE__*/function () {
133
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(event) {
134
+ var rawFiles, afterAction;
135
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
136
+ while (1) switch (_context2.prev = _context2.next) {
137
+ case 0:
138
+ event.preventDefault();
139
+ event.persist();
140
+ rawFiles = event.dataTransfer.files;
141
+ afterAction = function afterAction() {
142
+ return event.dataTransfer.clearData();
143
+ };
144
+ _context2.next = 6;
145
+ return processFiles(rawFiles, onDrop, afterAction);
146
+ case 6:
147
+ case "end":
148
+ return _context2.stop();
149
+ }
150
+ }, _callee2);
151
+ }));
152
+ return function handleDrop(_x4) {
153
+ return _ref3.apply(this, arguments);
154
+ };
155
+ }();
156
+ var handleClick = function handleClick(event) {
157
+ if (!inputRef.current) {
158
+ return;
159
+ }
160
+ inputRef.current.click();
161
+ if (onClick) {
162
+ onClick(event);
163
+ }
164
+ };
165
+ var handleChange = /*#__PURE__*/function () {
166
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(event) {
167
+ var rawFiles;
168
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
169
+ while (1) switch (_context3.prev = _context3.next) {
170
+ case 0:
171
+ if (onChange) {
172
+ onChange(event);
173
+ }
174
+ rawFiles = event.target.files;
175
+ _context3.next = 4;
176
+ return processFiles(rawFiles, onChoseFiles);
177
+ case 4:
178
+ case "end":
179
+ return _context3.stop();
180
+ }
181
+ }, _callee3);
182
+ }));
183
+ return function handleChange(_x5) {
184
+ return _ref4.apply(this, arguments);
185
+ };
186
+ }();
187
+ return /*#__PURE__*/React.createElement(StyledRoot, {
188
+ className: cx(className, isDropzoneActive && classes.active, stretch && classes.stretch),
189
+ tabIndex: 0,
190
+ onDragEnter: handleDragEnter,
191
+ onDragLeave: handleDragLeave,
192
+ onDragOver: handleDragOver,
193
+ onDrop: handleDrop,
194
+ onClick: handleClick,
195
+ style: _objectSpread(_objectSpread({}, style), {}, _defineProperty({}, privateTokens.width, innerWidth))
196
+ }, /*#__PURE__*/React.createElement(Content, null, /*#__PURE__*/React.createElement(TitleWrapper, null, icon || _IconArrowBarDown || (_IconArrowBarDown = /*#__PURE__*/React.createElement(IconArrowBarDown, {
197
+ color: "inherit",
198
+ size: "s"
199
+ })), title && /*#__PURE__*/React.createElement(Title, null, title)), description && /*#__PURE__*/React.createElement(Description, null, description)), /*#__PURE__*/React.createElement(HiddenInput, _extends({
200
+ ref: forkInputRef,
201
+ type: "file",
202
+ accept: accept,
203
+ multiple: multiple,
204
+ tabIndex: -1,
205
+ onChange: handleChange
206
+ }, rest)));
207
+ });
@@ -0,0 +1,58 @@
1
+ import React, { ComponentProps } from 'react';
2
+ import type { StoryObj, Meta } from '@storybook/react';
3
+ import { action } from '@storybook/addon-actions';
4
+ import { disableProps } from '@salutejs/plasma-sb-utils';
5
+
6
+ import { WithTheme } from '../../../_helpers';
7
+
8
+ import { Dropzone } from './Dropzone';
9
+
10
+ const onDragEnter = action('onDragEnter');
11
+ const onDragLeave = action('onDragLeave');
12
+ const onDrop = action('onDrop');
13
+ const onDropFiles = action('onDropFiles');
14
+ const onChange = action('onChange');
15
+ const onChoseFiles = action('onChoseFiles');
16
+
17
+ const iconPlacement = ['top', 'left'];
18
+
19
+ const meta: Meta<typeof Dropzone> = {
20
+ title: 'plasma_b2c/Dropzone',
21
+ component: Dropzone,
22
+ decorators: [WithTheme],
23
+ argTypes: {
24
+ iconPlacement: {
25
+ control: {
26
+ type: 'inline-radio',
27
+ options: iconPlacement,
28
+ },
29
+ defaultValue: 'top',
30
+ },
31
+ ...disableProps(['view', 'size']),
32
+ },
33
+ };
34
+
35
+ export default meta;
36
+
37
+ type StoryPropsDefault = ComponentProps<typeof Dropzone>;
38
+
39
+ export const Default: StoryObj<StoryPropsDefault> = {
40
+ args: {
41
+ iconPlacement: 'top',
42
+ width: 240,
43
+ disabled: false,
44
+ title: 'Click to upload',
45
+ description: 'or drag and drop files here',
46
+ },
47
+ render: (args) => (
48
+ <Dropzone
49
+ {...args}
50
+ onDragEnter={onDragEnter}
51
+ onDragLeave={onDragLeave}
52
+ onDrop={onDrop}
53
+ onDropFiles={onDropFiles}
54
+ onChange={onChange}
55
+ onChoseFiles={onChoseFiles}
56
+ />
57
+ ),
58
+ };
@@ -0,0 +1,73 @@
1
+ import _styled from "@emotion/styled/base";
2
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
3
+ export var privateTokens = {
4
+ width: '--plasma_private-dropzone-width'
5
+ };
6
+ export var classes = {
7
+ stretch: 'dropzone-stretch',
8
+ active: 'dropzone-active'
9
+ };
10
+ export var StyledRoot = /*#__PURE__*/_styled("div", {
11
+ target: "e10frn1c5",
12
+ label: "plasma-new-hope__StyledRoot"
13
+ })("padding:1.5rem;border-radius:1.25rem;border:1px dashed var(--outline-secondary);background:var(--surface-solid-card);height:8.75rem;width:var(", privateTokens.width, ");position:relative;display:flex;align-items:center;justify-content:center;&.", classes.stretch, "{width:100%;}&:not(.", classes.active, "):hover{border-color:#4a4a4a;}&.", classes.active, "{border-color:var(--outline-accent);&:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:var(--overlay-soft);}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9Ecm9wem9uZS9Ecm9wem9uZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV29DIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3B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8tYm9keS1oNC1mb250LXN0eWxlKTtcbiAgICBmb250LXdlaWdodDogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1oNC1ib2xkLWZvbnQtd2VpZ2h0KTtcbiAgICBsZXR0ZXItc3BhY2luZzogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1oNC1sZXR0ZXItc3BhY2luZyk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigtLXBsYXNtYS10eXBvLWJvZHktaDQtbGluZS1oZWlnaHQpO1xuYDtcblxuZXhwb3J0IGNvbnN0IERlc2NyaXB0aW9uID0gc3R5bGVkLnNwYW5gXG4gICAgZm9udC1mYW1pbHk6IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LWZhbWlseSk7XG4gICAgZm9udC1zaXplOiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zaXplKTtcbiAgICBmb250LXN0eWxlOiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zdHlsZSk7XG4gICAgZm9udC13ZWlnaHQ6IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LXdlaWdodCk7XG4gICAgbGV0dGVyLXNwYWNpbmc6IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1sZXR0ZXItc3BhY2luZyk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1saW5lLWhlaWdodCk7XG5cbiAgICBjb2xvcjogdmFyKC0tdGV4dC1zZWNvbmRhcnkpO1xuYDtcblxuZXhwb3J0IGNvbnN0IEhpZGRlbklucHV0ID0gc3R5bGVkLmlucHV0YFxuICAgIGRpc3BsYXk6IG5vbmU7XG5gO1xuIl19 */"));
14
+ export var Content = /*#__PURE__*/_styled("div", {
15
+ target: "e10frn1c4",
16
+ label: "plasma-new-hope__Content"
17
+ })(process.env.NODE_ENV === "production" ? {
18
+ name: "1wnfjpe",
19
+ styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.75rem"
20
+ } : {
21
+ name: "1wnfjpe",
22
+ styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.75rem",
23
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9Ecm9wem9uZS9Ecm9wem9uZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBOENpQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfYjJjL2NvbXBvbmVudHMvRHJvcHpvbmUvRHJvcHpvbmUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5leHBvcnQgY29uc3QgcHJpdmF0ZVRva2VucyA9IHtcbiAgICB3aWR0aDogJy0tcGxhc21hX3ByaXZhdGUtZHJvcHpvbmUtd2lkdGgnLFxufTtcblxuZXhwb3J0IGNvbnN0IGNsYXNzZXMgPSB7XG4gICAgc3RyZXRjaDogJ2Ryb3B6b25lLXN0cmV0Y2gnLFxuICAgIGFjdGl2ZTogJ2Ryb3B6b25lLWFjdGl2ZScsXG59O1xuXG5leHBvcnQgY29uc3QgU3R5bGVkUm9vdCA9IHN0eWxlZC5kaXZgXG4gICAgcGFkZGluZzogMS41cmVtO1xuICAgIGJvcmRlci1yYWRpdXM6IDEuMjVyZW07XG4gICAgYm9yZGVyOiAxcHggZGFzaGVkIHZhcigtLW91dGxpbmUtc2Vjb25kYXJ5KTtcbiAgICBiYWNrZ3JvdW5kOiB2YXIoLS1zdXJmYWNlLXNvbGlkLWNhcmQpO1xuICAgIGhlaWdodDogOC43NXJlbTtcbiAgICB3aWR0aDogdmFyKCR7cHJpd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GV0dGVyLXNwYWNpbmcpO1xuICAgIGxpbmUtaGVpZ2h0OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtbGluZS1oZWlnaHQpO1xuXG4gICAgY29sb3I6IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBIaWRkZW5JbnB1dCA9IHN0eWxlZC5pbnB1dGBcbiAgICBkaXNwbGF5OiBub25lO1xuYDtcbiJdfQ== */",
24
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
25
+ });
26
+ export var TitleWrapper = /*#__PURE__*/_styled("div", {
27
+ target: "e10frn1c3",
28
+ label: "plasma-new-hope__TitleWrapper"
29
+ })(process.env.NODE_ENV === "production" ? {
30
+ name: "1dlv5c4",
31
+ styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.5rem;color:var(--text-primary)"
32
+ } : {
33
+ name: "1dlv5c4",
34
+ styles: "display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.5rem;color:var(--text-primary)",
35
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9Ecm9wem9uZS9Ecm9wem9uZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0RzQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfYjJjL2NvbXBvbmVudHMvRHJvcHpvbmUvRHJvcHpvbmUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5leHBvcnQgY29uc3QgcHJpdmF0ZVRva2VucyA9IHtcbiAgICB3aWR0aDogJy0tcGxhc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B2YXIoLS1wbGFzbWEtdHlwby1ib2R5LWg0LWxpbmUtaGVpZ2h0KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBEZXNjcmlwdGlvbiA9IHN0eWxlZC5zcGFuYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1mYW1pbHkpO1xuICAgIGZvbnQtc2l6ZTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtc2l6ZSk7XG4gICAgZm9udC1zdHlsZTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtc3R5bGUpO1xuICAgIGZvbnQtd2VpZ2h0OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC13ZWlnaHQpO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtbGV0dGVyLXNwYWNpbmcpO1xuICAgIGxpbmUtaGVpZ2h0OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtbGluZS1oZWlnaHQpO1xuXG4gICAgY29sb3I6IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBIaWRkZW5JbnB1dCA9IHN0eWxlZC5pbnB1dGBcbiAgICBkaXNwbGF5OiBub25lO1xuYDtcbiJdfQ== */",
36
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
37
+ });
38
+ export var Title = /*#__PURE__*/_styled("span", {
39
+ target: "e10frn1c2",
40
+ label: "plasma-new-hope__Title"
41
+ })(process.env.NODE_ENV === "production" ? {
42
+ name: "3to6zk",
43
+ styles: "font-family:var(--plasma-typo-body-h4-font-family);font-size:var(--plasma-typo-body-h4-font-size);font-style:var(--plasma-typo-body-h4-font-style);font-weight:var(--plasma-typo-body-h4-bold-font-weight);letter-spacing:var(--plasma-typo-body-h4-letter-spacing);line-height:var(--plasma-typo-body-h4-line-height)"
44
+ } : {
45
+ name: "3to6zk",
46
+ styles: "font-family:var(--plasma-typo-body-h4-font-family);font-size:var(--plasma-typo-body-h4-font-size);font-style:var(--plasma-typo-body-h4-font-style);font-weight:var(--plasma-typo-body-h4-bold-font-weight);letter-spacing:var(--plasma-typo-body-h4-letter-spacing);line-height:var(--plasma-typo-body-h4-line-height)",
47
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9Ecm9wem9uZS9Ecm9wem9uZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBK0RnQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfYjJjL2NvbXBvbmVudHMvRHJvcHpvbmUvRHJvcHpvbmUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5leHBvcnQgY29uc3QgcHJpdmF0ZVRva2VucyA9IHtcbiAgICB3aWR0aDogJy0tcGxhc21hX3ByaXZhdGUtZHJvcHpvbmUtd2lkdGgnLFxufTtcblxuZXhwb3J0IGNvbnN0IGNsYXNzZXMgPSB7XG4gICAgc3RyZXRjaDogJ2Ryb3B6b25lLXN0cmV0Y2gnLFxuICAgIGFjdGl2ZTogJ2Ryb3B6b25lLWFjdGl2ZScsXG59O1xuXG5leHBvcnQgY29uc3QgU3R5bGVkUm9vdCA9IHN0eWxlZC5kaXZgXG4gICAgcGFkZGluZzogMS41cmVtO1xuICAgIGJvcmRlci1yYWRpdXM6IDEuMjVyZW07XG4gICAgYm9yZGVyOiAxcHggZGFzaGVkIHZhcigtLW91dGxpbmUtc2Vjb25kYXJ5KTtcbiAgICBiYWNrZ3JvdW5kOiB2Y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1ib2R5LXMtZm9udC13ZWlnaHQpO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtbGV0dGVyLXNwYWNpbmcpO1xuICAgIGxpbmUtaGVpZ2h0OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtbGluZS1oZWlnaHQpO1xuXG4gICAgY29sb3I6IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBIaWRkZW5JbnB1dCA9IHN0eWxlZC5pbnB1dGBcbiAgICBkaXNwbGF5OiBub25lO1xuYDtcbiJdfQ== */",
48
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
49
+ });
50
+ export var Description = /*#__PURE__*/_styled("span", {
51
+ target: "e10frn1c1",
52
+ label: "plasma-new-hope__Description"
53
+ })(process.env.NODE_ENV === "production" ? {
54
+ name: "14vojwa",
55
+ styles: "font-family:var(--plasma-typo-body-s-font-family);font-size:var(--plasma-typo-body-s-font-size);font-style:var(--plasma-typo-body-s-font-style);font-weight:var(--plasma-typo-body-s-font-weight);letter-spacing:var(--plasma-typo-body-s-letter-spacing);line-height:var(--plasma-typo-body-s-line-height);color:var(--text-secondary)"
56
+ } : {
57
+ name: "14vojwa",
58
+ styles: "font-family:var(--plasma-typo-body-s-font-family);font-size:var(--plasma-typo-body-s-font-size);font-style:var(--plasma-typo-body-s-font-style);font-weight:var(--plasma-typo-body-s-font-weight);letter-spacing:var(--plasma-typo-body-s-letter-spacing);line-height:var(--plasma-typo-body-s-line-height);color:var(--text-secondary)",
59
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9Ecm9wem9uZS9Ecm9wem9uZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwa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});
62
+ export var HiddenInput = /*#__PURE__*/_styled("input", {
63
+ target: "e10frn1c0",
64
+ label: "plasma-new-hope__HiddenInput"
65
+ })(process.env.NODE_ENV === "production" ? {
66
+ name: "eivff4",
67
+ styles: "display:none"
68
+ } : {
69
+ name: "eivff4",
70
+ styles: "display:none",
71
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3BsYXNtYV9iMmMvY29tcG9uZW50cy9Ecm9wem9uZS9Ecm9wem9uZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBbUZ1QyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9wbGFzbWFfYjJjL2NvbXBvbmVudHMvRHJvcHpvbmUvRHJvcHpvbmUuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5leHBvcnQgY29uc3QgcHJpdmF0ZVRva2VucyA9IHtcbiAgICB3aWR0aDogJy0tcGxhc21hX3ByaXZhdGUtZHJvcHpvbmUtd2lkdGgnLFxufTtcblxuZXhwb3J0IGNvbnN0IGNsYXNzZXMgPSB7XG4gICAgc3RyZXRjaDogJ2Ryb3B6b25lLXN0cmV0Y2gnLFxuICAgIGFjdGl2ZTogJ2Ryb3B6b25lLWFjdGl2ZScsXG59O1xuXG5leHBvcnQgY29uc3QgU3R5bGVkUm9vdCA9IHN0eWxlZC5kaXZgXG4gICAgcGFkZGluZzogMS41cmVtO1xuICAgIGJvcmRlci1yYWRpdXM6IDEuMjVyZW07XG4gICAgYm9yZGVyOiAxcHggZGFzaGVkIHZhcigtLW91dGxpbmUtc2Vjb25kYXJ5KTtcbiAgICBiYWNrZ3JvdW5kOiB2YX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