optimized-react-component-library-xyz123 2.7.1 → 2.8.2

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.7.1",
3
+ "version": "2.8.2",
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",
@@ -310,6 +310,20 @@
310
310
  background-color: var(--dark-action);
311
311
  }
312
312
 
313
+ /* ---------- RADIO MULTIPLE WHITH INFO 2 ---------- */
314
+
315
+ .pts-radioMultipleWithInfo2-container input[type='radio']:checked::before {
316
+ background-color: var(--dark-main);
317
+ }
318
+
319
+ .pts-radio-collapse-button-container {
320
+ background-color: var(--dark-action);
321
+ }
322
+
323
+ .pts-radio-collapse-body.open {
324
+ border-color: var(--dark-action);
325
+ }
326
+
313
327
  /* ---------- MULTIPLE CHECKBOXES ---------- */
314
328
 
315
329
  .pts-multipleCheckboxes-container input[type='checkbox'] {
@@ -492,7 +506,7 @@
492
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");
493
507
  }
494
508
 
495
- .pts-modal-overlay {
509
+ .pts-modal-overlay, .pts-navigation-overlay {
496
510
  background-color: rgba(255, 255, 255, 0.5);
497
511
  }
498
512
 
@@ -261,12 +261,20 @@
261
261
  margin-right: 1.6rem;
262
262
  margin-top: 1.6rem;
263
263
  }
264
-
264
+ /*****Questions*******/
265
265
  .pts-textArea-container textarea {
266
266
  width: 100%;
267
267
  box-sizing: border-box;
268
268
  }
269
269
 
270
+ .pts-radio-collapse-button-container {
271
+ align-items: start;
272
+ gap: 6px;
273
+ grid-template-columns: 5% 84% 5%;
274
+ padding-top: 1.6rem;
275
+ padding-bottom: 1rem;
276
+ }
277
+
270
278
  .inputContainer {
271
279
  margin-bottom: 1.6rem;
272
280
  }
@@ -124,8 +124,8 @@ div.pts-root-question:last-child {
124
124
  }
125
125
 
126
126
  /* ---------- RADIO MULTIPLE ---------- */
127
-
128
- .pts-radioMultiple-container input[type='radio'] {
127
+ .pts-radioMultiple-container input[type='radio'],
128
+ .pts-radioMultipleWithInfo2-container input[type='radio'] {
129
129
  appearance: none;
130
130
  width: 1.8rem;
131
131
  height: 1.8rem;
@@ -138,7 +138,8 @@ div.pts-root-question:last-child {
138
138
  cursor: pointer;
139
139
  }
140
140
 
141
- .pts-radioMultiple-container input[type='radio']:checked::before {
141
+ .pts-radioMultiple-container input[type='radio']:checked::before,
142
+ .pts-radioMultipleWithInfo2-container input[type='radio']:checked::before {
142
143
  content: '';
143
144
  position: absolute;
144
145
  top: 50%;
@@ -150,12 +151,86 @@ div.pts-root-question:last-child {
150
151
  background-color: var(--action);
151
152
  }
152
153
 
153
- .pts-radioMultiple-container label {
154
+ .pts-radioMultiple-container label,
155
+ .pts-radioMultipleWithInfo2-container label {
154
156
  position: relative;
155
157
  flex: 1;
156
158
  cursor: pointer;
157
159
  }
158
160
 
161
+ /****RADIO MULTIPLE WITH INFO*/
162
+
163
+ .pts-radioWithInfo-sub-headline {
164
+ margin-block-start: 3.6rem;
165
+ margin-block-end: 1.6rem;
166
+ font-size: 18px;
167
+ font-weight: 700;
168
+ }
169
+
170
+ .pts-radioMultipleWithInfo2-container label {
171
+ padding-top: 2px;
172
+ }
173
+
174
+ .pts-radio-collapse {
175
+ position: relative;
176
+ width: 100%;
177
+ max-width: 62.4rem;
178
+ margin-bottom: 0.8rem;
179
+ }
180
+
181
+ .pts-radio-collapse-button-container {
182
+ background-color: var(--background);
183
+ color: var(--text);
184
+ cursor: pointer;
185
+ padding: 1.6rem 1.6rem;
186
+ padding-bottom: 1.5rem;
187
+ border-radius: 8px;
188
+ outline: none;
189
+ display: grid;
190
+ text-align: left;
191
+ grid-template-columns: 5% 90% 5%;
192
+ align-items: center;
193
+ }
194
+
195
+ .pts-radio-collapse-button-container.open {
196
+ border-radius: 8px 8px 0 0;
197
+ }
198
+
199
+ .pts-radio-collapse-button-container input {
200
+ background-color: var(--main);
201
+ }
202
+
203
+ .pts-radio-collapse-button {
204
+ all: unset;
205
+ display: grid;
206
+ grid-template-columns: 95% 5%;
207
+ background-color: transparent;
208
+ padding-bottom: 1px;
209
+ }
210
+
211
+ .pts-radio-collapse-button svg path {
212
+ fill: var(--text);
213
+ }
214
+
215
+ .pts-radio-collapse-body {
216
+ position: relative;
217
+ display: grid;
218
+ grid-template-rows: 0fr;
219
+ transition: grid-template-rows 0.3s ease;
220
+ }
221
+
222
+ .pts-radio-collapse-body.open {
223
+ grid-template-rows: 1fr;
224
+ border: 2px solid var(--background);
225
+ border-top: none;
226
+ border-radius: 0 0 8px 8px;
227
+ padding: 1.6rem;
228
+ }
229
+
230
+ .pts-radio-collapse-content {
231
+ overflow: hidden;
232
+ }
233
+
159
234
  /* ---------- SINGLE CHECKBOX ---------- */
160
235
 
161
236
  .pts-singleCheckbox-row {
@@ -384,6 +384,7 @@ input:focus-visible:-webkit-autofill {
384
384
  }
385
385
 
386
386
  .pts-navigation-link-expand-button {
387
+ all:unset;
387
388
  border: none;
388
389
  padding: 0;
389
390
  cursor: pointer;
@@ -727,10 +728,14 @@ input:focus-visible:-webkit-autofill {
727
728
  padding: 0;
728
729
  }
729
730
  .pts-linkList-container li {
730
- padding: 6px;
731
+ padding-bottom: 16px;
731
732
  list-style: none;
732
733
  }
733
734
 
735
+ .pts-linkList-container li:last-child{
736
+ padding-bottom:0 ;
737
+ }
738
+
734
739
  /* ---------- GRANSKA-Sidan ---------- */
735
740
  .pts-editPreviewLink-container {
736
741
  display: flex;
@@ -1086,11 +1091,12 @@ input:focus-visible:-webkit-autofill {
1086
1091
  border: 0;
1087
1092
  }
1088
1093
 
1094
+
1089
1095
  .hide-asterix .pts-root-mandatoryAsterisk {
1090
1096
  display: none;
1091
1097
  }
1092
1098
 
1093
- [hidden] {
1099
+ [hidden],.hidden {
1094
1100
  display: none;
1095
1101
  }
1096
1102