optimized-react-component-library-xyz123 2.2.16 → 2.2.18

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.2.16",
3
+ "version": "2.2.18",
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",
@@ -157,6 +157,68 @@ div.pts-root-question:last-child {
157
157
  cursor: pointer;
158
158
  }
159
159
 
160
+
161
+ /****RADIO MULTIPLE WITH INFO*/
162
+ .pts-radio-collapse {
163
+ position: relative;
164
+ width: 100%;
165
+ max-width: 62.4rem;
166
+ margin-bottom: 0.8rem;
167
+ }
168
+
169
+ .pts-radio-collapse-button-container {
170
+ background-color: var(--background);
171
+ color: var(--text);
172
+ cursor: pointer;
173
+ padding: 1.2rem 1.6rem;
174
+ border-radius: 8px;
175
+ outline: none;
176
+ display: grid;
177
+ text-align: left;
178
+ grid-template-columns: 5% 90% 5%;
179
+ align-items: center;
180
+ }
181
+
182
+ .pts-radio-collapse-button-container.open {
183
+ border-radius: 8px 8px 0 0;
184
+ }
185
+
186
+ .pts-radio-collapse-button-container input{
187
+ background-color: var(--main);
188
+ }
189
+
190
+ .pts-radio-collapse-button {
191
+ all:unset;
192
+ display: grid;
193
+ grid-template-columns: 95% 5%;
194
+ background-color: transparent;
195
+ }
196
+
197
+
198
+ .pts-radio-collapse-button svg path{
199
+ fill: var(--text);
200
+ }
201
+
202
+ .pts-radio-collapse-body {
203
+ position: relative;
204
+ display: grid;
205
+ grid-template-rows: 0fr;
206
+ transition: grid-template-rows 0.3s ease;
207
+ }
208
+
209
+ .pts-radio-collapse-body.open {
210
+ grid-template-rows: 1fr;
211
+ border: 2px solid var(--background);
212
+ border-top: none;
213
+ border-radius:0 0 8px 8px;
214
+ padding: 1.6rem;
215
+ }
216
+
217
+ .pts-radio-collapse-content {
218
+ overflow: hidden;
219
+
220
+ }
221
+
160
222
  /* ---------- SINGLE CHECKBOX ---------- */
161
223
 
162
224
  .pts-singleCheckbox-row {
@@ -10,12 +10,12 @@
10
10
  --error: #8e0039;
11
11
  --main: #ffffff;
12
12
  --info: #545454;
13
- --alertintext: #234b96;
14
13
  --orientation-active: #dc7d0a;
15
14
  --background-second: #200827;
16
15
  --background-third: #414141;
17
16
  }
18
17
 
18
+
19
19
  #main-content {
20
20
  padding-top: 3.6rem;
21
21
  padding-bottom: 6.4rem;
@@ -248,12 +248,9 @@ input:focus-visible:-webkit-autofill {
248
248
  }
249
249
 
250
250
  /* ---------- TextBODY ---------- */
251
- .pts-textBody-container {
252
- margin: 0;
253
- }
251
+
254
252
  .pts-textBody-container p {
255
253
  margin-bottom: 1.6rem;
256
- margin-top: 0;
257
254
  }
258
255
 
259
256
  .MoreInfoIcon {
@@ -289,9 +286,6 @@ input:focus-visible:-webkit-autofill {
289
286
  flex-shrink: 0;
290
287
  margin-right: 1.6rem;
291
288
  }
292
- .pts-alerttext-in-textbody {
293
- margin-top: 3.6rem;
294
- }
295
289
 
296
290
  /* ---------- TEXT HEADLINE AND BODY ---------- */
297
291
 
@@ -700,37 +694,6 @@ input:focus-visible:-webkit-autofill {
700
694
  transform: rotate(360deg);
701
695
  }
702
696
  }
703
- /* ---------- ALERT IN TEXT ---------- */
704
- .pts-alertInText-container {
705
- display: flex;
706
- width: 100%;
707
- justify-content: flex-start;
708
- }
709
- .pts-alertInText-left {
710
- display: flex;
711
- justify-content: flex-start;
712
- align-items: flex-start;
713
- gap: 10px;
714
- align-self: stretch;
715
- border-top-left-radius: 8px;
716
- border-bottom-left-radius: 8px;
717
- border: 1px solid var(--alertintext);
718
- background-color: var(--alertintext);
719
- padding: 8px;
720
- padding-top: 16px;
721
- }
722
- .pts-alertInText-right {
723
- display: flex;
724
- padding: 1.6rem;
725
- justify-content: flex-start;
726
- align-items: flex-start;
727
- width: 100%;
728
- border-top-right-radius: 8px;
729
- border-bottom-right-radius: 8px;
730
- border: 1px solid var(--alertintext);
731
- color: var(--text);
732
- }
733
-
734
697
  /*-----------ALWAYS IN THE END OF STYLES----------------*/
735
698
 
736
699
  .cleanPadding {
@@ -754,3 +717,7 @@ input:focus-visible:-webkit-autofill {
754
717
  white-space: nowrap;
755
718
  border: 0;
756
719
  }
720
+
721
+
722
+
723
+