@salutejs/plasma-new-hope 0.184.0-canary.1511.11700617196.0 → 0.184.0-canary.1530.11700796066.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. package/cjs/components/DatePicker/RangeDate/RangeDate.js +3 -1
  2. package/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  3. package/cjs/components/Range/Range.js +7 -4
  4. package/cjs/components/Range/Range.js.map +1 -1
  5. package/cjs/index.css +0 -23
  6. package/cjs/index.js +0 -6
  7. package/cjs/index.js.map +1 -1
  8. package/emotion/cjs/components/DatePicker/RangeDate/RangeDate.js +3 -1
  9. package/emotion/cjs/components/Range/Range.js +7 -4
  10. package/emotion/cjs/index.js +0 -11
  11. package/emotion/es/components/DatePicker/RangeDate/RangeDate.js +3 -1
  12. package/emotion/es/components/Range/Range.js +7 -4
  13. package/emotion/es/index.js +1 -2
  14. package/es/components/DatePicker/RangeDate/RangeDate.js +3 -1
  15. package/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  16. package/es/components/Range/Range.js +7 -4
  17. package/es/components/Range/Range.js.map +1 -1
  18. package/es/index.css +0 -23
  19. package/es/index.js +0 -2
  20. package/es/index.js.map +1 -1
  21. package/package.json +2 -2
  22. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +3 -1
  23. package/styled-components/cjs/components/Range/Range.js +7 -4
  24. package/styled-components/cjs/index.js +0 -11
  25. package/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +3 -1
  26. package/styled-components/es/components/Range/Range.js +7 -4
  27. package/styled-components/es/index.js +1 -2
  28. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +2 -0
  29. package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -1
  30. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts +3 -0
  31. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +1 -1
  32. package/types/components/Range/Range.d.ts.map +1 -1
  33. package/types/components/Range/Range.types.d.ts +4 -0
  34. package/types/components/Range/Range.types.d.ts.map +1 -1
  35. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +1 -0
  36. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -1
  37. package/types/examples/plasma_b2c/components/Range/Range.d.ts +3 -0
  38. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -1
  39. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +1 -0
  40. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -1
  41. package/types/examples/plasma_web/components/Range/Range.d.ts +3 -0
  42. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -1
  43. package/types/index.d.ts +0 -1
  44. package/types/index.d.ts.map +1 -1
  45. package/cjs/components/NumberInput/NumberInput.css +0 -52
  46. package/cjs/components/NumberInput/NumberInput.js +0 -196
  47. package/cjs/components/NumberInput/NumberInput.js.map +0 -1
  48. package/cjs/components/NumberInput/NumberInput.styles.js +0 -9
  49. package/cjs/components/NumberInput/NumberInput.styles.js.map +0 -1
  50. package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +0 -1
  51. package/cjs/components/NumberInput/NumberInput.tokens.js +0 -102
  52. package/cjs/components/NumberInput/NumberInput.tokens.js.map +0 -1
  53. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -19
  54. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +0 -1
  55. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -22
  56. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +0 -1
  57. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +0 -1
  58. package/cjs/components/NumberInput/ui/Input/Input.css +0 -15
  59. package/cjs/components/NumberInput/ui/Input/Input.js +0 -204
  60. package/cjs/components/NumberInput/ui/Input/Input.js.map +0 -1
  61. package/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -96
  62. package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +0 -1
  63. package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +0 -8
  64. package/cjs/components/NumberInput/utils/index.js +0 -12
  65. package/cjs/components/NumberInput/utils/index.js.map +0 -1
  66. package/cjs/components/NumberInput/variations/_background-type/base.js +0 -9
  67. package/cjs/components/NumberInput/variations/_background-type/base.js.map +0 -1
  68. package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +0 -1
  69. package/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
  70. package/cjs/components/NumberInput/variations/_disabled/base.js.map +0 -1
  71. package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +0 -1
  72. package/cjs/components/NumberInput/variations/_segmentation/base.js +0 -9
  73. package/cjs/components/NumberInput/variations/_segmentation/base.js.map +0 -1
  74. package/cjs/components/NumberInput/variations/_segmentation/base_14s5rot.css +0 -1
  75. package/cjs/components/NumberInput/variations/_shape/base.js +0 -9
  76. package/cjs/components/NumberInput/variations/_shape/base.js.map +0 -1
  77. package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +0 -1
  78. package/cjs/components/NumberInput/variations/_size/base.js +0 -9
  79. package/cjs/components/NumberInput/variations/_size/base.js.map +0 -1
  80. package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +0 -1
  81. package/cjs/components/NumberInput/variations/_view/base.js +0 -9
  82. package/cjs/components/NumberInput/variations/_view/base.js.map +0 -1
  83. package/cjs/components/NumberInput/variations/_view/base_tnfbb5.css +0 -1
  84. package/emotion/cjs/components/NumberInput/NumberInput.js +0 -206
  85. package/emotion/cjs/components/NumberInput/NumberInput.styles.js +0 -17
  86. package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +0 -194
  87. package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +0 -99
  88. package/emotion/cjs/components/NumberInput/NumberInput.types.js +0 -5
  89. package/emotion/cjs/components/NumberInput/index.js +0 -31
  90. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -18
  91. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -16
  92. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -5
  93. package/emotion/cjs/components/NumberInput/ui/Input/Input.js +0 -212
  94. package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -81
  95. package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +0 -5
  96. package/emotion/cjs/components/NumberInput/ui/index.js +0 -19
  97. package/emotion/cjs/components/NumberInput/utils/index.js +0 -9
  98. package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +0 -10
  99. package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +0 -6
  100. package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
  101. package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +0 -4
  102. package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +0 -12
  103. package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  104. package/emotion/cjs/components/NumberInput/variations/_shape/base.js +0 -11
  105. package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +0 -1
  106. package/emotion/cjs/components/NumberInput/variations/_size/base.js +0 -13
  107. package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +0 -22
  108. package/emotion/cjs/components/NumberInput/variations/_view/base.js +0 -13
  109. package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +0 -14
  110. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -46
  111. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -11
  112. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  113. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -46
  114. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +0 -11
  115. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  116. package/emotion/es/components/NumberInput/NumberInput.js +0 -198
  117. package/emotion/es/components/NumberInput/NumberInput.styles.js +0 -11
  118. package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +0 -194
  119. package/emotion/es/components/NumberInput/NumberInput.tokens.js +0 -93
  120. package/emotion/es/components/NumberInput/NumberInput.types.js +0 -1
  121. package/emotion/es/components/NumberInput/index.js +0 -2
  122. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -11
  123. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -9
  124. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -1
  125. package/emotion/es/components/NumberInput/ui/Input/Input.js +0 -203
  126. package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +0 -74
  127. package/emotion/es/components/NumberInput/ui/Input/Input.types.js +0 -1
  128. package/emotion/es/components/NumberInput/ui/index.js +0 -2
  129. package/emotion/es/components/NumberInput/utils/index.js +0 -3
  130. package/emotion/es/components/NumberInput/variations/_background-type/base.js +0 -4
  131. package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +0 -6
  132. package/emotion/es/components/NumberInput/variations/_disabled/base.js +0 -3
  133. package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +0 -4
  134. package/emotion/es/components/NumberInput/variations/_segmentation/base.js +0 -6
  135. package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  136. package/emotion/es/components/NumberInput/variations/_shape/base.js +0 -5
  137. package/emotion/es/components/NumberInput/variations/_shape/tokens.json +0 -1
  138. package/emotion/es/components/NumberInput/variations/_size/base.js +0 -7
  139. package/emotion/es/components/NumberInput/variations/_size/tokens.json +0 -22
  140. package/emotion/es/components/NumberInput/variations/_view/base.js +0 -7
  141. package/emotion/es/components/NumberInput/variations/_view/tokens.json +0 -14
  142. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -40
  143. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -5
  144. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  145. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -40
  146. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +0 -5
  147. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  148. package/es/components/NumberInput/NumberInput.css +0 -52
  149. package/es/components/NumberInput/NumberInput.js +0 -191
  150. package/es/components/NumberInput/NumberInput.js.map +0 -1
  151. package/es/components/NumberInput/NumberInput.styles.js +0 -5
  152. package/es/components/NumberInput/NumberInput.styles.js.map +0 -1
  153. package/es/components/NumberInput/NumberInput.styles_jeawjl.css +0 -1
  154. package/es/components/NumberInput/NumberInput.tokens.js +0 -96
  155. package/es/components/NumberInput/NumberInput.tokens.js.map +0 -1
  156. package/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -15
  157. package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +0 -1
  158. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -18
  159. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +0 -1
  160. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +0 -1
  161. package/es/components/NumberInput/ui/Input/Input.css +0 -15
  162. package/es/components/NumberInput/ui/Input/Input.js +0 -200
  163. package/es/components/NumberInput/ui/Input/Input.js.map +0 -1
  164. package/es/components/NumberInput/ui/Input/Input.styles.js +0 -85
  165. package/es/components/NumberInput/ui/Input/Input.styles.js.map +0 -1
  166. package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +0 -8
  167. package/es/components/NumberInput/utils/index.js +0 -6
  168. package/es/components/NumberInput/utils/index.js.map +0 -1
  169. package/es/components/NumberInput/variations/_background-type/base.js +0 -5
  170. package/es/components/NumberInput/variations/_background-type/base.js.map +0 -1
  171. package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +0 -1
  172. package/es/components/NumberInput/variations/_disabled/base.js +0 -5
  173. package/es/components/NumberInput/variations/_disabled/base.js.map +0 -1
  174. package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +0 -1
  175. package/es/components/NumberInput/variations/_segmentation/base.js +0 -5
  176. package/es/components/NumberInput/variations/_segmentation/base.js.map +0 -1
  177. package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +0 -1
  178. package/es/components/NumberInput/variations/_shape/base.js +0 -5
  179. package/es/components/NumberInput/variations/_shape/base.js.map +0 -1
  180. package/es/components/NumberInput/variations/_shape/base_k05biw.css +0 -1
  181. package/es/components/NumberInput/variations/_size/base.js +0 -5
  182. package/es/components/NumberInput/variations/_size/base.js.map +0 -1
  183. package/es/components/NumberInput/variations/_size/base_yqdmk4.css +0 -1
  184. package/es/components/NumberInput/variations/_view/base.js +0 -5
  185. package/es/components/NumberInput/variations/_view/base.js.map +0 -1
  186. package/es/components/NumberInput/variations/_view/base_tnfbb5.css +0 -1
  187. package/styled-components/cjs/components/NumberInput/NumberInput.js +0 -206
  188. package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +0 -8
  189. package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +0 -194
  190. package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +0 -99
  191. package/styled-components/cjs/components/NumberInput/NumberInput.types.js +0 -5
  192. package/styled-components/cjs/components/NumberInput/index.js +0 -31
  193. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -18
  194. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -15
  195. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -5
  196. package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +0 -212
  197. package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -48
  198. package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +0 -5
  199. package/styled-components/cjs/components/NumberInput/ui/index.js +0 -19
  200. package/styled-components/cjs/components/NumberInput/utils/index.js +0 -9
  201. package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +0 -10
  202. package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +0 -6
  203. package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
  204. package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +0 -4
  205. package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +0 -12
  206. package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  207. package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +0 -11
  208. package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +0 -1
  209. package/styled-components/cjs/components/NumberInput/variations/_size/base.js +0 -13
  210. package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +0 -22
  211. package/styled-components/cjs/components/NumberInput/variations/_view/base.js +0 -13
  212. package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +0 -14
  213. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -46
  214. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -11
  215. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  216. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -46
  217. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +0 -11
  218. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  219. package/styled-components/es/components/NumberInput/NumberInput.js +0 -198
  220. package/styled-components/es/components/NumberInput/NumberInput.styles.js +0 -2
  221. package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +0 -194
  222. package/styled-components/es/components/NumberInput/NumberInput.tokens.js +0 -93
  223. package/styled-components/es/components/NumberInput/NumberInput.types.js +0 -1
  224. package/styled-components/es/components/NumberInput/index.js +0 -2
  225. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -11
  226. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -8
  227. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -1
  228. package/styled-components/es/components/NumberInput/ui/Input/Input.js +0 -203
  229. package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +0 -41
  230. package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +0 -1
  231. package/styled-components/es/components/NumberInput/ui/index.js +0 -2
  232. package/styled-components/es/components/NumberInput/utils/index.js +0 -3
  233. package/styled-components/es/components/NumberInput/variations/_background-type/base.js +0 -4
  234. package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +0 -6
  235. package/styled-components/es/components/NumberInput/variations/_disabled/base.js +0 -3
  236. package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +0 -4
  237. package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +0 -6
  238. package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  239. package/styled-components/es/components/NumberInput/variations/_shape/base.js +0 -5
  240. package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +0 -1
  241. package/styled-components/es/components/NumberInput/variations/_size/base.js +0 -7
  242. package/styled-components/es/components/NumberInput/variations/_size/tokens.json +0 -22
  243. package/styled-components/es/components/NumberInput/variations/_view/base.js +0 -7
  244. package/styled-components/es/components/NumberInput/variations/_view/tokens.json +0 -14
  245. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -40
  246. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -5
  247. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  248. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -40
  249. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +0 -5
  250. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  251. package/types/components/NumberInput/NumberInput.d.ts +0 -38
  252. package/types/components/NumberInput/NumberInput.d.ts.map +0 -1
  253. package/types/components/NumberInput/NumberInput.styles.d.ts +0 -2
  254. package/types/components/NumberInput/NumberInput.styles.d.ts.map +0 -1
  255. package/types/components/NumberInput/NumberInput.tokens.d.ts +0 -88
  256. package/types/components/NumberInput/NumberInput.tokens.d.ts.map +0 -1
  257. package/types/components/NumberInput/NumberInput.types.d.ts +0 -112
  258. package/types/components/NumberInput/NumberInput.types.d.ts.map +0 -1
  259. package/types/components/NumberInput/index.d.ts +0 -3
  260. package/types/components/NumberInput/index.d.ts.map +0 -1
  261. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +0 -4
  262. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +0 -1
  263. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +0 -45
  264. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +0 -1
  265. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +0 -7
  266. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +0 -1
  267. package/types/components/NumberInput/ui/Input/Input.d.ts +0 -19
  268. package/types/components/NumberInput/ui/Input/Input.d.ts.map +0 -1
  269. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +0 -30
  270. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +0 -1
  271. package/types/components/NumberInput/ui/Input/Input.types.d.ts +0 -19
  272. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +0 -1
  273. package/types/components/NumberInput/ui/index.d.ts +0 -3
  274. package/types/components/NumberInput/ui/index.d.ts.map +0 -1
  275. package/types/components/NumberInput/utils/index.d.ts +0 -4
  276. package/types/components/NumberInput/utils/index.d.ts.map +0 -1
  277. package/types/components/NumberInput/variations/_background-type/base.d.ts +0 -2
  278. package/types/components/NumberInput/variations/_background-type/base.d.ts.map +0 -1
  279. package/types/components/NumberInput/variations/_disabled/base.d.ts +0 -2
  280. package/types/components/NumberInput/variations/_disabled/base.d.ts.map +0 -1
  281. package/types/components/NumberInput/variations/_segmentation/base.d.ts +0 -2
  282. package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +0 -1
  283. package/types/components/NumberInput/variations/_shape/base.d.ts +0 -2
  284. package/types/components/NumberInput/variations/_shape/base.d.ts.map +0 -1
  285. package/types/components/NumberInput/variations/_size/base.d.ts +0 -2
  286. package/types/components/NumberInput/variations/_size/base.d.ts.map +0 -1
  287. package/types/components/NumberInput/variations/_view/base.d.ts +0 -2
  288. package/types/components/NumberInput/variations/_view/base.d.ts.map +0 -1
  289. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +0 -39
  290. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +0 -1
  291. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +0 -82
  292. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +0 -1
  293. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +0 -39
  294. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +0 -1
  295. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +0 -82
  296. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +0 -1
@@ -1,99 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.tokens = exports.privateTokens = exports.classes = void 0;
7
- var classes = exports.classes = {
8
- actionButtonDecrement: 'action-button-decrement',
9
- actionButtonDecrementDisabled: 'action-button-decrement-disabled',
10
- actionButtonIncrement: 'action-button-increment',
11
- actionButtonIncrementDisabled: 'action-button-increment-disabled',
12
- textBefore: 'text-before',
13
- textAfter: 'text-after',
14
- solidView: 'solid-view',
15
- segmentedView: 'segmented-view',
16
- clearView: 'clear-view',
17
- errorAnimation: 'error-animation',
18
- disabled: 'number-input-disabled',
19
- loading: 'number-input-loading',
20
- focused: 'number-input-focused',
21
- manualInput: 'manual-input-number-input'
22
- };
23
- var privateTokens = exports.privateTokens = {
24
- inputWidth: '--plasma_private-number-input_width',
25
- segmentationBorderRadius: '--plasma_private-segmentation-border-radius',
26
- segmentationInputBorderRadius: '--plasma_private-segmentation_input_border-radius',
27
- topBoxShadow: '--plasma_private-number-input_top-box-shadow',
28
- bottomBoxShadow: '--plasma_private-number-input_bottom-box-shadow',
29
- leftBoxShadow: '--plasma_private-number-input_left-box-shadow',
30
- rightBoxShadow: '--plasma_private-number-input_right-box-shadow'
31
- };
32
- var tokens = exports.tokens = {
33
- // Root size tokens
34
- rootMinWidth: '--plasma-number-input_min-width',
35
- disabledOpacity: '--plasma-number-input_disabled-opacity',
36
- rootBorderWidth: '--plasma-number-input_input-border-width',
37
- wrapperBorderColor: '--plasma-number-input_wrapper_border-color',
38
- wrapperBorderColorFocus: '--plasma-number-input_wrapper_border-color_focus',
39
- // Action button view tokens
40
- iconButtonColor: '--plasma-number-input_icon-button_color',
41
- iconButtonBackgroundColor: '--plasma-number-input_icon-button_background-color',
42
- iconButtonColorHover: '--plasma-number-input_icon-button_color-hover',
43
- iconButtonColorSolidHover: '--plasma-number-input_icon-button_color_solid-hover',
44
- iconButtonBackgroundColorHover: '--plasma-number-input_icon-button_background-color-hover',
45
- iconButtonColorActive: '--plasma-number-input_icon-button_color-active',
46
- iconButtonColorSolidActive: '--plasma-number-input_icon-button_color_solid-active',
47
- iconButtonBackgroundColorActive: '--plasma-number-input_icon-button_background-color-active',
48
- actionButtonDisabledOpacity: '--plasma-number-input_action-button_disabled-opacity',
49
- // Action button size tokens
50
- iconButtonHeight: '--plasma-number-input_icon-button_height',
51
- iconButtonWidth: '--plasma-number-input_icon-button_width',
52
- iconButtonPadding: '--plasma-number-input_icon-button_padding',
53
- iconButtonRadius: '--plasma-number-input_icon-button_radius',
54
- iconButtonSegmentationRadius: '--plasma-number-input_icon-button_segmentation_radius',
55
- iconButtonFontFamily: '--plasma-number-input_icon-button_font-family',
56
- iconButtonFontSize: '--plasma-number-input_icon-button_font-size',
57
- iconButtonFontStyle: '--plasma-number-input_icon-button_font-style',
58
- iconButtonFontWeight: '--plasma-number-input_icon-button_font-weight',
59
- iconButtonLetterSpacing: '--plasma-number-input_icon-button_letter-spacing',
60
- iconButtonLineHeight: '--plasma-number-input_icon-button_line-height',
61
- // Input size tokens
62
- inputWrapperBorderWidth: '--plasma-number-input_input-wrapper_border-width',
63
- inputWrapperMargin: '--plasma-number-input_input-wrapper_margin',
64
- inputWrapperBorderRadius: '--plasma-number-input_input-wrapper_border-radius',
65
- textWrapperHeight: '--plasma-number-input_text-wrapper_height',
66
- textWrapperPadding: '--plasma-number-input_text-wrapper_padding',
67
- fontFamily: '--plasma-number-input_font-family',
68
- fontStyle: '--plasma-number-input_font-style',
69
- fontSize: '--plasma-number-input_font-size',
70
- fontWeight: '--plasma-number-input_font-weight',
71
- letterSpacing: '--plasma-number-input_letter-spacing',
72
- lineHeight: '--plasma-number-input_line-height',
73
- textBeforeMarginRight: '--plasma-number-input_text-before_margin-right',
74
- textAfterMarginLeft: '--plasma-number-input_text-after_margin-left',
75
- // Input view tokens
76
- caretColor: '--plasma-number-input_caret_color',
77
- caretColorSolid: '--plasma-number-input_caret_color-solid',
78
- color: '--plasma-number-input_color',
79
- colorSolid: '--plasma-number-input_color-solid',
80
- backgroundColor: '--plasma-number-input_background-color',
81
- backgroundColorHover: '--plasma-number-input_background-color-hover',
82
- backgroundColorFocus: '--plasma-number-input_background-color-focus',
83
- backgroundColorSolidFocus: '--plasma-number-input_background-color-solid-focus',
84
- backgroundColorSolid: '--plasma-number-input_background-color-solid',
85
- borderColor: '--plasma-number-input_border-color',
86
- borderColorHover: '--plasma-number-input_border-color-hover',
87
- borderColorFocus: '--plasma-number-input_border-color-focus',
88
- borderColorSolidFocus: '--plasma-number-input_border-color-solid-focus',
89
- borderColorSolid: '--plasma-number-input_border-color-solid',
90
- additionalTextColor: '--plasma-number-input_additional-text_color',
91
- additionalTextColorSolid: '--plasma-number-input_additional-text_color-solid',
92
- errorColor: '--plasma-number-input_error-color',
93
- backgroundErrorColor: '--plasma-number-input_background_error-color',
94
- borderErrorColor: '--plasma-number-input_border_error-color',
95
- // Loader tokens
96
- loaderSpinnerSize: '--plasma-number-input_loader-spinner_size',
97
- loaderSpinnerColor: '--plasma-number-input_loader-spinner_color',
98
- loaderSpinnerColorSolid: '--plasma-number-input_loader-spinner_color-solid'
99
- };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,31 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "numberInputClasses", {
7
- enumerable: true,
8
- get: function get() {
9
- return _NumberInput2.classes;
10
- }
11
- });
12
- Object.defineProperty(exports, "numberInputConfig", {
13
- enumerable: true,
14
- get: function get() {
15
- return _NumberInput.numberInputConfig;
16
- }
17
- });
18
- Object.defineProperty(exports, "numberInputRoot", {
19
- enumerable: true,
20
- get: function get() {
21
- return _NumberInput.numberInputRoot;
22
- }
23
- });
24
- Object.defineProperty(exports, "numberInputTokens", {
25
- enumerable: true,
26
- get: function get() {
27
- return _NumberInput2.tokens;
28
- }
29
- });
30
- var _NumberInput = /*#__PURE__*/require("./NumberInput");
31
- var _NumberInput2 = /*#__PURE__*/require("./NumberInput.tokens");
@@ -1,18 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ActionButton = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
- var _ActionButton = /*#__PURE__*/require("./ActionButton.styles");
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- var ActionButton = exports.ActionButton = function ActionButton(_ref) {
11
- var icon = _ref.icon,
12
- className = _ref.className,
13
- onClick = _ref.onClick;
14
- return /*#__PURE__*/_react["default"].createElement(_ActionButton.StyledIconButton, {
15
- className: className,
16
- onClick: onClick
17
- }, icon);
18
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.StyledIconButton = void 0;
7
- var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
8
- var _IconButton = /*#__PURE__*/require("../../../IconButton");
9
- var _engines = /*#__PURE__*/require("../../../../engines");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- var mergedIconButtonConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_IconButton.iconButtonConfig);
12
- var IconButton = /*#__PURE__*/(0, _engines.component)(mergedIconButtonConfig);
13
- var StyledIconButton = exports.StyledIconButton = /*#__PURE__*/(0, _base["default"])(IconButton, {
14
- target: "e1l688ca0",
15
- label: "plasma-new-hope__StyledIconButton"
16
- })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvQWN0aW9uQnV0dG9uL0FjdGlvbkJ1dHRvbi5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUWtEIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvQWN0aW9uQnV0dG9uL0FjdGlvbkJ1dHRvbi5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGljb25CdXR0b25Db25maWcgfSBmcm9tICcuLi8uLi8uLi9JY29uQnV0dG9uJztcbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcblxuY29uc3QgbWVyZ2VkSWNvbkJ1dHRvbkNvbmZpZyA9IG1lcmdlQ29uZmlnKGljb25CdXR0b25Db25maWcpO1xuY29uc3QgSWNvbkJ1dHRvbiA9IGNvbXBvbmVudChtZXJnZWRJY29uQnV0dG9uQ29uZmlnKTtcblxuZXhwb3J0IGNvbnN0IFN0eWxlZEljb25CdXR0b24gPSBzdHlsZWQoSWNvbkJ1dHRvbilgYDtcbiJdfQ== */");
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,212 +0,0 @@
1
- "use strict";
2
-
3
- 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); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.NumberInput = void 0;
8
- var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
- var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
10
- var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
11
- var _utils = /*#__PURE__*/require("../../../../utils");
12
- var _hooks = /*#__PURE__*/require("../../../../hooks");
13
- var _utils2 = /*#__PURE__*/require("../../utils");
14
- var _constants = /*#__PURE__*/require("../../../../utils/constants");
15
- var _Input = /*#__PURE__*/require("./Input.styles");
16
- var _StyledSpinner;
17
- var _excluded = ["value", "min", "max", "isLoading", "loader", "disabled", "segmentation", "textBefore", "textAfter", "isManualInput", "isInputFocused", "setIsInputFocused", "setIsAnimationRun", "setInnerValue", "onChange", "onBlur", "onKeyDown"];
18
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
20
- 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); }
21
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
22
- 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."); }
23
- 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); }
24
- 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; }
25
- 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; } }
26
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
27
- 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; }
28
- 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; }
29
- var NumberInput = exports.NumberInput = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
30
- var value = _ref.value,
31
- min = _ref.min,
32
- max = _ref.max,
33
- isLoading = _ref.isLoading,
34
- loader = _ref.loader,
35
- disabled = _ref.disabled,
36
- segmentation = _ref.segmentation,
37
- textBefore = _ref.textBefore,
38
- textAfter = _ref.textAfter,
39
- isManualInput = _ref.isManualInput,
40
- isInputFocused = _ref.isInputFocused,
41
- setIsInputFocused = _ref.setIsInputFocused,
42
- setIsAnimationRun = _ref.setIsAnimationRun,
43
- setInnerValue = _ref.setInnerValue,
44
- onChange = _ref.onChange,
45
- onBlur = _ref.onBlur,
46
- onKeyDown = _ref.onKeyDown,
47
- rest = _objectWithoutProperties(_ref, _excluded);
48
- var _useState = (0, _react.useState)(value ? "".concat(String(value).length, "ch") : _utils2.defaultCharacterWidth),
49
- _useState2 = _slicedToArray(_useState, 2),
50
- dynamicWidth = _useState2[0],
51
- setDynamicWidth = _useState2[1];
52
- var _useState3 = (0, _react.useState)(Number(value)),
53
- _useState4 = _slicedToArray(_useState3, 2),
54
- lastValidValue = _useState4[0],
55
- setLastValidValue = _useState4[1];
56
- var _useState5 = (0, _react.useState)(undefined),
57
- _useState6 = _slicedToArray(_useState5, 2),
58
- errorClass = _useState6[0],
59
- setErrorClass = _useState6[1];
60
- var _useState7 = (0, _react.useState)(),
61
- _useState8 = _slicedToArray(_useState7, 2),
62
- errorValue = _useState8[0],
63
- setErrorValue = _useState8[1];
64
- var inputHelperRef = (0, _react.useRef)(null);
65
- var wrapperRef = (0, _react.useRef)(null);
66
- var textWrapperRef = (0, _react.useRef)(null);
67
- var inputRef = (0, _react.useRef)(null);
68
- var inputForkRef = (0, _plasmaCore.useForkRef)(inputRef, ref);
69
- var solidViewClass = segmentation === 'solid' ? _NumberInput.classes.solidView : undefined;
70
- var manualInputClass = isManualInput ? _NumberInput.classes.manualInput : undefined;
71
- var getInputWidth = function getInputWidth() {
72
- var _inputHelperRef$curre;
73
- var firstRender = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
74
- if (!firstRender && (_inputHelperRef$curre = inputHelperRef.current) !== null && _inputHelperRef$curre !== void 0 && _inputHelperRef$curre.clientWidth) {
75
- var _inputHelperRef$curre2;
76
- return "".concat((_inputHelperRef$curre2 = inputHelperRef.current) === null || _inputHelperRef$curre2 === void 0 ? void 0 : _inputHelperRef$curre2.clientWidth, "px");
77
- }
78
- if (value) {
79
- return "".concat(String(value).length, "ch");
80
- }
81
- return _utils2.defaultCharacterWidth;
82
- };
83
- var setValues = function setValues(event, newValue) {
84
- setLastValidValue(newValue);
85
- setInnerValue(newValue);
86
- if (onChange) {
87
- onChange(event, newValue);
88
- }
89
- };
90
- var validateValue = function validateValue(newValue) {
91
- if (!newValue || !(0, _utils.isNumber)(newValue)) {
92
- setValues(null, lastValidValue);
93
- setIsAnimationRun(false);
94
- return;
95
- }
96
- if (String(newValue).endsWith('.')) {
97
- setValues(null, Number(newValue));
98
- setIsAnimationRun(false);
99
- return;
100
- }
101
- var resValue = Number(newValue);
102
- if (max !== undefined && resValue > max) {
103
- setErrorClass(_NumberInput.classes.errorAnimation);
104
- setErrorValue(max);
105
- setIsAnimationRun(true);
106
- return;
107
- }
108
- if (min !== undefined && resValue < min) {
109
- setErrorClass(_NumberInput.classes.errorAnimation);
110
- setErrorValue(min);
111
- setIsAnimationRun(true);
112
- }
113
- };
114
- var handleManualInputChange = function handleManualInputChange(event) {
115
- var _textWrapperRef$curre, _wrapperRef$current;
116
- if (!isManualInput || disabled) {
117
- return;
118
- }
119
- setIsAnimationRun(true);
120
- var newValue = event.target.value;
121
- if (!newValue) {
122
- setInnerValue('');
123
- if (onChange) {
124
- onChange(event, '');
125
- }
126
- return;
127
- }
128
- var cleanValue = newValue.replace(_utils2.excludingNumberSchema, '');
129
- if (cleanValue.endsWith('.') || cleanValue === '-') {
130
- setInnerValue(cleanValue);
131
- if (onChange) {
132
- onChange(event, cleanValue);
133
- }
134
- return;
135
- }
136
- var isValid = _utils2.numberSchema.test(cleanValue);
137
- if (!isValid) {
138
- setValues(event, lastValidValue);
139
- return;
140
- }
141
- if (textWrapperRef !== null && textWrapperRef !== void 0 && textWrapperRef.current && wrapperRef !== null && wrapperRef !== void 0 && wrapperRef.current && (textWrapperRef === null || textWrapperRef === void 0 || (_textWrapperRef$curre = textWrapperRef.current) === null || _textWrapperRef$curre === void 0 ? void 0 : _textWrapperRef$curre.clientWidth) > (wrapperRef === null || wrapperRef === void 0 || (_wrapperRef$current = wrapperRef.current) === null || _wrapperRef$current === void 0 ? void 0 : _wrapperRef$current.clientWidth)) {
142
- wrapperRef.current.scrollLeft = textWrapperRef.current.offsetWidth - textWrapperRef.current.offsetLeft || 0;
143
- }
144
- setValues(event, Number(cleanValue));
145
- };
146
- var handleClickInputWrapper = function handleClickInputWrapper() {
147
- if (!isManualInput || !inputRef.current) {
148
- return;
149
- }
150
- if (!isInputFocused) {
151
- inputRef.current.select();
152
- }
153
- setIsInputFocused(true);
154
- };
155
- var handleBlur = function handleBlur(event) {
156
- validateValue(value);
157
- setIsInputFocused(false);
158
- if (onBlur) {
159
- onBlur(event);
160
- }
161
- };
162
- var handleKeyDown = function handleKeyDown(event) {
163
- if (!isManualInput || disabled) {
164
- return;
165
- }
166
- if (event.keyCode === _constants.keyCodes.Enter) {
167
- event.preventDefault();
168
- validateValue(value);
169
- if (onKeyDown) {
170
- onKeyDown(event);
171
- }
172
- }
173
- };
174
- var handleEndErrorAnimation = function handleEndErrorAnimation(correctValue) {
175
- setIsAnimationRun(false);
176
- setIsInputFocused(false);
177
- setErrorClass(undefined);
178
- setValues(null, correctValue);
179
- };
180
- (0, _react.useEffect)(function () {
181
- setDynamicWidth(getInputWidth());
182
- }, []);
183
- (0, _hooks.useDidMountEffect)(function () {
184
- setDynamicWidth(getInputWidth(false));
185
- }, [value]);
186
- return /*#__PURE__*/_react["default"].createElement(_Input.InputWrapper, {
187
- ref: wrapperRef,
188
- className: (0, _utils.cx)(solidViewClass, errorClass, manualInputClass),
189
- isManualInput: Boolean(isManualInput),
190
- onClick: handleClickInputWrapper
191
- }, /*#__PURE__*/_react["default"].createElement(_Input.TextWrapper, {
192
- ref: textWrapperRef
193
- }, !isLoading && textBefore && /*#__PURE__*/_react["default"].createElement(_Input.AdditionalText, {
194
- className: _NumberInput.classes.textBefore
195
- }, textBefore), isLoading ? /*#__PURE__*/_react["default"].createElement(_Input.Loader, null, loader || _StyledSpinner || (_StyledSpinner = /*#__PURE__*/_react["default"].createElement(_Input.StyledSpinner, null))) : /*#__PURE__*/_react["default"].createElement(_Input.DynamicInput, null, /*#__PURE__*/_react["default"].createElement(_Input.Input, _extends({
196
- ref: inputForkRef,
197
- dynamicWidth: dynamicWidth,
198
- value: value,
199
- isManualInput: Boolean(isManualInput),
200
- tabIndex: disabled || !isManualInput ? -1 : 0,
201
- onChange: handleManualInputChange,
202
- onBlur: handleBlur,
203
- onKeyDown: handleKeyDown,
204
- onAnimationEnd: function onAnimationEnd() {
205
- return handleEndErrorAnimation(Number(errorValue));
206
- }
207
- }, rest)), /*#__PURE__*/_react["default"].createElement(_Input.InputWidthHelper, {
208
- ref: inputHelperRef
209
- }, value)), !isLoading && textAfter && /*#__PURE__*/_react["default"].createElement(_Input.AdditionalText, {
210
- className: _NumberInput.classes.textAfter
211
- }, textAfter)));
212
- });
@@ -1,81 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.TextWrapper = exports.StyledSpinner = exports.Loader = exports.InputWrapper = exports.InputWidthHelper = exports.Input = exports.DynamicInput = exports.AdditionalText = void 0;
7
- var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
8
- var _engines = /*#__PURE__*/require("../../../../engines");
9
- var _Spinner = /*#__PURE__*/require("../../../Spinner");
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- 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)."; }
12
- var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Spinner.spinnerConfig);
13
- var Spinner = /*#__PURE__*/(0, _engines.component)(mergedConfig);
14
- var InputWrapper = exports.InputWrapper = /*#__PURE__*/(0, _base["default"])("div", {
15
- target: "e15d8t3l7",
16
- label: "plasma-new-hope__InputWrapper"
17
- })("overflow-x:auto;overflow-y:hidden;flex:1;cursor:", function (_ref) {
18
- var isManualInput = _ref.isManualInput;
19
- return isManualInput ? 'text' : 'default';
20
- }, ";::-webkit-scrollbar{display:none;}scrollbar-width:none;overscroll-behavior:contain;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5w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lvbjogd2lkdGggMC4xcztcbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */"));
21
- var TextWrapper = exports.TextWrapper = /*#__PURE__*/(0, _base["default"])("div", {
22
- target: "e15d8t3l6",
23
- label: "plasma-new-hope__TextWrapper"
24
- })(process.env.NODE_ENV === "production" ? {
25
- name: "zvqxgx",
26
- styles: "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box"
27
- } : {
28
- name: "zvqxgx",
29
- styles: "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box",
30
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCcUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydC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Y29uc3QgRHluYW1pY0lucHV0ID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXQgPSBzdHlsZWQuaW5wdXQ8eyBkeW5hbWljV2lkdGg6IHN0cmluZzsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGFwcGVhcmFuY2U6IG5vbmU7XG4gICAgYm9yZGVyOiAwO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgb3V0bGluZTogbm9uZTtcbiAgICB3aWR0aDogJHsoeyBkeW5hbWljV2lkdGggfSkgPT4gZHluYW1pY1dpZHRofTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */",
31
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
32
- });
33
- var AdditionalText = exports.AdditionalText = /*#__PURE__*/(0, _base["default"])("span", {
34
- target: "e15d8t3l5",
35
- label: "plasma-new-hope__AdditionalText"
36
- })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdDeUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoc3Bpbm5lckNvbmZpZyk7XG5jb25zdCBTcGlubmVyID0gY29tcG9uZW50KG1lcmdlZENvbmZpZyk7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdyYXBwZXIgPSBzdHlsZWQuZGl2PHsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBvdmVyZmxvdy14OiBhdXRvO1xuICAgIG92ZXJmbG93LXk6IGhpZGRlbjtcbiAgICBmbGV4OiAxO1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG5cbiAgICA6Oi13ZWJraX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JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */");
37
- var Loader = exports.Loader = /*#__PURE__*/(0, _base["default"])("div", {
38
- target: "e15d8t3l4",
39
- label: "plasma-new-hope__Loader"
40
- })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtDZ0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydC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cHJlO1xuYDtcbiJdfQ== */");
41
- var StyledSpinner = exports.StyledSpinner = /*#__PURE__*/(0, _base["default"])(Spinner, {
42
- target: "e15d8t3l3",
43
- label: "plasma-new-hope__StyledSpinner"
44
- })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9DNEMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoc3Bpbm5lckNvbmZpZyk7XG5jb25zdCBTcGlubmVyID0gY29tcG9uZW50KG1lcmdlZENvbmZpZyk7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdyYXBwZXIgPSBzdHlsZWQuZGl2PHsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBvdmVyZmxvdy14OiBhdXRvO1xuICAgIG92ZXJmbG93LXk6IGhpZGRlbjtcbiAgICBmbGV4OiAxO1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8g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SkgPT4gZHluYW1pY1dpZHRofTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */");
45
- var DynamicInput = exports.DynamicInput = /*#__PURE__*/(0, _base["default"])("div", {
46
- target: "e15d8t3l2",
47
- label: "plasma-new-hope__DynamicInput"
48
- })(process.env.NODE_ENV === "production" ? {
49
- name: "bjn8wh",
50
- styles: "position:relative"
51
- } : {
52
- name: "bjn8wh",
53
- styles: "position:relative",
54
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNDc0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB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Zpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */",
55
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
56
- });
57
- var Input = exports.Input = /*#__PURE__*/(0, _base["default"])("input", {
58
- target: "e15d8t3l1",
59
- label: "plasma-new-hope__Input"
60
- })("box-sizing:border-box;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:", function (_ref2) {
61
- var dynamicWidth = _ref2.dynamicWidth;
62
- return dynamicWidth;
63
- }, ";box-sizing:border-box;cursor:", function (_ref3) {
64
- var isManualInput = _ref3.isManualInput;
65
- return isManualInput ? 'text' : 'default';
66
- }, ";pointer-events:", function (_ref4) {
67
- var isManualInput = _ref4.isManualInput;
68
- return isManualInput ? 'initial' : 'none';
69
- }, ";transition:width 0.1s;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTBDbUYiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZX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1pY0lucHV0ID0gc3R5bGVkLmRpdmBcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXQgPSBzdHlsZWQuaW5wdXQ8eyBkeW5hbWljV2lkdGg6IHN0cmluZzsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGFwcGVhcmFuY2U6IG5vbmU7XG4gICAgYm9yZGVyOiAwO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgb3V0bGluZTogbm9uZTtcbiAgICB3aWR0aDogJHsoeyBkeW5hbWljV2lkdGggfSkgPT4gZHluYW1pY1dpZHRofTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */"));
70
- var InputWidthHelper = exports.InputWidthHelper = /*#__PURE__*/(0, _base["default"])("span", {
71
- target: "e15d8t3l0",
72
- label: "plasma-new-hope__InputWidthHelper"
73
- })(process.env.NODE_ENV === "production" ? {
74
- name: "1lglqkg",
75
- styles: "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre"
76
- } : {
77
- name: "1lglqkg",
78
- styles: "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre",
79
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdEMkMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoc3Bpbm5lckNvbmZpZyk7XG5jb25zdCBTcGlubmVyID0gY29tcG9uZW50KG1lcmdlZENvbmZpZyk7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdyYXBwZXIgPSBzdHlsZWQuZGl2PHsgaXNNYW51YWxJbnB1dDogYm9vbGVhbiB9PmBcbiAgICBvdmVyZmxvdy14OiBhdXRvO1xuICAgIG92ZXJmbG93LXk6IGhpZGRlbjtcbiAgICBmbGV4OiAxO1xuICAgIG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Agb3V0bGluZTogbm9uZTtcbiAgICB3aWR0aDogJHsoeyBkeW5hbWljV2lkdGggfSkgPT4gZHluYW1pY1dpZHRofTtcbiAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgIGN1cnNvcjogJHsoeyBpc01hbnVhbElucHV0IH0pID0+IChpc01hbnVhbElucHV0ID8gJ3RleHQnIDogJ2RlZmF1bHQnKX07XG4gICAgcG9pbnRlci1ldmVudHM6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWxJbnB1dCA/ICdpbml0aWFsJyA6ICdub25lJyl9O1xuICAgIHRyYW5zaXRpb246IHdpZHRoIDAuMXM7XG5gO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXaWR0aEhlbHBlciA9IHN0eWxlZC5zcGFuYFxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICB6LWluZGV4OiAtOTk5O1xuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcbiAgICB0b3A6IDA7XG4gICAgbGVmdDogMDtcbiAgICBvcGFjaXR5OiAwO1xuICAgIGhlaWdodDogMDtcbiAgICB3aGl0ZS1zcGFjZTogcHJlO1xuYDtcbiJdfQ== */",
80
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
81
- });
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "ActionButton", {
7
- enumerable: true,
8
- get: function get() {
9
- return _ActionButton.ActionButton;
10
- }
11
- });
12
- Object.defineProperty(exports, "NumberInput", {
13
- enumerable: true,
14
- get: function get() {
15
- return _Input.NumberInput;
16
- }
17
- });
18
- var _ActionButton = /*#__PURE__*/require("./ActionButton/ActionButton");
19
- var _Input = /*#__PURE__*/require("./Input/Input");
@@ -1,9 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.numberSchema = exports.excludingNumberSchema = exports.defaultCharacterWidth = void 0;
7
- var defaultCharacterWidth = exports.defaultCharacterWidth = '1ch';
8
- var numberSchema = exports.numberSchema = /^(-)?\d+(\.\d+)?$/;
9
- var excludingNumberSchema = exports.excludingNumberSchema = /[^-.\d]/g;
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.base = void 0;
7
- var _react = /*#__PURE__*/require("@emotion/react");
8
- var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
9
- var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _react.css)(_Input.InputWrapper, "{background-color:var(", _NumberInput.tokens.backgroundColor, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColor, ");&.", _NumberInput.classes.manualInput, ":hover{background-color:var(", _NumberInput.tokens.backgroundColorHover, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorHover, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fYmFja2dyb3VuZC10eXBlL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fYmFja2dyb3VuZC10eXBlL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL051bWJlcklucHV0LnRva2Vucyc7XG5pbXBvcnQgeyBJbnB1dFdyYXBwZXIgfSBmcm9tICcuLi8uLi91aS9JbnB1dC9JbnB1dC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAke0lucHV0V3JhcHBlcn0ge1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuYmFja2dyb3VuZENvbG9yfSk7XG4gICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke3Rva2Vucy5pbnB1dFdyYXBwZXJCb3JkZXJXaWR0aH0pIHZhcigke3Rva2Vucy5ib3JkZXJDb2xvcn0pO1xuXG4gICAgICAgICYuJHtjbGFzc2VzLm1hbnVhbElucHV0fTpob3ZlciB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuYmFja2dyb3VuZENvbG9ySG92ZXJ9KTtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke3Rva2Vucy5pbnB1dFdyYXBwZXJCb3JkZXJXaWR0aH0pIHZhcigke3Rva2Vucy5ib3JkZXJDb2xvckhvdmVyfSk7XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl19 */"));
@@ -1,6 +0,0 @@
1
- [
2
- "--plasma-number-input_background-color",
3
- "--plasma-number-input_background-color-hover",
4
- "--plasma-number-input_border-color",
5
- "--plasma-number-input_border-color-hover"
6
- ]
@@ -1,9 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.base = void 0;
7
- var _react = /*#__PURE__*/require("@emotion/react");
8
- var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
9
- var base = exports.base = /*#__PURE__*/(0, _react.css)("&&.", _NumberInput.classes.disabled, "{pointer-events:none;opacity:var(", _NumberInput.tokens.disabledOpacity, ");cursor:not-allowed;};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fZGlzYWJsZWQvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC92YXJpYXRpb25zL19kaXNhYmxlZC9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9OdW1iZXJJbnB1dC50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmJi4ke2NsYXNzZXMuZGlzYWJsZWR9IHtcbiAgICAgICAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gICAgICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcbiAgICAgICAgY3Vyc29yOiBub3QtYWxsb3dlZDtcbiAgICB9XG5gO1xuIl19 */"));
@@ -1,4 +0,0 @@
1
- {
2
- "type": "boolean",
3
- "tokens": ["--plasma-number-input_disabled-opacity"]
4
- }