optimized-react-component-library-xyz123 2.12.6 → 2.12.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.js +53 -31
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +53 -31
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +12 -5
- package/src/css/mobileView.css +11 -6
- package/src/css/styles.css +50 -55
package/package.json
CHANGED
package/src/css/darkMode.css
CHANGED
|
@@ -20,6 +20,14 @@
|
|
|
20
20
|
color: var(--dark-text);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
.pts-secondary-button {
|
|
24
|
+
border-color: var(--dark-background-second);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.pts-secondary-button:hover {
|
|
28
|
+
border-color: var(--dark-text);
|
|
29
|
+
}
|
|
30
|
+
|
|
23
31
|
/*----------COOKIE BANNER-------*/
|
|
24
32
|
.pts-cookieBanner {
|
|
25
33
|
background-color: var(--dark-main) !important;
|
|
@@ -372,16 +380,14 @@
|
|
|
372
380
|
color: var(--dark-info);
|
|
373
381
|
}
|
|
374
382
|
|
|
375
|
-
|
|
376
383
|
/* ---------- DROPDOWN ---------- */
|
|
377
384
|
.pts-dropdown-container select {
|
|
378
385
|
border-color: var(--dark-info);
|
|
379
386
|
background-color: var(--dark-main);
|
|
380
387
|
color: var(--dark-text);
|
|
381
|
-
|
|
388
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.7073 15.7069C12.5198 15.8943 12.2655 15.9996 12.0003 15.9996C11.7352 15.9996 11.4809 15.8943 11.2933 15.7069L5.63634 10.0499C5.54083 9.95761 5.46465 9.84726 5.41224 9.72526C5.35983 9.60326 5.33225 9.47204 5.33109 9.33926C5.32994 9.20648 5.35524 9.0748 5.40552 8.9519C5.4558 8.829 5.53006 8.71735 5.62395 8.62346C5.71784 8.52957 5.82949 8.45531 5.95239 8.40503C6.07529 8.35475 6.20696 8.32945 6.33974 8.3306C6.47252 8.33176 6.60374 8.35934 6.72575 8.41175C6.84775 8.46416 6.9581 8.54034 7.05034 8.63585L12.0003 13.5859L16.9503 8.63585C17.1389 8.4537 17.3915 8.3529 17.6537 8.35518C17.9159 8.35746 18.1668 8.46263 18.3522 8.64804C18.5376 8.83344 18.6427 9.08426 18.645 9.34645C18.6473 9.60865 18.5465 9.86125 18.3643 10.0499L12.7073 15.7069Z' fill='%23ffffff'/%3E%3C/svg%3E");
|
|
382
389
|
}
|
|
383
390
|
|
|
384
|
-
|
|
385
391
|
/* ---------- ADD FILE QUESTION ---------- */
|
|
386
392
|
.filePickText {
|
|
387
393
|
color: var(--dark-text) !important;
|
|
@@ -464,7 +470,7 @@
|
|
|
464
470
|
}
|
|
465
471
|
|
|
466
472
|
.pts-open-close-icon svg path,
|
|
467
|
-
.pts-collapse-open-close-icon svg path{
|
|
473
|
+
.pts-collapse-open-close-icon svg path {
|
|
468
474
|
fill: var(--dark-main);
|
|
469
475
|
}
|
|
470
476
|
|
|
@@ -517,7 +523,8 @@
|
|
|
517
523
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='94' height='94' viewBox='0 0 94 94' fill='none'%3e%3cpath d='M47 11.75C66.4682 11.75 82.25 27.532 82.25 47C82.25 66.4682 66.4682 82.25 47 82.25C27.532 82.25 11.75 66.4682 11.75 47C11.75 27.532 27.532 11.75 47 11.75Z' stroke='%23B07CBF' stroke-opacity='0.25' stroke-width='7.83333' stroke-linecap='round'/%3e%3cpath d='M47 11.75C66.4682 11.75 82.25 27.532 82.25 47' stroke='%23B07CBF' stroke-width='7.83333' stroke-linecap='round'/%3e%3c/svg%3e");
|
|
518
524
|
}
|
|
519
525
|
|
|
520
|
-
.pts-modal-overlay,
|
|
526
|
+
.pts-modal-overlay,
|
|
527
|
+
.pts-navigation-overlay {
|
|
521
528
|
background-color: rgba(255, 255, 255, 0.5);
|
|
522
529
|
}
|
|
523
530
|
|
package/src/css/mobileView.css
CHANGED
|
@@ -34,12 +34,13 @@
|
|
|
34
34
|
.pts-navigation-header-nav-container {
|
|
35
35
|
align-items: center;
|
|
36
36
|
justify-content: center;
|
|
37
|
-
height:
|
|
37
|
+
height: 4.8rem;
|
|
38
|
+
gap: 0.6rem;
|
|
38
39
|
}
|
|
39
40
|
|
|
40
|
-
.pts-navigation-header-nav-container button {
|
|
41
|
+
/* todo .pts-navigation-header-nav-container button {
|
|
41
42
|
width: 100%;
|
|
42
|
-
}
|
|
43
|
+
}*/
|
|
43
44
|
|
|
44
45
|
.pts-navigation-close-button {
|
|
45
46
|
align-items: center;
|
|
@@ -116,8 +117,12 @@
|
|
|
116
117
|
padding-top: 0;
|
|
117
118
|
}
|
|
118
119
|
|
|
119
|
-
.pts-footer-linkList
|
|
120
|
-
|
|
120
|
+
.pts-footer-linkList .pts-secondary-button {
|
|
121
|
+
margin-left: unset;
|
|
122
|
+
border-color: var(--background);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.pts-footer-linkList a span {
|
|
121
126
|
padding: 0;
|
|
122
127
|
}
|
|
123
128
|
|
|
@@ -262,7 +267,7 @@
|
|
|
262
267
|
margin-right: 1.6rem;
|
|
263
268
|
margin-top: 1.6rem;
|
|
264
269
|
}
|
|
265
|
-
|
|
270
|
+
/*****Questions*******/
|
|
266
271
|
.pts-textArea-container textarea {
|
|
267
272
|
width: 100%;
|
|
268
273
|
box-sizing: border-box;
|
package/src/css/styles.css
CHANGED
|
@@ -114,13 +114,38 @@ input:focus-visible:-webkit-autofill {
|
|
|
114
114
|
box-shadow: 0 0 0 0px #000 !important;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
.pts-secondary-button {
|
|
118
|
+
display: inline-flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
background: none;
|
|
121
|
+
margin: 0;
|
|
122
|
+
font: inherit;
|
|
123
|
+
text-align: inherit;
|
|
124
|
+
line-height: normal;
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
outline: none;
|
|
127
|
+
white-space: nowrap;
|
|
128
|
+
color: var(--action);
|
|
129
|
+
padding: 0.8rem 2rem;
|
|
130
|
+
border: 2px solid var(--background);
|
|
131
|
+
border-radius: 0.8rem;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.pts-secondary-button:hover {
|
|
135
|
+
border-color: var(--action);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.secondary_icon {
|
|
139
|
+
padding-right: 0.6rem;
|
|
140
|
+
}
|
|
141
|
+
|
|
117
142
|
/* ---------- COOKIE BANNER ---------- */
|
|
118
143
|
|
|
119
144
|
.pts-cookieBanner {
|
|
120
145
|
position: relative;
|
|
121
146
|
top: 0;
|
|
122
147
|
left: 0;
|
|
123
|
-
padding:
|
|
148
|
+
padding: 1.5rem 2rem;
|
|
124
149
|
background: #eaf1f9;
|
|
125
150
|
border-bottom: 4px solid var(--action);
|
|
126
151
|
z-index: 9999;
|
|
@@ -131,13 +156,13 @@ input:focus-visible:-webkit-autofill {
|
|
|
131
156
|
display: flex;
|
|
132
157
|
flex-direction: column;
|
|
133
158
|
justify-self: center;
|
|
134
|
-
max-width:
|
|
159
|
+
max-width: 8.6rem;
|
|
135
160
|
margin: 1.6rem 0;
|
|
136
161
|
}
|
|
137
162
|
|
|
138
163
|
.pts-cookieBanner p {
|
|
139
164
|
line-height: 2.4rem;
|
|
140
|
-
margin: 0 0
|
|
165
|
+
margin: 0 0 1.5rem 0;
|
|
141
166
|
}
|
|
142
167
|
.pts-cookieBanner-Links {
|
|
143
168
|
margin-bottom: 1.6rem;
|
|
@@ -156,7 +181,7 @@ input:focus-visible:-webkit-autofill {
|
|
|
156
181
|
min-width: 140px;
|
|
157
182
|
text-align: center;
|
|
158
183
|
font-size: 1.4rem;
|
|
159
|
-
padding:
|
|
184
|
+
padding: 0.8rem 1.5rem;
|
|
160
185
|
background-color: var(--action);
|
|
161
186
|
border: 2px solid var(--action);
|
|
162
187
|
color: white;
|
|
@@ -196,7 +221,7 @@ input:focus-visible:-webkit-autofill {
|
|
|
196
221
|
.pts-header-container {
|
|
197
222
|
display: flex;
|
|
198
223
|
min-height: 80px;
|
|
199
|
-
padding: 0px
|
|
224
|
+
padding: 0px 7rem;
|
|
200
225
|
align-items: center;
|
|
201
226
|
justify-content: space-between;
|
|
202
227
|
background-color: var(--main);
|
|
@@ -223,17 +248,6 @@ input:focus-visible:-webkit-autofill {
|
|
|
223
248
|
align-items: flex-end;
|
|
224
249
|
}
|
|
225
250
|
|
|
226
|
-
.pts-languageButton {
|
|
227
|
-
position: relative;
|
|
228
|
-
display: inline-flex;
|
|
229
|
-
align-items: center;
|
|
230
|
-
background: transparent;
|
|
231
|
-
border: transparent;
|
|
232
|
-
color: var(--action);
|
|
233
|
-
cursor: pointer;
|
|
234
|
-
font-size: 1.6rem;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
251
|
.languageIcon {
|
|
238
252
|
position: relative;
|
|
239
253
|
margin-top: 0.3rem;
|
|
@@ -255,7 +269,7 @@ input:focus-visible:-webkit-autofill {
|
|
|
255
269
|
.pts-navigation-header-container {
|
|
256
270
|
display: flex;
|
|
257
271
|
min-height: 80px;
|
|
258
|
-
padding: 0px
|
|
272
|
+
padding: 0px 0.7rem;
|
|
259
273
|
align-items: center;
|
|
260
274
|
justify-content: space-between;
|
|
261
275
|
background-color: var(--main);
|
|
@@ -324,15 +338,6 @@ input:focus-visible:-webkit-autofill {
|
|
|
324
338
|
}
|
|
325
339
|
|
|
326
340
|
.pts-navigation-header-nav-container button {
|
|
327
|
-
background: none;
|
|
328
|
-
line-height: 2.4rem;
|
|
329
|
-
text-decoration-skip-ink: none;
|
|
330
|
-
border: none;
|
|
331
|
-
color: var(--action);
|
|
332
|
-
font-size: 1.6rem;
|
|
333
|
-
padding: 0;
|
|
334
|
-
cursor: pointer;
|
|
335
|
-
width: 13rem;
|
|
336
341
|
z-index: 900;
|
|
337
342
|
}
|
|
338
343
|
|
|
@@ -398,7 +403,7 @@ input:focus-visible:-webkit-autofill {
|
|
|
398
403
|
padding-left: 3.6rem;
|
|
399
404
|
display: flex;
|
|
400
405
|
align-items: flex-end;
|
|
401
|
-
gap:
|
|
406
|
+
gap: 1.8rem;
|
|
402
407
|
}
|
|
403
408
|
|
|
404
409
|
.pts-sub-navigation-list {
|
|
@@ -428,7 +433,6 @@ input:focus-visible:-webkit-autofill {
|
|
|
428
433
|
}
|
|
429
434
|
|
|
430
435
|
.pts-navigation-close-button {
|
|
431
|
-
border: none;
|
|
432
436
|
color: var(--action);
|
|
433
437
|
background-color: var(--main);
|
|
434
438
|
display: flex;
|
|
@@ -980,43 +984,18 @@ input:focus-visible:-webkit-autofill {
|
|
|
980
984
|
line-height: 25px;
|
|
981
985
|
}
|
|
982
986
|
|
|
983
|
-
.pts-footer-linkList a
|
|
984
|
-
.pts-footer-linkList button {
|
|
987
|
+
.pts-footer-linkList a {
|
|
985
988
|
color: var(--main);
|
|
986
989
|
text-underline-offset: 3px;
|
|
987
990
|
white-space: nowrap;
|
|
988
991
|
}
|
|
989
992
|
|
|
990
|
-
.pts-footer-linkList
|
|
991
|
-
background: none;
|
|
992
|
-
border: none;
|
|
993
|
-
padding: 0;
|
|
994
|
-
margin: 0;
|
|
995
|
-
font: inherit;
|
|
996
|
-
color: inherit;
|
|
997
|
-
text-align: inherit;
|
|
998
|
-
line-height: normal;
|
|
999
|
-
cursor: pointer;
|
|
1000
|
-
outline: none;
|
|
1001
|
-
white-space: nowrap;
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
.pts-footer-linkList a span,
|
|
1005
|
-
.pts-footer-linkList button span {
|
|
993
|
+
.pts-footer-linkList a span {
|
|
1006
994
|
padding-left: 36px;
|
|
1007
995
|
padding-right: 36px;
|
|
1008
996
|
color: var(--main);
|
|
1009
997
|
}
|
|
1010
998
|
|
|
1011
|
-
.pts-footer-linkList button span {
|
|
1012
|
-
text-decoration: underline;
|
|
1013
|
-
text-underline-offset: 3px;
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
.pts-footer-linkList button:hover span {
|
|
1017
|
-
text-decoration: underline 0.2rem;
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
999
|
.pts-footer-container .pts-footer-linkList ul li:not(:last-child)::after {
|
|
1021
1000
|
content: '';
|
|
1022
1001
|
width: 1px;
|
|
@@ -1112,6 +1091,22 @@ input:focus-visible:-webkit-autofill {
|
|
|
1112
1091
|
|
|
1113
1092
|
/*-----------ALWAYS IN THE END OF STYLES----------------*/
|
|
1114
1093
|
|
|
1094
|
+
.pts-footer-linkList .pts-secondary-button {
|
|
1095
|
+
position: relative;
|
|
1096
|
+
color: var(--background);
|
|
1097
|
+
border-color: var(--background-second);
|
|
1098
|
+
margin-left: 1.6rem;
|
|
1099
|
+
top: -0.5rem;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
.pts-footer-linkList .pts-secondary-button:hover {
|
|
1103
|
+
border-color: var(--background);
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.secondary_icon {
|
|
1107
|
+
padding-right: 0.6rem;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1115
1110
|
.cleanPadding {
|
|
1116
1111
|
padding: 0;
|
|
1117
1112
|
}
|