optimized-react-component-library-xyz123 0.15.5 → 0.15.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "0.15.5",
3
+ "version": "0.15.7",
4
4
  "description": "A modern React component library using TypeScript with React 19 support.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -7,6 +7,7 @@
7
7
  --dark-info: #808080;
8
8
  --dark-orientation-active:#F4BF56;
9
9
  --dark-background-second:#200827;
10
+ --dark-background-third:#747474;
10
11
  }
11
12
 
12
13
  @media (prefers-color-scheme: dark) {
@@ -333,6 +334,13 @@
333
334
  .errorSummary-text {
334
335
  color: var(--dark-error) !important;
335
336
  }
337
+
338
+ /*--------------------FOOTER-----------------*/
339
+
340
+ .pts-footer-slogan-text-container{
341
+ background-color: var(--dark-background-third);
342
+ }
343
+
336
344
 
337
345
  /*-------------MODAL-----------*/
338
346
  .pts-modal-content{
@@ -344,4 +352,23 @@
344
352
  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");
345
353
 
346
354
  }
355
+
356
+
357
+ /*-------------Autofill-----------*/
358
+ input:autofill,
359
+ input:autofill:hover,
360
+ input:autofill:focus,
361
+ input:-webkit-autofill,
362
+ input:-webkit-autofill:hover,
363
+ input:-webkit-autofill:focus {
364
+ -webkit-box-shadow: 0 0 0 1000px var(--dark-main) inset !important;
365
+ box-shadow: 0 0 0 1000px var(--dark-main) inset !important;
366
+ -webkit-text-fill-color: var(--dark-text) !important; /* behåller textfärgen */
367
+ background-color: var(--dark-main) !important;
368
+ }
369
+
370
+ /* Firefox */
371
+ input:-moz-autofill {
372
+ box-shadow: 0 0 0 1000px transparent inset !important;
373
+ }
347
374
  }
@@ -44,6 +44,11 @@
44
44
  margin: 0;
45
45
  padding: 0;
46
46
  }
47
+
48
+ .pts-footer-slogan-text {
49
+ font-size: 16px;
50
+ text-align: center;
51
+ }
47
52
  }
48
53
 
49
54
  /********************************************/
@@ -88,6 +93,10 @@
88
93
  padding: 0;
89
94
  }
90
95
 
96
+ .pts-header-content{
97
+ display:block;
98
+ }
99
+
91
100
  .pts-header-logo-container {
92
101
  padding: 13px 0;
93
102
  border-bottom: 2px solid #ddd;
@@ -95,6 +104,11 @@
95
104
  text-align: center;
96
105
  }
97
106
 
107
+ .pts-header-navigation-container{
108
+ align-items: center;
109
+ justify-content: center;
110
+ }
111
+
98
112
  .pts-languageButton {
99
113
  margin: 0.4rem 0;
100
114
  }
@@ -245,6 +259,11 @@
245
259
  padding-bottom: 4px;
246
260
  }
247
261
 
262
+ .pts-footer-slogan-text{
263
+ line-height: 2rem;
264
+ }
265
+
266
+
248
267
  .pts-footer-logo {
249
268
  position: static;
250
269
  padding-left: 0;
@@ -317,14 +336,37 @@
317
336
  }
318
337
  }
319
338
 
339
+
340
+ /********************************************/
341
+ /***************WIDTH: 750 ******************/
342
+ /********************************************/
343
+ @media (max-width: 750px) {
344
+ body .pts-stepper-step:not(:last-child)::after {
345
+ left: calc(50% + 3rem);
346
+ width: calc(33.33vw - 13rem);
347
+ right: auto;
348
+ }
349
+ }
350
+
351
+ /********************************************/
352
+ /***************WIDTH: 550 ******************/
353
+ /********************************************/
354
+ @media (max-width: 550px) {
355
+ body .pts-stepper-step:not(:last-child)::after {
356
+ left: calc(50% + 3rem);
357
+ width: calc(33.33vw - 11rem);
358
+ right: auto;
359
+ }
360
+ }
361
+
320
362
  /********************************************/
321
363
  /***************WIDTH: 480 ******************/
322
364
  /********************************************/
323
365
  @media (max-width: 480px) {
324
366
  .pts-stepper-step:not(:last-child)::after {
325
- left: calc(50% + 2rem) !important;
326
- width: calc(33.33vw - 7.7rem) !important;
327
- right: auto !important;
367
+ left: calc(50% + 3rem);
368
+ width: calc(33.33vw - 10rem);
369
+ right: auto;
328
370
  }
329
371
 
330
372
  .files-upload {
@@ -259,7 +259,7 @@ div.pts-root-question:last-child {
259
259
  /* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
260
260
 
261
261
  .pts-textField-container {
262
- margin-top: 8px;
262
+ margin-bottom: 16px;
263
263
  }
264
264
 
265
265
  .pts-about {
@@ -312,6 +312,10 @@ div.pts-root-question:last-child {
312
312
  width: 100%;
313
313
  }
314
314
 
315
+ .pts-root-question-group-fieldset .pts-root-error{
316
+ margin-bottom: 1.6rem;
317
+ }
318
+
315
319
  /* ---------- FILE UPLOAD ---------- */
316
320
  /* ---------- FILE UPLOAD ---------- */
317
321
  /* ---------- FILE UPLOAD ---------- */
@@ -1066,3 +1070,24 @@ div.pts-root-question:last-child {
1066
1070
  background: var(--red-green-red, rgb(211, 165, 0));
1067
1071
  }
1068
1072
  /* ---------- END FILE UPLOAD ---------- */
1073
+
1074
+
1075
+
1076
+
1077
+
1078
+
1079
+ input:autofill,
1080
+ input:autofill:hover,
1081
+ input:autofill:focus,
1082
+ input:-webkit-autofill,
1083
+ input:-webkit-autofill:hover,
1084
+ input:-webkit-autofill:focus {
1085
+ -webkit-box-shadow: 0 0 0 1000px var(--main) inset !important;
1086
+ box-shadow: 0 0 0 1000px var(--main) inset !important;
1087
+ -webkit-text-fill-color: inherit !important; /* behåller textfärgen */
1088
+ background-color: var(--main) !important;
1089
+ }
1090
+ input:-moz-autofill {
1091
+ box-shadow: 0 0 0 1000px transparent inset !important;
1092
+ }
1093
+
@@ -11,6 +11,7 @@
11
11
  --info: #545454;
12
12
  --orientation-active: #dc7d0a;
13
13
  --background-second: #200827;
14
+ --background-third: #414141;
14
15
  }
15
16
 
16
17
  body,
@@ -287,6 +288,27 @@ textarea:focus-visible,
287
288
  background-color: var(--main);
288
289
  }
289
290
 
291
+ .pts-header-content{
292
+ width: 100%;
293
+ display: flex;
294
+ }
295
+
296
+ .pts-header-logo-container{
297
+ height:4rem;
298
+ }
299
+
300
+ .pts-header-logo svg{
301
+ height: 4rem;
302
+ }
303
+
304
+ .pts-header-navigation-container{
305
+ display: flex;
306
+ flex-direction: column;
307
+ justify-content: flex-end;
308
+ width: 100%;
309
+ align-items: flex-end;
310
+ }
311
+
290
312
  .pts-languageButton {
291
313
  position: relative;
292
314
  display: inline-flex;
@@ -295,15 +317,16 @@ textarea:focus-visible,
295
317
  border: transparent;
296
318
  color: var(--action);
297
319
  cursor: pointer;
320
+ font-size: 1.6rem;
298
321
  }
299
322
 
300
323
  .pts-languageButton::after {
301
324
  content: "";
302
325
  position: absolute;
303
- left: 0.7rem;
304
- right: -0.3rem;
305
- bottom: 0;
306
- height: 0.2rem;
326
+ left: 7px;
327
+ right: 4px;
328
+ bottom: 3px;
329
+ height: 0.15rem;
307
330
  background-color: currentColor;
308
331
  opacity: 0;
309
332
  }
@@ -313,21 +336,25 @@ textarea:focus-visible,
313
336
  }
314
337
 
315
338
  .languageIcon{
339
+ position: relative;
316
340
  margin-top: 0.3rem;
317
341
  padding-right: 0.6rem;
342
+ top: 0.01rem;
318
343
  }
319
344
 
320
345
  .pts-languageButton svg {
321
- width: 1.5rem;
322
- height: 1.5rem;
346
+ width: 1.6rem;
347
+ height: 1.6rem;
323
348
  }
324
349
 
325
- .languageIcon{
326
- padding-left: 0.6rem;
327
- }
328
350
 
329
351
  /* ---------- TextBODY ---------- */
330
352
 
353
+ .pts-textBody-container p{
354
+ margin-bottom: 1.6rem;
355
+
356
+ }
357
+
331
358
  .MoreInfoIcon{
332
359
  margin-top: 2px;
333
360
  }
@@ -640,17 +667,35 @@ textarea:focus-visible,
640
667
  /* ---------- FOOTER ---------- */
641
668
 
642
669
  .pts-footer-container {
643
- display: flex;
644
- min-height: 14rem;
645
670
  align-items: center;
646
671
  width: 100%;
647
672
  background-color: var(--background-second);
648
673
  }
649
674
 
675
+ .pts-footer-slogan-text-container{
676
+ display: flex;
677
+ align-items: center;
678
+ justify-content: center;
679
+ background-color: var(--background-third);
680
+ height: 50px;
681
+ padding: 0px;
682
+ }
683
+
684
+ .pts-footer-slogan-text{
685
+ color: var(--main);
686
+ line-height: 2.4rem;
687
+ font-size: 2rem;
688
+ text-box-trim: trim-both;
689
+ margin: 0;
690
+
691
+ }
692
+
650
693
  .pts-footer-content{
651
694
  display: flex;
652
695
  align-items: center;
653
696
  width: 100%;
697
+ min-height: 14rem;
698
+ padding: 0.1rem 0;
654
699
  }
655
700
 
656
701
  .pts-footer-logo {
@@ -752,8 +797,7 @@ textarea:focus-visible,
752
797
  transform: rotate(360deg);
753
798
  }
754
799
  }
755
-
756
-
800
+ /*-----------ALWAYS IN THE END OF STYLES----------------*/
757
801
 
758
802
  .cleanPadding {
759
803
  padding: 0;