@salutejs/plasma-new-hope 0.176.0-dev.0 → 0.176.1-canary.1517.11571952534.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Steps/Steps.css +9 -9
- package/cjs/components/Steps/Steps.tokens.js +1 -0
- 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 +29 -7
- 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_1oh5gqm.css +9 -0
- package/cjs/index.css +9 -9
- package/emotion/cjs/components/Steps/Steps.tokens.js +1 -0
- package/emotion/cjs/components/Steps/ui/StepItem/StepItem.js +29 -7
- package/emotion/cjs/components/Steps/ui/StepItem/StepItem.styles.js +17 -11
- 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_web/components/Steps/Steps.config.js +5 -5
- package/emotion/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/emotion/es/components/Steps/Steps.tokens.js +1 -0
- package/emotion/es/components/Steps/ui/StepItem/StepItem.js +29 -7
- package/emotion/es/components/Steps/ui/StepItem/StepItem.styles.js +17 -11
- 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_web/components/Steps/Steps.config.js +5 -5
- package/emotion/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/es/components/Steps/Steps.css +9 -9
- package/es/components/Steps/Steps.tokens.js +1 -0
- 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 +30 -8
- 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_1oh5gqm.css +9 -0
- package/es/index.css +9 -9
- package/package.json +2 -2
- package/styled-components/cjs/components/Steps/Steps.tokens.js +1 -0
- package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.js +29 -7
- package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.styles.js +12 -6
- 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_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/es/components/Steps/Steps.tokens.js +1 -0
- package/styled-components/es/components/Steps/ui/StepItem/StepItem.js +29 -7
- package/styled-components/es/components/Steps/ui/StepItem/StepItem.styles.js +12 -6
- 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_web/components/Steps/Steps.config.js +1 -1
- package/styled-components/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
- package/types/components/Steps/Steps.tokens.d.ts +1 -0
- 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/examples/plasma_b2c/components/Steps/Steps.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Steps/Steps.config.d.ts.map +1 -1
- package/cjs/components/Steps/ui/StepItem/StepItem.styles_sp9rcd.css +0 -9
- package/es/components/Steps/ui/StepItem/StepItem.styles_sp9rcd.css +0 -9
package/cjs/index.css
CHANGED
@@ -685,15 +685,15 @@
|
|
685
685
|
|
686
686
|
.Thumb_styles_uyn20e_tqbdf8b__de0962c7{width:var(--thumb-size);height:var(--thumb-size);min-width:var(--thumb-size);min-height:var(--thumb-size);position:relative;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:0.0625rem;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;position:relative;}.Thumb_styles_uyn20e_tqbdf8b__de0962c7:after{background:var(--plasma-slider-thumb-border-color);margin:-0.0625rem;content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;}.Thumb_styles_uyn20e_tqbdf8b__de0962c7:not([disabled]):hover:after,.Thumb_styles_uyn20e_tqbdf8b__de0962c7:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.Thumb_styles_uyn20e_tqbdf8b__de0962c7[disabled]{cursor:not-allowed;}.Thumb_styles_uyn20e_tqbdf8b__de0962c7:focus{outline:none;}.Thumb_styles_uyn20e_tqbdf8b__de0962c7::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:50%;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.Thumb_styles_uyn20e_tqbdf8b__de0962c7.Thumb_styles_uyn20e_focusVisible__de0962c7:focus::before,.Thumb_styles_uyn20e_tqbdf8b__de0962c7[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.125rem var(--plasma-slider-thumb-focus-border-color);}
|
687
687
|
|
688
|
-
.
|
689
|
-
.
|
690
|
-
.
|
691
|
-
.
|
692
|
-
.
|
693
|
-
.
|
694
|
-
.
|
695
|
-
.
|
696
|
-
.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);}
|
688
|
+
.StepItem_styles_1oh5gqm_snf9dn9__29712156{--plasma-spinner-size:var(--snf9dn9-0);--plasma-spinner-color:var(--plasma-step-item-active-indicator-color);}
|
689
|
+
.StepItem_styles_1oh5gqm_sv5tpso__29712156{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;}
|
690
|
+
.StepItem_styles_1oh5gqm_s529fhk__29712156{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);}
|
691
|
+
.StepItem_styles_1oh5gqm_b1kcj14__29712156{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_1oh5gqm_b1kcj14__29712156:not(.StepItem_styles_1oh5gqm_simple__29712156){-webkit-flex:0;-ms-flex:0;flex:0;}.StepItem_styles_1oh5gqm_b1kcj14__29712156:not(.StepItem_styles_1oh5gqm_simple__29712156).StepItem_styles_1oh5gqm_itemHasIndicator__29712156{width:100%;min-height:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_1oh5gqm_b1kcj14__29712156:not(.StepItem_styles_1oh5gqm_simple__29712156):not(.StepItem_styles_1oh5gqm_itemHasIndicator__29712156){width:100%;min-height:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_1oh5gqm_b1kcj14__29712156:not(.StepItem_styles_1oh5gqm_simple__29712156).StepItem_styles_1oh5gqm_verticalOrientation__29712156{padding-right:var(--plasma-step-item-vertical-content-padding-left);}.StepItem_styles_1oh5gqm_b1kcj14__29712156.StepItem_styles_1oh5gqm_simple__29712156{-webkit-flex:0;-ms-flex:0;flex:0;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}.StepItem_styles_1oh5gqm_b1kcj14__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemHasIndicator__29712156{width:var(--plasma-step-item-active-indicator-size);min-height:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_1oh5gqm_b1kcj14__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemHasIndicator__29712156){width:var(--plasma-step-item-active-bullet-size);min-height:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_1oh5gqm_b1kcj14__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156{-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_1oh5gqm_b1kcj14__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156.StepItem_styles_1oh5gqm_itemHasIndicator__29712156{min-width:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_1oh5gqm_b1kcj14__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156:not(.StepItem_styles_1oh5gqm_itemHasIndicator__29712156){min-width:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_1oh5gqm_b1kcj14__29712156.StepItem_styles_1oh5gqm_itemCentered__29712156{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
|
692
|
+
.StepItem_styles_1oh5gqm_b9hdug__29712156{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:var(--plasma-step-item-indicator-size);height:var(--plasma-step-item-indicator-size);border-radius:50%;box-sizing:border-box;position:relative;outline:none;padding:0;margin:0;border:none;color:var(--plasma-step-item-completed-indicator-color);background-color:var(--plasma-step-item-completed-indicator-background);font-family:var(--plasma-step-item-indicator-font-family);font-size:var(--plasma-step-item-indicator-font-size);font-style:var(--plasma-step-item-indicator-font-style);font-weight:var(--plasma-step-item-indicator-font-weight);-webkit-letter-spacing:var(--plasma-step-item-indicator-letter-spacing);-moz-letter-spacing:var(--plasma-step-item-indicator-letter-spacing);-ms-letter-spacing:var(--plasma-step-item-indicator-letter-spacing);letter-spacing:var(--plasma-step-item-indicator-letter-spacing);line-height:var(--plasma-step-item-indicator-line-height);position:relative;}.StepItem_styles_1oh5gqm_b9hdug__29712156::before{content:'';position:absolute;top:-0.1875rem;left:-0.1875rem;right:-0.1875rem;bottom:-0.1875rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:50%;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.StepItem_styles_1oh5gqm_b9hdug__29712156.StepItem_styles_1oh5gqm_focusVisible__29712156:focus::before,.StepItem_styles_1oh5gqm_b9hdug__29712156[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-step-item-focus-color);}.StepItem_styles_1oh5gqm_b9hdug__29712156.StepItem_styles_1oh5gqm_itemActive__29712156{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_1oh5gqm_b9hdug__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156{color:var(--plasma-step-item-inactive-indicator-color);background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1oh5gqm_b9hdug__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156.StepItem_styles_1oh5gqm_simple__29712156:before,.StepItem_styles_1oh5gqm_b9hdug__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156.StepItem_styles_1oh5gqm_simple__29712156:after{background:var(--plasma-step-item-inactive-indicator-background);}
|
693
|
+
.StepItem_styles_1oh5gqm_b1eo1o32__29712156.StepItem_styles_1oh5gqm_b9hdug__29712156{width:var(--plasma-step-item-bullet-size);height:var(--plasma-step-item-bullet-size);}.StepItem_styles_1oh5gqm_b1eo1o32__29712156.StepItem_styles_1oh5gqm_b9hdug__29712156.StepItem_styles_1oh5gqm_itemActive__29712156{width:var(--plasma-step-item-active-bullet-size);height:var(--plasma-step-item-active-bullet-size);border:var(--plasma-step-item-divider-thickness) var(--plasma-step-item-active-indicator-border);background:var(--plasma-step-item-active-indicator-background);}
|
694
|
+
.StepItem_styles_1oh5gqm_sxskc3q__29712156{width:100%;height:var(--plasma-step-item-divider-thickness);-webkit-flex:1;-ms-flex:1;flex:1;background:var(--plasma-step-item-active-indicator-color);}.StepItem_styles_1oh5gqm_sxskc3q__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1oh5gqm_sxskc3q__29712156.StepItem_styles_1oh5gqm_transparentDivider__29712156{background:transparent;}.StepItem_styles_1oh5gqm_sxskc3q__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_1oh5gqm_sxskc3q__29712156.StepItem_styles_1oh5gqm_indentDivider__29712156{height:var(--sxskc3q-0);min-height:var(--sxskc3q-0);max-height:var(--sxskc3q-0);}.StepItem_styles_1oh5gqm_sxskc3q__29712156.StepItem_styles_1oh5gqm_indentDivider__29712156.StepItem_styles_1oh5gqm_simple__29712156{height:auto;max-height:none;}
|
695
|
+
.StepItem_styles_1oh5gqm_s4zgmmr__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156 .StepItem_styles_1oh5gqm_sv5tpso__29712156{padding-top:var(--plasma-step-item-content-vertical-padding);padding-right:0;}.StepItem_styles_1oh5gqm_s4zgmmr__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156 .StepItem_styles_1oh5gqm_s529fhk__29712156{padding-top:var(--plasma-step-item-content-vertical-padding);padding-bottom:var(--plasma-step-item-content-vertical-padding);padding-right:0;}
|
696
|
+
.StepItem_styles_1oh5gqm_s12pqpa3__29712156{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_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156{-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_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156 .StepItem_styles_1oh5gqm_sxskc3q__29712156{width:var(--plasma-step-item-divider-thickness);height:100%;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemActive__29712156 .StepItem_styles_1oh5gqm_sv5tpso__29712156{color:var(--plasma-step-item-active-title-color);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156{color:var(--plasma-step-item-inactive-indicator-color);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156 .StepItem_styles_1oh5gqm_sv5tpso__29712156{color:var(--plasma-step-item-inactive-title-color);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156{-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;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemHasIndicator__29712156{min-width:var(--plasma-step-item-active-indicator-size);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemHasIndicator__29712156){min-width:var(--plasma-step-item-active-bullet-size);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156:before,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156):before,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156:after,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156):after{position:absolute;top:0;bottom:0;left:0;content:'';display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;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_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156:after,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156):after{left:auto;right:0;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156:before,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156).StepItem_styles_1oh5gqm_verticalOrientation__29712156:before,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156:after,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156).StepItem_styles_1oh5gqm_verticalOrientation__29712156: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_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156:before,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156).StepItem_styles_1oh5gqm_verticalOrientation__29712156:before{top:0;left:0;right:0;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156.StepItem_styles_1oh5gqm_verticalOrientation__29712156:after,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156).StepItem_styles_1oh5gqm_verticalOrientation__29712156:after{top:auto;left:0;right:0;bottom:0;margin:0 auto;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156.StepItem_styles_1oh5gqm_isFirst__29712156:before,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156).StepItem_styles_1oh5gqm_isFirst__29712156:before{display:none;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156.StepItem_styles_1oh5gqm_isLast__29712156:after,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156).StepItem_styles_1oh5gqm_isLast__29712156:after{display:none;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156:after,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156:before{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_isPrevInactive__29712156:before{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_simple__29712156.StepItem_styles_1oh5gqm_isNextInactive__29712156:after{background:var(--plasma-step-item-inactive-indicator-background);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156:not(.StepItem_styles_1oh5gqm_simple__29712156):not(.StepItem_styles_1oh5gqm_verticalOrientation__29712156).StepItem_styles_1oh5gqm_isNextActive__29712156 .StepItem_styles_1oh5gqm_b1kcj14__29712156{width:calc(100% - (var(--plasma-step-item-active-indicator-size) - var(--plasma-step-item-indicator-size)) / 2);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156:not(.StepItem_styles_1oh5gqm_simple__29712156):not(.StepItem_styles_1oh5gqm_verticalOrientation__29712156).StepItem_styles_1oh5gqm_itemActive__29712156 .StepItem_styles_1oh5gqm_b1kcj14__29712156{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_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemHovered__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156) .StepItem_styles_1oh5gqm_sv5tpso__29712156{cursor:pointer;color:var(--plasma-step-item-active-title-color-hover);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemHovered__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156) .StepItem_styles_1oh5gqm_b9hdug__29712156,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemHovered__29712156:not(.StepItem_styles_1oh5gqm_itemActive__29712156) .StepItem_styles_1oh5gqm_b1eo1o32__29712156{color:var(--plasma-step-item-completed-indicator-color-hover);background:var(--plasma-step-item-completed-indicator-background-hover);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemHovered__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156 .StepItem_styles_1oh5gqm_sv5tpso__29712156{color:var(--plasma-step-item-inactive-title-color-hover);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemHovered__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156 .StepItem_styles_1oh5gqm_b9hdug__29712156,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemHovered__29712156.StepItem_styles_1oh5gqm_itemInactive__29712156 .StepItem_styles_1oh5gqm_b1eo1o32__29712156{color:var(--plasma-step-item-inactive-indicator-color-hover);background:var(--plasma-step-item-inactive-indicator-background-hover);}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemHovered__29712156 .StepItem_styles_1oh5gqm_b1kcj14__29712156{cursor:pointer;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemCentered__29712156{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemCentered__29712156 .StepItem_styles_1oh5gqm_s4zgmmr__29712156{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_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemCentered__29712156 .StepItem_styles_1oh5gqm_s4zgmmr__29712156 .StepItem_styles_1oh5gqm_sv5tpso__29712156{width:100%;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemCentered__29712156 .StepItem_styles_1oh5gqm_s4zgmmr__29712156 .StepItem_styles_1oh5gqm_sv5tpso__29712156,.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemCentered__29712156 .StepItem_styles_1oh5gqm_s4zgmmr__29712156 .StepItem_styles_1oh5gqm_s529fhk__29712156{padding-right:0;text-align:center;}.StepItem_styles_1oh5gqm_s12pqpa3__29712156.StepItem_styles_1oh5gqm_itemDisabled__29712156{opacity:var(--plasma-step-item-disabled-opacity);}
|
697
697
|
|
698
698
|
.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;}
|
699
699
|
|
@@ -62,6 +62,7 @@ var tokens = exports.tokens = {
|
|
62
62
|
inactiveTitleColor: '--plasma-step-item-inactive-title-color',
|
63
63
|
inactiveTitleColorHover: '--plasma-step-item-inactive-title-color-hover',
|
64
64
|
contentColor: '--plasma-step-item-content-color',
|
65
|
+
focusColor: '--plasma-step-item-focus-color',
|
65
66
|
activeIndicatorBorder: '--plasma-step-item-active-indicator-border',
|
66
67
|
activeIndicatorBorderHover: '--plasma-step-item-active-indicator-border-hover',
|
67
68
|
activeIndicatorColor: '--plasma-step-item-active-indicator-color',
|
@@ -51,6 +51,7 @@ var StepItem = exports.StepItem = function StepItem(_ref) {
|
|
51
51
|
var prevItem = items[index - 1];
|
52
52
|
var nextItem = items[index + 1];
|
53
53
|
var isActive = status === 'active';
|
54
|
+
var isNextActive = (nextItem === null || nextItem === void 0 ? void 0 : nextItem.status) === 'active';
|
54
55
|
var isInactive = status === 'inactive';
|
55
56
|
var isPrevInactive = prevItem && !(prevItem !== null && prevItem !== void 0 && prevItem.status) || (prevItem === null || prevItem === void 0 ? void 0 : prevItem.status) === 'inactive';
|
56
57
|
var isNextInactive = !(nextItem !== null && nextItem !== void 0 && nextItem.status) || (nextItem === null || nextItem === void 0 ? void 0 : nextItem.status) === 'inactive';
|
@@ -88,8 +89,31 @@ var StepItem = exports.StepItem = function StepItem(_ref) {
|
|
88
89
|
setIsHovered(false);
|
89
90
|
}
|
90
91
|
}, [isDisabled]);
|
92
|
+
if (isSimple) {
|
93
|
+
var _cls;
|
94
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemStyled, {
|
95
|
+
className: (0, _classnames["default"])((_cls = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_cls, _Steps.classes.simple, isSimple), _Steps.classes.active, isActive), _Steps.classes.hovered, isHovered && !isActive), _Steps.classes.inactive, isInactive), _Steps.classes.centered, isCentered), _Steps.classes.disabled, isDisabled), _Steps.classes.clickable, clickable && !isActive), _Steps.classes.hasIndicator, hasIndicator), _Steps.classes.verticalOrientation, isVertical), "isFirst", isFirst), _defineProperty(_defineProperty(_defineProperty(_cls, "isLast", isLast), "isPrevInactive", isPrevInactive), "isNextInactive", isNextInactive)))
|
96
|
+
}, /*#__PURE__*/_react["default"].createElement(_StepItem.BulletIndicatorWrapper, {
|
97
|
+
className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, isVertical), _Steps.classes.centered, isCentered), _Steps.classes.simple, isSimple), _Steps.classes.hasIndicator, hasIndicator)),
|
98
|
+
onClick: onClickHandler,
|
99
|
+
onFocus: onMouseOver,
|
100
|
+
onBlur: onMouseOut,
|
101
|
+
onMouseOver: onMouseOver,
|
102
|
+
onMouseOut: onMouseOut
|
103
|
+
}, hasLoader && /*#__PURE__*/_react["default"].createElement(_StepItem.SpinnerStyled, {
|
104
|
+
hasIndicator: hasIndicator
|
105
|
+
}), !hasLoader && /*#__PURE__*/_react["default"].createElement(BulletNode, {
|
106
|
+
className: (0, _classnames["default"])(_defineProperty(_defineProperty({}, _Steps.classes.active, isActive), _Steps.classes.inactive, isInactive))
|
107
|
+
}, typeof indicator === 'function' && indicator({
|
108
|
+
status: status,
|
109
|
+
item: item,
|
110
|
+
size: size
|
111
|
+
}), typeof indicator !== 'function' && indicator))), !isLast && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
|
112
|
+
className: (0, _classnames["default"])(_Steps.classes.simple, _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, isVertical), _Steps.classes.transparentDivider, !hasLine), _Steps.classes.active, isActive), _Steps.classes.inactive, isInactive || isNextInactive))
|
113
|
+
}));
|
114
|
+
}
|
91
115
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemStyled, {
|
92
|
-
className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.simple, isSimple), _Steps.classes.active, isActive), _Steps.classes.hovered, isHovered && !isActive), _Steps.classes.inactive, isInactive), _Steps.classes.centered, isCentered), _Steps.classes.disabled, isDisabled), _Steps.classes.clickable, clickable && !isActive), _Steps.classes.hasIndicator, hasIndicator), _Steps.classes.verticalOrientation, isVertical))
|
116
|
+
className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.simple, isSimple), _Steps.classes.active, isActive), _Steps.classes.hovered, isHovered && !isActive), _Steps.classes.inactive, isInactive), _Steps.classes.centered, isCentered), _Steps.classes.disabled, isDisabled), _Steps.classes.clickable, clickable && !isActive), _Steps.classes.hasIndicator, hasIndicator), _Steps.classes.verticalOrientation, isVertical), "isNextActive", isNextActive))
|
93
117
|
}, /*#__PURE__*/_react["default"].createElement(_StepItem.BulletIndicatorWrapper, {
|
94
118
|
className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, isVertical), _Steps.classes.centered, isCentered), _Steps.classes.simple, isSimple), _Steps.classes.hasIndicator, hasIndicator)),
|
95
119
|
onClick: onClickHandler,
|
@@ -99,7 +123,7 @@ var StepItem = exports.StepItem = function StepItem(_ref) {
|
|
99
123
|
onMouseOut: onMouseOut
|
100
124
|
}, contentAlign === 'center' && !isSimple && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
|
101
125
|
className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.simple, isSimple), _Steps.classes.transparentDivider, !hasLine || isFirst), _Steps.classes.inactive, isInactive || isPrevInactive))
|
102
|
-
}), isVertical &&
|
126
|
+
}), isVertical && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
|
103
127
|
className: (0, _classnames["default"])(_Steps.classes.indentDivider, _defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.simple, isSimple), _Steps.classes.transparentDivider, !hasLine || isFirst), _Steps.classes.inactive, isInactive || isPrevInactive)),
|
104
128
|
indentToken: indentToken
|
105
129
|
}), hasLoader && /*#__PURE__*/_react["default"].createElement(_StepItem.SpinnerStyled, {
|
@@ -110,9 +134,9 @@ var StepItem = exports.StepItem = function StepItem(_ref) {
|
|
110
134
|
status: status,
|
111
135
|
item: item,
|
112
136
|
size: size
|
113
|
-
}), typeof indicator !== 'function' && indicator),
|
137
|
+
}), typeof indicator !== 'function' && indicator), /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemDivider, {
|
114
138
|
className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.simple, isSimple), _Steps.classes.transparentDivider, !hasLine || isLast), _Steps.classes.inactive, isInactive || isNextInactive))
|
115
|
-
})),
|
139
|
+
})), /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemContentWrapper, {
|
116
140
|
className: (0, _classnames["default"])(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, isVertical), _Steps.classes.centered, isCentered), _Steps.classes.active, isActive), _Steps.classes.hasIndicator, hasIndicator))
|
117
141
|
}, /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemTitle, {
|
118
142
|
onClick: onClickHandler,
|
@@ -120,7 +144,5 @@ var StepItem = exports.StepItem = function StepItem(_ref) {
|
|
120
144
|
onBlur: onMouseOut,
|
121
145
|
onMouseOver: onMouseOver,
|
122
146
|
onMouseOut: onMouseOut
|
123
|
-
}, title), content && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemContent, null, typeof content === 'function' ? content(status, index, items) : content)))
|
124
|
-
className: (0, _classnames["default"])(_Steps.classes.simple, _defineProperty(_defineProperty(_defineProperty({}, _Steps.classes.verticalOrientation, isVertical), _Steps.classes.transparentDivider, !hasLine), _Steps.classes.inactive, isInactive || isNextInactive))
|
125
|
-
}));
|
147
|
+
}, title), content && /*#__PURE__*/_react["default"].createElement(_StepItem.StepItemContent, null, typeof content === 'function' ? content(status, index, items) : content))));
|
126
148
|
};
|