optimized-react-component-library-xyz123 0.1.76 → 0.1.78

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.76",
3
+ "version": "0.1.78",
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,6 +34,14 @@
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
+
37
45
  .pts-cookieBanner-Links svg rect{
38
46
  fill:var(--dark-action);
39
47
  }
@@ -68,7 +76,8 @@
68
76
 
69
77
  /*-----------QUESTIONS--------------*/
70
78
 
71
- .pts-root-about {
79
+ .pts-root-about,
80
+ .pts-about {
72
81
  color: var(--dark-info);
73
82
  }
74
83
 
@@ -120,15 +129,17 @@
120
129
 
121
130
  /* ---------- SERVICE HEADLINE AND BODY ---------- */
122
131
 
123
- .pts-main-service-headline a {
132
+ .pts-serviceHeadlineAndBody-container a {
124
133
  color: var(--dark-action);
125
134
  }
126
135
 
127
- .pts-main-service-headline svg {
136
+ .pts-serviceHeadlineAndBody-container a svg,
137
+ .MoreInfoIcon svg {
128
138
  background-color: var(--dark-action);
129
139
  }
130
140
 
131
- .pts-main-service-headline svg path {
141
+ .pts-serviceHeadlineAndBody-container a svg path,
142
+ .MoreInfoIcon svg path {
132
143
  fill: var(--dark-main);
133
144
  }
134
145
 
@@ -74,6 +74,26 @@ section {
74
74
  margin-left: 0.8rem;
75
75
  margin-right: 0.8rem;
76
76
  }
77
+ /* ?? Make changes in html ?? ----
78
+ .pts-button{
79
+ background-color: #6e3282;
80
+ border: 2px solid #6e3282;
81
+ color: #ffffff;
82
+ padding: 8px 20px;
83
+ border-radius: 8px;
84
+ font-size: 16px;
85
+ cursor: pointer;
86
+ margin-left: 1.6rem;
87
+ }
88
+
89
+ .pts-button:focus,
90
+ .pts-button:hover{
91
+ background-color: #ffffff;
92
+ border: 2px solid #6e3282;
93
+ color: #6e3282;
94
+ transition: 0.2s;
95
+ }
96
+ --- ?? Make changes in html ?? */
77
97
 
78
98
  .pts-first-category-section {
79
99
  padding-top: 0;
@@ -119,11 +139,11 @@ fieldset {
119
139
  }
120
140
 
121
141
  .pts-root-question legend {
122
- font-family: Arial;
123
- font-size: 1.6rem;
124
- font-style: normal;
125
- font-weight: 400;
126
- line-height: 20px;
142
+ font-family: Arial;
143
+ font-size: 1.6rem;
144
+ font-style: normal;
145
+ font-weight: 400;
146
+ line-height: 20px;
127
147
  }
128
148
 
129
149
  .pts-root-question legend,
@@ -225,7 +245,7 @@ textarea:focus-visible,
225
245
  height: 4.8rem;
226
246
  }
227
247
 
228
- /* ---------- SCOOKIE BANNER ---------- */
248
+ /* ---------- COOKIE BANNER ---------- */
229
249
 
230
250
  .pts-cookieBanner {
231
251
  position: relative;
@@ -247,22 +267,10 @@ textarea:focus-visible,
247
267
  margin: 1.6rem 0;
248
268
  }
249
269
 
250
- .pts-cookieBanner h3 {
251
- font-family: Arial, sans-serif;
252
- font-size: 1.6rem;
253
- font-weight: 700;
254
- line-height: 21px;
255
- margin: 0 0 10px 0;
256
- text-align: left;
257
- }
258
-
259
270
  .pts-cookieBanner p {
260
- font-family: Arial, sans-serif;
261
- font-size: 1.6rem;
262
- font-weight: 400;
263
- line-height: 24px;
271
+ line-height: 2.4rem;
264
272
  margin: 0 0 15px 0;
265
- text-align: left;
273
+
266
274
  }
267
275
  .pts-cookieBanner-Links {
268
276
  margin-bottom: 1.6rem;
@@ -277,41 +285,31 @@ textarea:focus-visible,
277
285
  padding: 0.8rem 2rem;
278
286
  }
279
287
 
280
- .pts-cookieBanner button {
281
- border-radius: 8px;
282
- display: flex;
283
- gap: 10px;
284
- justify-content: flex-end; /* Always justify buttons to the end/right */
285
- }
286
-
287
- .pts-cookieBanner a {
288
- padding-left: 10px;
289
- font-family: Arial, sans-serif;
290
- font-size: 1.6rem;
291
- font-weight: 400;
292
- line-height: 24px;
293
- color: #6e3282;
294
- text-decoration: none;
295
- position: relative;
296
- top: -0.7rem;
297
- }
298
-
299
- .pts-cookieBanner a:hover {
300
- text-decoration: underline;
301
- }
302
-
303
288
  /* Button styles */
304
289
  .pts-cookieBanner button {
305
290
  min-width: 140px;
306
291
  text-align: center;
307
- font-family: Arial, sans-serif;
308
292
  font-size: 1.4rem;
309
293
  padding: 8px 15px;
310
- border-radius: 4px;
311
294
  background-color: #6e3282;
312
- border-color: #6e3282;
295
+ border: 2px solid #6e3282;
313
296
  color: white;
314
297
  cursor: pointer;
298
+ border-radius: 8px;
299
+ }
300
+
301
+ .pts-cookieBanner button:focus,
302
+ .pts-cookieBanner button:hover{
303
+ background-color: #eaf1f9;
304
+ border: 2px solid #6e3282;
305
+ color: #6e3282;
306
+ transition: 0.2s;
307
+ }
308
+
309
+ .pts-cookieBanner a {
310
+ padding-left: 10px;
311
+ position: relative;
312
+ top: -0.7rem;
315
313
  }
316
314
 
317
315
  /* ---------- SERVICE HEADLINE AND BODY ---------- */
@@ -328,18 +326,20 @@ textarea:focus-visible,
328
326
  margin-bottom: 2.8rem;
329
327
  }
330
328
 
331
- .pts-main-service-headline a svg {
332
- width: 1.6rem;
333
- height: 1.6rem;
334
- background-color: #6e3282;
335
- border-radius: 50%;
336
- padding: 0.4rem;
337
- flex-shrink: 0;
338
- margin-right: 1.6rem;
329
+ .pts-serviceHeadlineAndBody-container a svg,
330
+ .MoreInfoIcon svg{
331
+ width: 1.6rem;
332
+ height: 1.6rem;
333
+ background-color: #6e3282;
334
+ border-radius: 50%;
335
+ padding: 0.4rem;
336
+ flex-shrink: 0;
337
+ margin-right: 1.6rem;
339
338
  }
340
339
 
341
- .pts-main-service-headline a svg path {
342
- fill: #ffffff;
340
+ .pts-serviceHeadlineAndBody-container a svg path,
341
+ .MoreInfoIcon svg path{
342
+ fill:#ffffff;
343
343
  }
344
344
 
345
345
  .pts-moreinfo-list {
@@ -605,7 +605,6 @@ textarea:focus-visible,
605
605
  /* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
606
606
 
607
607
  .pts-question-hasAbout label {
608
- margin-bottom: 0rem;
609
608
  line-height: 0.4rem;
610
609
  }
611
610
 
@@ -616,9 +615,9 @@ textarea:focus-visible,
616
615
  }
617
616
 
618
617
  .textfield-about {
619
- margin-bottom: 0.4rem;
620
- color: #545454;
621
- font-size: 1.4rem;
618
+ margin-bottom: 0.4rem;
619
+ color: #545454;
620
+ font-size: 1.4rem;
622
621
  }
623
622
 
624
623
  /* ---------- TEXTAREA ---------- */
@@ -743,7 +742,7 @@ dl {
743
742
  grid-template-columns: 50% 50%;
744
743
  }
745
744
 
746
- dt,
745
+ dt,
747
746
  dd {
748
747
  padding: 16px 0px 4px 0px;
749
748
  margin-inline-start: 0px;