optimized-react-component-library-xyz123 0.1.159 → 0.1.161

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.1.159",
3
+ "version": "0.1.161",
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",
@@ -166,9 +166,6 @@
166
166
  margin-top: 1.6rem;
167
167
  }
168
168
 
169
- .pts-root-question{
170
- width: auto;
171
- }
172
169
  .pts-textArea-container textarea {
173
170
  width: 100%;
174
171
  box-sizing: border-box;
@@ -1,4 +1,3 @@
1
-
2
1
  fieldset {
3
2
  border: none;
4
3
  padding: 0;
@@ -8,12 +7,12 @@ fieldset {
8
7
  .pts-root-question {
9
8
  display: flex;
10
9
  flex-direction: column;
11
- width: 624px;
10
+ max-width: 624px;
12
11
  }
13
12
 
14
- div.pts-root-question:last-child{
15
- padding-bottom: 0 ;
16
- margin-bottom: 0 ;
13
+ div.pts-root-question:last-child {
14
+ padding-bottom: 0;
15
+ margin-bottom: 0;
17
16
  }
18
17
 
19
18
  .pts-root-categoryDescription,
@@ -21,7 +20,7 @@ div.pts-root-question:last-child{
21
20
  margin-bottom: 3.6rem;
22
21
  }
23
22
 
24
- .pts-root-question{
23
+ .pts-root-question {
25
24
  margin-bottom: 3.6rem;
26
25
  }
27
26
 
@@ -33,8 +32,8 @@ div.pts-root-question:last-child{
33
32
  cursor: pointer;
34
33
  }
35
34
 
36
- .pts-radio-option,
37
- .pts-root-question legend {
35
+ .pts-radio-option,
36
+ .pts-root-question legend {
38
37
  margin-bottom: 0.8rem;
39
38
  }
40
39
 
@@ -46,8 +45,6 @@ div.pts-root-question:last-child{
46
45
  line-height: 20px;
47
46
  }
48
47
 
49
-
50
-
51
48
  .pts-root-about {
52
49
  font-size: 1.4rem;
53
50
  color: var(--info);
@@ -95,7 +92,7 @@ div.pts-root-question:last-child{
95
92
  border: 0.2rem solid var(--error) !important;
96
93
  }
97
94
 
98
- .error-container{
95
+ .error-container {
99
96
  padding: 3.6rem 0 0 0;
100
97
  margin: 0;
101
98
  }
@@ -115,7 +112,7 @@ div.pts-root-question:last-child{
115
112
  /* ---------- RADIO MULTIPLE ---------- */
116
113
 
117
114
  .pts-radioMultiple-container input[type='radio'] {
118
- /*appearance: none;*/
115
+ appearance: none;
119
116
  width: 1.8rem;
120
117
  height: 1.8rem;
121
118
  border: 1.5px solid var(--info);
@@ -145,42 +142,65 @@ div.pts-root-question:last-child{
145
142
  cursor: pointer;
146
143
  }
147
144
 
148
- /* ---------- MULTIPLE CHECKBOXES ---------- */
145
+ /* ---------- SINGLE CHECKBOX ---------- */
149
146
 
150
- .pts-checkboxGroup-options{
151
- display: flex;
152
- }
147
+ /* ---------- SINGLE CHECKBOX ---------- */
148
+
149
+ .pts-singleCheckbox-container input[type='checkbox'] {
150
+ -webkit-appearance: none;
153
151
 
154
- .pts-multipleCheckboxes-container input[type='checkbox'],
155
- .pts-checkboxGroup-container input[type='checkbox']{
156
- appearance: none;
157
152
  width: 1.8rem;
158
153
  height: 1.8rem;
159
154
  margin-right: 0.8rem;
160
155
  flex-shrink: 0;
156
+
161
157
  background-color: var(--main);
162
158
  border: 0.15rem solid var(--info);
163
159
  border-radius: 0.2rem;
160
+
164
161
  cursor: pointer;
165
162
  }
166
163
 
167
- .pts-multipleCheckboxes-container input[type='checkbox']:checked,
168
- .pts-checkboxGroup-container input[type='checkbox']:checked {
164
+ .pts-singleCheckbox-container input[type='checkbox']:checked {
169
165
  background-color: var(--action);
170
166
  border: none;
171
167
  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;
172
168
  }
173
169
 
174
- .pts-multipleCheckboxes-container label,
175
- .pts-checkboxGroup-container label{
170
+ .pts-singleCheckbox-container label {
176
171
  cursor: pointer;
177
172
  margin: 0;
178
173
  padding-top: 0.1rem;
174
+ margin-top: 0.2rem;
175
+ }
176
+
177
+ /* ---------- MULTIPLE CHECKBOXES ---------- */
178
+
179
+ .pts-multipleCheckboxes-container input[type='checkbox'] {
180
+ -webkit-appearance: none;
181
+
182
+ width: 1.8rem;
183
+ height: 1.8rem;
184
+ margin-right: 0.8rem;
185
+ flex-shrink: 0;
186
+
187
+ background-color: var(--main);
188
+ border: 0.15rem solid var(--info);
189
+ border-radius: 0.2rem;
190
+
191
+ cursor: pointer;
179
192
  }
180
193
 
181
- .pts-checkboxGroup-container label{
182
- padding-top: 0.3rem;
183
- line-height: 20px;
194
+ .pts-multipleCheckboxes-container input[type='checkbox']:checked {
195
+ background-color: var(--action);
196
+ border: none;
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;
198
+ }
199
+
200
+ .pts-multipleCheckboxes-container label {
201
+ cursor: pointer;
202
+ margin: 0;
203
+ padding-top: 0.1rem;
184
204
  }
185
205
 
186
206
  .pts-multipleCheckboxes-container ul {
@@ -196,16 +216,14 @@ div.pts-root-question:last-child{
196
216
  cursor: pointer;
197
217
  }
198
218
 
199
- .pts-multipleCheckboxes-container li label,
200
- .pts-checkboxGroup-container {
219
+ .pts-multipleCheckboxes-container li label {
201
220
  flex: 1;
202
221
  margin-top: 0.2rem;
203
222
  }
204
223
 
205
-
206
224
  /* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
207
225
 
208
- .pts-textField-container{
226
+ .pts-textField-container {
209
227
  margin-top: 8px;
210
228
  }
211
229
 
@@ -222,11 +240,11 @@ div.pts-root-question:last-child{
222
240
  }
223
241
 
224
242
  .pts-textField-container label {
225
- margin-bottom: 0.8rem;
243
+ margin-bottom: 0.8rem;
226
244
  }
227
245
 
228
246
  .pts-question-hasAbout label {
229
- margin-bottom: 0.3rem;
247
+ margin-bottom: 0.3rem;
230
248
  }
231
249
 
232
250
  /* ---------- TEXTAREA ---------- */
@@ -259,11 +277,6 @@ div.pts-root-question:last-child{
259
277
  width: 100%;
260
278
  }
261
279
 
262
-
263
-
264
-
265
-
266
-
267
280
  /* ---------- FILE UPLOAD ---------- */
268
281
  /* ---------- FILE UPLOAD ---------- */
269
282
  /* ---------- FILE UPLOAD ---------- */
@@ -932,7 +945,7 @@ div.pts-root-question:last-child{
932
945
 
933
946
  .addFilesMandatory {
934
947
  margin-bottom: 16px;
935
- margin-top: 0px;
948
+ margin-top: 0px;
936
949
  }
937
950
 
938
951
  .addFilesMandatory.error {