monica-alexandria 3.8.21 → 3.8.22

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
@@ -1255,7 +1255,7 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
1255
1255
  background: ${e=>e.theme.mid};
1256
1256
  overflow: hidden;
1257
1257
  `,vn=i.div`
1258
- background: ${e=>e.step===e.steps.length-1&&e.startToFinish||e.step<e.currentStep?"var(--main)":e.step===e.currentStep?"linear-gradient( to right, var(--main), transparent)":"transparent"};
1258
+ background: ${e=>e.currentStep===e.steps.length&&e.startToFinish||e.step<e.currentStep?"var(--main)":e.step===e.currentStep?"linear-gradient( to right, var(--main), transparent)":"transparent"};
1259
1259
  height: 100%;
1260
1260
  width: 100%;
1261
1261
  `,yn=t=>e.createElement(pn,{steps:t.steps},t.steps.map((n=>e.createElement(vn,{startToFinish:t.startToFinish,steps:t.steps,step:n,currentStep:t.currentStep})))),_n=i.div`
package/dist/index.js CHANGED
@@ -1255,7 +1255,7 @@
1255
1255
  background: ${e=>e.theme.mid};
1256
1256
  overflow: hidden;
1257
1257
  `,Kt=o.default.div`
1258
- background: ${e=>e.step===e.steps.length-1&&e.startToFinish||e.step<e.currentStep?"var(--main)":e.step===e.currentStep?"linear-gradient( to right, var(--main), transparent)":"transparent"};
1258
+ background: ${e=>e.currentStep===e.steps.length&&e.startToFinish||e.step<e.currentStep?"var(--main)":e.step===e.currentStep?"linear-gradient( to right, var(--main), transparent)":"transparent"};
1259
1259
  height: 100%;
1260
1260
  width: 100%;
1261
1261
  `,Ut=e=>a.default.createElement(qt,{steps:e.steps},e.steps.map((t=>a.default.createElement(Kt,{startToFinish:e.startToFinish,steps:e.steps,step:t,currentStep:e.currentStep})))),Jt=o.default.div`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monica-alexandria",
3
- "version": "3.8.21",
3
+ "version": "3.8.22",
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",
@@ -14,7 +14,7 @@ const StepsHeader = styled.div`
14
14
 
15
15
  const SingleStep = styled.div`
16
16
  background: ${p =>
17
- p.step === (p.steps.length - 1) && p.startToFinish ?
17
+ (p.currentStep === p.steps.length ) && p.startToFinish ?
18
18
  'var(--main)'
19
19
  : p.step < p.currentStep ?
20
20
  'var(--main)'