monica-alexandria 2.6.0 → 2.7.0
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 +35 -43
- package/dist/index.js +17 -25
- package/package.json +1 -1
- package/src/components/layout/Theme.jsx +33 -17
package/dist/index.es.js
CHANGED
|
@@ -308,7 +308,7 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
308
308
|
fill: var(--mainLight);
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
|
|
311
|
+
`,y=r(o)`
|
|
312
312
|
background: transparent;
|
|
313
313
|
border: 1px solid transparent;
|
|
314
314
|
|
|
@@ -330,7 +330,7 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
330
330
|
fill: ${r=>"dark"===r.theme?"var(--gloomDark)":"var(--greyLight)"};
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
|
|
333
|
+
`,$=r(i)`
|
|
334
334
|
background: transparent;
|
|
335
335
|
border: 1px solid transparent;
|
|
336
336
|
|
|
@@ -569,7 +569,7 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
569
569
|
fill: ${r=>"dark"===r.theme?"var(--gloom)":"var(--grey)"};
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
`,
|
|
572
|
+
`,F=r.input`
|
|
573
573
|
width: 100%;
|
|
574
574
|
border: none;
|
|
575
575
|
background: ${r=>"dark"===r.theme?"var(--dark)":"var(--white)"};
|
|
@@ -583,13 +583,13 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
583
583
|
outline: 0;
|
|
584
584
|
box-shadow: ${r=>"dark"===r.theme?"var(--insetShineFocus)":"var(--insetShadowFocus)"};
|
|
585
585
|
}
|
|
586
|
-
`,
|
|
586
|
+
`,I=r(F)`
|
|
587
587
|
padding: var(--inputSmallPads);
|
|
588
588
|
font-size: var(--inputSmallText);
|
|
589
|
-
`,
|
|
589
|
+
`,M=r(F)`
|
|
590
590
|
padding: var(--inputNormalPads);
|
|
591
591
|
font-size: var(--inputNormalText);
|
|
592
|
-
`,X=r(
|
|
592
|
+
`,X=r(F)`
|
|
593
593
|
padding: var(--inputLargePads);
|
|
594
594
|
font-size: var(--inputLargeText);
|
|
595
595
|
`,O=r.label`
|
|
@@ -1038,9 +1038,9 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1038
1038
|
100% {
|
|
1039
1039
|
transform: translate(0);
|
|
1040
1040
|
}
|
|
1041
|
-
`,$r=r.div`
|
|
1042
|
-
padding: 7rem 4rem 2rem 4rem;
|
|
1043
1041
|
`,yr=r.div`
|
|
1042
|
+
padding: 7rem 4rem 2rem 4rem;
|
|
1043
|
+
`,$r=r.div`
|
|
1044
1044
|
padding-top: 2rem 4rem;
|
|
1045
1045
|
`,wr=r.div`
|
|
1046
1046
|
padding-top: 7rem;
|
|
@@ -1070,51 +1070,43 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1070
1070
|
@media ${lr.md} {
|
|
1071
1071
|
display: none;
|
|
1072
1072
|
}
|
|
1073
|
-
`,zr=r.div`
|
|
1074
|
-
|
|
1075
|
-
transition-property: background;
|
|
1076
|
-
transition-duration: .5s;
|
|
1077
|
-
height: 100%;
|
|
1078
|
-
min-height: calc(100vh);
|
|
1073
|
+
`,zr={id:"light",background:"var(--light)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},Nr={id:"dark",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomLight)",mid:"var(--gloom)",high:"var(--gloomDark)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},Tr=r.div`
|
|
1074
|
+
min-height: 100vh;
|
|
1079
1075
|
width: 100%;
|
|
1080
|
-
|
|
1081
|
-
html{
|
|
1082
|
-
color: ${r=>"dark"===r.theme?"var(--blanc)":"var(--black)"};
|
|
1083
|
-
}
|
|
1076
|
+
background: ${r=>r.theme.background};
|
|
1084
1077
|
|
|
1085
1078
|
h1,h2,h3,h4,h5,h6,p{
|
|
1086
|
-
color: ${r=>
|
|
1087
|
-
transition: color .5s;
|
|
1079
|
+
color: ${r=>r.theme.color};
|
|
1088
1080
|
}
|
|
1089
|
-
`,
|
|
1081
|
+
`,Pr=r.div`
|
|
1090
1082
|
padding: var(--smallDist);
|
|
1091
1083
|
|
|
1092
1084
|
h4{
|
|
1093
1085
|
margin-bottom: 2rem;
|
|
1094
1086
|
}
|
|
1095
|
-
`,
|
|
1087
|
+
`,jr=r.div`
|
|
1096
1088
|
|
|
1097
|
-
`,
|
|
1089
|
+
`,Fr=r.div`
|
|
1098
1090
|
|
|
1099
|
-
`,
|
|
1091
|
+
`,Ir=r.div`
|
|
1100
1092
|
|
|
1101
1093
|
img{
|
|
1102
1094
|
height: 4rem;
|
|
1103
1095
|
}
|
|
1104
|
-
`,Ir=r.div`
|
|
1105
|
-
max-width: 45rem;
|
|
1106
1096
|
`,Mr=r.div`
|
|
1107
1097
|
max-width: 45rem;
|
|
1098
|
+
`,Xr=r.div`
|
|
1099
|
+
max-width: 45rem;
|
|
1108
1100
|
|
|
1109
1101
|
h1{
|
|
1110
1102
|
margin: var(--smallDist);
|
|
1111
1103
|
}
|
|
1112
|
-
`,
|
|
1104
|
+
`,Or=r.form`
|
|
1113
1105
|
padding: var(--normalDist);
|
|
1114
1106
|
background: ${r=>"dark"===r.theme?"var(--gloomDark)":"var(--greyLight)"};
|
|
1115
1107
|
border-radius: var(--normalRadius);
|
|
1116
1108
|
box-shadow: ${r=>"dark"===r.theme?"var(--outShine)":"var(--outShadow)"};
|
|
1117
|
-
`,
|
|
1109
|
+
`,Yr=r.div`
|
|
1118
1110
|
display: flex;
|
|
1119
1111
|
gap: 1rem;
|
|
1120
1112
|
align-items: center;
|
|
@@ -1126,7 +1118,7 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1126
1118
|
gap: .5rem;
|
|
1127
1119
|
align-items: center;
|
|
1128
1120
|
}
|
|
1129
|
-
`,
|
|
1121
|
+
`,qr=r.div`
|
|
1130
1122
|
display: flex;
|
|
1131
1123
|
align-items: flex-start;
|
|
1132
1124
|
gap: 1rem;
|
|
@@ -1134,17 +1126,17 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1134
1126
|
input{
|
|
1135
1127
|
margin-top: .3rem;
|
|
1136
1128
|
}
|
|
1137
|
-
`,
|
|
1129
|
+
`,Ar=r.div`
|
|
1138
1130
|
display: grid;
|
|
1139
1131
|
grid-template-columns: 1fr 1fr;
|
|
1140
1132
|
grid-gap: 1rem;
|
|
1141
1133
|
margin: 2rem 1rem;
|
|
1142
|
-
`,
|
|
1134
|
+
`,Br=r.div`
|
|
1143
1135
|
display: flex;
|
|
1144
1136
|
align-items: center;
|
|
1145
1137
|
justify-content: center;
|
|
1146
1138
|
margin-top: 4rem;
|
|
1147
|
-
`,
|
|
1139
|
+
`,Cr=r.div`
|
|
1148
1140
|
margin-bottom: 4rem;
|
|
1149
1141
|
|
|
1150
1142
|
section{
|
|
@@ -1153,7 +1145,7 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1153
1145
|
margin-bottom: 2rem;
|
|
1154
1146
|
}
|
|
1155
1147
|
}
|
|
1156
|
-
`,
|
|
1148
|
+
`,Er=r.div`
|
|
1157
1149
|
|
|
1158
1150
|
picture{
|
|
1159
1151
|
width: 100%;
|
|
@@ -1174,7 +1166,7 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1174
1166
|
display: flex;
|
|
1175
1167
|
gap: 1rem;
|
|
1176
1168
|
}
|
|
1177
|
-
`,
|
|
1169
|
+
`,Gr=r.div`
|
|
1178
1170
|
display: grid;
|
|
1179
1171
|
grid-template-columns: 20rem 1fr;
|
|
1180
1172
|
grid-gap: 2rem;
|
|
@@ -1199,7 +1191,7 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1199
1191
|
flex-direction: column;
|
|
1200
1192
|
gap: 1rem;
|
|
1201
1193
|
}
|
|
1202
|
-
`,
|
|
1194
|
+
`,Hr=r.ul`
|
|
1203
1195
|
background: ${r=>"dark"===r.theme?"var(--gloomDark)":"var(--greyLight)"};
|
|
1204
1196
|
padding: var(--smallDist);
|
|
1205
1197
|
border-radius: var(--smallRadius);
|
|
@@ -1224,7 +1216,7 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1224
1216
|
li{
|
|
1225
1217
|
margin-top: .5rem;
|
|
1226
1218
|
}
|
|
1227
|
-
`,
|
|
1219
|
+
`,Jr=r.div`
|
|
1228
1220
|
display: grid;
|
|
1229
1221
|
grid-template-columns: auto 1fr;
|
|
1230
1222
|
align-items: flex-start;
|
|
@@ -1234,7 +1226,7 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1234
1226
|
form{
|
|
1235
1227
|
margin-top: 4rem;
|
|
1236
1228
|
}
|
|
1237
|
-
`,
|
|
1229
|
+
`,Kr=r.div`
|
|
1238
1230
|
padding: var(--smallDist);
|
|
1239
1231
|
|
|
1240
1232
|
ul{
|
|
@@ -1250,14 +1242,14 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1250
1242
|
}
|
|
1251
1243
|
}
|
|
1252
1244
|
}
|
|
1253
|
-
`,
|
|
1245
|
+
`,Qr=r.div`
|
|
1254
1246
|
position: fixed;
|
|
1255
1247
|
top: 0;
|
|
1256
1248
|
left: 0;
|
|
1257
1249
|
z-index: 500;
|
|
1258
1250
|
height: 100vh;
|
|
1259
1251
|
width: 100%;
|
|
1260
|
-
`,
|
|
1252
|
+
`,Ur=r.div`
|
|
1261
1253
|
position: fixed;
|
|
1262
1254
|
top: 0;
|
|
1263
1255
|
left: 0;
|
|
@@ -1265,7 +1257,7 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1265
1257
|
height: 100vh;
|
|
1266
1258
|
width: 100%;
|
|
1267
1259
|
background: ${r=>"dark"===r.theme?"var(--blancOverlay)":"var(--blackOverlay)"};
|
|
1268
|
-
`,
|
|
1260
|
+
`,Vr=r.div`
|
|
1269
1261
|
position: fixed;
|
|
1270
1262
|
right: 0;
|
|
1271
1263
|
z-index: 502;
|
|
@@ -1283,11 +1275,11 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1283
1275
|
@media ${lr.sm} {
|
|
1284
1276
|
width: 100%;
|
|
1285
1277
|
}
|
|
1286
|
-
`,
|
|
1278
|
+
`,Wr=r.div`
|
|
1287
1279
|
max-height: calc(100vh - 9rem);
|
|
1288
1280
|
overflow-x: hidden;
|
|
1289
1281
|
overflow-y: auto;
|
|
1290
|
-
`,
|
|
1282
|
+
`,Zr=r.div`
|
|
1291
1283
|
display: flex;
|
|
1292
1284
|
align-items: center;
|
|
1293
1285
|
justify-content: space-between;
|
|
@@ -1302,4 +1294,4 @@ import r,{keyframes as a}from"styled-components";const e=r.button`
|
|
|
1302
1294
|
display: none;
|
|
1303
1295
|
}
|
|
1304
1296
|
}
|
|
1305
|
-
`;export{
|
|
1297
|
+
`;export{Br as AuthActions,Ar as AuthCap,qr as AuthCheck,Mr as AuthContainer,Or as AuthForm,Ir as AuthLogo,Yr as AuthSecondary,Xr as AuthWrapper,_ as BoxActions,Z as BoxContent,V as BoxGrid,W as BoxWrapper,jr as Container,l as CtaButtonLarge,n as CtaButtonNormal,d as CtaButtonSmall,S as DeleteButtonLarge,D as DeleteButtonNormal,L as DeleteButtonSmall,Kr as EditList,Jr as EditSelect,Hr as EditTips,Gr as EditUploadAvatar,Er as EditUploadCover,Cr as EditWrapper,K as ErrorValidator,m as FocusButtonLarge,v as FocusButtonNormal,s as FocusButtonSmall,c as FocusPlainButtonLarge,h as FocusPlainButtonNormal,g as FocusPlainButtonSmall,N as GreyButtonLarge,z as GreyButtonNormal,R as GreyButtonSmall,ar as GreyDropdownNormal,j as GreyLinkButtonLarge,P as GreyLinkButtonNormal,T as GreyLinkButtonSmall,E as InputAdd,B as InputGroup,G as InputIcon,X as InputLarge,H as InputMandatory,M as InputNormal,C as InputSearch,I as InputSmall,A as LabelLarge,q as LabelNormal,Y as LabelSmall,k as MainButtonLarge,u as MainButtonNormal,p as MainButtonSmall,x as MainPlainButtonLarge,f as MainPlainButtonNormal,b as MainPlainButtonSmall,sr as Navbar,gr as NavbarCta,pr as NavbarHam,ur as NavbarHamList,br as NavbarHamListItem,fr as NavbarHamMobileItem,kr as NavbarHamTitle,cr as NavbarList,vr as NavbarLogo,hr as NavbarRight,mr as NavbarText,Sr as PageAlwaysVisible,Dr as PageForty,Rr as PageMobileHidden,yr as PagePaddings,$r as PageSamePaddings,Lr as PageSixty,wr as PageTopPaddings,Fr as Section,xr as SlideIn,Qr as Slider,Ur as SliderBg,Vr as SliderContainer,Zr as SliderTitle,Wr as SliderWrapper,Q as SuccessValidator,tr as TextareaLarge,ir as TextareaNormal,or as TextareaSmall,Tr as Theme,Nr as ThemeDark,zr as ThemeLight,U as TipValidator,w as WhitePlainButtonLarge,$ as WhitePlainButtonNormal,y as WhitePlainButtonSmall,Pr as Wrapper,dr as breakPoints,nr as breakSize,lr as device};
|
package/dist/index.js
CHANGED
|
@@ -546,7 +546,7 @@
|
|
|
546
546
|
fill: ${r=>"dark"===r.theme?"var(--gloom)":"var(--grey)"};
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
`,
|
|
549
|
+
`,F=e.default(d)`
|
|
550
550
|
background: transparent;
|
|
551
551
|
border: 1px solid transparent;
|
|
552
552
|
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
fill: ${r=>"dark"===r.theme?"var(--gloom)":"var(--grey)"};
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
`,
|
|
572
|
+
`,I=e.default.input`
|
|
573
573
|
width: 100%;
|
|
574
574
|
border: none;
|
|
575
575
|
background: ${r=>"dark"===r.theme?"var(--dark)":"var(--white)"};
|
|
@@ -583,13 +583,13 @@
|
|
|
583
583
|
outline: 0;
|
|
584
584
|
box-shadow: ${r=>"dark"===r.theme?"var(--insetShineFocus)":"var(--insetShadowFocus)"};
|
|
585
585
|
}
|
|
586
|
-
`,
|
|
586
|
+
`,M=e.default(I)`
|
|
587
587
|
padding: var(--inputSmallPads);
|
|
588
588
|
font-size: var(--inputSmallText);
|
|
589
|
-
`,
|
|
589
|
+
`,j=e.default(I)`
|
|
590
590
|
padding: var(--inputNormalPads);
|
|
591
591
|
font-size: var(--inputNormalText);
|
|
592
|
-
`,A=e.default(
|
|
592
|
+
`,A=e.default(I)`
|
|
593
593
|
padding: var(--inputLargePads);
|
|
594
594
|
font-size: var(--inputLargeText);
|
|
595
595
|
`,C=e.default.label`
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
|
-
`,
|
|
657
|
+
`,O=e.default(H)`
|
|
658
658
|
|
|
659
659
|
aside{
|
|
660
660
|
display: block;
|
|
@@ -669,7 +669,7 @@
|
|
|
669
669
|
display: none;
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
|
-
`,
|
|
672
|
+
`,V=e.default.div`
|
|
673
673
|
position: absolute;
|
|
674
674
|
top: 1.2rem;
|
|
675
675
|
right: 2rem;
|
|
@@ -1071,20 +1071,12 @@
|
|
|
1071
1071
|
display: none;
|
|
1072
1072
|
}
|
|
1073
1073
|
`,Tr=e.default.div`
|
|
1074
|
-
|
|
1075
|
-
transition-property: background;
|
|
1076
|
-
transition-duration: .5s;
|
|
1077
|
-
height: 100%;
|
|
1078
|
-
min-height: calc(100vh);
|
|
1074
|
+
min-height: 100vh;
|
|
1079
1075
|
width: 100%;
|
|
1080
|
-
|
|
1081
|
-
html{
|
|
1082
|
-
color: ${r=>"dark"===r.theme?"var(--blanc)":"var(--black)"};
|
|
1083
|
-
}
|
|
1076
|
+
background: ${r=>r.theme.background};
|
|
1084
1077
|
|
|
1085
1078
|
h1,h2,h3,h4,h5,h6,p{
|
|
1086
|
-
color: ${r=>
|
|
1087
|
-
transition: color .5s;
|
|
1079
|
+
color: ${r=>r.theme.color};
|
|
1088
1080
|
}
|
|
1089
1081
|
`,Rr=e.default.div`
|
|
1090
1082
|
padding: var(--smallDist);
|
|
@@ -1094,16 +1086,16 @@
|
|
|
1094
1086
|
}
|
|
1095
1087
|
`,zr=e.default.div`
|
|
1096
1088
|
|
|
1097
|
-
`,
|
|
1089
|
+
`,Fr=e.default.div`
|
|
1098
1090
|
|
|
1099
|
-
`,
|
|
1091
|
+
`,Ir=e.default.div`
|
|
1100
1092
|
|
|
1101
1093
|
img{
|
|
1102
1094
|
height: 4rem;
|
|
1103
1095
|
}
|
|
1104
|
-
`,
|
|
1096
|
+
`,Mr=e.default.div`
|
|
1105
1097
|
max-width: 45rem;
|
|
1106
|
-
`,
|
|
1098
|
+
`,jr=e.default.div`
|
|
1107
1099
|
max-width: 45rem;
|
|
1108
1100
|
|
|
1109
1101
|
h1{
|
|
@@ -1174,7 +1166,7 @@
|
|
|
1174
1166
|
display: flex;
|
|
1175
1167
|
gap: 1rem;
|
|
1176
1168
|
}
|
|
1177
|
-
`,
|
|
1169
|
+
`,Or=e.default.div`
|
|
1178
1170
|
display: grid;
|
|
1179
1171
|
grid-template-columns: 20rem 1fr;
|
|
1180
1172
|
grid-gap: 2rem;
|
|
@@ -1199,7 +1191,7 @@
|
|
|
1199
1191
|
flex-direction: column;
|
|
1200
1192
|
gap: 1rem;
|
|
1201
1193
|
}
|
|
1202
|
-
`,
|
|
1194
|
+
`,Vr=e.default.ul`
|
|
1203
1195
|
background: ${r=>"dark"===r.theme?"var(--gloomDark)":"var(--greyLight)"};
|
|
1204
1196
|
padding: var(--smallDist);
|
|
1205
1197
|
border-radius: var(--smallRadius);
|
|
@@ -1302,4 +1294,4 @@
|
|
|
1302
1294
|
display: none;
|
|
1303
1295
|
}
|
|
1304
1296
|
}
|
|
1305
|
-
`;exports.AuthActions=Er,exports.AuthCap=Wr,exports.AuthCheck=Gr,exports.AuthContainer=
|
|
1297
|
+
`;exports.AuthActions=Er,exports.AuthCap=Wr,exports.AuthCheck=Gr,exports.AuthContainer=Mr,exports.AuthForm=Ar,exports.AuthLogo=Ir,exports.AuthSecondary=Cr,exports.AuthWrapper=jr,exports.BoxActions=rr,exports.BoxContent=Z,exports.BoxGrid=K,exports.BoxWrapper=Q,exports.Container=zr,exports.CtaButtonLarge=s,exports.CtaButtonNormal=n,exports.CtaButtonSmall=l,exports.DeleteButtonLarge=N,exports.DeleteButtonNormal=D,exports.DeleteButtonSmall=S,exports.EditList=Yr,exports.EditSelect=Ur,exports.EditTips=Vr,exports.EditUploadAvatar=Or,exports.EditUploadCover=Xr,exports.EditWrapper=Hr,exports.ErrorValidator=_,exports.FocusButtonLarge=g,exports.FocusButtonNormal=m,exports.FocusButtonSmall=v,exports.FocusPlainButtonLarge=h,exports.FocusPlainButtonNormal=p,exports.FocusPlainButtonSmall=u,exports.GreyButtonLarge=T,exports.GreyButtonNormal=B,exports.GreyButtonSmall=P,exports.GreyDropdownNormal=tr,exports.GreyLinkButtonLarge=F,exports.GreyLinkButtonNormal=z,exports.GreyLinkButtonSmall=R,exports.InputAdd=O,exports.InputGroup=H,exports.InputIcon=V,exports.InputLarge=A,exports.InputMandatory=U,exports.InputNormal=j,exports.InputSearch=X,exports.InputSmall=M,exports.LabelLarge=E,exports.LabelNormal=W,exports.LabelSmall=G,exports.MainButtonLarge=k,exports.MainButtonNormal=f,exports.MainButtonSmall=c,exports.MainPlainButtonLarge=y,exports.MainPlainButtonNormal=b,exports.MainPlainButtonSmall=x,exports.Navbar=mr,exports.NavbarCta=pr,exports.NavbarHam=fr,exports.NavbarHamList=kr,exports.NavbarHamListItem=br,exports.NavbarHamMobileItem=yr,exports.NavbarHamTitle=xr,exports.NavbarList=cr,exports.NavbarLogo=gr,exports.NavbarRight=hr,exports.NavbarText=ur,exports.PageAlwaysVisible=Pr,exports.PageForty=Nr,exports.PageMobileHidden=Br,exports.PagePaddings=wr,exports.PageSamePaddings=Lr,exports.PageSixty=Dr,exports.PageTopPaddings=Sr,exports.Section=Fr,exports.SlideIn=$r,exports.Slider=_r,exports.SliderBg=qr,exports.SliderContainer=Jr,exports.SliderTitle=Qr,exports.SliderWrapper=Kr,exports.SuccessValidator=q,exports.TextareaLarge=lr,exports.TextareaNormal=dr,exports.TextareaSmall=ir,exports.Theme=Tr,exports.ThemeDark={id:"dark",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomLight)",mid:"var(--gloom)",high:"var(--gloomDark)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},exports.ThemeLight={id:"light",background:"var(--light)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},exports.TipValidator=J,exports.WhitePlainButtonLarge=L,exports.WhitePlainButtonNormal=w,exports.WhitePlainButtonSmall=$,exports.Wrapper=Rr,exports.breakPoints=nr,exports.breakSize=sr,exports.device=vr;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monica-alexandria",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
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",
|
|
@@ -1,23 +1,39 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
export const ThemeLight = {
|
|
4
|
+
id: 'light',
|
|
5
|
+
background: 'var(--light)',
|
|
6
|
+
color: 'var(--black)',
|
|
7
|
+
low: 'var(--greyLight)',
|
|
8
|
+
mid: 'var(--grey)',
|
|
9
|
+
high: 'var(--greyDark)',
|
|
10
|
+
overlay: 'var(--blackOverlay)',
|
|
11
|
+
in: 'var(--insetShadow)',
|
|
12
|
+
inFocus: 'var(--insetShadowFocus)',
|
|
13
|
+
out: 'var(--outShadow)',
|
|
14
|
+
outFocus: 'var(--outShadowFocus)'
|
|
15
|
+
}
|
|
10
16
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
export const ThemeDark = {
|
|
18
|
+
id: 'dark',
|
|
19
|
+
background: 'var(--dark)',
|
|
20
|
+
color: 'var(--blanc)',
|
|
21
|
+
low: 'var(--gloomLight)',
|
|
22
|
+
mid: 'var(--gloom)',
|
|
23
|
+
high: 'var(--gloomDark)',
|
|
24
|
+
overlay: 'var(--blancOverlay)',
|
|
25
|
+
in: 'var(--insetShine)',
|
|
26
|
+
inFocus: 'var(--insetShineFocus)',
|
|
27
|
+
out: 'var(--outShine)',
|
|
28
|
+
outFocus: 'var(--outShineFocus)'
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export const Theme = styled.div`
|
|
32
|
+
min-height: 100vh;
|
|
33
|
+
width: 100%;
|
|
34
|
+
background: ${p => p.theme.background};
|
|
14
35
|
|
|
15
36
|
h1,h2,h3,h4,h5,h6,p{
|
|
16
|
-
color: ${
|
|
17
|
-
transition: color .5s;
|
|
37
|
+
color: ${p => p.theme.color};
|
|
18
38
|
}
|
|
19
|
-
`
|
|
20
|
-
|
|
21
|
-
export {
|
|
22
|
-
Theme
|
|
23
|
-
}
|
|
39
|
+
`
|