optimized-react-component-library-xyz123 1.1.26 → 1.1.28
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.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +72 -189
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +75 -192
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +5 -0
- package/src/css/mobileView.css +19 -6
- package/src/css/styles.css +15 -41
package/package.json
CHANGED
package/src/css/darkMode.css
CHANGED
|
@@ -73,6 +73,11 @@
|
|
|
73
73
|
.pts-navigation-header-container {
|
|
74
74
|
background: var(--dark-background-second);
|
|
75
75
|
}
|
|
76
|
+
|
|
77
|
+
.pts-navigation-header-logo-container,
|
|
78
|
+
.pts-navigation-header-headline-container {
|
|
79
|
+
border-color: var(--dark-background-third)!important;
|
|
80
|
+
}
|
|
76
81
|
.pts-navigation-header-nav-container button svg path,
|
|
77
82
|
.pts-navigation-header-nav-container button svg line{
|
|
78
83
|
color: var(--dark-action);
|
package/src/css/mobileView.css
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.pts-navigation-header-logo-container {
|
|
16
|
-
padding:
|
|
16
|
+
padding: 1.6rem 0px;
|
|
17
17
|
width: 100%;
|
|
18
18
|
text-align: center;
|
|
19
19
|
border-bottom: 2px solid #ddd;
|
|
@@ -36,20 +36,33 @@
|
|
|
36
36
|
justify-content: center;
|
|
37
37
|
height: 48px;
|
|
38
38
|
}
|
|
39
|
+
|
|
39
40
|
.pts-navigation-header-nav-container button {
|
|
40
41
|
width: 100%;
|
|
41
42
|
}
|
|
42
43
|
|
|
44
|
+
|
|
45
|
+
.pts-navigation-close-button {
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
margin-top: 1rem;
|
|
49
|
+
margin-bottom: 1rem;
|
|
50
|
+
}
|
|
51
|
+
|
|
43
52
|
/**Navigation menu**/
|
|
53
|
+
|
|
44
54
|
.pts-navigation-menu-container {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
top: -50px;
|
|
56
|
+
width: 100%;
|
|
57
|
+
max-width: unset;
|
|
58
|
+
position: relative;
|
|
49
59
|
}
|
|
50
60
|
|
|
51
61
|
.pts-navigation-close-container {
|
|
52
|
-
|
|
62
|
+
position: relative;
|
|
63
|
+
padding: 1px 1px;
|
|
64
|
+
height: 48px;
|
|
65
|
+
justify-content: center;
|
|
53
66
|
}
|
|
54
67
|
|
|
55
68
|
.nav-parent-button {
|
package/src/css/styles.css
CHANGED
|
@@ -119,26 +119,7 @@ section {
|
|
|
119
119
|
margin-right: 0.8rem;
|
|
120
120
|
margin-top: 1.6rem;
|
|
121
121
|
}
|
|
122
|
-
/* ?? Make changes in html ?? ----
|
|
123
|
-
.pts-button{
|
|
124
|
-
background-color: var(--action);
|
|
125
|
-
border: 2px solid var(--action);
|
|
126
|
-
color: var(--main);
|
|
127
|
-
padding: 8px 20px;
|
|
128
|
-
border-radius: 8px;
|
|
129
|
-
font-size: 16px;
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
margin-left: 1.6rem;
|
|
132
|
-
}
|
|
133
122
|
|
|
134
|
-
.pts-button:focus,
|
|
135
|
-
.pts-button:hover{
|
|
136
|
-
background-color: var(--main);
|
|
137
|
-
border: 2px solid var(--action);
|
|
138
|
-
color: var(--action);
|
|
139
|
-
transition: 0.2s;
|
|
140
|
-
}
|
|
141
|
-
--- ?? Make changes in html ?? */
|
|
142
123
|
|
|
143
124
|
p[aria-live='assertive']:empty {
|
|
144
125
|
margin: 0;
|
|
@@ -387,12 +368,10 @@ input:focus-visible:-webkit-autofill {
|
|
|
387
368
|
align-items: center;
|
|
388
369
|
}
|
|
389
370
|
|
|
390
|
-
.pts-navigation-header-logo-container {
|
|
391
|
-
height: 4rem;
|
|
392
|
-
}
|
|
393
371
|
|
|
394
372
|
.pts-navigation-header-logo svg {
|
|
395
|
-
height:
|
|
373
|
+
height: 4.7rem;
|
|
374
|
+
width: auto;
|
|
396
375
|
}
|
|
397
376
|
|
|
398
377
|
.pts-navigation-header-headline-container{
|
|
@@ -400,6 +379,7 @@ input:focus-visible:-webkit-autofill {
|
|
|
400
379
|
justify-content: center;
|
|
401
380
|
align-items: flex-end;
|
|
402
381
|
}
|
|
382
|
+
|
|
403
383
|
.pts-navigation-header-headline-container p{
|
|
404
384
|
position: relative;
|
|
405
385
|
font-family: 'Aeonik';
|
|
@@ -425,7 +405,6 @@ input:focus-visible:-webkit-autofill {
|
|
|
425
405
|
|
|
426
406
|
.pts-navigation-overlay{
|
|
427
407
|
position: fixed;
|
|
428
|
-
/*top: 80px;*/
|
|
429
408
|
left: 0;
|
|
430
409
|
width: 100%;
|
|
431
410
|
height: 100%;
|
|
@@ -463,24 +442,21 @@ input:focus-visible:-webkit-autofill {
|
|
|
463
442
|
}
|
|
464
443
|
|
|
465
444
|
|
|
466
|
-
/******
|
|
445
|
+
/******NAVIGATION MENU********/
|
|
467
446
|
.pts-navigation-menu-container {
|
|
468
447
|
background-color:var(--main);
|
|
469
448
|
position: absolute;
|
|
470
|
-
top:
|
|
449
|
+
top: 0px;
|
|
471
450
|
right: 0;
|
|
472
|
-
z-index: 20;
|
|
473
451
|
width: 100%;
|
|
474
452
|
max-width: 570px;
|
|
475
453
|
z-index: 999;
|
|
476
454
|
}
|
|
477
455
|
|
|
478
|
-
.pts-navigation-with-close-button{
|
|
479
|
-
top:0;
|
|
480
|
-
}
|
|
481
456
|
|
|
482
457
|
.pts-navigation-close-text {
|
|
483
458
|
padding-left: 0.8rem;
|
|
459
|
+
font-size: 16px;
|
|
484
460
|
}
|
|
485
461
|
|
|
486
462
|
.pts-navigation-link-list,
|
|
@@ -545,17 +521,14 @@ input:focus-visible:-webkit-autofill {
|
|
|
545
521
|
}
|
|
546
522
|
|
|
547
523
|
.pts-navigation-close-button {
|
|
548
|
-
width: 20rem;
|
|
549
|
-
height: 4rem;
|
|
550
524
|
border: none;
|
|
551
|
-
border-radius: 8px;
|
|
552
525
|
color: var(--action);
|
|
553
526
|
background-color: var(--main);
|
|
554
527
|
display: flex;
|
|
555
528
|
align-items: center;
|
|
556
529
|
justify-content: flex-start;
|
|
557
|
-
margin-top:
|
|
558
|
-
margin-bottom:
|
|
530
|
+
margin-top: 1.5rem;
|
|
531
|
+
margin-bottom: 1.5rem;
|
|
559
532
|
cursor: pointer;
|
|
560
533
|
}
|
|
561
534
|
|
|
@@ -568,7 +541,7 @@ input:focus-visible:-webkit-autofill {
|
|
|
568
541
|
|
|
569
542
|
.pts-breadcrumbs {
|
|
570
543
|
background-color: var(--background-third);
|
|
571
|
-
height:
|
|
544
|
+
height: 4rem;
|
|
572
545
|
display: flex;
|
|
573
546
|
align-items: center;
|
|
574
547
|
padding-left: 6rem;
|
|
@@ -602,13 +575,9 @@ input:focus-visible:-webkit-autofill {
|
|
|
602
575
|
line-height: 2rem;
|
|
603
576
|
}
|
|
604
577
|
|
|
605
|
-
/*.pts-bold-crumb {
|
|
606
|
-
font-weight: 700;
|
|
607
|
-
} TODO!!*/
|
|
608
|
-
|
|
609
578
|
.pts-breadcrumbs svg {
|
|
610
579
|
margin: 0 1.6rem;
|
|
611
|
-
top:
|
|
580
|
+
top: 3px;
|
|
612
581
|
position: relative;
|
|
613
582
|
}
|
|
614
583
|
|
|
@@ -1177,6 +1146,7 @@ input:focus-visible:-webkit-autofill {
|
|
|
1177
1146
|
display: inline-flex;
|
|
1178
1147
|
align-items: center;
|
|
1179
1148
|
justify-content: center;
|
|
1149
|
+
min-width: 2rem;
|
|
1180
1150
|
width: 2rem;
|
|
1181
1151
|
height: 2rem;
|
|
1182
1152
|
border-radius: 50%;
|
|
@@ -1185,6 +1155,10 @@ input:focus-visible:-webkit-autofill {
|
|
|
1185
1155
|
margin-right: 1.6rem;
|
|
1186
1156
|
}
|
|
1187
1157
|
|
|
1158
|
+
.pts-icon-circle.pts-fileIcon svg{
|
|
1159
|
+
margin-left: 2px;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1188
1162
|
.pts-linkList-container {
|
|
1189
1163
|
margin: 0;
|
|
1190
1164
|
padding: 0;
|