monica-alexandria 2.8.0 → 2.8.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 +213 -62
- package/dist/index.js +213 -62
- package/package.json +1 -1
- package/src/export/components/elements/button/Cta_.js +2 -1
- package/src/export/components/elements/button/Edit_.js +2 -1
- package/src/export/components/elements/button/Focus_.js +2 -1
- package/src/export/components/elements/button/Focus_Plain.js +2 -1
- package/src/export/components/elements/button/Grey_.js +2 -1
- package/src/export/components/elements/button/Grey_Link.js +2 -1
- package/src/export/components/elements/button/Main_.js +2 -1
- package/src/export/components/elements/button/Main_Plain.js +17 -16
- package/src/export/components/elements/button/White_Plain.js +2 -1
- package/src/export/components/elements/card/Card_Button.js +1 -1
- package/src/export/components/forms/Form_Input.js +2 -1
- package/src/export/index.js +2 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"react";import
|
|
1
|
+
import e from"react";import t from"styled-components";const r=t.button`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 1rem;
|
|
@@ -7,25 +7,25 @@ import"react";import r from"styled-components";const a=r.button`
|
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
transition-property: background, border;
|
|
9
9
|
transition-duration: .5s;
|
|
10
|
-
padding: ${
|
|
10
|
+
padding: ${e=>"noPads"===e.pads?"0":"small"===e.size?"var(--smallPads)":"large"===e.size?"var(--largePads)":"var(--normalPads)"};
|
|
11
11
|
|
|
12
12
|
svg{
|
|
13
13
|
transition-property: fill;
|
|
14
14
|
transition-duration: .5s;
|
|
15
|
-
width: ${
|
|
15
|
+
width: ${e=>"small"===e.size?"var(--smallIcon)":"large"===e.size?"var(--largeIcon)":"var(--normalIcon)"};
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
span{
|
|
19
19
|
white-space: nowrap;
|
|
20
20
|
transition-property: color;
|
|
21
21
|
transition-duration: .5s;
|
|
22
|
-
font-size: ${
|
|
22
|
+
font-size: ${e=>"small"===e.size?"var(--smallText)":"large"===e.size?"var(--largeText)":"var(--normalText)"};
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&:active{
|
|
26
26
|
transform: scale(.97);
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
`,n=t(r)`
|
|
29
29
|
background: linear-gradient(to right, var(--focus) -50%, var(--main) 150%);
|
|
30
30
|
border-radius: var(--normalRadius);
|
|
31
31
|
|
|
@@ -36,8 +36,8 @@ import"react";import r from"styled-components";const a=r.button`
|
|
|
36
36
|
&:hover{
|
|
37
37
|
background: linear-gradient(to right, var(--focus) -80%, var(--main) 120%);
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
40
|
-
background: ${
|
|
39
|
+
`,o=t=>e.createElement(n,{size:t.size,onClick:t.onClick},e.createElement("span",null,t.buttonText));function a(e){return e.Icon,React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 323.35 324.14"},React.createElement("g",{"data-name":"Layer 2"},React.createElement("g",{"data-name":"Layer 1"},React.createElement("path",{d:"M85.67 167.78c11.46-11.7 23.12-23.58 34.76-35.49 4.15-4.24 8.62-6.81 14.46-3.06 7 4.48 7.53 11.3.83 18-11.81 11.79-23.93 23.25-35.57 34.51l41.29 40.78c10.92-11 22.55-22.85 34.39-34.51 6.9-6.79 13.45-6.6 18.13.14 4.27 6.17 1.3 10.86-3.19 15.27-11.65 11.46-23.28 23-34.76 34.29 10.11 14.86 10.11 14.86-1.91 26.87q-4.71 4.71-9.42 9.41c-25.59 25.45-53.14 30-85.84 14.09-.89-.43-1.87-.67-4.17-1.48l-35 37.55L0 304.52l35.46-33.29c-3.5-14.79-7.62-26.43-8.76-38.35-1.91-20.16 6-37.35 20.26-51.6q6.16-6.15 12.31-12.32c11.86-11.85 11.86-11.85 26.4-1.18ZM267.71 38l35.77-38 19.87 20.11c-10.19 9.76-20.6 20-31.39 29.9-4.65 4.25-5.74 7.49-2.6 13.79 13.3 26.62 8.35 56.13-12.18 77.6-6.14 6.42-12.55 12.57-18.82 18.86-5.35 5.37-10.6 5.33-16 0-26.31-26.34-52.82-52.48-78.73-79.19-2.67-2.75-4.2-11-2.29-13.11 15.4-16.71 29.81-35.06 54.26-39.72 18.32-3.54 35.18.11 52.11 9.76Z"}))))}const i=t(r)`
|
|
40
|
+
background: ${e=>e.theme.background};
|
|
41
41
|
border: 1px solid var(--main);
|
|
42
42
|
border-radius: var(--normalRadius);
|
|
43
43
|
padding: 1rem ;
|
|
@@ -60,23 +60,23 @@ import"react";import r from"styled-components";const a=r.button`
|
|
|
60
60
|
color: var(--mainLight);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
`,
|
|
63
|
+
`,l=t=>e.createElement(i,{size:"normal",onClick:t.onClick},e.createElement(a,{Icon:t.buttonIcon})),d=t(r)`
|
|
64
64
|
background: var(--focus);
|
|
65
65
|
border-radius: var(--normalRadius);
|
|
66
66
|
border: 1px solid var(--focus);
|
|
67
67
|
|
|
68
68
|
span{
|
|
69
|
-
color: ${
|
|
69
|
+
color: ${e=>"dark"===e.theme?"var(--dark)":"var(--white)"};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
svg{
|
|
73
|
-
fill: ${
|
|
73
|
+
fill: ${e=>"dark"===e.theme?"var(--dark)":"var(--white)"};
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
&:hover{
|
|
77
77
|
background: var(--focusLight);
|
|
78
78
|
}
|
|
79
|
-
`,
|
|
79
|
+
`,c=t=>e.createElement(d,{size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(a,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(a,{Icon:t.buttonIconRight}):null),s=t(r)`
|
|
80
80
|
background: transparent;
|
|
81
81
|
border: 1px solid transparent;
|
|
82
82
|
|
|
@@ -98,24 +98,24 @@ import"react";import r from"styled-components";const a=r.button`
|
|
|
98
98
|
fill: var(--focusLight);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
`,
|
|
102
|
-
background: ${
|
|
103
|
-
border: 1px solid ${
|
|
101
|
+
`,m=t=>e.createElement(s,{size:t.size,onClick:t.onClick,onFocus:t.onFocus},t.buttonIconLeft?e.createElement(a,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(a,{Icon:t.buttonIconRight}):null),u=t(r)`
|
|
102
|
+
background: ${e=>"dark"===e.theme?"var(--gloom)":"var(--grey)"};
|
|
103
|
+
border: 1px solid ${e=>"dark"===e.theme?"var(--gloom)":"var(--grey)"};
|
|
104
104
|
border-radius: var(--normalRadius);
|
|
105
105
|
|
|
106
106
|
span{
|
|
107
|
-
color: ${
|
|
107
|
+
color: ${e=>"dark"===e.theme?"var(--red)":"var(--black)"};
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
svg{
|
|
111
|
-
fill: ${
|
|
111
|
+
fill: ${e=>"dark"===e.theme?"var(--blanc)":"var(--black)"};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
&:hover{
|
|
115
|
-
background: ${
|
|
116
|
-
border: 1px solid ${
|
|
115
|
+
background: ${e=>"dark"===e.theme?"var(--gloomDark)":"var(--greyLight)"};
|
|
116
|
+
border: 1px solid ${e=>"dark"===e.theme?"var(--gloomDark)":"var(--greyLight)"};
|
|
117
117
|
}
|
|
118
|
-
`,
|
|
118
|
+
`,g=t=>e.createElement(u,{size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(a,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(a,{Icon:t.buttonIconRight}):null),p=t(r)`
|
|
119
119
|
background: transparent;
|
|
120
120
|
border: 1px solid transparent;
|
|
121
121
|
|
|
@@ -131,14 +131,14 @@ import"react";import r from"styled-components";const a=r.button`
|
|
|
131
131
|
&:hover{
|
|
132
132
|
|
|
133
133
|
span{
|
|
134
|
-
color: ${
|
|
134
|
+
color: ${e=>e.theme.low};
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
svg{
|
|
138
|
-
fill: ${
|
|
138
|
+
fill: ${e=>e.theme.low};
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
`,
|
|
141
|
+
`,h=t=>e.createElement(p,{size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(a,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(a,{Icon:t.buttonIconRight}):null),v=t(r)`
|
|
142
142
|
background: var(--main);
|
|
143
143
|
border-radius: var(--normalRadius);
|
|
144
144
|
border: 1px solid var(--main);
|
|
@@ -155,52 +155,52 @@ import"react";import r from"styled-components";const a=r.button`
|
|
|
155
155
|
background: var(--mainLight);
|
|
156
156
|
border: 1px solid var(--mainLight);
|
|
157
157
|
}
|
|
158
|
-
`,
|
|
159
|
-
background: transparent;
|
|
160
|
-
border: 1px solid transparent;
|
|
161
|
-
|
|
162
|
-
span{
|
|
163
|
-
color: var(--main);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
svg{
|
|
167
|
-
fill: var(--main);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&:hover{
|
|
158
|
+
`,b=t=>e.createElement(v,{className:t.className,size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(a,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(a,{Icon:t.buttonIconRight}):null),f=t(r)`
|
|
159
|
+
background: transparent;
|
|
160
|
+
border: 1px solid transparent;
|
|
171
161
|
|
|
172
162
|
span{
|
|
173
|
-
color: var(--
|
|
163
|
+
color: var(--main);
|
|
174
164
|
}
|
|
175
165
|
|
|
176
166
|
svg{
|
|
177
|
-
fill: var(--
|
|
167
|
+
fill: var(--main);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&:hover{
|
|
171
|
+
|
|
172
|
+
span{
|
|
173
|
+
color: var(--mainLight);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
svg{
|
|
177
|
+
fill: var(--mainLight);
|
|
178
|
+
}
|
|
178
179
|
}
|
|
179
|
-
}
|
|
180
|
-
`,r(a)`
|
|
180
|
+
`,k=t=>e.createElement(f,{size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(a,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(a,{Icon:t.buttonIconRight}):null),x=t(r)`
|
|
181
181
|
background: transparent;
|
|
182
182
|
border: 1px solid transparent;
|
|
183
183
|
|
|
184
184
|
span{
|
|
185
|
-
color: ${
|
|
185
|
+
color: ${e=>e.theme.background};
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
svg{
|
|
189
|
-
fill: ${
|
|
189
|
+
fill: ${e=>e.theme.background};
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
&:hover{
|
|
193
193
|
|
|
194
194
|
span{
|
|
195
|
-
color: ${
|
|
195
|
+
color: ${e=>e.theme.low};
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
svg{
|
|
199
|
-
fill: ${
|
|
199
|
+
fill: ${e=>e.theme.low};
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
|
|
203
|
-
box-shadow: ${
|
|
202
|
+
`,w=t=>e.createElement(x,{size:t.size,onClick:t.onClick},t.buttonIconLeft?e.createElement(a,{Icon:t.buttonIconLeft}):null,t.buttonText?e.createElement("span",null,t.buttonText):null,t.buttonIconRight?e.createElement(a,{Icon:t.buttonIconRight}):null),I=t.div`
|
|
203
|
+
box-shadow: ${e=>e.theme.out};
|
|
204
204
|
border-radius: var(--smallRadius);
|
|
205
205
|
transition: box-shadow .5s;
|
|
206
206
|
overflow: hidden;
|
|
@@ -221,23 +221,23 @@ svg{
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
&:hover{
|
|
224
|
-
box-shadow: ${
|
|
224
|
+
box-shadow: ${e=>e.theme.outFocus};
|
|
225
225
|
transition: box-shadow .5s;
|
|
226
226
|
}
|
|
227
|
-
`,
|
|
227
|
+
`,y=t(I)`
|
|
228
228
|
|
|
229
229
|
header{
|
|
230
230
|
display: flex;
|
|
231
231
|
align-items: center;
|
|
232
232
|
justify-content: center;
|
|
233
|
-
background-color: ${
|
|
233
|
+
background-color: ${e=>e.theme.low};
|
|
234
234
|
|
|
235
235
|
picture{
|
|
236
236
|
height: 15rem;
|
|
237
237
|
width: 15rem;
|
|
238
238
|
border-radius: 50%;
|
|
239
239
|
overflow: hidden;
|
|
240
|
-
background-color: ${
|
|
240
|
+
background-color: ${e=>e.theme.mid};
|
|
241
241
|
display: flex;
|
|
242
242
|
align-items: center;
|
|
243
243
|
justify-content: center;
|
|
@@ -255,7 +255,7 @@ svg{
|
|
|
255
255
|
align-items: center;
|
|
256
256
|
justify-content: center;
|
|
257
257
|
}
|
|
258
|
-
`;
|
|
258
|
+
`;t(I)`
|
|
259
259
|
cursor: pointer;
|
|
260
260
|
|
|
261
261
|
header{
|
|
@@ -296,7 +296,7 @@ svg{
|
|
|
296
296
|
padding: 1rem 2rem;
|
|
297
297
|
|
|
298
298
|
h5,h3{
|
|
299
|
-
text-align: ${
|
|
299
|
+
text-align: ${e=>e.center?"center":"left"};
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
ul{
|
|
@@ -317,12 +317,12 @@ svg{
|
|
|
317
317
|
padding: 1rem 0;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
`;const
|
|
320
|
+
`;const $=t.input`
|
|
321
321
|
width: 100%;
|
|
322
322
|
border: none;
|
|
323
|
-
background: ${
|
|
324
|
-
color: ${
|
|
325
|
-
box-shadow: ${
|
|
323
|
+
background: ${e=>e.theme.background};
|
|
324
|
+
color: ${e=>e.theme.color};
|
|
325
|
+
box-shadow: ${e=>e.theme.in};
|
|
326
326
|
border-radius: var(--smallRadius);
|
|
327
327
|
transition-property: box-shadow;
|
|
328
328
|
transition-duration: .5s;
|
|
@@ -336,15 +336,15 @@ svg{
|
|
|
336
336
|
|
|
337
337
|
&:focus{
|
|
338
338
|
outline: 0;
|
|
339
|
-
box-shadow: ${
|
|
339
|
+
box-shadow: ${e=>e.theme.inFocus};
|
|
340
340
|
}
|
|
341
|
-
`,t
|
|
342
|
-
color: ${
|
|
343
|
-
|
|
341
|
+
`,E=t.label`
|
|
342
|
+
color: ${e=>e.theme.color};
|
|
343
|
+
`,L=t($)`
|
|
344
344
|
padding-top: 3rem;
|
|
345
|
-
`,
|
|
345
|
+
`,z=t(E)`
|
|
346
346
|
font-size: var(--smallText);
|
|
347
|
-
`,
|
|
347
|
+
`,R=t.div`
|
|
348
348
|
position: relative;
|
|
349
349
|
|
|
350
350
|
label{
|
|
@@ -396,4 +396,155 @@ svg{
|
|
|
396
396
|
display: none;
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
|
|
399
|
+
`,T=t=>e.createElement(R,null,e.createElement(L,{placeholder:t.placeholder}),e.createElement(z,null,t.placeholder)),C=`(max-width: ${`${576}px`})`,j=`(max-width: ${`${768}px`})`,F=`(max-width: ${`${992}px`})`,D=`(max-width: ${`${1440}px`})`,P=t.div`
|
|
400
|
+
padding-top: 6rem;
|
|
401
|
+
position: relative;
|
|
402
|
+
|
|
403
|
+
.HideScroll{
|
|
404
|
+
height: calc(100vh - 6rem);
|
|
405
|
+
overflow: hidden;
|
|
406
|
+
}
|
|
407
|
+
`,V=t.div`
|
|
408
|
+
display: grid;
|
|
409
|
+
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
410
|
+
grid-gap: 4rem;
|
|
411
|
+
padding: 0 4rem;
|
|
412
|
+
|
|
413
|
+
@media ${F} {
|
|
414
|
+
grid-template-columns: 1fr;
|
|
415
|
+
}
|
|
416
|
+
`,q=t.div`
|
|
417
|
+
display: grid;
|
|
418
|
+
grid-template-columns: 1fr 40%;
|
|
419
|
+
grid-gap: 4rem;
|
|
420
|
+
padding: 0 4rem;
|
|
421
|
+
|
|
422
|
+
@media ${F} {
|
|
423
|
+
grid-template-columns: 1fr;
|
|
424
|
+
}
|
|
425
|
+
`,B=t.div`
|
|
426
|
+
padding: 0 4rem 2rem 13rem;
|
|
427
|
+
`,H=t.div`
|
|
428
|
+
width: 100%;
|
|
429
|
+
`,A=t.div`
|
|
430
|
+
width: 100%;
|
|
431
|
+
|
|
432
|
+
@media ${F} {
|
|
433
|
+
display: none;
|
|
434
|
+
}
|
|
435
|
+
`,M=t.div`
|
|
436
|
+
padding-top: 8rem;
|
|
437
|
+
`,N=t.div`
|
|
438
|
+
padding: 2rem 0;
|
|
439
|
+
`,Y=t.div`
|
|
440
|
+
|
|
441
|
+
`,Z=t.div`
|
|
442
|
+
position: relative;
|
|
443
|
+
|
|
444
|
+
header{
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
`,S=t.div`
|
|
451
|
+
padding-left: 4rem;
|
|
452
|
+
`,X=t.div`
|
|
453
|
+
padding-right: 4rem;
|
|
454
|
+
`,G=t(V)`
|
|
455
|
+
padding: 0;
|
|
456
|
+
|
|
457
|
+
aside{
|
|
458
|
+
|
|
459
|
+
header{
|
|
460
|
+
position: relative;
|
|
461
|
+
|
|
462
|
+
picture{
|
|
463
|
+
width: 100%;
|
|
464
|
+
aspect-ratio: 3 / 2;
|
|
465
|
+
display: block;
|
|
466
|
+
overflow: hidden;
|
|
467
|
+
|
|
468
|
+
img{
|
|
469
|
+
height: 100%;
|
|
470
|
+
width: 100%;
|
|
471
|
+
object-fit: cover;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
figure{
|
|
476
|
+
position: absolute;
|
|
477
|
+
bottom: -10rem;
|
|
478
|
+
left: calc(50%);
|
|
479
|
+
transform: translateX(-50%);
|
|
480
|
+
height: 20rem;
|
|
481
|
+
width: 20rem;
|
|
482
|
+
border-radius: 50%;
|
|
483
|
+
overflow: hidden;
|
|
484
|
+
border: 2px solid ${e=>e.theme.background};
|
|
485
|
+
|
|
486
|
+
img{
|
|
487
|
+
height: 100%;
|
|
488
|
+
width: 100%;
|
|
489
|
+
object-fit: cover;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
footer{
|
|
495
|
+
padding: 2rem 4rem;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
main{
|
|
500
|
+
padding: 2rem 4rem;
|
|
501
|
+
display: flex;
|
|
502
|
+
flex-direction: column;
|
|
503
|
+
gap: 4rem;
|
|
504
|
+
}
|
|
505
|
+
`,J=t.div`
|
|
506
|
+
padding: 10rem 1rem 2rem 1rem;
|
|
507
|
+
text-align: center;
|
|
508
|
+
`,K=t.div`
|
|
509
|
+
display: flex;
|
|
510
|
+
align-items: center;
|
|
511
|
+
gap: 1rem;
|
|
512
|
+
`,O=t.div`
|
|
513
|
+
display: grid;
|
|
514
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
515
|
+
align-items: flex-start;
|
|
516
|
+
grid-gap: 2rem;
|
|
517
|
+
|
|
518
|
+
@media ${D}{
|
|
519
|
+
grid-template-columns: 1fr 1fr;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
@media ${F}{
|
|
523
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
@media ${j}{
|
|
527
|
+
grid-template-columns: 1fr 1fr;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
@media ${C}{
|
|
531
|
+
grid-template-columns: 1fr;
|
|
532
|
+
}
|
|
533
|
+
`,Q=t.div`
|
|
534
|
+
width: 100%;
|
|
535
|
+
min-height: 100vh;
|
|
536
|
+
background: ${e=>e.theme.background};
|
|
537
|
+
transition-property: background;
|
|
538
|
+
transition-duration: .5s;
|
|
539
|
+
|
|
540
|
+
h1,h2,h3,h4,h5,h6,p{
|
|
541
|
+
color: ${e=>e.theme.color};
|
|
542
|
+
transition-property: color;
|
|
543
|
+
transition-duration: .5s;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
nav,div,button,section,main,aside{
|
|
547
|
+
transition-property: background;
|
|
548
|
+
transition-duration: .5s;
|
|
549
|
+
}
|
|
550
|
+
`;export{y as CardButton,o as Cta_,l as Edit_,c as Focus_,m as Focus_Plain,R as FormGroup,L as FormInput,z as FormLabel,T as Form_Input,g as Grey_,h as Grey_Link,b as Main_,k as Main_Plain,P as Page,H as PageAlwaysVisible,O as PageCards,A as PageDesktopOnly,M as PageDesktopPadding,V as PageForty,Y as PageSingle,Z as PageSingleHeader,X as PageSingleRight,S as PageSingleleft,q as PageSixty,G as PageSub,K as PageSubActions,J as PageSubTitle,N as PageTitle,B as PageTools,Q as Theme,w as White_Plain};
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";function r(
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("styled-components");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(e),o=r(t);const n=o.default.button`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 1rem;
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
transition-property: background, border;
|
|
9
9
|
transition-duration: .5s;
|
|
10
|
-
padding: ${
|
|
10
|
+
padding: ${e=>"noPads"===e.pads?"0":"small"===e.size?"var(--smallPads)":"large"===e.size?"var(--largePads)":"var(--normalPads)"};
|
|
11
11
|
|
|
12
12
|
svg{
|
|
13
13
|
transition-property: fill;
|
|
14
14
|
transition-duration: .5s;
|
|
15
|
-
width: ${
|
|
15
|
+
width: ${e=>"small"===e.size?"var(--smallIcon)":"large"===e.size?"var(--largeIcon)":"var(--normalIcon)"};
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
span{
|
|
19
19
|
white-space: nowrap;
|
|
20
20
|
transition-property: color;
|
|
21
21
|
transition-duration: .5s;
|
|
22
|
-
font-size: ${
|
|
22
|
+
font-size: ${e=>"small"===e.size?"var(--smallText)":"large"===e.size?"var(--largeText)":"var(--normalText)"};
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
&:active{
|
|
26
26
|
transform: scale(.97);
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
`,l=o.default(n)`
|
|
29
29
|
background: linear-gradient(to right, var(--focus) -50%, var(--main) 150%);
|
|
30
30
|
border-radius: var(--normalRadius);
|
|
31
31
|
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
&:hover{
|
|
37
37
|
background: linear-gradient(to right, var(--focus) -80%, var(--main) 120%);
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
background: ${
|
|
39
|
+
`;function i(e){return e.Icon,React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 323.35 324.14"},React.createElement("g",{"data-name":"Layer 2"},React.createElement("g",{"data-name":"Layer 1"},React.createElement("path",{d:"M85.67 167.78c11.46-11.7 23.12-23.58 34.76-35.49 4.15-4.24 8.62-6.81 14.46-3.06 7 4.48 7.53 11.3.83 18-11.81 11.79-23.93 23.25-35.57 34.51l41.29 40.78c10.92-11 22.55-22.85 34.39-34.51 6.9-6.79 13.45-6.6 18.13.14 4.27 6.17 1.3 10.86-3.19 15.27-11.65 11.46-23.28 23-34.76 34.29 10.11 14.86 10.11 14.86-1.91 26.87q-4.71 4.71-9.42 9.41c-25.59 25.45-53.14 30-85.84 14.09-.89-.43-1.87-.67-4.17-1.48l-35 37.55L0 304.52l35.46-33.29c-3.5-14.79-7.62-26.43-8.76-38.35-1.91-20.16 6-37.35 20.26-51.6q6.16-6.15 12.31-12.32c11.86-11.85 11.86-11.85 26.4-1.18ZM267.71 38l35.77-38 19.87 20.11c-10.19 9.76-20.6 20-31.39 29.9-4.65 4.25-5.74 7.49-2.6 13.79 13.3 26.62 8.35 56.13-12.18 77.6-6.14 6.42-12.55 12.57-18.82 18.86-5.35 5.37-10.6 5.33-16 0-26.31-26.34-52.82-52.48-78.73-79.19-2.67-2.75-4.2-11-2.29-13.11 15.4-16.71 29.81-35.06 54.26-39.72 18.32-3.54 35.18.11 52.11 9.76Z"}))))}const d=o.default(n)`
|
|
40
|
+
background: ${e=>e.theme.background};
|
|
41
41
|
border: 1px solid var(--main);
|
|
42
42
|
border-radius: var(--normalRadius);
|
|
43
43
|
padding: 1rem ;
|
|
@@ -60,23 +60,23 @@
|
|
|
60
60
|
color: var(--mainLight);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
`,
|
|
63
|
+
`,s=o.default(n)`
|
|
64
64
|
background: var(--focus);
|
|
65
65
|
border-radius: var(--normalRadius);
|
|
66
66
|
border: 1px solid var(--focus);
|
|
67
67
|
|
|
68
68
|
span{
|
|
69
|
-
color: ${
|
|
69
|
+
color: ${e=>"dark"===e.theme?"var(--dark)":"var(--white)"};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
svg{
|
|
73
|
-
fill: ${
|
|
73
|
+
fill: ${e=>"dark"===e.theme?"var(--dark)":"var(--white)"};
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
&:hover{
|
|
77
77
|
background: var(--focusLight);
|
|
78
78
|
}
|
|
79
|
-
`,
|
|
79
|
+
`,u=o.default(n)`
|
|
80
80
|
background: transparent;
|
|
81
81
|
border: 1px solid transparent;
|
|
82
82
|
|
|
@@ -98,24 +98,24 @@
|
|
|
98
98
|
fill: var(--focusLight);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
`,
|
|
102
|
-
background: ${
|
|
103
|
-
border: 1px solid ${
|
|
101
|
+
`,c=o.default(n)`
|
|
102
|
+
background: ${e=>"dark"===e.theme?"var(--gloom)":"var(--grey)"};
|
|
103
|
+
border: 1px solid ${e=>"dark"===e.theme?"var(--gloom)":"var(--grey)"};
|
|
104
104
|
border-radius: var(--normalRadius);
|
|
105
105
|
|
|
106
106
|
span{
|
|
107
|
-
color: ${
|
|
107
|
+
color: ${e=>"dark"===e.theme?"var(--red)":"var(--black)"};
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
svg{
|
|
111
|
-
fill: ${
|
|
111
|
+
fill: ${e=>"dark"===e.theme?"var(--blanc)":"var(--black)"};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
&:hover{
|
|
115
|
-
background: ${
|
|
116
|
-
border: 1px solid ${
|
|
115
|
+
background: ${e=>"dark"===e.theme?"var(--gloomDark)":"var(--greyLight)"};
|
|
116
|
+
border: 1px solid ${e=>"dark"===e.theme?"var(--gloomDark)":"var(--greyLight)"};
|
|
117
117
|
}
|
|
118
|
-
`,
|
|
118
|
+
`,m=o.default(n)`
|
|
119
119
|
background: transparent;
|
|
120
120
|
border: 1px solid transparent;
|
|
121
121
|
|
|
@@ -131,14 +131,14 @@
|
|
|
131
131
|
&:hover{
|
|
132
132
|
|
|
133
133
|
span{
|
|
134
|
-
color: ${
|
|
134
|
+
color: ${e=>e.theme.low};
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
svg{
|
|
138
|
-
fill: ${
|
|
138
|
+
fill: ${e=>e.theme.low};
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
`,
|
|
141
|
+
`,p=o.default(n)`
|
|
142
142
|
background: var(--main);
|
|
143
143
|
border-radius: var(--normalRadius);
|
|
144
144
|
border: 1px solid var(--main);
|
|
@@ -155,52 +155,52 @@
|
|
|
155
155
|
background: var(--mainLight);
|
|
156
156
|
border: 1px solid var(--mainLight);
|
|
157
157
|
}
|
|
158
|
-
`,
|
|
159
|
-
background: transparent;
|
|
160
|
-
border: 1px solid transparent;
|
|
161
|
-
|
|
162
|
-
span{
|
|
163
|
-
color: var(--main);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
svg{
|
|
167
|
-
fill: var(--main);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&:hover{
|
|
158
|
+
`,g=o.default(n)`
|
|
159
|
+
background: transparent;
|
|
160
|
+
border: 1px solid transparent;
|
|
171
161
|
|
|
172
162
|
span{
|
|
173
|
-
color: var(--
|
|
163
|
+
color: var(--main);
|
|
174
164
|
}
|
|
175
165
|
|
|
176
166
|
svg{
|
|
177
|
-
fill: var(--
|
|
167
|
+
fill: var(--main);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&:hover{
|
|
171
|
+
|
|
172
|
+
span{
|
|
173
|
+
color: var(--mainLight);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
svg{
|
|
177
|
+
fill: var(--mainLight);
|
|
178
|
+
}
|
|
178
179
|
}
|
|
179
|
-
|
|
180
|
-
`,a.default(e)`
|
|
180
|
+
`,f=o.default(n)`
|
|
181
181
|
background: transparent;
|
|
182
182
|
border: 1px solid transparent;
|
|
183
183
|
|
|
184
184
|
span{
|
|
185
|
-
color: ${
|
|
185
|
+
color: ${e=>e.theme.background};
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
svg{
|
|
189
|
-
fill: ${
|
|
189
|
+
fill: ${e=>e.theme.background};
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
&:hover{
|
|
193
193
|
|
|
194
194
|
span{
|
|
195
|
-
color: ${
|
|
195
|
+
color: ${e=>e.theme.low};
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
svg{
|
|
199
|
-
fill: ${
|
|
199
|
+
fill: ${e=>e.theme.low};
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
|
|
203
|
-
box-shadow: ${
|
|
202
|
+
`,h=o.default.div`
|
|
203
|
+
box-shadow: ${e=>e.theme.out};
|
|
204
204
|
border-radius: var(--smallRadius);
|
|
205
205
|
transition: box-shadow .5s;
|
|
206
206
|
overflow: hidden;
|
|
@@ -221,23 +221,23 @@ svg{
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
&:hover{
|
|
224
|
-
box-shadow: ${
|
|
224
|
+
box-shadow: ${e=>e.theme.outFocus};
|
|
225
225
|
transition: box-shadow .5s;
|
|
226
226
|
}
|
|
227
|
-
`,
|
|
227
|
+
`,v=o.default(h)`
|
|
228
228
|
|
|
229
229
|
header{
|
|
230
230
|
display: flex;
|
|
231
231
|
align-items: center;
|
|
232
232
|
justify-content: center;
|
|
233
|
-
background-color: ${
|
|
233
|
+
background-color: ${e=>e.theme.low};
|
|
234
234
|
|
|
235
235
|
picture{
|
|
236
236
|
height: 15rem;
|
|
237
237
|
width: 15rem;
|
|
238
238
|
border-radius: 50%;
|
|
239
239
|
overflow: hidden;
|
|
240
|
-
background-color: ${
|
|
240
|
+
background-color: ${e=>e.theme.mid};
|
|
241
241
|
display: flex;
|
|
242
242
|
align-items: center;
|
|
243
243
|
justify-content: center;
|
|
@@ -255,7 +255,7 @@ svg{
|
|
|
255
255
|
align-items: center;
|
|
256
256
|
justify-content: center;
|
|
257
257
|
}
|
|
258
|
-
`;
|
|
258
|
+
`;o.default(h)`
|
|
259
259
|
cursor: pointer;
|
|
260
260
|
|
|
261
261
|
header{
|
|
@@ -296,7 +296,7 @@ svg{
|
|
|
296
296
|
padding: 1rem 2rem;
|
|
297
297
|
|
|
298
298
|
h5,h3{
|
|
299
|
-
text-align: ${
|
|
299
|
+
text-align: ${e=>e.center?"center":"left"};
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
ul{
|
|
@@ -317,12 +317,12 @@ svg{
|
|
|
317
317
|
padding: 1rem 0;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
`;const
|
|
320
|
+
`;const b=o.default.input`
|
|
321
321
|
width: 100%;
|
|
322
322
|
border: none;
|
|
323
|
-
background: ${
|
|
324
|
-
color: ${
|
|
325
|
-
box-shadow: ${
|
|
323
|
+
background: ${e=>e.theme.background};
|
|
324
|
+
color: ${e=>e.theme.color};
|
|
325
|
+
box-shadow: ${e=>e.theme.in};
|
|
326
326
|
border-radius: var(--smallRadius);
|
|
327
327
|
transition-property: box-shadow;
|
|
328
328
|
transition-duration: .5s;
|
|
@@ -336,15 +336,15 @@ svg{
|
|
|
336
336
|
|
|
337
337
|
&:focus{
|
|
338
338
|
outline: 0;
|
|
339
|
-
box-shadow: ${
|
|
339
|
+
box-shadow: ${e=>e.theme.inFocus};
|
|
340
340
|
}
|
|
341
|
-
`,
|
|
342
|
-
color: ${
|
|
343
|
-
|
|
341
|
+
`,x=o.default.label`
|
|
342
|
+
color: ${e=>e.theme.color};
|
|
343
|
+
`,k=o.default(b)`
|
|
344
344
|
padding-top: 3rem;
|
|
345
|
-
`,
|
|
345
|
+
`,w=o.default(x)`
|
|
346
346
|
font-size: var(--smallText);
|
|
347
|
-
`,
|
|
347
|
+
`,y=o.default.div`
|
|
348
348
|
position: relative;
|
|
349
349
|
|
|
350
350
|
label{
|
|
@@ -396,4 +396,155 @@ svg{
|
|
|
396
396
|
display: none;
|
|
397
397
|
}
|
|
398
398
|
}
|
|
399
|
-
`,
|
|
399
|
+
`,I=`(max-width: ${`${576}px`})`,$=`(max-width: ${`${768}px`})`,E=`(max-width: ${`${992}px`})`,L=`(max-width: ${`${1440}px`})`,R=o.default.div`
|
|
400
|
+
padding-top: 6rem;
|
|
401
|
+
position: relative;
|
|
402
|
+
|
|
403
|
+
.HideScroll{
|
|
404
|
+
height: calc(100vh - 6rem);
|
|
405
|
+
overflow: hidden;
|
|
406
|
+
}
|
|
407
|
+
`,z=o.default.div`
|
|
408
|
+
display: grid;
|
|
409
|
+
grid-template-columns: minmax(40rem, 40%) 1fr;
|
|
410
|
+
grid-gap: 4rem;
|
|
411
|
+
padding: 0 4rem;
|
|
412
|
+
|
|
413
|
+
@media ${E} {
|
|
414
|
+
grid-template-columns: 1fr;
|
|
415
|
+
}
|
|
416
|
+
`,P=o.default.div`
|
|
417
|
+
display: grid;
|
|
418
|
+
grid-template-columns: 1fr 40%;
|
|
419
|
+
grid-gap: 4rem;
|
|
420
|
+
padding: 0 4rem;
|
|
421
|
+
|
|
422
|
+
@media ${E} {
|
|
423
|
+
grid-template-columns: 1fr;
|
|
424
|
+
}
|
|
425
|
+
`,T=o.default.div`
|
|
426
|
+
padding: 0 4rem 2rem 13rem;
|
|
427
|
+
`,C=o.default.div`
|
|
428
|
+
width: 100%;
|
|
429
|
+
`,F=o.default.div`
|
|
430
|
+
width: 100%;
|
|
431
|
+
|
|
432
|
+
@media ${E} {
|
|
433
|
+
display: none;
|
|
434
|
+
}
|
|
435
|
+
`,_=o.default.div`
|
|
436
|
+
padding-top: 8rem;
|
|
437
|
+
`,j=o.default.div`
|
|
438
|
+
padding: 2rem 0;
|
|
439
|
+
`,S=o.default.div`
|
|
440
|
+
|
|
441
|
+
`,D=o.default.div`
|
|
442
|
+
position: relative;
|
|
443
|
+
|
|
444
|
+
header{
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
`,q=o.default.div`
|
|
451
|
+
padding-left: 4rem;
|
|
452
|
+
`,M=o.default.div`
|
|
453
|
+
padding-right: 4rem;
|
|
454
|
+
`,V=o.default(z)`
|
|
455
|
+
padding: 0;
|
|
456
|
+
|
|
457
|
+
aside{
|
|
458
|
+
|
|
459
|
+
header{
|
|
460
|
+
position: relative;
|
|
461
|
+
|
|
462
|
+
picture{
|
|
463
|
+
width: 100%;
|
|
464
|
+
aspect-ratio: 3 / 2;
|
|
465
|
+
display: block;
|
|
466
|
+
overflow: hidden;
|
|
467
|
+
|
|
468
|
+
img{
|
|
469
|
+
height: 100%;
|
|
470
|
+
width: 100%;
|
|
471
|
+
object-fit: cover;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
figure{
|
|
476
|
+
position: absolute;
|
|
477
|
+
bottom: -10rem;
|
|
478
|
+
left: calc(50%);
|
|
479
|
+
transform: translateX(-50%);
|
|
480
|
+
height: 20rem;
|
|
481
|
+
width: 20rem;
|
|
482
|
+
border-radius: 50%;
|
|
483
|
+
overflow: hidden;
|
|
484
|
+
border: 2px solid ${e=>e.theme.background};
|
|
485
|
+
|
|
486
|
+
img{
|
|
487
|
+
height: 100%;
|
|
488
|
+
width: 100%;
|
|
489
|
+
object-fit: cover;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
footer{
|
|
495
|
+
padding: 2rem 4rem;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
main{
|
|
500
|
+
padding: 2rem 4rem;
|
|
501
|
+
display: flex;
|
|
502
|
+
flex-direction: column;
|
|
503
|
+
gap: 4rem;
|
|
504
|
+
}
|
|
505
|
+
`,A=o.default.div`
|
|
506
|
+
padding: 10rem 1rem 2rem 1rem;
|
|
507
|
+
text-align: center;
|
|
508
|
+
`,B=o.default.div`
|
|
509
|
+
display: flex;
|
|
510
|
+
align-items: center;
|
|
511
|
+
gap: 1rem;
|
|
512
|
+
`,H=o.default.div`
|
|
513
|
+
display: grid;
|
|
514
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
515
|
+
align-items: flex-start;
|
|
516
|
+
grid-gap: 2rem;
|
|
517
|
+
|
|
518
|
+
@media ${L}{
|
|
519
|
+
grid-template-columns: 1fr 1fr;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
@media ${E}{
|
|
523
|
+
grid-template-columns: 1fr 1fr 1fr;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
@media ${$}{
|
|
527
|
+
grid-template-columns: 1fr 1fr;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
@media ${I}{
|
|
531
|
+
grid-template-columns: 1fr;
|
|
532
|
+
}
|
|
533
|
+
`,G=o.default.div`
|
|
534
|
+
width: 100%;
|
|
535
|
+
min-height: 100vh;
|
|
536
|
+
background: ${e=>e.theme.background};
|
|
537
|
+
transition-property: background;
|
|
538
|
+
transition-duration: .5s;
|
|
539
|
+
|
|
540
|
+
h1,h2,h3,h4,h5,h6,p{
|
|
541
|
+
color: ${e=>e.theme.color};
|
|
542
|
+
transition-property: color;
|
|
543
|
+
transition-duration: .5s;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
nav,div,button,section,main,aside{
|
|
547
|
+
transition-property: background;
|
|
548
|
+
transition-duration: .5s;
|
|
549
|
+
}
|
|
550
|
+
`;exports.CardButton=v,exports.Cta_=e=>a.default.createElement(l,{size:e.size,onClick:e.onClick},a.default.createElement("span",null,e.buttonText)),exports.Edit_=e=>a.default.createElement(d,{size:"normal",onClick:e.onClick},a.default.createElement(i,{Icon:e.buttonIcon})),exports.Focus_=e=>a.default.createElement(s,{size:e.size,onClick:e.onClick},e.buttonIconLeft?a.default.createElement(i,{Icon:e.buttonIconLeft}):null,e.buttonText?a.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?a.default.createElement(i,{Icon:e.buttonIconRight}):null),exports.Focus_Plain=e=>a.default.createElement(u,{size:e.size,onClick:e.onClick,onFocus:e.onFocus},e.buttonIconLeft?a.default.createElement(i,{Icon:e.buttonIconLeft}):null,e.buttonText?a.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?a.default.createElement(i,{Icon:e.buttonIconRight}):null),exports.FormGroup=y,exports.FormInput=k,exports.FormLabel=w,exports.Form_Input=e=>a.default.createElement(y,null,a.default.createElement(k,{placeholder:e.placeholder}),a.default.createElement(w,null,e.placeholder)),exports.Grey_=e=>a.default.createElement(c,{size:e.size,onClick:e.onClick},e.buttonIconLeft?a.default.createElement(i,{Icon:e.buttonIconLeft}):null,e.buttonText?a.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?a.default.createElement(i,{Icon:e.buttonIconRight}):null),exports.Grey_Link=e=>a.default.createElement(m,{size:e.size,onClick:e.onClick},e.buttonIconLeft?a.default.createElement(i,{Icon:e.buttonIconLeft}):null,e.buttonText?a.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?a.default.createElement(i,{Icon:e.buttonIconRight}):null),exports.Main_=e=>a.default.createElement(p,{className:e.className,size:e.size,onClick:e.onClick},e.buttonIconLeft?a.default.createElement(i,{Icon:e.buttonIconLeft}):null,e.buttonText?a.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?a.default.createElement(i,{Icon:e.buttonIconRight}):null),exports.Main_Plain=e=>a.default.createElement(g,{size:e.size,onClick:e.onClick},e.buttonIconLeft?a.default.createElement(i,{Icon:e.buttonIconLeft}):null,e.buttonText?a.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?a.default.createElement(i,{Icon:e.buttonIconRight}):null),exports.Page=R,exports.PageAlwaysVisible=C,exports.PageCards=H,exports.PageDesktopOnly=F,exports.PageDesktopPadding=_,exports.PageForty=z,exports.PageSingle=S,exports.PageSingleHeader=D,exports.PageSingleRight=M,exports.PageSingleleft=q,exports.PageSixty=P,exports.PageSub=V,exports.PageSubActions=B,exports.PageSubTitle=A,exports.PageTitle=j,exports.PageTools=T,exports.Theme=G,exports.White_Plain=e=>a.default.createElement(f,{size:e.size,onClick:e.onClick},e.buttonIconLeft?a.default.createElement(i,{Icon:e.buttonIconLeft}):null,e.buttonText?a.default.createElement("span",null,e.buttonText):null,e.buttonIconRight?a.default.createElement(i,{Icon:e.buttonIconRight}):null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monica-alexandria",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.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",
|
|
@@ -21,7 +21,7 @@ const Focus = styled(Button)`
|
|
|
21
21
|
}
|
|
22
22
|
`
|
|
23
23
|
|
|
24
|
-
export
|
|
24
|
+
export const Focus_ = (props) => {
|
|
25
25
|
return (
|
|
26
26
|
<Focus size = {props.size} onClick={props.onClick}>
|
|
27
27
|
{props.buttonIconLeft ?
|
|
@@ -42,3 +42,4 @@ export default function Focus_(props) {
|
|
|
42
42
|
</Focus>
|
|
43
43
|
)
|
|
44
44
|
}
|
|
45
|
+
|
|
@@ -27,7 +27,7 @@ const FocusPlain = styled(Button)`
|
|
|
27
27
|
}
|
|
28
28
|
`
|
|
29
29
|
|
|
30
|
-
export
|
|
30
|
+
export const Focus_Plain = (props) => {
|
|
31
31
|
return (
|
|
32
32
|
<FocusPlain size = {props.size} onClick={props.onClick} onFocus={props.onFocus}>
|
|
33
33
|
{props.buttonIconLeft ?
|
|
@@ -48,3 +48,4 @@ export default function Focus_Plain(props) {
|
|
|
48
48
|
</FocusPlain>
|
|
49
49
|
)
|
|
50
50
|
}
|
|
51
|
+
|
|
@@ -22,7 +22,7 @@ const Grey = styled(Button)`
|
|
|
22
22
|
}
|
|
23
23
|
`
|
|
24
24
|
|
|
25
|
-
export
|
|
25
|
+
export const Grey_ = (props) => {
|
|
26
26
|
return (
|
|
27
27
|
<Grey size={props.size} onClick={props.onClick}>
|
|
28
28
|
{props.buttonIconLeft ?
|
|
@@ -43,3 +43,4 @@ export default function Grey_(props) {
|
|
|
43
43
|
</Grey>
|
|
44
44
|
)
|
|
45
45
|
}
|
|
46
|
+
|
|
@@ -28,7 +28,7 @@ const GreyLink = styled(Button)`
|
|
|
28
28
|
}
|
|
29
29
|
`
|
|
30
30
|
|
|
31
|
-
export
|
|
31
|
+
export const Grey_Link = (props) => {
|
|
32
32
|
return (
|
|
33
33
|
<GreyLink size={props.size} onClick={props.onClick}>
|
|
34
34
|
{props.buttonIconLeft ?
|
|
@@ -49,3 +49,4 @@ export default function Grey_Link(props) {
|
|
|
49
49
|
</GreyLink>
|
|
50
50
|
)
|
|
51
51
|
}
|
|
52
|
+
|
|
@@ -22,7 +22,7 @@ const Main = styled(Button)`
|
|
|
22
22
|
}
|
|
23
23
|
`
|
|
24
24
|
|
|
25
|
-
export
|
|
25
|
+
export const Main_ = (props) => {
|
|
26
26
|
return (
|
|
27
27
|
<Main className={props.className} size={props.size} onClick={props.onClick}>
|
|
28
28
|
{props.buttonIconLeft ?
|
|
@@ -43,3 +43,4 @@ export default function Main_(props) {
|
|
|
43
43
|
</Main>
|
|
44
44
|
)
|
|
45
45
|
}
|
|
46
|
+
|
|
@@ -4,30 +4,30 @@ import IconSvg from '../../../../static/svg/IconSvg'
|
|
|
4
4
|
import { Button } from '../../../helpers/Button'
|
|
5
5
|
|
|
6
6
|
const MainPlain = styled(Button)`
|
|
7
|
-
background: transparent;
|
|
8
|
-
border: 1px solid transparent;
|
|
9
|
-
|
|
10
|
-
span{
|
|
11
|
-
color: var(--main);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
svg{
|
|
15
|
-
fill: var(--main);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:hover{
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 1px solid transparent;
|
|
19
9
|
|
|
20
10
|
span{
|
|
21
|
-
color: var(--
|
|
11
|
+
color: var(--main);
|
|
22
12
|
}
|
|
23
13
|
|
|
24
14
|
svg{
|
|
25
|
-
fill: var(--
|
|
15
|
+
fill: var(--main);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:hover{
|
|
19
|
+
|
|
20
|
+
span{
|
|
21
|
+
color: var(--mainLight);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
svg{
|
|
25
|
+
fill: var(--mainLight);
|
|
26
|
+
}
|
|
26
27
|
}
|
|
27
|
-
}
|
|
28
28
|
`
|
|
29
29
|
|
|
30
|
-
export
|
|
30
|
+
export const Main_Plain = (props) => {
|
|
31
31
|
return (
|
|
32
32
|
<MainPlain size={props.size} onClick={props.onClick}>
|
|
33
33
|
{props.buttonIconLeft ?
|
|
@@ -48,3 +48,4 @@ export default function Main_Plain(props) {
|
|
|
48
48
|
</MainPlain>
|
|
49
49
|
)
|
|
50
50
|
}
|
|
51
|
+
|
|
@@ -27,7 +27,7 @@ const WhitePlain = styled(Button)`
|
|
|
27
27
|
}
|
|
28
28
|
`
|
|
29
29
|
|
|
30
|
-
export
|
|
30
|
+
export const White_Plain = (props) => {
|
|
31
31
|
return (
|
|
32
32
|
<WhitePlain size={props.size} onClick={props.onClick}>
|
|
33
33
|
{props.buttonIconLeft ?
|
|
@@ -48,3 +48,4 @@ export default function White_Plain(props) {
|
|
|
48
48
|
</WhitePlain >
|
|
49
49
|
)
|
|
50
50
|
}
|
|
51
|
+
|
|
@@ -2,7 +2,7 @@ import React from 'react'
|
|
|
2
2
|
import styled from 'styled-components'
|
|
3
3
|
import IconSvg from '../../../../static/svg/IconSvg'
|
|
4
4
|
import { Card } from '../../../helpers/Card'
|
|
5
|
-
import Focus_ from '../button/Focus_'
|
|
5
|
+
import { Focus_ } from '../button/Focus_'
|
|
6
6
|
|
|
7
7
|
export const CardButton = styled(Card)`
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { FormGroup, FormInput, FormLabel } from '../../styles/Form'
|
|
3
3
|
|
|
4
|
-
export
|
|
4
|
+
export const Form_Input = (props) => {
|
|
5
5
|
return (
|
|
6
6
|
<FormGroup>
|
|
7
7
|
<FormInput placeholder={props.placeholder}/>
|
|
@@ -9,3 +9,4 @@ export default function Form_Input(props) {
|
|
|
9
9
|
</FormGroup>
|
|
10
10
|
)
|
|
11
11
|
}
|
|
12
|
+
|
package/src/export/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from './components'
|
|
1
|
+
export * from './components'
|
|
2
|
+
export * from './styles'
|