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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (274) hide show
  1. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -1
  2. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  3. package/cjs/components/NumberInput/NumberInput.css +52 -0
  4. package/cjs/components/NumberInput/NumberInput.js +196 -0
  5. package/cjs/components/NumberInput/NumberInput.js.map +1 -0
  6. package/cjs/components/NumberInput/NumberInput.styles.js +9 -0
  7. package/cjs/components/NumberInput/NumberInput.styles.js.map +1 -0
  8. package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  9. package/cjs/components/NumberInput/NumberInput.tokens.js +102 -0
  10. package/cjs/components/NumberInput/NumberInput.tokens.js.map +1 -0
  11. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +19 -0
  12. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  13. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +22 -0
  14. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  15. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  16. package/cjs/components/NumberInput/ui/Input/Input.css +15 -0
  17. package/cjs/components/NumberInput/ui/Input/Input.js +204 -0
  18. package/cjs/components/NumberInput/ui/Input/Input.js.map +1 -0
  19. package/cjs/components/NumberInput/ui/Input/Input.styles.js +96 -0
  20. package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  21. package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  22. package/cjs/components/NumberInput/utils/index.js +12 -0
  23. package/cjs/components/NumberInput/utils/index.js.map +1 -0
  24. package/cjs/components/NumberInput/variations/_background-type/base.js +9 -0
  25. package/cjs/components/NumberInput/variations/_background-type/base.js.map +1 -0
  26. package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  27. package/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  28. package/cjs/components/NumberInput/variations/_disabled/base.js.map +1 -0
  29. package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  30. package/cjs/components/NumberInput/variations/_segmentation/base.js +9 -0
  31. package/cjs/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  32. package/cjs/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
  33. package/cjs/components/NumberInput/variations/_shape/base.js +9 -0
  34. package/cjs/components/NumberInput/variations/_shape/base.js.map +1 -0
  35. package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  36. package/cjs/components/NumberInput/variations/_size/base.js +9 -0
  37. package/cjs/components/NumberInput/variations/_size/base.js.map +1 -0
  38. package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  39. package/cjs/components/NumberInput/variations/_view/base.js +9 -0
  40. package/cjs/components/NumberInput/variations/_view/base.js.map +1 -0
  41. package/cjs/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
  42. package/cjs/index.css +23 -0
  43. package/cjs/index.js +6 -0
  44. package/cjs/index.js.map +1 -1
  45. package/emotion/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -1
  46. package/emotion/cjs/components/NumberInput/NumberInput.js +206 -0
  47. package/emotion/cjs/components/NumberInput/NumberInput.styles.js +17 -0
  48. package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +194 -0
  49. package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
  50. package/emotion/cjs/components/NumberInput/NumberInput.types.js +5 -0
  51. package/emotion/cjs/components/NumberInput/index.js +31 -0
  52. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  53. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +16 -0
  54. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  55. package/emotion/cjs/components/NumberInput/ui/Input/Input.js +212 -0
  56. package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +81 -0
  57. package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  58. package/emotion/cjs/components/NumberInput/ui/index.js +19 -0
  59. package/emotion/cjs/components/NumberInput/utils/index.js +9 -0
  60. package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  61. package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  62. package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  63. package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  64. package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  65. package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  66. package/emotion/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  67. package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  68. package/emotion/cjs/components/NumberInput/variations/_size/base.js +13 -0
  69. package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  70. package/emotion/cjs/components/NumberInput/variations/_view/base.js +13 -0
  71. package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  72. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  73. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  74. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  75. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  76. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  77. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  78. package/emotion/cjs/index.js +11 -0
  79. package/emotion/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -1
  80. package/emotion/es/components/NumberInput/NumberInput.js +198 -0
  81. package/emotion/es/components/NumberInput/NumberInput.styles.js +11 -0
  82. package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +194 -0
  83. package/emotion/es/components/NumberInput/NumberInput.tokens.js +93 -0
  84. package/emotion/es/components/NumberInput/NumberInput.types.js +1 -0
  85. package/emotion/es/components/NumberInput/index.js +2 -0
  86. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  87. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +9 -0
  88. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  89. package/emotion/es/components/NumberInput/ui/Input/Input.js +203 -0
  90. package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +74 -0
  91. package/emotion/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  92. package/emotion/es/components/NumberInput/ui/index.js +2 -0
  93. package/emotion/es/components/NumberInput/utils/index.js +3 -0
  94. package/emotion/es/components/NumberInput/variations/_background-type/base.js +4 -0
  95. package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  96. package/emotion/es/components/NumberInput/variations/_disabled/base.js +3 -0
  97. package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  98. package/emotion/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  99. package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  100. package/emotion/es/components/NumberInput/variations/_shape/base.js +5 -0
  101. package/emotion/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  102. package/emotion/es/components/NumberInput/variations/_size/base.js +7 -0
  103. package/emotion/es/components/NumberInput/variations/_size/tokens.json +22 -0
  104. package/emotion/es/components/NumberInput/variations/_view/base.js +7 -0
  105. package/emotion/es/components/NumberInput/variations/_view/tokens.json +14 -0
  106. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  107. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  108. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  109. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  110. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  111. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  112. package/emotion/es/index.js +2 -1
  113. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -1
  114. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  115. package/es/components/NumberInput/NumberInput.css +52 -0
  116. package/es/components/NumberInput/NumberInput.js +191 -0
  117. package/es/components/NumberInput/NumberInput.js.map +1 -0
  118. package/es/components/NumberInput/NumberInput.styles.js +5 -0
  119. package/es/components/NumberInput/NumberInput.styles.js.map +1 -0
  120. package/es/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  121. package/es/components/NumberInput/NumberInput.tokens.js +96 -0
  122. package/es/components/NumberInput/NumberInput.tokens.js.map +1 -0
  123. package/es/components/NumberInput/ui/ActionButton/ActionButton.js +15 -0
  124. package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  125. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +18 -0
  126. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  127. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  128. package/es/components/NumberInput/ui/Input/Input.css +15 -0
  129. package/es/components/NumberInput/ui/Input/Input.js +200 -0
  130. package/es/components/NumberInput/ui/Input/Input.js.map +1 -0
  131. package/es/components/NumberInput/ui/Input/Input.styles.js +85 -0
  132. package/es/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  133. package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  134. package/es/components/NumberInput/utils/index.js +6 -0
  135. package/es/components/NumberInput/utils/index.js.map +1 -0
  136. package/es/components/NumberInput/variations/_background-type/base.js +5 -0
  137. package/es/components/NumberInput/variations/_background-type/base.js.map +1 -0
  138. package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  139. package/es/components/NumberInput/variations/_disabled/base.js +5 -0
  140. package/es/components/NumberInput/variations/_disabled/base.js.map +1 -0
  141. package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  142. package/es/components/NumberInput/variations/_segmentation/base.js +5 -0
  143. package/es/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  144. package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
  145. package/es/components/NumberInput/variations/_shape/base.js +5 -0
  146. package/es/components/NumberInput/variations/_shape/base.js.map +1 -0
  147. package/es/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  148. package/es/components/NumberInput/variations/_size/base.js +5 -0
  149. package/es/components/NumberInput/variations/_size/base.js.map +1 -0
  150. package/es/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  151. package/es/components/NumberInput/variations/_view/base.js +5 -0
  152. package/es/components/NumberInput/variations/_view/base.js.map +1 -0
  153. package/es/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
  154. package/es/index.css +23 -0
  155. package/es/index.js +2 -0
  156. package/es/index.js.map +1 -1
  157. package/package.json +2 -2
  158. package/styled-components/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -1
  159. package/styled-components/cjs/components/NumberInput/NumberInput.js +206 -0
  160. package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +8 -0
  161. package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +194 -0
  162. package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
  163. package/styled-components/cjs/components/NumberInput/NumberInput.types.js +5 -0
  164. package/styled-components/cjs/components/NumberInput/index.js +31 -0
  165. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  166. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +15 -0
  167. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  168. package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +212 -0
  169. package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +48 -0
  170. package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  171. package/styled-components/cjs/components/NumberInput/ui/index.js +19 -0
  172. package/styled-components/cjs/components/NumberInput/utils/index.js +9 -0
  173. package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  174. package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  175. package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  176. package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  177. package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  178. package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  179. package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  180. package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  181. package/styled-components/cjs/components/NumberInput/variations/_size/base.js +13 -0
  182. package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  183. package/styled-components/cjs/components/NumberInput/variations/_view/base.js +13 -0
  184. package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  185. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  186. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  187. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  188. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  189. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  190. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  191. package/styled-components/cjs/index.js +11 -0
  192. package/styled-components/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +0 -1
  193. package/styled-components/es/components/NumberInput/NumberInput.js +198 -0
  194. package/styled-components/es/components/NumberInput/NumberInput.styles.js +2 -0
  195. package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +194 -0
  196. package/styled-components/es/components/NumberInput/NumberInput.tokens.js +93 -0
  197. package/styled-components/es/components/NumberInput/NumberInput.types.js +1 -0
  198. package/styled-components/es/components/NumberInput/index.js +2 -0
  199. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  200. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +8 -0
  201. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  202. package/styled-components/es/components/NumberInput/ui/Input/Input.js +203 -0
  203. package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +41 -0
  204. package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  205. package/styled-components/es/components/NumberInput/ui/index.js +2 -0
  206. package/styled-components/es/components/NumberInput/utils/index.js +3 -0
  207. package/styled-components/es/components/NumberInput/variations/_background-type/base.js +4 -0
  208. package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  209. package/styled-components/es/components/NumberInput/variations/_disabled/base.js +3 -0
  210. package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  211. package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  212. package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  213. package/styled-components/es/components/NumberInput/variations/_shape/base.js +5 -0
  214. package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  215. package/styled-components/es/components/NumberInput/variations/_size/base.js +7 -0
  216. package/styled-components/es/components/NumberInput/variations/_size/tokens.json +22 -0
  217. package/styled-components/es/components/NumberInput/variations/_view/base.js +7 -0
  218. package/styled-components/es/components/NumberInput/variations/_view/tokens.json +14 -0
  219. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  220. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  221. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  222. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  223. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  224. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  225. package/styled-components/es/index.js +2 -1
  226. package/types/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.d.ts.map +1 -1
  227. package/types/components/NumberInput/NumberInput.d.ts +38 -0
  228. package/types/components/NumberInput/NumberInput.d.ts.map +1 -0
  229. package/types/components/NumberInput/NumberInput.styles.d.ts +2 -0
  230. package/types/components/NumberInput/NumberInput.styles.d.ts.map +1 -0
  231. package/types/components/NumberInput/NumberInput.tokens.d.ts +88 -0
  232. package/types/components/NumberInput/NumberInput.tokens.d.ts.map +1 -0
  233. package/types/components/NumberInput/NumberInput.types.d.ts +112 -0
  234. package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -0
  235. package/types/components/NumberInput/index.d.ts +3 -0
  236. package/types/components/NumberInput/index.d.ts.map +1 -0
  237. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +4 -0
  238. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +1 -0
  239. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +45 -0
  240. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +1 -0
  241. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +7 -0
  242. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +1 -0
  243. package/types/components/NumberInput/ui/Input/Input.d.ts +19 -0
  244. package/types/components/NumberInput/ui/Input/Input.d.ts.map +1 -0
  245. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +30 -0
  246. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +1 -0
  247. package/types/components/NumberInput/ui/Input/Input.types.d.ts +19 -0
  248. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -0
  249. package/types/components/NumberInput/ui/index.d.ts +3 -0
  250. package/types/components/NumberInput/ui/index.d.ts.map +1 -0
  251. package/types/components/NumberInput/utils/index.d.ts +4 -0
  252. package/types/components/NumberInput/utils/index.d.ts.map +1 -0
  253. package/types/components/NumberInput/variations/_background-type/base.d.ts +2 -0
  254. package/types/components/NumberInput/variations/_background-type/base.d.ts.map +1 -0
  255. package/types/components/NumberInput/variations/_disabled/base.d.ts +2 -0
  256. package/types/components/NumberInput/variations/_disabled/base.d.ts.map +1 -0
  257. package/types/components/NumberInput/variations/_segmentation/base.d.ts +2 -0
  258. package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +1 -0
  259. package/types/components/NumberInput/variations/_shape/base.d.ts +2 -0
  260. package/types/components/NumberInput/variations/_shape/base.d.ts.map +1 -0
  261. package/types/components/NumberInput/variations/_size/base.d.ts +2 -0
  262. package/types/components/NumberInput/variations/_size/base.d.ts.map +1 -0
  263. package/types/components/NumberInput/variations/_view/base.d.ts +2 -0
  264. package/types/components/NumberInput/variations/_view/base.d.ts.map +1 -0
  265. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +39 -0
  266. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  267. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +82 -0
  268. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -0
  269. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +39 -0
  270. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  271. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +82 -0
  272. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -0
  273. package/types/index.d.ts +1 -0
  274. package/types/index.d.ts.map +1 -1
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _react = /*#__PURE__*/require("@emotion/react");
8
+ var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
9
+ var _IconButton = /*#__PURE__*/require("../../../IconButton");
10
+ var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
11
+ var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
12
+ var _Spinner = /*#__PURE__*/require("../../../Spinner");
13
+ var base = exports.base = /*#__PURE__*/(0, _react.css)(_ActionButton.StyledIconButton, "{", _IconButton.iconButtonTokens.iconButtonColor, ":var(", _NumberInput.tokens.iconButtonColor, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColor, ":var(", _NumberInput.tokens.iconButtonBackgroundColor, ");", _IconButton.iconButtonTokens.iconButtonColorHover, ":var(", _NumberInput.tokens.iconButtonColorHover, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColorHover, ":var(", _NumberInput.tokens.iconButtonBackgroundColorHover, ");", _IconButton.iconButtonTokens.iconButtonColorActive, ":var(", _NumberInput.tokens.iconButtonColorActive, ");", _IconButton.iconButtonTokens.iconButtonBackgroundColorActive, ":var(", _NumberInput.tokens.iconButtonBackgroundColorActive, ");&.", _NumberInput.classes.actionButtonDecrementDisabled, ",&.", _NumberInput.classes.actionButtonIncrementDisabled, "{opacity:var(", _NumberInput.tokens.actionButtonDisabledOpacity, ");cursor:not-allowed;:hover,:active{scale:none;color:var(", _NumberInput.tokens.iconButtonColor, ");background-color:var(", _NumberInput.tokens.iconButtonBackgroundColor, ");}}}&& ", _Input.InputWrapper, "{&.", _NumberInput.classes.manualInput, ":focus-within{background-color:var(", _NumberInput.tokens.backgroundColorFocus, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderColorFocus, ");}&.", _NumberInput.classes.manualInput, ".", _NumberInput.classes.errorAnimation, "{background-color:var(", _NumberInput.tokens.backgroundErrorColor, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderErrorColor, ");animation:shakingError 0.3s forwards;", _Input.Input, "{color:var(", _NumberInput.tokens.errorColor, ");animation:fadeError 0.3s forwards;}&:focus-within{background-color:var(", _NumberInput.tokens.backgroundErrorColor, ");box-shadow:inset 0 0 0 var(", _NumberInput.tokens.inputWrapperBorderWidth, ") var(", _NumberInput.tokens.borderErrorColor, ");}}@keyframes shakingError{14%{transform:translateX(-0.125rem);}28%{transform:translateX(0.125rem);}42%{transform:translateX(-0.125rem);}57%{transform:translateX(0.125rem);}71%{transform:translateX(-0.125rem);}85%{transform:translateX(0.125rem);}100%{transform:translateX(-0.125rem);}}@keyframes fadeError{50%{opacity:1;}100%{opacity:0;}}}", _Input.StyledSpinner, "{", _Spinner.spinnerTokens.color, ":var(", _NumberInput.tokens.loaderSpinnerColor, ");}", _Input.Input, "{color:var(", _NumberInput.tokens.color, ");caret-color:var(", _NumberInput.tokens.caretColor, ");}", _Input.AdditionalText, "{color:var(", _NumberInput.tokens.additionalTextColor, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvTnVtYmVySW5wdXQvdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVF1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL051bWJlcklucHV0L3ZhcmlhdGlvbnMvX3ZpZXcvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW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bnMuYm9yZGVyQ29sb3JGb2N1c30pO1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMubWFudWFsSW5wdXR9LiR7Y2xhc3Nlcy5lcnJvckFuaW1hdGlvbn0ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLmJhY2tncm91bmRFcnJvckNvbG9yfSk7XG4gICAgICAgICAgICBib3gtc2hhZG93OiBpbnNldCAwIDAgMCB2YXIoJHt0b2tlbnMuaW5wdXRXcmFwcGVyQm9yZGVyV2lkdGh9KSB2YXIoJHt0b2tlbnMuYm9yZGVyRXJyb3JDb2xvcn0pO1xuXG4gICAgICAgICAgICBhbmltYXRpb246IHNoYWtpbmdFcnJvciAwLjNzIGZvcndhcmRzO1xuXG4gICAgICAgICAgICAke0lucHV0fSB7XG4gICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5lcnJvckNvbG9yfSk7XG4gICAgICAgICAgICAgICAgYW5pbWF0aW9uOiBmYWRlRXJyb3IgMC4zcyBmb3J3YXJkcztcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpmb2N1cy13aXRoaW4ge1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5iYWNrZ3JvdW5kRXJyb3JDb2xvcn0pO1xuICAgICAgICAgICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke3Rva2Vucy5pbnB1dFdyYXBwZXJCb3JkZXJXaWR0aH0pIHZhcigke3Rva2Vucy5ib3JkZXJFcnJvckNvbG9yfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICBAa2V5ZnJhbWVzIHNoYWtpbmdFcnJvciB7XG4gICAgICAgICAgICAxNCUge1xuICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgtMC4xMjVyZW0pO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgMjglIHtcbiAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMC4xMjVyZW0pO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgNDIlIHtcbiAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTI1cmVtKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDU3JSB7XG4gICAgICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDAuMTI1cmVtKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDcxJSB7XG4gICAgICAgICAgICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKC0wLjEyNXJlbSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICA4NSUge1xuICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgwLjEyNXJlbSk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAxMDAlIHtcbiAgICAgICAgICAgICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoLTAuMTI1cmVtKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIEBrZXlmcmFtZXMgZmFkZUVycm9yIHtcbiAgICAgICAgICAgIDUwJSB7XG4gICAgICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDEwMCUge1xuICAgICAgICAgICAgICAgIG9wYWNpdHk6IDA7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAke1N0eWxlZFNwaW5uZXJ9IHtcbiAgICAgICAgJHtzcGlubmVyVG9rZW5zLmNvbG9yfTogdmFyKCR7dG9rZW5zLmxvYWRlclNwaW5uZXJDb2xvcn0pO1xuICAgIH1cblxuICAgICR7SW5wdXR9IHtcbiAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jb2xvcn0pO1xuICAgICAgICBjYXJldC1jb2xvcjogdmFyKCR7dG9rZW5zLmNhcmV0Q29sb3J9KTtcbiAgICB9XG5cbiAgICAke0FkZGl0aW9uYWxUZXh0fSB7XG4gICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuYWRkaXRpb25hbFRleHRDb2xvcn0pO1xuICAgIH1cbmA7XG4iXX0= */"));
@@ -0,0 +1,14 @@
1
+ [
2
+ "--plasma-number-input_icon-button_color",
3
+ "--plasma-number-input_icon-button_background-color",
4
+ "--plasma-number-input_icon-button_color-hover",
5
+ "--plasma-number-input_icon-button_background-color-hover",
6
+ "--plasma-number-input_icon-button_color-active",
7
+ "--plasma-number-input_icon-button_background-color-active",
8
+ "--plasma-number-input_loader-spinner_color",
9
+ "--plasma-number-input_color",
10
+ "--plasma-number-input_additional-text_color",
11
+ "--plasma-number-input_action-button_disabled-opacity",
12
+ "--plasma-number-input_background-color-focus",
13
+ "--plasma-number-input_border-color-focus"
14
+ ]