monica-alexandria 2.5.1 → 2.5.2
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 +44 -23
- package/dist/index.js +31 -10
- package/package.json +1 -1
- package/src/components/slider/Slider.jsx +21 -0
package/dist/index.es.js
CHANGED
|
@@ -589,18 +589,18 @@ import r from"styled-components";const a=r.button`
|
|
|
589
589
|
`,F=r(j)`
|
|
590
590
|
padding: var(--inputNormalPads);
|
|
591
591
|
font-size: var(--inputNormalText);
|
|
592
|
-
`,
|
|
592
|
+
`,X=r(j)`
|
|
593
593
|
padding: var(--inputLargePads);
|
|
594
594
|
font-size: var(--inputLargeText);
|
|
595
|
-
`,
|
|
595
|
+
`,O=r.label`
|
|
596
596
|
color: ${r=>"dark"===r.theme?"var(--blanc)":"var(--black)"};
|
|
597
|
-
`,
|
|
597
|
+
`,Y=r(O)`
|
|
598
598
|
font-size: var(--inputSmallText);
|
|
599
|
-
`,
|
|
599
|
+
`,M=r(O)`
|
|
600
600
|
font-size: var(--inputNormalText);
|
|
601
|
-
`,
|
|
601
|
+
`,q=r(O)`
|
|
602
602
|
font-size: var(--inputLargeText);
|
|
603
|
-
`,
|
|
603
|
+
`,A=r.div`
|
|
604
604
|
position: relative;
|
|
605
605
|
margin-top: 4rem;
|
|
606
606
|
|
|
@@ -631,7 +631,7 @@ import r from"styled-components";const a=r.button`
|
|
|
631
631
|
transition-property: opacity, transform;
|
|
632
632
|
transition-duration: .5s;
|
|
633
633
|
}
|
|
634
|
-
`,
|
|
634
|
+
`,B=r.div`
|
|
635
635
|
position: relative;
|
|
636
636
|
|
|
637
637
|
ul{
|
|
@@ -654,7 +654,7 @@ import r from"styled-components";const a=r.button`
|
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
|
-
`,
|
|
657
|
+
`,C=r(A)`
|
|
658
658
|
|
|
659
659
|
aside{
|
|
660
660
|
display: block;
|
|
@@ -669,7 +669,7 @@ import r from"styled-components";const a=r.button`
|
|
|
669
669
|
display: none;
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
|
-
`,
|
|
672
|
+
`,E=r.div`
|
|
673
673
|
position: absolute;
|
|
674
674
|
top: 1.2rem;
|
|
675
675
|
right: 2rem;
|
|
@@ -678,7 +678,7 @@ import r from"styled-components";const a=r.button`
|
|
|
678
678
|
height: var(--smallText);
|
|
679
679
|
fill: ${r=>"dark"===r.theme?"var(--gloomLight)":"var(--greyDark)"};
|
|
680
680
|
}
|
|
681
|
-
`,
|
|
681
|
+
`,G=r.div`
|
|
682
682
|
position: absolute;
|
|
683
683
|
top: 1.2rem;
|
|
684
684
|
right: 2rem;
|
|
@@ -687,12 +687,12 @@ import r from"styled-components";const a=r.button`
|
|
|
687
687
|
height: var(--smallText);
|
|
688
688
|
fill: var(--error);
|
|
689
689
|
}
|
|
690
|
-
`,
|
|
690
|
+
`,H=r.div`
|
|
691
691
|
display: flex;
|
|
692
692
|
align-items: center;
|
|
693
693
|
gap: 1rem;
|
|
694
694
|
margin: var(--tinyDist);
|
|
695
|
-
`,
|
|
695
|
+
`,J=r(H)`
|
|
696
696
|
|
|
697
697
|
svg{
|
|
698
698
|
width: var(--smallIcon);
|
|
@@ -702,7 +702,7 @@ import r from"styled-components";const a=r.button`
|
|
|
702
702
|
h6{
|
|
703
703
|
color: var(--error);
|
|
704
704
|
}
|
|
705
|
-
`,
|
|
705
|
+
`,K=r(H)`
|
|
706
706
|
|
|
707
707
|
svg{
|
|
708
708
|
width: var(--smallIcon);
|
|
@@ -712,7 +712,7 @@ import r from"styled-components";const a=r.button`
|
|
|
712
712
|
h6{
|
|
713
713
|
color: var(--success);
|
|
714
714
|
}
|
|
715
|
-
`,
|
|
715
|
+
`,Q=r(H)`
|
|
716
716
|
|
|
717
717
|
svg{
|
|
718
718
|
width: var(--smallIcon);
|
|
@@ -722,11 +722,11 @@ import r from"styled-components";const a=r.button`
|
|
|
722
722
|
h6{
|
|
723
723
|
color: var(--greyDark);
|
|
724
724
|
}
|
|
725
|
-
`,
|
|
725
|
+
`,U=r.div`
|
|
726
726
|
display: grid;
|
|
727
727
|
grid-template-columns: repeat(${r=>r.columns}, 1fr);
|
|
728
728
|
grid-gap: 2rem;
|
|
729
|
-
`,
|
|
729
|
+
`,V=r.div`
|
|
730
730
|
display: flex;
|
|
731
731
|
flex-direction: column;
|
|
732
732
|
justify-content: space-between;
|
|
@@ -741,7 +741,7 @@ import r from"styled-components";const a=r.button`
|
|
|
741
741
|
&:hover{
|
|
742
742
|
box-shadow: ${r=>"dark"===r.theme?"var(--outShineFocus)":"var(--outShadowFocus)"};
|
|
743
743
|
}
|
|
744
|
-
`,
|
|
744
|
+
`,W=r.div`
|
|
745
745
|
|
|
746
746
|
`,Z=r.div`
|
|
747
747
|
display: flex;
|
|
@@ -1075,7 +1075,7 @@ import r from"styled-components";const a=r.button`
|
|
|
1075
1075
|
form{
|
|
1076
1076
|
margin-top: 4rem;
|
|
1077
1077
|
}
|
|
1078
|
-
`,
|
|
1078
|
+
`,Xr=r.div`
|
|
1079
1079
|
padding: var(--smallDist);
|
|
1080
1080
|
|
|
1081
1081
|
ul{
|
|
@@ -1091,7 +1091,7 @@ import r from"styled-components";const a=r.button`
|
|
|
1091
1091
|
}
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
|
-
`,
|
|
1094
|
+
`,Or=r.div`
|
|
1095
1095
|
position: fixed;
|
|
1096
1096
|
top: 0;
|
|
1097
1097
|
left: 0;
|
|
@@ -1099,7 +1099,28 @@ import r from"styled-components";const a=r.button`
|
|
|
1099
1099
|
height: 100vh;
|
|
1100
1100
|
width: 100%;
|
|
1101
1101
|
background: ${r=>"dark"===r.theme?"var(--blancOverlay)":"var(--blackOverlay)"};
|
|
1102
|
-
|
|
1102
|
+
|
|
1103
|
+
.slider{
|
|
1104
|
+
|
|
1105
|
+
&-enter{
|
|
1106
|
+
transform: translateX(-110%);
|
|
1107
|
+
|
|
1108
|
+
&-active{
|
|
1109
|
+
transform: translateX(0);
|
|
1110
|
+
transition: all .5s ease;
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
&-exit{
|
|
1115
|
+
|
|
1116
|
+
&-active{
|
|
1117
|
+
transform: translateX(-110%);
|
|
1118
|
+
transition: all .5s ease;
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
`,Yr=r.div`
|
|
1103
1124
|
position: fixed;
|
|
1104
1125
|
right: 0;
|
|
1105
1126
|
z-index: 501;
|
|
@@ -1116,11 +1137,11 @@ import r from"styled-components";const a=r.button`
|
|
|
1116
1137
|
@media ${nr.sm} {
|
|
1117
1138
|
width: 100%;
|
|
1118
1139
|
}
|
|
1119
|
-
`,
|
|
1140
|
+
`,Mr=r.div`
|
|
1120
1141
|
max-height: calc(100vh - 9rem);
|
|
1121
1142
|
overflow-x: hidden;
|
|
1122
1143
|
overflow-y: auto;
|
|
1123
|
-
`,
|
|
1144
|
+
`,qr=r.div`
|
|
1124
1145
|
display: flex;
|
|
1125
1146
|
align-items: center;
|
|
1126
1147
|
justify-content: space-between;
|
|
@@ -1135,4 +1156,4 @@ import r from"styled-components";const a=r.button`
|
|
|
1135
1156
|
display: none;
|
|
1136
1157
|
}
|
|
1137
1158
|
}
|
|
1138
|
-
`;export{Tr as AuthActions,zr as AuthCap,Rr as AuthCheck,wr as AuthContainer,Dr as AuthForm,yr as AuthLogo,Sr as AuthSecondary,Lr as AuthWrapper,Z as BoxActions,
|
|
1159
|
+
`;export{Tr as AuthActions,zr as AuthCap,Rr as AuthCheck,wr as AuthContainer,Dr as AuthForm,yr as AuthLogo,Sr as AuthSecondary,Lr as AuthWrapper,Z as BoxActions,W as BoxContent,U as BoxGrid,V as BoxWrapper,n as CtaButtonLarge,d as CtaButtonNormal,t as CtaButtonSmall,D as DeleteButtonLarge,L as DeleteButtonNormal,w as DeleteButtonSmall,Xr as EditList,Fr as EditSelect,Ir as EditTips,jr as EditUploadAvatar,Nr as EditUploadCover,Pr as EditWrapper,J as ErrorValidator,v as FocusButtonLarge,s as FocusButtonNormal,l as FocusButtonSmall,h as FocusPlainButtonLarge,g as FocusPlainButtonNormal,m as FocusPlainButtonSmall,z as GreyButtonLarge,R as GreyButtonNormal,S as GreyButtonSmall,rr as GreyDropdownNormal,N as GreyLinkButtonLarge,P as GreyLinkButtonNormal,T as GreyLinkButtonSmall,C as InputAdd,A as InputGroup,E as InputIcon,X as InputLarge,G as InputMandatory,F as InputNormal,B as InputSearch,I as InputSmall,q as LabelLarge,M as LabelNormal,Y as LabelSmall,u as MainButtonLarge,c as MainButtonNormal,p as MainButtonSmall,f as MainPlainButtonLarge,b as MainPlainButtonNormal,k as MainPlainButtonSmall,lr as Navbar,mr as NavbarCta,gr as NavbarList,sr as NavbarLogo,hr as NavbarMobile,vr as NavbarText,fr as PageAlwaysVisible,br as PageForty,xr as PageMobileHidden,pr as PagePaddings,cr as PageSamePaddings,kr as PageSixty,ur as PageTopPaddings,Or as Slider,Yr as SliderContainer,qr as SliderTitle,Mr as SliderWrapper,K as SuccessValidator,ir as TextareaLarge,or as TextareaNormal,er as TextareaSmall,$r as Theme,Q as TipValidator,y as WhitePlainButtonLarge,$ as WhitePlainButtonNormal,x as WhitePlainButtonSmall,tr as breakPoints,dr as breakSize,nr as device};
|
package/dist/index.js
CHANGED
|
@@ -669,7 +669,7 @@
|
|
|
669
669
|
display: none;
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
|
-
`,
|
|
672
|
+
`,X=a.default.div`
|
|
673
673
|
position: absolute;
|
|
674
674
|
top: 1.2rem;
|
|
675
675
|
right: 2rem;
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
height: var(--smallText);
|
|
679
679
|
fill: ${r=>"dark"===r.theme?"var(--gloomLight)":"var(--greyDark)"};
|
|
680
680
|
}
|
|
681
|
-
`,
|
|
681
|
+
`,U=a.default.div`
|
|
682
682
|
position: absolute;
|
|
683
683
|
top: 1.2rem;
|
|
684
684
|
right: 2rem;
|
|
@@ -687,12 +687,12 @@
|
|
|
687
687
|
height: var(--smallText);
|
|
688
688
|
fill: var(--error);
|
|
689
689
|
}
|
|
690
|
-
`,
|
|
690
|
+
`,Y=a.default.div`
|
|
691
691
|
display: flex;
|
|
692
692
|
align-items: center;
|
|
693
693
|
gap: 1rem;
|
|
694
694
|
margin: var(--tinyDist);
|
|
695
|
-
`,
|
|
695
|
+
`,_=a.default(Y)`
|
|
696
696
|
|
|
697
697
|
svg{
|
|
698
698
|
width: var(--smallIcon);
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
h6{
|
|
703
703
|
color: var(--error);
|
|
704
704
|
}
|
|
705
|
-
`,
|
|
705
|
+
`,q=a.default(Y)`
|
|
706
706
|
|
|
707
707
|
svg{
|
|
708
708
|
width: var(--smallIcon);
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
h6{
|
|
713
713
|
color: var(--success);
|
|
714
714
|
}
|
|
715
|
-
`,
|
|
715
|
+
`,H=a.default(Y)`
|
|
716
716
|
|
|
717
717
|
svg{
|
|
718
718
|
width: var(--smallIcon);
|
|
@@ -722,11 +722,11 @@
|
|
|
722
722
|
h6{
|
|
723
723
|
color: var(--greyDark);
|
|
724
724
|
}
|
|
725
|
-
`,
|
|
725
|
+
`,J=a.default.div`
|
|
726
726
|
display: grid;
|
|
727
727
|
grid-template-columns: repeat(${r=>r.columns}, 1fr);
|
|
728
728
|
grid-gap: 2rem;
|
|
729
|
-
`,
|
|
729
|
+
`,K=a.default.div`
|
|
730
730
|
display: flex;
|
|
731
731
|
flex-direction: column;
|
|
732
732
|
justify-content: space-between;
|
|
@@ -741,7 +741,7 @@
|
|
|
741
741
|
&:hover{
|
|
742
742
|
box-shadow: ${r=>"dark"===r.theme?"var(--outShineFocus)":"var(--outShadowFocus)"};
|
|
743
743
|
}
|
|
744
|
-
`,
|
|
744
|
+
`,Q=a.default.div`
|
|
745
745
|
|
|
746
746
|
`,Z=a.default.div`
|
|
747
747
|
display: flex;
|
|
@@ -1099,6 +1099,27 @@
|
|
|
1099
1099
|
height: 100vh;
|
|
1100
1100
|
width: 100%;
|
|
1101
1101
|
background: ${r=>"dark"===r.theme?"var(--blancOverlay)":"var(--blackOverlay)"};
|
|
1102
|
+
|
|
1103
|
+
.slider{
|
|
1104
|
+
|
|
1105
|
+
&-enter{
|
|
1106
|
+
transform: translateX(-110%);
|
|
1107
|
+
|
|
1108
|
+
&-active{
|
|
1109
|
+
transform: translateX(0);
|
|
1110
|
+
transition: all .5s ease;
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
&-exit{
|
|
1115
|
+
|
|
1116
|
+
&-active{
|
|
1117
|
+
transform: translateX(-110%);
|
|
1118
|
+
transition: all .5s ease;
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1102
1123
|
`,Gr=a.default.div`
|
|
1103
1124
|
position: fixed;
|
|
1104
1125
|
right: 0;
|
|
@@ -1135,4 +1156,4 @@
|
|
|
1135
1156
|
display: none;
|
|
1136
1157
|
}
|
|
1137
1158
|
}
|
|
1138
|
-
`;exports.AuthActions=Rr,exports.AuthCap=Tr,exports.AuthCheck=Br,exports.AuthContainer=Sr,exports.AuthForm=Pr,exports.AuthLogo=Lr,exports.AuthSecondary=Nr,exports.AuthWrapper=Dr,exports.BoxActions=Z,exports.BoxContent=
|
|
1159
|
+
`;exports.AuthActions=Rr,exports.AuthCap=Tr,exports.AuthCheck=Br,exports.AuthContainer=Sr,exports.AuthForm=Pr,exports.AuthLogo=Lr,exports.AuthSecondary=Nr,exports.AuthWrapper=Dr,exports.BoxActions=Z,exports.BoxContent=Q,exports.BoxGrid=J,exports.BoxWrapper=K,exports.CtaButtonLarge=n,exports.CtaButtonNormal=l,exports.CtaButtonSmall=d,exports.DeleteButtonLarge=D,exports.DeleteButtonNormal=S,exports.DeleteButtonSmall=L,exports.EditList=Mr,exports.EditSelect=Ar,exports.EditTips=jr,exports.EditUploadAvatar=Fr,exports.EditUploadCover=Ir,exports.EditWrapper=zr,exports.ErrorValidator=_,exports.FocusButtonLarge=m,exports.FocusButtonNormal=v,exports.FocusButtonSmall=s,exports.FocusPlainButtonLarge=u,exports.FocusPlainButtonNormal=p,exports.FocusPlainButtonSmall=g,exports.GreyButtonLarge=B,exports.GreyButtonNormal=N,exports.GreyButtonSmall=P,exports.GreyDropdownNormal=er,exports.GreyLinkButtonLarge=z,exports.GreyLinkButtonNormal=R,exports.GreyLinkButtonSmall=T,exports.InputAdd=O,exports.InputGroup=W,exports.InputIcon=X,exports.InputLarge=A,exports.InputMandatory=U,exports.InputNormal=j,exports.InputSearch=V,exports.InputSmall=F,exports.LabelLarge=E,exports.LabelNormal=G,exports.LabelSmall=C,exports.MainButtonLarge=f,exports.MainButtonNormal=c,exports.MainButtonSmall=h,exports.MainPlainButtonLarge=b,exports.MainPlainButtonNormal=x,exports.MainPlainButtonSmall=k,exports.Navbar=vr,exports.NavbarCta=pr,exports.NavbarList=ur,exports.NavbarLogo=mr,exports.NavbarMobile=hr,exports.NavbarText=gr,exports.PageAlwaysVisible=yr,exports.PageForty=br,exports.PageMobileHidden=$r,exports.PagePaddings=cr,exports.PageSamePaddings=fr,exports.PageSixty=xr,exports.PageTopPaddings=kr,exports.Slider=Cr,exports.SliderContainer=Gr,exports.SliderTitle=Wr,exports.SliderWrapper=Er,exports.SuccessValidator=q,exports.TextareaLarge=dr,exports.TextareaNormal=ir,exports.TextareaSmall=or,exports.Theme=wr,exports.TipValidator=H,exports.WhitePlainButtonLarge=w,exports.WhitePlainButtonNormal=$,exports.WhitePlainButtonSmall=y,exports.breakPoints=lr,exports.breakSize=nr,exports.device=sr;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monica-alexandria",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2",
|
|
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",
|
|
@@ -9,6 +9,27 @@ const Slider = styled.div`
|
|
|
9
9
|
height: 100vh;
|
|
10
10
|
width: 100%;
|
|
11
11
|
background: ${props => props.theme === 'dark' ? "var(--blancOverlay)" : "var(--blackOverlay)"};
|
|
12
|
+
|
|
13
|
+
.slider{
|
|
14
|
+
|
|
15
|
+
&-enter{
|
|
16
|
+
transform: translateX(-110%);
|
|
17
|
+
|
|
18
|
+
&-active{
|
|
19
|
+
transform: translateX(0);
|
|
20
|
+
transition: all .5s ease;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-exit{
|
|
25
|
+
|
|
26
|
+
&-active{
|
|
27
|
+
transform: translateX(-110%);
|
|
28
|
+
transition: all .5s ease;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
12
33
|
`
|
|
13
34
|
|
|
14
35
|
const SliderContainer = styled.div`
|