monica-alexandria 3.7.6 → 3.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -1250,7 +1250,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
|
|
|
1250
1250
|
background: ${e=>e.step===e.currentStep?"linear-gradient( to right, var(--main), transparent)":e.step<e.currentStep?"var(--main)":"transparent"};
|
|
1251
1251
|
height: 100%;
|
|
1252
1252
|
width: 100%;
|
|
1253
|
-
`,vn=t=>e.createElement(gn,{steps:t.steps,startToFinish:t.startToFinish?
|
|
1253
|
+
`,vn=t=>e.createElement(gn,{steps:t.steps,startToFinish:t.startToFinish?1:0},t.steps.map(((n,r)=>e.createElement(pn,{step:r,currentStep:t.currentStep})))),yn=i.div`
|
|
1254
1254
|
|
|
1255
1255
|
`,_n=i.div`
|
|
1256
1256
|
position: relative;
|
package/dist/index.js
CHANGED
|
@@ -1250,7 +1250,7 @@
|
|
|
1250
1250
|
background: ${e=>e.step===e.currentStep?"linear-gradient( to right, var(--main), transparent)":e.step<e.currentStep?"var(--main)":"transparent"};
|
|
1251
1251
|
height: 100%;
|
|
1252
1252
|
width: 100%;
|
|
1253
|
-
`,Kt=e=>a.default.createElement(Wt,{steps:e.steps,startToFinish:e.startToFinish?
|
|
1253
|
+
`,Kt=e=>a.default.createElement(Wt,{steps:e.steps,startToFinish:e.startToFinish?1:0},e.steps.map(((t,n)=>a.default.createElement(qt,{step:n,currentStep:e.currentStep})))),Ut=o.default.div`
|
|
1254
1254
|
|
|
1255
1255
|
`,Jt=o.default.div`
|
|
1256
1256
|
position: relative;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monica-alexandria",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.7",
|
|
4
4
|
"description": "A styled-components styles library for Doitforme platorm and universal tweeks to create your own new styled library for your project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -25,7 +25,7 @@ const SingleStep = styled.div`
|
|
|
25
25
|
export const Steps_Header = (props) => {
|
|
26
26
|
|
|
27
27
|
return (
|
|
28
|
-
<StepsHeader steps = {props.steps} startToFinish={props.startToFinish ?
|
|
28
|
+
<StepsHeader steps = {props.steps} startToFinish={props.startToFinish ? 1 : 0}>
|
|
29
29
|
{(props.steps).map((step, i) =>
|
|
30
30
|
<SingleStep step={i} currentStep={props.currentStep}></SingleStep>
|
|
31
31
|
)}
|