@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 +0,0 @@
1
- {"version":3,"file":"ActionButton.styles.js","sources":["../../../../../src/components/NumberInput/ui/ActionButton/ActionButton.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { iconButtonConfig } from '../../../IconButton';\nimport { component, mergeConfig } from '../../../../engines';\n\nconst mergedIconButtonConfig = mergeConfig(iconButtonConfig);\nconst IconButton = component(mergedIconButtonConfig);\n\nexport const StyledIconButton = styled(IconButton)``;\n"],"names":["mergedIconButtonConfig","mergeConfig","iconButtonConfig","IconButton","component","_exp","StyledIconButton","styled","name","class","propsAsIs"],"mappings":";;;;AAKA,IAAMA,sBAAsB,gBAAGC,WAAW,CAACC,gBAAgB,CAAC,CAAA;AAC5D,IAAMC,UAAU,gBAAGC,SAAS,CAACJ,sBAAsB,CAAC,CAAA;AAAC,IAAAK,IAAA,GALnCA,SAKmCA,IAAAA,GAAA;AAAA,EAAA,OAEdF,UAAU,CAAA;AAAA,CAAA,CAAA;AAA1C,IAAMG,gBAAgB,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,kBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAAc;;;;"}
@@ -1,15 +0,0 @@
1
- .base_1gusher_b1chvyq8__76b641f5{color:var(--plasma-spinner-color);}
2
-
3
- .base_ova69f_bw56nfh__55225c7f{width:var(--plasma-spinner-size);height:var(--plasma-spinner-size);}
4
-
5
- .Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
6
- .Spinner_styles_13q7ndk_s122r4cn__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:var(--s122r4cn-0);height:var(--s122r4cn-1);-webkit-animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;}@-webkit-keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}
7
-
8
- .Input_styles_fhgb95_i1s8bsh6__3bed5c8f{overflow-x:auto;overflow-y:hidden;-webkit-flex:1;-ms-flex:1;flex:1;cursor:var(--i1s8bsh6-0);-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;overscroll-behavior:contain;}.Input_styles_fhgb95_i1s8bsh6__3bed5c8f::-webkit-scrollbar{display:none;}
9
- .Input_styles_fhgb95_t6wb9c__3bed5c8f{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:0 auto;box-sizing:border-box;}
10
-
11
-
12
-
13
- .Input_styles_fhgb95_d1n4jo6t__3bed5c8f{position:relative;}
14
- .Input_styles_fhgb95_i1tgbhg7__3bed5c8f{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:var(--i1tgbhg7-0);box-sizing:border-box;cursor:var(--i1tgbhg7-1);pointer-events:var(--i1tgbhg7-2);-webkit-transition:width 0.1s;transition:width 0.1s;}
15
- .Input_styles_fhgb95_i1il5xze__3bed5c8f{position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre;}
@@ -1,200 +0,0 @@
1
- import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React, { forwardRef, useState, useRef, useEffect } from 'react';
3
- import { useForkRef } from '@salutejs/plasma-core';
4
- import { classes } from '../../NumberInput.tokens.js';
5
- import { cx } from '../../../../utils/index.js';
6
- import { defaultCharacterWidth, excludingNumberSchema, numberSchema } from '../../utils/index.js';
7
- import { keyCodes } from '../../../../utils/constants.js';
8
- import { InputWrapper, TextWrapper, AdditionalText, Loader, StyledSpinner, DynamicInput, Input, InputWidthHelper } from './Input.styles.js';
9
- import { useDidMountEffect } from '../../../../hooks/useDidMountEffect.js';
10
- import { isNumber } from '../../../../utils/isNumber.js';
11
-
12
- var _StyledSpinner;
13
- var _excluded = ["value", "min", "max", "isLoading", "loader", "disabled", "segmentation", "textBefore", "textAfter", "isManualInput", "isInputFocused", "setIsInputFocused", "setIsAnimationRun", "setInnerValue", "onChange", "onBlur", "onKeyDown"];
14
- var NumberInput = /*#__PURE__*/forwardRef(function (_ref, ref) {
15
- var value = _ref.value,
16
- min = _ref.min,
17
- max = _ref.max,
18
- isLoading = _ref.isLoading,
19
- loader = _ref.loader,
20
- disabled = _ref.disabled,
21
- segmentation = _ref.segmentation,
22
- textBefore = _ref.textBefore,
23
- textAfter = _ref.textAfter,
24
- isManualInput = _ref.isManualInput,
25
- isInputFocused = _ref.isInputFocused,
26
- setIsInputFocused = _ref.setIsInputFocused,
27
- setIsAnimationRun = _ref.setIsAnimationRun,
28
- setInnerValue = _ref.setInnerValue,
29
- onChange = _ref.onChange,
30
- onBlur = _ref.onBlur,
31
- onKeyDown = _ref.onKeyDown,
32
- rest = _objectWithoutProperties(_ref, _excluded);
33
- var _useState = useState(value ? "".concat(String(value).length, "ch") : defaultCharacterWidth),
34
- _useState2 = _slicedToArray(_useState, 2),
35
- dynamicWidth = _useState2[0],
36
- setDynamicWidth = _useState2[1];
37
- var _useState3 = useState(Number(value)),
38
- _useState4 = _slicedToArray(_useState3, 2),
39
- lastValidValue = _useState4[0],
40
- setLastValidValue = _useState4[1];
41
- var _useState5 = useState(undefined),
42
- _useState6 = _slicedToArray(_useState5, 2),
43
- errorClass = _useState6[0],
44
- setErrorClass = _useState6[1];
45
- var _useState7 = useState(),
46
- _useState8 = _slicedToArray(_useState7, 2),
47
- errorValue = _useState8[0],
48
- setErrorValue = _useState8[1];
49
- var inputHelperRef = useRef(null);
50
- var wrapperRef = useRef(null);
51
- var textWrapperRef = useRef(null);
52
- var inputRef = useRef(null);
53
- var inputForkRef = useForkRef(inputRef, ref);
54
- var solidViewClass = segmentation === 'solid' ? classes.solidView : undefined;
55
- var manualInputClass = isManualInput ? classes.manualInput : undefined;
56
- var getInputWidth = function getInputWidth() {
57
- var _inputHelperRef$curre;
58
- var firstRender = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
59
- if (!firstRender && (_inputHelperRef$curre = inputHelperRef.current) !== null && _inputHelperRef$curre !== void 0 && _inputHelperRef$curre.clientWidth) {
60
- var _inputHelperRef$curre2;
61
- return "".concat((_inputHelperRef$curre2 = inputHelperRef.current) === null || _inputHelperRef$curre2 === void 0 ? void 0 : _inputHelperRef$curre2.clientWidth, "px");
62
- }
63
- if (value) {
64
- return "".concat(String(value).length, "ch");
65
- }
66
- return defaultCharacterWidth;
67
- };
68
- var setValues = function setValues(event, newValue) {
69
- setLastValidValue(newValue);
70
- setInnerValue(newValue);
71
- if (onChange) {
72
- onChange(event, newValue);
73
- }
74
- };
75
- var validateValue = function validateValue(newValue) {
76
- if (!newValue || !isNumber(newValue)) {
77
- setValues(null, lastValidValue);
78
- setIsAnimationRun(false);
79
- return;
80
- }
81
- if (String(newValue).endsWith('.')) {
82
- setValues(null, Number(newValue));
83
- setIsAnimationRun(false);
84
- return;
85
- }
86
- var resValue = Number(newValue);
87
- if (max !== undefined && resValue > max) {
88
- setErrorClass(classes.errorAnimation);
89
- setErrorValue(max);
90
- setIsAnimationRun(true);
91
- return;
92
- }
93
- if (min !== undefined && resValue < min) {
94
- setErrorClass(classes.errorAnimation);
95
- setErrorValue(min);
96
- setIsAnimationRun(true);
97
- }
98
- };
99
- var handleManualInputChange = function handleManualInputChange(event) {
100
- var _textWrapperRef$curre, _wrapperRef$current;
101
- if (!isManualInput || disabled) {
102
- return;
103
- }
104
- setIsAnimationRun(true);
105
- var newValue = event.target.value;
106
- if (!newValue) {
107
- setInnerValue('');
108
- if (onChange) {
109
- onChange(event, '');
110
- }
111
- return;
112
- }
113
- var cleanValue = newValue.replace(excludingNumberSchema, '');
114
- if (cleanValue.endsWith('.') || cleanValue === '-') {
115
- setInnerValue(cleanValue);
116
- if (onChange) {
117
- onChange(event, cleanValue);
118
- }
119
- return;
120
- }
121
- var isValid = numberSchema.test(cleanValue);
122
- if (!isValid) {
123
- setValues(event, lastValidValue);
124
- return;
125
- }
126
- 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)) {
127
- wrapperRef.current.scrollLeft = textWrapperRef.current.offsetWidth - textWrapperRef.current.offsetLeft || 0;
128
- }
129
- setValues(event, Number(cleanValue));
130
- };
131
- var handleClickInputWrapper = function handleClickInputWrapper() {
132
- if (!isManualInput || !inputRef.current) {
133
- return;
134
- }
135
- if (!isInputFocused) {
136
- inputRef.current.select();
137
- }
138
- setIsInputFocused(true);
139
- };
140
- var handleBlur = function handleBlur(event) {
141
- validateValue(value);
142
- setIsInputFocused(false);
143
- if (onBlur) {
144
- onBlur(event);
145
- }
146
- };
147
- var handleKeyDown = function handleKeyDown(event) {
148
- if (!isManualInput || disabled) {
149
- return;
150
- }
151
- if (event.keyCode === keyCodes.Enter) {
152
- event.preventDefault();
153
- validateValue(value);
154
- if (onKeyDown) {
155
- onKeyDown(event);
156
- }
157
- }
158
- };
159
- var handleEndErrorAnimation = function handleEndErrorAnimation(correctValue) {
160
- setIsAnimationRun(false);
161
- setIsInputFocused(false);
162
- setErrorClass(undefined);
163
- setValues(null, correctValue);
164
- };
165
- useEffect(function () {
166
- setDynamicWidth(getInputWidth());
167
- }, []);
168
- useDidMountEffect(function () {
169
- setDynamicWidth(getInputWidth(false));
170
- }, [value]);
171
- return /*#__PURE__*/React.createElement(InputWrapper, {
172
- ref: wrapperRef,
173
- className: cx(solidViewClass, errorClass, manualInputClass),
174
- isManualInput: Boolean(isManualInput),
175
- onClick: handleClickInputWrapper
176
- }, /*#__PURE__*/React.createElement(TextWrapper, {
177
- ref: textWrapperRef
178
- }, !isLoading && textBefore && /*#__PURE__*/React.createElement(AdditionalText, {
179
- className: classes.textBefore
180
- }, 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({
181
- ref: inputForkRef,
182
- dynamicWidth: dynamicWidth,
183
- value: value,
184
- isManualInput: Boolean(isManualInput),
185
- tabIndex: disabled || !isManualInput ? -1 : 0,
186
- onChange: handleManualInputChange,
187
- onBlur: handleBlur,
188
- onKeyDown: handleKeyDown,
189
- onAnimationEnd: function onAnimationEnd() {
190
- return handleEndErrorAnimation(Number(errorValue));
191
- }
192
- }, rest)), /*#__PURE__*/React.createElement(InputWidthHelper, {
193
- ref: inputHelperRef
194
- }, value)), !isLoading && textAfter && /*#__PURE__*/React.createElement(AdditionalText, {
195
- className: classes.textAfter
196
- }, textAfter)));
197
- });
198
-
199
- export { NumberInput };
200
- //# sourceMappingURL=Input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input.js","sources":["../../../../../src/components/NumberInput/ui/Input/Input.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type { KeyboardEvent, ChangeEvent, FocusEvent } from 'react';\nimport { useForkRef } from '@salutejs/plasma-core';\n\nimport { classes } from '../../NumberInput.tokens';\nimport { cx, isNumber } from '../../../../utils';\nimport { useDidMountEffect } from '../../../../hooks';\nimport { defaultCharacterWidth, excludingNumberSchema, numberSchema } from '../../utils';\nimport { keyCodes } from '../../../../utils/constants';\n\nimport type { InputProps } from './Input.types';\nimport {\n AdditionalText,\n Input,\n InputWrapper,\n DynamicInput,\n InputWidthHelper,\n TextWrapper,\n StyledSpinner,\n Loader,\n} from './Input.styles';\n\nexport const NumberInput = forwardRef<HTMLInputElement, InputProps>(\n (\n {\n value,\n min,\n max,\n isLoading,\n loader,\n disabled,\n segmentation,\n textBefore,\n textAfter,\n isManualInput,\n isInputFocused,\n setIsInputFocused,\n setIsAnimationRun,\n setInnerValue,\n onChange,\n onBlur,\n onKeyDown,\n ...rest\n },\n ref,\n ) => {\n const [dynamicWidth, setDynamicWidth] = useState(value ? `${String(value).length}ch` : defaultCharacterWidth);\n const [lastValidValue, setLastValidValue] = useState(Number(value));\n const [errorClass, setErrorClass] = useState<string | undefined>(undefined);\n const [errorValue, setErrorValue] = useState<number>();\n\n const inputHelperRef = useRef<HTMLSpanElement>(null);\n const wrapperRef = useRef<HTMLDivElement>(null);\n const textWrapperRef = useRef<HTMLDivElement>(null);\n const inputRef = useRef<HTMLInputElement>(null);\n const inputForkRef = useForkRef(inputRef, ref);\n\n const solidViewClass = segmentation === 'solid' ? classes.solidView : undefined;\n const manualInputClass = isManualInput ? classes.manualInput : undefined;\n\n const getInputWidth = (firstRender = true) => {\n if (!firstRender && inputHelperRef.current?.clientWidth) {\n return `${inputHelperRef.current?.clientWidth}px`;\n }\n\n if (value) {\n return `${String(value).length}ch`;\n }\n\n return defaultCharacterWidth;\n };\n\n const setValues = (event: ChangeEvent<HTMLInputElement> | null, newValue: number) => {\n setLastValidValue(newValue);\n setInnerValue(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n };\n\n const validateValue = (newValue: number | string) => {\n if (!newValue || !isNumber(newValue)) {\n setValues(null, lastValidValue);\n setIsAnimationRun(false);\n return;\n }\n\n if (String(newValue).endsWith('.')) {\n setValues(null, Number(newValue));\n setIsAnimationRun(false);\n return;\n }\n\n const resValue = Number(newValue);\n if (max !== undefined && resValue > max) {\n setErrorClass(classes.errorAnimation);\n setErrorValue(max);\n setIsAnimationRun(true);\n return;\n }\n\n if (min !== undefined && resValue < min) {\n setErrorClass(classes.errorAnimation);\n setErrorValue(min);\n setIsAnimationRun(true);\n }\n };\n\n const handleManualInputChange = (event: ChangeEvent<HTMLInputElement>) => {\n if (!isManualInput || disabled) {\n return;\n }\n\n setIsAnimationRun(true);\n\n const { value: newValue } = event.target;\n\n if (!newValue) {\n setInnerValue('');\n\n if (onChange) {\n onChange(event, '');\n }\n return;\n }\n\n const cleanValue = newValue.replace(excludingNumberSchema, '');\n if (cleanValue.endsWith('.') || cleanValue === '-') {\n setInnerValue(cleanValue);\n\n if (onChange) {\n onChange(event, cleanValue);\n }\n return;\n }\n\n const isValid = numberSchema.test(cleanValue);\n\n if (!isValid) {\n setValues(event, lastValidValue);\n return;\n }\n\n if (\n textWrapperRef?.current &&\n wrapperRef?.current &&\n textWrapperRef?.current?.clientWidth > wrapperRef?.current?.clientWidth\n ) {\n wrapperRef.current.scrollLeft =\n textWrapperRef.current.offsetWidth - textWrapperRef.current.offsetLeft || 0;\n }\n\n setValues(event, Number(cleanValue));\n };\n\n const handleClickInputWrapper = () => {\n if (!isManualInput || !inputRef.current) {\n return;\n }\n\n if (!isInputFocused) {\n inputRef.current.select();\n }\n\n setIsInputFocused(true);\n };\n\n const handleBlur = (event: FocusEvent<HTMLInputElement>) => {\n validateValue(value);\n setIsInputFocused(false);\n\n if (onBlur) {\n onBlur(event);\n }\n };\n\n const handleKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {\n if (!isManualInput || disabled) {\n return;\n }\n\n if (event.keyCode === keyCodes.Enter) {\n event.preventDefault();\n\n validateValue(value);\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n }\n };\n\n const handleEndErrorAnimation = (correctValue: number) => {\n setIsAnimationRun(false);\n setIsInputFocused(false);\n\n setErrorClass(undefined);\n setValues(null, correctValue);\n };\n\n useEffect(() => {\n setDynamicWidth(getInputWidth());\n }, []);\n\n useDidMountEffect(() => {\n setDynamicWidth(getInputWidth(false));\n }, [value]);\n\n return (\n <InputWrapper\n ref={wrapperRef}\n className={cx(solidViewClass, errorClass, manualInputClass)}\n isManualInput={Boolean(isManualInput)}\n onClick={handleClickInputWrapper}\n >\n <TextWrapper ref={textWrapperRef}>\n {!isLoading && textBefore && (\n <AdditionalText className={classes.textBefore}>{textBefore}</AdditionalText>\n )}\n {isLoading ? (\n <Loader>{loader || <StyledSpinner />}</Loader>\n ) : (\n <DynamicInput>\n <Input\n ref={inputForkRef}\n dynamicWidth={dynamicWidth}\n value={value}\n isManualInput={Boolean(isManualInput)}\n tabIndex={disabled || !isManualInput ? -1 : 0}\n onChange={handleManualInputChange}\n onBlur={handleBlur}\n onKeyDown={handleKeyDown}\n onAnimationEnd={() => handleEndErrorAnimation(Number(errorValue))}\n {...rest}\n />\n <InputWidthHelper ref={inputHelperRef}>{value}</InputWidthHelper>\n </DynamicInput>\n )}\n {!isLoading && textAfter && (\n <AdditionalText className={classes.textAfter}>{textAfter}</AdditionalText>\n )}\n </TextWrapper>\n </InputWrapper>\n );\n },\n);\n"],"names":["NumberInput","forwardRef","_ref","ref","value","min","max","isLoading","loader","disabled","segmentation","textBefore","textAfter","isManualInput","isInputFocused","setIsInputFocused","setIsAnimationRun","setInnerValue","onChange","onBlur","onKeyDown","rest","_objectWithoutProperties","_excluded","_useState","useState","concat","String","length","defaultCharacterWidth","_useState2","_slicedToArray","dynamicWidth","setDynamicWidth","_useState3","Number","_useState4","lastValidValue","setLastValidValue","_useState5","undefined","_useState6","errorClass","setErrorClass","_useState7","_useState8","errorValue","setErrorValue","inputHelperRef","useRef","wrapperRef","textWrapperRef","inputRef","inputForkRef","useForkRef","solidViewClass","classes","solidView","manualInputClass","manualInput","getInputWidth","_inputHelperRef$curre","firstRender","arguments","current","clientWidth","_inputHelperRef$curre2","setValues","event","newValue","validateValue","isNumber","endsWith","resValue","errorAnimation","handleManualInputChange","_textWrapperRef$curre","_wrapperRef$current","target","cleanValue","replace","excludingNumberSchema","isValid","numberSchema","test","scrollLeft","offsetWidth","offsetLeft","handleClickInputWrapper","select","handleBlur","handleKeyDown","keyCode","keyCodes","Enter","preventDefault","handleEndErrorAnimation","correctValue","useEffect","useDidMountEffect","React","createElement","InputWrapper","className","cx","Boolean","onClick","TextWrapper","AdditionalText","Loader","_StyledSpinner","StyledSpinner","DynamicInput","Input","_ext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AACU,aAAa,EAAE,IAAA,CAAC,CAAS,CAAC,gBAE9CX,KAAA,CAAAC,aAAA,CAACW,YAAY,qBACTZ,KAAA,CAAAC,aAAA,CAACY,KAAK,EAAAC,QAAA,CAAA;AACF/G,IAAAA,GAAG,EAAEkD,YAAa;AAClBrB,IAAAA,YAAY,EAAEA,YAAa;AAC3B5B,IAAAA,KAAK,EAAEA,KAAM;AACbS,IAAAA,aAAa,EAAE4F,OAAO,CAAC5F,aAAa,CAAE;IACtCsG,QAAQ,EAAE1G,QAAQ,IAAI,CAACI,aAAa,GAAG,CAAC,CAAC,GAAG,CAAE;AAC9CK,IAAAA,QAAQ,EAAEyD,uBAAwB;AAClCxD,IAAAA,MAAM,EAAEuE,UAAW;AACnBtE,IAAAA,SAAS,EAAEuE,aAAc;IACzByB,cAAc,EAAE,SAAAA,cAAA,GAAA;AAAA,MAAA,OAAMpB,uBAAuB,CAAC7D,MAAM,CAACW,UAAU,CAAC,CAAC,CAAA;AAAA,KAAA;GAC7DzB,EAAAA,IAAI,CACX,CAAC,eACF+E,KAAA,CAAAC,aAAA,CAACgB,gBAAgB,EAAA;AAAClH,IAAAA,GAAG,EAAE6C,cAAAA;AAAe,GAAA,EAAE5C,KAAwB,CACtD,CACjB,EACA,CAACG,SAAS,IAAIK,SAAS,iBACpBwF,KAAA,CAAAC,aAAA,CAACO,cAAc,EAAA;IAACL,SAAS,EAAE/C,OAAO,CAAC5C,SAAAA;GAAYA,EAAAA,SAA0B,CAEpE,CACH,CAAC,CAAA;AAEvB,CACJ;;;;"}
@@ -1,85 +0,0 @@
1
- import './Input.styles_fhgb95.css';
2
- import { styled } from '@linaria/react';
3
- import { component, mergeConfig } from '../../../../engines/common.js';
4
- import { spinnerConfig } from '../../../Spinner/Spinner.js';
5
-
6
- var mergedConfig = /*#__PURE__*/mergeConfig(spinnerConfig);
7
- var Spinner = /*#__PURE__*/component(mergedConfig);
8
- var _exp = function _exp() {
9
- return function (_ref) {
10
- var isManualInput = _ref.isManualInput;
11
- return isManualInput ? 'text' : 'default';
12
- };
13
- };
14
- var InputWrapper = /*#__PURE__*/styled('div')({
15
- name: "InputWrapper",
16
- "class": "i1s8bsh6",
17
- propsAsIs: false,
18
- vars: {
19
- "i1s8bsh6-0": [/*#__PURE__*/_exp()]
20
- }
21
- });
22
- var TextWrapper = /*#__PURE__*/styled('div')({
23
- name: "TextWrapper",
24
- "class": "t6wb9c",
25
- propsAsIs: false
26
- });
27
- var AdditionalText = /*#__PURE__*/styled('span')({
28
- name: "AdditionalText",
29
- "class": "az36kha",
30
- propsAsIs: false
31
- });
32
- var Loader = /*#__PURE__*/styled('div')({
33
- name: "Loader",
34
- "class": "l1u6icqf",
35
- propsAsIs: false
36
- });
37
- var _exp2 = function _exp2() {
38
- return Spinner;
39
- };
40
- var StyledSpinner = /*#__PURE__*/styled(_exp2())({
41
- name: "StyledSpinner",
42
- "class": "s1ft73sv",
43
- propsAsIs: true
44
- });
45
- var DynamicInput = /*#__PURE__*/styled('div')({
46
- name: "DynamicInput",
47
- "class": "d1n4jo6t",
48
- propsAsIs: false
49
- });
50
- var _exp3 = function _exp3() {
51
- return function (_ref2) {
52
- var dynamicWidth = _ref2.dynamicWidth;
53
- return dynamicWidth;
54
- };
55
- };
56
- var _exp4 = function _exp4() {
57
- return function (_ref3) {
58
- var isManualInput = _ref3.isManualInput;
59
- return isManualInput ? 'text' : 'default';
60
- };
61
- };
62
- var _exp5 = function _exp5() {
63
- return function (_ref4) {
64
- var isManualInput = _ref4.isManualInput;
65
- return isManualInput ? 'initial' : 'none';
66
- };
67
- };
68
- var Input = /*#__PURE__*/styled('input')({
69
- name: "Input",
70
- "class": "i1tgbhg7",
71
- propsAsIs: false,
72
- vars: {
73
- "i1tgbhg7-0": [/*#__PURE__*/_exp3()],
74
- "i1tgbhg7-1": [/*#__PURE__*/_exp4()],
75
- "i1tgbhg7-2": [/*#__PURE__*/_exp5()]
76
- }
77
- });
78
- var InputWidthHelper = /*#__PURE__*/styled('span')({
79
- name: "InputWidthHelper",
80
- "class": "i1il5xze",
81
- propsAsIs: false
82
- });
83
-
84
- export { AdditionalText, DynamicInput, Input, InputWidthHelper, InputWrapper, Loader, StyledSpinner, TextWrapper };
85
- //# sourceMappingURL=Input.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input.styles.js","sources":["../../../../../src/components/NumberInput/ui/Input/Input.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { component, mergeConfig } from '../../../../engines';\nimport { spinnerConfig } from '../../../Spinner';\n\nconst mergedConfig = mergeConfig(spinnerConfig);\nconst Spinner = component(mergedConfig);\n\nexport const InputWrapper = styled.div<{ isManualInput: boolean }>`\n overflow-x: auto;\n overflow-y: hidden;\n flex: 1;\n cursor: ${({ isManualInput }) => (isManualInput ? 'text' : 'default')};\n\n ::-webkit-scrollbar {\n display: none;\n }\n\n scrollbar-width: none;\n\n overscroll-behavior: contain;\n`;\n\nexport const TextWrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n margin: 0 auto;\n box-sizing: border-box;\n`;\n\nexport const AdditionalText = styled.span``;\n\nexport const Loader = styled.div``;\n\nexport const StyledSpinner = styled(Spinner)``;\n\nexport const DynamicInput = styled.div`\n position: relative;\n`;\n\nexport const Input = styled.input<{ dynamicWidth: string; isManualInput: boolean }>`\n box-sizing: border-box;\n appearance: none;\n border: 0;\n padding: 0;\n background-color: transparent;\n outline: none;\n width: ${({ dynamicWidth }) => dynamicWidth};\n box-sizing: border-box;\n cursor: ${({ isManualInput }) => (isManualInput ? 'text' : 'default')};\n pointer-events: ${({ isManualInput }) => (isManualInput ? 'initial' : 'none')};\n transition: width 0.1s;\n`;\n\nexport const InputWidthHelper = styled.span`\n position: absolute;\n z-index: -999;\n visibility: hidden;\n top: 0;\n left: 0;\n opacity: 0;\n height: 0;\n white-space: pre;\n`;\n"],"names":["mergedConfig","mergeConfig","spinnerConfig","Spinner","component","_exp","_ref","isManualInput","InputWrapper","styled","name","class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;AAV1E,IAAMoB,KAAK,gBAAGlB,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,OAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,YAAA,EAAA,cAOdO,KAAkC,EAAA,CAAA;AAAA,IAAA,YAAA,EAAA,cAEjCG,KAA2D,EAAA,CAAA;AAAA,IAAA,YAAA,EAAA,cACnDE,KAA2D,EAAA,CAAA;AAAA,GAAA;AAAA,CAEhF,EAAA;AAEM,IAAMG,gBAAgB,gBAAGnB,MAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,kBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CASrC;;;;"}
@@ -1,8 +0,0 @@
1
- .i1s8bsh6{overflow-x:auto;overflow-y:hidden;-webkit-flex:1;-ms-flex:1;flex:1;cursor:var(--i1s8bsh6-0);-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;overscroll-behavior:contain;}.i1s8bsh6::-webkit-scrollbar{display:none;}
2
- .t6wb9c{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:0 auto;box-sizing:border-box;}
3
-
4
-
5
-
6
- .d1n4jo6t{position:relative;}
7
- .i1tgbhg7{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:var(--i1tgbhg7-0);box-sizing:border-box;cursor:var(--i1tgbhg7-1);pointer-events:var(--i1tgbhg7-2);-webkit-transition:width 0.1s;transition:width 0.1s;}
8
- .i1il5xze{position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre;}
@@ -1,6 +0,0 @@
1
- var defaultCharacterWidth = '1ch';
2
- var numberSchema = /^(-)?\d+(\.\d+)?$/;
3
- var excludingNumberSchema = /[^-.\d]/g;
4
-
5
- export { defaultCharacterWidth, excludingNumberSchema, numberSchema };
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/NumberInput/utils/index.ts"],"sourcesContent":["export const defaultCharacterWidth = '1ch';\nexport const numberSchema = /^(-)?\\d+(\\.\\d+)?$/;\nexport const excludingNumberSchema = /[^-.\\d]/g;\n"],"names":["defaultCharacterWidth","numberSchema","excludingNumberSchema"],"mappings":"AAAO,IAAMA,qBAAqB,GAAG,MAAK;AACnC,IAAMC,YAAY,GAAG,oBAAmB;AACxC,IAAMC,qBAAqB,GAAG;;;;"}
@@ -1,5 +0,0 @@
1
- import './base_dx9knv.css';
2
- var base = "b15uqx38";
3
-
4
- export { base };
5
- //# sourceMappingURL=base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/NumberInput/variations/_background-type/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../NumberInput.tokens';\nimport { InputWrapper } from '../../ui/Input/Input.styles';\n\nexport const base = css`\n ${InputWrapper} {\n background-color: var(${tokens.backgroundColor});\n box-shadow: inset 0 0 0 var(${tokens.inputWrapperBorderWidth}) var(${tokens.borderColor});\n\n &.${classes.manualInput}:hover {\n background-color: var(${tokens.backgroundColorHover});\n box-shadow: inset 0 0 0 var(${tokens.inputWrapperBorderWidth}) var(${tokens.borderColorHover});\n }\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAUhB;;;;"}
@@ -1 +0,0 @@
1
- .b15uqx38 .i1s8bsh6{background-color:var(--plasma-number-input_background-color);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border-color);}.b15uqx38 .i1s8bsh6.manual-input-number-input:hover{background-color:var(--plasma-number-input_background-color-hover);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border-color-hover);}
@@ -1,5 +0,0 @@
1
- import './base_1sl0mh8.css';
2
- var base = "bmqk5v5";
3
-
4
- export { base };
5
- //# sourceMappingURL=base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/NumberInput/variations/_disabled/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../NumberInput.tokens';\n\nexport const base = css`\n &&.${classes.disabled} {\n pointer-events: none;\n opacity: var(${tokens.disabledOpacity});\n cursor: not-allowed;\n }\n`;\n"],"names":["base"],"mappings":"AAIO,IAAMA,IAAI,GAMhB;;;;"}
@@ -1 +0,0 @@
1
- .bmqk5v5.bmqk5v5.number-input-disabled{pointer-events:none;opacity:var(--plasma-number-input_disabled-opacity);cursor:not-allowed;}
@@ -1,5 +0,0 @@
1
- import './base_14s5rot.css';
2
- var base = "bpps6rw";
3
-
4
- export { base };
5
- //# sourceMappingURL=base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/NumberInput/variations/_segmentation/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, privateTokens, tokens } from '../../NumberInput.tokens';\nimport { StyledIconButton } from '../../ui/ActionButton/ActionButton.styles';\nimport { AdditionalText, Input, InputWrapper, StyledSpinner } from '../../ui/Input/Input.styles';\nimport { spinnerTokens } from '../../../Spinner';\n\nexport const base = css`\n ${InputWrapper} {\n border-radius: var(${tokens.inputWrapperBorderRadius});\n }\n\n ${StyledIconButton} {\n ${privateTokens.segmentationBorderRadius}: var(${tokens.iconButtonRadius});\n\n &.${classes.segmentedView}, &.${classes.solidView} {\n ${privateTokens.segmentationBorderRadius}: var(${tokens.iconButtonSegmentationRadius}, var(${tokens.iconButtonRadius}));\n }\n\n &.${classes.actionButtonDecrement} {\n border-radius: var(${tokens.iconButtonRadius}) var(${privateTokens.segmentationBorderRadius}) var(${privateTokens.segmentationBorderRadius}) var(${tokens.iconButtonRadius});\n }\n\n &.${classes.actionButtonIncrement} {\n border-radius: var(${privateTokens.segmentationBorderRadius}) var(${tokens.iconButtonRadius}) var(${tokens.iconButtonRadius}) var(${privateTokens.segmentationBorderRadius});\n }\n }\n\n &.${classes.segmentedView} {\n ${InputWrapper} {\n border-radius: var(${tokens.iconButtonSegmentationRadius});\n }\n }\n\n &.${classes.solidView} { \n ${privateTokens.topBoxShadow}: inset 0 var(${tokens.rootBorderWidth}) var(${tokens.wrapperBorderColor});\n ${privateTokens.bottomBoxShadow}: inset 0 calc(-1 * var(${tokens.rootBorderWidth})) var(${tokens.wrapperBorderColor});\n ${privateTokens.leftBoxShadow}: inset var(${tokens.rootBorderWidth}) 0 var(${tokens.wrapperBorderColor});\n ${privateTokens.rightBoxShadow}: inset calc(-1 * var(${tokens.rootBorderWidth})) 0 var(${tokens.wrapperBorderColor});\n\n\n &.${classes.focused}:not(${classes.loading}), &.${classes.focused}:not(${classes.disabled}) {\n ${privateTokens.topBoxShadow}: inset 0 var(${tokens.rootBorderWidth}) var(${tokens.wrapperBorderColorFocus});\n ${privateTokens.bottomBoxShadow}: inset 0 calc(-1 * var(${tokens.rootBorderWidth})) var(${tokens.wrapperBorderColorFocus});\n ${privateTokens.leftBoxShadow}: inset var(${tokens.rootBorderWidth}) 0 var(${tokens.wrapperBorderColorFocus});\n ${privateTokens.rightBoxShadow}: inset calc(-1 * var(${tokens.rootBorderWidth})) 0 var(${tokens.wrapperBorderColorFocus});\n }\n\n position: relative;\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n width: calc(100% - var(${tokens.iconButtonWidth}) * 2);\n height: 100%;\n background: var(${tokens.backgroundColorSolid});\n box-shadow: var(${privateTokens.topBoxShadow}), var(${privateTokens.bottomBoxShadow});\n }\n\n ${InputWrapper} {\n position: relative;\n color: var(${tokens.colorSolid});\n \n &:not(${classes.errorAnimation}).${classes.manualInput}:focus-within {\n background-color: var(${tokens.backgroundColorSolidFocus});\n box-shadow: inset 0 0 0 var(${tokens.inputWrapperBorderWidth}) var(${tokens.borderColorSolidFocus});\n }\n }\n\n ${StyledIconButton} {\n &.${classes.actionButtonDecrement} {\n box-shadow: var(${privateTokens.bottomBoxShadow}), var(${privateTokens.topBoxShadow}), var(${privateTokens.leftBoxShadow});\n }\n\n &.${classes.actionButtonIncrement} {\n box-shadow: var(${privateTokens.bottomBoxShadow}), var(${privateTokens.topBoxShadow}), var(${privateTokens.rightBoxShadow});\n }\n\n :hover,\n :active { \n background-color: var(${tokens.iconButtonBackgroundColor});\n }\n\n :hover { \n color: var(${tokens.iconButtonColorSolidHover});\n }\n\n :active { \n color: var(${tokens.iconButtonColorSolidActive});\n }\n\n &.${classes.actionButtonDecrementDisabled}, &.${classes.actionButtonIncrementDisabled} {\n opacity: 1;\n\n svg {\n opacity: var(${tokens.actionButtonDisabledOpacity});\n }\n\n :hover,\n :active {\n color: var(${tokens.iconButtonColor});\n\n svg {\n opacity: var(${tokens.actionButtonDisabledOpacity});\n }\n }\n }\n }\n\n &.${classes.clearView} {\n ${StyledIconButton} {\n &.${classes.actionButtonDecrementDisabled}, &.${classes.actionButtonIncrementDisabled} {\n :hover,\n :active {\n background-color: transparent;\n }\n }\n }\n }\n\n ${StyledSpinner} {\n ${spinnerTokens.color}: var(${tokens.loaderSpinnerColorSolid});\n }\n \n ${Input} {\n caret-color: var(${tokens.caretColorSolid}, var(${tokens.caretColor}));\n\n &:not(.${classes.errorAnimation}){\n color: var(${tokens.colorSolid});\n }\n }\n \n ${AdditionalText} {\n color: var(${tokens.additionalTextColorSolid});\n }\n }\n`;\n"],"names":["base"],"mappings":"AAOO,IAAMA,IAAI,GAoIhB;;;;"}
@@ -1 +0,0 @@
1
- .bpps6rw .i1s8bsh6{border-radius:var(--plasma-number-input_input-wrapper_border-radius);}.bpps6rw .sj0ab1b{--plasma_private-segmentation-border-radius:var(--plasma-number-input_icon-button_radius);}.bpps6rw .sj0ab1b.segmented-view,.bpps6rw .sj0ab1b.solid-view{--plasma_private-segmentation-border-radius:var(--plasma-number-input_icon-button_segmentation_radius,var(--plasma-number-input_icon-button_radius));}.bpps6rw .sj0ab1b.action-button-decrement{border-radius:var(--plasma-number-input_icon-button_radius) var(--plasma_private-segmentation-border-radius) var(--plasma_private-segmentation-border-radius) var(--plasma-number-input_icon-button_radius);}.bpps6rw .sj0ab1b.action-button-increment{border-radius:var(--plasma_private-segmentation-border-radius) var(--plasma-number-input_icon-button_radius) var(--plasma-number-input_icon-button_radius) var(--plasma_private-segmentation-border-radius);}.bpps6rw.segmented-view .i1s8bsh6{border-radius:var(--plasma-number-input_icon-button_segmentation_radius);}.bpps6rw.solid-view{--plasma_private-number-input_top-box-shadow:inset 0 var(--plasma-number-input_input-border-width) var(--plasma-number-input_wrapper_border-color);--plasma_private-number-input_bottom-box-shadow:inset 0 calc(-1 * var(--plasma-number-input_input-border-width)) var(--plasma-number-input_wrapper_border-color);--plasma_private-number-input_left-box-shadow:inset var(--plasma-number-input_input-border-width) 0 var(--plasma-number-input_wrapper_border-color);--plasma_private-number-input_right-box-shadow:inset calc(-1 * var(--plasma-number-input_input-border-width)) 0 var(--plasma-number-input_wrapper_border-color);position:relative;}.bpps6rw.solid-view.number-input-focused:not(number-input-loading),.bpps6rw.solid-view.number-input-focused:not(number-input-disabled){--plasma_private-number-input_top-box-shadow:inset 0 var(--plasma-number-input_input-border-width) var(--plasma-number-input_wrapper_border-color_focus);--plasma_private-number-input_bottom-box-shadow:inset 0 calc(-1 * var(--plasma-number-input_input-border-width)) var(--plasma-number-input_wrapper_border-color_focus);--plasma_private-number-input_left-box-shadow:inset var(--plasma-number-input_input-border-width) 0 var(--plasma-number-input_wrapper_border-color_focus);--plasma_private-number-input_right-box-shadow:inset calc(-1 * var(--plasma-number-input_input-border-width)) 0 var(--plasma-number-input_wrapper_border-color_focus);}.bpps6rw.solid-view:before{content:'';position:absolute;top:0;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:calc(100% - var(--plasma-number-input_icon-button_width) * 2);height:100%;background:var(--plasma-number-input_background-color-solid);box-shadow:var(--plasma_private-number-input_top-box-shadow),var(--plasma_private-number-input_bottom-box-shadow);}.bpps6rw.solid-view .i1s8bsh6{position:relative;color:var(--plasma-number-input_color-solid);}.bpps6rw.solid-view .i1s8bsh6:not(error-animation).manual-input-number-input:focus-within{background-color:var(--plasma-number-input_background-color-solid-focus);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border-color-solid-focus);}.bpps6rw.solid-view .sj0ab1b.action-button-decrement{box-shadow:var(--plasma_private-number-input_bottom-box-shadow),var(--plasma_private-number-input_top-box-shadow),var(--plasma_private-number-input_left-box-shadow);}.bpps6rw.solid-view .sj0ab1b.action-button-increment{box-shadow:var(--plasma_private-number-input_bottom-box-shadow),var(--plasma_private-number-input_top-box-shadow),var(--plasma_private-number-input_right-box-shadow);}.bpps6rw.solid-view .sj0ab1b:hover,.bpps6rw.solid-view .sj0ab1b:active{background-color:var(--plasma-number-input_icon-button_background-color);}.bpps6rw.solid-view .sj0ab1b:hover{color:var(--plasma-number-input_icon-button_color_solid-hover);}.bpps6rw.solid-view .sj0ab1b:active{color:var(--plasma-number-input_icon-button_color_solid-active);}.bpps6rw.solid-view .sj0ab1b.action-button-decrement-disabled,.bpps6rw.solid-view .sj0ab1b.action-button-increment-disabled{opacity:1;}.bpps6rw.solid-view .sj0ab1b.action-button-decrement-disabled svg,.bpps6rw.solid-view .sj0ab1b.action-button-increment-disabled svg{opacity:var(--plasma-number-input_action-button_disabled-opacity);}.bpps6rw.solid-view .sj0ab1b.action-button-decrement-disabled:hover,.bpps6rw.solid-view .sj0ab1b.action-button-increment-disabled:hover,.bpps6rw.solid-view .sj0ab1b.action-button-decrement-disabled:active,.bpps6rw.solid-view .sj0ab1b.action-button-increment-disabled:active{color:var(--plasma-number-input_icon-button_color);}.bpps6rw.solid-view .sj0ab1b.action-button-decrement-disabled:hover svg,.bpps6rw.solid-view .sj0ab1b.action-button-increment-disabled:hover svg,.bpps6rw.solid-view .sj0ab1b.action-button-decrement-disabled:active svg,.bpps6rw.solid-view .sj0ab1b.action-button-increment-disabled:active svg{opacity:var(--plasma-number-input_action-button_disabled-opacity);}.bpps6rw.solid-view.clear-view .sj0ab1b.action-button-decrement-disabled:hover,.bpps6rw.solid-view.clear-view .sj0ab1b.action-button-increment-disabled:hover,.bpps6rw.solid-view.clear-view .sj0ab1b.action-button-decrement-disabled:active,.bpps6rw.solid-view.clear-view .sj0ab1b.action-button-increment-disabled:active{background-color:transparent;}.bpps6rw.solid-view .s1ft73sv{--plasma-spinner-color:var(--plasma-number-input_loader-spinner_color-solid);}.bpps6rw.solid-view .i1tgbhg7{caret-color:var(--plasma-number-input_caret_color-solid,var(--plasma-number-input_caret_color));}.bpps6rw.solid-view .i1tgbhg7:not(.error-animation){color:var(--plasma-number-input_color-solid);}.bpps6rw.solid-view .az36kha{color:var(--plasma-number-input_additional-text_color-solid);}
@@ -1,5 +0,0 @@
1
- import './base_k05biw.css';
2
- var base = "b1l31q8y";
3
-
4
- export { base };
5
- //# sourceMappingURL=base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/NumberInput/variations/_shape/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../../NumberInput.tokens';\nimport { iconButtonTokens } from '../../../IconButton';\nimport { StyledIconButton } from '../../ui/ActionButton/ActionButton.styles';\n\nexport const base = css`\n ${StyledIconButton} {\n ${iconButtonTokens.iconButtonRadius}: var(${tokens.iconButtonRadius});\n }\n`;\n"],"names":["base"],"mappings":"AAMO,IAAMA,IAAI,GAIhB;;;;"}
@@ -1 +0,0 @@
1
- .b1l31q8y .sj0ab1b{--plasma-icon-button-radius:var(--plasma-number-input_icon-button_radius);}
@@ -1,5 +0,0 @@
1
- import './base_yqdmk4.css';
2
- var base = "b13wjeky";
3
-
4
- export { base };
5
- //# sourceMappingURL=base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/NumberInput/variations/_size/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, privateTokens, tokens } from '../../NumberInput.tokens';\nimport { iconButtonTokens } from '../../../IconButton';\nimport { StyledIconButton } from '../../ui/ActionButton/ActionButton.styles';\nimport {\n AdditionalText,\n DynamicInput,\n Input,\n InputWrapper,\n StyledSpinner,\n TextWrapper,\n} from '../../ui/Input/Input.styles';\nimport { spinnerTokens } from '../../../Spinner';\n\nexport const base = css`\n width: var(${privateTokens.inputWidth});\n min-width: var(${tokens.rootMinWidth});\n\n ${StyledIconButton} {\n ${iconButtonTokens.iconButtonHeight}: var(${tokens.iconButtonHeight});\n ${iconButtonTokens.iconButtonWidth}: var(${tokens.iconButtonWidth});\n ${iconButtonTokens.iconButtonPadding}: var(${tokens.iconButtonPadding});\n ${iconButtonTokens.iconButtonFontFamily}: var(${tokens.iconButtonFontFamily});\n ${iconButtonTokens.iconButtonFontSize}: var(${tokens.iconButtonFontSize});\n ${iconButtonTokens.iconButtonFontStyle}: var(${tokens.iconButtonFontStyle});\n ${iconButtonTokens.iconButtonFontWeight}: var(${tokens.iconButtonFontWeight});\n ${iconButtonTokens.iconButtonLetterSpacing}: var(${tokens.iconButtonLetterSpacing});\n ${iconButtonTokens.iconButtonLineHeight}: var(${tokens.iconButtonLineHeight});\n }\n\n ${InputWrapper} {\n margin: var(${tokens.inputWrapperMargin});\n }\n\n ${TextWrapper} {\n height: var(${tokens.textWrapperHeight});\n padding: var(${tokens.textWrapperPadding});\n }\n\n ${DynamicInput}, ${Input}, ${AdditionalText} {\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.letterSpacing});\n line-height: var(${tokens.lineHeight});\n }\n\n ${AdditionalText} {\n &.${classes.textBefore} {\n margin-right: var(${tokens.textBeforeMarginRight});\n }\n\n &.${classes.textAfter} {\n margin-left: var(${tokens.textAfterMarginLeft});\n }\n }\n\n ${StyledSpinner} {\n ${spinnerTokens.size}: var(${tokens.loaderSpinnerSize});\n }\n`;\n"],"names":["base"],"mappings":"AAeO,IAAMA,IAAI,GA+ChB;;;;"}
@@ -1 +0,0 @@
1
- .b13wjeky{width:var(--plasma_private-number-input_width);min-width:var(--plasma-number-input_min-width);}.b13wjeky .sj0ab1b{--plasma-icon-button-height:var(--plasma-number-input_icon-button_height);--plasma-icon-button-width:var(--plasma-number-input_icon-button_width);--plasma-icon-button-padding:var(--plasma-number-input_icon-button_padding);--plasma-icon-button-font-family:var(--plasma-number-input_icon-button_font-family);--plasma-icon-button-font-size:var(--plasma-number-input_icon-button_font-size);--plasma-icon-button-font-style:var(--plasma-number-input_icon-button_font-style);--plasma-icon-button-font-weight:var(--plasma-number-input_icon-button_font-weight);--plasma-icon-button-letter-spacing:var(--plasma-number-input_icon-button_letter-spacing);--plasma-icon-button-line-height:var(--plasma-number-input_icon-button_line-height);}.b13wjeky .i1s8bsh6{margin:var(--plasma-number-input_input-wrapper_margin);}.b13wjeky .t6wb9c{height:var(--plasma-number-input_text-wrapper_height);padding:var(--plasma-number-input_text-wrapper_padding);}.b13wjeky .d1n4jo6t,.b13wjeky .i1tgbhg7,.b13wjeky .az36kha{font-family:var(--plasma-number-input_font-family);font-size:var(--plasma-number-input_font-size);font-style:var(--plasma-number-input_font-style);font-weight:var(--plasma-number-input_font-weight);-webkit-letter-spacing:var(--plasma-number-input_letter-spacing);-moz-letter-spacing:var(--plasma-number-input_letter-spacing);-ms-letter-spacing:var(--plasma-number-input_letter-spacing);letter-spacing:var(--plasma-number-input_letter-spacing);line-height:var(--plasma-number-input_line-height);}.b13wjeky .az36kha.text-before{margin-right:var(--plasma-number-input_text-before_margin-right);}.b13wjeky .az36kha.text-after{margin-left:var(--plasma-number-input_text-after_margin-left);}.b13wjeky .s1ft73sv{--plasma-spinner-size:var(--plasma-number-input_loader-spinner_size);}
@@ -1,5 +0,0 @@
1
- import './base_tnfbb5.css';
2
- var base = "bhi37xj";
3
-
4
- export { base };
5
- //# sourceMappingURL=base.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/NumberInput/variations/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../NumberInput.tokens';\nimport { iconButtonTokens } from '../../../IconButton';\nimport { StyledIconButton } from '../../ui/ActionButton/ActionButton.styles';\nimport { AdditionalText, Input, InputWrapper, StyledSpinner } from '../../ui/Input/Input.styles';\nimport { spinnerTokens } from '../../../Spinner';\n\nexport const base = css`\n ${StyledIconButton} {\n ${iconButtonTokens.iconButtonColor}: var(${tokens.iconButtonColor});\n ${iconButtonTokens.iconButtonBackgroundColor}: var(${tokens.iconButtonBackgroundColor});\n ${iconButtonTokens.iconButtonColorHover}: var(${tokens.iconButtonColorHover});\n ${iconButtonTokens.iconButtonBackgroundColorHover}: var(${tokens.iconButtonBackgroundColorHover});\n ${iconButtonTokens.iconButtonColorActive}: var(${tokens.iconButtonColorActive});\n ${iconButtonTokens.iconButtonBackgroundColorActive}: var(${tokens.iconButtonBackgroundColorActive});\n\n &.${classes.actionButtonDecrementDisabled}, &.${classes.actionButtonIncrementDisabled} {\n opacity: var(${tokens.actionButtonDisabledOpacity});\n cursor: not-allowed;\n\n :hover,\n :active {\n scale: none;\n\n color: var(${tokens.iconButtonColor});\n background-color: var(${tokens.iconButtonBackgroundColor});\n }\n }\n }\n\n && ${InputWrapper}{\n &.${classes.manualInput}:focus-within {\n background-color: var(${tokens.backgroundColorFocus});\n box-shadow: inset 0 0 0 var(${tokens.inputWrapperBorderWidth}) var(${tokens.borderColorFocus});\n }\n\n &.${classes.manualInput}.${classes.errorAnimation} {\n background-color: var(${tokens.backgroundErrorColor});\n box-shadow: inset 0 0 0 var(${tokens.inputWrapperBorderWidth}) var(${tokens.borderErrorColor});\n\n animation: shakingError 0.3s forwards;\n\n ${Input} {\n color: var(${tokens.errorColor});\n animation: fadeError 0.3s forwards;\n }\n\n &:focus-within {\n background-color: var(${tokens.backgroundErrorColor});\n box-shadow: inset 0 0 0 var(${tokens.inputWrapperBorderWidth}) var(${tokens.borderErrorColor});\n }\n }\n\n @keyframes shakingError {\n 14% {\n transform: translateX(-0.125rem);\n }\n 28% {\n transform: translateX(0.125rem);\n }\n 42% {\n transform: translateX(-0.125rem);\n }\n 57% {\n transform: translateX(0.125rem);\n }\n 71% {\n transform: translateX(-0.125rem);\n }\n 85% {\n transform: translateX(0.125rem);\n }\n 100% {\n transform: translateX(-0.125rem);\n }\n }\n\n @keyframes fadeError {\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n }\n }\n\n ${StyledSpinner} {\n ${spinnerTokens.color}: var(${tokens.loaderSpinnerColor});\n }\n\n ${Input} {\n color: var(${tokens.color});\n caret-color: var(${tokens.caretColor});\n }\n\n ${AdditionalText} {\n color: var(${tokens.additionalTextColor});\n }\n`;\n"],"names":["base"],"mappings":"AAQO,IAAMA,IAAI,GA4FhB;;;;"}
@@ -1 +0,0 @@
1
- .bhi37xj .sj0ab1b{--plasma-icon-button-color:var(--plasma-number-input_icon-button_color);--plasma-icon-button-background-color:var(--plasma-number-input_icon-button_background-color);--plasma-icon-button-color-hover:var(--plasma-number-input_icon-button_color-hover);--plasma-icon-button-background-color-hover:var(--plasma-number-input_icon-button_background-color-hover);--plasma-icon-button-color-active:var(--plasma-number-input_icon-button_color-active);--plasma-icon-button-background-color-active:var(--plasma-number-input_icon-button_background-color-active);}.bhi37xj .sj0ab1b.action-button-decrement-disabled,.bhi37xj .sj0ab1b.action-button-increment-disabled{opacity:var(--plasma-number-input_action-button_disabled-opacity);cursor:not-allowed;}.bhi37xj .sj0ab1b.action-button-decrement-disabled:hover,.bhi37xj .sj0ab1b.action-button-increment-disabled:hover,.bhi37xj .sj0ab1b.action-button-decrement-disabled:active,.bhi37xj .sj0ab1b.action-button-increment-disabled:active{scale:none;color:var(--plasma-number-input_icon-button_color);background-color:var(--plasma-number-input_icon-button_background-color);}.bhi37xj.bhi37xj .i1s8bsh6.manual-input-number-input:focus-within{background-color:var(--plasma-number-input_background-color-focus);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border-color-focus);}.bhi37xj.bhi37xj .i1s8bsh6.manual-input-number-input.error-animation{background-color:var(--plasma-number-input_background_error-color);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border_error-color);-webkit-animation:shakingError-bhi37xj 0.3s forwards;animation:shakingError-bhi37xj 0.3s forwards;}.bhi37xj.bhi37xj .i1s8bsh6.manual-input-number-input.error-animation .i1tgbhg7{color:var(--plasma-number-input_error-color);-webkit-animation:fadeError-bhi37xj 0.3s forwards;animation:fadeError-bhi37xj 0.3s forwards;}.bhi37xj.bhi37xj .i1s8bsh6.manual-input-number-input.error-animation:focus-within{background-color:var(--plasma-number-input_background_error-color);box-shadow:inset 0 0 0 var(--plasma-number-input_input-wrapper_border-width) var(--plasma-number-input_border_error-color);}@-webkit-keyframes shakingError-bhi37xj{14%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}28%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}42%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}57%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}71%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}85%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}100%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}}@keyframes shakingError-bhi37xj{14%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}28%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}42%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}57%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}71%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}85%{-webkit-transform:translateX(0.125rem);-ms-transform:translateX(0.125rem);transform:translateX(0.125rem);}100%{-webkit-transform:translateX(-0.125rem);-ms-transform:translateX(-0.125rem);transform:translateX(-0.125rem);}}@-webkit-keyframes fadeError-bhi37xj{50%{opacity:1;}100%{opacity:0;}}@keyframes fadeError-bhi37xj{50%{opacity:1;}100%{opacity:0;}}.bhi37xj .s1ft73sv{--plasma-spinner-color:var(--plasma-number-input_loader-spinner_color);}.bhi37xj .i1tgbhg7{color:var(--plasma-number-input_color);caret-color:var(--plasma-number-input_caret_color);}.bhi37xj .az36kha{color:var(--plasma-number-input_additional-text_color);}