@salutejs/plasma-new-hope 0.187.0-canary.1511.11742976604.0 → 0.187.0-canary.1539.11742294440.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (370) hide show
  1. package/cjs/components/Switch/Switch.css +11 -7
  2. package/cjs/components/Switch/Switch.js +16 -7
  3. package/cjs/components/Switch/Switch.js.map +1 -1
  4. package/cjs/components/Switch/Switch.styles.js +16 -4
  5. package/cjs/components/Switch/Switch.styles.js.map +1 -1
  6. package/cjs/components/Switch/Switch.styles_bei7bh.css +6 -0
  7. package/cjs/components/Switch/Switch.tokens.js +11 -0
  8. package/cjs/components/Switch/Switch.tokens.js.map +1 -1
  9. package/cjs/components/Switch/_focused/base.js +1 -1
  10. package/cjs/components/Switch/_focused/{base_j4murk.css → base_sz3n0x.css} +1 -1
  11. package/cjs/components/Switch/_size/base.js +1 -1
  12. package/cjs/components/Switch/_size/base.js.map +1 -1
  13. package/cjs/components/Switch/_size/base_1tcl212.css +1 -0
  14. package/cjs/components/{NumberInput/variations/_background-type → Switch/_toggleSize}/base.js +2 -2
  15. package/cjs/components/Switch/_toggleSize/base.js.map +1 -0
  16. package/cjs/components/Switch/_toggleSize/base_6i0904.css +1 -0
  17. package/cjs/components/Switch/_view/base.js +1 -1
  18. package/cjs/components/Switch/_view/base.js.map +1 -1
  19. package/cjs/components/Switch/_view/base_yxkf3s.css +1 -0
  20. package/cjs/index.css +11 -30
  21. package/cjs/index.js +0 -6
  22. package/cjs/index.js.map +1 -1
  23. package/emotion/cjs/components/Switch/Switch.js +17 -8
  24. package/emotion/cjs/components/Switch/Switch.styles.js +21 -5
  25. package/emotion/cjs/components/Switch/Switch.template-doc.mdx +37 -1
  26. package/emotion/cjs/components/Switch/Switch.tokens.js +11 -0
  27. package/emotion/cjs/components/Switch/_size/base.js +1 -1
  28. package/emotion/cjs/components/Switch/_toggleSize/base.js +10 -0
  29. package/emotion/cjs/components/Switch/_view/base.js +1 -1
  30. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +11 -4
  31. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
  32. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +11 -4
  33. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
  34. package/emotion/cjs/index.js +0 -11
  35. package/emotion/es/components/Switch/Switch.js +13 -4
  36. package/emotion/es/components/Switch/Switch.styles.js +20 -4
  37. package/emotion/es/components/Switch/Switch.template-doc.mdx +37 -1
  38. package/emotion/es/components/Switch/Switch.tokens.js +11 -0
  39. package/emotion/es/components/Switch/_size/base.js +2 -2
  40. package/emotion/es/components/Switch/_toggleSize/base.js +4 -0
  41. package/emotion/es/components/Switch/_view/base.js +2 -2
  42. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +11 -4
  43. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
  44. package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +11 -4
  45. package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
  46. package/emotion/es/index.js +1 -2
  47. package/es/components/Switch/Switch.css +11 -7
  48. package/es/components/Switch/Switch.js +17 -8
  49. package/es/components/Switch/Switch.js.map +1 -1
  50. package/es/components/Switch/Switch.styles.js +15 -5
  51. package/es/components/Switch/Switch.styles.js.map +1 -1
  52. package/es/components/Switch/Switch.styles_bei7bh.css +6 -0
  53. package/es/components/Switch/Switch.tokens.js +11 -0
  54. package/es/components/Switch/Switch.tokens.js.map +1 -1
  55. package/es/components/Switch/_focused/base.js +1 -1
  56. package/es/components/Switch/_focused/{base_j4murk.css → base_sz3n0x.css} +1 -1
  57. package/es/components/Switch/_size/base.js +1 -1
  58. package/es/components/Switch/_size/base.js.map +1 -1
  59. package/es/components/Switch/_size/base_1tcl212.css +1 -0
  60. package/es/components/{NumberInput/variations/_shape → Switch/_toggleSize}/base.js +2 -2
  61. package/es/components/Switch/_toggleSize/base.js.map +1 -0
  62. package/es/components/Switch/_toggleSize/base_6i0904.css +1 -0
  63. package/es/components/Switch/_view/base.js +1 -1
  64. package/es/components/Switch/_view/base.js.map +1 -1
  65. package/es/components/Switch/_view/base_yxkf3s.css +1 -0
  66. package/es/index.css +11 -30
  67. package/es/index.js +0 -2
  68. package/es/index.js.map +1 -1
  69. package/package.json +2 -2
  70. package/styled-components/cjs/components/Switch/Switch.js +17 -8
  71. package/styled-components/cjs/components/Switch/Switch.styles.js +11 -5
  72. package/styled-components/cjs/components/Switch/Switch.template-doc.mdx +37 -1
  73. package/styled-components/cjs/components/Switch/Switch.tokens.js +11 -0
  74. package/styled-components/cjs/components/Switch/_size/base.js +1 -1
  75. package/styled-components/cjs/components/Switch/_toggleSize/base.js +10 -0
  76. package/styled-components/cjs/components/Switch/_view/base.js +1 -1
  77. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +9 -2
  78. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
  79. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +9 -2
  80. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
  81. package/styled-components/cjs/index.js +0 -11
  82. package/styled-components/es/components/Switch/Switch.js +13 -4
  83. package/styled-components/es/components/Switch/Switch.styles.js +10 -4
  84. package/styled-components/es/components/Switch/Switch.template-doc.mdx +37 -1
  85. package/styled-components/es/components/Switch/Switch.tokens.js +11 -0
  86. package/styled-components/es/components/Switch/_size/base.js +2 -2
  87. package/styled-components/es/components/Switch/_toggleSize/base.js +4 -0
  88. package/styled-components/es/components/Switch/_view/base.js +2 -2
  89. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +9 -2
  90. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
  91. package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +9 -2
  92. package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
  93. package/styled-components/es/index.js +1 -2
  94. package/types/components/Switch/Switch.d.ts +3 -0
  95. package/types/components/Switch/Switch.d.ts.map +1 -1
  96. package/types/components/Switch/Switch.styles.d.ts +2 -0
  97. package/types/components/Switch/Switch.styles.d.ts.map +1 -1
  98. package/types/components/Switch/Switch.tokens.d.ts +9 -0
  99. package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
  100. package/types/components/Switch/Switch.types.d.ts +10 -2
  101. package/types/components/Switch/Switch.types.d.ts.map +1 -1
  102. package/types/components/Switch/_size/base.d.ts.map +1 -1
  103. package/types/components/Switch/_toggleSize/base.d.ts.map +1 -0
  104. package/types/components/Switch/_view/base.d.ts.map +1 -1
  105. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts +7 -0
  106. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
  107. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +6 -0
  108. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
  109. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts +7 -0
  110. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
  111. package/types/examples/plasma_web/components/Switch/Switch.d.ts +6 -0
  112. package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
  113. package/types/index.d.ts +0 -1
  114. package/types/index.d.ts.map +1 -1
  115. package/cjs/components/NumberInput/NumberInput.css +0 -52
  116. package/cjs/components/NumberInput/NumberInput.js +0 -205
  117. package/cjs/components/NumberInput/NumberInput.js.map +0 -1
  118. package/cjs/components/NumberInput/NumberInput.styles.js +0 -9
  119. package/cjs/components/NumberInput/NumberInput.styles.js.map +0 -1
  120. package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +0 -1
  121. package/cjs/components/NumberInput/NumberInput.tokens.js +0 -102
  122. package/cjs/components/NumberInput/NumberInput.tokens.js.map +0 -1
  123. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -19
  124. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +0 -1
  125. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -22
  126. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +0 -1
  127. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +0 -1
  128. package/cjs/components/NumberInput/ui/Input/Input.css +0 -15
  129. package/cjs/components/NumberInput/ui/Input/Input.js +0 -205
  130. package/cjs/components/NumberInput/ui/Input/Input.js.map +0 -1
  131. package/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -96
  132. package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +0 -1
  133. package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +0 -8
  134. package/cjs/components/NumberInput/utils/index.js +0 -12
  135. package/cjs/components/NumberInput/utils/index.js.map +0 -1
  136. package/cjs/components/NumberInput/variations/_background-type/base.js.map +0 -1
  137. package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +0 -1
  138. package/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
  139. package/cjs/components/NumberInput/variations/_disabled/base.js.map +0 -1
  140. package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +0 -1
  141. package/cjs/components/NumberInput/variations/_segmentation/base.js +0 -9
  142. package/cjs/components/NumberInput/variations/_segmentation/base.js.map +0 -1
  143. package/cjs/components/NumberInput/variations/_segmentation/base_14s5rot.css +0 -1
  144. package/cjs/components/NumberInput/variations/_shape/base.js +0 -9
  145. package/cjs/components/NumberInput/variations/_shape/base.js.map +0 -1
  146. package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +0 -1
  147. package/cjs/components/NumberInput/variations/_size/base.js +0 -9
  148. package/cjs/components/NumberInput/variations/_size/base.js.map +0 -1
  149. package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +0 -1
  150. package/cjs/components/NumberInput/variations/_view/base.js +0 -9
  151. package/cjs/components/NumberInput/variations/_view/base.js.map +0 -1
  152. package/cjs/components/NumberInput/variations/_view/base_tnfbb5.css +0 -1
  153. package/cjs/components/Switch/Switch.styles_1kk0qzz.css +0 -4
  154. package/cjs/components/Switch/_size/base_1rjzpi4.css +0 -1
  155. package/cjs/components/Switch/_view/base_1mtyz12.css +0 -1
  156. package/emotion/cjs/components/NumberInput/NumberInput.js +0 -214
  157. package/emotion/cjs/components/NumberInput/NumberInput.styles.js +0 -17
  158. package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +0 -214
  159. package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +0 -99
  160. package/emotion/cjs/components/NumberInput/NumberInput.types.js +0 -5
  161. package/emotion/cjs/components/NumberInput/index.js +0 -31
  162. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -18
  163. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -16
  164. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -5
  165. package/emotion/cjs/components/NumberInput/ui/Input/Input.js +0 -213
  166. package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -81
  167. package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +0 -5
  168. package/emotion/cjs/components/NumberInput/ui/index.js +0 -19
  169. package/emotion/cjs/components/NumberInput/utils/index.js +0 -9
  170. package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +0 -10
  171. package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +0 -6
  172. package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
  173. package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +0 -4
  174. package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +0 -12
  175. package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  176. package/emotion/cjs/components/NumberInput/variations/_shape/base.js +0 -11
  177. package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +0 -1
  178. package/emotion/cjs/components/NumberInput/variations/_size/base.js +0 -13
  179. package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +0 -22
  180. package/emotion/cjs/components/NumberInput/variations/_view/base.js +0 -13
  181. package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +0 -14
  182. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -46
  183. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -11
  184. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  185. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -46
  186. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +0 -11
  187. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  188. package/emotion/es/components/NumberInput/NumberInput.js +0 -206
  189. package/emotion/es/components/NumberInput/NumberInput.styles.js +0 -11
  190. package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +0 -214
  191. package/emotion/es/components/NumberInput/NumberInput.tokens.js +0 -93
  192. package/emotion/es/components/NumberInput/NumberInput.types.js +0 -1
  193. package/emotion/es/components/NumberInput/index.js +0 -2
  194. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -11
  195. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -9
  196. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -1
  197. package/emotion/es/components/NumberInput/ui/Input/Input.js +0 -204
  198. package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +0 -74
  199. package/emotion/es/components/NumberInput/ui/Input/Input.types.js +0 -1
  200. package/emotion/es/components/NumberInput/ui/index.js +0 -2
  201. package/emotion/es/components/NumberInput/utils/index.js +0 -3
  202. package/emotion/es/components/NumberInput/variations/_background-type/base.js +0 -4
  203. package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +0 -6
  204. package/emotion/es/components/NumberInput/variations/_disabled/base.js +0 -3
  205. package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +0 -4
  206. package/emotion/es/components/NumberInput/variations/_segmentation/base.js +0 -6
  207. package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  208. package/emotion/es/components/NumberInput/variations/_shape/base.js +0 -5
  209. package/emotion/es/components/NumberInput/variations/_shape/tokens.json +0 -1
  210. package/emotion/es/components/NumberInput/variations/_size/base.js +0 -7
  211. package/emotion/es/components/NumberInput/variations/_size/tokens.json +0 -22
  212. package/emotion/es/components/NumberInput/variations/_view/base.js +0 -7
  213. package/emotion/es/components/NumberInput/variations/_view/tokens.json +0 -14
  214. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -40
  215. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -5
  216. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  217. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -40
  218. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +0 -5
  219. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  220. package/es/components/NumberInput/NumberInput.css +0 -52
  221. package/es/components/NumberInput/NumberInput.js +0 -200
  222. package/es/components/NumberInput/NumberInput.js.map +0 -1
  223. package/es/components/NumberInput/NumberInput.styles.js +0 -5
  224. package/es/components/NumberInput/NumberInput.styles.js.map +0 -1
  225. package/es/components/NumberInput/NumberInput.styles_jeawjl.css +0 -1
  226. package/es/components/NumberInput/NumberInput.tokens.js +0 -96
  227. package/es/components/NumberInput/NumberInput.tokens.js.map +0 -1
  228. package/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -15
  229. package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +0 -1
  230. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -18
  231. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +0 -1
  232. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +0 -1
  233. package/es/components/NumberInput/ui/Input/Input.css +0 -15
  234. package/es/components/NumberInput/ui/Input/Input.js +0 -201
  235. package/es/components/NumberInput/ui/Input/Input.js.map +0 -1
  236. package/es/components/NumberInput/ui/Input/Input.styles.js +0 -85
  237. package/es/components/NumberInput/ui/Input/Input.styles.js.map +0 -1
  238. package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +0 -8
  239. package/es/components/NumberInput/utils/index.js +0 -6
  240. package/es/components/NumberInput/utils/index.js.map +0 -1
  241. package/es/components/NumberInput/variations/_background-type/base.js +0 -5
  242. package/es/components/NumberInput/variations/_background-type/base.js.map +0 -1
  243. package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +0 -1
  244. package/es/components/NumberInput/variations/_disabled/base.js +0 -5
  245. package/es/components/NumberInput/variations/_disabled/base.js.map +0 -1
  246. package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +0 -1
  247. package/es/components/NumberInput/variations/_segmentation/base.js +0 -5
  248. package/es/components/NumberInput/variations/_segmentation/base.js.map +0 -1
  249. package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +0 -1
  250. package/es/components/NumberInput/variations/_shape/base.js.map +0 -1
  251. package/es/components/NumberInput/variations/_shape/base_k05biw.css +0 -1
  252. package/es/components/NumberInput/variations/_size/base.js +0 -5
  253. package/es/components/NumberInput/variations/_size/base.js.map +0 -1
  254. package/es/components/NumberInput/variations/_size/base_yqdmk4.css +0 -1
  255. package/es/components/NumberInput/variations/_view/base.js +0 -5
  256. package/es/components/NumberInput/variations/_view/base.js.map +0 -1
  257. package/es/components/NumberInput/variations/_view/base_tnfbb5.css +0 -1
  258. package/es/components/Switch/Switch.styles_1kk0qzz.css +0 -4
  259. package/es/components/Switch/_size/base_1rjzpi4.css +0 -1
  260. package/es/components/Switch/_view/base_1mtyz12.css +0 -1
  261. package/styled-components/cjs/components/NumberInput/NumberInput.js +0 -214
  262. package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +0 -8
  263. package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +0 -214
  264. package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +0 -99
  265. package/styled-components/cjs/components/NumberInput/NumberInput.types.js +0 -5
  266. package/styled-components/cjs/components/NumberInput/index.js +0 -31
  267. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +0 -18
  268. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -15
  269. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -5
  270. package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +0 -213
  271. package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +0 -48
  272. package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +0 -5
  273. package/styled-components/cjs/components/NumberInput/ui/index.js +0 -19
  274. package/styled-components/cjs/components/NumberInput/utils/index.js +0 -9
  275. package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +0 -10
  276. package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +0 -6
  277. package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +0 -9
  278. package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +0 -4
  279. package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +0 -12
  280. package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  281. package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +0 -11
  282. package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +0 -1
  283. package/styled-components/cjs/components/NumberInput/variations/_size/base.js +0 -13
  284. package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +0 -22
  285. package/styled-components/cjs/components/NumberInput/variations/_view/base.js +0 -13
  286. package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +0 -14
  287. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -46
  288. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -11
  289. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  290. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -46
  291. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +0 -11
  292. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  293. package/styled-components/es/components/NumberInput/NumberInput.js +0 -206
  294. package/styled-components/es/components/NumberInput/NumberInput.styles.js +0 -2
  295. package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +0 -214
  296. package/styled-components/es/components/NumberInput/NumberInput.tokens.js +0 -93
  297. package/styled-components/es/components/NumberInput/NumberInput.types.js +0 -1
  298. package/styled-components/es/components/NumberInput/index.js +0 -2
  299. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +0 -11
  300. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +0 -8
  301. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +0 -1
  302. package/styled-components/es/components/NumberInput/ui/Input/Input.js +0 -204
  303. package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +0 -41
  304. package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +0 -1
  305. package/styled-components/es/components/NumberInput/ui/index.js +0 -2
  306. package/styled-components/es/components/NumberInput/utils/index.js +0 -3
  307. package/styled-components/es/components/NumberInput/variations/_background-type/base.js +0 -4
  308. package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +0 -6
  309. package/styled-components/es/components/NumberInput/variations/_disabled/base.js +0 -3
  310. package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +0 -4
  311. package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +0 -6
  312. package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +0 -1
  313. package/styled-components/es/components/NumberInput/variations/_shape/base.js +0 -5
  314. package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +0 -1
  315. package/styled-components/es/components/NumberInput/variations/_size/base.js +0 -7
  316. package/styled-components/es/components/NumberInput/variations/_size/tokens.json +0 -22
  317. package/styled-components/es/components/NumberInput/variations/_view/base.js +0 -7
  318. package/styled-components/es/components/NumberInput/variations/_view/tokens.json +0 -14
  319. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +0 -40
  320. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +0 -5
  321. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +0 -108
  322. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +0 -40
  323. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +0 -5
  324. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +0 -108
  325. package/types/components/NumberInput/NumberInput.d.ts +0 -38
  326. package/types/components/NumberInput/NumberInput.d.ts.map +0 -1
  327. package/types/components/NumberInput/NumberInput.styles.d.ts +0 -2
  328. package/types/components/NumberInput/NumberInput.styles.d.ts.map +0 -1
  329. package/types/components/NumberInput/NumberInput.tokens.d.ts +0 -88
  330. package/types/components/NumberInput/NumberInput.tokens.d.ts.map +0 -1
  331. package/types/components/NumberInput/NumberInput.types.d.ts +0 -112
  332. package/types/components/NumberInput/NumberInput.types.d.ts.map +0 -1
  333. package/types/components/NumberInput/index.d.ts +0 -3
  334. package/types/components/NumberInput/index.d.ts.map +0 -1
  335. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +0 -4
  336. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +0 -1
  337. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +0 -45
  338. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +0 -1
  339. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +0 -7
  340. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +0 -1
  341. package/types/components/NumberInput/ui/Input/Input.d.ts +0 -19
  342. package/types/components/NumberInput/ui/Input/Input.d.ts.map +0 -1
  343. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +0 -30
  344. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +0 -1
  345. package/types/components/NumberInput/ui/Input/Input.types.d.ts +0 -19
  346. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +0 -1
  347. package/types/components/NumberInput/ui/index.d.ts +0 -3
  348. package/types/components/NumberInput/ui/index.d.ts.map +0 -1
  349. package/types/components/NumberInput/utils/index.d.ts +0 -4
  350. package/types/components/NumberInput/utils/index.d.ts.map +0 -1
  351. package/types/components/NumberInput/variations/_background-type/base.d.ts.map +0 -1
  352. package/types/components/NumberInput/variations/_disabled/base.d.ts +0 -2
  353. package/types/components/NumberInput/variations/_disabled/base.d.ts.map +0 -1
  354. package/types/components/NumberInput/variations/_segmentation/base.d.ts +0 -2
  355. package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +0 -1
  356. package/types/components/NumberInput/variations/_shape/base.d.ts +0 -2
  357. package/types/components/NumberInput/variations/_shape/base.d.ts.map +0 -1
  358. package/types/components/NumberInput/variations/_size/base.d.ts +0 -2
  359. package/types/components/NumberInput/variations/_size/base.d.ts.map +0 -1
  360. package/types/components/NumberInput/variations/_view/base.d.ts +0 -2
  361. package/types/components/NumberInput/variations/_view/base.d.ts.map +0 -1
  362. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +0 -39
  363. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +0 -1
  364. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +0 -82
  365. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +0 -1
  366. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +0 -39
  367. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +0 -1
  368. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +0 -82
  369. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +0 -1
  370. /package/types/components/{NumberInput/variations/_background-type → Switch/_toggleSize}/base.d.ts +0 -0
@@ -1,5 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const base: import("@linaria/core").LinariaClassName;
3
+ export declare const StyledContent: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const StyledDescription: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
5
  export declare const StyledInput: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
4
6
  export declare const StyledLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
5
7
  export declare const StyledTrigger: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI,0CAwBhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KASvB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAmBzB,CAAC"}
1
+ {"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI,0CAYhB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAkBzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,WAAW,8KASvB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAmBzB,CAAC"}
@@ -5,10 +5,19 @@ export declare const tokens: {
5
5
  fontWeight: string;
6
6
  letterSpacing: string;
7
7
  lineHeight: string;
8
+ descriptionFontFamily: string;
9
+ descriptionFontStyle: string;
10
+ descriptionFontSize: string;
11
+ descriptionFontWeight: string;
12
+ descriptionLetterSpacing: string;
13
+ descriptionLineHeight: string;
8
14
  labelColor: string;
9
15
  labelOffset: string;
16
+ descriptionColor: string;
17
+ descriptionOffset: string;
10
18
  /** Прозрачность для всего компонента в состоянии disabled */
11
19
  disabledOpacity: string;
20
+ verticalGap: string;
12
21
  trackWidth: string;
13
22
  trackHeight: string;
14
23
  trackBorderRadius: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;IAYf,6DAA6D;;;;;;;;;;;;;;;;;;CAyBhE,CAAC;AAEF,eAAO,MAAM,OAAO;;;CAGnB,CAAC"}
1
+ {"version":3,"file":"Switch.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;IAwBf,6DAA6D;;;;;;;;;;;;;;;;;;;CA0BhE,CAAC;AAEF,eAAO,MAAM,OAAO;;;CAGnB,CAAC"}
@@ -4,16 +4,24 @@ export interface SwitchPropsPropsBase {
4
4
  * Метка-подпись к элементу
5
5
  */
6
6
  label?: string;
7
+ /**
8
+ * Дополнительное описание
9
+ */
10
+ description?: string;
7
11
  }
8
12
  export interface SwitchPropsVariations extends SwitchPropsPropsBase {
9
13
  /**
10
- * Размер контрола.
14
+ * Размер компонента.
11
15
  */
12
16
  size?: string;
13
17
  /**
14
- * Вид контрола.
18
+ * Вид компонента.
15
19
  */
16
20
  view?: string;
21
+ /**
22
+ * Размер toggle.
23
+ */
24
+ toggleSize?: string;
17
25
  /**
18
26
  * Расположение подпись
19
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAEnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB;CAAG"}
1
+ {"version":3,"file":"Switch.types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAEnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CA8BhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAuBhB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_toggleSize/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAkBhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAyBhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAiChB,CAAC"}
@@ -2,12 +2,19 @@ export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
4
  size: string;
5
+ toggleSize: string;
5
6
  labelPosition: string;
6
7
  focused: string;
7
8
  };
8
9
  variations: {
9
10
  size: {
11
+ s: import("@linaria/core").LinariaClassName;
10
12
  m: import("@linaria/core").LinariaClassName;
13
+ l: import("@linaria/core").LinariaClassName;
14
+ };
15
+ toggleSize: {
16
+ l: import("@linaria/core").LinariaClassName;
17
+ s: import("@linaria/core").LinariaClassName;
11
18
  };
12
19
  view: {
13
20
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Switch/Switch.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAgDlB,CAAC"}
1
+ {"version":3,"file":"Switch.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Switch/Switch.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGlB,CAAC"}
@@ -1,7 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Switch: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  size: {
4
+ s: import("@linaria/core").LinariaClassName;
4
5
  m: import("@linaria/core").LinariaClassName;
6
+ l: import("@linaria/core").LinariaClassName;
7
+ };
8
+ toggleSize: {
9
+ l: import("@linaria/core").LinariaClassName;
10
+ s: import("@linaria/core").LinariaClassName;
5
11
  };
6
12
  view: {
7
13
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;2GAA0B,CAAC"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;2GAA0B,CAAC"}
@@ -2,12 +2,19 @@ export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
4
  size: string;
5
+ toggleSize: string;
5
6
  labelPosition: string;
6
7
  focused: string;
7
8
  };
8
9
  variations: {
9
10
  size: {
11
+ s: import("@linaria/core").LinariaClassName;
10
12
  m: import("@linaria/core").LinariaClassName;
13
+ l: import("@linaria/core").LinariaClassName;
14
+ };
15
+ toggleSize: {
16
+ l: import("@linaria/core").LinariaClassName;
17
+ s: import("@linaria/core").LinariaClassName;
11
18
  };
12
19
  view: {
13
20
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAgDlB,CAAC"}
1
+ {"version":3,"file":"Switch.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGlB,CAAC"}
@@ -1,7 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Switch: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  size: {
4
+ s: import("@linaria/core").LinariaClassName;
4
5
  m: import("@linaria/core").LinariaClassName;
6
+ l: import("@linaria/core").LinariaClassName;
7
+ };
8
+ toggleSize: {
9
+ l: import("@linaria/core").LinariaClassName;
10
+ s: import("@linaria/core").LinariaClassName;
5
11
  };
6
12
  view: {
7
13
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;2GAA0B,CAAC"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;2GAA0B,CAAC"}
package/types/index.d.ts CHANGED
@@ -60,5 +60,4 @@ export * from './components/Editable';
60
60
  export * from './components/Mask';
61
61
  export * from './components/Attach';
62
62
  export * from './components/ViewContainer';
63
- export * from './components/NumberInput';
64
63
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uB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,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC"}
@@ -1,52 +0,0 @@
1
- .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
2
-
3
- .Button_styles_1sopr3d_bzw1898__8219590b{min-width:4ch;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_1sopr3d_bzw1898__8219590b.Button_styles_1sopr3d_buttonContentRelaxed__8219590b{text-align:start;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;}
4
- .Button_styles_1sopr3d_bdfuqwe__8219590b{color:var(--plasma-button-value-color);margin:var(--plasma-button-value-margin);min-width:4ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
5
- .Button_styles_1sopr3d_l9ypozh__8219590b{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:var(--l9ypozh-1);-webkit-justify-content:var(--l9ypozh-1);-ms-flex-pack:var(--l9ypozh-1);justify-content:var(--l9ypozh-1);height:100%;width:100%;}
6
- .Button_styles_1sopr3d_l4dfhbg__8219590b{position:absolute;}
7
- .Button_styles_1sopr3d_srdlazt__8219590b{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
8
- .Button_styles_1sopr3d_s7rggv0__8219590b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-left-content-margin);-webkit-align-self:var(--plasma-button-left-content-align-self);-ms-flex-item-align:var(--plasma-button-left-content-align);align-self:var(--plasma-button-left-content-align-self);}
9
- .Button_styles_1sopr3d_s1rjh7ra__8219590b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);-webkit-align-self:var(--plasma-button-right-content-align-self);-ms-flex-item-align:var(--plasma-button-right-content-align);align-self:var(--plasma-button-right-content-align-self);}
10
- .Button_styles_1sopr3d_b9ga1dj__8219590b{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1sopr3d_b9ga1dj__8219590b{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1sopr3d_b9ga1dj__8219590b.Button_styles_1sopr3d_b9ga1dj__8219590b.Button_styles_1sopr3d_buttonSquare__8219590b{width:var(--plasma-button-height);padding:0;}
11
-
12
- .base_jfbpjg_b1ty39ru__57cb1989{color:var(--plasma-button-color);background:var(--plasma-button-background-color);}.base_jfbpjg_b1ty39ru__57cb1989.base_jfbpjg_buttonLoading__57cb1989{background:var(--plasma-button-loading-background-color);}.base_jfbpjg_b1ty39ru__57cb1989:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.base_jfbpjg_b1ty39ru__57cb1989:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}
13
-
14
- .base_1alzrso_be0ha5g__cdc67255{height:var(--plasma-button-height);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);}
15
-
16
- .base_do83p2_b169l30m__044ccc85[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.base_do83p2_b169l30m__044ccc85[disabled]:hover,.base_do83p2_b169l30m__044ccc85[disabled]:active{scale:none;color:var(--plasma-button-color);background:var(--plasma-button-background-color);}
17
-
18
- .base_1kq737e_b187cmzt__d829f64a{position:relative;}.base_1kq737e_b187cmzt__d829f64a:focus{outline:none;}.base_1kq737e_b187cmzt__d829f64a::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1kq737e_b187cmzt__d829f64a.base_1kq737e_focusVisible__d829f64a:focus::before,.base_1kq737e_b187cmzt__d829f64a[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}
19
-
20
- .base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFixed__bd4ad37e{width:var(--plasma-button-width);}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFilled__bd4ad37e{width:100%;}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingAuto__bd4ad37e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
21
-
22
- .IconButton_styles_403on7_b1ua728l__d34a8ea7{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);color:var(--plasma-button-color);background:var(--plasma-button-background-color);height:var(--plasma-button-height);width:var(--plasma-button-width);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);position:relative;--plasma-button-padding:0;--plasma-button-color:var(--plasma-icon-button-color);--plasma-button-background-color:var(--plasma-icon-button-background-color);--plasma-button-color-hover:var(--plasma-icon-button-color-hover);--plasma-button-background-color-hover:var(--plasma-icon-button-background-color-hover);--plasma-button-color-active:var(--plasma-icon-button-color-active);--plasma-button-background-color-active:var(--plasma-icon-button-background-color-active);--plasma-button-loading-background-color:var(--plasma-icon-button-loading-background-color);--plasma-button-font-family:var(--plasma-icon-button-font-family);--plasma-button-font-size:var(--plasma-icon-button-font-size);--plasma-button-font-style:var(--plasma-icon-button-font-style);--plasma-button-font-weight:var(--plasma-icon-button-font-weight);--plasma-button-letter-spacing:var(--plasma-icon-button-letter-spacing);--plasma-button-line-height:var(--plasma-icon-button-line-height);--plasma-button-width:var(--plasma-icon-button-width);--plasma-button-height:var(--plasma-icon-button-height);--plasma-button-radius:var(--plasma-icon-button-radius);--plasma-button-disabled-opacity:var(--plasma-icon-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-icon-button-focus-color);--plasma-button-spinner-size:var(--plasma-icon-button-spinner-size);--plasma-button-spinner-color:var(--plasma-icon-button-spinner-color);}a.IconButton_styles_403on7_b1ua728l__d34a8ea7{-webkit-text-decoration:none;text-decoration:none;}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonSquare__d34a8ea7{width:var(--plasma-button-height);padding:0;}.IconButton_styles_403on7_b1ua728l__d34a8ea7:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.IconButton_styles_403on7_b1ua728l__d34a8ea7:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}.IconButton_styles_403on7_b1ua728l__d34a8ea7:focus{outline:none;}.IconButton_styles_403on7_b1ua728l__d34a8ea7::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_focusVisible__d34a8ea7:focus::before,.IconButton_styles_403on7_b1ua728l__d34a8ea7[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.IconButton_styles_403on7_b1ua728l__d34a8ea7[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.IconButton_styles_403on7_b1ua728l__d34a8ea7[disabled]:hover,.IconButton_styles_403on7_b1ua728l__d34a8ea7[disabled]:active{scale:none;color:var(--plasma-button-color);background:var(--plasma-button-background-color);}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonStretchingFixed__d34a8ea7{width:var(--plasma-button-width);}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonStretchingFilled__d34a8ea7{width:100%;}.IconButton_styles_403on7_b1ua728l__d34a8ea7.IconButton_styles_403on7_buttonStretchingAuto__d34a8ea7{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
23
-
24
- .base_1gusher_b1chvyq8__76b641f5{color:var(--plasma-spinner-color);}
25
-
26
- .base_ova69f_bw56nfh__55225c7f{width:var(--plasma-spinner-size);height:var(--plasma-spinner-size);}
27
-
28
- .Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
29
- .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);}}
30
-
31
- .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;}
32
- .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;}
33
-
34
-
35
-
36
- .Input_styles_fhgb95_d1n4jo6t__3bed5c8f{position:relative;}
37
- .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;}
38
- .Input_styles_fhgb95_i1il5xze__3bed5c8f{position:absolute;z-index:-999;visibility:hidden;top:0;left:0;opacity:0;height:0;white-space:pre;}
39
-
40
- .NumberInput_styles_jeawjl_bwds6g__9a871afb{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;}
41
-
42
- .base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8{--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);}.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonDecrementDisabled__884e17c8,.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonIncrementDisabled__884e17c8{opacity:var(--plasma-number-input_action-button_disabled-opacity);cursor:not-allowed;}.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonDecrementDisabled__884e17c8:hover,.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonIncrementDisabled__884e17c8:hover,.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonDecrementDisabled__884e17c8:active,.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_sj0ab1b__884e17c8.base_tnfbb5_actionButtonIncrementDisabled__884e17c8:active{scale:none;color:var(--plasma-number-input_icon-button_color);background-color:var(--plasma-number-input_icon-button_background-color);}.base_tnfbb5_bhi37xj__884e17c8.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_i1s8bsh6__884e17c8.base_tnfbb5_manualInputNumberInput__884e17c8: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);}.base_tnfbb5_bhi37xj__884e17c8.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_i1s8bsh6__884e17c8.base_tnfbb5_manualInputNumberInput__884e17c8.base_tnfbb5_errorAnimation__884e17c8{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:base_tnfbb5_shakingErrorBhi37xj__884e17c8 0.3s forwards;animation:base_tnfbb5_shakingErrorBhi37xj__884e17c8 0.3s forwards;}.base_tnfbb5_bhi37xj__884e17c8.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_i1s8bsh6__884e17c8.base_tnfbb5_manualInputNumberInput__884e17c8.base_tnfbb5_errorAnimation__884e17c8 .base_tnfbb5_i1tgbhg7__884e17c8{color:var(--plasma-number-input_error-color);-webkit-animation:base_tnfbb5_fadeErrorBhi37xj__884e17c8 0.3s forwards;animation:base_tnfbb5_fadeErrorBhi37xj__884e17c8 0.3s forwards;}.base_tnfbb5_bhi37xj__884e17c8.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_i1s8bsh6__884e17c8.base_tnfbb5_manualInputNumberInput__884e17c8.base_tnfbb5_errorAnimation__884e17c8: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 base_tnfbb5_shakingErrorBhi37xj__884e17c8{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 base_tnfbb5_shakingErrorBhi37xj__884e17c8{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 base_tnfbb5_fadeErrorBhi37xj__884e17c8{50%{opacity:1;}100%{opacity:0;}}@keyframes base_tnfbb5_fadeErrorBhi37xj__884e17c8{50%{opacity:1;}100%{opacity:0;}}.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_s1ft73sv__884e17c8{--plasma-spinner-color:var(--plasma-number-input_loader-spinner_color);}.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_i1tgbhg7__884e17c8{color:var(--plasma-number-input_color);caret-color:var(--plasma-number-input_caret_color);}.base_tnfbb5_bhi37xj__884e17c8 .base_tnfbb5_az36kha__884e17c8{color:var(--plasma-number-input_additional-text_color);}
43
-
44
- .base_yqdmk4_b13wjeky__9b206d94{width:var(--plasma_private-number-input_width);min-width:var(--plasma-number-input_min-width);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_sj0ab1b__9b206d94{--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);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_i1s8bsh6__9b206d94{margin:var(--plasma-number-input_input-wrapper_margin);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_t6wb9c__9b206d94{height:var(--plasma-number-input_text-wrapper_height);padding:var(--plasma-number-input_text-wrapper_padding);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_d1n4jo6t__9b206d94,.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_i1tgbhg7__9b206d94,.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_az36kha__9b206d94{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);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_az36kha__9b206d94.base_yqdmk4_textBefore__9b206d94{margin-right:var(--plasma-number-input_text-before_margin-right);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_az36kha__9b206d94.base_yqdmk4_textAfter__9b206d94{margin-left:var(--plasma-number-input_text-after_margin-left);}.base_yqdmk4_b13wjeky__9b206d94 .base_yqdmk4_s1ft73sv__9b206d94{--plasma-spinner-size:var(--plasma-number-input_loader-spinner_size);}
45
-
46
- .base_k05biw_b1l31q8y__7da7a6d0 .base_k05biw_sj0ab1b__7da7a6d0{--plasma-icon-button-radius:var(--plasma-number-input_icon-button_radius);}
47
-
48
- .base_dx9knv_b15uqx38__1d74109c .base_dx9knv_i1s8bsh6__1d74109c{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);}.base_dx9knv_b15uqx38__1d74109c .base_dx9knv_i1s8bsh6__1d74109c.base_dx9knv_manualInputNumberInput__1d74109c: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);}
49
-
50
- .base_14s5rot_bpps6rw__6339f446 .base_14s5rot_i1s8bsh6__6339f446{border-radius:var(--plasma-number-input_input-wrapper_border-radius);}.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_sj0ab1b__6339f446{--plasma_private-segmentation-border-radius:var(--plasma-number-input_icon-button_radius);}.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_segmentedView__6339f446,.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_solidView__6339f446{--plasma_private-segmentation-border-radius:var(--plasma-number-input_icon-button_segmentation_radius,var(--plasma-number-input_icon-button_radius));}.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrement__6339f446{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);}.base_14s5rot_bpps6rw__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrement__6339f446{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);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_segmentedView__6339f446 .base_14s5rot_i1s8bsh6__6339f446{border-radius:var(--plasma-number-input_icon-button_segmentation_radius);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446{--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;}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_numberInputFocused__6339f446:not(number-input-loading),.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_numberInputFocused__6339f446: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);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446: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);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_i1s8bsh6__6339f446{position:relative;color:var(--plasma-number-input_color-solid);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_i1s8bsh6__6339f446:not(error-animation).base_14s5rot_manualInputNumberInput__6339f446: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);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrement__6339f446{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);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrement__6339f446{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);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446:hover,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446:active{background-color:var(--plasma-number-input_icon-button_background-color);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446:hover{color:var(--plasma-number-input_icon-button_color_solid-hover);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446:active{color:var(--plasma-number-input_icon-button_color_solid-active);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446{opacity:1;}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446 svg,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446 svg{opacity:var(--plasma-number-input_action-button_disabled-opacity);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:hover,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:hover,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:active,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:active{color:var(--plasma-number-input_icon-button_color);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:hover svg,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:hover svg,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:active svg,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:active svg{opacity:var(--plasma-number-input_action-button_disabled-opacity);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_clearView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:hover,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_clearView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:hover,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_clearView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonDecrementDisabled__6339f446:active,.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446.base_14s5rot_clearView__6339f446 .base_14s5rot_sj0ab1b__6339f446.base_14s5rot_actionButtonIncrementDisabled__6339f446:active{background-color:transparent;}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_s1ft73sv__6339f446{--plasma-spinner-color:var(--plasma-number-input_loader-spinner_color-solid);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_i1tgbhg7__6339f446{caret-color:var(--plasma-number-input_caret_color-solid,var(--plasma-number-input_caret_color));}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_i1tgbhg7__6339f446:not(.base_14s5rot_errorAnimation__6339f446){color:var(--plasma-number-input_color-solid);}.base_14s5rot_bpps6rw__6339f446.base_14s5rot_solidView__6339f446 .base_14s5rot_az36kha__6339f446{color:var(--plasma-number-input_additional-text_color-solid);}
51
-
52
- .base_1sl0mh8_bmqk5v5__e93ebd2b.base_1sl0mh8_bmqk5v5__e93ebd2b.base_1sl0mh8_numberInputDisabled__e93ebd2b{pointer-events:none;opacity:var(--plasma-number-input_disabled-opacity);cursor:not-allowed;}
@@ -1,205 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
6
- var React = require('react');
7
- var index = require('../../utils/index.js');
8
- var NumberInput_tokens = require('./NumberInput.tokens.js');
9
- var NumberInput_styles = require('./NumberInput.styles.js');
10
- var base = require('./variations/_view/base.js');
11
- var base$1 = require('./variations/_size/base.js');
12
- var base$2 = require('./variations/_shape/base.js');
13
- var base$3 = require('./variations/_background-type/base.js');
14
- var base$4 = require('./variations/_segmentation/base.js');
15
- var base$5 = require('./variations/_disabled/base.js');
16
- var isNumber = require('../../utils/isNumber.js');
17
- var ActionButton = require('./ui/ActionButton/ActionButton.js');
18
- var IconMinus = require('../_Icon/Icons/IconMinus.js');
19
- var Input = require('./ui/Input/Input.js');
20
- var IconPlus = require('../_Icon/Icons/IconPlus.js');
21
- var getSizeValueFromProp = require('../../utils/getSizeValueFromProp.js');
22
-
23
- var _excluded = ["className", "style", "width", "value", "min", "max", "step", "isLoading", "loader", "size", "view", "clear", "shape", "segmentation", "inputBackgroundType", "disabled", "textBefore", "textAfter", "customIncrementButton", "incrementIcon", "customDecrementButton", "decrementIcon", "isManualInput", "onChange", "onIncrement", "onDecrement"];
24
- var numberInputRoot = function numberInputRoot(Root) {
25
- return /*#__PURE__*/React.forwardRef(function (_ref, ref) {
26
- var _ref2;
27
- var className = _ref.className,
28
- style = _ref.style,
29
- width = _ref.width,
30
- value = _ref.value,
31
- min = _ref.min,
32
- max = _ref.max,
33
- _ref$step = _ref.step,
34
- step = _ref$step === void 0 ? 1 : _ref$step,
35
- isLoading = _ref.isLoading,
36
- loader = _ref.loader,
37
- size = _ref.size,
38
- view = _ref.view,
39
- clear = _ref.clear,
40
- shape = _ref.shape,
41
- segmentation = _ref.segmentation,
42
- _ref$inputBackgroundT = _ref.inputBackgroundType,
43
- inputBackgroundType = _ref$inputBackgroundT === void 0 ? 'fill' : _ref$inputBackgroundT,
44
- disabled = _ref.disabled,
45
- textBefore = _ref.textBefore,
46
- textAfter = _ref.textAfter,
47
- customIncrementButton = _ref.customIncrementButton,
48
- incrementIcon = _ref.incrementIcon,
49
- customDecrementButton = _ref.customDecrementButton,
50
- decrementIcon = _ref.decrementIcon,
51
- isManualInput = _ref.isManualInput,
52
- onChange = _ref.onChange,
53
- onIncrement = _ref.onIncrement,
54
- onDecrement = _ref.onDecrement,
55
- rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
56
- var _useState = React.useState((_ref2 = value !== null && value !== void 0 ? value : min) !== null && _ref2 !== void 0 ? _ref2 : 0),
57
- _useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
58
- innerValue = _useState2[0],
59
- setInnerValue = _useState2[1];
60
- var _useState3 = React.useState(false),
61
- _useState4 = _rollupPluginBabelHelpers.slicedToArray(_useState3, 2),
62
- isInputFocused = _useState4[0],
63
- setIsInputFocused = _useState4[1];
64
- var _useState5 = React.useState(false),
65
- _useState6 = _rollupPluginBabelHelpers.slicedToArray(_useState5, 2),
66
- isAnimationRun = _useState6[0],
67
- setIsAnimationRun = _useState6[1];
68
- var innerWidth = width ? getSizeValueFromProp.getSizeValueFromProp(width) : '100%';
69
- var actionIconSize = size === 'xs' ? 'xs' : 's';
70
- var solidViewClass = segmentation === 'solid' ? NumberInput_tokens.classes.solidView : undefined;
71
- var segmentedViewClass = segmentation === 'segmented' ? NumberInput_tokens.classes.segmentedView : undefined;
72
- var clearViewClass = clear ? NumberInput_tokens.classes.clearView : undefined;
73
- var disabledClass = disabled ? NumberInput_tokens.classes.disabled : undefined;
74
- var loadingClass = isLoading ? NumberInput_tokens.classes.loading : undefined;
75
- var focusedClass = isInputFocused ? NumberInput_tokens.classes.focused : undefined;
76
- var isMinValue = function isMinValue(currentValue) {
77
- return min !== undefined && currentValue <= min;
78
- };
79
- var isMaxValue = function isMaxValue(currentValue) {
80
- return max !== undefined && currentValue >= max;
81
- };
82
- var decrementButtonDisabled = isMinValue(Number(innerValue)) && !isAnimationRun || isLoading ? NumberInput_tokens.classes.actionButtonDecrementDisabled : undefined;
83
- var incrementButtonDisabled = isMaxValue(Number(innerValue)) && !isAnimationRun || isLoading ? NumberInput_tokens.classes.actionButtonIncrementDisabled : undefined;
84
- var handleDecrement = function handleDecrement() {
85
- if (isLoading || disabled || isAnimationRun) {
86
- return;
87
- }
88
- var diffValue = Number(innerValue) - step;
89
- var resValue = min !== undefined && diffValue <= min ? min : diffValue;
90
- setInnerValue(resValue);
91
- if (onDecrement) {
92
- onDecrement(resValue);
93
- }
94
- if (onChange) {
95
- onChange(null, resValue);
96
- }
97
- };
98
- var handleIncrement = function handleIncrement() {
99
- if (isLoading || disabled || isAnimationRun) {
100
- return;
101
- }
102
- var diffValue = Number(innerValue) + step;
103
- var resValue = max !== undefined && diffValue >= max ? max : diffValue;
104
- setInnerValue(resValue);
105
- if (onIncrement) {
106
- onIncrement(resValue);
107
- }
108
- if (onChange) {
109
- onChange(null, resValue);
110
- }
111
- };
112
- React.useEffect(function () {
113
- if (value === undefined || !isNumber.isNumber(value)) {
114
- return;
115
- }
116
- setInnerValue(function (prevValue) {
117
- return prevValue !== value ? value : prevValue;
118
- });
119
- }, [value]);
120
- return /*#__PURE__*/React.createElement(Root, _rollupPluginBabelHelpers.extends({
121
- view: view,
122
- size: size,
123
- disabled: disabled,
124
- clear: clear,
125
- shape: shape,
126
- segmentation: segmentation,
127
- isLoading: isLoading
128
- }, segmentation === 'solid' ? {
129
- inputBackgroundType: 'clear'
130
- } : {
131
- inputBackgroundType: inputBackgroundType
132
- }, {
133
- className: index.cx(className, solidViewClass, segmentedViewClass, clearViewClass, disabledClass, loadingClass, focusedClass),
134
- style: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, style), {}, _rollupPluginBabelHelpers.defineProperty({}, NumberInput_tokens.privateTokens.inputWidth, innerWidth))
135
- }), customDecrementButton || /*#__PURE__*/React.createElement(ActionButton.ActionButton, {
136
- className: index.cx(NumberInput_tokens.classes.actionButtonDecrement, decrementButtonDisabled, solidViewClass, segmentedViewClass),
137
- icon: decrementIcon || /*#__PURE__*/React.createElement(IconMinus.IconMinus, {
138
- color: "inherit",
139
- size: actionIconSize
140
- }),
141
- onClick: handleDecrement
142
- }), /*#__PURE__*/React.createElement(Input.NumberInput, _rollupPluginBabelHelpers.extends({
143
- ref: ref,
144
- segmentation: segmentation,
145
- value: innerValue,
146
- min: min,
147
- max: max,
148
- isManualInput: isManualInput,
149
- textBefore: textBefore,
150
- textAfter: textAfter,
151
- isLoading: isLoading,
152
- loader: loader,
153
- disabled: disabled,
154
- isInputFocused: isInputFocused,
155
- setIsInputFocused: setIsInputFocused,
156
- setIsAnimationRun: setIsAnimationRun,
157
- setInnerValue: setInnerValue,
158
- onChange: onChange
159
- }, rest)), customIncrementButton || /*#__PURE__*/React.createElement(ActionButton.ActionButton, {
160
- className: index.cx(NumberInput_tokens.classes.actionButtonIncrement, incrementButtonDisabled, solidViewClass, segmentedViewClass),
161
- icon: incrementIcon || /*#__PURE__*/React.createElement(IconPlus.IconPlus, {
162
- color: "inherit",
163
- size: actionIconSize
164
- }),
165
- onClick: handleIncrement
166
- }));
167
- });
168
- };
169
- var numberInputConfig = {
170
- name: 'NumberInput',
171
- tag: 'div',
172
- layout: numberInputRoot,
173
- base: NumberInput_styles.base,
174
- variations: {
175
- view: {
176
- css: base.base
177
- },
178
- size: {
179
- css: base$1.base
180
- },
181
- shape: {
182
- css: base$2.base
183
- },
184
- inputBackgroundType: {
185
- css: base$3.base
186
- },
187
- segmentation: {
188
- css: base$4.base
189
- },
190
- disabled: {
191
- css: base$5.base,
192
- attrs: true
193
- }
194
- },
195
- defaults: {
196
- view: 'default',
197
- size: 'l',
198
- shape: 'cornered',
199
- segmentation: 'default'
200
- }
201
- };
202
-
203
- exports.numberInputConfig = numberInputConfig;
204
- exports.numberInputRoot = numberInputRoot;
205
- //# sourceMappingURL=NumberInput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NumberInput.js","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"sourcesContent":["import React, { CSSProperties, forwardRef, useEffect, useState } from 'react';\n\nimport type { RootProps } from '../../engines';\nimport { cx, getSizeValueFromProp, isNumber } from '../../utils';\nimport { IconMinus, IconPlus } from '../_Icon';\n\nimport type { NumberInputProps, NumberInputRootProps } from './NumberInput.types';\nimport { ActionButton, NumberInput } from './ui';\nimport { classes, privateTokens } from './NumberInput.tokens';\nimport { base } from './NumberInput.styles';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as shapeCSS } from './variations/_shape/base';\nimport { base as inputBackgroundTypeCSS } from './variations/_background-type/base';\nimport { base as segmentationCSS } from './variations/_segmentation/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\n\nexport const numberInputRoot = (Root: RootProps<HTMLDivElement, NumberInputRootProps>) =>\n forwardRef<HTMLInputElement, NumberInputProps>(\n (\n {\n className,\n style,\n width,\n value,\n min,\n max,\n step = 1,\n isLoading,\n loader,\n size,\n view,\n clear,\n shape,\n segmentation,\n inputBackgroundType = 'fill',\n disabled,\n textBefore,\n textAfter,\n customIncrementButton,\n incrementIcon,\n customDecrementButton,\n decrementIcon,\n isManualInput,\n onChange,\n onIncrement,\n onDecrement,\n ...rest\n },\n ref,\n ) => {\n const [innerValue, setInnerValue] = useState<number | string>(value ?? min ?? 0);\n const [isInputFocused, setIsInputFocused] = useState(false);\n const [isAnimationRun, setIsAnimationRun] = useState(false);\n\n const innerWidth = width ? getSizeValueFromProp(width) : '100%';\n\n const actionIconSize = size === 'xs' ? 'xs' : 's';\n const solidViewClass = segmentation === 'solid' ? classes.solidView : undefined;\n const segmentedViewClass = segmentation === 'segmented' ? classes.segmentedView : undefined;\n const clearViewClass = clear ? classes.clearView : undefined;\n const disabledClass = disabled ? classes.disabled : undefined;\n const loadingClass = isLoading ? classes.loading : undefined;\n const focusedClass = isInputFocused ? classes.focused : undefined;\n\n const isMinValue = (currentValue: number) => min !== undefined && currentValue <= min;\n const isMaxValue = (currentValue: number) => max !== undefined && currentValue >= max;\n\n const decrementButtonDisabled =\n (isMinValue(Number(innerValue)) && !isAnimationRun) || isLoading\n ? classes.actionButtonDecrementDisabled\n : undefined;\n const incrementButtonDisabled =\n (isMaxValue(Number(innerValue)) && !isAnimationRun) || isLoading\n ? classes.actionButtonIncrementDisabled\n : undefined;\n\n const handleDecrement = () => {\n if (isLoading || disabled || isAnimationRun) {\n return;\n }\n\n const diffValue = Number(innerValue) - step;\n const resValue = min !== undefined && diffValue <= min ? min : diffValue;\n\n setInnerValue(resValue);\n\n if (onDecrement) {\n onDecrement(resValue);\n }\n\n if (onChange) {\n onChange(null, resValue);\n }\n };\n\n const handleIncrement = () => {\n if (isLoading || disabled || isAnimationRun) {\n return;\n }\n\n const diffValue = Number(innerValue) + step;\n const resValue = max !== undefined && diffValue >= max ? max : diffValue;\n\n setInnerValue(resValue);\n\n if (onIncrement) {\n onIncrement(resValue);\n }\n\n if (onChange) {\n onChange(null, resValue);\n }\n };\n\n useEffect(() => {\n if (value === undefined || !isNumber(value)) {\n return;\n }\n\n setInnerValue((prevValue) => (prevValue !== value ? value : prevValue));\n }, [value]);\n\n return (\n <Root\n view={view}\n size={size}\n disabled={disabled}\n clear={clear}\n shape={shape}\n segmentation={segmentation}\n isLoading={isLoading}\n {...(segmentation === 'solid' ? { inputBackgroundType: 'clear' } : { inputBackgroundType })}\n className={cx(\n className,\n solidViewClass,\n segmentedViewClass,\n clearViewClass,\n disabledClass,\n loadingClass,\n focusedClass,\n )}\n style={\n {\n ...style,\n [privateTokens.inputWidth]: innerWidth,\n } as CSSProperties\n }\n >\n {customDecrementButton || (\n <ActionButton\n className={cx(\n classes.actionButtonDecrement,\n decrementButtonDisabled,\n solidViewClass,\n segmentedViewClass,\n )}\n icon={decrementIcon || <IconMinus color=\"inherit\" size={actionIconSize} />}\n onClick={handleDecrement}\n />\n )}\n <NumberInput\n ref={ref}\n segmentation={segmentation}\n value={innerValue}\n min={min}\n max={max}\n isManualInput={isManualInput}\n textBefore={textBefore}\n textAfter={textAfter}\n isLoading={isLoading}\n loader={loader}\n disabled={disabled}\n isInputFocused={isInputFocused}\n setIsInputFocused={setIsInputFocused}\n setIsAnimationRun={setIsAnimationRun}\n setInnerValue={setInnerValue}\n onChange={onChange}\n {...rest}\n />\n {customIncrementButton || (\n <ActionButton\n className={cx(\n classes.actionButtonIncrement,\n incrementButtonDisabled,\n solidViewClass,\n segmentedViewClass,\n )}\n icon={incrementIcon || <IconPlus color=\"inherit\" size={actionIconSize} />}\n onClick={handleIncrement}\n />\n )}\n </Root>\n );\n },\n );\n\nexport const numberInputConfig = {\n name: 'NumberInput',\n tag: 'div',\n layout: numberInputRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n shape: {\n css: shapeCSS,\n },\n inputBackgroundType: {\n css: inputBackgroundTypeCSS,\n },\n segmentation: {\n css: segmentationCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n },\n defaults: {\n view: 'default',\n size: 'l',\n shape: 'cornered',\n segmentation: 'default',\n },\n};\n"],"names":["numberInputRoot","Root","forwardRef","_ref","ref","_ref2","className","style","width","value","min","max","_ref$step","step","isLoading","loader","size","view","clear","shape","segmentation","_ref$inputBackgroundT","inputBackgroundType","disabled","textBefore","textAfter","customIncrementButton","incrementIcon","customDecrementButton","decrementIcon","isManualInput","onChange","onIncrement","onDecrement","rest","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","innerValue","setInnerValue","_useState3","_useState4","isInputFocused","setIsInputFocused","_useState5","_useState6","isAnimationRun","setIsAnimationRun","innerWidth","getSizeValueFromProp","actionIconSize","solidViewClass","classes","solidView","undefined","segmentedViewClass","segmentedView","clearViewClass","clearView","disabledClass","loadingClass","loading","focusedClass","focused","isMinValue","currentValue","isMaxValue","decrementButtonDisabled","Number","actionButtonDecrementDisabled","incrementButtonDisabled","actionButtonIncrementDisabled","handleDecrement","diffValue","resValue","handleIncrement","useEffect","isNumber","prevValue","React","createElement","_extends","cx","_objectSpread","_defineProperty","privateTokens","inputWidth","ActionButton","actionButtonDecrement","icon","IconMinus","color","onClick","NumberInput","actionButtonIncrement","IconPlus","numberInputConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","shapeCSS","inputBackgroundTypeCSS","segmentationCSS","disabledCSS","attrs","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;IAiBaA,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,IAAqD,EAAA;AAAA,EAAA,oBACjFC,gBAAU,CACN,UAAAC,IAAA,EA8BIC,GAAG,EACF;AAAA,IAAA,IAAAC,KAAA,CAAA;AAAA,IAAA,IA7BGC,SAAS,GAAAH,IAAA,CAATG,SAAS;MACTC,KAAK,GAAAJ,IAAA,CAALI,KAAK;MACLC,KAAK,GAAAL,IAAA,CAALK,KAAK;MACLC,KAAK,GAAAN,IAAA,CAALM,KAAK;MACLC,GAAG,GAAAP,IAAA,CAAHO,GAAG;MACHC,GAAG,GAAAR,IAAA,CAAHQ,GAAG;MAAAC,S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KACR;AACDtF,IAAAA,mBAAmB,EAAE;AACjBmF,MAAAA,GAAG,EAAEI,WAAAA;KACR;AACDzF,IAAAA,YAAY,EAAE;AACVqF,MAAAA,GAAG,EAAEK,WAAAA;KACR;AACDvF,IAAAA,QAAQ,EAAE;AACNkF,MAAAA,GAAG,EAAEM,WAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;AACX,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNhG,IAAAA,IAAI,EAAE,SAAS;AACfD,IAAAA,IAAI,EAAE,GAAG;AACTG,IAAAA,KAAK,EAAE,UAAU;AACjBC,IAAAA,YAAY,EAAE,SAAA;AAClB,GAAA;AACJ;;;;;"}
@@ -1,9 +0,0 @@
1
- import './NumberInput.styles_jeawjl.css';
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, '__esModule', { value: true });
5
-
6
- var base = "bwds6g";
7
-
8
- exports.base = base;
9
- //# sourceMappingURL=NumberInput.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NumberInput.styles.js","sources":["../../../src/components/NumberInput/NumberInput.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css`\n display: flex;\n align-items: center;\n`;\n"],"names":["base"],"mappings":";;;;AAEO,IAAMA,IAAI,GAGhB;;;;"}
@@ -1 +0,0 @@
1
- .bwds6g{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;}