@salutejs/plasma-new-hope 0.187.0-canary.1551.11740641367.0 → 0.187.1-canary.1517.11744378817.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (345) 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 +21 -14
  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_1xmqxqu.css → Steps.styles_wa45kj.css} +1 -1
  46. package/cjs/components/Steps/Steps.tokens.js +1 -0
  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 +29 -7
  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_q5nnk6.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 +23 -14
  84. package/emotion/cjs/components/Steps/Steps.styles.js +1 -1
  85. package/emotion/cjs/components/Steps/Steps.tokens.js +1 -0
  86. package/emotion/cjs/components/Steps/ui/StepItem/StepItem.js +29 -7
  87. package/emotion/cjs/components/Steps/ui/StepItem/StepItem.styles.js +22 -11
  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_b2c/components/TextField/TextField.config.js +16 -16
  94. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  95. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  96. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  97. package/emotion/cjs/examples/plasma_web/components/Steps/Steps.config.js +5 -5
  98. package/emotion/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  99. package/emotion/cjs/index.js +11 -0
  100. package/emotion/es/components/NumberInput/NumberInput.js +206 -0
  101. package/emotion/es/components/NumberInput/NumberInput.styles.js +11 -0
  102. package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  103. package/emotion/es/components/NumberInput/NumberInput.tokens.js +93 -0
  104. package/emotion/es/components/NumberInput/NumberInput.types.js +1 -0
  105. package/emotion/es/components/NumberInput/index.js +2 -0
  106. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  107. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +9 -0
  108. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  109. package/emotion/es/components/NumberInput/ui/Input/Input.js +204 -0
  110. package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +74 -0
  111. package/emotion/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  112. package/emotion/es/components/NumberInput/ui/index.js +2 -0
  113. package/emotion/es/components/NumberInput/utils/index.js +3 -0
  114. package/emotion/es/components/NumberInput/variations/_background-type/base.js +4 -0
  115. package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  116. package/emotion/es/components/NumberInput/variations/_disabled/base.js +3 -0
  117. package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  118. package/emotion/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  119. package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  120. package/emotion/es/components/NumberInput/variations/_shape/base.js +5 -0
  121. package/emotion/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  122. package/emotion/es/components/NumberInput/variations/_size/base.js +7 -0
  123. package/emotion/es/components/NumberInput/variations/_size/tokens.json +22 -0
  124. package/emotion/es/components/NumberInput/variations/_view/base.js +7 -0
  125. package/emotion/es/components/NumberInput/variations/_view/tokens.json +14 -0
  126. package/emotion/es/components/Steps/Steps.js +24 -15
  127. package/emotion/es/components/Steps/Steps.styles.js +1 -1
  128. package/emotion/es/components/Steps/Steps.tokens.js +1 -0
  129. package/emotion/es/components/Steps/ui/StepItem/StepItem.js +29 -7
  130. package/emotion/es/components/Steps/ui/StepItem/StepItem.styles.js +22 -11
  131. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  132. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  133. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  134. package/emotion/es/examples/plasma_b2c/components/Steps/Steps.config.js +5 -5
  135. package/emotion/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  136. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +16 -16
  137. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  138. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  139. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  140. package/emotion/es/examples/plasma_web/components/Steps/Steps.config.js +5 -5
  141. package/emotion/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  142. package/emotion/es/index.js +2 -1
  143. package/es/components/NumberInput/NumberInput.css +52 -0
  144. package/es/components/NumberInput/NumberInput.js +200 -0
  145. package/es/components/NumberInput/NumberInput.js.map +1 -0
  146. package/es/components/NumberInput/NumberInput.styles.js +5 -0
  147. package/es/components/NumberInput/NumberInput.styles.js.map +1 -0
  148. package/es/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  149. package/es/components/NumberInput/NumberInput.tokens.js +96 -0
  150. package/es/components/NumberInput/NumberInput.tokens.js.map +1 -0
  151. package/es/components/NumberInput/ui/ActionButton/ActionButton.js +15 -0
  152. package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  153. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +18 -0
  154. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  155. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  156. package/es/components/NumberInput/ui/Input/Input.css +15 -0
  157. package/es/components/NumberInput/ui/Input/Input.js +201 -0
  158. package/es/components/NumberInput/ui/Input/Input.js.map +1 -0
  159. package/es/components/NumberInput/ui/Input/Input.styles.js +85 -0
  160. package/es/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  161. package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  162. package/es/components/NumberInput/utils/index.js +6 -0
  163. package/es/components/NumberInput/utils/index.js.map +1 -0
  164. package/es/components/NumberInput/variations/_background-type/base.js +5 -0
  165. package/es/components/NumberInput/variations/_background-type/base.js.map +1 -0
  166. package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  167. package/es/components/NumberInput/variations/_disabled/base.js +5 -0
  168. package/es/components/NumberInput/variations/_disabled/base.js.map +1 -0
  169. package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  170. package/es/components/NumberInput/variations/_segmentation/base.js +5 -0
  171. package/es/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  172. package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
  173. package/es/components/NumberInput/variations/_shape/base.js +5 -0
  174. package/es/components/NumberInput/variations/_shape/base.js.map +1 -0
  175. package/es/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  176. package/es/components/NumberInput/variations/_size/base.js +5 -0
  177. package/es/components/NumberInput/variations/_size/base.js.map +1 -0
  178. package/es/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  179. package/es/components/NumberInput/variations/_view/base.js +5 -0
  180. package/es/components/NumberInput/variations/_view/base.js.map +1 -0
  181. package/es/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
  182. package/es/components/Steps/Steps.css +10 -10
  183. package/es/components/Steps/Steps.js +23 -16
  184. package/es/components/Steps/Steps.js.map +1 -1
  185. package/es/components/Steps/Steps.styles.js +1 -1
  186. package/es/components/Steps/Steps.styles.js.map +1 -1
  187. package/es/components/Steps/{Steps.styles_1xmqxqu.css → Steps.styles_wa45kj.css} +1 -1
  188. package/es/components/Steps/Steps.tokens.js +1 -0
  189. package/es/components/Steps/Steps.tokens.js.map +1 -1
  190. package/es/components/Steps/ui/StepItem/StepItem.css +9 -9
  191. package/es/components/Steps/ui/StepItem/StepItem.js +30 -8
  192. package/es/components/Steps/ui/StepItem/StepItem.js.map +1 -1
  193. package/es/components/Steps/ui/StepItem/StepItem.styles.js +6 -6
  194. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  195. package/es/components/Steps/ui/StepItem/StepItem.styles_q5nnk6.css +9 -0
  196. package/es/index.css +34 -11
  197. package/es/index.js +2 -0
  198. package/es/index.js.map +1 -1
  199. package/package.json +2 -2
  200. package/styled-components/cjs/components/NumberInput/NumberInput.js +214 -0
  201. package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +8 -0
  202. package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  203. package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
  204. package/styled-components/cjs/components/NumberInput/NumberInput.types.js +5 -0
  205. package/styled-components/cjs/components/NumberInput/index.js +31 -0
  206. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  207. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +15 -0
  208. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  209. package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +213 -0
  210. package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +48 -0
  211. package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  212. package/styled-components/cjs/components/NumberInput/ui/index.js +19 -0
  213. package/styled-components/cjs/components/NumberInput/utils/index.js +9 -0
  214. package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  215. package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  216. package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  217. package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  218. package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  219. package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  220. package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  221. package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  222. package/styled-components/cjs/components/NumberInput/variations/_size/base.js +13 -0
  223. package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  224. package/styled-components/cjs/components/NumberInput/variations/_view/base.js +13 -0
  225. package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  226. package/styled-components/cjs/components/Steps/Steps.js +23 -14
  227. package/styled-components/cjs/components/Steps/Steps.styles.js +1 -1
  228. package/styled-components/cjs/components/Steps/Steps.tokens.js +1 -0
  229. package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.js +29 -7
  230. package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.styles.js +17 -6
  231. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  232. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  233. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  234. package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.config.js +1 -1
  235. package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  236. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  237. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  238. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  239. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  240. package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.config.js +1 -1
  241. package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  242. package/styled-components/cjs/index.js +11 -0
  243. package/styled-components/es/components/NumberInput/NumberInput.js +206 -0
  244. package/styled-components/es/components/NumberInput/NumberInput.styles.js +2 -0
  245. package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  246. package/styled-components/es/components/NumberInput/NumberInput.tokens.js +93 -0
  247. package/styled-components/es/components/NumberInput/NumberInput.types.js +1 -0
  248. package/styled-components/es/components/NumberInput/index.js +2 -0
  249. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  250. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +8 -0
  251. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  252. package/styled-components/es/components/NumberInput/ui/Input/Input.js +204 -0
  253. package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +41 -0
  254. package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  255. package/styled-components/es/components/NumberInput/ui/index.js +2 -0
  256. package/styled-components/es/components/NumberInput/utils/index.js +3 -0
  257. package/styled-components/es/components/NumberInput/variations/_background-type/base.js +4 -0
  258. package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  259. package/styled-components/es/components/NumberInput/variations/_disabled/base.js +3 -0
  260. package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  261. package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  262. package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  263. package/styled-components/es/components/NumberInput/variations/_shape/base.js +5 -0
  264. package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  265. package/styled-components/es/components/NumberInput/variations/_size/base.js +7 -0
  266. package/styled-components/es/components/NumberInput/variations/_size/tokens.json +22 -0
  267. package/styled-components/es/components/NumberInput/variations/_view/base.js +7 -0
  268. package/styled-components/es/components/NumberInput/variations/_view/tokens.json +14 -0
  269. package/styled-components/es/components/Steps/Steps.js +24 -15
  270. package/styled-components/es/components/Steps/Steps.styles.js +1 -1
  271. package/styled-components/es/components/Steps/Steps.tokens.js +1 -0
  272. package/styled-components/es/components/Steps/ui/StepItem/StepItem.js +29 -7
  273. package/styled-components/es/components/Steps/ui/StepItem/StepItem.styles.js +17 -6
  274. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  275. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  276. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  277. package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.config.js +1 -1
  278. package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  279. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +4 -4
  280. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  281. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  282. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  283. package/styled-components/es/examples/plasma_web/components/Steps/Steps.config.js +1 -1
  284. package/styled-components/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  285. package/styled-components/es/index.js +2 -1
  286. package/types/components/NumberInput/NumberInput.d.ts +38 -0
  287. package/types/components/NumberInput/NumberInput.d.ts.map +1 -0
  288. package/types/components/NumberInput/NumberInput.styles.d.ts +2 -0
  289. package/types/components/NumberInput/NumberInput.styles.d.ts.map +1 -0
  290. package/types/components/NumberInput/NumberInput.tokens.d.ts +88 -0
  291. package/types/components/NumberInput/NumberInput.tokens.d.ts.map +1 -0
  292. package/types/components/NumberInput/NumberInput.types.d.ts +112 -0
  293. package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -0
  294. package/types/components/NumberInput/index.d.ts +3 -0
  295. package/types/components/NumberInput/index.d.ts.map +1 -0
  296. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +4 -0
  297. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +1 -0
  298. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +45 -0
  299. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +1 -0
  300. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +7 -0
  301. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +1 -0
  302. package/types/components/NumberInput/ui/Input/Input.d.ts +19 -0
  303. package/types/components/NumberInput/ui/Input/Input.d.ts.map +1 -0
  304. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +30 -0
  305. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +1 -0
  306. package/types/components/NumberInput/ui/Input/Input.types.d.ts +19 -0
  307. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -0
  308. package/types/components/NumberInput/ui/index.d.ts +3 -0
  309. package/types/components/NumberInput/ui/index.d.ts.map +1 -0
  310. package/types/components/NumberInput/utils/index.d.ts +4 -0
  311. package/types/components/NumberInput/utils/index.d.ts.map +1 -0
  312. package/types/components/NumberInput/variations/_background-type/base.d.ts +2 -0
  313. package/types/components/NumberInput/variations/_background-type/base.d.ts.map +1 -0
  314. package/types/components/NumberInput/variations/_disabled/base.d.ts +2 -0
  315. package/types/components/NumberInput/variations/_disabled/base.d.ts.map +1 -0
  316. package/types/components/NumberInput/variations/_segmentation/base.d.ts +2 -0
  317. package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +1 -0
  318. package/types/components/NumberInput/variations/_shape/base.d.ts +2 -0
  319. package/types/components/NumberInput/variations/_shape/base.d.ts.map +1 -0
  320. package/types/components/NumberInput/variations/_size/base.d.ts +2 -0
  321. package/types/components/NumberInput/variations/_size/base.d.ts.map +1 -0
  322. package/types/components/NumberInput/variations/_view/base.d.ts +2 -0
  323. package/types/components/NumberInput/variations/_view/base.d.ts.map +1 -0
  324. package/types/components/Steps/Steps.d.ts.map +1 -1
  325. package/types/components/Steps/Steps.styles.d.ts.map +1 -1
  326. package/types/components/Steps/Steps.tokens.d.ts +1 -0
  327. package/types/components/Steps/Steps.tokens.d.ts.map +1 -1
  328. package/types/components/Steps/ui/StepItem/StepItem.d.ts.map +1 -1
  329. package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts +2 -2
  330. package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts.map +1 -1
  331. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +39 -0
  332. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  333. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +82 -0
  334. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -0
  335. package/types/examples/plasma_b2c/components/Steps/Steps.config.d.ts.map +1 -1
  336. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  337. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +39 -0
  338. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  339. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +82 -0
  340. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -0
  341. package/types/examples/plasma_web/components/Steps/Steps.config.d.ts.map +1 -1
  342. package/types/index.d.ts +1 -0
  343. package/types/index.d.ts.map +1 -1
  344. package/cjs/components/Steps/ui/StepItem/StepItem.styles_sp9rcd.css +0 -9
  345. package/es/components/Steps/ui/StepItem/StepItem.styles_sp9rcd.css +0 -9
@@ -1,5 +1,5 @@
1
- import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React, { forwardRef, useState, useEffect } from 'react';
1
+ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React, { forwardRef, useState, useMemo, useEffect } from 'react';
3
3
  import cls from 'classnames';
4
4
  import { classes } from './Steps.tokens.js';
5
5
  import { base } from './Steps.styles.js';
@@ -33,19 +33,33 @@ var stepsRoot = function stepsRoot(Root) {
33
33
  _useState2 = _slicedToArray(_useState, 2),
34
34
  prevIndex = _useState2[0],
35
35
  setPrevIndex = _useState2[1];
36
- var isUncontrolled = current !== undefined;
37
36
  var hasIndicator = items.some(function (item) {
38
37
  return item.indicator != null;
39
38
  });
40
39
  var isSimple = items.every(function (item) {
41
40
  return !item.title && !item.content;
42
41
  });
42
+ var innerItems = useMemo(function () {
43
+ var isUncontrolled = current !== undefined;
44
+ return items.map(function (item, index) {
45
+ var itemStatus = getItemStatus({
46
+ isUncontrolled: isUncontrolled,
47
+ current: current,
48
+ status: status,
49
+ index: index,
50
+ item: item
51
+ });
52
+ return _objectSpread2(_objectSpread2({}, item), {}, {
53
+ status: itemStatus
54
+ });
55
+ });
56
+ }, [status, current, items]);
43
57
  useEffect(function () {
44
58
  var calcPrevIndex = function calcPrevIndex() {
45
59
  if (current !== undefined) {
46
60
  setPrevIndex(current);
47
61
  } else {
48
- var index = items.findIndex(function (item) {
62
+ var index = innerItems.findIndex(function (item) {
49
63
  return item.status === 'active';
50
64
  });
51
65
  setPrevIndex(index !== -1 ? index : undefined);
@@ -55,21 +69,14 @@ var stepsRoot = function stepsRoot(Root) {
55
69
  return function () {
56
70
  calcPrevIndex();
57
71
  };
58
- }, [current, items]);
72
+ }, [current, innerItems]);
59
73
  return /*#__PURE__*/React.createElement(Root, _extends({
60
74
  size: size,
61
75
  view: view,
62
76
  ref: outerRef,
63
77
  className: cls(_defineProperty(_defineProperty(_defineProperty({}, classes.verticalOrientation, orientation === 'vertical'), classes.simple, isSimple), classes.hasIndicator, hasIndicator))
64
- }, rest), items.map(function (item, index) {
65
- var itemStatus = getItemStatus({
66
- isUncontrolled: isUncontrolled,
67
- current: current,
68
- status: status,
69
- index: index,
70
- item: item
71
- });
72
- var isActive = itemStatus === 'active';
78
+ }, rest), innerItems.map(function (item, index) {
79
+ var isActive = item.status === 'active';
73
80
  var itemContent = hasContent === 'active' && !isActive || hasContent === 'none' ? '' : item.content;
74
81
  var itemContentAlign = orientation === 'horizontal' ? contentAlign : 'left';
75
82
  var onClick = onChange ? function () {
@@ -81,14 +88,14 @@ var stepsRoot = function stepsRoot(Root) {
81
88
  title: item.title,
82
89
  content: itemContent,
83
90
  indicator: item.indicator,
84
- status: itemStatus,
91
+ status: item.status,
85
92
  size: size,
86
93
  orientation: orientation,
87
94
  contentAlign: itemContentAlign,
88
95
  hasLine: hasLine,
89
96
  hasLoader: hasLoader && isActive,
90
97
  onClick: onClick,
91
- items: items
98
+ items: innerItems
92
99
  });
93
100
  }));
94
101
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Steps.js","sources":["../../../src/components/Steps/Steps.tsx"],"sourcesContent":["import React, { forwardRef, useState, useEffect, HTMLAttributes } from 'react';\nimport cls from 'classnames';\n\nimport type { RootPropsOmitOnChange } from '../../engines/types';\n\nimport { classes } from './Steps.tokens';\nimport { StepsProps as BaseStepsProps } from './Steps.types';\nimport { StepItem } from './ui';\nimport { base } from './Steps.styles';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { getItemStatus } from './utils/getItemStatus';\n\ntype StepsProps = BaseStepsProps & Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>;\n\nexport const stepsRoot = (Root: RootPropsOmitOnChange<HTMLDivElement, StepsProps>) =>\n forwardRef<HTMLDivElement, StepsProps>((props, outerRef) => {\n const {\n view = 'default',\n size,\n orientation = 'horizontal',\n contentAlign = 'left',\n hasLine = true,\n hasContent = 'all',\n hasLoader,\n items = [],\n onChange,\n current,\n status,\n ...rest\n } = props;\n\n const [prevIndex, setPrevIndex] = useState<number | undefined>();\n\n const isUncontrolled = current !== undefined;\n const hasIndicator = items.some((item) => item.indicator != null);\n const isSimple = items.every((item) => !item.title && !item.content);\n\n useEffect(() => {\n const calcPrevIndex = () => {\n if (current !== undefined) {\n setPrevIndex(current);\n } else {\n const index = items.findIndex((item) => item.status === 'active');\n setPrevIndex(index !== -1 ? index : undefined);\n }\n };\n\n calcPrevIndex();\n\n return () => {\n calcPrevIndex();\n };\n }, [current, items]);\n\n return (\n <Root\n size={size}\n view={view}\n ref={outerRef}\n className={cls({\n [classes.verticalOrientation]: orientation === 'vertical',\n [classes.simple]: isSimple,\n [classes.hasIndicator]: hasIndicator,\n })}\n {...rest}\n >\n {items.map((item, index) => {\n const itemStatus = getItemStatus({ isUncontrolled, current, status, index, item });\n\n const isActive = itemStatus === 'active';\n\n const itemContent =\n (hasContent === 'active' && !isActive) || hasContent === 'none' ? '' : item.content;\n\n const itemContentAlign = orientation === 'horizontal' ? contentAlign : 'left';\n const onClick = onChange ? () => onChange(item, index, prevIndex) : undefined;\n\n return (\n <StepItem\n key={index}\n index={index}\n title={item.title}\n content={itemContent}\n indicator={item.indicator}\n status={itemStatus}\n size={size!}\n orientation={orientation}\n contentAlign={itemContentAlign}\n hasLine={hasLine}\n hasLoader={hasLoader && isActive}\n onClick={onClick}\n items={items}\n />\n );\n })}\n </Root>\n );\n });\n\nexport const stepsConfig = {\n name: 'Steps',\n tag: 'div',\n layout: stepsRoot,\n base,\n variations: {\n size: sizeCSS,\n view: viewCSS,\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["stepsRoot","Root","forwardRef","props","outerRef","_props$view","view","size","_props$orientation","orientation","_props$contentAlign","contentAlign","_props$hasLine","hasLine","_props$hasContent","hasContent","hasLoader","_props$items","items","onChange","current","status","rest","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","prevIndex","setPrevIndex","isUncontrolled","undefined","hasIndicator","some","item","indicator","isSimple","every","title","content","useEffect","calcPrevIndex","index","findIndex","React","createElement","_extends","ref","className","cls","_defineProperty","classes","verticalOrientation","simple","map","itemStatus","getItemStatus","isActive","itemContent","itemContentAlign","onClick","StepItem","key","stepsConfig","name","tag","layout","base","variations","sizeCSS","viewCSS","defaults"],"mappings":";;;;;;;;;;;IAeaA,SAAS,GAAG,SAAZA,SAASA,CAAIC,IAAuD,EAAA;AAAA,EAAA,oBAC7EC,UAAU,CAA6B,UAACC,KAAK,EAAEC,QAAQ,EAAK;AACxD,IAAA,IAAAC,WAAA,GAaIF,KAAK,CAZLG,IAAI;AAAJA,MAAAA,IAAI,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,SAAS,GAAAA,WAAA;MAChBE,IAAI,GAWJJ,KAAK,CAXLI,IAAI;MAAAC,kBAAA,GAWJL,KA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,QAAAA,KAAK,EAAEA,KAAAA;AAAM,OAChB,CAAC,CAAA;AAEV,KAAC,CACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAM8C,WAAW,GAAG;AACvBC,EAAAA,IAAI,EAAE,OAAO;AACbC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEnE,SAAS;AACjBoE,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACR9D,IAAAA,IAAI,EAAE+D,MAAO;AACbhE,IAAAA,IAAI,EAAEiE,MAAAA;GACT;AACDC,EAAAA,QAAQ,EAAE;AACNlE,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Steps.js","sources":["../../../src/components/Steps/Steps.tsx"],"sourcesContent":["import React, { forwardRef, useState, useEffect, HTMLAttributes, useMemo } from 'react';\nimport cls from 'classnames';\n\nimport type { RootPropsOmitOnChange } from '../../engines/types';\n\nimport { classes } from './Steps.tokens';\nimport { StepsProps as BaseStepsProps } from './Steps.types';\nimport { StepItem } from './ui';\nimport { base } from './Steps.styles';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { getItemStatus } from './utils/getItemStatus';\n\ntype StepsProps = BaseStepsProps & Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>;\n\nexport const stepsRoot = (Root: RootPropsOmitOnChange<HTMLDivElement, StepsProps>) =>\n forwardRef<HTMLDivElement, StepsProps>((props, outerRef) => {\n const {\n view = 'default',\n size,\n orientation = 'horizontal',\n contentAlign = 'left',\n hasLine = true,\n hasContent = 'all',\n hasLoader,\n items = [],\n onChange,\n current,\n status,\n ...rest\n } = props;\n\n const [prevIndex, setPrevIndex] = useState<number | undefined>();\n\n const hasIndicator = items.some((item) => item.indicator != null);\n const isSimple = items.every((item) => !item.title && !item.content);\n\n const innerItems = useMemo(() => {\n const isUncontrolled = current !== undefined;\n\n return items.map((item, index) => {\n const itemStatus = getItemStatus({\n isUncontrolled,\n current,\n status,\n index,\n item,\n });\n\n return {\n ...item,\n status: itemStatus,\n };\n });\n }, [status, current, items]);\n\n useEffect(() => {\n const calcPrevIndex = () => {\n if (current !== undefined) {\n setPrevIndex(current);\n } else {\n const index = innerItems.findIndex((item) => item.status === 'active');\n setPrevIndex(index !== -1 ? index : undefined);\n }\n };\n\n calcPrevIndex();\n\n return () => {\n calcPrevIndex();\n };\n }, [current, innerItems]);\n\n return (\n <Root\n size={size}\n view={view}\n ref={outerRef}\n className={cls({\n [classes.verticalOrientation]: orientation === 'vertical',\n [classes.simple]: isSimple,\n [classes.hasIndicator]: hasIndicator,\n })}\n {...rest}\n >\n {innerItems.map((item, index) => {\n const isActive = item.status === 'active';\n\n const itemContent =\n (hasContent === 'active' && !isActive) || hasContent === 'none' ? '' : item.content;\n\n const itemContentAlign = orientation === 'horizontal' ? contentAlign : 'left';\n const onClick = onChange ? () => onChange(item, index, prevIndex) : undefined;\n\n return (\n <StepItem\n key={index}\n index={index}\n title={item.title}\n content={itemContent}\n indicator={item.indicator}\n status={item.status}\n size={size!}\n orientation={orientation}\n contentAlign={itemContentAlign}\n hasLine={hasLine}\n hasLoader={hasLoader && isActive}\n onClick={onClick}\n items={innerItems}\n />\n );\n })}\n </Root>\n );\n });\n\nexport const stepsConfig = {\n name: 'Steps',\n tag: 'div',\n layout: stepsRoot,\n base,\n variations: {\n size: sizeCSS,\n view: viewCSS,\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["stepsRoot","Root","forwardRef","props","outerRef","_props$view","view","size","_props$orientation","orientation","_props$contentAlign","contentAlign","_props$hasLine","hasLine","_props$hasContent","hasContent","hasLoader","_props$items","items","onChange","current","status","rest","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","prevIndex","setPrevIndex","hasIndicator","some","item","indicator","isSimple","every","title","content","innerItems","useMemo","isUncontrolled","undefined","map","index","itemStatus","getItemStatus","_objectSpread","useEffect","calcPrevIndex","findIndex","React","createElement","_extends","ref","className","cls","_defineProperty","classes","verticalOrientation","simple","isActive","itemContent","itemContentAlign","onClick","StepItem","key","stepsConfig","name","tag","layout","base","variations","sizeCSS","viewCSS","defaults"],"mappings":";;;;;;;;;;;IAeaA,SAAS,GAAG,SAAZA,SAASA,CAAIC,IAAuD,EAAA;AAAA,EAAA,oBAC7EC,UAAU,CAA6B,UAACC,KAAK,EAAEC,QAAQ,EAAK;AACxD,IAAA,IAAAC,WAAA,GAaIF,KAAK,CAZLG,IAAI;AAAJA,MAAAA,IAAI,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,SAAS,GAAAA,WAAA;MAChBE,IAAI,GAWJJ,KAAK,CAXLI,IAAI;MAAAC,kBAAA,GAWJL,KAAK,CAVLM,WAAW;AAAXA,MAAAA,WAAW,GAAAD,kBAAA,KAAG,KAAA,CAAA,GAAA,YAAY,GAAAA,kBAAA;MAAAE,mBAAA,GAU1BP,KAAK,CATLQ,YAAY;AAAZA,MAAAA,YAAY,GAAAD,mBAAA,KAAG,KAAA,CAAA,GAAA,MAAM,GAAAA,mBAAA;MAAAE,cAAA,GASrBT,KAAK,CARLU,OAAO;AAAPA,MAAAA,OAAO,GAAAD,cAAA,KAAG,KAAA,CAAA,GAAA,IAAI,GAAAA,cAAA;MAAAE,iBAAA,GAQdX,KAAK,CAPLY,UAAU;AAAVA,MAAAA,UAAU,GAAAD,iBAAA,KAAG,KAAA,CAAA,GAAA,KAAK,GAAAA,iBAAA;MAClBE,SAAS,GAMTb,KAAK,CANLa,SAAS;MAAAC,YAAA,GAMTd,KAAK,CALLe,KAAK;AAALA,MAAAA,KAAK,GAAAD,YAAA,KAAG,KAAA,CAAA,GAAA,EAAE,GAAAA,YAAA;MACVE,QAAQ,GAIRhB,KAAK,CAJLgB,QAAQ;MACRC,OAAO,GAGPjB,KAAK,CAHLiB,OAAO;MACPC,MAAM,GAENlB,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kE,MAAO;AACbnE,IAAAA,IAAI,EAAEoE,MAAAA;GACT;AACDC,EAAAA,QAAQ,EAAE;AACNrE,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- import './Steps.styles_1xmqxqu.css';
1
+ import './Steps.styles_wa45kj.css';
2
2
  var base = "b7q3upx";
3
3
 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"Steps.styles.js","sources":["../../../src/components/Steps/Steps.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from './Steps.tokens';\n\nexport const base = css`\n display: flex;\n flex-direction: row;\n\n &.${classes.simple} {\n align-items: center;\n\n &:not(&.${classes.verticalOrientation}) {\n &.${classes.hasIndicator} {\n height: var(${tokens.activeIndicatorSize});\n }\n\n &:not(.${classes.hasIndicator}) {\n height: var(${tokens.activeBulletSize});\n }\n }\n\n &.${classes.verticalOrientation} {\n &.${classes.hasIndicator} {\n width: var(${tokens.activeIndicatorSize});\n }\n &:not(.${classes.hasIndicator}) {\n width: var(${tokens.activeBulletSize});\n }\n }\n }\n\n &.${classes.verticalOrientation} {\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n\n &.${classes.simple} {\n display: inline-flex;\n }\n }\n`;\n"],"names":["base"],"mappings":"AAIO,IAAMA,IAAI,GAqChB;;;;"}
1
+ {"version":3,"file":"Steps.styles.js","sources":["../../../src/components/Steps/Steps.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from './Steps.tokens';\n\nexport const base = css`\n display: flex;\n flex-direction: row;\n\n &.${classes.simple} {\n align-items: center;\n\n &:not(&.${classes.verticalOrientation}) {\n &.${classes.hasIndicator} {\n height: var(${tokens.activeIndicatorSize});\n }\n\n &:not(.${classes.hasIndicator}) {\n height: var(${tokens.activeBulletSize});\n }\n }\n\n &.${classes.verticalOrientation} {\n &.${classes.hasIndicator} {\n width: var(${tokens.activeIndicatorSize});\n }\n &:not(.${classes.hasIndicator}) {\n width: var(${tokens.activeBulletSize});\n }\n }\n }\n\n &.${classes.verticalOrientation} {\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n }\n`;\n"],"names":["base"],"mappings":"AAIO,IAAMA,IAAI,GAiChB;;;;"}
@@ -1 +1 @@
1
- .b7q3upx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.b7q3upx.simple{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.b7q3upx.simple:not(.b7q3upx.simple.vertical-orientation).item-has-indicator{height:var(--plasma-step-item-active-indicator-size);}.b7q3upx.simple:not(.b7q3upx.simple.vertical-orientation):not(.item-has-indicator){height:var(--plasma-step-item-active-bullet-size);}.b7q3upx.simple.vertical-orientation.item-has-indicator{width:var(--plasma-step-item-active-indicator-size);}.b7q3upx.simple.vertical-orientation:not(.item-has-indicator){width:var(--plasma-step-item-active-bullet-size);}.b7q3upx.vertical-orientation{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%;}.b7q3upx.vertical-orientation.simple{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
1
+ .b7q3upx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.b7q3upx.simple{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.b7q3upx.simple:not(.b7q3upx.simple.vertical-orientation).item-has-indicator{height:var(--plasma-step-item-active-indicator-size);}.b7q3upx.simple:not(.b7q3upx.simple.vertical-orientation):not(.item-has-indicator){height:var(--plasma-step-item-active-bullet-size);}.b7q3upx.simple.vertical-orientation.item-has-indicator{width:var(--plasma-step-item-active-indicator-size);}.b7q3upx.simple.vertical-orientation:not(.item-has-indicator){width:var(--plasma-step-item-active-bullet-size);}.b7q3upx.vertical-orientation{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%;}
@@ -56,6 +56,7 @@ var tokens = {
56
56
  inactiveTitleColor: '--plasma-step-item-inactive-title-color',
57
57
  inactiveTitleColorHover: '--plasma-step-item-inactive-title-color-hover',
58
58
  contentColor: '--plasma-step-item-content-color',
59
+ focusColor: '--plasma-step-item-focus-color',
59
60
  activeIndicatorBorder: '--plasma-step-item-active-indicator-border',
60
61
  activeIndicatorBorderHover: '--plasma-step-item-active-indicator-border-hover',
61
62
  activeIndicatorColor: '--plasma-step-item-active-indicator-color',
@@ -1 +1 @@
1
- {"version":3,"file":"Steps.tokens.js","sources":["../../../src/components/Steps/Steps.tokens.ts"],"sourcesContent":["export const classes = {\n simple: 'simple',\n centered: 'item-centered',\n active: 'item-active',\n inactive: 'item-inactive',\n clickable: 'item-clickable',\n hovered: 'item-hovered',\n disabled: 'item-disabled',\n verticalOrientation: 'vertical-orientation',\n hasIndicator: 'item-has-indicator',\n activeItem: 'item-active',\n indentDivider: 'indent-divider',\n transparentDivider: 'transparent-divider',\n};\n\nexport const tokens = {\n indicatorSize: '--plasma-step-item-indicator-size',\n activeIndicatorSize: '--plasma-step-item-active-indicator-size',\n bulletSize: '--plasma-step-item-bullet-size',\n activeBulletSize: '--plasma-step-item-active-bullet-size',\n\n titlePaddingTop: '--plasma-step-item-title-padding-top',\n contentPaddingTop: '--plasma-step-item-content-padding-top',\n contentPaddingRight: '--plasma-step-item-content-padding-right',\n contentSidePadding: '--plasma-step-item-content-side-padding',\n contentVerticalPadding: '--plasma-step-item-content-vertical-padding',\n verticalContentPaddingLeft: '--plasma-step-item-vertical-content-padding-left',\n\n smallIndicatorIndentHeight: '--plasma-step-item-s-indicator-intent-height',\n largeIndicatorIndentHeight: '--plasma-step-item-l-indicator-intent-height',\n smallBulletIndentHeight: '--plasma-step-item-s-bullet-intent-height',\n largeBulletIndentHeight: '--plasma-step-item-l-bullet-intent-height',\n\n titleFontFamily: '--plasma-step-item-title-font-family',\n titleFontSize: '--plasma-step-item-title-font-size',\n titleFontStyle: '--plasma-step-item-title-font-style',\n titleFontWeight: '--plasma-step-item-title-font-weight',\n titleLetterSpacing: '--plasma-step-item-title-letter-spacing',\n titleLineHeight: '--plasma-step-item-title-line-height',\n\n contentFontFamily: '--plasma-step-item-content-font-family',\n contentFontSize: '--plasma-step-item-content-font-size',\n contentFontStyle: '--plasma-step-item-content-font-style',\n contentFontWeight: '--plasma-step-item-content-font-weight',\n contentLetterSpacing: '--plasma-step-item-content-letter-spacing',\n contentLineHeight: '--plasma-step-item-content-line-height',\n\n indicatorFontFamily: '--plasma-step-item-indicator-font-family',\n indicatorFontSize: '--plasma-step-item-indicator-font-size',\n indicatorFontStyle: '--plasma-step-item-indicator-font-style',\n indicatorFontWeight: '--plasma-step-item-indicator-font-weight',\n indicatorLetterSpacing: '--plasma-step-item-indicator-letter-spacing',\n indicatorLineHeight: '--plasma-step-item-indicator-line-height',\n\n activeIndicatorFontFamily: '--plasma-step-item-active-indicator-font-family',\n activeIndicatorFontSize: '--plasma-step-item-active-indicator-font-size',\n activeIndicatorFontStyle: '--plasma-step-item-active-indicator-font-style',\n activeIndicatorFontWeight: '--plasma-step-item-active-indicator-font-weight',\n activeIndicatorLetterSpacing: '--plasma-step-item-active-indicator-letter-spacing',\n activeIndicatorLineHeight: '--plasma-step-item-active-indicator-line-height',\n\n activeTitleColor: '--plasma-step-item-active-title-color',\n activeTitleColorHover: '--plasma-step-item-active-title-color-hover',\n inactiveTitleColor: '--plasma-step-item-inactive-title-color',\n inactiveTitleColorHover: '--plasma-step-item-inactive-title-color-hover',\n\n contentColor: '--plasma-step-item-content-color',\n\n activeIndicatorBorder: '--plasma-step-item-active-indicator-border',\n activeIndicatorBorderHover: '--plasma-step-item-active-indicator-border-hover',\n\n activeIndicatorColor: '--plasma-step-item-active-indicator-color',\n activeIndicatorColorHover: '--plasma-step-item-active-indicator-color-hover',\n activeIndicatorBackground: '--plasma-step-item-active-indicator-background',\n\n completedIndicatorColor: '--plasma-step-item-completed-indicator-color',\n completedIndicatorColorHover: '--plasma-step-item-completed-indicator-color-hover',\n completedIndicatorBackground: '--plasma-step-item-completed-indicator-background',\n completedIndicatorBackgroundHover: '--plasma-step-item-completed-indicator-background-hover',\n\n inactiveIndicatorColor: '--plasma-step-item-inactive-indicator-color',\n inactiveIndicatorColorHover: '--plasma-step-item-inactive-indicator-color-hover',\n inactiveIndicatorBackground: '--plasma-step-item-inactive-indicator-background',\n inactiveIndicatorBackgroundHover: '--plasma-step-item-inactive-indicator-background-hover',\n\n disabledOpacity: '--plasma-step-item-disabled-opacity',\n\n dividerThickness: '--plasma-step-item-divider-thickness',\n};\n"],"names":["classes","simple","centered","active","inactive","clickable","hovered","disabled","verticalOrientation","hasIndicator","activeItem","indentDivider","transparentDivider","tokens","indicatorSize","activeIndicatorSize","bulletSize","activeBulletSize","titlePaddingTop","contentPaddingTop","contentPaddingRight","contentSidePadding","contentVerticalPadding","verticalContentPaddingLeft","smallIndicatorIndentHeight","largeIndicatorIndentHeight","smallBulletIndentHeight","largeBulletIndentHeight","titleFontFamily","titleFontSize","titleFontStyle","titleFontWeight","titleLetterSpacing","titleLineHeight","contentFontFamily","contentFontSize","contentFontStyle","contentFontWeight","contentLetterSpacing","contentLineHeight","indicatorFontFamily","indicatorFontSize","indicatorFontStyle","indicatorFontWeight","indicatorLetterSpacing","indicatorLineHeight","activeIndicatorFontFamily","activeIndicatorFontSize","activeIndicatorFontStyle","activeIndicatorFontWeight","activeIndicatorLetterSpacing","activeIndicatorLineHeight","activeTitleColor","activeTitleColorHover","inactiveTitleColor","inactiveTitleColorHover","contentColor","activeIndicatorBorder","activeIndicatorBorderHover","activeIndicatorColor","activeIndicatorColorHover","activeIndicatorBackground","completedIndicatorColor","completedIndicatorColorHover","completedIndicatorBackground","completedIndicatorBackgroundHover","inactiveIndicatorColor","inactiveIndicatorColorHover","inactiveIndicatorBackground","inactiveIndicatorBackgroundHover","disabledOpacity","dividerThickness"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,MAAM,EAAE,QAAQ;AAChBC,EAAAA,QAAQ,EAAE,eAAe;AACzBC,EAAAA,MAAM,EAAE,aAAa;AACrBC,EAAAA,QAAQ,EAAE,eAAe;AACzBC,EAAAA,SAAS,EAAE,gBAAgB;AAC3BC,EAAAA,OAAO,EAAE,cAAc;AACvBC,EAAAA,QAAQ,EAAE,eAAe;AACzBC,EAAAA,mBAAmB,EAAE,sBAAsB;AAC3CC,EAAAA,YAAY,EAAE,oBAAoB;AAClCC,EAAAA,UAAU,EAAE,aAAa;AACzBC,EAAAA,aAAa,EAAE,gBAAgB;AAC/BC,EAAAA,kBAAkB,EAAE,qBAAA;AACxB,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,aAAa,EAAE,mCAAmC;AAClDC,EAAAA,mBAAmB,EAAE,0CAA0C;AAC/DC,EAAAA,UAAU,EAAE,gCAAgC;AAC5CC,EAAAA,gBAAgB,EAAE,uCAAuC;AAEzDC,EAAAA,eAAe,EAAE,sCAAsC;AACvDC,EAAAA,iBAAiB,EAAE,wCAAwC;AAC3DC,EAAAA,mBAAmB,EAAE,0CAA0C;AAC/DC,EAAAA,kBAAkB,EAAE,yCAAyC;AAC7DC,EAAAA,sBAAsB,EAAE,6CAA6C;AACrEC,EAAAA,0BAA0B,EAAE,kDAAkD;AAE9EC,EAAAA,0BAA0B,EAAE,8CAA8C;AAC1EC,EAAAA,0BAA0B,EAAE,8CAA8C;AAC1EC,EAAAA,uBAAuB,EAAE,2CAA2C;AACpEC,EAAAA,uBAAuB,EAAE,2CAA2C;AAEpEC,EAA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EAAAA,yBAAyB,EAAE,gDAAgD;AAE3EC,EAAAA,uBAAuB,EAAE,8CAA8C;AACvEC,EAAAA,4BAA4B,EAAE,oDAAoD;AAClFC,EAAAA,4BAA4B,EAAE,mDAAmD;AACjFC,EAAAA,iCAAiC,EAAE,yDAAyD;AAE5FC,EAAAA,sBAAsB,EAAE,6CAA6C;AACrEC,EAAAA,2BAA2B,EAAE,mDAAmD;AAChFC,EAAAA,2BAA2B,EAAE,kDAAkD;AAC/EC,EAAAA,gCAAgC,EAAE,wDAAwD;AAE1FC,EAAAA,eAAe,EAAE,qCAAqC;AAEtDC,EAAAA,gBAAgB,EAAE,sCAAA;AACtB;;;;"}
1
+ {"version":3,"file":"Steps.tokens.js","sources":["../../../src/components/Steps/Steps.tokens.ts"],"sourcesContent":["export const classes = {\n simple: 'simple',\n centered: 'item-centered',\n active: 'item-active',\n inactive: 'item-inactive',\n clickable: 'item-clickable',\n hovered: 'item-hovered',\n disabled: 'item-disabled',\n verticalOrientation: 'vertical-orientation',\n hasIndicator: 'item-has-indicator',\n activeItem: 'item-active',\n indentDivider: 'indent-divider',\n transparentDivider: 'transparent-divider',\n};\n\nexport const tokens = {\n indicatorSize: '--plasma-step-item-indicator-size',\n activeIndicatorSize: '--plasma-step-item-active-indicator-size',\n bulletSize: '--plasma-step-item-bullet-size',\n activeBulletSize: '--plasma-step-item-active-bullet-size',\n\n titlePaddingTop: '--plasma-step-item-title-padding-top',\n contentPaddingTop: '--plasma-step-item-content-padding-top',\n contentPaddingRight: '--plasma-step-item-content-padding-right',\n contentSidePadding: '--plasma-step-item-content-side-padding',\n contentVerticalPadding: '--plasma-step-item-content-vertical-padding',\n verticalContentPaddingLeft: '--plasma-step-item-vertical-content-padding-left',\n\n smallIndicatorIndentHeight: '--plasma-step-item-s-indicator-intent-height',\n largeIndicatorIndentHeight: '--plasma-step-item-l-indicator-intent-height',\n smallBulletIndentHeight: '--plasma-step-item-s-bullet-intent-height',\n largeBulletIndentHeight: '--plasma-step-item-l-bullet-intent-height',\n\n titleFontFamily: '--plasma-step-item-title-font-family',\n titleFontSize: '--plasma-step-item-title-font-size',\n titleFontStyle: '--plasma-step-item-title-font-style',\n titleFontWeight: '--plasma-step-item-title-font-weight',\n titleLetterSpacing: '--plasma-step-item-title-letter-spacing',\n titleLineHeight: '--plasma-step-item-title-line-height',\n\n contentFontFamily: '--plasma-step-item-content-font-family',\n contentFontSize: '--plasma-step-item-content-font-size',\n contentFontStyle: '--plasma-step-item-content-font-style',\n contentFontWeight: '--plasma-step-item-content-font-weight',\n contentLetterSpacing: '--plasma-step-item-content-letter-spacing',\n contentLineHeight: '--plasma-step-item-content-line-height',\n\n indicatorFontFamily: '--plasma-step-item-indicator-font-family',\n indicatorFontSize: '--plasma-step-item-indicator-font-size',\n indicatorFontStyle: '--plasma-step-item-indicator-font-style',\n indicatorFontWeight: '--plasma-step-item-indicator-font-weight',\n indicatorLetterSpacing: '--plasma-step-item-indicator-letter-spacing',\n indicatorLineHeight: '--plasma-step-item-indicator-line-height',\n\n activeIndicatorFontFamily: '--plasma-step-item-active-indicator-font-family',\n activeIndicatorFontSize: '--plasma-step-item-active-indicator-font-size',\n activeIndicatorFontStyle: '--plasma-step-item-active-indicator-font-style',\n activeIndicatorFontWeight: '--plasma-step-item-active-indicator-font-weight',\n activeIndicatorLetterSpacing: '--plasma-step-item-active-indicator-letter-spacing',\n activeIndicatorLineHeight: '--plasma-step-item-active-indicator-line-height',\n\n activeTitleColor: '--plasma-step-item-active-title-color',\n activeTitleColorHover: '--plasma-step-item-active-title-color-hover',\n inactiveTitleColor: '--plasma-step-item-inactive-title-color',\n inactiveTitleColorHover: '--plasma-step-item-inactive-title-color-hover',\n\n contentColor: '--plasma-step-item-content-color',\n focusColor: '--plasma-step-item-focus-color',\n\n activeIndicatorBorder: '--plasma-step-item-active-indicator-border',\n activeIndicatorBorderHover: '--plasma-step-item-active-indicator-border-hover',\n\n activeIndicatorColor: '--plasma-step-item-active-indicator-color',\n activeIndicatorColorHover: '--plasma-step-item-active-indicator-color-hover',\n activeIndicatorBackground: '--plasma-step-item-active-indicator-background',\n\n completedIndicatorColor: '--plasma-step-item-completed-indicator-color',\n completedIndicatorColorHover: '--plasma-step-item-completed-indicator-color-hover',\n completedIndicatorBackground: '--plasma-step-item-completed-indicator-background',\n completedIndicatorBackgroundHover: '--plasma-step-item-completed-indicator-background-hover',\n\n inactiveIndicatorColor: '--plasma-step-item-inactive-indicator-color',\n inactiveIndicatorColorHover: '--plasma-step-item-inactive-indicator-color-hover',\n inactiveIndicatorBackground: '--plasma-step-item-inactive-indicator-background',\n inactiveIndicatorBackgroundHover: '--plasma-step-item-inactive-indicator-background-hover',\n\n disabledOpacity: '--plasma-step-item-disabled-opacity',\n\n dividerThickness: '--plasma-step-item-divider-thickness',\n};\n"],"names":["classes","simple","centered","active","inactive","clickable","hovered","disabled","verticalOrientation","hasIndicator","activeItem","indentDivider","transparentDivider","tokens","indicatorSize","activeIndicatorSize","bulletSize","activeBulletSize","titlePaddingTop","contentPaddingTop","contentPaddingRight","contentSidePadding","contentVerticalPadding","verticalContentPaddingLeft","smallIndicatorIndentHeight","largeIndicatorIndentHeight","smallBulletIndentHeight","largeBulletIndentHeight","titleFontFamily","titleFontSize","titleFontStyle","titleFontWeight","titleLetterSpacing","titleLineHeight","contentFontFamily","contentFontSize","contentFontStyle","contentFontWeight","contentLetterSpacing","contentLineHeight","indicatorFontFamily","indicatorFontSize","indicatorFontStyle","indicatorFontWeight","indicatorLetterSpacing","indicatorLineHeight","activeIndicatorFontFamily","activeIndicatorFontSize","activeIndicatorFontStyle","activeIndicatorFontWeight","activeIndicatorLetterSpacing","activeIndicatorLineHeight","activeTitleColor","activeTitleColorHover","inactiveTitleColor","inactiveTitleColorHover","contentColor","focusColor","activeIndicatorBorder","activeIndicatorBorderHover","activeIndicatorColor","activeIndicatorColorHover","activeIndicatorBackground","completedIndicatorColor","completedIndicatorColorHover","completedIndicatorBackground","completedIndicatorBackgroundHover","inactiveIndicatorColor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oD;AAClFC,EAAAA,4BAA4B,EAAE,mDAAmD;AACjFC,EAAAA,iCAAiC,EAAE,yDAAyD;AAE5FC,EAAAA,sBAAsB,EAAE,6CAA6C;AACrEC,EAAAA,2BAA2B,EAAE,mDAAmD;AAChFC,EAAAA,2BAA2B,EAAE,kDAAkD;AAC/EC,EAAAA,gCAAgC,EAAE,wDAAwD;AAE1FC,EAAAA,eAAe,EAAE,qCAAqC;AAEtDC,EAAAA,gBAAgB,EAAE,sCAAA;AACtB;;;;"}
@@ -5,12 +5,12 @@
5
5
  .Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
6
6
  .Spinner_styles_13q7ndk_s122r4cn__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:var(--s122r4cn-0);height:var(--s122r4cn-1);-webkit-animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;}@-webkit-keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}
7
7
 
8
- .StepItem_styles_sp9rcd_snf9dn9__20446152{--plasma-spinner-size:var(--snf9dn9-0);--plasma-spinner-color:var(--plasma-step-item-active-indicator-color);}
9
- .StepItem_styles_sp9rcd_sv5tpso__20446152{padding-top:var(--plasma-step-item-title-padding-top);padding-right:var(--plasma-step-item-content-side-padding);font-family:var(--plasma-step-item-title-font-family);font-size:var(--plasma-step-item-title-font-size);font-style:var(--plasma-step-item-title-font-style);font-weight:var(--plasma-step-item-title-font-weight);-webkit-letter-spacing:var(--plasma-step-item-title-letter-spacing);-moz-letter-spacing:var(--plasma-step-item-title-letter-spacing);-ms-letter-spacing:var(--plasma-step-item-title-letter-spacing);letter-spacing:var(--plasma-step-item-title-letter-spacing);line-height:var(--plasma-step-item-title-line-height);word-break:break-word;}
10
- .StepItem_styles_sp9rcd_s529fhk__20446152{padding-top:var(--plasma-step-item-content-padding-top);padding-right:var(--plasma-step-item-content-side-padding);font-family:var(--plasma-step-item-content-font-family);font-size:var(--plasma-step-item-content-font-size);font-style:var(--plasma-step-item-content-font-style);font-weight:var(--plasma-step-item-content-font-weight);-webkit-letter-spacing:var(--plasma-step-item-content-letter-spacing);-moz-letter-spacing:var(--plasma-step-item-content-letter-spacing);-ms-letter-spacing:var(--plasma-step-item-content-letter-spacing);letter-spacing:var(--plasma-step-item-content-letter-spacing);line-height:var(--plasma-step-item-content-line-height);word-break:break-word;color:var(--plasma-step-item-content-color);}
11
- .StepItem_styles_sp9rcd_b1kcj14__20446152{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.StepItem_styles_sp9rcd_b1kcj14__20446152:not(.StepItem_styles_sp9rcd_simple__20446152){-webkit-flex:0;-ms-flex:0;flex:0;}.StepItem_styles_sp9rcd_b1kcj14__20446152:not(.StepItem_styles_sp9rcd_simple__20446152).StepItem_styles_sp9rcd_itemHasIndicator__20446152{width:100%;min-height:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_sp9rcd_b1kcj14__20446152:not(.StepItem_styles_sp9rcd_simple__20446152):not(.StepItem_styles_sp9rcd_itemHasIndicator__20446152){width:100%;min-height:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_sp9rcd_b1kcj14__20446152:not(.StepItem_styles_sp9rcd_simple__20446152).StepItem_styles_sp9rcd_verticalOrientation__20446152{padding-right:var(--plasma-step-item-vertical-content-padding-left);}.StepItem_styles_sp9rcd_b1kcj14__20446152.StepItem_styles_sp9rcd_verticalOrientation__20446152{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;min-height:100%;}.StepItem_styles_sp9rcd_b1kcj14__20446152.StepItem_styles_sp9rcd_verticalOrientation__20446152.StepItem_styles_sp9rcd_itemHasIndicator__20446152{min-width:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_sp9rcd_b1kcj14__20446152.StepItem_styles_sp9rcd_verticalOrientation__20446152:not(.StepItem_styles_sp9rcd_itemHasIndicator__20446152){min-width:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_sp9rcd_b1kcj14__20446152.StepItem_styles_sp9rcd_itemCentered__20446152{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
12
- .StepItem_styles_sp9rcd_b9hdug__20446152{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:var(--plasma-step-item-indicator-size);height:var(--plasma-step-item-indicator-size);border-radius:50%;box-sizing:border-box;position:relative;color:var(--plasma-step-item-completed-indicator-color);background-color:var(--plasma-step-item-completed-indicator-background);font-family:var(--plasma-step-item-indicator-font-family);font-size:var(--plasma-step-item-indicator-font-size);font-style:var(--plasma-step-item-indicator-font-style);font-weight:var(--plasma-step-item-indicator-font-weight);-webkit-letter-spacing:var(--plasma-step-item-indicator-letter-spacing);-moz-letter-spacing:var(--plasma-step-item-indicator-letter-spacing);-ms-letter-spacing:var(--plasma-step-item-indicator-letter-spacing);letter-spacing:var(--plasma-step-item-indicator-letter-spacing);line-height:var(--plasma-step-item-indicator-line-height);}.StepItem_styles_sp9rcd_b9hdug__20446152.StepItem_styles_sp9rcd_itemActive__20446152{width:var(--plasma-step-item-active-indicator-size);height:var(--plasma-step-item-active-indicator-size);border:var(--plasma-step-item-divider-thickness) var(--plasma-step-item-active-indicator-border);font-family:var(--plasma-step-item-active-indicator-font-family);font-size:var(--plasma-step-item-active-indicator-font-size);font-style:var(--plasma-step-item-active-indicator-font-style);font-weight:var(--plasma-step-item-active-indicator-font-weight);-webkit-letter-spacing:var(--plasma-step-item-active-indicator-letter-spacing);-moz-letter-spacing:var(--plasma-step-item-active-indicator-letter-spacing);-ms-letter-spacing:var(--plasma-step-item-active-indicator-letter-spacing);letter-spacing:var(--plasma-step-item-active-indicator-letter-spacing);line-height:var(--plasma-step-item-active-indicator-line-height);color:var(--plasma-step-item-active-indicator-color);background:var(--plasma-step-item-active-indicator-background);}.StepItem_styles_sp9rcd_b9hdug__20446152.StepItem_styles_sp9rcd_itemInactive__20446152{color:var(--plasma-step-item-inactive-indicator-color);background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_sp9rcd_b9hdug__20446152.StepItem_styles_sp9rcd_itemInactive__20446152:before,.StepItem_styles_sp9rcd_b9hdug__20446152.StepItem_styles_sp9rcd_itemInactive__20446152:after{background:var(--plasma-step-item-inactive-indicator-background);}
13
- .StepItem_styles_sp9rcd_b1eo1o32__20446152.StepItem_styles_sp9rcd_b9hdug__20446152{width:var(--plasma-step-item-bullet-size);height:var(--plasma-step-item-bullet-size);}.StepItem_styles_sp9rcd_b1eo1o32__20446152.StepItem_styles_sp9rcd_b9hdug__20446152.StepItem_styles_sp9rcd_itemActive__20446152{width:var(--plasma-step-item-active-bullet-size);height:var(--plasma-step-item-active-bullet-size);border:var(--plasma-step-item-divider-thickness) var(--plasma-step-item-active-indicator-border);background-color:var(--plasma-step-item-active-indicator-background);}
14
- .StepItem_styles_sp9rcd_sxskc3q__20446152{width:100%;height:var(--plasma-step-item-divider-thickness);-webkit-flex:1;-ms-flex:1;flex:1;background-color:var(--plasma-step-item-active-indicator-color);}.StepItem_styles_sp9rcd_sxskc3q__20446152.StepItem_styles_sp9rcd_itemInactive__20446152{background-color:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_sp9rcd_sxskc3q__20446152.StepItem_styles_sp9rcd_transparentDivider__20446152{background-color:transparent;}.StepItem_styles_sp9rcd_sxskc3q__20446152.StepItem_styles_sp9rcd_verticalOrientation__20446152{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_sp9rcd_sxskc3q__20446152.StepItem_styles_sp9rcd_indentDivider__20446152{height:var(--sxskc3q-0);min-height:var(--sxskc3q-0);max-height:var(--sxskc3q-0);}.StepItem_styles_sp9rcd_sxskc3q__20446152.StepItem_styles_sp9rcd_indentDivider__20446152.StepItem_styles_sp9rcd_simple__20446152{height:auto;max-height:none;}
15
- .StepItem_styles_sp9rcd_s4zgmmr__20446152.StepItem_styles_sp9rcd_verticalOrientation__20446152 .StepItem_styles_sp9rcd_sv5tpso__20446152{padding-top:var(--plasma-step-item-content-vertical-padding);padding-right:0;}.StepItem_styles_sp9rcd_s4zgmmr__20446152.StepItem_styles_sp9rcd_verticalOrientation__20446152 .StepItem_styles_sp9rcd_s529fhk__20446152{padding-top:var(--plasma-step-item-content-vertical-padding);padding-bottom:var(--plasma-step-item-content-vertical-padding);padding-right:0;}
16
- .StepItem_styles_sp9rcd_s12pqpa3__20446152{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-flex:1;-ms-flex:1;flex:1;}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_verticalOrientation__20446152{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_verticalOrientation__20446152 .StepItem_styles_sp9rcd_sxskc3q__20446152{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemActive__20446152 .StepItem_styles_sp9rcd_sv5tpso__20446152{color:var(--plasma-step-item-active-title-color);}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemInactive__20446152 .StepItem_styles_sp9rcd_sv5tpso__20446152{color:var(--plasma-step-item-inactive-title-color);}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemHovered__20446152:not(.StepItem_styles_sp9rcd_itemActive__20446152) .StepItem_styles_sp9rcd_sv5tpso__20446152{cursor:pointer;color:var(--plasma-step-item-active-title-color-hover);}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemHovered__20446152:not(.StepItem_styles_sp9rcd_itemActive__20446152) .StepItem_styles_sp9rcd_b9hdug__20446152,.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemHovered__20446152:not(.StepItem_styles_sp9rcd_itemActive__20446152) .StepItem_styles_sp9rcd_b1eo1o32__20446152{color:var(--plasma-step-item-completed-indicator-color-hover);background:var(--plasma-step-item-completed-indicator-background-hover);}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemHovered__20446152.StepItem_styles_sp9rcd_itemInactive__20446152 .StepItem_styles_sp9rcd_sv5tpso__20446152{color:var(--plasma-step-item-inactive-title-color-hover);}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemHovered__20446152.StepItem_styles_sp9rcd_itemInactive__20446152 .StepItem_styles_sp9rcd_b9hdug__20446152,.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemHovered__20446152.StepItem_styles_sp9rcd_itemInactive__20446152 .StepItem_styles_sp9rcd_b1eo1o32__20446152{color:var(--plasma-step-item-inactive-indicator-color-hover);background:var(--plasma-step-item-inactive-indicator-background-hover);}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemHovered__20446152 .StepItem_styles_sp9rcd_b1kcj14__20446152{cursor:pointer;}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemCentered__20446152{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemCentered__20446152 .StepItem_styles_sp9rcd_s4zgmmr__20446152{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:calc(var(--plasma-step-item-content-side-padding) / 2);padding-right:calc(var(--plasma-step-item-content-side-padding) / 2);}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemCentered__20446152 .StepItem_styles_sp9rcd_s4zgmmr__20446152 .StepItem_styles_sp9rcd_sv5tpso__20446152{width:100%;}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemCentered__20446152 .StepItem_styles_sp9rcd_s4zgmmr__20446152 .StepItem_styles_sp9rcd_sv5tpso__20446152,.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemCentered__20446152 .StepItem_styles_sp9rcd_s4zgmmr__20446152 .StepItem_styles_sp9rcd_s529fhk__20446152{padding-right:0;text-align:center;}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_simple__20446152{-webkit-flex:0;-ms-flex:0;flex:0;}.StepItem_styles_sp9rcd_s12pqpa3__20446152.StepItem_styles_sp9rcd_itemDisabled__20446152{opacity:var(--plasma-step-item-disabled-opacity);}
8
+ .StepItem_styles_q5nnk6_snf9dn9__a323f428{--plasma-spinner-size:var(--snf9dn9-0);--plasma-spinner-color:var(--plasma-step-item-active-indicator-color);}
9
+ .StepItem_styles_q5nnk6_sv5tpso__a323f428{padding-top:var(--plasma-step-item-title-padding-top);padding-right:var(--plasma-step-item-content-side-padding);font-family:var(--plasma-step-item-title-font-family);font-size:var(--plasma-step-item-title-font-size);font-style:var(--plasma-step-item-title-font-style);font-weight:var(--plasma-step-item-title-font-weight);-webkit-letter-spacing:var(--plasma-step-item-title-letter-spacing);-moz-letter-spacing:var(--plasma-step-item-title-letter-spacing);-ms-letter-spacing:var(--plasma-step-item-title-letter-spacing);letter-spacing:var(--plasma-step-item-title-letter-spacing);line-height:var(--plasma-step-item-title-line-height);word-break:break-word;}
10
+ .StepItem_styles_q5nnk6_s529fhk__a323f428{padding-top:var(--plasma-step-item-content-padding-top);padding-right:var(--plasma-step-item-content-side-padding);font-family:var(--plasma-step-item-content-font-family);font-size:var(--plasma-step-item-content-font-size);font-style:var(--plasma-step-item-content-font-style);font-weight:var(--plasma-step-item-content-font-weight);-webkit-letter-spacing:var(--plasma-step-item-content-letter-spacing);-moz-letter-spacing:var(--plasma-step-item-content-letter-spacing);-ms-letter-spacing:var(--plasma-step-item-content-letter-spacing);letter-spacing:var(--plasma-step-item-content-letter-spacing);line-height:var(--plasma-step-item-content-line-height);word-break:break-word;color:var(--plasma-step-item-content-color);}
11
+ .StepItem_styles_q5nnk6_b1kcj14__a323f428{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.StepItem_styles_q5nnk6_b1kcj14__a323f428:not(.StepItem_styles_q5nnk6_simple__a323f428){-webkit-flex:0;-ms-flex:0;flex:0;}.StepItem_styles_q5nnk6_b1kcj14__a323f428:not(.StepItem_styles_q5nnk6_simple__a323f428).StepItem_styles_q5nnk6_itemHasIndicator__a323f428{width:100%;min-height:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_q5nnk6_b1kcj14__a323f428:not(.StepItem_styles_q5nnk6_simple__a323f428):not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428){width:100%;min-height:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_q5nnk6_b1kcj14__a323f428:not(.StepItem_styles_q5nnk6_simple__a323f428).StepItem_styles_q5nnk6_verticalOrientation__a323f428{padding-right:var(--plasma-step-item-vertical-content-padding-left);}.StepItem_styles_q5nnk6_b1kcj14__a323f428.StepItem_styles_q5nnk6_simple__a323f428{-webkit-flex:0;-ms-flex:0;flex:0;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}.StepItem_styles_q5nnk6_b1kcj14__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemHasIndicator__a323f428{width:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_q5nnk6_b1kcj14__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428){width:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_q5nnk6_b1kcj14__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}.StepItem_styles_q5nnk6_b1kcj14__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428.StepItem_styles_q5nnk6_itemHasIndicator__a323f428{min-width:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_q5nnk6_b1kcj14__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428:not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428){min-width:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_q5nnk6_b1kcj14__a323f428.StepItem_styles_q5nnk6_itemCentered__a323f428{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
12
+ .StepItem_styles_q5nnk6_b9hdug__a323f428{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:var(--plasma-step-item-indicator-size);height:var(--plasma-step-item-indicator-size);border-radius:50%;box-sizing:border-box;position:relative;outline:none;padding:0;margin:0;border:none;color:var(--plasma-step-item-completed-indicator-color);background-color:var(--plasma-step-item-completed-indicator-background);font-family:var(--plasma-step-item-indicator-font-family);font-size:var(--plasma-step-item-indicator-font-size);font-style:var(--plasma-step-item-indicator-font-style);font-weight:var(--plasma-step-item-indicator-font-weight);-webkit-letter-spacing:var(--plasma-step-item-indicator-letter-spacing);-moz-letter-spacing:var(--plasma-step-item-indicator-letter-spacing);-ms-letter-spacing:var(--plasma-step-item-indicator-letter-spacing);letter-spacing:var(--plasma-step-item-indicator-letter-spacing);line-height:var(--plasma-step-item-indicator-line-height);position:relative;}.StepItem_styles_q5nnk6_b9hdug__a323f428::before{content:'';position:absolute;top:-0.0625rem;left:-0.0625rem;right:-0.0625rem;bottom:-0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:50%;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.StepItem_styles_q5nnk6_b9hdug__a323f428.StepItem_styles_q5nnk6_focusVisible__a323f428:focus::before,.StepItem_styles_q5nnk6_b9hdug__a323f428[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-step-item-focus-color);}.StepItem_styles_q5nnk6_b9hdug__a323f428.StepItem_styles_q5nnk6_itemActive__a323f428{width:var(--plasma-step-item-active-indicator-size);height:var(--plasma-step-item-active-indicator-size);border:var(--plasma-step-item-divider-thickness) var(--plasma-step-item-active-indicator-border);font-family:var(--plasma-step-item-active-indicator-font-family);font-size:var(--plasma-step-item-active-indicator-font-size);font-style:var(--plasma-step-item-active-indicator-font-style);font-weight:var(--plasma-step-item-active-indicator-font-weight);-webkit-letter-spacing:var(--plasma-step-item-active-indicator-letter-spacing);-moz-letter-spacing:var(--plasma-step-item-active-indicator-letter-spacing);-ms-letter-spacing:var(--plasma-step-item-active-indicator-letter-spacing);letter-spacing:var(--plasma-step-item-active-indicator-letter-spacing);line-height:var(--plasma-step-item-active-indicator-line-height);color:var(--plasma-step-item-active-indicator-color);background:var(--plasma-step-item-active-indicator-background);position:relative;}.StepItem_styles_q5nnk6_b9hdug__a323f428.StepItem_styles_q5nnk6_itemActive__a323f428::before{content:'';position:absolute;top:-0.1875rem;left:-0.1875rem;right:-0.1875rem;bottom:-0.1875rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:50%;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.StepItem_styles_q5nnk6_b9hdug__a323f428.StepItem_styles_q5nnk6_itemActive__a323f428.StepItem_styles_q5nnk6_focusVisible__a323f428:focus::before,.StepItem_styles_q5nnk6_b9hdug__a323f428.StepItem_styles_q5nnk6_itemActive__a323f428[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-step-item-focus-color);}.StepItem_styles_q5nnk6_b9hdug__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428{color:var(--plasma-step-item-inactive-indicator-color);background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_q5nnk6_b9hdug__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428.StepItem_styles_q5nnk6_simple__a323f428:before,.StepItem_styles_q5nnk6_b9hdug__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428.StepItem_styles_q5nnk6_simple__a323f428:after{background:var(--plasma-step-item-inactive-indicator-background);}
13
+ .StepItem_styles_q5nnk6_b1eo1o32__a323f428.StepItem_styles_q5nnk6_b9hdug__a323f428{width:var(--plasma-step-item-bullet-size);height:var(--plasma-step-item-bullet-size);}.StepItem_styles_q5nnk6_b1eo1o32__a323f428.StepItem_styles_q5nnk6_b9hdug__a323f428.StepItem_styles_q5nnk6_itemActive__a323f428{width:var(--plasma-step-item-active-bullet-size);height:var(--plasma-step-item-active-bullet-size);border:var(--plasma-step-item-divider-thickness) var(--plasma-step-item-active-indicator-border);background:var(--plasma-step-item-active-indicator-background);}
14
+ .StepItem_styles_q5nnk6_sxskc3q__a323f428{width:100%;height:var(--plasma-step-item-divider-thickness);-webkit-flex:1;-ms-flex:1;flex:1;background:var(--plasma-step-item-active-indicator-color);}.StepItem_styles_q5nnk6_sxskc3q__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_q5nnk6_sxskc3q__a323f428.StepItem_styles_q5nnk6_transparentDivider__a323f428{background:transparent;}.StepItem_styles_q5nnk6_sxskc3q__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_q5nnk6_sxskc3q__a323f428.StepItem_styles_q5nnk6_indentDivider__a323f428{height:var(--sxskc3q-0);min-height:var(--sxskc3q-0);max-height:var(--sxskc3q-0);}.StepItem_styles_q5nnk6_sxskc3q__a323f428.StepItem_styles_q5nnk6_indentDivider__a323f428.StepItem_styles_q5nnk6_simple__a323f428{height:auto;max-height:none;}
15
+ .StepItem_styles_q5nnk6_s4zgmmr__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428 .StepItem_styles_q5nnk6_sv5tpso__a323f428{padding-top:var(--plasma-step-item-content-vertical-padding);padding-right:0;}.StepItem_styles_q5nnk6_s4zgmmr__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428 .StepItem_styles_q5nnk6_s529fhk__a323f428{padding-top:var(--plasma-step-item-content-vertical-padding);padding-bottom:var(--plasma-step-item-content-vertical-padding);padding-right:0;}
16
+ .StepItem_styles_q5nnk6_s12pqpa3__a323f428{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-flex:1;-ms-flex:1;flex:1;color:var(--plasma-step-item-active-indicator-color);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:stretch;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428 .StepItem_styles_q5nnk6_sxskc3q__a323f428{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemActive__a323f428 .StepItem_styles_q5nnk6_sv5tpso__a323f428{color:var(--plasma-step-item-active-title-color);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428{color:var(--plasma-step-item-inactive-indicator-color);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428 .StepItem_styles_q5nnk6_sv5tpso__a323f428{color:var(--plasma-step-item-inactive-title-color);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428{-webkit-flex:0;-ms-flex:0;flex:0;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;height:100%;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemHasIndicator__a323f428{min-width:var(--plasma-step-item-active-indicator-size);min-height:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428){width:var(--plasma-step-item-active-bullet-size);min-height:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428:before,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428):before,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428:after,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428):after{content:'';display:block;width:calc((var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);height:var(--plasma-step-item-divider-thickness);background:var(--plasma-step-item-active-indicator-color);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428:not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428):before,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428):not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428):before,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428:not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428):after,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428):not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428):after{width:calc((var(--plasma-step-item-active-bullet-size) - var(--plasma-step-item-bullet-size)) / 2);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428).StepItem_styles_q5nnk6_verticalOrientation__a323f428{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428:before,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428).StepItem_styles_q5nnk6_verticalOrientation__a323f428:before,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428:after,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428).StepItem_styles_q5nnk6_verticalOrientation__a323f428:after{width:var(--plasma-step-item-divider-thickness);height:calc((var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);margin:0 auto;-webkit-align-self:auto;-ms-flex-item-align:auto;align-self:auto;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428:not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428):before,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428).StepItem_styles_q5nnk6_verticalOrientation__a323f428:not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428):before,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428:not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428):after,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428).StepItem_styles_q5nnk6_verticalOrientation__a323f428:not(.StepItem_styles_q5nnk6_itemHasIndicator__a323f428):after{height:calc((var(--plasma-step-item-active-bullet-size) - var(--plasma-step-item-bullet-size)) / 2);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428.StepItem_styles_q5nnk6_verticalOrientation__a323f428:after,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428).StepItem_styles_q5nnk6_verticalOrientation__a323f428:after{margin:0 auto;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428.StepItem_styles_q5nnk6_isFirst__a323f428:before,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428).StepItem_styles_q5nnk6_isFirst__a323f428:before{background:transparent;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428.StepItem_styles_q5nnk6_isLast__a323f428:after,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428).StepItem_styles_q5nnk6_isLast__a323f428:after{background:transparent;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428:after,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428:before{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_isPrevInactive__a323f428:before{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_simple__a323f428.StepItem_styles_q5nnk6_isNextInactive__a323f428:after{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428:not(.StepItem_styles_q5nnk6_simple__a323f428):not(.StepItem_styles_q5nnk6_verticalOrientation__a323f428).StepItem_styles_q5nnk6_isNextActive__a323f428 .StepItem_styles_q5nnk6_b1kcj14__a323f428{width:calc(100% - (var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428:not(.StepItem_styles_q5nnk6_simple__a323f428):not(.StepItem_styles_q5nnk6_verticalOrientation__a323f428).StepItem_styles_q5nnk6_itemActive__a323f428 .StepItem_styles_q5nnk6_b1kcj14__a323f428{margin-left:calc((var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / -2);width:calc(100% + (var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemHovered__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428) .StepItem_styles_q5nnk6_sv5tpso__a323f428{cursor:pointer;color:var(--plasma-step-item-active-title-color-hover);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemHovered__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428) .StepItem_styles_q5nnk6_b9hdug__a323f428,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemHovered__a323f428:not(.StepItem_styles_q5nnk6_itemActive__a323f428) .StepItem_styles_q5nnk6_b1eo1o32__a323f428{color:var(--plasma-step-item-completed-indicator-color-hover);background:var(--plasma-step-item-completed-indicator-background-hover);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemHovered__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428 .StepItem_styles_q5nnk6_sv5tpso__a323f428{color:var(--plasma-step-item-inactive-title-color-hover);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemHovered__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428 .StepItem_styles_q5nnk6_b9hdug__a323f428,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemHovered__a323f428.StepItem_styles_q5nnk6_itemInactive__a323f428 .StepItem_styles_q5nnk6_b1eo1o32__a323f428{color:var(--plasma-step-item-inactive-indicator-color-hover);background:var(--plasma-step-item-inactive-indicator-background-hover);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemHovered__a323f428 .StepItem_styles_q5nnk6_b1kcj14__a323f428{cursor:pointer;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemCentered__a323f428{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemCentered__a323f428 .StepItem_styles_q5nnk6_s4zgmmr__a323f428{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:calc(var(--plasma-step-item-content-side-padding) / 2);padding-right:calc(var(--plasma-step-item-content-side-padding) / 2);}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemCentered__a323f428 .StepItem_styles_q5nnk6_s4zgmmr__a323f428 .StepItem_styles_q5nnk6_sv5tpso__a323f428{width:100%;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemCentered__a323f428 .StepItem_styles_q5nnk6_s4zgmmr__a323f428 .StepItem_styles_q5nnk6_sv5tpso__a323f428,.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemCentered__a323f428 .StepItem_styles_q5nnk6_s4zgmmr__a323f428 .StepItem_styles_q5nnk6_s529fhk__a323f428{padding-right:0;text-align:center;}.StepItem_styles_q5nnk6_s12pqpa3__a323f428.StepItem_styles_q5nnk6_itemDisabled__a323f428{opacity:var(--plasma-step-item-disabled-opacity);}
@@ -2,7 +2,7 @@ import { slicedToArray as _slicedToArray, defineProperty as _defineProperty } fr
2
2
  import React, { useState, useEffect } from 'react';
3
3
  import cls from 'classnames';
4
4
  import { classes, tokens } from '../../Steps.tokens.js';
5
- import { StepItemStyled, BulletIndicatorWrapper, StepItemDivider, SpinnerStyled, StepItemContentWrapper, StepItemTitle, StepItemContent, BulletIndicator, Bullet } from './StepItem.styles.js';
5
+ import { StepItemStyled, BulletIndicatorWrapper, SpinnerStyled, StepItemDivider, StepItemContentWrapper, StepItemTitle, StepItemContent, BulletIndicator, Bullet } from './StepItem.styles.js';
6
6
 
7
7
  // todo попробовать заменить через baseline выравнивание
8
8
  var indicatorSizesIndentsMap = {
@@ -34,6 +34,7 @@ var StepItem = function StepItem(_ref) {
34
34
  var prevItem = items[index - 1];
35
35
  var nextItem = items[index + 1];
36
36
  var isActive = status === 'active';
37
+ var isNextActive = (nextItem === null || nextItem === void 0 ? void 0 : nextItem.status) === 'active';
37
38
  var isInactive = status === 'inactive';
38
39
  var isPrevInactive = prevItem && !(prevItem !== null && prevItem !== void 0 && prevItem.status) || (prevItem === null || prevItem === void 0 ? void 0 : prevItem.status) === 'inactive';
39
40
  var isNextInactive = !(nextItem !== null && nextItem !== void 0 && nextItem.status) || (nextItem === null || nextItem === void 0 ? void 0 : nextItem.status) === 'inactive';
@@ -71,8 +72,31 @@ var StepItem = function StepItem(_ref) {
71
72
  setIsHovered(false);
72
73
  }
73
74
  }, [isDisabled]);
75
+ if (isSimple) {
76
+ var _cls;
77
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StepItemStyled, {
78
+ className: cls((_cls = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_cls, classes.simple, isSimple), classes.active, isActive), classes.hovered, isHovered && !isActive), classes.inactive, isInactive), classes.centered, isCentered), classes.disabled, isDisabled), classes.clickable, clickable && !isActive), classes.hasIndicator, hasIndicator), classes.verticalOrientation, isVertical), "isFirst", isFirst), _defineProperty(_defineProperty(_defineProperty(_cls, "isLast", isLast), "isPrevInactive", isPrevInactive), "isNextInactive", isNextInactive)))
79
+ }, /*#__PURE__*/React.createElement(BulletIndicatorWrapper, {
80
+ className: cls(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, classes.verticalOrientation, isVertical), classes.centered, isCentered), classes.simple, isSimple), classes.hasIndicator, hasIndicator)),
81
+ onClick: onClickHandler,
82
+ onFocus: onMouseOver,
83
+ onBlur: onMouseOut,
84
+ onMouseOver: onMouseOver,
85
+ onMouseOut: onMouseOut
86
+ }, hasLoader && /*#__PURE__*/React.createElement(SpinnerStyled, {
87
+ hasIndicator: hasIndicator
88
+ }), !hasLoader && /*#__PURE__*/React.createElement(BulletNode, {
89
+ className: cls(_defineProperty(_defineProperty({}, classes.active, isActive), classes.inactive, isInactive))
90
+ }, typeof indicator === 'function' && indicator({
91
+ status: status,
92
+ item: item,
93
+ size: size
94
+ }), typeof indicator !== 'function' && indicator))), !isLast && /*#__PURE__*/React.createElement(StepItemDivider, {
95
+ className: cls(classes.simple, _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, classes.verticalOrientation, isVertical), classes.transparentDivider, !hasLine), classes.active, isActive), classes.inactive, isInactive || isNextInactive))
96
+ }));
97
+ }
74
98
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StepItemStyled, {
75
- className: cls(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, classes.simple, isSimple), classes.active, isActive), classes.hovered, isHovered && !isActive), classes.inactive, isInactive), classes.centered, isCentered), classes.disabled, isDisabled), classes.clickable, clickable && !isActive), classes.hasIndicator, hasIndicator), classes.verticalOrientation, isVertical))
99
+ className: cls(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, classes.simple, isSimple), classes.active, isActive), classes.hovered, isHovered && !isActive), classes.inactive, isInactive), classes.centered, isCentered), classes.disabled, isDisabled), classes.clickable, clickable && !isActive), classes.hasIndicator, hasIndicator), classes.verticalOrientation, isVertical), "isNextActive", isNextActive))
76
100
  }, /*#__PURE__*/React.createElement(BulletIndicatorWrapper, {
77
101
  className: cls(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, classes.verticalOrientation, isVertical), classes.centered, isCentered), classes.simple, isSimple), classes.hasIndicator, hasIndicator)),
78
102
  onClick: onClickHandler,
@@ -82,7 +106,7 @@ var StepItem = function StepItem(_ref) {
82
106
  onMouseOut: onMouseOut
83
107
  }, contentAlign === 'center' && !isSimple && /*#__PURE__*/React.createElement(StepItemDivider, {
84
108
  className: cls(_defineProperty(_defineProperty(_defineProperty({}, classes.simple, isSimple), classes.transparentDivider, !hasLine || isFirst), classes.inactive, isInactive || isPrevInactive))
85
- }), isVertical && (isSimple ? !isFirst : true) && /*#__PURE__*/React.createElement(StepItemDivider, {
109
+ }), isVertical && /*#__PURE__*/React.createElement(StepItemDivider, {
86
110
  className: cls(classes.indentDivider, _defineProperty(_defineProperty(_defineProperty({}, classes.simple, isSimple), classes.transparentDivider, !hasLine || isFirst), classes.inactive, isInactive || isPrevInactive)),
87
111
  indentToken: indentToken
88
112
  }), hasLoader && /*#__PURE__*/React.createElement(SpinnerStyled, {
@@ -93,9 +117,9 @@ var StepItem = function StepItem(_ref) {
93
117
  status: status,
94
118
  item: item,
95
119
  size: size
96
- }), typeof indicator !== 'function' && indicator), !isSimple && /*#__PURE__*/React.createElement(StepItemDivider, {
120
+ }), typeof indicator !== 'function' && indicator), /*#__PURE__*/React.createElement(StepItemDivider, {
97
121
  className: cls(_defineProperty(_defineProperty(_defineProperty({}, classes.simple, isSimple), classes.transparentDivider, !hasLine || isLast), classes.inactive, isInactive || isNextInactive))
98
- })), !isSimple && /*#__PURE__*/React.createElement(StepItemContentWrapper, {
122
+ })), /*#__PURE__*/React.createElement(StepItemContentWrapper, {
99
123
  className: cls(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, classes.verticalOrientation, isVertical), classes.centered, isCentered), classes.active, isActive), classes.hasIndicator, hasIndicator))
100
124
  }, /*#__PURE__*/React.createElement(StepItemTitle, {
101
125
  onClick: onClickHandler,
@@ -103,9 +127,7 @@ var StepItem = function StepItem(_ref) {
103
127
  onBlur: onMouseOut,
104
128
  onMouseOver: onMouseOver,
105
129
  onMouseOut: onMouseOut
106
- }, title), content && /*#__PURE__*/React.createElement(StepItemContent, null, typeof content === 'function' ? content(status, index, items) : content))), isSimple && !isLast && /*#__PURE__*/React.createElement(StepItemDivider, {
107
- className: cls(classes.simple, _defineProperty(_defineProperty(_defineProperty({}, classes.verticalOrientation, isVertical), classes.transparentDivider, !hasLine), classes.inactive, isInactive || isNextInactive))
108
- }));
130
+ }, title), content && /*#__PURE__*/React.createElement(StepItemContent, null, typeof content === 'function' ? content(status, index, items) : content))));
109
131
  };
110
132
 
111
133
  export { StepItem };
@@ -1 +1 @@
1
- {"version":3,"file":"StepItem.js","sources":["../../../../../src/components/Steps/ui/StepItem/StepItem.tsx"],"sourcesContent":["import React, { useState, useEffect } from 'react';\nimport cls from 'classnames';\n\nimport { classes, tokens } from '../../Steps.tokens';\nimport { StepsContent, StepsContentAlign, StepsOrientation } from '../../Steps.types';\n\nimport type { StepItemProps } from './StepItem.types';\nimport {\n Bullet,\n BulletIndicator,\n BulletIndicatorWrapper,\n StepItemContent,\n StepItemContentWrapper,\n StepItemDivider,\n StepItemStyled,\n StepItemTitle,\n SpinnerStyled,\n} from './StepItem.styles';\n\n// todo попробовать заменить через baseline выравнивание\nconst indicatorSizesIndentsMap = {\n 8: `var(${tokens.smallBulletIndentHeight})`,\n 16: `var(${tokens.largeBulletIndentHeight})`,\n 24: `var(${tokens.smallIndicatorIndentHeight})`,\n 36: `var(${tokens.largeIndicatorIndentHeight})`,\n} as const;\n\nexport const StepItem: React.FC<\n StepItemProps & {\n index: number;\n items: StepItemProps[];\n size: string;\n hasLine?: boolean;\n hasContent?: StepsContent;\n hasLoader?: boolean;\n isFirst?: boolean;\n isLast?: boolean;\n onClick?: (item: StepItemProps, index: number) => void;\n contentAlign?: StepsContentAlign;\n orientation?: StepsOrientation;\n }\n> = ({\n index,\n title,\n content,\n indicator,\n status = 'inactive',\n size,\n orientation,\n contentAlign,\n hasLine,\n hasLoader,\n onClick,\n items,\n}) => {\n const [isHovered, setIsHovered] = useState(false);\n\n const isFirst = index === 0;\n const isLast = index === items.length - 1;\n\n const prevItem = items[index - 1];\n const nextItem = items[index + 1];\n\n const isActive = status === 'active';\n const isInactive = status === 'inactive';\n const isPrevInactive = (prevItem && !prevItem?.status) || prevItem?.status === 'inactive';\n const isNextInactive = !nextItem?.status || nextItem?.status === 'inactive';\n\n const hasIndicator = indicator != null;\n\n const BulletNode = hasIndicator ? BulletIndicator : Bullet;\n\n const item = items[index];\n const isSimple = !title && !content;\n const clickable = Boolean(onClick);\n const isVertical = orientation === 'vertical';\n const isCentered = contentAlign === 'center';\n const isDisabled = item.disabled;\n\n const onClickHandler = onClick && !isDisabled ? () => onClick(item, index) : undefined;\n\n let resultIndicatorSize: keyof typeof indicatorSizesIndentsMap;\n if (hasIndicator) {\n resultIndicatorSize = isActive ? 36 : 24;\n } else {\n resultIndicatorSize = isActive ? 16 : 8;\n }\n\n const indentToken = indicatorSizesIndentsMap[resultIndicatorSize];\n\n // todo заменить на callback с условиями внутри\n const onMouseOver =\n clickable && !isDisabled\n ? () => {\n if (isDisabled) {\n setIsHovered(false);\n }\n\n setIsHovered(true);\n }\n : undefined;\n\n const onMouseOut =\n clickable && !isDisabled\n ? () => {\n setIsHovered(false);\n }\n : undefined;\n\n useEffect(() => {\n if (isDisabled) {\n setIsHovered(false);\n }\n }, [isDisabled]);\n\n return (\n <>\n <StepItemStyled\n className={cls({\n [classes.simple]: isSimple,\n [classes.active]: isActive,\n [classes.hovered]: isHovered && !isActive,\n [classes.inactive]: isInactive,\n [classes.centered]: isCentered,\n [classes.disabled]: isDisabled,\n [classes.clickable]: clickable && !isActive,\n [classes.hasIndicator]: hasIndicator,\n [classes.verticalOrientation]: isVertical,\n })}\n >\n <BulletIndicatorWrapper\n className={cls({\n [classes.verticalOrientation]: isVertical,\n [classes.centered]: isCentered,\n [classes.simple]: isSimple,\n [classes.hasIndicator]: hasIndicator,\n })}\n onClick={onClickHandler}\n onFocus={onMouseOver}\n onBlur={onMouseOut}\n onMouseOver={onMouseOver}\n onMouseOut={onMouseOut}\n >\n {contentAlign === 'center' && !isSimple && (\n <StepItemDivider\n className={cls({\n [classes.simple]: isSimple,\n [classes.transparentDivider]: !hasLine || isFirst,\n [classes.inactive]: isInactive || isPrevInactive,\n })}\n />\n )}\n\n {isVertical && (isSimple ? !isFirst : true) && (\n <StepItemDivider\n className={cls(classes.indentDivider, {\n [classes.simple]: isSimple,\n [classes.transparentDivider]: !hasLine || isFirst,\n [classes.inactive]: isInactive || isPrevInactive,\n })}\n indentToken={indentToken}\n />\n )}\n\n {hasLoader && <SpinnerStyled hasIndicator={hasIndicator} />}\n\n {!hasLoader && (\n <BulletNode\n className={cls({\n [classes.active]: isActive,\n [classes.inactive]: isInactive,\n })}\n >\n {typeof indicator === 'function' && indicator({ status, item, size })}\n {typeof indicator !== 'function' && indicator}\n </BulletNode>\n )}\n\n {!isSimple && (\n <StepItemDivider\n className={cls({\n [classes.simple]: isSimple,\n [classes.transparentDivider]: !hasLine || isLast,\n [classes.inactive]: isInactive || isNextInactive,\n })}\n />\n )}\n </BulletIndicatorWrapper>\n\n {!isSimple && (\n <StepItemContentWrapper\n className={cls({\n [classes.verticalOrientation]: isVertical,\n [classes.centered]: isCentered,\n [classes.active]: isActive,\n [classes.hasIndicator]: hasIndicator,\n })}\n >\n <StepItemTitle\n onClick={onClickHandler}\n onFocus={onMouseOver}\n onBlur={onMouseOut}\n onMouseOver={onMouseOver}\n onMouseOut={onMouseOut}\n >\n {title}\n </StepItemTitle>\n\n {content && (\n <StepItemContent>\n {typeof content === 'function' ? content(status, index, items) : content}\n </StepItemContent>\n )}\n </StepItemContentWrapper>\n )}\n </StepItemStyled>\n {isSimple && !isLast && (\n <StepItemDivider\n className={cls(classes.simple, {\n [classes.verticalOrientation]: isVertical,\n [classes.transparentDivider]: !hasLine,\n [classes.inactive]: isInactive || isNextInactive,\n })}\n />\n )}\n </>\n );\n};\n"],"names":["indicatorSizesIndentsMap","concat","tokens","smallBulletIndentHeight","largeBulletIndentHeight","smallIndicatorIndentHeight","largeIndicatorIndentHeight","StepItem","_ref","index","title","content","indicator","_ref$status","status","size","orientation","contentAlign","hasLine","hasLoader","onClick","items","_useState","useState","_useState2","_slicedToArray","isHovered","setIsHovered","isFirst","isLast","length","prevItem","nextItem","isActive","isInactive","isPrevInactive","isNextInactive","hasIndicator","BulletNode","BulletIndicator","Bullet","item","isSimple","clickable","Boolean","isVertical","isCentered","isDisabled","disabled","onClickHandler","undefined","resultIndicatorSize","indentToken","onMouseOver","onMouseOut","useEffect","React","createElement","Fragment","StepItemStyled","className","cls","_defineProperty","classes","simple","active","hovered","inactive","centered","verticalOrientation","BulletIndicatorWrapper","onFocus","onBlur","StepItemDivider","transparentDivider","indentDivider","SpinnerStyled","StepItemContentWrapper","StepItemTitle","StepItemContent"],"mappings":";;;;;;AAmBA;AACA,IAAMA,wBAAwB,GAAG;AAC7B,EAAA,CAAC,sBAAAC,MAAA,CAASC,MAAM,CAACC,uBAAuB,EAAG,GAAA,CAAA;AAC3C,EAAA,EAAE,sBAAAF,MAAA,CAASC,MAAM,CAACE,uBAAuB,EAAG,GAAA,CAAA;AAC5C,EAAA,EAAE,sBAAAH,MAAA,CAASC,MAAM,CAACG,0BAA0B,EAAG,GAAA,CAAA;AAC/C,EAAA,EAAE,eAAAJ,MAAAA,CAAAA,MAAA,CAASC,MAAM,CAACI,0BAA0B,EAAA,GAAA,CAAA;AAChD,CAAU,CAAA;IAEGC,QAcZ,GAAG,SAdSA,QAcZA,CAAAC,IAAA,EAaK;AAAA,EAAA,IAZFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,OAAO,GAAAH,IAAA,CAAPG,OAAO;IACPC,SAAS,GAAAJ,IAAA,CAATI,SAAS;IAAAC,WAAA,GAAAL,IAAA,CACTM,MAAM;AAANA,IAAAA,MAAM,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,UAAU,GAAAA,WAAA;IACnBE,IAAI,GAAAP,IAAA,CAAJO,IAAI;IACJC,WAAW,GAAAR,IAAA,CAAXQ,WAAW;IACXC,YAAY,GAAAT,IAAA,CAAZS,YAAY;IACZC,OAAO,GAAAV,IAAA,CAAPU,OAAO;IACPC,SAAS,GAAAX,IAAA,CAATW,SAAS;IACTC,OAAO,GAAAZ,IAAA,CAAPY,OAAO;IACPC,KAAK,GAAAb,IAAA,CAALa,KAAK,CAAA;AAEL,EAAA,IAAAC,SAAA,GAAkCC,QAAQ,CAAC,KAAK,CAAC;IAAAC,UAAA,GAAAC,cAAA,CAAAH,SAAA,EAAA,CAAA,CAAA;AAA1CI,IAAAA,SAA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6C,KAAA,CAAAC,aAAA,CAACsB,eAAe,QACX,OAAOpE,OAAO,KAAK,UAAU,GAAGA,OAAO,CAACG,MAAM,EAAEL,KAAK,EAAEY,KAAK,CAAC,GAAGV,OACpD,CAED,CAEhB,CAAC,EAChB+B,QAAQ,IAAI,CAACb,MAAM,iBAChB2B,KAAA,CAAAC,aAAA,CAACgB,eAAe,EAAA;AACZb,IAAAA,SAAS,EAAEC,GAAG,CAACE,OAAO,CAACC,MAAM,EAAAF,eAAA,CAAAA,eAAA,CAAAA,eAAA,CAAA,EAAA,EACxBC,OAAO,CAACM,mBAAmB,EAAGxB,UAAU,CACxCkB,EAAAA,OAAO,CAACW,kBAAkB,EAAG,CAACxD,OAAO,CACrC6C,EAAAA,OAAO,CAACI,QAAQ,EAAGjC,UAAU,IAAIE,cAAc,CACnD,CAAA;AAAE,GACN,CAEP,CAAC,CAAA;AAEX;;;;"}
1
+ {"version":3,"file":"StepItem.js","sources":["../../../../../src/components/Steps/ui/StepItem/StepItem.tsx"],"sourcesContent":["import React, { useState, useEffect } from 'react';\nimport cls from 'classnames';\n\nimport { classes, tokens } from '../../Steps.tokens';\nimport { StepsContent, StepsContentAlign, StepsOrientation } from '../../Steps.types';\n\nimport type { StepItemProps } from './StepItem.types';\nimport {\n Bullet,\n BulletIndicator,\n BulletIndicatorWrapper,\n StepItemContent,\n StepItemContentWrapper,\n StepItemDivider,\n StepItemStyled,\n StepItemTitle,\n SpinnerStyled,\n} from './StepItem.styles';\n\n// todo попробовать заменить через baseline выравнивание\nconst indicatorSizesIndentsMap = {\n 8: `var(${tokens.smallBulletIndentHeight})`,\n 16: `var(${tokens.largeBulletIndentHeight})`,\n 24: `var(${tokens.smallIndicatorIndentHeight})`,\n 36: `var(${tokens.largeIndicatorIndentHeight})`,\n} as const;\n\nexport const StepItem: React.FC<\n StepItemProps & {\n index: number;\n items: StepItemProps[];\n size: string;\n hasLine?: boolean;\n hasContent?: StepsContent;\n hasLoader?: boolean;\n isFirst?: boolean;\n isLast?: boolean;\n onClick?: (item: StepItemProps, index: number) => void;\n contentAlign?: StepsContentAlign;\n orientation?: StepsOrientation;\n }\n> = ({\n index,\n title,\n content,\n indicator,\n status = 'inactive',\n size,\n orientation,\n contentAlign,\n hasLine,\n hasLoader,\n onClick,\n items,\n}) => {\n const [isHovered, setIsHovered] = useState(false);\n\n const isFirst = index === 0;\n const isLast = index === items.length - 1;\n\n const prevItem = items[index - 1];\n const nextItem = items[index + 1];\n\n const isActive = status === 'active';\n const isNextActive = nextItem?.status === 'active';\n const isInactive = status === 'inactive';\n const isPrevInactive = (prevItem && !prevItem?.status) || prevItem?.status === 'inactive';\n const isNextInactive = !nextItem?.status || nextItem?.status === 'inactive';\n\n const hasIndicator = indicator != null;\n\n const BulletNode = hasIndicator ? BulletIndicator : Bullet;\n\n const item = items[index];\n const isSimple = !title && !content;\n const clickable = Boolean(onClick);\n const isVertical = orientation === 'vertical';\n const isCentered = contentAlign === 'center';\n const isDisabled = item.disabled;\n\n const onClickHandler = onClick && !isDisabled ? () => onClick(item, index) : undefined;\n\n let resultIndicatorSize: keyof typeof indicatorSizesIndentsMap;\n if (hasIndicator) {\n resultIndicatorSize = isActive ? 36 : 24;\n } else {\n resultIndicatorSize = isActive ? 16 : 8;\n }\n\n const indentToken = indicatorSizesIndentsMap[resultIndicatorSize];\n\n // todo заменить на callback с условиями внутри\n const onMouseOver =\n clickable && !isDisabled\n ? () => {\n if (isDisabled) {\n setIsHovered(false);\n }\n\n setIsHovered(true);\n }\n : undefined;\n\n const onMouseOut =\n clickable && !isDisabled\n ? () => {\n setIsHovered(false);\n }\n : undefined;\n\n useEffect(() => {\n if (isDisabled) {\n setIsHovered(false);\n }\n }, [isDisabled]);\n\n if (isSimple) {\n return (\n <>\n <StepItemStyled\n className={cls({\n [classes.simple]: isSimple,\n [classes.active]: isActive,\n [classes.hovered]: isHovered && !isActive,\n [classes.inactive]: isInactive,\n [classes.centered]: isCentered,\n [classes.disabled]: isDisabled,\n [classes.clickable]: clickable && !isActive,\n [classes.hasIndicator]: hasIndicator,\n [classes.verticalOrientation]: isVertical,\n isFirst,\n isLast,\n isPrevInactive,\n isNextInactive,\n })}\n >\n <BulletIndicatorWrapper\n className={cls({\n [classes.verticalOrientation]: isVertical,\n [classes.centered]: isCentered,\n [classes.simple]: isSimple,\n [classes.hasIndicator]: hasIndicator,\n })}\n onClick={onClickHandler}\n onFocus={onMouseOver}\n onBlur={onMouseOut}\n onMouseOver={onMouseOver}\n onMouseOut={onMouseOut}\n >\n {/* {isVertical && (isSimple ? !isFirst : true) && ( */}\n {/* <StepItemDivider */}\n {/* className={cls(classes.indentDivider, { */}\n {/* [classes.simple]: isSimple, */}\n {/* [classes.transparentDivider]: !hasLine || isFirst, */}\n {/* [classes.inactive]: isInactive || isPrevInactive, */}\n {/* })} */}\n {/* indentToken={indentToken} */}\n {/* /> */}\n {/* )} */}\n\n {hasLoader && <SpinnerStyled hasIndicator={hasIndicator} />}\n\n {!hasLoader && (\n <BulletNode\n className={cls({\n [classes.active]: isActive,\n [classes.inactive]: isInactive,\n })}\n >\n {typeof indicator === 'function' && indicator({ status, item, size })}\n {typeof indicator !== 'function' && indicator}\n </BulletNode>\n )}\n </BulletIndicatorWrapper>\n </StepItemStyled>\n {!isLast && (\n <StepItemDivider\n className={cls(classes.simple, {\n [classes.verticalOrientation]: isVertical,\n [classes.transparentDivider]: !hasLine,\n [classes.active]: isActive,\n [classes.inactive]: isInactive || isNextInactive,\n })}\n />\n )}\n </>\n );\n }\n\n return (\n <>\n <StepItemStyled\n className={cls({\n [classes.simple]: isSimple,\n [classes.active]: isActive,\n [classes.hovered]: isHovered && !isActive,\n [classes.inactive]: isInactive,\n [classes.centered]: isCentered,\n [classes.disabled]: isDisabled,\n [classes.clickable]: clickable && !isActive,\n [classes.hasIndicator]: hasIndicator,\n [classes.verticalOrientation]: isVertical,\n isNextActive,\n })}\n >\n <BulletIndicatorWrapper\n className={cls({\n [classes.verticalOrientation]: isVertical,\n [classes.centered]: isCentered,\n [classes.simple]: isSimple,\n [classes.hasIndicator]: hasIndicator,\n })}\n onClick={onClickHandler}\n onFocus={onMouseOver}\n onBlur={onMouseOut}\n onMouseOver={onMouseOver}\n onMouseOut={onMouseOut}\n >\n {contentAlign === 'center' && !isSimple && (\n <StepItemDivider\n className={cls({\n [classes.simple]: isSimple,\n [classes.transparentDivider]: !hasLine || isFirst,\n [classes.inactive]: isInactive || isPrevInactive,\n })}\n />\n )}\n\n {isVertical && (\n <StepItemDivider\n className={cls(classes.indentDivider, {\n [classes.simple]: isSimple,\n [classes.transparentDivider]: !hasLine || isFirst,\n [classes.inactive]: isInactive || isPrevInactive,\n })}\n indentToken={indentToken}\n />\n )}\n\n {hasLoader && <SpinnerStyled hasIndicator={hasIndicator} />}\n\n {!hasLoader && (\n <BulletNode\n className={cls({\n [classes.active]: isActive,\n [classes.inactive]: isInactive,\n })}\n >\n {typeof indicator === 'function' && indicator({ status, item, size })}\n {typeof indicator !== 'function' && indicator}\n </BulletNode>\n )}\n\n <StepItemDivider\n className={cls({\n [classes.simple]: isSimple,\n [classes.transparentDivider]: !hasLine || isLast,\n [classes.inactive]: isInactive || isNextInactive,\n })}\n />\n </BulletIndicatorWrapper>\n\n <StepItemContentWrapper\n className={cls({\n [classes.verticalOrientation]: isVertical,\n [classes.centered]: isCentered,\n [classes.active]: isActive,\n [classes.hasIndicator]: hasIndicator,\n })}\n >\n <StepItemTitle\n onClick={onClickHandler}\n onFocus={onMouseOver}\n onBlur={onMouseOut}\n onMouseOver={onMouseOver}\n onMouseOut={onMouseOut}\n >\n {title}\n </StepItemTitle>\n\n {content && (\n <StepItemContent>\n {typeof content === 'function' ? content(status, index, items) : content}\n </StepItemContent>\n )}\n </StepItemContentWrapper>\n </StepItemStyled>\n </>\n );\n};\n"],"names":["indicatorSizesIndentsMap","concat","tokens","smallBulletIndentHeight","largeBulletIndentHeight","smallIndicatorIndentHeight","largeIndicatorIndentHeight","StepItem","_ref","index","title","content","indicator","_ref$status","status","size","orientation","contentAlign","hasLine","hasLoader","onClick","items","_useState","useState","_useState2","_slicedToArray","isHovered","setIsHovered","isFirst","isLast","length","prevItem","nextItem","isActive","isNextActive","isInactive","isPrevInactive","isNextInactive","hasIndicator","BulletNode","BulletIndicator","Bullet","item","isSimple","clickable","Boolean","isVertical","isCentered","isDisabled","disabled","onClickHandler","undefined","resultIndicatorSize","indentToken","onMouseOver","onMouseOut","useEffect","_cls","React","createElement","Fragment","StepItemStyled","className","cls","_defineProperty","classes","simple","active","hovered","inactive","centered","verticalOrientation","BulletIndicatorWrapper","onFocus","onBlur","SpinnerStyled","StepItemDivider","transparentDivider","indentDivider","StepItemContentWrapper","StepItemTitle","StepItemContent"],"mappings":";;;;;;AAmBA;AACA,IAAMA,wBAAwB,GAAG;AAC7B,EAAA,CAAC,sBAAAC,MAAA,CAASC,MAAM,CAACC,uBAAuB,EAAG,GAAA,CAAA;AAC3C,EAAA,EAAE,sBAAAF,MAAA,CAASC,MAAM,CAACE,uBAAuB,EAAG,GAAA,CAAA;AAC5C,EAAA,EAAE,sBAAAH,MAAA,CAASC,MAAM,CAACG,0BAA0B,EAAG,GAAA,CAAA;AAC/C,EAAA,EAAE,eAAAJ,MAAAA,CAAAA,MAAA,CAASC,MAAM,CAACI,0BAA0B,EAAA,GAAA,CAAA;AAChD,CAAU,CAAA;IAEGC,QAcZ,GAAG,SAdSA,QAcZA,CAAAC,IAAA,EAaK;AAAA,EAAA,IAZFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,OAAO,GAAAH,IAAA,CAAPG,OAAO;IACPC,SAAS,GAAAJ,IAAA,CAATI,SAAS;IAAAC,WAAA,GAAAL,IAAA,CACTM,MAAM;AAANA,IAAAA,MAAM,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,UAAU,GAAAA,WAAA;IACnBE,IAAI,GAAAP,IAAA,CAAJO,IAAI;IACJC,WAAW,GAAAR,IAAA,CAAXQ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A;AACnBjB,IAAAA,SAAS,EAAEC,GAAG,CAAAC,eAAA,CAAAA,eAAA,CAAAA,eAAA,CAAAA,eAAA,CACTC,EAAAA,EAAAA,OAAO,CAACM,mBAAmB,EAAGzB,UAAU,CAAA,EACxCmB,OAAO,CAACK,QAAQ,EAAGvB,UAAU,CAAA,EAC7BkB,OAAO,CAACE,MAAM,EAAGlC,QAAQ,GACzBgC,OAAO,CAAC3B,YAAY,EAAGA,YAAY,CACvC,CAAA;AAAE,GAAA,eAEHoB,KAAA,CAAAC,aAAA,CAACqB,aAAa,EAAA;AACV5D,IAAAA,OAAO,EAAE8B,cAAe;AACxBuB,IAAAA,OAAO,EAAEnB,WAAY;AACrBoB,IAAAA,MAAM,EAAEnB,UAAW;AACnBD,IAAAA,WAAW,EAAEA,WAAY;AACzBC,IAAAA,UAAU,EAAEA,UAAAA;AAAW,GAAA,EAEtB7C,KACU,CAAC,EAEfC,OAAO,iBACJ+C,KAAA,CAAAC,aAAA,CAACsB,eAAe,EACX,IAAA,EAAA,OAAOtE,OAAO,KAAK,UAAU,GAAGA,OAAO,CAACG,MAAM,EAAEL,KAAK,EAAEY,KAAK,CAAC,GAAGV,OACpD,CAED,CACZ,CAClB,CAAC,CAAA;AAEX;;;;"}
@@ -1,4 +1,4 @@
1
- import './StepItem.styles_sp9rcd.css';
1
+ import './StepItem.styles_q5nnk6.css';
2
2
  import { styled } from '@linaria/react';
3
3
  import { tokens } from '../../Steps.tokens.js';
4
4
  import { component, mergeConfig } from '../../../../engines/common.js';
@@ -38,20 +38,20 @@ var BulletIndicatorWrapper = /*#__PURE__*/styled('div')({
38
38
  "class": "b1kcj14",
39
39
  propsAsIs: false
40
40
  });
41
- var BulletIndicator = /*#__PURE__*/styled('div')({
41
+ var BulletIndicator = /*#__PURE__*/styled('button')({
42
42
  name: "BulletIndicator",
43
43
  "class": "b9hdug",
44
44
  propsAsIs: false
45
45
  });
46
- var _exp63 = function _exp63() {
46
+ var _exp71 = function _exp71() {
47
47
  return BulletIndicator;
48
48
  };
49
- var Bullet = /*#__PURE__*/styled(_exp63())({
49
+ var Bullet = /*#__PURE__*/styled(_exp71())({
50
50
  name: "Bullet",
51
51
  "class": "b1eo1o32",
52
52
  propsAsIs: true
53
53
  });
54
- var _exp82 = function _exp82() {
54
+ var _exp90 = function _exp90() {
55
55
  return function (_ref2) {
56
56
  var indentToken = _ref2.indentToken;
57
57
  return indentToken || '';
@@ -62,7 +62,7 @@ var StepItemDivider = /*#__PURE__*/styled('div')({
62
62
  "class": "sxskc3q",
63
63
  propsAsIs: false,
64
64
  vars: {
65
- "sxskc3q-0": [/*#__PURE__*/_exp82()]
65
+ "sxskc3q-0": [/*#__PURE__*/_exp90()]
66
66
  }
67
67
  });
68
68
  var StepItemContentWrapper = /*#__PURE__*/styled('div')({