@salutejs/plasma-new-hope 0.191.2-canary.1517.11801064973.0 → 0.192.0-canary.1539.11802074105.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Steps/Steps.css +10 -10
- package/cjs/components/Steps/Steps.js +14 -21
- package/cjs/components/Steps/Steps.js.map +1 -1
- package/cjs/components/Steps/Steps.styles.js +1 -1
- package/cjs/components/Steps/Steps.styles.js.map +1 -1
- package/cjs/components/Steps/{Steps.styles_wa45kj.css → Steps.styles_1xmqxqu.css} +1 -1
- package/cjs/components/Steps/Steps.tokens.js +0 -1
- package/cjs/components/Steps/Steps.tokens.js.map +1 -1
- package/cjs/components/Steps/ui/StepItem/StepItem.css +9 -9
- package/cjs/components/Steps/ui/StepItem/StepItem.js +8 -32
- package/cjs/components/Steps/ui/StepItem/StepItem.js.map +1 -1
- package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +6 -6
- package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
- package/cjs/components/Steps/ui/StepItem/StepItem.styles_sp9rcd.css +9 -0
- package/cjs/components/Switch/Switch.css +11 -7
- package/cjs/components/Switch/Switch.js +16 -7
- package/cjs/components/Switch/Switch.js.map +1 -1
- package/cjs/components/Switch/Switch.styles.js +16 -4
- package/cjs/components/Switch/Switch.styles.js.map +1 -1
- package/cjs/components/Switch/Switch.styles_bei7bh.css +6 -0
- package/cjs/components/Switch/Switch.tokens.js +11 -0
- package/cjs/components/Switch/Switch.tokens.js.map +1 -1
- package/cjs/components/Switch/_focused/base.js +1 -1
- package/{es/components/Switch/_focused/base_j4murk.css → cjs/components/Switch/_focused/base_sz3n0x.css} +1 -1
- package/cjs/components/Switch/_size/base.js +1 -1
- package/cjs/components/Switch/_size/base.js.map +1 -1
- package/cjs/components/Switch/_size/base_1tcl212.css +1 -0
- package/cjs/components/Switch/_toggleSize/base.js +9 -0
- package/cjs/components/Switch/_toggleSize/base.js.map +1 -0
- package/cjs/components/Switch/_toggleSize/base_6i0904.css +1 -0
- package/cjs/components/Switch/_view/base.js +1 -1
- package/cjs/components/Switch/_view/base.js.map +1 -1
- package/cjs/components/Switch/_view/base_yxkf3s.css +1 -0
- package/cjs/index.css +22 -18
- package/emotion/cjs/components/Steps/Steps.js +14 -23
- package/emotion/cjs/components/Steps/Steps.styles.js +1 -1
- package/emotion/cjs/components/Steps/Steps.tokens.js +0 -1
- package/emotion/cjs/components/Steps/ui/StepItem/StepItem.js +8 -32
- package/emotion/cjs/components/Steps/ui/StepItem/StepItem.styles.js +11 -22
- package/emotion/cjs/components/Switch/Switch.js +17 -8
- package/emotion/cjs/components/Switch/Switch.styles.js +21 -5
- package/emotion/cjs/components/Switch/Switch.template-doc.mdx +37 -1
- package/emotion/cjs/components/Switch/Switch.tokens.js +11 -0
- package/emotion/cjs/components/Switch/_size/base.js +1 -1
- package/emotion/cjs/components/Switch/_toggleSize/base.js +10 -0
- package/emotion/cjs/components/Switch/_view/base.js +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.config.js +5 -5
- package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +11 -4
- package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
- package/emotion/cjs/examples/plasma_web/components/Steps/Steps.config.js +5 -5
- package/emotion/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +11 -4
- package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
- package/emotion/es/components/Steps/Steps.js +15 -24
- package/emotion/es/components/Steps/Steps.styles.js +1 -1
- package/emotion/es/components/Steps/Steps.tokens.js +0 -1
- package/emotion/es/components/Steps/ui/StepItem/StepItem.js +8 -32
- package/emotion/es/components/Steps/ui/StepItem/StepItem.styles.js +11 -22
- package/emotion/es/components/Switch/Switch.js +13 -4
- package/emotion/es/components/Switch/Switch.styles.js +20 -4
- package/emotion/es/components/Switch/Switch.template-doc.mdx +37 -1
- package/emotion/es/components/Switch/Switch.tokens.js +11 -0
- package/emotion/es/components/Switch/_size/base.js +2 -2
- package/emotion/es/components/Switch/_toggleSize/base.js +4 -0
- package/emotion/es/components/Switch/_view/base.js +2 -2
- package/emotion/es/examples/plasma_b2c/components/Steps/Steps.config.js +5 -5
- package/emotion/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +11 -4
- package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
- package/emotion/es/examples/plasma_web/components/Steps/Steps.config.js +5 -5
- package/emotion/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +11 -4
- package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
- package/es/components/Steps/Steps.css +10 -10
- package/es/components/Steps/Steps.js +16 -23
- package/es/components/Steps/Steps.js.map +1 -1
- package/es/components/Steps/Steps.styles.js +1 -1
- package/es/components/Steps/Steps.styles.js.map +1 -1
- package/es/components/Steps/{Steps.styles_wa45kj.css → Steps.styles_1xmqxqu.css} +1 -1
- package/es/components/Steps/Steps.tokens.js +0 -1
- package/es/components/Steps/Steps.tokens.js.map +1 -1
- package/es/components/Steps/ui/StepItem/StepItem.css +9 -9
- package/es/components/Steps/ui/StepItem/StepItem.js +9 -33
- package/es/components/Steps/ui/StepItem/StepItem.js.map +1 -1
- package/es/components/Steps/ui/StepItem/StepItem.styles.js +6 -6
- package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
- package/es/components/Steps/ui/StepItem/StepItem.styles_sp9rcd.css +9 -0
- package/es/components/Switch/Switch.css +11 -7
- package/es/components/Switch/Switch.js +17 -8
- package/es/components/Switch/Switch.js.map +1 -1
- package/es/components/Switch/Switch.styles.js +15 -5
- package/es/components/Switch/Switch.styles.js.map +1 -1
- package/es/components/Switch/Switch.styles_bei7bh.css +6 -0
- package/es/components/Switch/Switch.tokens.js +11 -0
- package/es/components/Switch/Switch.tokens.js.map +1 -1
- package/es/components/Switch/_focused/base.js +1 -1
- package/{cjs/components/Switch/_focused/base_j4murk.css → es/components/Switch/_focused/base_sz3n0x.css} +1 -1
- package/es/components/Switch/_size/base.js +1 -1
- package/es/components/Switch/_size/base.js.map +1 -1
- package/es/components/Switch/_size/base_1tcl212.css +1 -0
- package/es/components/Switch/_toggleSize/base.js +5 -0
- package/es/components/Switch/_toggleSize/base.js.map +1 -0
- package/es/components/Switch/_toggleSize/base_6i0904.css +1 -0
- package/es/components/Switch/_view/base.js +1 -1
- package/es/components/Switch/_view/base.js.map +1 -1
- package/es/components/Switch/_view/base_yxkf3s.css +1 -0
- package/es/index.css +22 -18
- package/package.json +2 -2
- package/styled-components/cjs/components/Steps/Steps.js +14 -23
- package/styled-components/cjs/components/Steps/Steps.styles.js +1 -1
- package/styled-components/cjs/components/Steps/Steps.tokens.js +0 -1
- package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.js +8 -32
- package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.styles.js +6 -17
- package/styled-components/cjs/components/Switch/Switch.js +17 -8
- package/styled-components/cjs/components/Switch/Switch.styles.js +11 -5
- package/styled-components/cjs/components/Switch/Switch.template-doc.mdx +37 -1
- package/styled-components/cjs/components/Switch/Switch.tokens.js +11 -0
- package/styled-components/cjs/components/Switch/_size/base.js +1 -1
- package/styled-components/cjs/components/Switch/_toggleSize/base.js +10 -0
- package/styled-components/cjs/components/Switch/_view/base.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.config.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +9 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
- package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.config.js +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +9 -2
- package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
- package/styled-components/es/components/Steps/Steps.js +15 -24
- package/styled-components/es/components/Steps/Steps.styles.js +1 -1
- package/styled-components/es/components/Steps/Steps.tokens.js +0 -1
- package/styled-components/es/components/Steps/ui/StepItem/StepItem.js +8 -32
- package/styled-components/es/components/Steps/ui/StepItem/StepItem.styles.js +6 -17
- package/styled-components/es/components/Switch/Switch.js +13 -4
- package/styled-components/es/components/Switch/Switch.styles.js +10 -4
- package/styled-components/es/components/Switch/Switch.template-doc.mdx +37 -1
- package/styled-components/es/components/Switch/Switch.tokens.js +11 -0
- package/styled-components/es/components/Switch/_size/base.js +2 -2
- package/styled-components/es/components/Switch/_toggleSize/base.js +4 -0
- package/styled-components/es/components/Switch/_view/base.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.config.js +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +9 -2
- package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +7 -1
- package/styled-components/es/examples/plasma_web/components/Steps/Steps.config.js +1 -1
- package/styled-components/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +9 -2
- package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +14 -1
- package/types/components/Steps/Steps.d.ts.map +1 -1
- package/types/components/Steps/Steps.styles.d.ts.map +1 -1
- package/types/components/Steps/Steps.tokens.d.ts +0 -1
- package/types/components/Steps/Steps.tokens.d.ts.map +1 -1
- package/types/components/Steps/ui/StepItem/StepItem.d.ts.map +1 -1
- package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts +2 -2
- package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts.map +1 -1
- package/types/components/Switch/Switch.d.ts +3 -0
- package/types/components/Switch/Switch.d.ts.map +1 -1
- package/types/components/Switch/Switch.styles.d.ts +2 -0
- package/types/components/Switch/Switch.styles.d.ts.map +1 -1
- package/types/components/Switch/Switch.tokens.d.ts +9 -0
- package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
- package/types/components/Switch/Switch.types.d.ts +10 -2
- package/types/components/Switch/Switch.types.d.ts.map +1 -1
- package/types/components/Switch/_size/base.d.ts.map +1 -1
- package/types/components/Switch/_toggleSize/base.d.ts +2 -0
- package/types/components/Switch/_toggleSize/base.d.ts.map +1 -0
- package/types/components/Switch/_view/base.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Steps/Steps.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts +7 -0
- package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +6 -0
- package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Steps/Steps.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.config.d.ts +7 -0
- package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.d.ts +6 -0
- package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
- package/cjs/components/Steps/ui/StepItem/StepItem.styles_acxstj.css +0 -9
- package/cjs/components/Switch/Switch.styles_1kk0qzz.css +0 -4
- package/cjs/components/Switch/_size/base_1rjzpi4.css +0 -1
- package/cjs/components/Switch/_view/base_1mtyz12.css +0 -1
- package/es/components/Steps/ui/StepItem/StepItem.styles_acxstj.css +0 -9
- package/es/components/Switch/Switch.styles_1kk0qzz.css +0 -4
- package/es/components/Switch/_size/base_1rjzpi4.css +0 -1
- package/es/components/Switch/_view/base_1mtyz12.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
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
.
|
12
|
-
.
|
13
|
-
.
|
14
|
-
.
|
15
|
-
.
|
16
|
-
.StepItem_styles_acxstj_s12pqpa3__065935cf{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-flex:1;-ms-flex:1;flex:1;color:var(--plasma-step-item-active-indicator-color);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf{-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_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf .StepItem_styles_acxstj_sxskc3q__065935cf{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemActive__065935cf .StepItem_styles_acxstj_sv5tpso__065935cf{color:var(--plasma-step-item-active-title-color);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemInactive__065935cf{color:var(--plasma-step-item-inactive-indicator-color);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemInactive__065935cf .StepItem_styles_acxstj_sv5tpso__065935cf{color:var(--plasma-step-item-inactive-title-color);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf{-webkit-flex:0;-ms-flex:0;flex:0;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;height:100%;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemHasIndicator__065935cf{min-width:var(--plasma-step-item-active-indicator-size);min-height:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf){width:var(--plasma-step-item-active-bullet-size);min-height:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf):before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf):after{content:'';display:block;width:calc((var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);height:var(--plasma-step-item-divider-thickness);background:var(--plasma-step-item-active-indicator-color);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf):not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf):not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):after{width:calc((var(--plasma-step-item-active-bullet-size) - var(--plasma-step-item-bullet-size)) / 2);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf:after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf:after{width:var(--plasma-step-item-divider-thickness);height:calc((var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);margin:0 auto;-webkit-align-self:auto;-ms-flex-item-align:auto;align-self:auto;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):after{height:calc((var(--plasma-step-item-active-bullet-size) - var(--plasma-step-item-bullet-size)) / 2);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf:after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf:after{margin:0 auto;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_isFirst__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_isFirst__065935cf:before{background:transparent;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_isLast__065935cf:after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_isLast__065935cf:after{background:transparent;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:before{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_isPrevInactive__065935cf:before{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_isNextInactive__065935cf:after{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemDisabled__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemDisabled__065935cf:after{background:var(--plasma-step-item-inactive-indicator-background);opacity:1;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_transparentDivider__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_transparentDivider__065935cf:after{background:transparent;}.StepItem_styles_acxstj_s12pqpa3__065935cf:not(.StepItem_styles_acxstj_simple__065935cf):not(.StepItem_styles_acxstj_verticalOrientation__065935cf).StepItem_styles_acxstj_isNextActive__065935cf .StepItem_styles_acxstj_b1kcj14__065935cf{width:calc(100% - (var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);}.StepItem_styles_acxstj_s12pqpa3__065935cf:not(.StepItem_styles_acxstj_simple__065935cf):not(.StepItem_styles_acxstj_verticalOrientation__065935cf).StepItem_styles_acxstj_itemActive__065935cf .StepItem_styles_acxstj_b1kcj14__065935cf{margin-left:calc((var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / -2);width:calc(100% + (var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf) .StepItem_styles_acxstj_sv5tpso__065935cf{cursor:pointer;color:var(--plasma-step-item-active-title-color-hover);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf) .StepItem_styles_acxstj_b9hdug__065935cf,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf) .StepItem_styles_acxstj_b1eo1o32__065935cf{color:var(--plasma-step-item-completed-indicator-color-hover);background:var(--plasma-step-item-completed-indicator-background-hover);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf.StepItem_styles_acxstj_itemInactive__065935cf .StepItem_styles_acxstj_sv5tpso__065935cf{color:var(--plasma-step-item-inactive-title-color-hover);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf.StepItem_styles_acxstj_itemInactive__065935cf .StepItem_styles_acxstj_b9hdug__065935cf,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf.StepItem_styles_acxstj_itemInactive__065935cf .StepItem_styles_acxstj_b1eo1o32__065935cf{color:var(--plasma-step-item-inactive-indicator-color-hover);background:var(--plasma-step-item-inactive-indicator-background-hover);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf .StepItem_styles_acxstj_b1kcj14__065935cf{cursor:pointer;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemCentered__065935cf{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemCentered__065935cf .StepItem_styles_acxstj_s4zgmmr__065935cf{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_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemCentered__065935cf .StepItem_styles_acxstj_s4zgmmr__065935cf .StepItem_styles_acxstj_sv5tpso__065935cf{width:100%;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemCentered__065935cf .StepItem_styles_acxstj_s4zgmmr__065935cf .StepItem_styles_acxstj_sv5tpso__065935cf,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemCentered__065935cf .StepItem_styles_acxstj_s4zgmmr__065935cf .StepItem_styles_acxstj_s529fhk__065935cf{padding-right:0;text-align:center;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemDisabled__065935cf{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
|
-
.
|
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;}
|
@@ -37,33 +37,19 @@ var stepsRoot = function stepsRoot(Root) {
|
|
37
37
|
_useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
|
38
38
|
prevIndex = _useState2[0],
|
39
39
|
setPrevIndex = _useState2[1];
|
40
|
+
var isUncontrolled = current !== undefined;
|
40
41
|
var hasIndicator = items.some(function (item) {
|
41
42
|
return item.indicator != null;
|
42
43
|
});
|
43
44
|
var isSimple = items.every(function (item) {
|
44
45
|
return !item.title && !item.content;
|
45
46
|
});
|
46
|
-
var innerItems = React.useMemo(function () {
|
47
|
-
var isUncontrolled = current !== undefined;
|
48
|
-
return items.map(function (item, index) {
|
49
|
-
var itemStatus = getItemStatus.getItemStatus({
|
50
|
-
isUncontrolled: isUncontrolled,
|
51
|
-
current: current,
|
52
|
-
status: status,
|
53
|
-
index: index,
|
54
|
-
item: item
|
55
|
-
});
|
56
|
-
return _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, item), {}, {
|
57
|
-
status: itemStatus
|
58
|
-
});
|
59
|
-
});
|
60
|
-
}, [status, current, items]);
|
61
47
|
React.useEffect(function () {
|
62
48
|
var calcPrevIndex = function calcPrevIndex() {
|
63
49
|
if (current !== undefined) {
|
64
50
|
setPrevIndex(current);
|
65
51
|
} else {
|
66
|
-
var index =
|
52
|
+
var index = items.findIndex(function (item) {
|
67
53
|
return item.status === 'active';
|
68
54
|
});
|
69
55
|
setPrevIndex(index !== -1 ? index : undefined);
|
@@ -73,14 +59,21 @@ var stepsRoot = function stepsRoot(Root) {
|
|
73
59
|
return function () {
|
74
60
|
calcPrevIndex();
|
75
61
|
};
|
76
|
-
}, [current,
|
62
|
+
}, [current, items]);
|
77
63
|
return /*#__PURE__*/React.createElement(Root, _rollupPluginBabelHelpers.extends({
|
78
64
|
size: size,
|
79
65
|
view: view,
|
80
66
|
ref: outerRef,
|
81
67
|
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.verticalOrientation, orientation === 'vertical'), Steps_tokens.classes.simple, isSimple), Steps_tokens.classes.hasIndicator, hasIndicator))
|
82
|
-
}, rest),
|
83
|
-
var
|
68
|
+
}, rest), items.map(function (item, index) {
|
69
|
+
var itemStatus = getItemStatus.getItemStatus({
|
70
|
+
isUncontrolled: isUncontrolled,
|
71
|
+
current: current,
|
72
|
+
status: status,
|
73
|
+
index: index,
|
74
|
+
item: item
|
75
|
+
});
|
76
|
+
var isActive = itemStatus === 'active';
|
84
77
|
var itemContent = hasContent === 'active' && !isActive || hasContent === 'none' ? '' : item.content;
|
85
78
|
var itemContentAlign = orientation === 'horizontal' ? contentAlign : 'left';
|
86
79
|
var onClick = onChange ? function () {
|
@@ -92,14 +85,14 @@ var stepsRoot = function stepsRoot(Root) {
|
|
92
85
|
title: item.title,
|
93
86
|
content: itemContent,
|
94
87
|
indicator: item.indicator,
|
95
|
-
status:
|
88
|
+
status: itemStatus,
|
96
89
|
size: size,
|
97
90
|
orientation: orientation,
|
98
91
|
contentAlign: itemContentAlign,
|
99
92
|
hasLine: hasLine,
|
100
93
|
hasLoader: hasLoader && isActive,
|
101
94
|
onClick: onClick,
|
102
|
-
items:
|
95
|
+
items: items
|
103
96
|
});
|
104
97
|
}));
|
105
98
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Steps.js","sources":["../../../src/components/Steps/Steps.tsx"],"sourcesContent":["import React, { forwardRef, useState, useEffect, HTMLAttributes
|
1
|
+
{"version":3,"file":"Steps.js","sources":["../../../src/components/Steps/Steps.tsx"],"sourcesContent":["import React, { forwardRef, useState, useEffect, HTMLAttributes } from 'react';\nimport cls from 'classnames';\n\nimport type { RootPropsOmitOnChange } from '../../engines/types';\n\nimport { classes } from './Steps.tokens';\nimport { StepsProps as BaseStepsProps } from './Steps.types';\nimport { StepItem } from './ui';\nimport { base } from './Steps.styles';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { getItemStatus } from './utils/getItemStatus';\n\ntype StepsProps = BaseStepsProps & Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>;\n\nexport const stepsRoot = (Root: RootPropsOmitOnChange<HTMLDivElement, StepsProps>) =>\n forwardRef<HTMLDivElement, StepsProps>((props, outerRef) => {\n const {\n view = 'default',\n size,\n orientation = 'horizontal',\n contentAlign = 'left',\n hasLine = true,\n hasContent = 'all',\n hasLoader,\n items = [],\n onChange,\n current,\n status,\n ...rest\n } = props;\n\n const [prevIndex, setPrevIndex] = useState<number | undefined>();\n\n const isUncontrolled = current !== undefined;\n const hasIndicator = items.some((item) => item.indicator != null);\n const isSimple = items.every((item) => !item.title && !item.content);\n\n useEffect(() => {\n const calcPrevIndex = () => {\n if (current !== undefined) {\n setPrevIndex(current);\n } else {\n const index = items.findIndex((item) => item.status === 'active');\n setPrevIndex(index !== -1 ? index : undefined);\n }\n };\n\n calcPrevIndex();\n\n return () => {\n calcPrevIndex();\n };\n }, [current, items]);\n\n return (\n <Root\n size={size}\n view={view}\n ref={outerRef}\n className={cls({\n [classes.verticalOrientation]: orientation === 'vertical',\n [classes.simple]: isSimple,\n [classes.hasIndicator]: hasIndicator,\n })}\n {...rest}\n >\n {items.map((item, index) => {\n const itemStatus = getItemStatus({ isUncontrolled, current, status, index, item });\n\n const isActive = itemStatus === 'active';\n\n const itemContent =\n (hasContent === 'active' && !isActive) || hasContent === 'none' ? '' : item.content;\n\n const itemContentAlign = orientation === 'horizontal' ? contentAlign : 'left';\n const onClick = onChange ? () => onChange(item, index, prevIndex) : undefined;\n\n return (\n <StepItem\n key={index}\n index={index}\n title={item.title}\n content={itemContent}\n indicator={item.indicator}\n status={itemStatus}\n size={size!}\n orientation={orientation}\n contentAlign={itemContentAlign}\n hasLine={hasLine}\n hasLoader={hasLoader && isActive}\n onClick={onClick}\n items={items}\n />\n );\n })}\n </Root>\n );\n });\n\nexport const stepsConfig = {\n name: 'Steps',\n tag: 'div',\n layout: stepsRoot,\n base,\n variations: {\n size: sizeCSS,\n view: viewCSS,\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["stepsRoot","Root","forwardRef","props","outerRef","_props$view","view","size","_props$orientation","orientation","_props$contentAlign","contentAlign","_props$hasLine","hasLine","_props$hasContent","hasContent","hasLoader","_props$items","items","onChange","current","status","rest","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","prevIndex","setPrevIndex","isUncontrolled","undefined","hasIndicator","some","item","indicator","isSimple","every","title","content","useEffect","calcPrevIndex","index","findIndex","React","createElement","_extends","ref","className","cls","_defineProperty","classes","verticalOrientation","simple","map","itemStatus","getItemStatus","isActive","itemContent","itemContentAlign","onClick","StepItem","key","stepsConfig","name","tag","layout","base","variations","sizeCSS","viewCSS","defaults"],"mappings":"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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Steps.styles.js","sources":["../../../src/components/Steps/Steps.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from './Steps.tokens';\n\nexport const base = css`\n display: flex;\n flex-direction: row;\n\n &.${classes.simple} {\n align-items: center;\n\n &:not(&.${classes.verticalOrientation}) {\n &.${classes.hasIndicator} {\n height: var(${tokens.activeIndicatorSize});\n }\n\n &:not(.${classes.hasIndicator}) {\n height: var(${tokens.activeBulletSize});\n }\n }\n\n &.${classes.verticalOrientation} {\n &.${classes.hasIndicator} {\n width: var(${tokens.activeIndicatorSize});\n }\n &:not(.${classes.hasIndicator}) {\n width: var(${tokens.activeBulletSize});\n }\n }\n }\n\n &.${classes.verticalOrientation} {\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n }\n`;\n"],"names":["base"],"mappings":";;;;AAIO,IAAMA,IAAI,
|
1
|
+
{"version":3,"file":"Steps.styles.js","sources":["../../../src/components/Steps/Steps.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from './Steps.tokens';\n\nexport const base = css`\n display: flex;\n flex-direction: row;\n\n &.${classes.simple} {\n align-items: center;\n\n &:not(&.${classes.verticalOrientation}) {\n &.${classes.hasIndicator} {\n height: var(${tokens.activeIndicatorSize});\n }\n\n &:not(.${classes.hasIndicator}) {\n height: var(${tokens.activeBulletSize});\n }\n }\n\n &.${classes.verticalOrientation} {\n &.${classes.hasIndicator} {\n width: var(${tokens.activeIndicatorSize});\n }\n &:not(.${classes.hasIndicator}) {\n width: var(${tokens.activeBulletSize});\n }\n }\n }\n\n &.${classes.verticalOrientation} {\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n\n &.${classes.simple} {\n display: inline-flex;\n }\n }\n`;\n"],"names":["base"],"mappings":";;;;AAIO,IAAMA,IAAI,GAqChB;;;;"}
|
@@ -1 +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%;}
|
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;}
|
@@ -60,7 +60,6 @@ var tokens = {
|
|
60
60
|
inactiveTitleColor: '--plasma-step-item-inactive-title-color',
|
61
61
|
inactiveTitleColorHover: '--plasma-step-item-inactive-title-color-hover',
|
62
62
|
contentColor: '--plasma-step-item-content-color',
|
63
|
-
focusColor: '--plasma-step-item-focus-color',
|
64
63
|
activeIndicatorBorder: '--plasma-step-item-active-indicator-border',
|
65
64
|
activeIndicatorBorderHover: '--plasma-step-item-active-indicator-border-hover',
|
66
65
|
activeIndicatorColor: '--plasma-step-item-active-indicator-color',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Steps.tokens.js","sources":["../../../src/components/Steps/Steps.tokens.ts"],"sourcesContent":["export const classes = {\n simple: 'simple',\n centered: 'item-centered',\n active: 'item-active',\n inactive: 'item-inactive',\n clickable: 'item-clickable',\n hovered: 'item-hovered',\n disabled: 'item-disabled',\n verticalOrientation: 'vertical-orientation',\n hasIndicator: 'item-has-indicator',\n activeItem: 'item-active',\n indentDivider: 'indent-divider',\n transparentDivider: 'transparent-divider',\n};\n\nexport const tokens = {\n indicatorSize: '--plasma-step-item-indicator-size',\n activeIndicatorSize: '--plasma-step-item-active-indicator-size',\n bulletSize: '--plasma-step-item-bullet-size',\n activeBulletSize: '--plasma-step-item-active-bullet-size',\n\n titlePaddingTop: '--plasma-step-item-title-padding-top',\n contentPaddingTop: '--plasma-step-item-content-padding-top',\n contentPaddingRight: '--plasma-step-item-content-padding-right',\n contentSidePadding: '--plasma-step-item-content-side-padding',\n contentVerticalPadding: '--plasma-step-item-content-vertical-padding',\n verticalContentPaddingLeft: '--plasma-step-item-vertical-content-padding-left',\n\n smallIndicatorIndentHeight: '--plasma-step-item-s-indicator-intent-height',\n largeIndicatorIndentHeight: '--plasma-step-item-l-indicator-intent-height',\n smallBulletIndentHeight: '--plasma-step-item-s-bullet-intent-height',\n largeBulletIndentHeight: '--plasma-step-item-l-bullet-intent-height',\n\n titleFontFamily: '--plasma-step-item-title-font-family',\n titleFontSize: '--plasma-step-item-title-font-size',\n titleFontStyle: '--plasma-step-item-title-font-style',\n titleFontWeight: '--plasma-step-item-title-font-weight',\n titleLetterSpacing: '--plasma-step-item-title-letter-spacing',\n titleLineHeight: '--plasma-step-item-title-line-height',\n\n contentFontFamily: '--plasma-step-item-content-font-family',\n contentFontSize: '--plasma-step-item-content-font-size',\n contentFontStyle: '--plasma-step-item-content-font-style',\n contentFontWeight: '--plasma-step-item-content-font-weight',\n contentLetterSpacing: '--plasma-step-item-content-letter-spacing',\n contentLineHeight: '--plasma-step-item-content-line-height',\n\n indicatorFontFamily: '--plasma-step-item-indicator-font-family',\n indicatorFontSize: '--plasma-step-item-indicator-font-size',\n indicatorFontStyle: '--plasma-step-item-indicator-font-style',\n indicatorFontWeight: '--plasma-step-item-indicator-font-weight',\n indicatorLetterSpacing: '--plasma-step-item-indicator-letter-spacing',\n indicatorLineHeight: '--plasma-step-item-indicator-line-height',\n\n activeIndicatorFontFamily: '--plasma-step-item-active-indicator-font-family',\n activeIndicatorFontSize: '--plasma-step-item-active-indicator-font-size',\n activeIndicatorFontStyle: '--plasma-step-item-active-indicator-font-style',\n activeIndicatorFontWeight: '--plasma-step-item-active-indicator-font-weight',\n activeIndicatorLetterSpacing: '--plasma-step-item-active-indicator-letter-spacing',\n activeIndicatorLineHeight: '--plasma-step-item-active-indicator-line-height',\n\n activeTitleColor: '--plasma-step-item-active-title-color',\n activeTitleColorHover: '--plasma-step-item-active-title-color-hover',\n inactiveTitleColor: '--plasma-step-item-inactive-title-color',\n inactiveTitleColorHover: '--plasma-step-item-inactive-title-color-hover',\n\n contentColor: '--plasma-step-item-content-color',\n
|
1
|
+
{"version":3,"file":"Steps.tokens.js","sources":["../../../src/components/Steps/Steps.tokens.ts"],"sourcesContent":["export const classes = {\n simple: 'simple',\n centered: 'item-centered',\n active: 'item-active',\n inactive: 'item-inactive',\n clickable: 'item-clickable',\n hovered: 'item-hovered',\n disabled: 'item-disabled',\n verticalOrientation: 'vertical-orientation',\n hasIndicator: 'item-has-indicator',\n activeItem: 'item-active',\n indentDivider: 'indent-divider',\n transparentDivider: 'transparent-divider',\n};\n\nexport const tokens = {\n indicatorSize: '--plasma-step-item-indicator-size',\n activeIndicatorSize: '--plasma-step-item-active-indicator-size',\n bulletSize: '--plasma-step-item-bullet-size',\n activeBulletSize: '--plasma-step-item-active-bullet-size',\n\n titlePaddingTop: '--plasma-step-item-title-padding-top',\n contentPaddingTop: '--plasma-step-item-content-padding-top',\n contentPaddingRight: '--plasma-step-item-content-padding-right',\n contentSidePadding: '--plasma-step-item-content-side-padding',\n contentVerticalPadding: '--plasma-step-item-content-vertical-padding',\n verticalContentPaddingLeft: '--plasma-step-item-vertical-content-padding-left',\n\n smallIndicatorIndentHeight: '--plasma-step-item-s-indicator-intent-height',\n largeIndicatorIndentHeight: '--plasma-step-item-l-indicator-intent-height',\n smallBulletIndentHeight: '--plasma-step-item-s-bullet-intent-height',\n largeBulletIndentHeight: '--plasma-step-item-l-bullet-intent-height',\n\n titleFontFamily: '--plasma-step-item-title-font-family',\n titleFontSize: '--plasma-step-item-title-font-size',\n titleFontStyle: '--plasma-step-item-title-font-style',\n titleFontWeight: '--plasma-step-item-title-font-weight',\n titleLetterSpacing: '--plasma-step-item-title-letter-spacing',\n titleLineHeight: '--plasma-step-item-title-line-height',\n\n contentFontFamily: '--plasma-step-item-content-font-family',\n contentFontSize: '--plasma-step-item-content-font-size',\n contentFontStyle: '--plasma-step-item-content-font-style',\n contentFontWeight: '--plasma-step-item-content-font-weight',\n contentLetterSpacing: '--plasma-step-item-content-letter-spacing',\n contentLineHeight: '--plasma-step-item-content-line-height',\n\n indicatorFontFamily: '--plasma-step-item-indicator-font-family',\n indicatorFontSize: '--plasma-step-item-indicator-font-size',\n indicatorFontStyle: '--plasma-step-item-indicator-font-style',\n indicatorFontWeight: '--plasma-step-item-indicator-font-weight',\n indicatorLetterSpacing: '--plasma-step-item-indicator-letter-spacing',\n indicatorLineHeight: '--plasma-step-item-indicator-line-height',\n\n activeIndicatorFontFamily: '--plasma-step-item-active-indicator-font-family',\n activeIndicatorFontSize: '--plasma-step-item-active-indicator-font-size',\n activeIndicatorFontStyle: '--plasma-step-item-active-indicator-font-style',\n activeIndicatorFontWeight: '--plasma-step-item-active-indicator-font-weight',\n activeIndicatorLetterSpacing: '--plasma-step-item-active-indicator-letter-spacing',\n activeIndicatorLineHeight: '--plasma-step-item-active-indicator-line-height',\n\n activeTitleColor: '--plasma-step-item-active-title-color',\n activeTitleColorHover: '--plasma-step-item-active-title-color-hover',\n inactiveTitleColor: '--plasma-step-item-inactive-title-color',\n inactiveTitleColorHover: '--plasma-step-item-inactive-title-color-hover',\n\n contentColor: '--plasma-step-item-content-color',\n\n activeIndicatorBorder: '--plasma-step-item-active-indicator-border',\n activeIndicatorBorderHover: '--plasma-step-item-active-indicator-border-hover',\n\n activeIndicatorColor: '--plasma-step-item-active-indicator-color',\n activeIndicatorColorHover: '--plasma-step-item-active-indicator-color-hover',\n activeIndicatorBackground: '--plasma-step-item-active-indicator-background',\n\n completedIndicatorColor: '--plasma-step-item-completed-indicator-color',\n completedIndicatorColorHover: '--plasma-step-item-completed-indicator-color-hover',\n completedIndicatorBackground: '--plasma-step-item-completed-indicator-background',\n completedIndicatorBackgroundHover: '--plasma-step-item-completed-indicator-background-hover',\n\n inactiveIndicatorColor: '--plasma-step-item-inactive-indicator-color',\n inactiveIndicatorColorHover: '--plasma-step-item-inactive-indicator-color-hover',\n inactiveIndicatorBackground: '--plasma-step-item-inactive-indicator-background',\n inactiveIndicatorBackgroundHover: '--plasma-step-item-inactive-indicator-background-hover',\n\n disabledOpacity: '--plasma-step-item-disabled-opacity',\n\n dividerThickness: '--plasma-step-item-divider-thickness',\n};\n"],"names":["classes","simple","centered","active","inactive","clickable","hovered","disabled","verticalOrientation","hasIndicator","activeItem","indentDivider","transparentDivider","tokens","indicatorSize","activeIndicatorSize","bulletSize","activeBulletSize","titlePaddingTop","contentPaddingTop","contentPaddingRight","contentSidePadding","contentVerticalPadding","verticalContentPaddingLeft","smallIndicatorIndentHeight","largeIndicatorIndentHeight","smallBulletIndentHeight","largeBulletIndentHeight","titleFontFamily","titleFontSize","titleFontStyle","titleFontWeight","titleLetterSpacing","titleLineHeight","contentFontFamily","contentFontSize","contentFontStyle","contentFontWeight","contentLetterSpacing","contentLineHeight","indicatorFontFamily","indicatorFontSize","indicatorFontStyle","indicatorFontWeight","indicatorLetterSpacing","indicatorLineHeight","activeIndicatorFontFamily","activeIndicatorFontSize","activeIndicatorFontStyle","activeIndicatorFontWeight","activeIndicatorLetterSpacing","activeIndicatorLineHeight","activeTitleColor","activeTitleColorHover","inactiveTitleColor","inactiveTitleColorHover","contentColor","activeIndicatorBorder","activeIndicatorBorderHover","activeIndicatorColor","activeIndicatorColorHover","activeIndicatorBackground","completedIndicatorColor","completedIndicatorColorHover","completedIndicatorBackground","completedIndicatorBackgroundHover","inactiveIndicatorColor","inactiveIndicatorColorHover","inactiveIndicatorBackground","inactiveIndicatorBackgroundHover","disabledOpacity","dividerThickness"],"mappings":"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"}
|
@@ -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
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
.
|
12
|
-
.
|
13
|
-
.
|
14
|
-
.
|
15
|
-
.
|
16
|
-
.StepItem_styles_acxstj_s12pqpa3__065935cf{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-flex:1;-ms-flex:1;flex:1;color:var(--plasma-step-item-active-indicator-color);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf{-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_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf .StepItem_styles_acxstj_sxskc3q__065935cf{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemActive__065935cf .StepItem_styles_acxstj_sv5tpso__065935cf{color:var(--plasma-step-item-active-title-color);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemInactive__065935cf{color:var(--plasma-step-item-inactive-indicator-color);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemInactive__065935cf .StepItem_styles_acxstj_sv5tpso__065935cf{color:var(--plasma-step-item-inactive-title-color);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf{-webkit-flex:0;-ms-flex:0;flex:0;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;height:100%;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemHasIndicator__065935cf{min-width:var(--plasma-step-item-active-indicator-size);min-height:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf){width:var(--plasma-step-item-active-bullet-size);min-height:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf):before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf):after{content:'';display:block;width:calc((var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);height:var(--plasma-step-item-divider-thickness);background:var(--plasma-step-item-active-indicator-color);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf):not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf):not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):after{width:calc((var(--plasma-step-item-active-bullet-size) - var(--plasma-step-item-bullet-size)) / 2);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf:after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf:after{width:var(--plasma-step-item-divider-thickness);height:calc((var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);margin:0 auto;-webkit-align-self:auto;-ms-flex-item-align:auto;align-self:auto;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf:not(.StepItem_styles_acxstj_itemHasIndicator__065935cf):after{height:calc((var(--plasma-step-item-active-bullet-size) - var(--plasma-step-item-bullet-size)) / 2);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_verticalOrientation__065935cf:after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_verticalOrientation__065935cf:after{margin:0 auto;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_isFirst__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_isFirst__065935cf:before{background:transparent;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf.StepItem_styles_acxstj_isLast__065935cf:after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf).StepItem_styles_acxstj_isLast__065935cf:after{background:transparent;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:after,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemInactive__065935cf:before{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_isPrevInactive__065935cf:before{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_isNextInactive__065935cf:after{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemDisabled__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_itemDisabled__065935cf:after{background:var(--plasma-step-item-inactive-indicator-background);opacity:1;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_transparentDivider__065935cf:before,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_simple__065935cf.StepItem_styles_acxstj_transparentDivider__065935cf:after{background:transparent;}.StepItem_styles_acxstj_s12pqpa3__065935cf:not(.StepItem_styles_acxstj_simple__065935cf):not(.StepItem_styles_acxstj_verticalOrientation__065935cf).StepItem_styles_acxstj_isNextActive__065935cf .StepItem_styles_acxstj_b1kcj14__065935cf{width:calc(100% - (var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);}.StepItem_styles_acxstj_s12pqpa3__065935cf:not(.StepItem_styles_acxstj_simple__065935cf):not(.StepItem_styles_acxstj_verticalOrientation__065935cf).StepItem_styles_acxstj_itemActive__065935cf .StepItem_styles_acxstj_b1kcj14__065935cf{margin-left:calc((var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / -2);width:calc(100% + (var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf) .StepItem_styles_acxstj_sv5tpso__065935cf{cursor:pointer;color:var(--plasma-step-item-active-title-color-hover);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf) .StepItem_styles_acxstj_b9hdug__065935cf,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf:not(.StepItem_styles_acxstj_itemActive__065935cf) .StepItem_styles_acxstj_b1eo1o32__065935cf{color:var(--plasma-step-item-completed-indicator-color-hover);background:var(--plasma-step-item-completed-indicator-background-hover);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf.StepItem_styles_acxstj_itemInactive__065935cf .StepItem_styles_acxstj_sv5tpso__065935cf{color:var(--plasma-step-item-inactive-title-color-hover);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf.StepItem_styles_acxstj_itemInactive__065935cf .StepItem_styles_acxstj_b9hdug__065935cf,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf.StepItem_styles_acxstj_itemInactive__065935cf .StepItem_styles_acxstj_b1eo1o32__065935cf{color:var(--plasma-step-item-inactive-indicator-color-hover);background:var(--plasma-step-item-inactive-indicator-background-hover);}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemHovered__065935cf .StepItem_styles_acxstj_b1kcj14__065935cf{cursor:pointer;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemCentered__065935cf{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemCentered__065935cf .StepItem_styles_acxstj_s4zgmmr__065935cf{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_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemCentered__065935cf .StepItem_styles_acxstj_s4zgmmr__065935cf .StepItem_styles_acxstj_sv5tpso__065935cf{width:100%;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemCentered__065935cf .StepItem_styles_acxstj_s4zgmmr__065935cf .StepItem_styles_acxstj_sv5tpso__065935cf,.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemCentered__065935cf .StepItem_styles_acxstj_s4zgmmr__065935cf .StepItem_styles_acxstj_s529fhk__065935cf{padding-right:0;text-align:center;}.StepItem_styles_acxstj_s12pqpa3__065935cf.StepItem_styles_acxstj_itemDisabled__065935cf{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);}
|
@@ -38,7 +38,6 @@ var StepItem = function StepItem(_ref) {
|
|
38
38
|
var prevItem = items[index - 1];
|
39
39
|
var nextItem = items[index + 1];
|
40
40
|
var isActive = status === 'active';
|
41
|
-
var isNextActive = (nextItem === null || nextItem === void 0 ? void 0 : nextItem.status) === 'active';
|
42
41
|
var isInactive = status === 'inactive';
|
43
42
|
var isPrevInactive = prevItem && !(prevItem !== null && prevItem !== void 0 && prevItem.status) || (prevItem === null || prevItem === void 0 ? void 0 : prevItem.status) === 'inactive';
|
44
43
|
var isNextInactive = !(nextItem !== null && nextItem !== void 0 && nextItem.status) || (nextItem === null || nextItem === void 0 ? void 0 : nextItem.status) === 'inactive';
|
@@ -76,32 +75,8 @@ var StepItem = function StepItem(_ref) {
|
|
76
75
|
setIsHovered(false);
|
77
76
|
}
|
78
77
|
}, [isDisabled]);
|
79
|
-
if (isSimple) {
|
80
|
-
var _cls;
|
81
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StepItem_styles.StepItemStyled, {
|
82
|
-
className: cls((_cls = {}, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_cls, Steps_tokens.classes.simple, isSimple), Steps_tokens.classes.active, isActive), Steps_tokens.classes.hovered, isHovered && !isActive), Steps_tokens.classes.inactive, isInactive), Steps_tokens.classes.centered, isCentered), Steps_tokens.classes.disabled, isDisabled), Steps_tokens.classes.clickable, clickable && !isActive), Steps_tokens.classes.hasIndicator, hasIndicator), Steps_tokens.classes.transparentDivider, !hasLine), Steps_tokens.classes.verticalOrientation, isVertical), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_cls, "isFirst", isFirst), "isLast", isLast), "isPrevInactive", isPrevInactive), "isNextInactive", isNextInactive)))
|
83
|
-
}, /*#__PURE__*/React.createElement(StepItem_styles.BulletIndicatorWrapper, {
|
84
|
-
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.verticalOrientation, isVertical), Steps_tokens.classes.centered, isCentered), Steps_tokens.classes.simple, isSimple), Steps_tokens.classes.hasIndicator, hasIndicator)),
|
85
|
-
onClick: onClickHandler,
|
86
|
-
onFocus: onMouseOver,
|
87
|
-
onBlur: onMouseOut,
|
88
|
-
onMouseOver: onMouseOver,
|
89
|
-
onMouseOut: onMouseOut
|
90
|
-
}, hasLoader && /*#__PURE__*/React.createElement(StepItem_styles.SpinnerStyled, {
|
91
|
-
hasIndicator: hasIndicator
|
92
|
-
}), !hasLoader && /*#__PURE__*/React.createElement(BulletNode, {
|
93
|
-
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.active, isActive), Steps_tokens.classes.inactive, isInactive)),
|
94
|
-
disabled: isDisabled
|
95
|
-
}, typeof indicator === 'function' && indicator({
|
96
|
-
status: status,
|
97
|
-
item: item,
|
98
|
-
size: size
|
99
|
-
}), typeof indicator !== 'function' && indicator))), !isLast && /*#__PURE__*/React.createElement(StepItem_styles.StepItemDivider, {
|
100
|
-
className: cls(Steps_tokens.classes.simple, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.verticalOrientation, isVertical), Steps_tokens.classes.transparentDivider, !hasLine), Steps_tokens.classes.active, isActive), Steps_tokens.classes.inactive, isInactive || isNextInactive), Steps_tokens.classes.disabled, isDisabled))
|
101
|
-
}));
|
102
|
-
}
|
103
78
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StepItem_styles.StepItemStyled, {
|
104
|
-
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(
|
79
|
+
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.simple, isSimple), Steps_tokens.classes.active, isActive), Steps_tokens.classes.hovered, isHovered && !isActive), Steps_tokens.classes.inactive, isInactive), Steps_tokens.classes.centered, isCentered), Steps_tokens.classes.disabled, isDisabled), Steps_tokens.classes.clickable, clickable && !isActive), Steps_tokens.classes.hasIndicator, hasIndicator), Steps_tokens.classes.verticalOrientation, isVertical))
|
105
80
|
}, /*#__PURE__*/React.createElement(StepItem_styles.BulletIndicatorWrapper, {
|
106
81
|
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.verticalOrientation, isVertical), Steps_tokens.classes.centered, isCentered), Steps_tokens.classes.simple, isSimple), Steps_tokens.classes.hasIndicator, hasIndicator)),
|
107
82
|
onClick: onClickHandler,
|
@@ -111,21 +86,20 @@ var StepItem = function StepItem(_ref) {
|
|
111
86
|
onMouseOut: onMouseOut
|
112
87
|
}, contentAlign === 'center' && !isSimple && /*#__PURE__*/React.createElement(StepItem_styles.StepItemDivider, {
|
113
88
|
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.simple, isSimple), Steps_tokens.classes.transparentDivider, !hasLine || isFirst), Steps_tokens.classes.inactive, isInactive || isPrevInactive))
|
114
|
-
}), isVertical && /*#__PURE__*/React.createElement(StepItem_styles.StepItemDivider, {
|
89
|
+
}), isVertical && (isSimple ? !isFirst : true) && /*#__PURE__*/React.createElement(StepItem_styles.StepItemDivider, {
|
115
90
|
className: cls(Steps_tokens.classes.indentDivider, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.simple, isSimple), Steps_tokens.classes.transparentDivider, !hasLine || isFirst), Steps_tokens.classes.inactive, isInactive || isPrevInactive)),
|
116
91
|
indentToken: indentToken
|
117
92
|
}), hasLoader && /*#__PURE__*/React.createElement(StepItem_styles.SpinnerStyled, {
|
118
93
|
hasIndicator: hasIndicator
|
119
94
|
}), !hasLoader && /*#__PURE__*/React.createElement(BulletNode, {
|
120
|
-
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.active, isActive), Steps_tokens.classes.inactive, isInactive))
|
121
|
-
disabled: isDisabled
|
95
|
+
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.active, isActive), Steps_tokens.classes.inactive, isInactive))
|
122
96
|
}, typeof indicator === 'function' && indicator({
|
123
97
|
status: status,
|
124
98
|
item: item,
|
125
99
|
size: size
|
126
|
-
}), typeof indicator !== 'function' && indicator), /*#__PURE__*/React.createElement(StepItem_styles.StepItemDivider, {
|
100
|
+
}), typeof indicator !== 'function' && indicator), !isSimple && /*#__PURE__*/React.createElement(StepItem_styles.StepItemDivider, {
|
127
101
|
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.simple, isSimple), Steps_tokens.classes.transparentDivider, !hasLine || isLast), Steps_tokens.classes.inactive, isInactive || isNextInactive))
|
128
|
-
})), /*#__PURE__*/React.createElement(StepItem_styles.StepItemContentWrapper, {
|
102
|
+
})), !isSimple && /*#__PURE__*/React.createElement(StepItem_styles.StepItemContentWrapper, {
|
129
103
|
className: cls(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, Steps_tokens.classes.verticalOrientation, isVertical), Steps_tokens.classes.centered, isCentered), Steps_tokens.classes.active, isActive), Steps_tokens.classes.hasIndicator, hasIndicator))
|
130
104
|
}, /*#__PURE__*/React.createElement(StepItem_styles.StepItemTitle, {
|
131
105
|
onClick: onClickHandler,
|
@@ -133,7 +107,9 @@ var StepItem = function StepItem(_ref) {
|
|
133
107
|
onBlur: onMouseOut,
|
134
108
|
onMouseOver: onMouseOver,
|
135
109
|
onMouseOut: onMouseOut
|
136
|
-
}, title), content && /*#__PURE__*/React.createElement(StepItem_styles.StepItemContent, null, typeof content === 'function' ? content(status, index, items) : content)))
|
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, {
|
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))
|
112
|
+
}));
|
137
113
|
};
|
138
114
|
|
139
115
|
exports.StepItem = StepItem;
|