optimized-react-component-library-xyz123 2.8.9 → 2.8.10

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": "2.8.9",
3
+ "version": "2.8.10",
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",
@@ -453,8 +453,7 @@
453
453
  color: var(--dark-main);
454
454
  }
455
455
 
456
- .pts-open-close-icon svg path,
457
- .pts-collapse-open-close-icon svg path{
456
+ .pts-open-close-icon svg path {
458
457
  fill: var(--dark-main);
459
458
  }
460
459
 
@@ -507,7 +506,7 @@
507
506
  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");
508
507
  }
509
508
 
510
- .pts-modal-overlay, .pts-navigation-overlay {
509
+ .pts-modal-overlay {
511
510
  background-color: rgba(255, 255, 255, 0.5);
512
511
  }
513
512
 
@@ -518,14 +517,17 @@
518
517
  background-color: var(--dark-alertintext);
519
518
  }
520
519
  .pts-alertInText-left svg circle {
521
- fill: var(--dark-background);
520
+ fill: var(--dark-main);
522
521
  }
522
+
523
523
  .pts-alertInText-left svg rect {
524
524
  fill: var(--dark-alertintext);
525
525
  }
526
+
526
527
  .pts-alertInText-left svg .pts-alertInText-icon-dot-over-i {
527
528
  fill: var(--dark-alertintext);
528
529
  }
530
+
529
531
  .pts-alertInText-right {
530
532
  border: 1px solid var(--dark-alertintext);
531
533
  color: var(--dark-alertintext-text);
@@ -58,8 +58,7 @@ h2:focus:focus-visible,
58
58
  }
59
59
 
60
60
  h1,
61
- h2,
62
- h3 {
61
+ h2 {
63
62
  margin: 0;
64
63
  margin-bottom: 3.6rem;
65
64
  }
@@ -75,6 +74,7 @@ h2 {
75
74
 
76
75
  h3 {
77
76
  font-size: 1.6rem;
77
+ margin-bottom: 1.6rem;
78
78
  }
79
79
 
80
80
  h4 {
@@ -151,6 +151,10 @@ div.pts-root-question:last-child {
151
151
  background-color: var(--action);
152
152
  }
153
153
 
154
+ .pts-radioMultipleWithInfo2-container input[type='radio'] {
155
+ margin: auto;
156
+ }
157
+
154
158
  .pts-radioMultiple-container label,
155
159
  .pts-radioMultipleWithInfo2-container label {
156
160
  position: relative;
@@ -163,12 +167,12 @@ div.pts-root-question:last-child {
163
167
  .pts-radioWithInfo-sub-headline {
164
168
  margin-block-start: 3.6rem;
165
169
  margin-block-end: 1.6rem;
166
- font-size: 18px;
170
+ font-size: 1.8rem;
167
171
  font-weight: 700;
168
172
  }
169
173
 
170
174
  .pts-radioMultipleWithInfo2-container label {
171
- padding-top: 2px;
175
+ padding-top: 0.2rem;
172
176
  }
173
177
 
174
178
  .pts-radio-collapse {
@@ -189,11 +193,11 @@ div.pts-root-question:last-child {
189
193
  display: grid;
190
194
  text-align: left;
191
195
  grid-template-columns: 5% 90% 5%;
192
- align-items: center;
196
+ align-items: flex-start;
193
197
  }
194
198
 
195
199
  .pts-radio-collapse-button-container.open {
196
- border-radius: 8px 8px 0 0;
200
+ border-radius: 0.8rem 0.8rem 0 0;
197
201
  }
198
202
 
199
203
  .pts-radio-collapse-button-container input {
@@ -269,6 +273,13 @@ div.pts-root-question:last-child {
269
273
  margin-top: 0.2rem;
270
274
  }
271
275
 
276
+
277
+ /*-------- INFO ONLY-------- */
278
+ .pts-root-question:has(.pts-textbody-createspace){
279
+ max-width: 100%;
280
+ }
281
+
282
+
272
283
  /*-------- CHECKBOX GROUP-------- */
273
284
 
274
285
  .pts-checkboxGroup-options {
@@ -351,7 +351,7 @@ input:focus-visible:-webkit-autofill {
351
351
  transform: translateX(100%);
352
352
  transition:
353
353
  transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
354
- opacity 0.1s;
354
+ opacity 1s;
355
355
  }
356
356
 
357
357
  .pts-navigation-menu-container.open {
@@ -384,7 +384,6 @@ input:focus-visible:-webkit-autofill {
384
384
  }
385
385
 
386
386
  .pts-navigation-link-expand-button {
387
- all:unset;
388
387
  border: none;
389
388
  padding: 0;
390
389
  cursor: pointer;
@@ -524,6 +523,7 @@ input:focus-visible:-webkit-autofill {
524
523
  flex-shrink: 0;
525
524
  margin-right: 1.6rem;
526
525
  }
526
+
527
527
  .pts-textbody-alerttext {
528
528
  margin-top: 0;
529
529
  }
@@ -531,6 +531,7 @@ input:focus-visible:-webkit-autofill {
531
531
  margin-bottom: 3.6rem;
532
532
  }
533
533
 
534
+
534
535
  /* ---------- TEXT HEADLINE AND BODY ---------- */
535
536
 
536
537
  .pts-textHeadlineAndBody-container .notFirstInList {
@@ -659,23 +660,13 @@ input:focus-visible:-webkit-autofill {
659
660
  font-size: 1.6rem;
660
661
  }
661
662
 
662
- .pts-collapse-open-close-icon.open {
663
+ .pts-collapse-button.open {
663
664
  border-radius: 8px 8px 0 0;
664
665
  }
665
666
 
666
- .pts-collapse-open-close-icon svg{
667
- width: 2.4rem;
668
- height: 2.4rem;
669
- position: relative;
670
- top: 3px;
671
- }
672
-
673
-
674
667
  .pts-collapse-button .pts-open-close-icon svg {
675
668
  width: 2.4rem;
676
669
  height: 2.4rem;
677
- position: relative;
678
- top: 3px;
679
670
  }
680
671
 
681
672
  .pts-collapse-body {
@@ -691,7 +682,6 @@ input:focus-visible:-webkit-autofill {
691
682
  border: 2px solid var(--background);
692
683
  border-top: none;
693
684
  border-radius: 0 0 8px 8px;
694
- margin-top: -5px;
695
685
  }
696
686
 
697
687
  .pts-collapse-content {
@@ -739,14 +729,10 @@ input:focus-visible:-webkit-autofill {
739
729
  padding: 0;
740
730
  }
741
731
  .pts-linkList-container li {
742
- padding-bottom: 16px;
732
+ padding: 6px;
743
733
  list-style: none;
744
734
  }
745
735
 
746
- .pts-linkList-container li:last-child{
747
- padding-bottom:0 ;
748
- }
749
-
750
736
  /* ---------- GRANSKA-Sidan ---------- */
751
737
  .pts-editPreviewLink-container {
752
738
  display: flex;
@@ -1047,28 +1033,37 @@ input:focus-visible:-webkit-autofill {
1047
1033
  transform: rotate(360deg);
1048
1034
  }
1049
1035
  }
1036
+
1050
1037
  /* ---------- ALERT IN TEXT ---------- */
1038
+
1051
1039
  .pts-alertInText-container {
1052
1040
  display: flex;
1053
1041
  width: 100%;
1054
1042
  justify-content: flex-start;
1055
1043
  }
1044
+
1056
1045
  .pts-alertInText-left {
1057
1046
  display: flex;
1058
1047
  justify-content: flex-start;
1059
1048
  align-items: flex-start;
1060
- gap: 10px;
1049
+ gap: 10rem;
1061
1050
  align-self: stretch;
1062
1051
  border-top-left-radius: 8px;
1063
1052
  border-bottom-left-radius: 8px;
1064
1053
  border: 1px solid var(--alertintext);
1065
1054
  background-color: var(--alertintext);
1066
- padding: 8px;
1067
- padding-top: 16px;
1055
+ padding: 0.8rem;
1056
+ padding-top: 1.2rem;
1068
1057
  }
1058
+
1059
+ .pts-alertInText-left svg {
1060
+ height: 1.6rem;
1061
+ width: 1.8rem;
1062
+ }
1063
+
1069
1064
  .pts-alertInText-right {
1070
1065
  display: flex;
1071
- padding: 0 1.6rem;
1066
+ padding: 1.6rem 1.6rem 0 1.6rem;
1072
1067
  justify-content: flex-start;
1073
1068
  align-items: flex-start;
1074
1069
  width: 100%;