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

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.77",
3
+ "version": "0.1.80",
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
  }
@@ -3,12 +3,17 @@
3
3
 
4
4
  /* ---------- GENERAL ---------- */
5
5
 
6
+ html, body #root{
7
+ height: 100vh;
8
+ margin: 0;
9
+ width: 100%;
10
+ }
11
+
6
12
  html {
7
13
  font-size: 62.5%; /* 1rem = 10px */
8
14
  }
9
15
 
10
16
  body {
11
- margin: 0;
12
17
  font-family: Arial;
13
18
  font-size: 1.6rem;
14
19
  font-weight: 400;
@@ -31,6 +36,17 @@ body a:hover {
31
36
  text-decoration: underline 0.2rem;
32
37
  }
33
38
 
39
+ #root {
40
+ display: flex;
41
+ flex-direction: column;
42
+ width: 100%;
43
+ margin:0;
44
+ }
45
+
46
+ main{
47
+ flex:1;
48
+ }
49
+
34
50
  h1,
35
51
  h2,
36
52
  h3 {
@@ -74,6 +90,26 @@ section {
74
90
  margin-left: 0.8rem;
75
91
  margin-right: 0.8rem;
76
92
  }
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 ?? */
77
113
 
78
114
  .pts-first-category-section {
79
115
  padding-top: 0;
@@ -225,7 +261,7 @@ textarea:focus-visible,
225
261
  height: 4.8rem;
226
262
  }
227
263
 
228
- /* ---------- SCOOKIE BANNER ---------- */
264
+ /* ---------- COOKIE BANNER ---------- */
229
265
 
230
266
  .pts-cookieBanner {
231
267
  position: relative;
@@ -247,22 +283,10 @@ textarea:focus-visible,
247
283
  margin: 1.6rem 0;
248
284
  }
249
285
 
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
286
  .pts-cookieBanner p {
260
- font-family: Arial, sans-serif;
261
- font-size: 1.6rem;
262
- font-weight: 400;
263
- line-height: 24px;
287
+ line-height: 2.4rem;
264
288
  margin: 0 0 15px 0;
265
- text-align: left;
289
+
266
290
  }
267
291
  .pts-cookieBanner-Links {
268
292
  margin-bottom: 1.6rem;
@@ -277,42 +301,31 @@ textarea:focus-visible,
277
301
  padding: 0.8rem 2rem;
278
302
  }
279
303
 
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
304
  /* Button styles */
304
305
  .pts-cookieBanner button {
305
306
  min-width: 140px;
306
307
  text-align: center;
307
- font-family: Arial, sans-serif;
308
308
  font-size: 1.4rem;
309
309
  padding: 8px 15px;
310
- border-radius: 4px;
311
310
  background-color: #6e3282;
312
- border-color: #6e3282;
311
+ border: 2px solid #6e3282;
313
312
  color: white;
314
313
  cursor: pointer;
315
- border-width: 1px;
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;
316
329
  }
317
330
 
318
331
  /* ---------- SERVICE HEADLINE AND BODY ---------- */
@@ -566,7 +579,7 @@ textarea:focus-visible,
566
579
  height: 40px;
567
580
  padding-left: 70px;
568
581
  flex-shrink: 0;
569
- position: absolute;
582
+ position: relative;
570
583
  }
571
584
 
572
585
  .pts-footer-linkList {
@@ -587,6 +600,7 @@ textarea:focus-visible,
587
600
  .pts-footer-linkList a {
588
601
  color: #ffffff;
589
602
  text-underline-offset: 3px;
603
+ white-space: nowrap;
590
604
  }
591
605
 
592
606
  .pts-footer-linkList a span {