optimized-react-component-library-xyz123 0.2.5 → 0.2.6

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.2.5",
3
+ "version": "0.2.6",
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,7 +7,6 @@
7
7
  --dark-info: #808080;
8
8
  --dark-orientation-active:#F4BF56;
9
9
  --dark-background-second:#200827;
10
- --dark-background-third:#747474;
11
10
  }
12
11
 
13
12
  @media (prefers-color-scheme: dark) {
@@ -223,7 +222,17 @@
223
222
  background-color: var(--dark-action);
224
223
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
225
224
  }
225
+ /* ---------- CHECKBOX GROUP ---------- */
226
226
 
227
+ .pts-checkboxGroup-container input[type='checkbox'] {
228
+ background-color: var(--dark-main);
229
+ border-color: var(--dark-info);
230
+ }
231
+
232
+ .pts-checkboxGroup-container input[type='checkbox']:checked {
233
+ background-color: var(--dark-action);
234
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
235
+ }
227
236
  /* ---------- TEXTAREA ---------- */
228
237
 
229
238
  .pts-textArea-container textarea {
@@ -323,9 +332,3 @@
323
332
  color: var(--dark-error) !important;
324
333
  }
325
334
  }
326
-
327
- /*--------------------FOOTER-----------------*/
328
-
329
- .pts-footer-slogan-text-container{
330
- background-color: var(--dark-background-third);
331
- }
@@ -225,15 +225,6 @@
225
225
  padding-bottom: 4px;
226
226
  }
227
227
 
228
- .pts-footer-slogan-text-container{
229
- padding: 2.4rem 1.6rem;
230
- }
231
-
232
- .pts-footer-slogan-text{
233
- line-height: 20px;
234
- }
235
-
236
-
237
228
  .pts-footer-logo {
238
229
  position: static;
239
230
  padding-left: 0;
@@ -1,3 +1,4 @@
1
+
1
2
  fieldset {
2
3
  border: none;
3
4
  padding: 0;
@@ -10,9 +11,9 @@ fieldset {
10
11
  max-width: 624px;
11
12
  }
12
13
 
13
- div.pts-root-question:last-child {
14
- padding-bottom: 0;
15
- margin-bottom: 0;
14
+ div.pts-root-question:last-child{
15
+ padding-bottom: 0 ;
16
+ margin-bottom: 0 ;
16
17
  }
17
18
 
18
19
  .pts-root-categoryDescription,
@@ -20,7 +21,7 @@ div.pts-root-question:last-child {
20
21
  margin-bottom: 3.6rem;
21
22
  }
22
23
 
23
- .pts-root-question {
24
+ .pts-root-question{
24
25
  margin-bottom: 3.6rem;
25
26
  }
26
27
 
@@ -32,8 +33,8 @@ div.pts-root-question:last-child {
32
33
  cursor: pointer;
33
34
  }
34
35
 
35
- .pts-radio-option,
36
- .pts-root-question legend {
36
+ .pts-radio-option,
37
+ .pts-root-question legend {
37
38
  margin-bottom: 0.8rem;
38
39
  }
39
40
 
@@ -45,6 +46,8 @@ div.pts-root-question:last-child {
45
46
  line-height: 20px;
46
47
  }
47
48
 
49
+
50
+
48
51
  .pts-root-about {
49
52
  font-size: 1.4rem;
50
53
  color: var(--info);
@@ -92,7 +95,7 @@ div.pts-root-question:last-child {
92
95
  border: 0.2rem solid var(--error) !important;
93
96
  }
94
97
 
95
- .error-container {
98
+ .error-container{
96
99
  padding: 3.6rem 0 0 0;
97
100
  margin: 0;
98
101
  }
@@ -142,57 +145,49 @@ div.pts-root-question:last-child {
142
145
  cursor: pointer;
143
146
  }
144
147
 
145
- /* ---------- SINGLE CHECKBOX ---------- */
146
148
 
147
- .pts-singleCheckbox-row {
149
+ /*-------- CHECKBOX GROUP-------- */
150
+
151
+ .pts-checkboxGroup-options{
148
152
  display: flex;
149
- flex-direction: row;
150
- align-items: flex-start;
151
- margin-bottom: 0.8rem;
152
153
  }
153
154
 
154
- .pts-singleCheckbox-container input[type='checkbox'] {
155
- -webkit-appearance: none;
156
-
155
+ .pts-checkboxGroup-container input[type='checkbox']{
156
+ appearance: none;
157
157
  width: 1.8rem;
158
158
  height: 1.8rem;
159
159
  margin-right: 0.8rem;
160
160
  flex-shrink: 0;
161
-
162
161
  background-color: var(--main);
163
162
  border: 0.15rem solid var(--info);
164
163
  border-radius: 0.2rem;
165
-
166
164
  cursor: pointer;
167
165
  }
168
166
 
169
- .pts-singleCheckbox-container input[type='checkbox']:checked {
167
+ .pts-checkboxGroup-container input[type='checkbox']:checked {
170
168
  background-color: var(--action);
171
169
  border: none;
172
170
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
173
171
  }
174
172
 
175
- .pts-singleCheckbox-container label {
173
+ .pts-checkboxGroup-container label{
174
+ padding-top: 0.3rem;
175
+ line-height: 20px;
176
176
  cursor: pointer;
177
177
  margin: 0;
178
- padding-top: 0.1rem;
179
- margin-top: 0.2rem;
180
178
  }
181
179
 
182
180
  /* ---------- MULTIPLE CHECKBOXES ---------- */
183
181
 
184
- .pts-multipleCheckboxes-container input[type='checkbox'] {
185
- -webkit-appearance: none;
186
-
182
+ .pts-multipleCheckboxes-container input[type='checkbox']{
183
+ appearance: none;
187
184
  width: 1.8rem;
188
185
  height: 1.8rem;
189
186
  margin-right: 0.8rem;
190
187
  flex-shrink: 0;
191
-
192
188
  background-color: var(--main);
193
189
  border: 0.15rem solid var(--info);
194
190
  border-radius: 0.2rem;
195
-
196
191
  cursor: pointer;
197
192
  }
198
193
 
@@ -202,7 +197,7 @@ div.pts-root-question:last-child {
202
197
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
203
198
  }
204
199
 
205
- .pts-multipleCheckboxes-container label {
200
+ .pts-multipleCheckboxes-container label{
206
201
  cursor: pointer;
207
202
  margin: 0;
208
203
  padding-top: 0.1rem;
@@ -221,14 +216,15 @@ div.pts-root-question:last-child {
221
216
  cursor: pointer;
222
217
  }
223
218
 
224
- .pts-multipleCheckboxes-container li label {
219
+ .pts-multipleCheckboxes-container li label{
225
220
  flex: 1;
226
221
  margin-top: 0.2rem;
227
222
  }
228
223
 
224
+
229
225
  /* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
230
226
 
231
- .pts-textField-container {
227
+ .pts-textField-container{
232
228
  margin-top: 8px;
233
229
  }
234
230
 
@@ -245,11 +241,11 @@ div.pts-root-question:last-child {
245
241
  }
246
242
 
247
243
  .pts-textField-container label {
248
- margin-bottom: 0.8rem;
244
+ margin-bottom: 0.8rem;
249
245
  }
250
246
 
251
247
  .pts-question-hasAbout label {
252
- margin-bottom: 0.3rem;
248
+ margin-bottom: 0.3rem;
253
249
  }
254
250
 
255
251
  /* ---------- TEXTAREA ---------- */
@@ -282,6 +278,11 @@ div.pts-root-question:last-child {
282
278
  width: 100%;
283
279
  }
284
280
 
281
+
282
+
283
+
284
+
285
+
285
286
  /* ---------- FILE UPLOAD ---------- */
286
287
  /* ---------- FILE UPLOAD ---------- */
287
288
  /* ---------- FILE UPLOAD ---------- */
@@ -950,7 +951,7 @@ div.pts-root-question:last-child {
950
951
 
951
952
  .addFilesMandatory {
952
953
  margin-bottom: 16px;
953
- margin-top: 0px;
954
+ margin-top: 0px;
954
955
  }
955
956
 
956
957
  .addFilesMandatory.error {
@@ -11,7 +11,6 @@
11
11
  --info: #545454;
12
12
  --orientation-active: #dc7d0a;
13
13
  --background-second: #200827;
14
- --background-third: #414141;
15
14
  }
16
15
 
17
16
  body,
@@ -625,34 +624,17 @@ textarea:focus-visible,
625
624
  /* ---------- FOOTER ---------- */
626
625
 
627
626
  .pts-footer-container {
627
+ display: flex;
628
+ min-height: 14rem;
628
629
  align-items: center;
629
630
  width: 100%;
630
631
  background-color: var(--background-second);
631
632
  }
632
633
 
633
- .pts-footer-slogan-text-container{
634
- display: flex;
635
- align-items: center;
636
- justify-content: center;
637
- background-color: var(--background-third);
638
- padding: 1.8rem 2.4rem;
639
- }
640
-
641
- .pts-footer-slogan-text{
642
- color: var(--main);
643
- line-height: 2.4rem;
644
- font-size: 2rem;
645
- text-box-trim: trim-both;
646
- margin: 0;
647
-
648
- }
649
-
650
634
  .pts-footer-content{
651
635
  display: flex;
652
636
  align-items: center;
653
637
  width: 100%;
654
- min-height: 14rem;
655
- padding: 0.1rem 0;
656
638
  }
657
639
 
658
640
  .pts-footer-logo {