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

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.5.13",
3
+ "version": "2.7.1",
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",
@@ -8,6 +8,8 @@
8
8
  --dark-orientation-active: #f4bf56;
9
9
  --dark-background-second: #200827;
10
10
  --dark-background-third: #747474;
11
+ --dark-alertintext: #adc7e5;
12
+ --dark-alertintext-text: #dc7d0a;
11
13
  }
12
14
 
13
15
  @media (prefers-color-scheme: dark) {
@@ -308,20 +310,6 @@
308
310
  background-color: var(--dark-action);
309
311
  }
310
312
 
311
- /* ---------- RADIO MULTIPLE WHITH INFO 2 ---------- */
312
-
313
- .pts-radioMultipleWithInfo2-container input[type='radio']:checked::before {
314
- background-color: var(--dark-main);
315
- }
316
-
317
- .pts-radio-collapse-button-container {
318
- background-color: var(--dark-action);
319
- }
320
-
321
- .pts-radio-collapse-body.open {
322
- border-color: var(--dark-action);
323
- }
324
-
325
313
  /* ---------- MULTIPLE CHECKBOXES ---------- */
326
314
 
327
315
  .pts-multipleCheckboxes-container input[type='checkbox'] {
@@ -508,6 +496,26 @@
508
496
  background-color: rgba(255, 255, 255, 0.5);
509
497
  }
510
498
 
499
+ /* ---------- ALERT IN TEXT ---------- */
500
+
501
+ .pts-alertInText-left {
502
+ border: 1px solid var(--dark-alertintext);
503
+ background-color: var(--dark-alertintext);
504
+ }
505
+ .pts-alertInText-left svg circle {
506
+ fill: var(--dark-background);
507
+ }
508
+ .pts-alertInText-left svg rect {
509
+ fill: var(--dark-alertintext);
510
+ }
511
+ .pts-alertInText-left svg .pts-alertInText-icon-dot-over-i {
512
+ fill: var(--dark-alertintext);
513
+ }
514
+ .pts-alertInText-right {
515
+ border: 1px solid var(--dark-alertintext);
516
+ color: var(--dark-alertintext-text);
517
+ }
518
+
511
519
  /*-------------Autofill-----------*/
512
520
  input:autofill,
513
521
  input:autofill:hover,
@@ -261,20 +261,12 @@
261
261
  margin-right: 1.6rem;
262
262
  margin-top: 1.6rem;
263
263
  }
264
- /*****Questions*******/
264
+
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
-
278
270
  .inputContainer {
279
271
  margin-bottom: 1.6rem;
280
272
  }
@@ -124,8 +124,8 @@ div.pts-root-question:last-child {
124
124
  }
125
125
 
126
126
  /* ---------- RADIO MULTIPLE ---------- */
127
- .pts-radioMultiple-container input[type='radio'],
128
- .pts-radioMultipleWithInfo2-container input[type='radio'] {
127
+
128
+ .pts-radioMultiple-container input[type='radio'] {
129
129
  appearance: none;
130
130
  width: 1.8rem;
131
131
  height: 1.8rem;
@@ -138,8 +138,7 @@ div.pts-root-question:last-child {
138
138
  cursor: pointer;
139
139
  }
140
140
 
141
- .pts-radioMultiple-container input[type='radio']:checked::before,
142
- .pts-radioMultipleWithInfo2-container input[type='radio']:checked::before {
141
+ .pts-radioMultiple-container input[type='radio']:checked::before {
143
142
  content: '';
144
143
  position: absolute;
145
144
  top: 50%;
@@ -151,86 +150,12 @@ div.pts-root-question:last-child {
151
150
  background-color: var(--action);
152
151
  }
153
152
 
154
- .pts-radioMultiple-container label,
155
- .pts-radioMultipleWithInfo2-container label {
153
+ .pts-radioMultiple-container label {
156
154
  position: relative;
157
155
  flex: 1;
158
156
  cursor: pointer;
159
157
  }
160
158
 
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
-
234
159
  /* ---------- SINGLE CHECKBOX ---------- */
235
160
 
236
161
  .pts-singleCheckbox-row {
@@ -1052,7 +1052,7 @@ input:focus-visible:-webkit-autofill {
1052
1052
  }
1053
1053
  .pts-alertInText-right {
1054
1054
  display: flex;
1055
- padding: 1.6rem;
1055
+ padding: 0 1.6rem;
1056
1056
  justify-content: flex-start;
1057
1057
  align-items: flex-start;
1058
1058
  width: 100%;
@@ -1086,12 +1086,11 @@ input:focus-visible:-webkit-autofill {
1086
1086
  border: 0;
1087
1087
  }
1088
1088
 
1089
-
1090
1089
  .hide-asterix .pts-root-mandatoryAsterisk {
1091
1090
  display: none;
1092
1091
  }
1093
1092
 
1094
- [hidden],.hidden {
1093
+ [hidden] {
1095
1094
  display: none;
1096
1095
  }
1097
1096