@salutejs/plasma-new-hope 0.174.0-canary.1505.11518120718.0 → 0.174.0-canary.1511.11518967304.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (407) hide show
  1. package/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -27
  2. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  3. package/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -9
  4. package/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js.map +1 -1
  5. package/cjs/components/NumberInput/NumberInput.css +54 -0
  6. package/cjs/components/NumberInput/NumberInput.js +188 -0
  7. package/cjs/components/NumberInput/NumberInput.js.map +1 -0
  8. package/cjs/components/NumberInput/NumberInput.styles.js +9 -0
  9. package/cjs/components/NumberInput/NumberInput.styles.js.map +1 -0
  10. package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  11. package/cjs/components/NumberInput/NumberInput.tokens.js +90 -0
  12. package/cjs/components/NumberInput/NumberInput.tokens.js.map +1 -0
  13. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +19 -0
  14. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  15. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +22 -0
  16. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  17. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  18. package/cjs/components/NumberInput/ui/Input/Input.css +15 -0
  19. package/cjs/components/NumberInput/ui/Input/Input.js +190 -0
  20. package/cjs/components/NumberInput/ui/Input/Input.js.map +1 -0
  21. package/cjs/components/NumberInput/ui/Input/Input.styles.js +96 -0
  22. package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  23. package/cjs/components/NumberInput/ui/Input/Input.styles_jszc0c.css +8 -0
  24. package/cjs/components/NumberInput/utils/index.js +8 -0
  25. package/cjs/components/NumberInput/utils/index.js.map +1 -0
  26. package/cjs/components/NumberInput/variations/_background-type/base.js +9 -0
  27. package/cjs/components/NumberInput/variations/_background-type/base.js.map +1 -0
  28. package/cjs/components/NumberInput/variations/_background-type/base_1jmdljr.css +1 -0
  29. package/cjs/components/NumberInput/variations/_clear/base.js +9 -0
  30. package/cjs/components/NumberInput/variations/_clear/base.js.map +1 -0
  31. package/cjs/components/NumberInput/variations/_clear/base_3l8dqb.css +1 -0
  32. package/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  33. package/cjs/components/NumberInput/variations/_disabled/base.js.map +1 -0
  34. package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  35. package/cjs/components/NumberInput/variations/_segmentation/base.js +9 -0
  36. package/cjs/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  37. package/cjs/components/NumberInput/variations/_segmentation/base_nl8ve.css +1 -0
  38. package/cjs/components/NumberInput/variations/_shape/base.js +9 -0
  39. package/cjs/components/NumberInput/variations/_shape/base.js.map +1 -0
  40. package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  41. package/cjs/components/NumberInput/variations/_size/base.js +9 -0
  42. package/cjs/components/NumberInput/variations/_size/base.js.map +1 -0
  43. package/cjs/components/NumberInput/variations/_size/base_1pju5qf.css +1 -0
  44. package/cjs/components/NumberInput/variations/_view/base.js +9 -0
  45. package/cjs/components/NumberInput/variations/_view/base.js.map +1 -0
  46. package/cjs/components/NumberInput/variations/_view/base_cghr9q.css +1 -0
  47. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  48. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  49. package/cjs/components/Select/Select.js +25 -13
  50. package/cjs/components/Select/Select.js.map +1 -1
  51. package/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
  52. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  53. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  54. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  55. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  56. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  57. package/cjs/components/Select/utils/getButtonLabel.js +1 -1
  58. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  59. package/cjs/components/Select/utils/initialItemsTransform.js +6 -9
  60. package/cjs/components/Select/utils/initialItemsTransform.js.map +1 -1
  61. package/cjs/index.css +25 -0
  62. package/cjs/index.js +6 -0
  63. package/cjs/index.js.map +1 -1
  64. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -26
  65. package/emotion/cjs/components/Combobox/ComboboxNew/utils/index.js +1 -8
  66. package/emotion/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -19
  67. package/emotion/cjs/components/NumberInput/NumberInput.js +198 -0
  68. package/emotion/cjs/components/NumberInput/NumberInput.styles.js +17 -0
  69. package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +87 -0
  70. package/emotion/cjs/components/NumberInput/NumberInput.types.js +5 -0
  71. package/emotion/cjs/components/NumberInput/index.js +31 -0
  72. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  73. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +16 -0
  74. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  75. package/emotion/cjs/components/NumberInput/ui/Input/Input.js +198 -0
  76. package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +82 -0
  77. package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  78. package/emotion/cjs/components/NumberInput/ui/index.js +19 -0
  79. package/emotion/cjs/components/NumberInput/utils/index.js +7 -0
  80. package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  81. package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  82. package/emotion/cjs/components/NumberInput/variations/_clear/base.js +12 -0
  83. package/emotion/cjs/components/NumberInput/variations/_clear/tokens.json +5 -0
  84. package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  85. package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  86. package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  87. package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  88. package/emotion/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  89. package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  90. package/emotion/cjs/components/NumberInput/variations/_size/base.js +13 -0
  91. package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  92. package/emotion/cjs/components/NumberInput/variations/_view/base.js +13 -0
  93. package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  94. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  95. package/emotion/cjs/components/Select/Select.js +25 -12
  96. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
  97. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  98. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  99. package/emotion/cjs/components/Select/utils/getButtonLabel.js +1 -1
  100. package/emotion/cjs/components/Select/utils/index.js +1 -8
  101. package/emotion/cjs/components/Select/utils/initialItemsTransform.js +6 -19
  102. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -6
  103. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +48 -0
  104. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  105. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +109 -0
  106. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -6
  107. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +48 -0
  108. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  109. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +109 -0
  110. package/emotion/cjs/index.js +11 -0
  111. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +23 -27
  112. package/emotion/es/components/Combobox/ComboboxNew/utils/index.js +1 -2
  113. package/emotion/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -19
  114. package/emotion/es/components/NumberInput/NumberInput.js +190 -0
  115. package/emotion/es/components/NumberInput/NumberInput.styles.js +11 -0
  116. package/emotion/es/components/NumberInput/NumberInput.tokens.js +81 -0
  117. package/emotion/es/components/NumberInput/NumberInput.types.js +1 -0
  118. package/emotion/es/components/NumberInput/index.js +2 -0
  119. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  120. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +9 -0
  121. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  122. package/emotion/es/components/NumberInput/ui/Input/Input.js +189 -0
  123. package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +75 -0
  124. package/emotion/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  125. package/emotion/es/components/NumberInput/ui/index.js +2 -0
  126. package/emotion/es/components/NumberInput/utils/index.js +1 -0
  127. package/emotion/es/components/NumberInput/variations/_background-type/base.js +4 -0
  128. package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  129. package/emotion/es/components/NumberInput/variations/_clear/base.js +6 -0
  130. package/emotion/es/components/NumberInput/variations/_clear/tokens.json +5 -0
  131. package/emotion/es/components/NumberInput/variations/_disabled/base.js +3 -0
  132. package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  133. package/emotion/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  134. package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  135. package/emotion/es/components/NumberInput/variations/_shape/base.js +5 -0
  136. package/emotion/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  137. package/emotion/es/components/NumberInput/variations/_size/base.js +7 -0
  138. package/emotion/es/components/NumberInput/variations/_size/tokens.json +22 -0
  139. package/emotion/es/components/NumberInput/variations/_view/base.js +7 -0
  140. package/emotion/es/components/NumberInput/variations/_view/tokens.json +14 -0
  141. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  142. package/emotion/es/components/Select/Select.js +26 -13
  143. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
  144. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  145. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  146. package/emotion/es/components/Select/utils/getButtonLabel.js +1 -1
  147. package/emotion/es/components/Select/utils/index.js +1 -2
  148. package/emotion/es/components/Select/utils/initialItemsTransform.js +6 -19
  149. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -6
  150. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +42 -0
  151. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  152. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +109 -0
  153. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -6
  154. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +42 -0
  155. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  156. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +109 -0
  157. package/emotion/es/index.js +2 -1
  158. package/es/components/Combobox/ComboboxNew/Combobox.js +22 -27
  159. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  160. package/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -9
  161. package/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js.map +1 -1
  162. package/es/components/NumberInput/NumberInput.css +54 -0
  163. package/es/components/NumberInput/NumberInput.js +183 -0
  164. package/es/components/NumberInput/NumberInput.js.map +1 -0
  165. package/es/components/NumberInput/NumberInput.styles.js +5 -0
  166. package/es/components/NumberInput/NumberInput.styles.js.map +1 -0
  167. package/es/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  168. package/es/components/NumberInput/NumberInput.tokens.js +84 -0
  169. package/es/components/NumberInput/NumberInput.tokens.js.map +1 -0
  170. package/es/components/NumberInput/ui/ActionButton/ActionButton.js +15 -0
  171. package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  172. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +18 -0
  173. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  174. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  175. package/es/components/NumberInput/ui/Input/Input.css +15 -0
  176. package/es/components/NumberInput/ui/Input/Input.js +186 -0
  177. package/es/components/NumberInput/ui/Input/Input.js.map +1 -0
  178. package/es/components/NumberInput/ui/Input/Input.styles.js +85 -0
  179. package/es/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  180. package/es/components/NumberInput/ui/Input/Input.styles_jszc0c.css +8 -0
  181. package/es/components/NumberInput/utils/index.js +4 -0
  182. package/es/components/NumberInput/utils/index.js.map +1 -0
  183. package/es/components/NumberInput/variations/_background-type/base.js +5 -0
  184. package/es/components/NumberInput/variations/_background-type/base.js.map +1 -0
  185. package/es/components/NumberInput/variations/_background-type/base_1jmdljr.css +1 -0
  186. package/es/components/NumberInput/variations/_clear/base.js +5 -0
  187. package/es/components/NumberInput/variations/_clear/base.js.map +1 -0
  188. package/es/components/NumberInput/variations/_clear/base_3l8dqb.css +1 -0
  189. package/es/components/NumberInput/variations/_disabled/base.js +5 -0
  190. package/es/components/NumberInput/variations/_disabled/base.js.map +1 -0
  191. package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  192. package/es/components/NumberInput/variations/_segmentation/base.js +5 -0
  193. package/es/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  194. package/es/components/NumberInput/variations/_segmentation/base_nl8ve.css +1 -0
  195. package/es/components/NumberInput/variations/_shape/base.js +5 -0
  196. package/es/components/NumberInput/variations/_shape/base.js.map +1 -0
  197. package/es/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  198. package/es/components/NumberInput/variations/_size/base.js +5 -0
  199. package/es/components/NumberInput/variations/_size/base.js.map +1 -0
  200. package/es/components/NumberInput/variations/_size/base_1pju5qf.css +1 -0
  201. package/es/components/NumberInput/variations/_view/base.js +5 -0
  202. package/es/components/NumberInput/variations/_view/base.js.map +1 -0
  203. package/es/components/NumberInput/variations/_view/base_cghr9q.css +1 -0
  204. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  205. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  206. package/es/components/Select/Select.js +26 -14
  207. package/es/components/Select/Select.js.map +1 -1
  208. package/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
  209. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  210. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  211. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  212. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  213. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  214. package/es/components/Select/utils/getButtonLabel.js +1 -1
  215. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  216. package/es/components/Select/utils/initialItemsTransform.js +6 -9
  217. package/es/components/Select/utils/initialItemsTransform.js.map +1 -1
  218. package/es/index.css +25 -0
  219. package/es/index.js +2 -0
  220. package/es/index.js.map +1 -1
  221. package/package.json +2 -2
  222. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -26
  223. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/index.js +1 -8
  224. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -19
  225. package/styled-components/cjs/components/NumberInput/NumberInput.js +198 -0
  226. package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +8 -0
  227. package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +87 -0
  228. package/styled-components/cjs/components/NumberInput/NumberInput.types.js +5 -0
  229. package/styled-components/cjs/components/NumberInput/index.js +31 -0
  230. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  231. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +15 -0
  232. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  233. package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +198 -0
  234. package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +49 -0
  235. package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  236. package/styled-components/cjs/components/NumberInput/ui/index.js +19 -0
  237. package/styled-components/cjs/components/NumberInput/utils/index.js +7 -0
  238. package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  239. package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  240. package/styled-components/cjs/components/NumberInput/variations/_clear/base.js +12 -0
  241. package/styled-components/cjs/components/NumberInput/variations/_clear/tokens.json +5 -0
  242. package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  243. package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  244. package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  245. package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  246. package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  247. package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  248. package/styled-components/cjs/components/NumberInput/variations/_size/base.js +13 -0
  249. package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  250. package/styled-components/cjs/components/NumberInput/variations/_view/base.js +13 -0
  251. package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  252. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  253. package/styled-components/cjs/components/Select/Select.js +25 -12
  254. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
  255. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  256. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  257. package/styled-components/cjs/components/Select/utils/getButtonLabel.js +1 -1
  258. package/styled-components/cjs/components/Select/utils/index.js +1 -8
  259. package/styled-components/cjs/components/Select/utils/initialItemsTransform.js +6 -19
  260. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -6
  261. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +48 -0
  262. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  263. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +109 -0
  264. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -6
  265. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +48 -0
  266. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  267. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +109 -0
  268. package/styled-components/cjs/index.js +11 -0
  269. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +23 -27
  270. package/styled-components/es/components/Combobox/ComboboxNew/utils/index.js +1 -2
  271. package/styled-components/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +5 -19
  272. package/styled-components/es/components/NumberInput/NumberInput.js +190 -0
  273. package/styled-components/es/components/NumberInput/NumberInput.styles.js +2 -0
  274. package/styled-components/es/components/NumberInput/NumberInput.tokens.js +81 -0
  275. package/styled-components/es/components/NumberInput/NumberInput.types.js +1 -0
  276. package/styled-components/es/components/NumberInput/index.js +2 -0
  277. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  278. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +8 -0
  279. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  280. package/styled-components/es/components/NumberInput/ui/Input/Input.js +189 -0
  281. package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +42 -0
  282. package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  283. package/styled-components/es/components/NumberInput/ui/index.js +2 -0
  284. package/styled-components/es/components/NumberInput/utils/index.js +1 -0
  285. package/styled-components/es/components/NumberInput/variations/_background-type/base.js +4 -0
  286. package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  287. package/styled-components/es/components/NumberInput/variations/_clear/base.js +6 -0
  288. package/styled-components/es/components/NumberInput/variations/_clear/tokens.json +5 -0
  289. package/styled-components/es/components/NumberInput/variations/_disabled/base.js +3 -0
  290. package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  291. package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  292. package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  293. package/styled-components/es/components/NumberInput/variations/_shape/base.js +5 -0
  294. package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  295. package/styled-components/es/components/NumberInput/variations/_size/base.js +7 -0
  296. package/styled-components/es/components/NumberInput/variations/_size/tokens.json +22 -0
  297. package/styled-components/es/components/NumberInput/variations/_view/base.js +7 -0
  298. package/styled-components/es/components/NumberInput/variations/_view/tokens.json +14 -0
  299. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  300. package/styled-components/es/components/Select/Select.js +26 -13
  301. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
  302. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  303. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  304. package/styled-components/es/components/Select/utils/getButtonLabel.js +1 -1
  305. package/styled-components/es/components/Select/utils/index.js +1 -2
  306. package/styled-components/es/components/Select/utils/initialItemsTransform.js +6 -19
  307. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -6
  308. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +42 -0
  309. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  310. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +109 -0
  311. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -6
  312. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +42 -0
  313. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  314. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +109 -0
  315. package/styled-components/es/index.js +2 -1
  316. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  317. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +3 -14
  318. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  319. package/types/components/Combobox/ComboboxNew/utils/index.d.ts +0 -1
  320. package/types/components/Combobox/ComboboxNew/utils/index.d.ts.map +1 -1
  321. package/types/components/Combobox/ComboboxNew/utils/initialItemsTransform.d.ts.map +1 -1
  322. package/types/components/NumberInput/NumberInput.d.ts +42 -0
  323. package/types/components/NumberInput/NumberInput.d.ts.map +1 -0
  324. package/types/components/NumberInput/NumberInput.styles.d.ts +2 -0
  325. package/types/components/NumberInput/NumberInput.styles.d.ts.map +1 -0
  326. package/types/components/NumberInput/NumberInput.tokens.d.ts +76 -0
  327. package/types/components/NumberInput/NumberInput.tokens.d.ts.map +1 -0
  328. package/types/components/NumberInput/NumberInput.types.d.ts +112 -0
  329. package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -0
  330. package/types/components/NumberInput/index.d.ts +3 -0
  331. package/types/components/NumberInput/index.d.ts.map +1 -0
  332. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +4 -0
  333. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +1 -0
  334. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +45 -0
  335. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +1 -0
  336. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +7 -0
  337. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +1 -0
  338. package/types/components/NumberInput/ui/Input/Input.d.ts +16 -0
  339. package/types/components/NumberInput/ui/Input/Input.d.ts.map +1 -0
  340. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +30 -0
  341. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +1 -0
  342. package/types/components/NumberInput/ui/Input/Input.types.d.ts +16 -0
  343. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -0
  344. package/types/components/NumberInput/ui/index.d.ts +3 -0
  345. package/types/components/NumberInput/ui/index.d.ts.map +1 -0
  346. package/types/components/NumberInput/utils/index.d.ts +2 -0
  347. package/types/components/NumberInput/utils/index.d.ts.map +1 -0
  348. package/types/components/NumberInput/variations/_background-type/base.d.ts +2 -0
  349. package/types/components/NumberInput/variations/_background-type/base.d.ts.map +1 -0
  350. package/types/components/NumberInput/variations/_clear/base.d.ts +2 -0
  351. package/types/components/NumberInput/variations/_clear/base.d.ts.map +1 -0
  352. package/types/components/NumberInput/variations/_disabled/base.d.ts +2 -0
  353. package/types/components/NumberInput/variations/_disabled/base.d.ts.map +1 -0
  354. package/types/components/NumberInput/variations/_segmentation/base.d.ts +2 -0
  355. package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +1 -0
  356. package/types/components/NumberInput/variations/_shape/base.d.ts +2 -0
  357. package/types/components/NumberInput/variations/_shape/base.d.ts.map +1 -0
  358. package/types/components/NumberInput/variations/_size/base.d.ts +2 -0
  359. package/types/components/NumberInput/variations/_size/base.d.ts.map +1 -0
  360. package/types/components/NumberInput/variations/_view/base.d.ts +2 -0
  361. package/types/components/NumberInput/variations/_view/base.d.ts.map +1 -0
  362. package/types/components/Select/Select.d.ts.map +1 -1
  363. package/types/components/Select/Select.types.d.ts +0 -1
  364. package/types/components/Select/Select.types.d.ts.map +1 -1
  365. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +2 -2
  366. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  367. package/types/components/Select/ui/Target/Target.types.d.ts +2 -2
  368. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  369. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +4 -4
  370. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  371. package/types/components/Select/utils/index.d.ts +0 -1
  372. package/types/components/Select/utils/index.d.ts.map +1 -1
  373. package/types/components/Select/utils/initialItemsTransform.d.ts.map +1 -1
  374. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +6 -30
  375. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  376. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +41 -0
  377. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  378. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +84 -0
  379. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -0
  380. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +6 -30
  381. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  382. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +41 -0
  383. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  384. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +84 -0
  385. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -0
  386. package/types/index.d.ts +1 -0
  387. package/types/index.d.ts.map +1 -1
  388. package/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -21
  389. package/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js.map +0 -1
  390. package/cjs/components/Select/utils/getInitialValue.js +0 -21
  391. package/cjs/components/Select/utils/getInitialValue.js.map +0 -1
  392. package/emotion/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -20
  393. package/emotion/cjs/components/Select/utils/getInitialValue.js +0 -20
  394. package/emotion/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -14
  395. package/emotion/es/components/Select/utils/getInitialValue.js +0 -14
  396. package/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -17
  397. package/es/components/Combobox/ComboboxNew/utils/getInitialValue.js.map +0 -1
  398. package/es/components/Select/utils/getInitialValue.js +0 -17
  399. package/es/components/Select/utils/getInitialValue.js.map +0 -1
  400. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -20
  401. package/styled-components/cjs/components/Select/utils/getInitialValue.js +0 -20
  402. package/styled-components/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +0 -14
  403. package/styled-components/es/components/Select/utils/getInitialValue.js +0 -14
  404. package/types/components/Combobox/ComboboxNew/utils/getInitialValue.d.ts +0 -4
  405. package/types/components/Combobox/ComboboxNew/utils/getInitialValue.d.ts.map +0 -1
  406. package/types/components/Select/utils/getInitialValue.d.ts +0 -4
  407. package/types/components/Select/utils/getInitialValue.d.ts.map +0 -1
@@ -0,0 +1,189 @@
1
+ var _StyledSpinner;
2
+ var _excluded = ["value", "min", "max", "isLoading", "loader", "disabled", "segmentation", "textBefore", "textAfter", "isManualInput", "setInnerValue", "onChange", "onBlur", "onKeyDown"];
3
+ 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); }
4
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
+ 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."); }
6
+ 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); }
7
+ 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; }
8
+ 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; } }
9
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
+ 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; }
11
+ 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; }
12
+ import React, { forwardRef, useEffect, useRef, useState } from 'react';
13
+ import { useForkRef } from '@salutejs/plasma-core';
14
+ import { classes } from '../../NumberInput.tokens';
15
+ import { cx, isNumber } from '../../../../utils';
16
+ import { useDidMountEffect } from '../../../../hooks';
17
+ import { numberPettern } from '../../utils';
18
+ import { keyCodes } from '../../../../utils/constants';
19
+ import { AdditionalText, Input, InputWrapper, DynamicInput, InputWidthHelper, TextWrapper, StyledSpinner, Loader } from './Input.styles';
20
+ export var NumberInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
21
+ var value = _ref.value,
22
+ min = _ref.min,
23
+ max = _ref.max,
24
+ isLoading = _ref.isLoading,
25
+ loader = _ref.loader,
26
+ disabled = _ref.disabled,
27
+ segmentation = _ref.segmentation,
28
+ textBefore = _ref.textBefore,
29
+ textAfter = _ref.textAfter,
30
+ isManualInput = _ref.isManualInput,
31
+ setInnerValue = _ref.setInnerValue,
32
+ onChange = _ref.onChange,
33
+ onBlur = _ref.onBlur,
34
+ onKeyDown = _ref.onKeyDown,
35
+ rest = _objectWithoutProperties(_ref, _excluded);
36
+ var _useState = useState(value ? "".concat(String(value).length, "ch") : '1ch'),
37
+ _useState2 = _slicedToArray(_useState, 2),
38
+ dynamicWidth = _useState2[0],
39
+ setDynamicWidth = _useState2[1];
40
+ var _useState3 = useState(Number(value)),
41
+ _useState4 = _slicedToArray(_useState3, 2),
42
+ lastValidValue = _useState4[0],
43
+ setLastValidValue = _useState4[1];
44
+ var _useState5 = useState(undefined),
45
+ _useState6 = _slicedToArray(_useState5, 2),
46
+ errorClass = _useState6[0],
47
+ setErrorClass = _useState6[1];
48
+ var _useState7 = useState(),
49
+ _useState8 = _slicedToArray(_useState7, 2),
50
+ errorValue = _useState8[0],
51
+ setErrorValue = _useState8[1];
52
+ var inputHelperRef = useRef(null);
53
+ var wrapperRef = useRef(null);
54
+ var textWrapperRef = useRef(null);
55
+ var inputRef = useRef(null);
56
+ var inputForkRef = useForkRef(inputRef, ref);
57
+ var solidViewClass = segmentation === 'solid' ? classes.solidView : undefined;
58
+ var handleClickInputWrapper = function handleClickInputWrapper() {
59
+ var _inputRef$current;
60
+ if (!isManualInput) {
61
+ return;
62
+ }
63
+ inputRef === null || inputRef === void 0 || (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
64
+ };
65
+ var getInputWidth = function getInputWidth() {
66
+ var _inputHelperRef$curre;
67
+ var firstRender = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
68
+ if (!firstRender && (_inputHelperRef$curre = inputHelperRef.current) !== null && _inputHelperRef$curre !== void 0 && _inputHelperRef$curre.clientWidth) {
69
+ var _inputHelperRef$curre2;
70
+ return "".concat((_inputHelperRef$curre2 = inputHelperRef.current) === null || _inputHelperRef$curre2 === void 0 ? void 0 : _inputHelperRef$curre2.clientWidth, "px");
71
+ }
72
+ if (value) {
73
+ return "".concat(String(value).length, "ch");
74
+ }
75
+ return '1ch';
76
+ };
77
+ var setValues = function setValues(event, newValue) {
78
+ setLastValidValue(newValue);
79
+ setInnerValue(newValue);
80
+ if (onChange) {
81
+ onChange(event, newValue);
82
+ }
83
+ };
84
+ var handleManualInputChange = function handleManualInputChange(event) {
85
+ var _textWrapperRef$curre, _wrapperRef$current;
86
+ if (!isManualInput || disabled) {
87
+ return;
88
+ }
89
+ var newValue = event.target.value;
90
+ if (!newValue) {
91
+ setInnerValue('');
92
+ if (onChange) {
93
+ onChange(event, '');
94
+ }
95
+ return;
96
+ }
97
+ var cleanValue = newValue.replace(/[^-.\d]/g, '');
98
+ if (cleanValue.endsWith('.')) {
99
+ setInnerValue(cleanValue);
100
+ if (onChange) {
101
+ onChange(event, cleanValue);
102
+ }
103
+ return;
104
+ }
105
+ var isValid = numberPettern.test(cleanValue);
106
+ if (!isValid) {
107
+ setValues(event, lastValidValue);
108
+ return;
109
+ }
110
+ var resValue = Number(cleanValue);
111
+ if (max && resValue > max) {
112
+ setErrorClass(classes.errorAnimation);
113
+ setErrorValue(max);
114
+ return;
115
+ }
116
+ if (min && resValue < min) {
117
+ setErrorClass(classes.errorAnimation);
118
+ setErrorValue(min);
119
+ return;
120
+ }
121
+ 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)) {
122
+ wrapperRef.current.scrollLeft = textWrapperRef.current.offsetWidth - textWrapperRef.current.offsetLeft || 0;
123
+ }
124
+ setValues(event, resValue);
125
+ };
126
+ var handleBlur = function handleBlur(event) {
127
+ if (!value || !isNumber(value)) {
128
+ setValues(null, lastValidValue);
129
+ } else if (String(value).endsWith('.')) {
130
+ setValues(null, Number(value));
131
+ }
132
+ if (onBlur) {
133
+ onBlur(event);
134
+ }
135
+ };
136
+ var handleKeyDown = function handleKeyDown(event) {
137
+ if (!isManualInput || disabled) {
138
+ return;
139
+ }
140
+ if (event.keyCode === keyCodes.Enter) {
141
+ event.preventDefault();
142
+ if (!value || !isNumber(value)) {
143
+ setValues(null, lastValidValue);
144
+ } else if (String(value).endsWith('.')) {
145
+ setValues(null, Number(value));
146
+ }
147
+ if (onKeyDown) {
148
+ onKeyDown(event);
149
+ }
150
+ }
151
+ };
152
+ var handleEndErrorAnimation = function handleEndErrorAnimation(correctValue) {
153
+ setErrorClass(undefined);
154
+ setValues(null, correctValue);
155
+ };
156
+ useEffect(function () {
157
+ setDynamicWidth(getInputWidth());
158
+ }, []);
159
+ useDidMountEffect(function () {
160
+ setDynamicWidth(getInputWidth(false));
161
+ }, [value]);
162
+ return /*#__PURE__*/React.createElement(InputWrapper, {
163
+ ref: wrapperRef,
164
+ className: cx(solidViewClass),
165
+ isManualInput: Boolean(isManualInput),
166
+ onClick: handleClickInputWrapper
167
+ }, /*#__PURE__*/React.createElement(TextWrapper, {
168
+ ref: textWrapperRef
169
+ }, textBefore && /*#__PURE__*/React.createElement(AdditionalText, {
170
+ className: classes.textBefore
171
+ }, textBefore), isLoading ? /*#__PURE__*/React.createElement(Loader, null, loader || _StyledSpinner || (_StyledSpinner = /*#__PURE__*/React.createElement(StyledSpinner, null))) : /*#__PURE__*/React.createElement(DynamicInput, null, /*#__PURE__*/React.createElement(Input, _extends({
172
+ ref: inputForkRef,
173
+ className: cx(errorClass),
174
+ dynamicWidth: dynamicWidth,
175
+ value: value,
176
+ isManualInput: Boolean(isManualInput),
177
+ tabIndex: disabled || !isManualInput ? -1 : 0,
178
+ onChange: handleManualInputChange,
179
+ onBlur: handleBlur,
180
+ onKeyDown: handleKeyDown,
181
+ onAnimationEnd: function onAnimationEnd() {
182
+ return handleEndErrorAnimation(Number(errorValue));
183
+ }
184
+ }, rest)), /*#__PURE__*/React.createElement(InputWidthHelper, {
185
+ ref: inputHelperRef
186
+ }, value)), textAfter && /*#__PURE__*/React.createElement(AdditionalText, {
187
+ className: classes.textAfter
188
+ }, textAfter)));
189
+ });
@@ -0,0 +1,75 @@
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
+ import { component, mergeConfig } from '../../../../engines';
4
+ import { spinnerConfig } from '../../../Spinner';
5
+ import { classes, tokens } from '../../NumberInput.tokens';
6
+ var mergedConfig = /*#__PURE__*/mergeConfig(spinnerConfig);
7
+ var Spinner = /*#__PURE__*/component(mergedConfig);
8
+ export var InputWrapper = /*#__PURE__*/_styled("div", {
9
+ target: "e15d8t3l7",
10
+ label: "plasma-new-hope__InputWrapper"
11
+ })("overflow-x:auto;overflow-y:hidden;flex:1;cursor:", function (_ref) {
12
+ var isManualInput = _ref.isManualInput;
13
+ return isManualInput ? 'text' : 'default';
14
+ }, ";::-webkit-scrollbar{display:none;}scrollbar-width:none;overscroll-behavior:contain;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVNrRSIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL051bWJlcklucHV0L3VpL0lucHV0L0lucHV0LnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuaW1wb3J0IHsgY29tcG9uZW50LCBtZXJnZUNvbmZpZyB9IGZyb20gJy4uLy4uLy4uLy4uL2VuZ2luZXMnO1xuaW1wb3J0IHsgc3Bpbm5lckNvbmZpZyB9IGZyb20gJy4uLy4uLy4uL1NwaW5uZXInO1xuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vTnVtYmVySW5wdXQudG9rZW5zJztcblxuY29uc3QgbWVyZ2VkQ29uZmlnID0gbWVyZ2VDb25maWcoc3Bpbm5lckNvbmZpZyk7XG5jb25zdCBTcGlubmVyID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AgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgwLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgNTAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDE7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA2Mi41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDc1JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA4Ny41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDEwMCUge1xuICAgICAgICAgICAgb3BhY2l0eTogMDtcbiAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgtMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IElucHV0V2lkdGhIZWxwZXIgPSBzdHlsZWQuc3BhbmBcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgei1pbmRleDogLTk5OTtcbiAgICB2aXNpYmlsaXR5OiBoaWRkZW47XG4gICAgdG9wOiAwO1xuICAgIGxlZnQ6IDA7XG4gICAgb3BhY2l0eTogMDtcbiAgICBoZWlnaHQ6IDA7XG4gICAgd2hpdGUtc3BhY2U6IHByZTtcbmA7XG4iXX0= */"));
15
+ export var TextWrapper = /*#__PURE__*/_styled("div", {
16
+ target: "e15d8t3l6",
17
+ label: "plasma-new-hope__TextWrapper"
18
+ })(process.env.NODE_ENV === "production" ? {
19
+ name: "zvqxgx",
20
+ styles: "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box"
21
+ } : {
22
+ name: "zvqxgx",
23
+ styles: "display:flex;align-items:center;justify-content:center;width:fit-content;margin:0 auto;box-sizing:border-box",
24
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCcUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL051bWJlcklucHV0LnRva2Vucyc7XG5cbmNvbnN0IG1lcmdlZENvbmZpZyA9IG1lcmdlQ29uZmlnKHNwaW5uZXJDb25maWcpO1xuY29uc3QgU3Bpbm5lciA9IGNvbXBvbmVudChtZXJnZWRDb25maWcpO1xuXG5leHBvcnQgY29uc3QgSW5wdXRXcmFwcGVyID0gc3R5bGVkLmRpdjx7IGlzTWFudWFsSW5wdXQ6IGJvb2xlYW4gfT5gXG4gICAgb3ZlcmZsb3cteDogYXV0bztcbiAgICBvdmVyZmxvdy15OiBoaWRkZW47XG4gICAgZmxleDogMTtcbiAgICBjdXJzb3I6ICR7KHsgaXNNYW51YWxJbnB1dCB9KSA9PiAoaXNNYW51YWx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uMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */",
25
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
26
+ });
27
+ export var AdditionalText = /*#__PURE__*/_styled("span", {
28
+ target: "e15d8t3l5",
29
+ label: "plasma-new-hope__AdditionalText"
30
+ })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlDeUMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1d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G4gICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuZXJyb3JDb2xvcn0pO1xuICAgICAgICBhbmltYXRpb246IHNoYWtpbmdFcnJvciAwLjVzIGZvcndhcmRzO1xuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgc2hha2luZ0Vycm9yIHtcbiAgICAgICAgMCUge1xuICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgfVxuICAgICAgICAxMi41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDI1JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAzNy41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDUwJSB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgNjIuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */");
31
+ export var Loader = /*#__PURE__*/_styled("div", {
32
+ target: "e15d8t3l4",
33
+ label: "plasma-new-hope__Loader"
34
+ })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1DZ0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb25maWcgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL051bWJlcklucHV0LnRva2Vucyc7XG5cbmNvbnN0IG1lcmdlZENvbmZpZyA9IG1lcmdlQ29uZmlnKHNwaW5uZXJDb25maWcpO1xuY29uc3QgU3B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gICAzNy41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDUwJSB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgNjIuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */");
35
+ export var StyledSpinner = /*#__PURE__*/_styled(Spinner, {
36
+ target: "e15d8t3l3",
37
+ label: "plasma-new-hope__StyledSpinner"
38
+ })(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY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Uge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */");
39
+ export var DynamicInput = /*#__PURE__*/_styled("div", {
40
+ target: "e15d8t3l2",
41
+ label: "plasma-new-hope__DynamicInput"
42
+ })(process.env.NODE_ENV === "production" ? {
43
+ name: "bjn8wh",
44
+ styles: "position:relative"
45
+ } : {
46
+ name: "bjn8wh",
47
+ styles: "position:relative",
48
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVDc0MiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3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VzIGZvcndhcmRzO1xuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgc2hha2luZ0Vycm9yIHtcbiAgICAgICAgMCUge1xuICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgfVxuICAgICAgICAxMi41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDI1JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAzNy41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDUwJSB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgNjIuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */",
49
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
50
+ });
51
+ export var Input = /*#__PURE__*/_styled("input", {
52
+ target: "e15d8t3l1",
53
+ label: "plasma-new-hope__Input"
54
+ })("box-sizing:border-box;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:", function (_ref2) {
55
+ var dynamicWidth = _ref2.dynamicWidth;
56
+ return dynamicWidth;
57
+ }, ";box-sizing:border-box;cursor:", function (_ref3) {
58
+ var isManualInput = _ref3.isManualInput;
59
+ return isManualInput ? 'text' : 'default';
60
+ }, ";pointer-events:", function (_ref4) {
61
+ var isManualInput = _ref4.isManualInput;
62
+ return isManualInput ? 'initial' : 'none';
63
+ }, ";transition:width 0.1s;&&.", classes.errorAnimation, "{color:var(", tokens.errorColor, ");animation:shakingError 0.5s forwards;}@keyframes shakingError{0%{opacity:1;}12.5%{transform:translateX(0.188rem);}25%{transform:translateX(-0.188rem);}37.5%{transform:translateX(0.188rem);}50%{opacity:1;transform:translateX(-0.188rem);}62.5%{transform:translateX(0.188rem);}75%{transform:translateX(-0.188rem);}87.5%{transform:translateX(0.188rem);}100%{opacity:0;transform:translateX(-0.188rem);}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJDbUYiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24v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2VzLmVycm9yQW5pbWF0aW9ufSB7XG4gICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuZXJyb3JDb2xvcn0pO1xuICAgICAgICBhbmltYXRpb246IHNoYWtpbmdFcnJvciAwLjVzIGZvcndhcmRzO1xuICAgIH1cblxuICAgIEBrZXlmcmFtZXMgc2hha2luZ0Vycm9yIHtcbiAgICAgICAgMCUge1xuICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgfVxuICAgICAgICAxMi41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDI1JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAzNy41JSB7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xODhyZW0pO1xuICAgICAgICB9XG4gICAgICAgIDUwJSB7XG4gICAgICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgNjIuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICA3NSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjE4OHJlbSk7XG4gICAgICAgIH1cbiAgICAgICAgODcuNSUge1xuICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTg4cmVtKTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBJbnB1dFdpZHRoSGVscGVyID0gc3R5bGVkLnNwYW5gXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHotaW5kZXg6IC05OTk7XG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgIHRvcDogMDtcbiAgICBsZWZ0OiAwO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgaGVpZ2h0OiAwO1xuICAgIHdoaXRlLXNwYWNlOiBwcmU7XG5gO1xuIl19 */"));
64
+ export var InputWidthHelper = /*#__PURE__*/_styled("span", {
65
+ target: "e15d8t3l0",
66
+ label: "plasma-new-hope__InputWidthHelper"
67
+ })(process.env.NODE_ENV === "production" ? {
68
+ name: "1lglqkg",
69
+ styles: "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre"
70
+ } : {
71
+ name: "1lglqkg",
72
+ styles: "position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre",
73
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdWkvSW5wdXQvSW5wdXQuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQThGMkMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC91aS9JbnB1dC9JbnB1dC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHNwaW5uZXJDb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XNwYWNlOiBwcmU7XG5gO1xuIl19 */",
74
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
75
+ });
@@ -0,0 +1,2 @@
1
+ export { ActionButton } from './ActionButton/ActionButton';
2
+ export { NumberInput } from './Input/Input';
@@ -0,0 +1 @@
1
+ export var numberPettern = /^(-)?\d+(\.\d+)?$/;
@@ -0,0 +1,4 @@
1
+ import { css } from '@emotion/react';
2
+ import { tokens } from '../../NumberInput.tokens';
3
+ import { InputWrapper } from '../../ui/Input/Input.styles';
4
+ export var base = /*#__PURE__*/css(InputWrapper, "{background-color:var(", tokens.backgroundColor, ");box-shadow:inset 0 0 0 var(", tokens.inputWrapperBorderWidth, ") var(", tokens.borderColor, ");&:hover{background-color:var(", tokens.backgroundColorHover, ");box-shadow:inset 0 0 0 var(", tokens.inputWrapperBorderWidth, ") var(", tokens.borderColorHover, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fYmFja2dyb3VuZC10eXBlL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fYmFja2dyb3VuZC10eXBlL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uL051bWJlcklucHV0LnRva2Vucyc7XG5pbXBvcnQgeyBJbnB1dFdyYXBwZXIgfSBmcm9tICcuLi8uLi91aS9JbnB1dC9JbnB1dC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAke0lucHV0V3JhcHBlcn0ge1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuYmFja2dyb3VuZENvbG9yfSk7XG4gICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke3Rva2Vucy5pbnB1dFdyYXBwZXJCb3JkZXJXaWR0aH0pIHZhcigke3Rva2Vucy5ib3JkZXJDb2xvcn0pO1xuXG4gICAgICAgICY6aG92ZXIge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLmJhY2tncm91bmRDb2xvckhvdmVyfSk7XG4gICAgICAgICAgICBib3gtc2hhZG93OiBpbnNldCAwIDAgMCB2YXIoJHt0b2tlbnMuaW5wdXRXcmFwcGVyQm9yZGVyV2lkdGh9KSB2YXIoJHt0b2tlbnMuYm9yZGVyQ29sb3JIb3Zlcn0pO1xuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -0,0 +1,6 @@
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
+ ]
@@ -0,0 +1,6 @@
1
+ import { css } from '@emotion/react';
2
+ import { classes, tokens } from '../../NumberInput.tokens';
3
+ import { iconButtonTokens } from '../../../IconButton';
4
+ import { StyledIconButton } from '../../ui/ActionButton/ActionButton.styles';
5
+ import { AdditionalText, Input, InputWrapper } from '../../ui/Input/Input.styles';
6
+ export var base = /*#__PURE__*/css("&.", classes.clearView, "{background:transparent;", StyledIconButton, "{", iconButtonTokens.iconButtonColor, ":var(", tokens.iconButtonColorClear, ");", iconButtonTokens.iconButtonBackgroundColor, ":transparent;", iconButtonTokens.iconButtonColorHover, ":var(", tokens.iconButtonColorClear, ");", iconButtonTokens.iconButtonBackgroundColorHover, ":transparent;", iconButtonTokens.iconButtonColorActive, ":var(", tokens.iconButtonColorClear, ");", iconButtonTokens.iconButtonBackgroundColorActive, ":transparent;:hover,:active{color:var(", tokens.iconButtonColorClear, ");background-color:transparent;}&.", classes.actionButtonDecrementDisabled, ",&.", classes.actionButtonIncrementDisabled, "{:hover,:active{color:var(", tokens.iconButtonColorClear, ");background-color:transparent;}}}&& ", InputWrapper, "{background-color:transparent;box-shadow:transparent;&:focus-within{background-color:var(", tokens.backgroundColorFocus, ");box-shadow:inset 0 0 0 var(", tokens.inputWrapperBorderWidth, ") var(", tokens.borderColorFocus, ");}}", Input, "{caret-color:var(", tokens.caretColor, ");&:not(.", classes.errorAnimation, "){color:var(", tokens.colorClear, ");}}", AdditionalText, "{color:var(", tokens.additionalTextColorClear, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC92YXJpYXRpb25zL19jbGVhci9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9OdW1iZXJJbnB1dC50b2tlbnMnO1xuaW1wb3J0IHsgaWNvbkJ1dHRvblRva2VucyB9IGZyb20gJy4uLy4uLy4uL0ljb25CdXR0b24nO1xuaW1wb3J0IHsgU3R5bGVkSWNvbkJ1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AgY29sb3I6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3JDbGVhcn0pO1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xuICAgICAgICAgICAgfVxuICAgIFxuICAgICAgICAgICAgJi4ke2NsYXNzZXMuYWN0aW9uQnV0dG9uRGVjcmVtZW50RGlzYWJsZWR9LCAmLiR7Y2xhc3Nlcy5hY3Rpb25CdXR0b25JbmNyZW1lbnREaXNhYmxlZH0ge1xuICAgICAgICAgICAgICAgIDpob3ZlcixcbiAgICAgICAgICAgICAgICA6YWN0aXZlIHtcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uQ29sb3JDbGVhcn0pO1xuICAgICAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgJiYgJHtJbnB1dFdyYXBwZXJ9e1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgICAgICAgICBib3gtc2hhZG93OiB0cmFuc3BhcmVudDtcbiAgICAgICAgICAgIFxuICAgICAgICAgICAgJjpmb2N1cy13aXRoaW4ge1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5iYWNrZ3JvdW5kQ29sb3JGb2N1c30pO1xuICAgICAgICAgICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke3Rva2Vucy5pbnB1dFdyYXBwZXJCb3JkZXJXaWR0aH0pIHZhcigke3Rva2Vucy5ib3JkZXJDb2xvckZvY3VzfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgJHtJbnB1dH0ge1xuICAgICAgICAgICAgY2FyZXQtY29sb3I6IHZhcigke3Rva2Vucy5jYXJldENvbG9yfSk7XG5cbiAgICAgICAgICAgICY6bm90KC4ke2NsYXNzZXMuZXJyb3JBbmltYXRpb259KXtcbiAgICAgICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNvbG9yQ2xlYXJ9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIFxuICAgICAgICAke0FkZGl0aW9uYWxUZXh0fSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmFkZGl0aW9uYWxUZXh0Q29sb3JDbGVhcn0pO1xuICAgICAgICB9XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -0,0 +1,5 @@
1
+ [
2
+ "--plasma-number-input_icon-button_color-clear",
3
+ "--plasma-number-input_color-clear",
4
+ "--plasma-number-input_additional-text_color-clear"
5
+ ]
@@ -0,0 +1,3 @@
1
+ import { css } from '@emotion/react';
2
+ import { classes, tokens } from '../../NumberInput.tokens';
3
+ export var base = /*#__PURE__*/css("&&.", classes.disabled, "{pointer-events:none;opacity:var(", tokens.disabledOpacity, ");cursor:not-allowed;};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fZGlzYWJsZWQvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC92YXJpYXRpb25zL19kaXNhYmxlZC9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9OdW1iZXJJbnB1dC50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmJi4ke2NsYXNzZXMuZGlzYWJsZWR9IHtcbiAgICAgICAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gICAgICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5kaXNhYmxlZE9wYWNpdHl9KTtcbiAgICAgICAgY3Vyc29yOiBub3QtYWxsb3dlZDtcbiAgICB9XG5gO1xuIl19 */"));
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "boolean",
3
+ "tokens": ["--plasma-number-input_disabled-opacity"]
4
+ }
@@ -0,0 +1,6 @@
1
+ import { css } from '@emotion/react';
2
+ import { classes, privateTokens, tokens } from '../../NumberInput.tokens';
3
+ import { StyledIconButton } from '../../ui/ActionButton/ActionButton.styles';
4
+ import { AdditionalText, Input, InputWrapper, StyledSpinner } from '../../ui/Input/Input.styles';
5
+ import { spinnerTokens } from '../../../Spinner';
6
+ export var base = /*#__PURE__*/css(StyledIconButton, "{", privateTokens.segmentationBorderRadius, ":var(", tokens.iconButtonRadius, ");&.", classes.segmentedView, ",&.", classes.solidView, "{", privateTokens.segmentationBorderRadius, ":var(", tokens.iconButtonSegmentationRadius, ", var(", tokens.iconButtonRadius, "));}&.", classes.actionButtonDecrement, "{border-radius:var(", tokens.iconButtonRadius, ") var(", privateTokens.segmentationBorderRadius, ") var(", privateTokens.segmentationBorderRadius, ") var(", tokens.iconButtonRadius, ");}&.", classes.actionButtonIncrement, "{border-radius:var(", privateTokens.segmentationBorderRadius, ") var(", tokens.iconButtonRadius, ") var(", tokens.iconButtonRadius, ") var(", privateTokens.segmentationBorderRadius, ");}&.", classes.solidView, "{background:transparent;:hover{background-color:var(", tokens.iconButtonBackgroundColorHover, ");}:active{background-color:var(", tokens.iconButtonBackgroundColorActive, ");}&.", classes.actionButtonDecrementDisabled, ",&.", classes.actionButtonIncrementDisabled, "{:hover,:active{background-color:transparent;}}}&.", classes.solidView, "{&.", classes.actionButtonDecrementDisabled, ",&.", classes.actionButtonIncrementDisabled, "{opacity:1;svg{opacity:var(", tokens.actionButtonDisabledOpacity, ");}:hover,:active{svg{opacity:var(", tokens.actionButtonDisabledOpacity, ");}}}}}&.", classes.solidView, "{background:var(", tokens.backgroundColorSolid, ");border-radius:var(", tokens.iconButtonRadius, ");", InputWrapper, "{position:relative;color:var(", tokens.colorSolid, ");&:focus-within{background-color:var(", tokens.backgroundColorSolidFocus, ");box-shadow:inset 0 0 0 var(", tokens.inputWrapperBorderWidth, ") var(", tokens.borderColorSolidFocus, ");}}", StyledSpinner, "{", spinnerTokens.color, ":var(", tokens.loaderSpinnerColorSolid, ");}", Input, "{caret-color:var(", tokens.caretColorSolid, ", var(", tokens.caretColor, "));&:not(.", classes.errorAnimation, "){color:var(", tokens.colorSolid, ");}}", AdditionalText, "{color:var(", tokens.additionalTextColorSolid, ");}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2VnbWVudGF0aW9uL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2VnbWVudGF0aW9uL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHByaXZhdGVUb2tlbnMsIHRva2VucyB9IGZyb20gJy4uLy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ICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuc29saWRWaWV3fSB7XG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5hY3Rpb25CdXR0b25EZWNyZW1lbnREaXNhYmxlZH0sICYuJHtjbGFzc2VzLmFjdGlvbkJ1dHRvbkluY3JlbWVudERpc2FibGVkfSB7XG4gICAgICAgICAgICAgICAgb3BhY2l0eTogMTtcblxuICAgICAgICAgICAgICAgIHN2ZyB7XG4gICAgICAgICAgICAgICAgICAgIG9wYWNpdHk6IHZhcigke3Rva2Vucy5hY3Rpb25CdXR0b25EaXNhYmxlZE9wYWNpdHl9KTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICA6aG92ZXIsXG4gICAgICAgICAgICAgICAgOmFjdGl2ZSB7XG4gICAgICAgICAgICAgICAgICAgIHN2ZyB7XG4gICAgICAgICAgICAgICAgICAgICAgICBvcGFjaXR5OiB2YXIoJHt0b2tlbnMuYWN0aW9uQnV0dG9uRGlzYWJsZWRPcGFjaXR5fSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmLiR7Y2xhc3Nlcy5zb2xpZFZpZXd9IHtcbiAgICAgICAgYmFja2dyb3VuZDogdmFyKCR7dG9rZW5zLmJhY2tncm91bmRDb2xvclNvbGlkfSk7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5pY29uQnV0dG9uUmFkaXVzfSk7XG5cbiAgICAgICAgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY29sb3JTb2xpZH0pO1xuICAgICAgICAgICAgXG4gICAgICAgICAgICAmOmZvY3VzLXdpdGhpbiB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLmJhY2tncm91bmRDb2xvclNvbGlkRm9jdXN9KTtcbiAgICAgICAgICAgICAgICBib3gtc2hhZG93OiBpbnNldCAwIDAgMCB2YXIoJHt0b2tlbnMuaW5wdXRXcmFwcGVyQm9yZGVyV2lkdGh9KSB2YXIoJHt0b2tlbnMuYm9yZGVyQ29sb3JTb2xpZEZvY3VzfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgJHtTdHlsZWRTcGlubmVyfSB7XG4gICAgICAgICAgICAke3NwaW5uZXJUb2tlbnMuY29sb3J9OiB2YXIoJHt0b2tlbnMubG9hZGVyU3Bpbm5lckNvbG9yU29saWR9KTtcbiAgICAgICAgfVxuICAgIFxuICAgICAgICAke0lucHV0fSB7XG4gICAgICAgICAgICBjYXJldC1jb2xvcjogdmFyKCR7dG9rZW5zLmNhcmV0Q29sb3JTb2xpZH0sIHZhcigke3Rva2Vucy5jYXJldENvbG9yfSkpO1xuXG4gICAgICAgICAgICAmOm5vdCguJHtjbGFzc2VzLmVycm9yQW5pbWF0aW9ufSl7XG4gICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jb2xvclNvbGlkfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICBcbiAgICAgICAgJHtBZGRpdGlvbmFsVGV4dH0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5hZGRpdGlvbmFsVGV4dENvbG9yU29saWR9KTtcbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
@@ -0,0 +1 @@
1
+ ["--plasma-number-input_icon-button_segmentation_radius", "--plasma-number-input_background-color-solid"]
@@ -0,0 +1,5 @@
1
+ import { css } from '@emotion/react';
2
+ import { tokens } from '../../NumberInput.tokens';
3
+ import { iconButtonTokens } from '../../../IconButton';
4
+ import { StyledIconButton } from '../../ui/ActionButton/ActionButton.styles';
5
+ export var base = /*#__PURE__*/css(StyledIconButton, "{", iconButtonTokens.iconButtonRadius, ":var(", tokens.iconButtonRadius, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2hhcGUvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9OdW1iZXJJbnB1dC92YXJpYXRpb25zL19zaGFwZS9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyB0b2tlbnMgfSBmcm9tICcuLi8uLi9OdW1iZXJJbnB1dC50b2tlbnMnO1xuaW1wb3J0IHsgaWNvbkJ1dHRvblRva2VucyB9IGZyb20gJy4uLy4uLy4uL0ljb25CdXR0b24nO1xuaW1wb3J0IHsgU3R5bGVkSWNvbkJ1dHRvbiB9IGZyb20gJy4uLy4uL3VpL0FjdGlvbkJ1dHRvbi9BY3Rpb25CdXR0b24uc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJHtTdHlsZWRJY29uQnV0dG9ufSB7XG4gICAgICAgICR7aWNvbkJ1dHRvblRva2Vucy5pY29uQnV0dG9uUmFkaXVzfTogdmFyKCR7dG9rZW5zLmljb25CdXR0b25SYWRpdXN9KTtcbiAgICB9XG5gO1xuIl19 */"));
@@ -0,0 +1 @@
1
+ ["--plasma-number-input_icon-button_radius"]
@@ -0,0 +1,7 @@
1
+ import { css } from '@emotion/react';
2
+ import { classes, privateTokens, tokens } from '../../NumberInput.tokens';
3
+ import { iconButtonTokens } from '../../../IconButton';
4
+ import { StyledIconButton } from '../../ui/ActionButton/ActionButton.styles';
5
+ import { AdditionalText, DynamicInput, Input, InputWrapper, StyledSpinner, TextWrapper } from '../../ui/Input/Input.styles';
6
+ import { spinnerTokens } from '../../../Spinner';
7
+ export var base = /*#__PURE__*/css("width:var(", privateTokens.inputWidth, ");min-width:var(", tokens.rootMinWidth, ");", StyledIconButton, "{", iconButtonTokens.iconButtonHeight, ":var(", tokens.iconButtonHeight, ");", iconButtonTokens.iconButtonWidth, ":var(", tokens.iconButtonWidth, ");", iconButtonTokens.iconButtonPadding, ":var(", tokens.iconButtonPadding, ");", iconButtonTokens.iconButtonFontFamily, ":var(", tokens.iconButtonFontFamily, ");", iconButtonTokens.iconButtonFontSize, ":var(", tokens.iconButtonFontSize, ");", iconButtonTokens.iconButtonFontStyle, ":var(", tokens.iconButtonFontStyle, ");", iconButtonTokens.iconButtonFontWeight, ":var(", tokens.iconButtonFontWeight, ");", iconButtonTokens.iconButtonLetterSpacing, ":var(", tokens.iconButtonLetterSpacing, ");", iconButtonTokens.iconButtonLineHeight, ":var(", tokens.iconButtonLineHeight, ");}", InputWrapper, "{margin:var(", tokens.inputWrapperMargin, ");border-radius:var(", tokens.inputWrapperBorderRadius, ");}", TextWrapper, "{height:var(", tokens.textWrapperHeight, ");padding:var(", tokens.textWrapperPadding, ");}", DynamicInput, ",", Input, ",", AdditionalText, "{font-family:var(", tokens.fontFamily, ");font-size:var(", tokens.fontSize, ");font-style:var(", tokens.fontStyle, ");font-weight:var(", tokens.fontWeight, ");letter-spacing:var(", tokens.letterSpacing, ");line-height:var(", tokens.lineHeight, ");}", AdditionalText, "{&.", classes.textBefore, "{margin-right:var(", tokens.textBeforeMarginRight, ");}&.", classes.textAfter, "{margin-left:var(", tokens.textAfterMarginLeft, ");}}", StyledSpinner, "{", spinnerTokens.size, ":var(", tokens.loaderSpinnerSize, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fc2l6ZS9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWV1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL051bWJlcklucHV0L3ZhcmlhdGlvbnMvX3NpemUvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgcHJpdmF0ZVRva2VucywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vTnVtYmVySW5wdXQudG9rZW5zJztcbmltcG9ydCB7IGljb25CdXR0b25Ub2tlbnMgfSBmcm9tICcuLi8uLi8uLi9JY29uQnV0dG9uJztcbmltcG9ydCB7IFN0eWxlZEljb25CdXR0b24gfSBmcm9tICcuLi8uLi91aS9BY3Rpb25CdXR0b24vQWN0aW9uQnV0dG9uLnN0eWxlcyc7XG5pbXBvcnQge1xuICAgIEFkZGl0aW9uYWxUZXh0LFxuICAgIER5bmFtaWNJbnB1dCxcbiAgICBJbnB1dCxcbiAgICBJbnB1dFdyYXBwZXIsXG4gICAgU3R5bGVkU3Bpbm5lcixcbiAgICBUZXh0V3JhcHBlcixcbn0gZnJvbSAnLi4vLi4vdWkvSW5wdXQvSW5wdXQuc3R5bGVzJztcbmltcG9ydCB7IHNwaW5uZXJUb2tlbnMgfSBmcm9tICcuLi8uLi8uLi9TcGlubmVyJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgd2lkdGg6IHZhcigke3ByaXZhdGVUb2tlbnMuaW5wdXRXaWR0aH0pO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ge1xuICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IHZhcigke3Rva2Vucy50ZXh0QWZ0ZXJNYXJnaW5MZWZ0fSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAke1N0eWxlZFNwaW5uZXJ9IHtcbiAgICAgICAgJHtzcGlubmVyVG9rZW5zLnNpemV9OiB2YXIoJHt0b2tlbnMubG9hZGVyU3Bpbm5lclNpemV9KTtcbiAgICB9XG5gO1xuIl19 */"));
@@ -0,0 +1,22 @@
1
+ [
2
+ "--plasma-number-input_icon-button_height",
3
+ "--plasma-number-input_icon-button_width",
4
+ "--plasma-number-input_icon-button_padding",
5
+ "--plasma-number-input_icon-button_font-family",
6
+ "--plasma-number-input_icon-button_font-size",
7
+ "--plasma-number-input_icon-button_font-style",
8
+ "--plasma-number-input_icon-button_font-weight",
9
+ "--plasma-number-input_icon-button_letter-spacing",
10
+ "--plasma-number-input_icon-button_line-height",
11
+ "--plasma-number-input_font-family",
12
+ "--plasma-number-input_font-style",
13
+ "--plasma-number-input_font-size",
14
+ "--plasma-number-input_font-weight",
15
+ "--plasma-number-input_letter-spacing",
16
+ "--plasma-number-input_line-height",
17
+ "--plasma-number-input_text-wrapper_height",
18
+ "--plasma-number-input_text-wrapper_padding",
19
+ "--plasma-number-input_loader-spinner_size",
20
+ "--plasma-number-input_text-before_margin-right",
21
+ "--plasma-number-input_text-after_margin-left"
22
+ ]
@@ -0,0 +1,7 @@
1
+ import { css } from '@emotion/react';
2
+ import { classes, tokens } from '../../NumberInput.tokens';
3
+ import { iconButtonTokens } from '../../../IconButton';
4
+ import { StyledIconButton } from '../../ui/ActionButton/ActionButton.styles';
5
+ import { AdditionalText, Input, InputWrapper, StyledSpinner } from '../../ui/Input/Input.styles';
6
+ import { spinnerTokens } from '../../../Spinner';
7
+ export var base = /*#__PURE__*/css(StyledIconButton, "{", iconButtonTokens.iconButtonColor, ":var(", tokens.iconButtonColor, ");", iconButtonTokens.iconButtonBackgroundColor, ":var(", tokens.iconButtonBackgroundColor, ");", iconButtonTokens.iconButtonColorHover, ":var(", tokens.iconButtonColorHover, ");", iconButtonTokens.iconButtonBackgroundColorHover, ":var(", tokens.iconButtonBackgroundColorHover, ");", iconButtonTokens.iconButtonColorActive, ":var(", tokens.iconButtonColorActive, ");", iconButtonTokens.iconButtonBackgroundColorActive, ":var(", tokens.iconButtonBackgroundColorActive, ");&.", classes.actionButtonDecrementDisabled, ",&.", classes.actionButtonIncrementDisabled, "{opacity:var(", tokens.actionButtonDisabledOpacity, ");cursor:not-allowed;:hover,:active{scale:none;color:var(", tokens.iconButtonColor, ");background-color:var(", tokens.iconButtonBackgroundColor, ");}}}&& ", InputWrapper, "{&:focus-within{background-color:var(", tokens.backgroundColorFocus, ");box-shadow:inset 0 0 0 var(", tokens.inputWrapperBorderWidth, ") var(", tokens.borderColorFocus, ");}}", StyledSpinner, "{", spinnerTokens.color, ":var(", tokens.loaderSpinnerColor, ");}", Input, "{color:var(", tokens.color, ");caret-color:var(", tokens.caretColor, ");}", AdditionalText, "{color:var(", tokens.additionalTextColor, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVF1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL051bWJlcklucHV0L3ZhcmlhdGlvbnMvX3ZpZXcvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4v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ke3NwaW5uZXJUb2tlbnMuY29sb3J9OiB2YXIoJHt0b2tlbnMubG9hZGVyU3Bpbm5lckNvbG9yfSk7XG4gICAgfVxuXG4gICAgJHtJbnB1dH0ge1xuICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNvbG9yfSk7XG4gICAgICAgIGNhcmV0LWNvbG9yOiB2YXIoJHt0b2tlbnMuY2FyZXRDb2xvcn0pO1xuICAgIH1cblxuICAgICR7QWRkaXRpb25hbFRleHR9IHtcbiAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5hZGRpdGlvbmFsVGV4dENvbG9yfSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -0,0 +1,14 @@
1
+ [
2
+ "--plasma-number-input_icon-button_color",
3
+ "--plasma-number-input_icon-button_background-color",
4
+ "--plasma-number-input_icon-button_color-hover",
5
+ "--plasma-number-input_icon-button_background-color-hover",
6
+ "--plasma-number-input_icon-button_color-active",
7
+ "--plasma-number-input_icon-button_background-color-active",
8
+ "--plasma-number-input_loader-spinner_color",
9
+ "--plasma-number-input_color",
10
+ "--plasma-number-input_additional-text_color",
11
+ "--plasma-number-input_action-button_disabled-opacity",
12
+ "--plasma-number-input_background-color-focus",
13
+ "--plasma-number-input_border-color-focus"
14
+ ]
@@ -17,8 +17,8 @@ export var PaginationSelectPerPage = function PaginationSelectPerPage(_ref) {
17
17
  listWidth = _ref.listWidth,
18
18
  rest = _objectWithoutProperties(_ref, _excluded);
19
19
  var handleSelectChange = function handleSelectChange(newValue) {
20
- if (newValue && !Array.isArray(newValue) && onChangeValue) {
21
- onChangeValue(Number(newValue));
20
+ if (newValue) {
21
+ onChangeValue === null || onChangeValue === void 0 || onChangeValue(Number(newValue));
22
22
  }
23
23
  };
24
24
  var transformedList = perPageList.map(function (num) {
@@ -12,7 +12,7 @@ import React, { forwardRef, useState, useReducer, useMemo, createContext, useLay
12
12
  import { isEmpty, getPlacements } from '../../utils';
13
13
  import { useOutsideClick } from '../../hooks';
14
14
  import { useKeyNavigation } from './hooks/useKeyboardNavigation';
15
- import { initialItemsTransform, updateAncestors, updateDescendants, updateSingleAncestors, getView, getInitialValue } from './utils';
15
+ import { initialItemsTransform, updateAncestors, updateDescendants, updateSingleAncestors, getView } from './utils';
16
16
  import { Inner, Target } from './ui';
17
17
  import { pathReducer, focusedPathReducer, focusedChipIndexReducer } from './reducers';
18
18
  import { usePathMaps } from './hooks/usePathMaps';
@@ -58,6 +58,17 @@ export var selectRoot = function selectRoot(Root) {
58
58
  separator = props.separator,
59
59
  outerCloseAfterSelect = props.closeAfterSelect,
60
60
  rest = _objectWithoutProperties(props, _excluded);
61
+ var _useState = useState(outerValue || props.multiselect ? [] : ''),
62
+ _useState2 = _slicedToArray(_useState, 2),
63
+ internalValue = _useState2[0],
64
+ setInternalValue = _useState2[1];
65
+ var value = outerValue || internalValue;
66
+ var onChange = function onChange(e) {
67
+ if (outerOnChange) {
68
+ outerOnChange(e);
69
+ }
70
+ setInternalValue(e);
71
+ };
61
72
  var transformedItems = useMemo(function () {
62
73
  return initialItemsTransform(items || []);
63
74
  }, [items]);
@@ -67,12 +78,6 @@ export var selectRoot = function selectRoot(Root) {
67
78
  focusedToValueMap = _usePathMaps2[1],
68
79
  valueToCheckedMap = _usePathMaps2[2],
69
80
  valueToItemMap = _usePathMaps2[3];
70
- var value = getInitialValue(outerValue, valueToItemMap);
71
- var onChange = function onChange(e) {
72
- if (outerOnChange) {
73
- outerOnChange(e);
74
- }
75
- };
76
81
  var _useReducer = useReducer(pathReducer, []),
77
82
  _useReducer2 = _slicedToArray(_useReducer, 2),
78
83
  path = _useReducer2[0],
@@ -85,10 +90,10 @@ export var selectRoot = function selectRoot(Root) {
85
90
  _useReducer6 = _slicedToArray(_useReducer5, 2),
86
91
  focusedChipIndex = _useReducer6[0],
87
92
  dispatchFocusedChipIndex = _useReducer6[1];
88
- var _useState = useState(valueToCheckedMap),
89
- _useState2 = _slicedToArray(_useState, 2),
90
- checked = _useState2[0],
91
- setChecked = _useState2[1];
93
+ var _useState3 = useState(valueToCheckedMap),
94
+ _useState4 = _slicedToArray(_useState3, 2),
95
+ checked = _useState4[0],
96
+ setChecked = _useState4[1];
92
97
  var closeAfterSelect = outerCloseAfterSelect !== null && outerCloseAfterSelect !== void 0 ? outerCloseAfterSelect : !props.multiselect;
93
98
  var targetRef = useOutsideClick(function () {
94
99
  if (focusedChipIndex != null) {
@@ -154,7 +159,15 @@ export var selectRoot = function selectRoot(Root) {
154
159
  if (e) {
155
160
  e.stopPropagation();
156
161
  }
157
- var isCurrentChecked = checked.get(item.value);
162
+ var checkedCopy = new Map(checked);
163
+ var isCurrentChecked = checkedCopy.get(item.value);
164
+ checkedCopy.forEach(function (_, key) {
165
+ checkedCopy.set(key, false);
166
+ });
167
+ if (!isCurrentChecked) {
168
+ checkedCopy.set(item.value, 'done');
169
+ updateSingleAncestors(item, checkedCopy, 'dot');
170
+ }
158
171
  if (closeAfterSelect) {
159
172
  dispatchPath({
160
173
  type: 'reset'
@@ -226,7 +239,7 @@ export var selectRoot = function selectRoot(Root) {
226
239
  }
227
240
  }
228
241
  setChecked(checkedCopy);
229
- }, [outerValue, items]);
242
+ }, [value]);
230
243
  return /*#__PURE__*/React.createElement(Root, _extends({
231
244
  ref: ref,
232
245
  size: size,
@@ -153,7 +153,7 @@ export var useKeyNavigation = function useKeyNavigation(_ref) {
153
153
  }
154
154
  case keys.Backspace:
155
155
  {
156
- if (!multiselect || !Array.isArray(value)) break;
156
+ if (!multiselect) break;
157
157
  if (focusedChipIndex !== null) {
158
158
  var _currentItem = valueToItemMap.get(value[focusedChipIndex]);
159
159
  handlePressDown(_currentItem);