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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. package/cjs/components/NumberInput/NumberInput.css +52 -0
  2. package/cjs/components/NumberInput/NumberInput.js +205 -0
  3. package/cjs/components/NumberInput/NumberInput.js.map +1 -0
  4. package/cjs/components/NumberInput/NumberInput.styles.js +9 -0
  5. package/cjs/components/NumberInput/NumberInput.styles.js.map +1 -0
  6. package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  7. package/cjs/components/NumberInput/NumberInput.tokens.js +102 -0
  8. package/cjs/components/NumberInput/NumberInput.tokens.js.map +1 -0
  9. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +19 -0
  10. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  11. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +22 -0
  12. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  13. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  14. package/cjs/components/NumberInput/ui/Input/Input.css +15 -0
  15. package/cjs/components/NumberInput/ui/Input/Input.js +205 -0
  16. package/cjs/components/NumberInput/ui/Input/Input.js.map +1 -0
  17. package/cjs/components/NumberInput/ui/Input/Input.styles.js +96 -0
  18. package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  19. package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  20. package/cjs/components/NumberInput/utils/index.js +12 -0
  21. package/cjs/components/NumberInput/utils/index.js.map +1 -0
  22. package/cjs/components/NumberInput/variations/_background-type/base.js +9 -0
  23. package/cjs/components/NumberInput/variations/_background-type/base.js.map +1 -0
  24. package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  25. package/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  26. package/cjs/components/NumberInput/variations/_disabled/base.js.map +1 -0
  27. package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  28. package/cjs/components/NumberInput/variations/_segmentation/base.js +9 -0
  29. package/cjs/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  30. package/cjs/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
  31. package/cjs/components/NumberInput/variations/_shape/base.js +9 -0
  32. package/cjs/components/NumberInput/variations/_shape/base.js.map +1 -0
  33. package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  34. package/cjs/components/NumberInput/variations/_size/base.js +9 -0
  35. package/cjs/components/NumberInput/variations/_size/base.js.map +1 -0
  36. package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  37. package/cjs/components/NumberInput/variations/_view/base.js +9 -0
  38. package/cjs/components/NumberInput/variations/_view/base.js.map +1 -0
  39. package/cjs/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
  40. package/cjs/components/Steps/Steps.css +10 -10
  41. package/cjs/components/Steps/Steps.js +14 -21
  42. package/cjs/components/Steps/Steps.js.map +1 -1
  43. package/cjs/components/Steps/Steps.styles.js +1 -1
  44. package/cjs/components/Steps/Steps.styles.js.map +1 -1
  45. package/cjs/components/Steps/{Steps.styles_wa45kj.css → Steps.styles_1xmqxqu.css} +1 -1
  46. package/cjs/components/Steps/Steps.tokens.js +0 -1
  47. package/cjs/components/Steps/Steps.tokens.js.map +1 -1
  48. package/cjs/components/Steps/ui/StepItem/StepItem.css +9 -9
  49. package/cjs/components/Steps/ui/StepItem/StepItem.js +7 -29
  50. package/cjs/components/Steps/ui/StepItem/StepItem.js.map +1 -1
  51. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +6 -6
  52. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  53. package/cjs/components/Steps/ui/StepItem/StepItem.styles_sp9rcd.css +9 -0
  54. package/cjs/index.css +34 -11
  55. package/cjs/index.js +6 -0
  56. package/cjs/index.js.map +1 -1
  57. package/emotion/cjs/components/NumberInput/NumberInput.js +214 -0
  58. package/emotion/cjs/components/NumberInput/NumberInput.styles.js +17 -0
  59. package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  60. package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
  61. package/emotion/cjs/components/NumberInput/NumberInput.types.js +5 -0
  62. package/emotion/cjs/components/NumberInput/index.js +31 -0
  63. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  64. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +16 -0
  65. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  66. package/emotion/cjs/components/NumberInput/ui/Input/Input.js +213 -0
  67. package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +81 -0
  68. package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  69. package/emotion/cjs/components/NumberInput/ui/index.js +19 -0
  70. package/emotion/cjs/components/NumberInput/utils/index.js +9 -0
  71. package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  72. package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  73. package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  74. package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  75. package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  76. package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  77. package/emotion/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  78. package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  79. package/emotion/cjs/components/NumberInput/variations/_size/base.js +13 -0
  80. package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  81. package/emotion/cjs/components/NumberInput/variations/_view/base.js +13 -0
  82. package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  83. package/emotion/cjs/components/Steps/Steps.js +14 -23
  84. package/emotion/cjs/components/Steps/Steps.styles.js +1 -1
  85. package/emotion/cjs/components/Steps/Steps.tokens.js +0 -1
  86. package/emotion/cjs/components/Steps/ui/StepItem/StepItem.js +7 -29
  87. package/emotion/cjs/components/Steps/ui/StepItem/StepItem.styles.js +11 -22
  88. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  89. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  90. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  91. package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.config.js +5 -5
  92. package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  93. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  94. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  95. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  96. package/emotion/cjs/examples/plasma_web/components/Steps/Steps.config.js +5 -5
  97. package/emotion/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  98. package/emotion/cjs/index.js +11 -0
  99. package/emotion/es/components/NumberInput/NumberInput.js +206 -0
  100. package/emotion/es/components/NumberInput/NumberInput.styles.js +11 -0
  101. package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  102. package/emotion/es/components/NumberInput/NumberInput.tokens.js +93 -0
  103. package/emotion/es/components/NumberInput/NumberInput.types.js +1 -0
  104. package/emotion/es/components/NumberInput/index.js +2 -0
  105. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  106. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +9 -0
  107. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  108. package/emotion/es/components/NumberInput/ui/Input/Input.js +204 -0
  109. package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +74 -0
  110. package/emotion/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  111. package/emotion/es/components/NumberInput/ui/index.js +2 -0
  112. package/emotion/es/components/NumberInput/utils/index.js +3 -0
  113. package/emotion/es/components/NumberInput/variations/_background-type/base.js +4 -0
  114. package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  115. package/emotion/es/components/NumberInput/variations/_disabled/base.js +3 -0
  116. package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  117. package/emotion/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  118. package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  119. package/emotion/es/components/NumberInput/variations/_shape/base.js +5 -0
  120. package/emotion/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  121. package/emotion/es/components/NumberInput/variations/_size/base.js +7 -0
  122. package/emotion/es/components/NumberInput/variations/_size/tokens.json +22 -0
  123. package/emotion/es/components/NumberInput/variations/_view/base.js +7 -0
  124. package/emotion/es/components/NumberInput/variations/_view/tokens.json +14 -0
  125. package/emotion/es/components/Steps/Steps.js +15 -24
  126. package/emotion/es/components/Steps/Steps.styles.js +1 -1
  127. package/emotion/es/components/Steps/Steps.tokens.js +0 -1
  128. package/emotion/es/components/Steps/ui/StepItem/StepItem.js +7 -29
  129. package/emotion/es/components/Steps/ui/StepItem/StepItem.styles.js +11 -22
  130. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  131. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  132. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  133. package/emotion/es/examples/plasma_b2c/components/Steps/Steps.config.js +5 -5
  134. package/emotion/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  135. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  136. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  137. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  138. package/emotion/es/examples/plasma_web/components/Steps/Steps.config.js +5 -5
  139. package/emotion/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  140. package/emotion/es/index.js +2 -1
  141. package/es/components/NumberInput/NumberInput.css +52 -0
  142. package/es/components/NumberInput/NumberInput.js +200 -0
  143. package/es/components/NumberInput/NumberInput.js.map +1 -0
  144. package/es/components/NumberInput/NumberInput.styles.js +5 -0
  145. package/es/components/NumberInput/NumberInput.styles.js.map +1 -0
  146. package/es/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  147. package/es/components/NumberInput/NumberInput.tokens.js +96 -0
  148. package/es/components/NumberInput/NumberInput.tokens.js.map +1 -0
  149. package/es/components/NumberInput/ui/ActionButton/ActionButton.js +15 -0
  150. package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  151. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +18 -0
  152. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  153. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  154. package/es/components/NumberInput/ui/Input/Input.css +15 -0
  155. package/es/components/NumberInput/ui/Input/Input.js +201 -0
  156. package/es/components/NumberInput/ui/Input/Input.js.map +1 -0
  157. package/es/components/NumberInput/ui/Input/Input.styles.js +85 -0
  158. package/es/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  159. package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  160. package/es/components/NumberInput/utils/index.js +6 -0
  161. package/es/components/NumberInput/utils/index.js.map +1 -0
  162. package/es/components/NumberInput/variations/_background-type/base.js +5 -0
  163. package/es/components/NumberInput/variations/_background-type/base.js.map +1 -0
  164. package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  165. package/es/components/NumberInput/variations/_disabled/base.js +5 -0
  166. package/es/components/NumberInput/variations/_disabled/base.js.map +1 -0
  167. package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  168. package/es/components/NumberInput/variations/_segmentation/base.js +5 -0
  169. package/es/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  170. package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
  171. package/es/components/NumberInput/variations/_shape/base.js +5 -0
  172. package/es/components/NumberInput/variations/_shape/base.js.map +1 -0
  173. package/es/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  174. package/es/components/NumberInput/variations/_size/base.js +5 -0
  175. package/es/components/NumberInput/variations/_size/base.js.map +1 -0
  176. package/es/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  177. package/es/components/NumberInput/variations/_view/base.js +5 -0
  178. package/es/components/NumberInput/variations/_view/base.js.map +1 -0
  179. package/es/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
  180. package/es/components/Steps/Steps.css +10 -10
  181. package/es/components/Steps/Steps.js +16 -23
  182. package/es/components/Steps/Steps.js.map +1 -1
  183. package/es/components/Steps/Steps.styles.js +1 -1
  184. package/es/components/Steps/Steps.styles.js.map +1 -1
  185. package/es/components/Steps/{Steps.styles_wa45kj.css → Steps.styles_1xmqxqu.css} +1 -1
  186. package/es/components/Steps/Steps.tokens.js +0 -1
  187. package/es/components/Steps/Steps.tokens.js.map +1 -1
  188. package/es/components/Steps/ui/StepItem/StepItem.css +9 -9
  189. package/es/components/Steps/ui/StepItem/StepItem.js +8 -30
  190. package/es/components/Steps/ui/StepItem/StepItem.js.map +1 -1
  191. package/es/components/Steps/ui/StepItem/StepItem.styles.js +6 -6
  192. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  193. package/es/components/Steps/ui/StepItem/StepItem.styles_sp9rcd.css +9 -0
  194. package/es/index.css +34 -11
  195. package/es/index.js +2 -0
  196. package/es/index.js.map +1 -1
  197. package/package.json +2 -2
  198. package/styled-components/cjs/components/NumberInput/NumberInput.js +214 -0
  199. package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +8 -0
  200. package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  201. package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
  202. package/styled-components/cjs/components/NumberInput/NumberInput.types.js +5 -0
  203. package/styled-components/cjs/components/NumberInput/index.js +31 -0
  204. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  205. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +15 -0
  206. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  207. package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +213 -0
  208. package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +48 -0
  209. package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  210. package/styled-components/cjs/components/NumberInput/ui/index.js +19 -0
  211. package/styled-components/cjs/components/NumberInput/utils/index.js +9 -0
  212. package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  213. package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  214. package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  215. package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  216. package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  217. package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  218. package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  219. package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  220. package/styled-components/cjs/components/NumberInput/variations/_size/base.js +13 -0
  221. package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  222. package/styled-components/cjs/components/NumberInput/variations/_view/base.js +13 -0
  223. package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  224. package/styled-components/cjs/components/Steps/Steps.js +14 -23
  225. package/styled-components/cjs/components/Steps/Steps.styles.js +1 -1
  226. package/styled-components/cjs/components/Steps/Steps.tokens.js +0 -1
  227. package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.js +7 -29
  228. package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.styles.js +6 -17
  229. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  230. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  231. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  232. package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.config.js +1 -1
  233. package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  234. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  235. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  236. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  237. package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.config.js +1 -1
  238. package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  239. package/styled-components/cjs/index.js +11 -0
  240. package/styled-components/es/components/NumberInput/NumberInput.js +206 -0
  241. package/styled-components/es/components/NumberInput/NumberInput.styles.js +2 -0
  242. package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  243. package/styled-components/es/components/NumberInput/NumberInput.tokens.js +93 -0
  244. package/styled-components/es/components/NumberInput/NumberInput.types.js +1 -0
  245. package/styled-components/es/components/NumberInput/index.js +2 -0
  246. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  247. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +8 -0
  248. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  249. package/styled-components/es/components/NumberInput/ui/Input/Input.js +204 -0
  250. package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +41 -0
  251. package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  252. package/styled-components/es/components/NumberInput/ui/index.js +2 -0
  253. package/styled-components/es/components/NumberInput/utils/index.js +3 -0
  254. package/styled-components/es/components/NumberInput/variations/_background-type/base.js +4 -0
  255. package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  256. package/styled-components/es/components/NumberInput/variations/_disabled/base.js +3 -0
  257. package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  258. package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  259. package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  260. package/styled-components/es/components/NumberInput/variations/_shape/base.js +5 -0
  261. package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  262. package/styled-components/es/components/NumberInput/variations/_size/base.js +7 -0
  263. package/styled-components/es/components/NumberInput/variations/_size/tokens.json +22 -0
  264. package/styled-components/es/components/NumberInput/variations/_view/base.js +7 -0
  265. package/styled-components/es/components/NumberInput/variations/_view/tokens.json +14 -0
  266. package/styled-components/es/components/Steps/Steps.js +15 -24
  267. package/styled-components/es/components/Steps/Steps.styles.js +1 -1
  268. package/styled-components/es/components/Steps/Steps.tokens.js +0 -1
  269. package/styled-components/es/components/Steps/ui/StepItem/StepItem.js +7 -29
  270. package/styled-components/es/components/Steps/ui/StepItem/StepItem.styles.js +6 -17
  271. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  272. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  273. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  274. package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.config.js +1 -1
  275. package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  276. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  277. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  278. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  279. package/styled-components/es/examples/plasma_web/components/Steps/Steps.config.js +1 -1
  280. package/styled-components/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  281. package/styled-components/es/index.js +2 -1
  282. package/types/components/NumberInput/NumberInput.d.ts +38 -0
  283. package/types/components/NumberInput/NumberInput.d.ts.map +1 -0
  284. package/types/components/NumberInput/NumberInput.styles.d.ts +2 -0
  285. package/types/components/NumberInput/NumberInput.styles.d.ts.map +1 -0
  286. package/types/components/NumberInput/NumberInput.tokens.d.ts +88 -0
  287. package/types/components/NumberInput/NumberInput.tokens.d.ts.map +1 -0
  288. package/types/components/NumberInput/NumberInput.types.d.ts +112 -0
  289. package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -0
  290. package/types/components/NumberInput/index.d.ts +3 -0
  291. package/types/components/NumberInput/index.d.ts.map +1 -0
  292. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +4 -0
  293. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +1 -0
  294. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +45 -0
  295. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +1 -0
  296. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +7 -0
  297. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +1 -0
  298. package/types/components/NumberInput/ui/Input/Input.d.ts +19 -0
  299. package/types/components/NumberInput/ui/Input/Input.d.ts.map +1 -0
  300. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +30 -0
  301. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +1 -0
  302. package/types/components/NumberInput/ui/Input/Input.types.d.ts +19 -0
  303. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -0
  304. package/types/components/NumberInput/ui/index.d.ts +3 -0
  305. package/types/components/NumberInput/ui/index.d.ts.map +1 -0
  306. package/types/components/NumberInput/utils/index.d.ts +4 -0
  307. package/types/components/NumberInput/utils/index.d.ts.map +1 -0
  308. package/types/components/NumberInput/variations/_background-type/base.d.ts +2 -0
  309. package/types/components/NumberInput/variations/_background-type/base.d.ts.map +1 -0
  310. package/types/components/NumberInput/variations/_disabled/base.d.ts +2 -0
  311. package/types/components/NumberInput/variations/_disabled/base.d.ts.map +1 -0
  312. package/types/components/NumberInput/variations/_segmentation/base.d.ts +2 -0
  313. package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +1 -0
  314. package/types/components/NumberInput/variations/_shape/base.d.ts +2 -0
  315. package/types/components/NumberInput/variations/_shape/base.d.ts.map +1 -0
  316. package/types/components/NumberInput/variations/_size/base.d.ts +2 -0
  317. package/types/components/NumberInput/variations/_size/base.d.ts.map +1 -0
  318. package/types/components/NumberInput/variations/_view/base.d.ts +2 -0
  319. package/types/components/NumberInput/variations/_view/base.d.ts.map +1 -0
  320. package/types/components/Steps/Steps.d.ts.map +1 -1
  321. package/types/components/Steps/Steps.styles.d.ts.map +1 -1
  322. package/types/components/Steps/Steps.tokens.d.ts +0 -1
  323. package/types/components/Steps/Steps.tokens.d.ts.map +1 -1
  324. package/types/components/Steps/ui/StepItem/StepItem.d.ts.map +1 -1
  325. package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts +2 -2
  326. package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts.map +1 -1
  327. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +39 -0
  328. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  329. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +82 -0
  330. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -0
  331. package/types/examples/plasma_b2c/components/Steps/Steps.config.d.ts.map +1 -1
  332. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +39 -0
  333. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  334. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +82 -0
  335. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -0
  336. package/types/examples/plasma_web/components/Steps/Steps.config.d.ts.map +1 -1
  337. package/types/index.d.ts +1 -0
  338. package/types/index.d.ts.map +1 -1
  339. package/cjs/components/Steps/ui/StepItem/StepItem.styles_q5nnk6.css +0 -9
  340. package/es/components/Steps/ui/StepItem/StepItem.styles_q5nnk6.css +0 -9
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ActionButton", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _ActionButton.ActionButton;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "NumberInput", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _Input.NumberInput;
16
+ }
17
+ });
18
+ var _ActionButton = /*#__PURE__*/require("./ActionButton/ActionButton");
19
+ var _Input = /*#__PURE__*/require("./Input/Input");
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.numberSchema = exports.excludingNumberSchema = exports.defaultCharacterWidth = void 0;
7
+ var defaultCharacterWidth = exports.defaultCharacterWidth = '1ch';
8
+ var numberSchema = exports.numberSchema = /^(-)?\d+(\.\d+)?$/;
9
+ var excludingNumberSchema = exports.excludingNumberSchema = /[^-.\d]/g;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
9
+ var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");&.", ":hover{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}}"], _Input.InputWrapper, _NumberInput.tokens.backgroundColor, _NumberInput.tokens.inputWrapperBorderWidth, _NumberInput.tokens.borderColor, _NumberInput.classes.manualInput, _NumberInput.tokens.backgroundColorHover, _NumberInput.tokens.inputWrapperBorderWidth, _NumberInput.tokens.borderColorHover);
@@ -0,0 +1,6 @@
1
+ [
2
+ "--plasma-number-input_background-color",
3
+ "--plasma-number-input_background-color-hover",
4
+ "--plasma-number-input_border-color",
5
+ "--plasma-number-input_border-color-hover"
6
+ ]
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
9
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&&.", "{pointer-events:none;opacity:var(", ");cursor:not-allowed;}"], _NumberInput.classes.disabled, _NumberInput.tokens.disabledOpacity);
@@ -0,0 +1,4 @@
1
+ {
2
+ "type": "boolean",
3
+ "tokens": ["--plasma-number-input_disabled-opacity"]
4
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
9
+ var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
10
+ var _Input = /*#__PURE__*/require("../../ui/Input/Input.styles");
11
+ var _Spinner = /*#__PURE__*/require("../../../Spinner");
12
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{border-radius:var(", ");}", "{", ":var(", ");&.", ",&.", "{", ":var(", ",var(", "));}&.", "{border-radius:var(", ") var(", ") var(", ") var(", ");}&.", "{border-radius:var(", ") var(", ") var(", ") var(", ");}}&.", "{", "{border-radius:var(", ");}}&.", "{", ":inset 0 var(", ") var(", ");", ":inset 0 calc(-1 * var(", ")) var(", ");", ":inset var(", ") 0 var(", ");", ":inset calc(-1 * var(", ")) 0 var(", ");&.", ":not(", "),&.", ":not(", "){", ":inset 0 var(", ") var(", ");", ":inset 0 calc(-1 * var(", ")) var(", ");", ":inset var(", ") 0 var(", ");", ":inset calc(-1 * var(", ")) 0 var(", ");}position:relative;&:before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:calc(100% - var(", ") * 2);height:100%;background:var(", ");box-shadow:var(", "),var(", ");}", "{position:relative;color:var(", ");&:not(", ").", ":focus-within{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}}", "{&.", "{box-shadow:var(", "),var(", "),var(", ");}&.", "{box-shadow:var(", "),var(", "),var(", ");}:hover,:active{background-color:var(", ");}:hover{color:var(", ");}:active{color:var(", ");}&.", ",&.", "{opacity:1;svg{opacity:var(", ");}:hover,:active{color:var(", ");svg{opacity:var(", ");}}}}&.", "{", "{&.", ",&.", "{:hover,:active{background-color:transparent;}}}}", "{", ":var(", ");}", "{caret-color:var(", ",var(", "));&:not(.", "){color:var(", ");}}", "{color:var(", ");}}"], _Input.InputWrapper, _NumberInput.tokens.inputWrapperBorderRadius, _ActionButton.StyledIconButton, _NumberInput.privateTokens.segmentationBorderRadius, _NumberInput.tokens.iconButtonRadius, _NumberInput.classes.segmentedView, _NumberInput.classes.solidView, _NumberInput.privateTokens.segmentationBorderRadius, _NumberInput.tokens.iconButtonSegmentationRadius, _NumberInput.tokens.iconButtonRadius, _NumberInput.classes.actionButtonDecrement, _NumberInput.tokens.iconButtonRadius, _NumberInput.privateTokens.segmentationBorderRadius, _NumberInput.privateTokens.segmentationBorderRadius, _NumberInput.tokens.iconButtonRadius, _NumberInput.classes.actionButtonIncrement, _NumberInput.privateTokens.segmentationBorderRadius, _NumberInput.tokens.iconButtonRadius, _NumberInput.tokens.iconButtonRadius, _NumberInput.privateTokens.segmentationBorderRadius, _NumberInput.classes.segmentedView, _Input.InputWrapper, _NumberInput.tokens.iconButtonSegmentationRadius, _NumberInput.classes.solidView, _NumberInput.privateTokens.topBoxShadow, _NumberInput.tokens.rootBorderWidth, _NumberInput.tokens.wrapperBorderColor, _NumberInput.privateTokens.bottomBoxShadow, _NumberInput.tokens.rootBorderWidth, _NumberInput.tokens.wrapperBorderColor, _NumberInput.privateTokens.leftBoxShadow, _NumberInput.tokens.rootBorderWidth, _NumberInput.tokens.wrapperBorderColor, _NumberInput.privateTokens.rightBoxShadow, _NumberInput.tokens.rootBorderWidth, _NumberInput.tokens.wrapperBorderColor, _NumberInput.classes.focused, _NumberInput.classes.loading, _NumberInput.classes.focused, _NumberInput.classes.disabled, _NumberInput.privateTokens.topBoxShadow, _NumberInput.tokens.rootBorderWidth, _NumberInput.tokens.wrapperBorderColorFocus, _NumberInput.privateTokens.bottomBoxShadow, _NumberInput.tokens.rootBorderWidth, _NumberInput.tokens.wrapperBorderColorFocus, _NumberInput.privateTokens.leftBoxShadow, _NumberInput.tokens.rootBorderWidth, _NumberInput.tokens.wrapperBorderColorFocus, _NumberInput.privateTokens.rightBoxShadow, _NumberInput.tokens.rootBorderWidth, _NumberInput.tokens.wrapperBorderColorFocus, _NumberInput.tokens.iconButtonWidth, _NumberInput.tokens.backgroundColorSolid, _NumberInput.privateTokens.topBoxShadow, _NumberInput.privateTokens.bottomBoxShadow, _Input.InputWrapper, _NumberInput.tokens.colorSolid, _NumberInput.classes.errorAnimation, _NumberInput.classes.manualInput, _NumberInput.tokens.backgroundColorSolidFocus, _NumberInput.tokens.inputWrapperBorderWidth, _NumberInput.tokens.borderColorSolidFocus, _ActionButton.StyledIconButton, _NumberInput.classes.actionButtonDecrement, _NumberInput.privateTokens.bottomBoxShadow, _NumberInput.privateTokens.topBoxShadow, _NumberInput.privateTokens.leftBoxShadow, _NumberInput.classes.actionButtonIncrement, _NumberInput.privateTokens.bottomBoxShadow, _NumberInput.privateTokens.topBoxShadow, _NumberInput.privateTokens.rightBoxShadow, _NumberInput.tokens.iconButtonBackgroundColor, _NumberInput.tokens.iconButtonColorSolidHover, _NumberInput.tokens.iconButtonColorSolidActive, _NumberInput.classes.actionButtonDecrementDisabled, _NumberInput.classes.actionButtonIncrementDisabled, _NumberInput.tokens.actionButtonDisabledOpacity, _NumberInput.tokens.iconButtonColor, _NumberInput.tokens.actionButtonDisabledOpacity, _NumberInput.classes.clearView, _ActionButton.StyledIconButton, _NumberInput.classes.actionButtonDecrementDisabled, _NumberInput.classes.actionButtonIncrementDisabled, _Input.StyledSpinner, _Spinner.spinnerTokens.color, _NumberInput.tokens.loaderSpinnerColorSolid, _Input.Input, _NumberInput.tokens.caretColorSolid, _NumberInput.tokens.caretColor, _NumberInput.classes.errorAnimation, _NumberInput.tokens.colorSolid, _Input.AdditionalText, _NumberInput.tokens.additionalTextColorSolid);
@@ -0,0 +1 @@
1
+ ["--plasma-number-input_icon-button_segmentation_radius", "--plasma-number-input_background-color-solid"]
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _NumberInput = /*#__PURE__*/require("../../NumberInput.tokens");
9
+ var _IconButton = /*#__PURE__*/require("../../../IconButton");
10
+ var _ActionButton = /*#__PURE__*/require("../../ui/ActionButton/ActionButton.styles");
11
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{", ":var(", ");}"], _ActionButton.StyledIconButton, _IconButton.iconButtonTokens.iconButtonRadius, _NumberInput.tokens.iconButtonRadius);
@@ -0,0 +1 @@
1
+ ["--plasma-number-input_icon-button_radius"]
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
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, _styledComponents.css)(["width:var(", ");min-width:var(", ");", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}", "{margin:var(", ");}", "{height:var(", ");padding:var(", ");}", ",", ",", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{&.", "{margin-right:var(", ");}&.", "{margin-left:var(", ");}}", "{", ":var(", ");}"], _NumberInput.privateTokens.inputWidth, _NumberInput.tokens.rootMinWidth, _ActionButton.StyledIconButton, _IconButton.iconButtonTokens.iconButtonHeight, _NumberInput.tokens.iconButtonHeight, _IconButton.iconButtonTokens.iconButtonWidth, _NumberInput.tokens.iconButtonWidth, _IconButton.iconButtonTokens.iconButtonPadding, _NumberInput.tokens.iconButtonPadding, _IconButton.iconButtonTokens.iconButtonFontFamily, _NumberInput.tokens.iconButtonFontFamily, _IconButton.iconButtonTokens.iconButtonFontSize, _NumberInput.tokens.iconButtonFontSize, _IconButton.iconButtonTokens.iconButtonFontStyle, _NumberInput.tokens.iconButtonFontStyle, _IconButton.iconButtonTokens.iconButtonFontWeight, _NumberInput.tokens.iconButtonFontWeight, _IconButton.iconButtonTokens.iconButtonLetterSpacing, _NumberInput.tokens.iconButtonLetterSpacing, _IconButton.iconButtonTokens.iconButtonLineHeight, _NumberInput.tokens.iconButtonLineHeight, _Input.InputWrapper, _NumberInput.tokens.inputWrapperMargin, _Input.TextWrapper, _NumberInput.tokens.textWrapperHeight, _NumberInput.tokens.textWrapperPadding, _Input.DynamicInput, _Input.Input, _Input.AdditionalText, _NumberInput.tokens.fontFamily, _NumberInput.tokens.fontSize, _NumberInput.tokens.fontStyle, _NumberInput.tokens.fontWeight, _NumberInput.tokens.letterSpacing, _NumberInput.tokens.lineHeight, _Input.AdditionalText, _NumberInput.classes.textBefore, _NumberInput.tokens.textBeforeMarginRight, _NumberInput.classes.textAfter, _NumberInput.tokens.textAfterMarginLeft, _Input.StyledSpinner, _Spinner.spinnerTokens.size, _NumberInput.tokens.loaderSpinnerSize);
@@ -0,0 +1,22 @@
1
+ [
2
+ "--plasma-number-input_icon-button_height",
3
+ "--plasma-number-input_icon-button_width",
4
+ "--plasma-number-input_icon-button_padding",
5
+ "--plasma-number-input_icon-button_font-family",
6
+ "--plasma-number-input_icon-button_font-size",
7
+ "--plasma-number-input_icon-button_font-style",
8
+ "--plasma-number-input_icon-button_font-weight",
9
+ "--plasma-number-input_icon-button_letter-spacing",
10
+ "--plasma-number-input_icon-button_line-height",
11
+ "--plasma-number-input_font-family",
12
+ "--plasma-number-input_font-style",
13
+ "--plasma-number-input_font-size",
14
+ "--plasma-number-input_font-weight",
15
+ "--plasma-number-input_letter-spacing",
16
+ "--plasma-number-input_line-height",
17
+ "--plasma-number-input_text-wrapper_height",
18
+ "--plasma-number-input_text-wrapper_padding",
19
+ "--plasma-number-input_loader-spinner_size",
20
+ "--plasma-number-input_text-before_margin-right",
21
+ "--plasma-number-input_text-after_margin-left"
22
+ ]
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.base = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
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, _styledComponents.css)(["", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", ",&.", "{opacity:var(", ");cursor:not-allowed;:hover,:active{scale:none;color:var(", ");background-color:var(", ");}}}&& ", "{&.", ":focus-within{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}&.", ".", "{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");animation:shakingError 0.3s forwards;", "{color:var(", ");animation:fadeError 0.3s forwards;}&:focus-within{background-color:var(", ");box-shadow:inset 0 0 0 var(", ") var(", ");}}@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;}}}", "{", ":var(", ");}", "{color:var(", ");caret-color:var(", ");}", "{color:var(", ");}"], _ActionButton.StyledIconButton, _IconButton.iconButtonTokens.iconButtonColor, _NumberInput.tokens.iconButtonColor, _IconButton.iconButtonTokens.iconButtonBackgroundColor, _NumberInput.tokens.iconButtonBackgroundColor, _IconButton.iconButtonTokens.iconButtonColorHover, _NumberInput.tokens.iconButtonColorHover, _IconButton.iconButtonTokens.iconButtonBackgroundColorHover, _NumberInput.tokens.iconButtonBackgroundColorHover, _IconButton.iconButtonTokens.iconButtonColorActive, _NumberInput.tokens.iconButtonColorActive, _IconButton.iconButtonTokens.iconButtonBackgroundColorActive, _NumberInput.tokens.iconButtonBackgroundColorActive, _NumberInput.classes.actionButtonDecrementDisabled, _NumberInput.classes.actionButtonIncrementDisabled, _NumberInput.tokens.actionButtonDisabledOpacity, _NumberInput.tokens.iconButtonColor, _NumberInput.tokens.iconButtonBackgroundColor, _Input.InputWrapper, _NumberInput.classes.manualInput, _NumberInput.tokens.backgroundColorFocus, _NumberInput.tokens.inputWrapperBorderWidth, _NumberInput.tokens.borderColorFocus, _NumberInput.classes.manualInput, _NumberInput.classes.errorAnimation, _NumberInput.tokens.backgroundErrorColor, _NumberInput.tokens.inputWrapperBorderWidth, _NumberInput.tokens.borderErrorColor, _Input.Input, _NumberInput.tokens.errorColor, _NumberInput.tokens.backgroundErrorColor, _NumberInput.tokens.inputWrapperBorderWidth, _NumberInput.tokens.borderErrorColor, _Input.StyledSpinner, _Spinner.spinnerTokens.color, _NumberInput.tokens.loaderSpinnerColor, _Input.Input, _NumberInput.tokens.color, _NumberInput.tokens.caretColor, _Input.AdditionalText, _NumberInput.tokens.additionalTextColor);
@@ -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
+ ]
@@ -18,8 +18,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
18
18
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
19
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
20
20
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
22
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
23
21
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
24
22
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
25
23
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
@@ -55,33 +53,19 @@ var stepsRoot = exports.stepsRoot = function stepsRoot(Root) {
55
53
  _useState2 = _slicedToArray(_useState, 2),
56
54
  prevIndex = _useState2[0],
57
55
  setPrevIndex = _useState2[1];
56
+ var isUncontrolled = current !== undefined;
58
57
  var hasIndicator = items.some(function (item) {
59
58
  return item.indicator != null;
60
59
  });
61
60
  var isSimple = items.every(function (item) {
62
61
  return !item.title && !item.content;
63
62
  });
64
- var innerItems = (0, _react.useMemo)(function () {
65
- var isUncontrolled = current !== undefined;
66
- return items.map(function (item, index) {
67
- var itemStatus = (0, _getItemStatus.getItemStatus)({
68
- isUncontrolled: isUncontrolled,
69
- current: current,
70
- status: status,
71
- index: index,
72
- item: item
73
- });
74
- return _objectSpread(_objectSpread({}, item), {}, {
75
- status: itemStatus
76
- });
77
- });
78
- }, [status, current, items]);
79
63
  (0, _react.useEffect)(function () {
80
64
  var calcPrevIndex = function calcPrevIndex() {
81
65
  if (current !== undefined) {
82
66
  setPrevIndex(current);
83
67
  } else {
84
- var index = innerItems.findIndex(function (item) {
68
+ var index = items.findIndex(function (item) {
85
69
  return item.status === 'active';
86
70
  });
87
71
  setPrevIndex(index !== -1 ? index : undefined);
@@ -91,14 +75,21 @@ var stepsRoot = exports.stepsRoot = function stepsRoot(Root) {
91
75
  return function () {
92
76
  calcPrevIndex();
93
77
  };
94
- }, [current, innerItems]);
78
+ }, [current, items]);
95
79
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
96
80
  size: size,
97
81
  view: view,
98
82
  ref: outerRef,
99
83
  className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, orientation === 'vertical'), _Steps.classes.simple, isSimple), _Steps.classes.hasIndicator, hasIndicator))
100
- }, rest), innerItems.map(function (item, index) {
101
- var isActive = item.status === 'active';
84
+ }, rest), items.map(function (item, index) {
85
+ var itemStatus = (0, _getItemStatus.getItemStatus)({
86
+ isUncontrolled: isUncontrolled,
87
+ current: current,
88
+ status: status,
89
+ index: index,
90
+ item: item
91
+ });
92
+ var isActive = itemStatus === 'active';
102
93
  var itemContent = hasContent === 'active' && !isActive || hasContent === 'none' ? '' : item.content;
103
94
  var itemContentAlign = orientation === 'horizontal' ? contentAlign : 'left';
104
95
  var onClick = onChange ? function () {
@@ -110,14 +101,14 @@ var stepsRoot = exports.stepsRoot = function stepsRoot(Root) {
110
101
  title: item.title,
111
102
  content: itemContent,
112
103
  indicator: item.indicator,
113
- status: item.status,
104
+ status: itemStatus,
114
105
  size: size,
115
106
  orientation: orientation,
116
107
  contentAlign: itemContentAlign,
117
108
  hasLine: hasLine,
118
109
  hasLoader: hasLoader && isActive,
119
110
  onClick: onClick,
120
- items: innerItems
111
+ items: items
121
112
  });
122
113
  }));
123
114
  });
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _Steps = /*#__PURE__*/require("./Steps.tokens");
9
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["display:flex;flex-direction:row;&.", "{align-items:center;&:not(&.", "){&.", "{height:var(", ");}&:not(.", "){height:var(", ");}}&.", "{&.", "{width:var(", ");}&:not(.", "){width:var(", ");}}}&.", "{display:flex;flex-direction:column;justify-content:center;height:100%;}"], _Steps.classes.simple, _Steps.classes.verticalOrientation, _Steps.classes.hasIndicator, _Steps.tokens.activeIndicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.classes.verticalOrientation, _Steps.classes.hasIndicator, _Steps.tokens.activeIndicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.classes.verticalOrientation);
9
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["display:flex;flex-direction:row;&.", "{align-items:center;&:not(&.", "){&.", "{height:var(", ");}&:not(.", "){height:var(", ");}}&.", "{&.", "{width:var(", ");}&:not(.", "){width:var(", ");}}}&.", "{display:flex;flex-direction:column;justify-content:center;height:100%;&.", "{display:inline-flex;}}"], _Steps.classes.simple, _Steps.classes.verticalOrientation, _Steps.classes.hasIndicator, _Steps.tokens.activeIndicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.classes.verticalOrientation, _Steps.classes.hasIndicator, _Steps.tokens.activeIndicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.classes.verticalOrientation, _Steps.classes.simple);
@@ -62,7 +62,6 @@ var tokens = exports.tokens = {
62
62
  inactiveTitleColor: '--plasma-step-item-inactive-title-color',
63
63
  inactiveTitleColorHover: '--plasma-step-item-inactive-title-color-hover',
64
64
  contentColor: '--plasma-step-item-content-color',
65
- focusColor: '--plasma-step-item-focus-color',
66
65
  activeIndicatorBorder: '--plasma-step-item-active-indicator-border',
67
66
  activeIndicatorBorderHover: '--plasma-step-item-active-indicator-border-hover',
68
67
  activeIndicatorColor: '--plasma-step-item-active-indicator-color',
@@ -51,7 +51,6 @@ var StepItem = exports.StepItem = function StepItem(_ref) {
51
51
  var prevItem = items[index - 1];
52
52
  var nextItem = items[index + 1];
53
53
  var isActive = status === 'active';
54
- var isNextActive = (nextItem === null || nextItem === void 0 ? void 0 : nextItem.status) === 'active';
55
54
  var isInactive = status === 'inactive';
56
55
  var isPrevInactive = prevItem && !(prevItem !== null && prevItem !== void 0 && prevItem.status) || (prevItem === null || prevItem === void 0 ? void 0 : prevItem.status) === 'inactive';
57
56
  var isNextInactive = !(nextItem !== null && nextItem !== void 0 && nextItem.status) || (nextItem === null || nextItem === void 0 ? void 0 : nextItem.status) === 'inactive';
@@ -89,31 +88,8 @@ var StepItem = exports.StepItem = function StepItem(_ref) {
89
88
  setIsHovered(false);
90
89
  }
91
90
  }, [isDisabled]);
92
- if (isSimple) {
93
- var _cls;
94
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemStyled, {
95
- className: (0, _classnames["default"])((_cls = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_cls, _Steps.classes.simple, isSimple), _Steps.classes.active, isActive), _Steps.classes.hovered, isHovered && !isActive), _Steps.classes.inactive, isInactive), _Steps.classes.centered, isCentered), _Steps.classes.disabled, isDisabled), _Steps.classes.clickable, clickable && !isActive), _Steps.classes.hasIndicator, hasIndicator), _Steps.classes.verticalOrientation, isVertical), "isFirst", isFirst), _defineProperty(_defineProperty(_defineProperty(_cls, "isLast", isLast), "isPrevInactive", isPrevInactive), "isNextInactive", isNextInactive)))
96
- }, /*#__PURE__*/_react["default"].createElement(_StepItem.BulletIndicatorWrapper, {
97
- className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, isVertical), _Steps.classes.centered, isCentered), _Steps.classes.simple, isSimple), _Steps.classes.hasIndicator, hasIndicator)),
98
- onClick: onClickHandler,
99
- onFocus: onMouseOver,
100
- onBlur: onMouseOut,
101
- onMouseOver: onMouseOver,
102
- onMouseOut: onMouseOut
103
- }, hasLoader && /*#__PURE__*/_react["default"].createElement(_StepItem.SpinnerStyled, {
104
- hasIndicator: hasIndicator
105
- }), !hasLoader && /*#__PURE__*/_react["default"].createElement(BulletNode, {
106
- className: (0, _classnames["default"])(_defineProperty(_defineProperty({}, _Steps.classes.active, isActive), _Steps.classes.inactive, isInactive))
107
- }, typeof indicator === 'function' && indicator({
108
- status: status,
109
- item: item,
110
- size: size
111
- }), typeof indicator !== 'function' && indicator))), !isLast && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
112
- className: (0, _classnames["default"])(_Steps.classes.simple, _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, isVertical), _Steps.classes.transparentDivider, !hasLine), _Steps.classes.active, isActive), _Steps.classes.inactive, isInactive || isNextInactive))
113
- }));
114
- }
115
91
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemStyled, {
116
- className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.simple, isSimple), _Steps.classes.active, isActive), _Steps.classes.hovered, isHovered && !isActive), _Steps.classes.inactive, isInactive), _Steps.classes.centered, isCentered), _Steps.classes.disabled, isDisabled), _Steps.classes.clickable, clickable && !isActive), _Steps.classes.hasIndicator, hasIndicator), _Steps.classes.verticalOrientation, isVertical), "isNextActive", isNextActive))
92
+ className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.simple, isSimple), _Steps.classes.active, isActive), _Steps.classes.hovered, isHovered && !isActive), _Steps.classes.inactive, isInactive), _Steps.classes.centered, isCentered), _Steps.classes.disabled, isDisabled), _Steps.classes.clickable, clickable && !isActive), _Steps.classes.hasIndicator, hasIndicator), _Steps.classes.verticalOrientation, isVertical))
117
93
  }, /*#__PURE__*/_react["default"].createElement(_StepItem.BulletIndicatorWrapper, {
118
94
  className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, isVertical), _Steps.classes.centered, isCentered), _Steps.classes.simple, isSimple), _Steps.classes.hasIndicator, hasIndicator)),
119
95
  onClick: onClickHandler,
@@ -123,7 +99,7 @@ var StepItem = exports.StepItem = function StepItem(_ref) {
123
99
  onMouseOut: onMouseOut
124
100
  }, contentAlign === 'center' && !isSimple && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
125
101
  className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.simple, isSimple), _Steps.classes.transparentDivider, !hasLine || isFirst), _Steps.classes.inactive, isInactive || isPrevInactive))
126
- }), isVertical && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
102
+ }), isVertical && (isSimple ? !isFirst : true) && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
127
103
  className: (0, _classnames["default"])(_Steps.classes.indentDivider, _defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.simple, isSimple), _Steps.classes.transparentDivider, !hasLine || isFirst), _Steps.classes.inactive, isInactive || isPrevInactive)),
128
104
  indentToken: indentToken
129
105
  }), hasLoader && /*#__PURE__*/_react["default"].createElement(_StepItem.SpinnerStyled, {
@@ -134,9 +110,9 @@ var StepItem = exports.StepItem = function StepItem(_ref) {
134
110
  status: status,
135
111
  item: item,
136
112
  size: size
137
- }), typeof indicator !== 'function' && indicator), /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
113
+ }), typeof indicator !== 'function' && indicator), !isSimple && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
138
114
  className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.simple, isSimple), _Steps.classes.transparentDivider, !hasLine || isLast), _Steps.classes.inactive, isInactive || isNextInactive))
139
- })), /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemContentWrapper, {
115
+ })), !isSimple && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemContentWrapper, {
140
116
  className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, isVertical), _Steps.classes.centered, isCentered), _Steps.classes.active, isActive), _Steps.classes.hasIndicator, hasIndicator))
141
117
  }, /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemTitle, {
142
118
  onClick: onClickHandler,
@@ -144,5 +120,7 @@ var StepItem = exports.StepItem = function StepItem(_ref) {
144
120
  onBlur: onMouseOut,
145
121
  onMouseOver: onMouseOver,
146
122
  onMouseOut: onMouseOut
147
- }, title), content && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemContent, null, typeof content === 'function' ? content(status, index, items) : content))));
123
+ }, title), content && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemContent, null, typeof content === 'function' ? content(status, index, items) : content))), isSimple && !isLast && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
124
+ className: (0, _classnames["default"])(_Steps.classes.simple, _defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, isVertical), _Steps.classes.transparentDivider, !hasLine), _Steps.classes.inactive, isInactive || isNextInactive))
125
+ }));
148
126
  };
@@ -8,7 +8,6 @@ var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/requir
8
8
  var _Steps = /*#__PURE__*/require("../../Steps.tokens");
9
9
  var _engines = /*#__PURE__*/require("../../../../engines");
10
10
  var _Spinner = /*#__PURE__*/require("../../../Spinner");
11
- var _mixins = /*#__PURE__*/require("../../../../mixins");
12
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
12
  var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Spinner.spinnerConfig);
14
13
  var Spinner = /*#__PURE__*/(0, _engines.component)(mergedConfig);
@@ -26,26 +25,16 @@ var StepItemContent = exports.StepItemContent = /*#__PURE__*/_styledComponents["
26
25
  })(["padding-top:var(", ");padding-right:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");word-break:break-word;color:var(", ");"], _Steps.tokens.contentPaddingTop, _Steps.tokens.contentSidePadding, _Steps.tokens.contentFontFamily, _Steps.tokens.contentFontSize, _Steps.tokens.contentFontStyle, _Steps.tokens.contentFontWeight, _Steps.tokens.contentLetterSpacing, _Steps.tokens.contentLineHeight, _Steps.tokens.contentColor);
27
26
  var BulletIndicatorWrapper = exports.BulletIndicatorWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
28
27
  componentId: "plasma-new-hope__sc-bjma6z-3"
29
- })(["display:flex;align-items:center;&:not(.", "){flex:0;&.", "{width:100%;min-height:var(", ");}&:not(.", "){width:100%;min-height:var(", ");}&.", "{padding-right:var(", ");}}&.", "{flex:0;justify-content:center;&.", "{width:var(", ");}&:not(.", "){width:var(", ");}}&.", "{flex-direction:column;align-items:center;justify-content:center;&.", "{min-width:var(", ");}&:not(.", "){min-width:var(", ");}}&.", "{justify-content:center;}"], _Steps.classes.simple, _Steps.classes.hasIndicator, _Steps.tokens.activeIndicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.classes.verticalOrientation, _Steps.tokens.verticalContentPaddingLeft, _Steps.classes.simple, _Steps.classes.hasIndicator, _Steps.tokens.activeIndicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.classes.verticalOrientation, _Steps.classes.hasIndicator, _Steps.tokens.activeIndicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.classes.centered);
30
- var BulletIndicator = exports.BulletIndicator = /*#__PURE__*/_styledComponents["default"].button.withConfig({
28
+ })(["display:flex;align-items:center;&:not(.", "){flex:0;&.", "{width:100%;min-height:var(", ");}&:not(.", "){width:100%;min-height:var(", ");}&.", "{padding-right:var(", ");}}&.", "{flex-direction:column;align-items:center;justify-content:center;min-height:100%;&.", "{min-width:var(", ");}&:not(.", "){min-width:var(", ");}}&.", "{justify-content:center;}"], _Steps.classes.simple, _Steps.classes.hasIndicator, _Steps.tokens.activeIndicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.classes.verticalOrientation, _Steps.tokens.verticalContentPaddingLeft, _Steps.classes.verticalOrientation, _Steps.classes.hasIndicator, _Steps.tokens.activeIndicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.classes.centered);
29
+ var BulletIndicator = exports.BulletIndicator = /*#__PURE__*/_styledComponents["default"].div.withConfig({
31
30
  componentId: "plasma-new-hope__sc-bjma6z-4"
32
- })(["display:flex;align-items:center;justify-content:center;width:var(", ");height:var(", ");border-radius:50%;box-sizing:border-box;position:relative;outline:none;padding:0;margin:0;border:none;color:var(", ");background-color:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");", " &.", "{width:var(", ");height:var(", ");border:var(", ") var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");color:var(", ");background:var(", ");", "}&.", "{color:var(", ");background:var(", ");&.", "{&:before,&:after{background:var(", ");}}}"], _Steps.tokens.indicatorSize, _Steps.tokens.indicatorSize, _Steps.tokens.completedIndicatorColor, _Steps.tokens.completedIndicatorBackground, _Steps.tokens.indicatorFontFamily, _Steps.tokens.indicatorFontSize, _Steps.tokens.indicatorFontStyle, _Steps.tokens.indicatorFontWeight, _Steps.tokens.indicatorLetterSpacing, _Steps.tokens.indicatorLineHeight, /*#__PURE__*/(0, _mixins.addFocus)({
33
- outlineOffset: '-0.0625rem',
34
- outlineSize: '0.0625rem',
35
- outlineRadius: '50%',
36
- outlineColor: /*#__PURE__*/"var(".concat(_Steps.tokens.focusColor, ")")
37
- }), _Steps.classes.active, _Steps.tokens.activeIndicatorSize, _Steps.tokens.activeIndicatorSize, _Steps.tokens.dividerThickness, _Steps.tokens.activeIndicatorBorder, _Steps.tokens.activeIndicatorFontFamily, _Steps.tokens.activeIndicatorFontSize, _Steps.tokens.activeIndicatorFontStyle, _Steps.tokens.activeIndicatorFontWeight, _Steps.tokens.activeIndicatorLetterSpacing, _Steps.tokens.activeIndicatorLineHeight, _Steps.tokens.activeIndicatorColor, _Steps.tokens.activeIndicatorBackground, /*#__PURE__*/(0, _mixins.addFocus)({
38
- outlineOffset: '-0.1875rem',
39
- outlineSize: '0.0625rem',
40
- outlineRadius: '50%',
41
- outlineColor: /*#__PURE__*/"var(".concat(_Steps.tokens.focusColor, ")")
42
- }), _Steps.classes.inactive, _Steps.tokens.inactiveIndicatorColor, _Steps.tokens.inactiveIndicatorBackground, _Steps.classes.simple, _Steps.tokens.inactiveIndicatorBackground);
31
+ })(["display:flex;align-items:center;justify-content:center;width:var(", ");height:var(", ");border-radius:50%;box-sizing:border-box;position:relative;color:var(", ");background-color:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");&.", "{width:var(", ");height:var(", ");border:var(", ") var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");color:var(", ");background:var(", ");}&.", "{color:var(", ");background:var(", ");&:before,&:after{background:var(", ");}}"], _Steps.tokens.indicatorSize, _Steps.tokens.indicatorSize, _Steps.tokens.completedIndicatorColor, _Steps.tokens.completedIndicatorBackground, _Steps.tokens.indicatorFontFamily, _Steps.tokens.indicatorFontSize, _Steps.tokens.indicatorFontStyle, _Steps.tokens.indicatorFontWeight, _Steps.tokens.indicatorLetterSpacing, _Steps.tokens.indicatorLineHeight, _Steps.classes.active, _Steps.tokens.activeIndicatorSize, _Steps.tokens.activeIndicatorSize, _Steps.tokens.dividerThickness, _Steps.tokens.activeIndicatorBorder, _Steps.tokens.activeIndicatorFontFamily, _Steps.tokens.activeIndicatorFontSize, _Steps.tokens.activeIndicatorFontStyle, _Steps.tokens.activeIndicatorFontWeight, _Steps.tokens.activeIndicatorLetterSpacing, _Steps.tokens.activeIndicatorLineHeight, _Steps.tokens.activeIndicatorColor, _Steps.tokens.activeIndicatorBackground, _Steps.classes.inactive, _Steps.tokens.inactiveIndicatorColor, _Steps.tokens.inactiveIndicatorBackground, _Steps.tokens.inactiveIndicatorBackground);
43
32
  var Bullet = exports.Bullet = /*#__PURE__*/(0, _styledComponents["default"])(BulletIndicator).withConfig({
44
33
  componentId: "plasma-new-hope__sc-bjma6z-5"
45
- })(["width:var(", ");height:var(", ");&.", "{width:var(", ");height:var(", ");border:var(", ") var(", ");background:var(", ");}"], _Steps.tokens.bulletSize, _Steps.tokens.bulletSize, _Steps.classes.active, _Steps.tokens.activeBulletSize, _Steps.tokens.activeBulletSize, _Steps.tokens.dividerThickness, _Steps.tokens.activeIndicatorBorder, _Steps.tokens.activeIndicatorBackground);
34
+ })(["width:var(", ");height:var(", ");&.", "{width:var(", ");height:var(", ");border:var(", ") var(", ");background-color:var(", ");}"], _Steps.tokens.bulletSize, _Steps.tokens.bulletSize, _Steps.classes.active, _Steps.tokens.activeBulletSize, _Steps.tokens.activeBulletSize, _Steps.tokens.dividerThickness, _Steps.tokens.activeIndicatorBorder, _Steps.tokens.activeIndicatorBackground);
46
35
  var StepItemDivider = exports.StepItemDivider = /*#__PURE__*/_styledComponents["default"].div.withConfig({
47
36
  componentId: "plasma-new-hope__sc-bjma6z-6"
48
- })(["width:100%;height:var(", ");flex:1;background:var(", ");&.", "{background:var(", ");}&.", "{background:transparent;}&.", "{width:var(", ");height:100%;}&.", "{height:", ";min-height:", ";max-height:", ";&.", "{height:auto;max-height:none;}}"], _Steps.tokens.dividerThickness, _Steps.tokens.activeIndicatorColor, _Steps.classes.inactive, _Steps.tokens.inactiveIndicatorBackground, _Steps.classes.transparentDivider, _Steps.classes.verticalOrientation, _Steps.tokens.dividerThickness, _Steps.classes.indentDivider, function (_ref2) {
37
+ })(["width:100%;height:var(", ");flex:1;background-color:var(", ");&.", "{background-color:var(", ");}&.", "{background-color:transparent;}&.", "{width:var(", ");height:100%;}&.", "{height:", ";min-height:", ";max-height:", ";&.", "{height:auto;max-height:none;}}"], _Steps.tokens.dividerThickness, _Steps.tokens.activeIndicatorColor, _Steps.classes.inactive, _Steps.tokens.inactiveIndicatorBackground, _Steps.classes.transparentDivider, _Steps.classes.verticalOrientation, _Steps.tokens.dividerThickness, _Steps.classes.indentDivider, function (_ref2) {
49
38
  var indentToken = _ref2.indentToken;
50
39
  return indentToken || '';
51
40
  }, function (_ref3) {
@@ -60,4 +49,4 @@ var StepItemContentWrapper = exports.StepItemContentWrapper = /*#__PURE__*/_styl
60
49
  })(["&.", "{", "{padding-top:var(", ");padding-right:0;}", "{padding-top:var(", ");padding-bottom:var(", ");padding-right:0;}}"], _Steps.classes.verticalOrientation, StepItemTitle, _Steps.tokens.contentVerticalPadding, StepItemContent, _Steps.tokens.contentVerticalPadding, _Steps.tokens.contentVerticalPadding);
61
50
  var StepItemStyled = exports.StepItemStyled = /*#__PURE__*/_styledComponents["default"].div.withConfig({
62
51
  componentId: "plasma-new-hope__sc-bjma6z-8"
63
- })(["position:relative;display:flex;flex-direction:column;align-items:flex-start;flex:1;color:var(", ");&.", "{flex-direction:row;align-items:stretch;", "{width:var(", ");height:100%;}}&.", "{", "{color:var(", ");}}&.", "{color:var(", ");", "{color:var(", ");}}&.", "{flex:0;align-items:center;justify-content:center;flex-direction:row;height:100%;&.", "{min-width:var(", ");min-height:var(", ");}&:not(.", "){width:var(", ");min-height:var(", ");}&.", ",&:not(.", "){&:before,&:after{content:'';display:block;width:calc((var(", ") - var(", ")) / 2);height:var(", ");background:var(", ");}&:not(.", "){&:before,&:after{width:calc((var(", ") - var(", ")) / 2);}}&.", "{flex-direction:column;&:before,&:after{width:var(", ");height:calc((var(", ") - var(", ")) / 2);margin:0 auto;align-self:auto;}&:not(.", "){&:before,&:after{height:calc((var(", ") - var(", ")) / 2);}}&:after{margin:0 auto;}}&.isFirst{&:before{background:transparent;}}&.isLast{&:after{background:transparent;}}}&.", "{&:after,&:before{background:var(", ");}}&.isPrevInactive{&:before{background:var(", ");}}&.isNextInactive{&:after{background:var(", ");}}}&:not(.", "):not(.", "){&.isNextActive{", "{width:calc(100% - (var(", ") - var(", ")) / 2);}}&.", "{", "{margin-left:calc((var(", ") - var(", ")) / -2);width:calc(100% + (var(", ") - var(", ")) / 2);}}}&.", "{&:not(.", "){", "{cursor:pointer;color:var(", ");}", ",", "{color:var(", ");background:var(", ");}}&.", "{", "{color:var(", ");}", ",", "{color:var(", ");background:var(", ");}}", "{cursor:pointer;}}&.", "{align-items:center;", "{display:flex;flex-direction:column;align-items:center;padding-left:calc(var(", ") / 2);padding-right:calc(var(", ") / 2);", "{width:100%;}", ",", "{padding-right:0;text-align:center;}}}&.", "{opacity:var(", ");}"], _Steps.tokens.activeIndicatorColor, _Steps.classes.verticalOrientation, StepItemDivider, _Steps.tokens.dividerThickness, _Steps.classes.active, StepItemTitle, _Steps.tokens.activeTitleColor, _Steps.classes.inactive, _Steps.tokens.inactiveIndicatorColor, StepItemTitle, _Steps.tokens.inactiveTitleColor, _Steps.classes.simple, _Steps.classes.hasIndicator, _Steps.tokens.activeIndicatorSize, _Steps.tokens.activeIndicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.tokens.activeBulletSize, _Steps.classes.inactive, _Steps.classes.active, _Steps.tokens.activeIndicatorSize, _Steps.tokens.indicatorSize, _Steps.tokens.dividerThickness, _Steps.tokens.activeIndicatorColor, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.tokens.bulletSize, _Steps.classes.verticalOrientation, _Steps.tokens.dividerThickness, _Steps.tokens.activeIndicatorSize, _Steps.tokens.indicatorSize, _Steps.classes.hasIndicator, _Steps.tokens.activeBulletSize, _Steps.tokens.bulletSize, _Steps.classes.inactive, _Steps.tokens.inactiveIndicatorBackground, _Steps.tokens.inactiveIndicatorBackground, _Steps.tokens.inactiveIndicatorBackground, _Steps.classes.simple, _Steps.classes.verticalOrientation, BulletIndicatorWrapper, _Steps.tokens.activeIndicatorSize, _Steps.tokens.indicatorSize, _Steps.classes.active, BulletIndicatorWrapper, _Steps.tokens.activeIndicatorSize, _Steps.tokens.indicatorSize, _Steps.tokens.activeIndicatorSize, _Steps.tokens.indicatorSize, _Steps.classes.hovered, _Steps.classes.active, StepItemTitle, _Steps.tokens.activeTitleColorHover, BulletIndicator, Bullet, _Steps.tokens.completedIndicatorColorHover, _Steps.tokens.completedIndicatorBackgroundHover, _Steps.classes.inactive, StepItemTitle, _Steps.tokens.inactiveTitleColorHover, BulletIndicator, Bullet, _Steps.tokens.inactiveIndicatorColorHover, _Steps.tokens.inactiveIndicatorBackgroundHover, BulletIndicatorWrapper, _Steps.classes.centered, StepItemContentWrapper, _Steps.tokens.contentSidePadding, _Steps.tokens.contentSidePadding, StepItemTitle, StepItemTitle, StepItemContent, _Steps.classes.disabled, _Steps.tokens.disabledOpacity);
52
+ })(["display:flex;flex-direction:column;align-items:flex-start;flex:1;&.", "{flex-direction:row;align-items:stretch;", "{width:var(", ");height:100%;}}&.", "{", "{color:var(", ");}}&.", "{", "{color:var(", ");}}&.", "{&:not(.", "){", "{cursor:pointer;color:var(", ");}", ",", "{color:var(", ");background:var(", ");}}&.", "{", "{color:var(", ");}", ",", "{color:var(", ");background:var(", ");}}", "{cursor:pointer;}}&.", "{align-items:center;", "{display:flex;flex-direction:column;align-items:center;padding-left:calc(var(", ") / 2);padding-right:calc(var(", ") / 2);", "{width:100%;}", ",", "{padding-right:0;text-align:center;}}}&.", "{flex:0;}&.", "{opacity:var(", ");}"], _Steps.classes.verticalOrientation, StepItemDivider, _Steps.tokens.dividerThickness, _Steps.classes.active, StepItemTitle, _Steps.tokens.activeTitleColor, _Steps.classes.inactive, StepItemTitle, _Steps.tokens.inactiveTitleColor, _Steps.classes.hovered, _Steps.classes.active, StepItemTitle, _Steps.tokens.activeTitleColorHover, BulletIndicator, Bullet, _Steps.tokens.completedIndicatorColorHover, _Steps.tokens.completedIndicatorBackgroundHover, _Steps.classes.inactive, StepItemTitle, _Steps.tokens.inactiveTitleColorHover, BulletIndicator, Bullet, _Steps.tokens.inactiveIndicatorColorHover, _Steps.tokens.inactiveIndicatorBackgroundHover, BulletIndicatorWrapper, _Steps.classes.centered, StepItemContentWrapper, _Steps.tokens.contentSidePadding, _Steps.tokens.contentSidePadding, StepItemTitle, StepItemTitle, StepItemContent, _Steps.classes.simple, _Steps.classes.disabled, _Steps.tokens.disabledOpacity);
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("styled-components");
8
+ var _NumberInput = /*#__PURE__*/require("../../../../components/NumberInput");
9
+ var config = exports.config = {
10
+ defaults: {
11
+ view: 'default',
12
+ size: 'l',
13
+ shape: 'cornered',
14
+ inputBackgroundType: 'fill'
15
+ },
16
+ variations: {
17
+ view: {
18
+ "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-accent);", ":var(--text-negative);", ":var(--surface-transparent-negative);", ":var(--text-primary);", ":var(--inverse-text-primary);", ":var(--text-tertiary);", ":var(--inverse-text-tertiary);", ":var(--surface-transparent-secondary);", ":var(--inverse-surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--inverse-text-primary-hover);", ":var(--surface-solid-default-hover);", ":var(--inverse-text-primary);", ":var(--inverse-text-primary-active);", ":var(--surface-solid-default-active);", ":0.4;", ":inherit;", ":inherit;"], _NumberInput.numberInputTokens.caretColor, _NumberInput.numberInputTokens.errorColor, _NumberInput.numberInputTokens.backgroundErrorColor, _NumberInput.numberInputTokens.color, _NumberInput.numberInputTokens.colorSolid, _NumberInput.numberInputTokens.additionalTextColor, _NumberInput.numberInputTokens.additionalTextColorSolid, _NumberInput.numberInputTokens.backgroundColorFocus, _NumberInput.numberInputTokens.backgroundColorSolidFocus, _NumberInput.numberInputTokens.backgroundColorSolid, _NumberInput.numberInputTokens.iconButtonColor, _NumberInput.numberInputTokens.iconButtonBackgroundColor, _NumberInput.numberInputTokens.iconButtonColorHover, _NumberInput.numberInputTokens.iconButtonColorSolidHover, _NumberInput.numberInputTokens.iconButtonBackgroundColorHover, _NumberInput.numberInputTokens.iconButtonColorActive, _NumberInput.numberInputTokens.iconButtonColorSolidActive, _NumberInput.numberInputTokens.iconButtonBackgroundColorActive, _NumberInput.numberInputTokens.actionButtonDisabledOpacity, _NumberInput.numberInputTokens.loaderSpinnerColor, _NumberInput.numberInputTokens.loaderSpinnerColorSolid),
19
+ secondary: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-accent);", ":var(--text-negative);", ":var(--surface-transparent-negative);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--surface-transparent-secondary);", ":var(--surface-transparent-secondary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--text-primary-hover);", ":var(--surface-transparent-secondary-hover);", ":var(--text-primary);", ":var(--text-primary-active);", ":var(--surface-transparent-secondary-active);", ":0.4;", ":inherit;", ":inherit;"], _NumberInput.numberInputTokens.caretColor, _NumberInput.numberInputTokens.errorColor, _NumberInput.numberInputTokens.backgroundErrorColor, _NumberInput.numberInputTokens.color, _NumberInput.numberInputTokens.colorSolid, _NumberInput.numberInputTokens.additionalTextColor, _NumberInput.numberInputTokens.additionalTextColorSolid, _NumberInput.numberInputTokens.backgroundColorFocus, _NumberInput.numberInputTokens.backgroundColorSolidFocus, _NumberInput.numberInputTokens.backgroundColorSolid, _NumberInput.numberInputTokens.iconButtonColor, _NumberInput.numberInputTokens.iconButtonBackgroundColor, _NumberInput.numberInputTokens.iconButtonColorHover, _NumberInput.numberInputTokens.iconButtonColorSolidHover, _NumberInput.numberInputTokens.iconButtonBackgroundColorHover, _NumberInput.numberInputTokens.iconButtonColorActive, _NumberInput.numberInputTokens.iconButtonColorSolidActive, _NumberInput.numberInputTokens.iconButtonBackgroundColorActive, _NumberInput.numberInputTokens.actionButtonDisabledOpacity, _NumberInput.numberInputTokens.loaderSpinnerColor, _NumberInput.numberInputTokens.loaderSpinnerColorSolid),
20
+ accent: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-accent);", ":var(--inverse-text-primary);", ":var(--text-negative);", ":var(--surface-transparent-negative);", ":var(--text-primary);", ":var(--on-dark-text-primary);", ":var(--text-tertiary);", ":var(--on-dark-text-tertiary);", ":var(--surface-transparent-secondary);", ":var(--on-dark-surface-transparent-secondary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--inverse-text-primary);", ":var(--on-dark-text-primary-hover);", ":var(--surface-accent-hover);", ":var(--inverse-text-primary);", ":var(--on-dark-text-primary-active);", ":var(--surface-accent-active);", ":0.4;", ":inherit;", ":inherit;"], _NumberInput.numberInputTokens.caretColor, _NumberInput.numberInputTokens.caretColorSolid, _NumberInput.numberInputTokens.errorColor, _NumberInput.numberInputTokens.backgroundErrorColor, _NumberInput.numberInputTokens.color, _NumberInput.numberInputTokens.colorSolid, _NumberInput.numberInputTokens.additionalTextColor, _NumberInput.numberInputTokens.additionalTextColorSolid, _NumberInput.numberInputTokens.backgroundColorFocus, _NumberInput.numberInputTokens.backgroundColorSolidFocus, _NumberInput.numberInputTokens.backgroundColorSolid, _NumberInput.numberInputTokens.iconButtonColor, _NumberInput.numberInputTokens.iconButtonBackgroundColor, _NumberInput.numberInputTokens.iconButtonColorHover, _NumberInput.numberInputTokens.iconButtonColorSolidHover, _NumberInput.numberInputTokens.iconButtonBackgroundColorHover, _NumberInput.numberInputTokens.iconButtonColorActive, _NumberInput.numberInputTokens.iconButtonColorSolidActive, _NumberInput.numberInputTokens.iconButtonBackgroundColorActive, _NumberInput.numberInputTokens.actionButtonDisabledOpacity, _NumberInput.numberInputTokens.loaderSpinnerColor, _NumberInput.numberInputTokens.loaderSpinnerColorSolid),
21
+ clear: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-accent);", ":var(--text-accent);", ":var(--text-negative);", ":var(--surface-transparent-negative);", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-primary-hover);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--surface-transparent-secondary);", ":var(--surface-transparent-secondary);", ":transparent;", ":var(--text-primary);", ":transparent;", ":var(--text-primary-hover);", ":transparent;", ":var(--text-primary-active);", ":transparent;", ":0.4;", ":inherit;", ":inherit;"], _NumberInput.numberInputTokens.caretColor, _NumberInput.numberInputTokens.caretColorSolid, _NumberInput.numberInputTokens.errorColor, _NumberInput.numberInputTokens.backgroundErrorColor, _NumberInput.numberInputTokens.color, _NumberInput.numberInputTokens.colorSolid, _NumberInput.numberInputTokens.iconButtonColorSolidHover, _NumberInput.numberInputTokens.additionalTextColor, _NumberInput.numberInputTokens.additionalTextColorSolid, _NumberInput.numberInputTokens.backgroundColorFocus, _NumberInput.numberInputTokens.backgroundColorSolidFocus, _NumberInput.numberInputTokens.backgroundColorSolid, _NumberInput.numberInputTokens.iconButtonColor, _NumberInput.numberInputTokens.iconButtonBackgroundColor, _NumberInput.numberInputTokens.iconButtonColorHover, _NumberInput.numberInputTokens.iconButtonBackgroundColorHover, _NumberInput.numberInputTokens.iconButtonColorActive, _NumberInput.numberInputTokens.iconButtonBackgroundColorActive, _NumberInput.numberInputTokens.actionButtonDisabledOpacity, _NumberInput.numberInputTokens.loaderSpinnerColor, _NumberInput.numberInputTokens.loaderSpinnerColorSolid)
22
+ },
23
+ size: {
24
+ l: /*#__PURE__*/(0, _styledComponents.css)(["", ":11.75rem;", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.875rem;", ":0.375rem;", ":0 0.125rem;", ":0.875rem;", ":3.5rem;", ":1.063rem 1.125rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem;", ":0.25rem;", ":1.375rem;"], _NumberInput.numberInputTokens.rootMinWidth, _NumberInput.numberInputTokens.iconButtonHeight, _NumberInput.numberInputTokens.iconButtonWidth, _NumberInput.numberInputTokens.iconButtonPadding, _NumberInput.numberInputTokens.iconButtonFontFamily, _NumberInput.numberInputTokens.iconButtonFontSize, _NumberInput.numberInputTokens.iconButtonFontStyle, _NumberInput.numberInputTokens.iconButtonFontWeight, _NumberInput.numberInputTokens.iconButtonLetterSpacing, _NumberInput.numberInputTokens.iconButtonLineHeight, _NumberInput.numberInputTokens.iconButtonRadius, _NumberInput.numberInputTokens.iconButtonSegmentationRadius, _NumberInput.numberInputTokens.inputWrapperMargin, _NumberInput.numberInputTokens.inputWrapperBorderRadius, _NumberInput.numberInputTokens.textWrapperHeight, _NumberInput.numberInputTokens.textWrapperPadding, _NumberInput.numberInputTokens.fontFamily, _NumberInput.numberInputTokens.fontSize, _NumberInput.numberInputTokens.fontStyle, _NumberInput.numberInputTokens.fontWeight, _NumberInput.numberInputTokens.letterSpacing, _NumberInput.numberInputTokens.lineHeight, _NumberInput.numberInputTokens.textBeforeMarginRight, _NumberInput.numberInputTokens.textAfterMarginLeft, _NumberInput.numberInputTokens.loaderSpinnerSize),
25
+ m: /*#__PURE__*/(0, _styledComponents.css)(["", ":10.25rem;", ":3rem;", ":3rem;", ":1.25rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-bold-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.75rem;", ":0.25rem;", ":0 0.125rem;", ":0.75rem;", ":3rem;", ":0.875rem 1rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.25rem;", ":0.25rem;", ":1.375rem;"], _NumberInput.numberInputTokens.rootMinWidth, _NumberInput.numberInputTokens.iconButtonHeight, _NumberInput.numberInputTokens.iconButtonWidth, _NumberInput.numberInputTokens.iconButtonPadding, _NumberInput.numberInputTokens.iconButtonFontFamily, _NumberInput.numberInputTokens.iconButtonFontSize, _NumberInput.numberInputTokens.iconButtonFontStyle, _NumberInput.numberInputTokens.iconButtonFontWeight, _NumberInput.numberInputTokens.iconButtonLetterSpacing, _NumberInput.numberInputTokens.iconButtonLineHeight, _NumberInput.numberInputTokens.iconButtonRadius, _NumberInput.numberInputTokens.iconButtonSegmentationRadius, _NumberInput.numberInputTokens.inputWrapperMargin, _NumberInput.numberInputTokens.inputWrapperBorderRadius, _NumberInput.numberInputTokens.textWrapperHeight, _NumberInput.numberInputTokens.textWrapperPadding, _NumberInput.numberInputTokens.fontFamily, _NumberInput.numberInputTokens.fontSize, _NumberInput.numberInputTokens.fontStyle, _NumberInput.numberInputTokens.fontWeight, _NumberInput.numberInputTokens.letterSpacing, _NumberInput.numberInputTokens.lineHeight, _NumberInput.numberInputTokens.textBeforeMarginRight, _NumberInput.numberInputTokens.textAfterMarginLeft, _NumberInput.numberInputTokens.loaderSpinnerSize),
26
+ s: /*#__PURE__*/(0, _styledComponents.css)(["", ":8.75rem;", ":2.5rem;", ":2.5rem;", ":1rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.625rem;", ":0.25rem;", ":0 0.125rem;", ":0.625rem;", ":2.5rem;", ":0.688rem 0.875rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.25rem;", ":0.25rem;", ":1.375rem;"], _NumberInput.numberInputTokens.rootMinWidth, _NumberInput.numberInputTokens.iconButtonHeight, _NumberInput.numberInputTokens.iconButtonWidth, _NumberInput.numberInputTokens.iconButtonPadding, _NumberInput.numberInputTokens.iconButtonFontFamily, _NumberInput.numberInputTokens.iconButtonFontSize, _NumberInput.numberInputTokens.iconButtonFontStyle, _NumberInput.numberInputTokens.iconButtonFontWeight, _NumberInput.numberInputTokens.iconButtonLetterSpacing, _NumberInput.numberInputTokens.iconButtonLineHeight, _NumberInput.numberInputTokens.iconButtonRadius, _NumberInput.numberInputTokens.iconButtonSegmentationRadius, _NumberInput.numberInputTokens.inputWrapperMargin, _NumberInput.numberInputTokens.inputWrapperBorderRadius, _NumberInput.numberInputTokens.textWrapperHeight, _NumberInput.numberInputTokens.textWrapperPadding, _NumberInput.numberInputTokens.fontFamily, _NumberInput.numberInputTokens.fontSize, _NumberInput.numberInputTokens.fontStyle, _NumberInput.numberInputTokens.fontWeight, _NumberInput.numberInputTokens.letterSpacing, _NumberInput.numberInputTokens.lineHeight, _NumberInput.numberInputTokens.textBeforeMarginRight, _NumberInput.numberInputTokens.textAfterMarginLeft, _NumberInput.numberInputTokens.loaderSpinnerSize),
27
+ xs: /*#__PURE__*/(0, _styledComponents.css)(["", ":6.875rem;", ":2rem;", ":2rem;", ":0.75rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5rem;", ":0.125rem;", ":0 0.125rem;", ":0.5rem;", ":2rem;", ":0.563rem 0.625rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem;", ":0.25rem;", ":1rem;"], _NumberInput.numberInputTokens.rootMinWidth, _NumberInput.numberInputTokens.iconButtonHeight, _NumberInput.numberInputTokens.iconButtonWidth, _NumberInput.numberInputTokens.iconButtonPadding, _NumberInput.numberInputTokens.iconButtonFontFamily, _NumberInput.numberInputTokens.iconButtonFontSize, _NumberInput.numberInputTokens.iconButtonFontStyle, _NumberInput.numberInputTokens.iconButtonFontWeight, _NumberInput.numberInputTokens.iconButtonLetterSpacing, _NumberInput.numberInputTokens.iconButtonLineHeight, _NumberInput.numberInputTokens.iconButtonRadius, _NumberInput.numberInputTokens.iconButtonSegmentationRadius, _NumberInput.numberInputTokens.inputWrapperMargin, _NumberInput.numberInputTokens.inputWrapperBorderRadius, _NumberInput.numberInputTokens.textWrapperHeight, _NumberInput.numberInputTokens.textWrapperPadding, _NumberInput.numberInputTokens.fontFamily, _NumberInput.numberInputTokens.fontSize, _NumberInput.numberInputTokens.fontStyle, _NumberInput.numberInputTokens.fontWeight, _NumberInput.numberInputTokens.letterSpacing, _NumberInput.numberInputTokens.lineHeight, _NumberInput.numberInputTokens.textBeforeMarginRight, _NumberInput.numberInputTokens.textAfterMarginLeft, _NumberInput.numberInputTokens.loaderSpinnerSize)
28
+ },
29
+ shape: {
30
+ cornered: /*#__PURE__*/(0, _styledComponents.css)([""]),
31
+ pilled: /*#__PURE__*/(0, _styledComponents.css)(["", ":50%;"], _NumberInput.numberInputTokens.iconButtonRadius)
32
+ },
33
+ inputBackgroundType: {
34
+ fill: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--surface-transparent-primary);", ":var(--surface-transparent-primary);"], _NumberInput.numberInputTokens.backgroundColor, _NumberInput.numberInputTokens.backgroundColorHover),
35
+ clear: /*#__PURE__*/(0, _styledComponents.css)(["", ":transparent;", ":transparent;"], _NumberInput.numberInputTokens.backgroundColor, _NumberInput.numberInputTokens.backgroundColorHover)
36
+ },
37
+ segmentation: {
38
+ "default": /*#__PURE__*/(0, _styledComponents.css)([""]),
39
+ segmented: /*#__PURE__*/(0, _styledComponents.css)([""]),
40
+ solid: /*#__PURE__*/(0, _styledComponents.css)(["", ":0;"], _NumberInput.numberInputTokens.iconButtonSegmentationRadius)
41
+ },
42
+ disabled: {
43
+ "true": /*#__PURE__*/(0, _styledComponents.css)(["", ":0.4;"], _NumberInput.numberInputTokens.disabledOpacity)
44
+ }
45
+ }
46
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NumberInput = void 0;
7
+ var _NumberInput = /*#__PURE__*/require("../../../../components/NumberInput");
8
+ var _engines = /*#__PURE__*/require("../../../../engines");
9
+ var _NumberInput2 = /*#__PURE__*/require("./NumberInput.config");
10
+ var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_NumberInput.numberInputConfig, _NumberInput2.config);
11
+ var NumberInput = exports.NumberInput = /*#__PURE__*/(0, _engines.component)(mergedConfig);