@salutejs/plasma-new-hope 0.159.0-canary.1443.11139400186.0 → 0.159.0-canary.1443.11141632830.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/cjs/components/Steps/Steps.css +10 -10
  2. package/cjs/components/Steps/Steps.js +5 -1
  3. package/cjs/components/Steps/Steps.js.map +1 -1
  4. package/cjs/components/Steps/Steps.styles.js +1 -1
  5. package/cjs/components/Steps/Steps.styles.js.map +1 -1
  6. package/cjs/components/Steps/Steps.styles_1xmqxqu.css +1 -0
  7. package/cjs/components/Steps/ui/StepItem/StepItem.css +9 -9
  8. package/cjs/components/Steps/ui/StepItem/StepItem.js +3 -1
  9. package/cjs/components/Steps/ui/StepItem/StepItem.js.map +1 -1
  10. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +1 -1
  11. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  12. package/cjs/components/Steps/ui/StepItem/{StepItem.styles_1y1xj5d.css → StepItem.styles_sp9rcd.css} +1 -1
  13. package/cjs/index.css +11 -11
  14. package/emotion/cjs/components/Steps/Steps.js +5 -1
  15. package/emotion/cjs/components/Steps/Steps.styles.js +1 -1
  16. package/emotion/cjs/components/Steps/ui/StepItem/StepItem.js +3 -1
  17. package/emotion/cjs/components/Steps/ui/StepItem/StepItem.styles.js +9 -9
  18. package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.config.js +5 -5
  19. package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +15 -8
  20. package/emotion/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +15 -8
  21. package/emotion/es/components/Steps/Steps.js +5 -1
  22. package/emotion/es/components/Steps/Steps.styles.js +1 -1
  23. package/emotion/es/components/Steps/ui/StepItem/StepItem.js +3 -1
  24. package/emotion/es/components/Steps/ui/StepItem/StepItem.styles.js +9 -9
  25. package/emotion/es/examples/plasma_b2c/components/Steps/Steps.config.js +5 -5
  26. package/emotion/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +15 -8
  27. package/emotion/es/examples/plasma_web/components/Steps/Steps.stories.tsx +15 -8
  28. package/es/components/Steps/Steps.css +10 -10
  29. package/es/components/Steps/Steps.js +5 -1
  30. package/es/components/Steps/Steps.js.map +1 -1
  31. package/es/components/Steps/Steps.styles.js +1 -1
  32. package/es/components/Steps/Steps.styles.js.map +1 -1
  33. package/es/components/Steps/Steps.styles_1xmqxqu.css +1 -0
  34. package/es/components/Steps/ui/StepItem/StepItem.css +9 -9
  35. package/es/components/Steps/ui/StepItem/StepItem.js +3 -1
  36. package/es/components/Steps/ui/StepItem/StepItem.js.map +1 -1
  37. package/es/components/Steps/ui/StepItem/StepItem.styles.js +1 -1
  38. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  39. package/es/components/Steps/ui/StepItem/{StepItem.styles_1y1xj5d.css → StepItem.styles_sp9rcd.css} +1 -1
  40. package/es/index.css +11 -11
  41. package/package.json +2 -2
  42. package/styled-components/cjs/components/Steps/Steps.js +5 -1
  43. package/styled-components/cjs/components/Steps/Steps.styles.js +1 -1
  44. package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.js +3 -1
  45. package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.styles.js +1 -1
  46. package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.config.js +1 -1
  47. package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +15 -8
  48. package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +15 -8
  49. package/styled-components/es/components/Steps/Steps.js +5 -1
  50. package/styled-components/es/components/Steps/Steps.styles.js +1 -1
  51. package/styled-components/es/components/Steps/ui/StepItem/StepItem.js +3 -1
  52. package/styled-components/es/components/Steps/ui/StepItem/StepItem.styles.js +1 -1
  53. package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.config.js +1 -1
  54. package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +15 -8
  55. package/styled-components/es/examples/plasma_web/components/Steps/Steps.stories.tsx +15 -8
  56. package/types/components/Steps/Steps.d.ts.map +1 -1
  57. package/types/components/Steps/Steps.styles.d.ts.map +1 -1
  58. package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts.map +1 -1
  59. package/types/components/Steps/ui/StepItem/StepItem.types.d.ts +7 -5
  60. package/types/components/Steps/ui/StepItem/StepItem.types.d.ts.map +1 -1
  61. package/cjs/components/Steps/Steps.styles_vv31r6.css +0 -1
  62. package/es/components/Steps/Steps.styles_vv31r6.css +0 -1
@@ -5,14 +5,14 @@
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_1y1xj5d_snf9dn9__5c4153e3{--plasma-spinner-size:var(--snf9dn9-0);--plasma-spinner-color:var(--plasma-step-item-active-indicator-color);}
9
- .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{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_1y1xj5d_s529fhk__5c4153e3{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_1y1xj5d_b1kcj14__5c4153e3{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_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3){-webkit-flex:0;-ms-flex:0;flex:0;}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3).StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3{width:100%;min-height:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3):not(.StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3){width:100%;min-height:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3).StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{padding-right:var(--plasma-step-item-vertical-content-padding-left);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{-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_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3.StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3{min-width:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3:not(.StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3){min-width:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
12
- .StepItem_styles_1y1xj5d_b9hdug__5c4153e3{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_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemActive__5c4153e3{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_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3{color:var(--plasma-step-item-inactive-indicator-color);background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3:before,.StepItem_styles_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3:after{background:var(--plasma-step-item-inactive-indicator-background);}
13
- .StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3.StepItem_styles_1y1xj5d_b9hdug__5c4153e3{width:var(--plasma-step-item-bullet-size);height:var(--plasma-step-item-bullet-size);}.StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3.StepItem_styles_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemActive__5c4153e3{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_1y1xj5d_sxskc3q__5c4153e3{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_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3{background-color:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_transparentDivider__5c4153e3{background-color:transparent;}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_indentDivider__5c4153e3{height:var(--sxskc3q-0);min-height:var(--sxskc3q-0);max-height:var(--sxskc3q-0);}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_indentDivider__5c4153e3.StepItem_styles_1y1xj5d_simple__5c4153e3{height:auto;max-height:none;}
15
- .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{padding-top:var(--plasma-step-item-content-vertical-padding);padding-right:0;}.StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3 .StepItem_styles_1y1xj5d_s529fhk__5c4153e3{padding-top:var(--plasma-step-item-content-vertical-padding);padding-bottom:var(--plasma-step-item-content-vertical-padding);padding-right:0;}
16
- .StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3{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;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{-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_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3 .StepItem_styles_1y1xj5d_sxskc3q__5c4153e3{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemActive__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{color:var(--plasma-step-item-active-title-color);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{color:var(--plasma-step-item-inactive-title-color);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3:not(.StepItem_styles_1y1xj5d_itemActive__5c4153e3) .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{cursor:pointer;color:var(--plasma-step-item-active-title-color-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3:not(.StepItem_styles_1y1xj5d_itemActive__5c4153e3) .StepItem_styles_1y1xj5d_b9hdug__5c4153e3,.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3:not(.StepItem_styles_1y1xj5d_itemActive__5c4153e3) .StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3{color:var(--plasma-step-item-completed-indicator-color-hover);background:var(--plasma-step-item-completed-indicator-background-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{color:var(--plasma-step-item-inactive-title-color-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_b9hdug__5c4153e3,.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3{color:var(--plasma-step-item-inactive-indicator-color-hover);background:var(--plasma-step-item-inactive-indicator-background-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3 .StepItem_styles_1y1xj5d_b1kcj14__5c4153e3{cursor:pointer;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3{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_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{width:100%;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3,.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3 .StepItem_styles_1y1xj5d_s529fhk__5c4153e3{padding-right:0;text-align:center;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemDisabled__5c4153e3{opacity:var(--plasma-step-item-disabled-opacity);}
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);}
17
17
 
18
- .Steps_styles_vv31r6_b7q3upx__206acc3f{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_simple__206acc3f{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_simple__206acc3f.Steps_styles_vv31r6_itemHasIndicator__206acc3f{height:var(--plasma-step-item-active-indicator-size);}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_simple__206acc3f:not(.Steps_styles_vv31r6_itemHasIndicator__206acc3f){height:var(--plasma-step-item-active-bullet-size);}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_simple__206acc3f.Steps_styles_vv31r6_verticalOrientation__206acc3f.Steps_styles_vv31r6_itemHasIndicator__206acc3f{width:var(--plasma-step-item-active-indicator-size);height:100%;}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_simple__206acc3f.Steps_styles_vv31r6_verticalOrientation__206acc3f:not(.Steps_styles_vv31r6_itemHasIndicator__206acc3f){width:var(--plasma-step-item-active-bullet-size);height:100%;}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_verticalOrientation__206acc3f{display:inline;-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;}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_verticalOrientation__206acc3f.Steps_styles_vv31r6_simple__206acc3f{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
18
+ .Steps_styles_1xmqxqu_b7q3upx__86b16d4a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a:not(.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a).Steps_styles_1xmqxqu_itemHasIndicator__86b16d4a{height:var(--plasma-step-item-active-indicator-size);}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a:not(.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a):not(.Steps_styles_1xmqxqu_itemHasIndicator__86b16d4a){height:var(--plasma-step-item-active-bullet-size);}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a.Steps_styles_1xmqxqu_itemHasIndicator__86b16d4a{width:var(--plasma-step-item-active-indicator-size);}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a:not(.Steps_styles_1xmqxqu_itemHasIndicator__86b16d4a){width:var(--plasma-step-item-active-bullet-size);}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a{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%;}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
@@ -45,7 +45,7 @@ var stepsRoot = function stepsRoot(Root) {
45
45
  return !item.title && !item.content;
46
46
  });
47
47
  React.useEffect(function () {
48
- return function () {
48
+ var calcPrevIndex = function calcPrevIndex() {
49
49
  if (current !== undefined) {
50
50
  setPrevIndex(current);
51
51
  } else {
@@ -55,6 +55,10 @@ var stepsRoot = function stepsRoot(Root) {
55
55
  setPrevIndex(index !== -1 ? index : undefined);
56
56
  }
57
57
  };
58
+ calcPrevIndex();
59
+ return function () {
60
+ calcPrevIndex();
61
+ };
58
62
  }, [current, items]);
59
63
  return /*#__PURE__*/React.createElement(Root, _rollupPluginBabelHelpers.extends({
60
64
  size: size,
@@ -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 return () => {\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 }, [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","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,gBAAU,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,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../../../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,gBAAU,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,CATL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;AAEC,IAAM8C,WAAW,GAAG;AACvBC,EAAAA,IAAI,EAAE,OAAO;AACbC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEnE,SAAS;AACjBoE,EAAAA,IAAI,EAAJA,iBAAI;AACJC,EAAAA,UAAU,EAAE;AACR9D,IAAAA,IAAI,EAAE+D,SAAO;AACbhE,IAAAA,IAAI,EAAEiE,WAAAA;GACT;AACDC,EAAAA,QAAQ,EAAE;AACNlE,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
@@ -1,4 +1,4 @@
1
- import './Steps.styles_vv31r6.css';
1
+ import './Steps.styles_1xmqxqu.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -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 &.${classes.hasIndicator} {\n height: var(${tokens.activeIndicatorSize});\n }\n &:not(.${classes.hasIndicator}) {\n height: var(${tokens.activeBulletSize});\n }\n\n &.${classes.verticalOrientation} {\n &.${classes.hasIndicator} {\n width: var(${tokens.activeIndicatorSize});\n height: 100%;\n }\n &:not(.${classes.hasIndicator}) {\n width: var(${tokens.activeBulletSize});\n height: 100%;\n }\n }\n }\n\n &.${classes.verticalOrientation} {\n display: inline;\n flex-direction: column;\n justify-content: center;\n\n &.${classes.simple} {\n display: inline-flex;\n }\n }\n`;\n"],"names":["base"],"mappings":";;;;AAIO,IAAMA,IAAI,GAmChB;;;;"}
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;;;;"}
@@ -0,0 +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;}
@@ -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_1y1xj5d_snf9dn9__5c4153e3{--plasma-spinner-size:var(--snf9dn9-0);--plasma-spinner-color:var(--plasma-step-item-active-indicator-color);}
9
- .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{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_1y1xj5d_s529fhk__5c4153e3{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_1y1xj5d_b1kcj14__5c4153e3{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_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3){-webkit-flex:0;-ms-flex:0;flex:0;}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3).StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3{width:100%;min-height:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3):not(.StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3){width:100%;min-height:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3).StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{padding-right:var(--plasma-step-item-vertical-content-padding-left);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{-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_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3.StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3{min-width:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3:not(.StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3){min-width:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
12
- .StepItem_styles_1y1xj5d_b9hdug__5c4153e3{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_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemActive__5c4153e3{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_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3{color:var(--plasma-step-item-inactive-indicator-color);background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3:before,.StepItem_styles_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3:after{background:var(--plasma-step-item-inactive-indicator-background);}
13
- .StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3.StepItem_styles_1y1xj5d_b9hdug__5c4153e3{width:var(--plasma-step-item-bullet-size);height:var(--plasma-step-item-bullet-size);}.StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3.StepItem_styles_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemActive__5c4153e3{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_1y1xj5d_sxskc3q__5c4153e3{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_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3{background-color:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_transparentDivider__5c4153e3{background-color:transparent;}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_indentDivider__5c4153e3{height:var(--sxskc3q-0);min-height:var(--sxskc3q-0);max-height:var(--sxskc3q-0);}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_indentDivider__5c4153e3.StepItem_styles_1y1xj5d_simple__5c4153e3{height:auto;max-height:none;}
15
- .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{padding-top:var(--plasma-step-item-content-vertical-padding);padding-right:0;}.StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3 .StepItem_styles_1y1xj5d_s529fhk__5c4153e3{padding-top:var(--plasma-step-item-content-vertical-padding);padding-bottom:var(--plasma-step-item-content-vertical-padding);padding-right:0;}
16
- .StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3{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;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{-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_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3 .StepItem_styles_1y1xj5d_sxskc3q__5c4153e3{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemActive__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{color:var(--plasma-step-item-active-title-color);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{color:var(--plasma-step-item-inactive-title-color);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3:not(.StepItem_styles_1y1xj5d_itemActive__5c4153e3) .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{cursor:pointer;color:var(--plasma-step-item-active-title-color-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3:not(.StepItem_styles_1y1xj5d_itemActive__5c4153e3) .StepItem_styles_1y1xj5d_b9hdug__5c4153e3,.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3:not(.StepItem_styles_1y1xj5d_itemActive__5c4153e3) .StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3{color:var(--plasma-step-item-completed-indicator-color-hover);background:var(--plasma-step-item-completed-indicator-background-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{color:var(--plasma-step-item-inactive-title-color-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_b9hdug__5c4153e3,.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3{color:var(--plasma-step-item-inactive-indicator-color-hover);background:var(--plasma-step-item-inactive-indicator-background-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3 .StepItem_styles_1y1xj5d_b1kcj14__5c4153e3{cursor:pointer;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3{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_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{width:100%;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3,.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3 .StepItem_styles_1y1xj5d_s529fhk__5c4153e3{padding-right:0;text-align:center;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemDisabled__5c4153e3{opacity:var(--plasma-step-item-disabled-opacity);}
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);}
@@ -59,6 +59,8 @@ var StepItem = function StepItem(_ref) {
59
59
  resultIndicatorSize = isActive ? 16 : 8;
60
60
  }
61
61
  var indentToken = indicatorSizesIndentsMap[resultIndicatorSize];
62
+
63
+ // todo заменить на callback с условиями внутри
62
64
  var onMouseOver = clickable && !isDisabled ? function () {
63
65
  if (isDisabled) {
64
66
  setIsHovered(false);
@@ -105,7 +107,7 @@ var StepItem = function StepItem(_ref) {
105
107
  onBlur: onMouseOut,
106
108
  onMouseOver: onMouseOver,
107
109
  onMouseOut: onMouseOut
108
- }, title), content && /*#__PURE__*/React.createElement(StepItem_styles.StepItemContent, null, typeof content === 'function' && content(status, index, items), typeof content !== 'function' && content))), isSimple && !isLast && /*#__PURE__*/React.createElement(StepItem_styles.StepItemDivider, {
110
+ }, title), content && /*#__PURE__*/React.createElement(StepItem_styles.StepItemContent, null, typeof content === 'function' ? content(status, index, items) : content))), isSimple && !isLast && /*#__PURE__*/React.createElement(StepItem_styles.StepItemDivider, {
109
111
  className: cls(Steps_tokens.classes.simple, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.verticalOrientation, isVertical), Steps_tokens.classes.transparentDivider, !hasLine), Steps_tokens.classes.inactive, isInactive || isNextInactive))
110
112
  }));
111
113
  };
@@ -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 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)}\n {typeof content !== 'function' && 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,mBAAM,CAACC,uBAAuB,EAAG,GAAA,CAAA;AAC3C,E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AU,IAAIA,OACrB,CAED,CAEhB,CAAC,EAChB+B,QAAQ,IAAI,CAACb,MAAM,iBAChB2B,KAAA,CAAAC,aAAA,CAACgB,+BAAe,EAAA;AACZb,IAAAA,SAAS,EAAEC,GAAG,CAACE,oBAAO,CAACC,MAAM,EAAAF,wCAAA,CAAAA,wCAAA,CAAAA,wCAAA,CAAA,EAAA,EACxBC,oBAAO,CAACM,mBAAmB,EAAGxB,UAAU,CACxCkB,EAAAA,oBAAO,CAACW,kBAAkB,EAAG,CAACxD,OAAO,CACrC6C,EAAAA,oBAAO,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 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,mBAAM,CAACC,uBAAuB,EAAG,GAAA,CAAA;AAC3C,EAAA,EAAE,sBAAAF,MAAA,CAASC,mBAAM,CAACE,uBAAuB,EAAG,GAAA,CAAA;AAC5C,EAAA,EAAE,sBAAAH,MAAA,CAASC,mBAAM,CAACG,0BAA0B,EAAG,GAAA,CAAA;AAC/C,EAAA,EAAE,eAAAJ,MAAAA,CAAAA,MAAA,CAASC,mBAAM,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,GAAA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d.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1 +1 @@
1
- {"version":3,"file":"StepItem.styles.js","sources":["../../../../../src/components/Steps/ui/StepItem/StepItem.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { classes, tokens } from '../../Steps.tokens';\nimport { component, mergeConfig } from '../../../../engines';\nimport { spinnerConfig, spinnerTokens } from '../../../Spinner';\n\nconst mergedConfig = mergeConfig(spinnerConfig);\nconst Spinner = component(mergedConfig);\n\nexport const SpinnerStyled = styled(Spinner)<{ hasIndicator?: boolean }>`\n ${spinnerTokens.size}: ${({ hasIndicator }) =>\n hasIndicator ? `var(${tokens.activeIndicatorSize})` : `var(${tokens.activeBulletSize})`};\n ${spinnerTokens.color}: var(${tokens.activeIndicatorColor});\n`;\n\nexport const StepItemTitle = styled.div`\n padding-top: var(${tokens.titlePaddingTop});\n padding-right: var(${tokens.contentSidePadding});\n\n font-family: var(${tokens.titleFontFamily});\n font-size: var(${tokens.titleFontSize});\n font-style: var(${tokens.titleFontStyle});\n font-weight: var(${tokens.titleFontWeight});\n letter-spacing: var(${tokens.titleLetterSpacing});\n line-height: var(${tokens.titleLineHeight});\n\n word-break: break-word;\n`;\n\nexport const StepItemContent = styled.div`\n padding-top: var(${tokens.contentPaddingTop});\n padding-right: var(${tokens.contentSidePadding});\n\n font-family: var(${tokens.contentFontFamily});\n font-size: var(${tokens.contentFontSize});\n font-style: var(${tokens.contentFontStyle});\n font-weight: var(${tokens.contentFontWeight});\n letter-spacing: var(${tokens.contentLetterSpacing});\n line-height: var(${tokens.contentLineHeight});\n\n word-break: break-word;\n\n color: var(${tokens.contentColor});\n`;\n\nexport const BulletIndicatorWrapper = styled.div`\n display: flex;\n align-items: center;\n\n &:not(.${classes.simple}) {\n flex: 0;\n\n &.${classes.hasIndicator} {\n width: 100%;\n min-height: var(${tokens.activeIndicatorSize});\n }\n &:not(.${classes.hasIndicator}) {\n width: 100%;\n min-height: var(${tokens.activeBulletSize});\n }\n\n &.${classes.verticalOrientation} {\n padding-right: var(${tokens.verticalContentPaddingLeft});\n }\n }\n\n &.${classes.verticalOrientation} {\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100%;\n\n &.${classes.hasIndicator} {\n min-width: var(${tokens.activeIndicatorSize});\n }\n &:not(.${classes.hasIndicator}) {\n min-width: var(${tokens.activeBulletSize});\n }\n }\n\n &.${classes.centered} {\n justify-content: center;\n }\n`;\n\nexport const BulletIndicator = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: var(${tokens.indicatorSize});\n height: var(${tokens.indicatorSize});\n border-radius: 50%;\n box-sizing: border-box;\n position: relative;\n\n color: var(${tokens.completedIndicatorColor});\n background-color: var(${tokens.completedIndicatorBackground});\n\n font-family: var(${tokens.indicatorFontFamily});\n font-size: var(${tokens.indicatorFontSize});\n font-style: var(${tokens.indicatorFontStyle});\n font-weight: var(${tokens.indicatorFontWeight});\n letter-spacing: var(${tokens.indicatorLetterSpacing});\n line-height: var(${tokens.indicatorLineHeight});\n\n &.${classes.active} {\n width: var(${tokens.activeIndicatorSize});\n height: var(${tokens.activeIndicatorSize});\n\n border: var(${tokens.dividerThickness}) var(${tokens.activeIndicatorBorder});\n\n font-family: var(${tokens.activeIndicatorFontFamily});\n font-size: var(${tokens.activeIndicatorFontSize});\n font-style: var(${tokens.activeIndicatorFontStyle});\n font-weight: var(${tokens.activeIndicatorFontWeight});\n letter-spacing: var(${tokens.activeIndicatorLetterSpacing});\n line-height: var(${tokens.activeIndicatorLineHeight});\n\n color: var(${tokens.activeIndicatorColor});\n background: var(${tokens.activeIndicatorBackground});\n }\n\n &.${classes.inactive} {\n color: var(${tokens.inactiveIndicatorColor});\n background: var(${tokens.inactiveIndicatorBackground});\n\n &:before,\n &:after {\n background: var(${tokens.inactiveIndicatorBackground});\n }\n }\n`;\n\nexport const Bullet = styled(BulletIndicator)`\n width: var(${tokens.bulletSize});\n height: var(${tokens.bulletSize});\n\n &.${classes.active} {\n width: var(${tokens.activeBulletSize});\n height: var(${tokens.activeBulletSize});\n\n border: var(${tokens.dividerThickness}) var(${tokens.activeIndicatorBorder});\n\n background-color: var(${tokens.activeIndicatorBackground});\n }\n`;\n\nexport const StepItemDivider = styled.div<{ indentToken?: string }>`\n width: 100%;\n height: var(${tokens.dividerThickness});\n\n flex: 1;\n background-color: var(${tokens.activeIndicatorColor});\n\n &.${classes.inactive} {\n background-color: var(${tokens.inactiveIndicatorBackground});\n }\n\n &.${classes.transparentDivider} {\n background-color: transparent;\n }\n\n &.${classes.verticalOrientation} {\n width: var(${tokens.dividerThickness});\n height: 100%;\n }\n\n &.${classes.indentDivider} {\n height: ${({ indentToken }) => indentToken || ''};\n min-height: ${({ indentToken }) => indentToken || ''};\n max-height: ${({ indentToken }) => indentToken || ''};\n\n &.${classes.simple} {\n height: auto;\n max-height: none;\n }\n }\n`;\n\nexport const StepItemContentWrapper = styled.div`\n &.${classes.verticalOrientation} {\n ${StepItemTitle} {\n padding-top: var(${tokens.contentVerticalPadding});\n padding-right: 0;\n }\n\n ${StepItemContent} {\n padding-top: var(${tokens.contentVerticalPadding});\n padding-bottom: var(${tokens.contentVerticalPadding});\n padding-right: 0;\n }\n }\n`;\n\nexport const StepItemStyled = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n\n &.${classes.verticalOrientation} {\n flex-direction: row;\n align-items: stretch;\n\n ${StepItemDivider} {\n width: var(${tokens.dividerThickness});\n height: 100%;\n }\n }\n\n &.${classes.active} {\n ${StepItemTitle} {\n color: var(${tokens.activeTitleColor});\n }\n }\n\n &.${classes.inactive} {\n ${StepItemTitle} {\n color: var(${tokens.inactiveTitleColor});\n }\n }\n\n &.${classes.hovered} {\n &:not(.${classes.active}) {\n ${StepItemTitle} {\n cursor: pointer;\n color: var(${tokens.activeTitleColorHover});\n }\n ${BulletIndicator}, ${Bullet} {\n color: var(${tokens.completedIndicatorColorHover});\n background: var(${tokens.completedIndicatorBackgroundHover});\n }\n }\n\n &.${classes.inactive} {\n ${StepItemTitle} {\n color: var(${tokens.inactiveTitleColorHover});\n }\n ${BulletIndicator}, ${Bullet} {\n color: var(${tokens.inactiveIndicatorColorHover});\n background: var(${tokens.inactiveIndicatorBackgroundHover});\n }\n }\n\n ${BulletIndicatorWrapper} {\n cursor: pointer;\n }\n }\n\n &.${classes.centered} {\n align-items: center;\n\n ${StepItemContentWrapper} {\n display: flex;\n flex-direction: column;\n align-items: center;\n\n padding-left: calc(var(${tokens.contentSidePadding}) / 2);\n padding-right: calc(var(${tokens.contentSidePadding}) / 2);\n\n ${StepItemTitle} {\n width: 100%;\n }\n\n ${StepItemTitle}, ${StepItemContent} {\n padding-right: 0;\n text-align: center;\n }\n }\n }\n\n &.${classes.disabled} {\n opacity: var(${tokens.disabledOpacity});\n }\n`;\n"],"names":["mergedConfig","mergeConfig","spinnerConfig","Spinner","component","_exp","_exp3","_ref","hasIndicator","concat","tokens","activeIndicatorSize","activeBulletSize","SpinnerStyled","styled","name","class","propsAsIs","vars","StepItemTitle","StepItemContent","BulletIndicatorWrapper","BulletIndicator","_exp63","Bullet","_exp82","_ref2","indentToken","StepItemDivider","StepItemContentWrapper","StepItemStyled"],"mappings":";;;;;;;;;;AAMA,IAAMA,YAAY,gBAAGC,kBAAW,CAACC,uBAAa,CAAC,CAAA;AAC/C,IAAMC,OAAO,gBAAGC,gBAAS,CAACJ,YAAY,CAAC,CAAA;AAAC,IAAAK,IAAA,GANtBA,SAMsBA,IAAAA,GAAA;AAAA,EAAA,OAEJF,OAAO,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAG,KAAA,GARzBA,SAQyBA,KAAAA,GAAA;AAAA,EAAA,OACd,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,YAAAA,GAAAA,IAAAA,CAAAA,YAAAA,CAAAA;AAAAA,IAAAA,OAC5BA,YAAY,GAAA,MAAA,CAAAC,MAAA,CAAUC,mBAAM,CAACC,mBAAoB,EAAA,GAAA,CAA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AM,CAAAS,MAAA,EAAA,CAAA,CAAA;AAAAR,EAAAA,IAAA,EAAA,QAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAY3B,EAAA;AAAC,IAAAQ,MAAA,GAjJgBA,SAiJhBA,MAAAA,GAAA;AAAA,EAAA,OAyBoB,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGC,WAAAA,GAAAA,KAAAA,CAAAA,WAAAA,CAAAA;IAAAA,OAAkBA,WAAW,IAAI,EAAE,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAvBrD,IAAMC,eAAe,gBAAGd,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAuBfO,MAAsC,EAAA,CAAA;AAAA,GAAA;AAAA,CAO3D,EAAA;AAEM,IAAMI,sBAAsB,gBAAGf,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,wBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAa3C,EAAA;AAEM,IAAMa,cAAc,gBAAGhB,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CA+EnC;;;;;;;;;;;;"}
1
+ {"version":3,"file":"StepItem.styles.js","sources":["../../../../../src/components/Steps/ui/StepItem/StepItem.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { classes, tokens } from '../../Steps.tokens';\nimport { component, mergeConfig } from '../../../../engines';\nimport { spinnerConfig, spinnerTokens } from '../../../Spinner';\n\nconst mergedConfig = mergeConfig(spinnerConfig);\nconst Spinner = component(mergedConfig);\n\nexport const SpinnerStyled = styled(Spinner)<{ hasIndicator?: boolean }>`\n ${spinnerTokens.size}: ${({ hasIndicator }) =>\n hasIndicator ? `var(${tokens.activeIndicatorSize})` : `var(${tokens.activeBulletSize})`};\n ${spinnerTokens.color}: var(${tokens.activeIndicatorColor});\n`;\n\nexport const StepItemTitle = styled.div`\n padding-top: var(${tokens.titlePaddingTop});\n padding-right: var(${tokens.contentSidePadding});\n\n font-family: var(${tokens.titleFontFamily});\n font-size: var(${tokens.titleFontSize});\n font-style: var(${tokens.titleFontStyle});\n font-weight: var(${tokens.titleFontWeight});\n letter-spacing: var(${tokens.titleLetterSpacing});\n line-height: var(${tokens.titleLineHeight});\n\n word-break: break-word;\n`;\n\nexport const StepItemContent = styled.div`\n padding-top: var(${tokens.contentPaddingTop});\n padding-right: var(${tokens.contentSidePadding});\n\n font-family: var(${tokens.contentFontFamily});\n font-size: var(${tokens.contentFontSize});\n font-style: var(${tokens.contentFontStyle});\n font-weight: var(${tokens.contentFontWeight});\n letter-spacing: var(${tokens.contentLetterSpacing});\n line-height: var(${tokens.contentLineHeight});\n\n word-break: break-word;\n\n color: var(${tokens.contentColor});\n`;\n\nexport const BulletIndicatorWrapper = styled.div`\n display: flex;\n align-items: center;\n\n &:not(.${classes.simple}) {\n flex: 0;\n\n &.${classes.hasIndicator} {\n width: 100%;\n min-height: var(${tokens.activeIndicatorSize});\n }\n &:not(.${classes.hasIndicator}) {\n width: 100%;\n min-height: var(${tokens.activeBulletSize});\n }\n\n &.${classes.verticalOrientation} {\n padding-right: var(${tokens.verticalContentPaddingLeft});\n }\n }\n\n &.${classes.verticalOrientation} {\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100%;\n\n &.${classes.hasIndicator} {\n min-width: var(${tokens.activeIndicatorSize});\n }\n &:not(.${classes.hasIndicator}) {\n min-width: var(${tokens.activeBulletSize});\n }\n }\n\n &.${classes.centered} {\n justify-content: center;\n }\n`;\n\nexport const BulletIndicator = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: var(${tokens.indicatorSize});\n height: var(${tokens.indicatorSize});\n border-radius: 50%;\n box-sizing: border-box;\n position: relative;\n\n color: var(${tokens.completedIndicatorColor});\n background-color: var(${tokens.completedIndicatorBackground});\n\n font-family: var(${tokens.indicatorFontFamily});\n font-size: var(${tokens.indicatorFontSize});\n font-style: var(${tokens.indicatorFontStyle});\n font-weight: var(${tokens.indicatorFontWeight});\n letter-spacing: var(${tokens.indicatorLetterSpacing});\n line-height: var(${tokens.indicatorLineHeight});\n\n &.${classes.active} {\n width: var(${tokens.activeIndicatorSize});\n height: var(${tokens.activeIndicatorSize});\n\n border: var(${tokens.dividerThickness}) var(${tokens.activeIndicatorBorder});\n\n font-family: var(${tokens.activeIndicatorFontFamily});\n font-size: var(${tokens.activeIndicatorFontSize});\n font-style: var(${tokens.activeIndicatorFontStyle});\n font-weight: var(${tokens.activeIndicatorFontWeight});\n letter-spacing: var(${tokens.activeIndicatorLetterSpacing});\n line-height: var(${tokens.activeIndicatorLineHeight});\n\n color: var(${tokens.activeIndicatorColor});\n background: var(${tokens.activeIndicatorBackground});\n }\n\n &.${classes.inactive} {\n color: var(${tokens.inactiveIndicatorColor});\n background: var(${tokens.inactiveIndicatorBackground});\n\n &:before,\n &:after {\n background: var(${tokens.inactiveIndicatorBackground});\n }\n }\n`;\n\nexport const Bullet = styled(BulletIndicator)`\n width: var(${tokens.bulletSize});\n height: var(${tokens.bulletSize});\n\n &.${classes.active} {\n width: var(${tokens.activeBulletSize});\n height: var(${tokens.activeBulletSize});\n\n border: var(${tokens.dividerThickness}) var(${tokens.activeIndicatorBorder});\n\n background-color: var(${tokens.activeIndicatorBackground});\n }\n`;\n\nexport const StepItemDivider = styled.div<{ indentToken?: string }>`\n width: 100%;\n height: var(${tokens.dividerThickness});\n\n flex: 1;\n background-color: var(${tokens.activeIndicatorColor});\n\n &.${classes.inactive} {\n background-color: var(${tokens.inactiveIndicatorBackground});\n }\n\n &.${classes.transparentDivider} {\n background-color: transparent;\n }\n\n &.${classes.verticalOrientation} {\n width: var(${tokens.dividerThickness});\n height: 100%;\n }\n\n &.${classes.indentDivider} {\n height: ${({ indentToken }) => indentToken || ''};\n min-height: ${({ indentToken }) => indentToken || ''};\n max-height: ${({ indentToken }) => indentToken || ''};\n\n &.${classes.simple} {\n height: auto;\n max-height: none;\n }\n }\n`;\n\nexport const StepItemContentWrapper = styled.div`\n &.${classes.verticalOrientation} {\n ${StepItemTitle} {\n padding-top: var(${tokens.contentVerticalPadding});\n padding-right: 0;\n }\n\n ${StepItemContent} {\n padding-top: var(${tokens.contentVerticalPadding});\n padding-bottom: var(${tokens.contentVerticalPadding});\n padding-right: 0;\n }\n }\n`;\n\nexport const StepItemStyled = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n flex: 1;\n\n &.${classes.verticalOrientation} {\n flex-direction: row;\n align-items: stretch;\n\n ${StepItemDivider} {\n width: var(${tokens.dividerThickness});\n height: 100%;\n }\n }\n\n &.${classes.active} {\n ${StepItemTitle} {\n color: var(${tokens.activeTitleColor});\n }\n }\n\n &.${classes.inactive} {\n ${StepItemTitle} {\n color: var(${tokens.inactiveTitleColor});\n }\n }\n\n &.${classes.hovered} {\n &:not(.${classes.active}) {\n ${StepItemTitle} {\n cursor: pointer;\n color: var(${tokens.activeTitleColorHover});\n }\n ${BulletIndicator}, ${Bullet} {\n color: var(${tokens.completedIndicatorColorHover});\n background: var(${tokens.completedIndicatorBackgroundHover});\n }\n }\n\n &.${classes.inactive} {\n ${StepItemTitle} {\n color: var(${tokens.inactiveTitleColorHover});\n }\n ${BulletIndicator}, ${Bullet} {\n color: var(${tokens.inactiveIndicatorColorHover});\n background: var(${tokens.inactiveIndicatorBackgroundHover});\n }\n }\n\n ${BulletIndicatorWrapper} {\n cursor: pointer;\n }\n }\n\n &.${classes.centered} {\n align-items: center;\n\n ${StepItemContentWrapper} {\n display: flex;\n flex-direction: column;\n align-items: center;\n\n padding-left: calc(var(${tokens.contentSidePadding}) / 2);\n padding-right: calc(var(${tokens.contentSidePadding}) / 2);\n\n ${StepItemTitle} {\n width: 100%;\n }\n\n ${StepItemTitle}, ${StepItemContent} {\n padding-right: 0;\n text-align: center;\n }\n }\n }\n\n &.${classes.simple} {\n flex: 0;\n }\n\n &.${classes.disabled} {\n opacity: var(${tokens.disabledOpacity});\n }\n`;\n"],"names":["mergedConfig","mergeConfig","spinnerConfig","Spinner","component","_exp","_exp3","_ref","hasIndicator","concat","tokens","activeIndicatorSize","activeBulletSize","SpinnerStyled","styled","name","class","propsAsIs","vars","StepItemTitle","StepItemContent","BulletIndicatorWrapper","BulletIndicator","_exp63","Bullet","_exp82","_ref2","indentToken","StepItemDivider","StepItemContentWrapper","StepItemStyled"],"mappings":";;;;;;;;;;AAMA,IAAMA,YAAY,gBAAGC,kBAAW,CAACC,uBAAa,CAAC,CAAA;AAC/C,IAAMC,OAAO,gBAAGC,gBAAS,CAACJ,YAAY,CAAC,CAAA;AAAC,IAAAK,IAAA,GANtBA,SAMsBA,IAAAA,GAAA;AAAA,EAAA,OAEJF,OAAO,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAG,KAAA,GARzBA,SAQyBA,KAAAA,GAAA;AAAA,EAAA,OACd,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,YAAAA,GAAAA,IAAAA,CAAAA,YAAAA,CAAAA;AAAAA,IAAAA,OAC5BA,YAAY,GAAA,MAAA,CAAAC,MAAA,CAAUC,mBAAM,CAACC,mBAAoB,EAAA,GAAA,CAAA,GAAA,MAAA,CAAAF,MAAA,CAAYC,mBAAM,CAACE,gBAAiB,EAAE,GAAA,CAAA,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAFpF,IAAMC,aAAa,gBAAGC,YAAM,CAAAT,IAAA,EAAA,CAAA,CAAA;AAAAU,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,S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;AAAA,IAAA,IAAGC,WAAAA,GAAAA,KAAAA,CAAAA,WAAAA,CAAAA;IAAAA,OAAkBA,WAAW,IAAI,EAAE,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAvBrD,IAAMC,eAAe,gBAAGd,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAuBfO,MAAsC,EAAA,CAAA;AAAA,GAAA;AAAA,CAO3D,EAAA;AAEM,IAAMI,sBAAsB,gBAAGf,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,wBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAa3C,EAAA;AAEM,IAAMa,cAAc,gBAAGhB,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAoFnC;;;;;;;;;;;;"}
@@ -6,4 +6,4 @@
6
6
  .b1eo1o32.b9hdug{width:var(--plasma-step-item-bullet-size);height:var(--plasma-step-item-bullet-size);}.b1eo1o32.b9hdug.item-active{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);}
7
7
  .sxskc3q{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);}.sxskc3q.item-inactive{background-color:var(--plasma-step-item-inactive-indicator-background);}.sxskc3q.transparent-divider{background-color:transparent;}.sxskc3q.vertical-orientation{width:var(--plasma-step-item-divider-thickness);height:100%;}.sxskc3q.indent-divider{height:var(--sxskc3q-0);min-height:var(--sxskc3q-0);max-height:var(--sxskc3q-0);}.sxskc3q.indent-divider.simple{height:auto;max-height:none;}
8
8
  .s4zgmmr.vertical-orientation .sv5tpso{padding-top:var(--plasma-step-item-content-vertical-padding);padding-right:0;}.s4zgmmr.vertical-orientation .s529fhk{padding-top:var(--plasma-step-item-content-vertical-padding);padding-bottom:var(--plasma-step-item-content-vertical-padding);padding-right:0;}
9
- .s12pqpa3{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;}.s12pqpa3.vertical-orientation{-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;}.s12pqpa3.vertical-orientation .sxskc3q{width:var(--plasma-step-item-divider-thickness);height:100%;}.s12pqpa3.item-active .sv5tpso{color:var(--plasma-step-item-active-title-color);}.s12pqpa3.item-inactive .sv5tpso{color:var(--plasma-step-item-inactive-title-color);}.s12pqpa3.item-hovered:not(.item-active) .sv5tpso{cursor:pointer;color:var(--plasma-step-item-active-title-color-hover);}.s12pqpa3.item-hovered:not(.item-active) .b9hdug,.s12pqpa3.item-hovered:not(.item-active) .b1eo1o32{color:var(--plasma-step-item-completed-indicator-color-hover);background:var(--plasma-step-item-completed-indicator-background-hover);}.s12pqpa3.item-hovered.item-inactive .sv5tpso{color:var(--plasma-step-item-inactive-title-color-hover);}.s12pqpa3.item-hovered.item-inactive .b9hdug,.s12pqpa3.item-hovered.item-inactive .b1eo1o32{color:var(--plasma-step-item-inactive-indicator-color-hover);background:var(--plasma-step-item-inactive-indicator-background-hover);}.s12pqpa3.item-hovered .b1kcj14{cursor:pointer;}.s12pqpa3.item-centered{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.s12pqpa3.item-centered .s4zgmmr{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);}.s12pqpa3.item-centered .s4zgmmr .sv5tpso{width:100%;}.s12pqpa3.item-centered .s4zgmmr .sv5tpso,.s12pqpa3.item-centered .s4zgmmr .s529fhk{padding-right:0;text-align:center;}.s12pqpa3.item-disabled{opacity:var(--plasma-step-item-disabled-opacity);}
9
+ .s12pqpa3{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;}.s12pqpa3.vertical-orientation{-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;}.s12pqpa3.vertical-orientation .sxskc3q{width:var(--plasma-step-item-divider-thickness);height:100%;}.s12pqpa3.item-active .sv5tpso{color:var(--plasma-step-item-active-title-color);}.s12pqpa3.item-inactive .sv5tpso{color:var(--plasma-step-item-inactive-title-color);}.s12pqpa3.item-hovered:not(.item-active) .sv5tpso{cursor:pointer;color:var(--plasma-step-item-active-title-color-hover);}.s12pqpa3.item-hovered:not(.item-active) .b9hdug,.s12pqpa3.item-hovered:not(.item-active) .b1eo1o32{color:var(--plasma-step-item-completed-indicator-color-hover);background:var(--plasma-step-item-completed-indicator-background-hover);}.s12pqpa3.item-hovered.item-inactive .sv5tpso{color:var(--plasma-step-item-inactive-title-color-hover);}.s12pqpa3.item-hovered.item-inactive .b9hdug,.s12pqpa3.item-hovered.item-inactive .b1eo1o32{color:var(--plasma-step-item-inactive-indicator-color-hover);background:var(--plasma-step-item-inactive-indicator-background-hover);}.s12pqpa3.item-hovered .b1kcj14{cursor:pointer;}.s12pqpa3.item-centered{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.s12pqpa3.item-centered .s4zgmmr{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);}.s12pqpa3.item-centered .s4zgmmr .sv5tpso{width:100%;}.s12pqpa3.item-centered .s4zgmmr .sv5tpso,.s12pqpa3.item-centered .s4zgmmr .s529fhk{padding-right:0;text-align:center;}.s12pqpa3.simple{-webkit-flex:0;-ms-flex:0;flex:0;}.s12pqpa3.item-disabled{opacity:var(--plasma-step-item-disabled-opacity);}
package/cjs/index.css CHANGED
@@ -609,17 +609,17 @@
609
609
 
610
610
  .Thumb_styles_4w4gzn_tqbdf8b__14129a5b{width:var(--plasma-slider-thumb-size);height:var(--plasma-slider-thumb-size);position:relative;left:-0.125rem;top:-0.125rem;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:0.125rem;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;position:relative;}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b:after{background:var(--plasma-slider-thumb-border-color);margin:-0.125rem;content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b:not([disabled]):hover:after,.Thumb_styles_4w4gzn_tqbdf8b__14129a5b:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b[disabled]{cursor:not-allowed;}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b:focus{outline:none;}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.125rem 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;}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b.Thumb_styles_4w4gzn_focusVisible__14129a5b:focus::before,.Thumb_styles_4w4gzn_tqbdf8b__14129a5b[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.125rem var(--plasma-slider-thumb-focus-border-color);}
611
611
 
612
- .StepItem_styles_1y1xj5d_snf9dn9__5c4153e3{--plasma-spinner-size:var(--snf9dn9-0);--plasma-spinner-color:var(--plasma-step-item-active-indicator-color);}
613
- .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{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;}
614
- .StepItem_styles_1y1xj5d_s529fhk__5c4153e3{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);}
615
- .StepItem_styles_1y1xj5d_b1kcj14__5c4153e3{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_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3){-webkit-flex:0;-ms-flex:0;flex:0;}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3).StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3{width:100%;min-height:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3):not(.StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3){width:100%;min-height:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3:not(.StepItem_styles_1y1xj5d_simple__5c4153e3).StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{padding-right:var(--plasma-step-item-vertical-content-padding-left);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{-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_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3.StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3{min-width:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3:not(.StepItem_styles_1y1xj5d_itemHasIndicator__5c4153e3){min-width:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_1y1xj5d_b1kcj14__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
616
- .StepItem_styles_1y1xj5d_b9hdug__5c4153e3{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_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemActive__5c4153e3{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_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3{color:var(--plasma-step-item-inactive-indicator-color);background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3:before,.StepItem_styles_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3:after{background:var(--plasma-step-item-inactive-indicator-background);}
617
- .StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3.StepItem_styles_1y1xj5d_b9hdug__5c4153e3{width:var(--plasma-step-item-bullet-size);height:var(--plasma-step-item-bullet-size);}.StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3.StepItem_styles_1y1xj5d_b9hdug__5c4153e3.StepItem_styles_1y1xj5d_itemActive__5c4153e3{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);}
618
- .StepItem_styles_1y1xj5d_sxskc3q__5c4153e3{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_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3{background-color:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_transparentDivider__5c4153e3{background-color:transparent;}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_indentDivider__5c4153e3{height:var(--sxskc3q-0);min-height:var(--sxskc3q-0);max-height:var(--sxskc3q-0);}.StepItem_styles_1y1xj5d_sxskc3q__5c4153e3.StepItem_styles_1y1xj5d_indentDivider__5c4153e3.StepItem_styles_1y1xj5d_simple__5c4153e3{height:auto;max-height:none;}
619
- .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{padding-top:var(--plasma-step-item-content-vertical-padding);padding-right:0;}.StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3 .StepItem_styles_1y1xj5d_s529fhk__5c4153e3{padding-top:var(--plasma-step-item-content-vertical-padding);padding-bottom:var(--plasma-step-item-content-vertical-padding);padding-right:0;}
620
- .StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3{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;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3{-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_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_verticalOrientation__5c4153e3 .StepItem_styles_1y1xj5d_sxskc3q__5c4153e3{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemActive__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{color:var(--plasma-step-item-active-title-color);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{color:var(--plasma-step-item-inactive-title-color);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3:not(.StepItem_styles_1y1xj5d_itemActive__5c4153e3) .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{cursor:pointer;color:var(--plasma-step-item-active-title-color-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3:not(.StepItem_styles_1y1xj5d_itemActive__5c4153e3) .StepItem_styles_1y1xj5d_b9hdug__5c4153e3,.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3:not(.StepItem_styles_1y1xj5d_itemActive__5c4153e3) .StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3{color:var(--plasma-step-item-completed-indicator-color-hover);background:var(--plasma-step-item-completed-indicator-background-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{color:var(--plasma-step-item-inactive-title-color-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_b9hdug__5c4153e3,.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3.StepItem_styles_1y1xj5d_itemInactive__5c4153e3 .StepItem_styles_1y1xj5d_b1eo1o32__5c4153e3{color:var(--plasma-step-item-inactive-indicator-color-hover);background:var(--plasma-step-item-inactive-indicator-background-hover);}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemHovered__5c4153e3 .StepItem_styles_1y1xj5d_b1kcj14__5c4153e3{cursor:pointer;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3{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_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3{width:100%;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3 .StepItem_styles_1y1xj5d_sv5tpso__5c4153e3,.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemCentered__5c4153e3 .StepItem_styles_1y1xj5d_s4zgmmr__5c4153e3 .StepItem_styles_1y1xj5d_s529fhk__5c4153e3{padding-right:0;text-align:center;}.StepItem_styles_1y1xj5d_s12pqpa3__5c4153e3.StepItem_styles_1y1xj5d_itemDisabled__5c4153e3{opacity:var(--plasma-step-item-disabled-opacity);}
621
-
622
- .Steps_styles_vv31r6_b7q3upx__206acc3f{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_simple__206acc3f{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_simple__206acc3f.Steps_styles_vv31r6_itemHasIndicator__206acc3f{height:var(--plasma-step-item-active-indicator-size);}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_simple__206acc3f:not(.Steps_styles_vv31r6_itemHasIndicator__206acc3f){height:var(--plasma-step-item-active-bullet-size);}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_simple__206acc3f.Steps_styles_vv31r6_verticalOrientation__206acc3f.Steps_styles_vv31r6_itemHasIndicator__206acc3f{width:var(--plasma-step-item-active-indicator-size);height:100%;}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_simple__206acc3f.Steps_styles_vv31r6_verticalOrientation__206acc3f:not(.Steps_styles_vv31r6_itemHasIndicator__206acc3f){width:var(--plasma-step-item-active-bullet-size);height:100%;}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_verticalOrientation__206acc3f{display:inline;-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;}.Steps_styles_vv31r6_b7q3upx__206acc3f.Steps_styles_vv31r6_verticalOrientation__206acc3f.Steps_styles_vv31r6_simple__206acc3f{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
612
+ .StepItem_styles_sp9rcd_snf9dn9__20446152{--plasma-spinner-size:var(--snf9dn9-0);--plasma-spinner-color:var(--plasma-step-item-active-indicator-color);}
613
+ .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;}
614
+ .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);}
615
+ .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;}
616
+ .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);}
617
+ .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);}
618
+ .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;}
619
+ .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;}
620
+ .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);}
621
+
622
+ .Steps_styles_1xmqxqu_b7q3upx__86b16d4a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a:not(.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a).Steps_styles_1xmqxqu_itemHasIndicator__86b16d4a{height:var(--plasma-step-item-active-indicator-size);}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a:not(.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a):not(.Steps_styles_1xmqxqu_itemHasIndicator__86b16d4a){height:var(--plasma-step-item-active-bullet-size);}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a.Steps_styles_1xmqxqu_itemHasIndicator__86b16d4a{width:var(--plasma-step-item-active-indicator-size);}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a:not(.Steps_styles_1xmqxqu_itemHasIndicator__86b16d4a){width:var(--plasma-step-item-active-bullet-size);}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a{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%;}.Steps_styles_1xmqxqu_b7q3upx__86b16d4a.Steps_styles_1xmqxqu_verticalOrientation__86b16d4a.Steps_styles_1xmqxqu_simple__86b16d4a{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
623
623
 
624
624
  .base_16xiubi_bc2if5b__f4ed7c4f .base_16xiubi_czi0aji__f4ed7c4f{width:inherit;border-radius:var(--plasma-range-border-radius);}.base_16xiubi_bc2if5b__f4ed7c4f .base_16xiubi_s1e6rwfy__f4ed7c4f{padding:var(--plasma-range__divider-padding);font-family:var(--plasma-range__divider-font-family);font-size:var(--plasma-range__divider-font-size);font-style:var(--plasma-range__divider-font-style);font-weight:var(--plasma-range__divider-font-weight);-webkit-letter-spacing:var(--plasma-range__divider-letter-spacing);-moz-letter-spacing:var(--plasma-range__divider-letter-spacing);-ms-letter-spacing:var(--plasma-range__divider-letter-spacing);letter-spacing:var(--plasma-range__divider-letter-spacing);line-height:var(--plasma-range__divider-line-height);}.base_16xiubi_bc2if5b__f4ed7c4f .base_16xiubi_s14q3826__f4ed7c4f{margin:var(--plasma-range__label-offset);font-family:var(--plasma-range__label-font-family);font-size:var(--plasma-range__label-font-size);font-style:var(--plasma-range__label-font-style);font-weight:var(--plasma-range__label-font-weight);-webkit-letter-spacing:var(--plasma-range__label-letter-spacing);-moz-letter-spacing:var(--plasma-range__label-letter-spacing);-ms-letter-spacing:var(--plasma-range__label-letter-spacing);letter-spacing:var(--plasma-range__label-letter-spacing);line-height:var(--plasma-range__label-line-height);}.base_16xiubi_bc2if5b__f4ed7c4f .base_16xiubi_sfxtxl2__f4ed7c4f{margin:var(--plasma-range__left-content-margin);}.base_16xiubi_bc2if5b__f4ed7c4f .base_16xiubi_s1hiyoiq__f4ed7c4f{margin:var(--plasma-range__right-content-margin);}.base_16xiubi_bc2if5b__f4ed7c4f .base_16xiubi_l1fwucr5__f4ed7c4f{margin:var(--plasma-range__left-helper-offset);font-family:var(--plasma-range__left-helper-font-family);font-size:var(--plasma-range__left-helper-font-size);font-style:var(--plasma-range__left-helper-font-style);font-weight:var(--plasma-range__left-helper-font-weight);-webkit-letter-spacing:var(--plasma-range__left-helper-letter-spacing);-moz-letter-spacing:var(--plasma-range__left-helper-letter-spacing);-ms-letter-spacing:var(--plasma-range__left-helper-letter-spacing);letter-spacing:var(--plasma-range__left-helper-letter-spacing);line-height:var(--plasma-range__left-helper-line-height);}
625
625
 
@@ -61,7 +61,7 @@ var stepsRoot = exports.stepsRoot = function stepsRoot(Root) {
61
61
  return !item.title && !item.content;
62
62
  });
63
63
  (0, _react.useEffect)(function () {
64
- return function () {
64
+ var calcPrevIndex = function calcPrevIndex() {
65
65
  if (current !== undefined) {
66
66
  setPrevIndex(current);
67
67
  } else {
@@ -71,6 +71,10 @@ var stepsRoot = exports.stepsRoot = function stepsRoot(Root) {
71
71
  setPrevIndex(index !== -1 ? index : undefined);
72
72
  }
73
73
  };
74
+ calcPrevIndex();
75
+ return function () {
76
+ calcPrevIndex();
77
+ };
74
78
  }, [current, items]);
75
79
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
76
80
  size: size,