optimized-react-component-library-xyz123 0.1.80 → 0.1.81

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "0.1.80",
3
+ "version": "0.1.81",
4
4
  "description": "A modern React component library using TypeScript with React 19 support.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -34,14 +34,6 @@
34
34
  color: var(--dark-main)!important;
35
35
  }
36
36
 
37
- .pts-cookieBanner button:focus,
38
- .pts-cookieBanner button:hover{
39
- background-color: var(--dark-main)!important;;
40
- border: 2px solid var(--dark-action)!important;;
41
- color: var(--dark-action)!important;;
42
- transition: 0.2s;
43
- }
44
-
45
37
  .pts-cookieBanner-Links svg rect{
46
38
  fill:var(--dark-action);
47
39
  }
@@ -76,8 +68,7 @@
76
68
 
77
69
  /*-----------QUESTIONS--------------*/
78
70
 
79
- .pts-root-about,
80
- .pts-about {
71
+ .pts-root-about {
81
72
  color: var(--dark-info);
82
73
  }
83
74
 
@@ -129,21 +120,6 @@
129
120
 
130
121
  /* ---------- SERVICE HEADLINE AND BODY ---------- */
131
122
 
132
- .pts-serviceHeadlineAndBody-container a {
133
- color: var(--dark-action);
134
- }
135
-
136
- .pts-serviceHeadlineAndBody-container a svg,
137
- .MoreInfoIcon svg {
138
- background-color: var(--dark-action);
139
- }
140
-
141
- .pts-serviceHeadlineAndBody-container a svg path,
142
- .MoreInfoIcon svg path {
143
- fill: var(--dark-main);
144
- }
145
-
146
-
147
123
  .pts-moreinfo-list a {
148
124
  color: var(--dark-action);
149
125
  }
@@ -3,17 +3,12 @@
3
3
 
4
4
  /* ---------- GENERAL ---------- */
5
5
 
6
- html, body #root{
7
- height: 100vh;
8
- margin: 0;
9
- width: 100%;
10
- }
11
-
12
6
  html {
13
7
  font-size: 62.5%; /* 1rem = 10px */
14
8
  }
15
9
 
16
10
  body {
11
+ margin: 0;
17
12
  font-family: Arial;
18
13
  font-size: 1.6rem;
19
14
  font-weight: 400;
@@ -36,17 +31,6 @@ body a:hover {
36
31
  text-decoration: underline 0.2rem;
37
32
  }
38
33
 
39
- #root {
40
- display: flex;
41
- flex-direction: column;
42
- width: 100%;
43
- margin:0;
44
- }
45
-
46
- main{
47
- flex:1;
48
- }
49
-
50
34
  h1,
51
35
  h2,
52
36
  h3 {
@@ -90,26 +74,6 @@ section {
90
74
  margin-left: 0.8rem;
91
75
  margin-right: 0.8rem;
92
76
  }
93
- /* ?? Make changes in html ?? ----
94
- .pts-button{
95
- background-color: #6e3282;
96
- border: 2px solid #6e3282;
97
- color: #ffffff;
98
- padding: 8px 20px;
99
- border-radius: 8px;
100
- font-size: 16px;
101
- cursor: pointer;
102
- margin-left: 1.6rem;
103
- }
104
-
105
- .pts-button:focus,
106
- .pts-button:hover{
107
- background-color: #ffffff;
108
- border: 2px solid #6e3282;
109
- color: #6e3282;
110
- transition: 0.2s;
111
- }
112
- --- ?? Make changes in html ?? */
113
77
 
114
78
  .pts-first-category-section {
115
79
  padding-top: 0;
@@ -154,7 +118,7 @@ fieldset {
154
118
  margin-bottom: 3.6rem;
155
119
  }
156
120
 
157
- .pts-root-question legend {
121
+ .pts-root-question legend{
158
122
  font-family: Arial;
159
123
  font-size: 1.6rem;
160
124
  font-style: normal;
@@ -162,6 +126,7 @@ fieldset {
162
126
  line-height: 20px;
163
127
  }
164
128
 
129
+
165
130
  .pts-root-question legend,
166
131
  .pts-root-question label,
167
132
  .pts-radio-option {
@@ -261,7 +226,7 @@ textarea:focus-visible,
261
226
  height: 4.8rem;
262
227
  }
263
228
 
264
- /* ---------- COOKIE BANNER ---------- */
229
+ /* ---------- SCOOKIE BANNER ---------- */
265
230
 
266
231
  .pts-cookieBanner {
267
232
  position: relative;
@@ -283,12 +248,24 @@ textarea:focus-visible,
283
248
  margin: 1.6rem 0;
284
249
  }
285
250
 
251
+ .pts-cookieBanner h3 {
252
+ font-family: Arial, sans-serif;
253
+ font-size: 1.6rem;
254
+ font-weight: 700;
255
+ line-height: 21px;
256
+ margin: 0 0 10px 0;
257
+ text-align: left;
258
+ }
259
+
286
260
  .pts-cookieBanner p {
287
- line-height: 2.4rem;
261
+ font-family: Arial, sans-serif;
262
+ font-size: 1.6rem;
263
+ font-weight: 400;
264
+ line-height: 24px;
288
265
  margin: 0 0 15px 0;
289
-
266
+ text-align: left;
290
267
  }
291
- .pts-cookieBanner-Links {
268
+ .pts-cookieBanner-Links{
292
269
  margin-bottom: 1.6rem;
293
270
  }
294
271
 
@@ -301,31 +278,41 @@ textarea:focus-visible,
301
278
  padding: 0.8rem 2rem;
302
279
  }
303
280
 
281
+ .pts-cookieBanner button {
282
+ border-radius: 8px;
283
+ display: flex;
284
+ gap: 10px;
285
+ justify-content: flex-end; /* Always justify buttons to the end/right */
286
+ }
287
+
288
+ .pts-cookieBanner a {
289
+ padding-left: 10px;
290
+ font-family: Arial, sans-serif;
291
+ font-size: 1.6rem;
292
+ font-weight: 400;
293
+ line-height: 24px;
294
+ color: #6e3282;
295
+ text-decoration: none;
296
+ position: relative;
297
+ top: -0.7rem;
298
+ }
299
+
300
+ .pts-cookieBanner a:hover {
301
+ text-decoration: underline;
302
+ }
303
+
304
304
  /* Button styles */
305
305
  .pts-cookieBanner button {
306
306
  min-width: 140px;
307
307
  text-align: center;
308
+ font-family: Arial, sans-serif;
308
309
  font-size: 1.4rem;
309
310
  padding: 8px 15px;
311
+ border-radius: 4px;
310
312
  background-color: #6e3282;
311
- border: 2px solid #6e3282;
313
+ border-color: #6e3282;
312
314
  color: white;
313
315
  cursor: pointer;
314
- border-radius: 8px;
315
- }
316
-
317
- .pts-cookieBanner button:focus,
318
- .pts-cookieBanner button:hover{
319
- background-color: #eaf1f9;
320
- border: 2px solid #6e3282;
321
- color: #6e3282;
322
- transition: 0.2s;
323
- }
324
-
325
- .pts-cookieBanner a {
326
- padding-left: 10px;
327
- position: relative;
328
- top: -0.7rem;
329
316
  }
330
317
 
331
318
  /* ---------- SERVICE HEADLINE AND BODY ---------- */
@@ -342,8 +329,7 @@ textarea:focus-visible,
342
329
  margin-bottom: 2.8rem;
343
330
  }
344
331
 
345
- .pts-serviceHeadlineAndBody-container a svg,
346
- .MoreInfoIcon svg{
332
+ .pts-main-service-headline a svg{
347
333
  width: 1.6rem;
348
334
  height: 1.6rem;
349
335
  background-color: #6e3282;
@@ -353,8 +339,7 @@ textarea:focus-visible,
353
339
  margin-right: 1.6rem;
354
340
  }
355
341
 
356
- .pts-serviceHeadlineAndBody-container a svg path,
357
- .MoreInfoIcon svg path{
342
+ .pts-main-service-headline a svg path{
358
343
  fill:#ffffff;
359
344
  }
360
345
 
@@ -579,7 +564,7 @@ textarea:focus-visible,
579
564
  height: 40px;
580
565
  padding-left: 70px;
581
566
  flex-shrink: 0;
582
- position: relative;
567
+ position: absolute;
583
568
  }
584
569
 
585
570
  .pts-footer-linkList {
@@ -600,7 +585,6 @@ textarea:focus-visible,
600
585
  .pts-footer-linkList a {
601
586
  color: #ffffff;
602
587
  text-underline-offset: 3px;
603
- white-space: nowrap;
604
588
  }
605
589
 
606
590
  .pts-footer-linkList a span {
@@ -622,6 +606,7 @@ textarea:focus-visible,
622
606
  /* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
623
607
 
624
608
  .pts-question-hasAbout label {
609
+ margin-bottom: 0rem;
625
610
  line-height: 0.4rem;
626
611
  }
627
612
 
@@ -631,7 +616,7 @@ textarea:focus-visible,
631
616
  font-size: 1.4rem;
632
617
  }
633
618
 
634
- .textfield-about {
619
+ .textfield-about{
635
620
  margin-bottom: 0.4rem;
636
621
  color: #545454;
637
622
  font-size: 1.4rem;
@@ -754,39 +739,40 @@ textarea:focus-visible,
754
739
  width: 100%;
755
740
  }
756
741
 
757
- dl {
742
+ dl{
758
743
  display: grid;
759
744
  grid-template-columns: 50% 50%;
745
+
760
746
  }
761
747
 
762
- dt,
763
- dd {
748
+ dt , dd{
764
749
  padding: 16px 0px 4px 0px;
765
750
  margin-inline-start: 0px;
766
- border-bottom: 1px solid #ddd;
751
+ border-bottom: 1px solid #DDD;
767
752
  line-height: 2.4rem;
768
753
  margin: 0 !important;
769
754
  width: 100% !important;
770
755
  }
771
756
 
772
- dt {
757
+ dt{
773
758
  font-size: 1.6rem !important;
774
759
  font-weight: 600 !important;
775
760
  }
776
761
 
777
- dd {
762
+ dd{
778
763
  padding-left: 36px;
779
764
  }
780
765
 
781
- .preview-undefined {
782
- display: none;
766
+ .preview-undefined{
767
+ display:none;
783
768
  }
784
769
 
785
- .pts-addFiles-preview {
786
- display: flex;
770
+
771
+ .pts-addFiles-preview{
772
+ display:flex;
787
773
  }
788
774
 
789
- .pts-addFiles-preview .no-answer-preview-page {
775
+ .pts-addFiles-preview .no-answer-preview-page{
790
776
  display: inline-block;
791
777
  padding: 16px 0px 0px 8px;
792
778
  text-align: center;
@@ -1922,6 +1908,8 @@ dd {
1922
1908
  margin-bottom: 0px;
1923
1909
  }
1924
1910
 
1911
+
1912
+
1925
1913
  /* preview */
1926
1914
 
1927
1915
  /* .addFilesPreviewContainer {