optimized-react-component-library-xyz123 0.1.165 → 0.1.166
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/dist/index.d.mts +3 -10
- package/dist/index.d.ts +3 -10
- package/dist/index.js +197 -299
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +191 -292
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/questions.css +19 -48
package/package.json
CHANGED
package/src/css/questions.css
CHANGED
|
@@ -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,43 +145,6 @@ div.pts-root-question:last-child {
|
|
|
142
145
|
cursor: pointer;
|
|
143
146
|
}
|
|
144
147
|
|
|
145
|
-
/* ---------- SINGLE CHECKBOX ---------- */
|
|
146
|
-
|
|
147
|
-
.pts-singleCheckbox-row {
|
|
148
|
-
display: flex;
|
|
149
|
-
flex-direction: row;
|
|
150
|
-
align-items: flex-start;
|
|
151
|
-
margin-bottom: 0.8rem;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.pts-singleCheckbox-container input[type='checkbox'] {
|
|
155
|
-
-webkit-appearance: none;
|
|
156
|
-
|
|
157
|
-
width: 1.8rem;
|
|
158
|
-
height: 1.8rem;
|
|
159
|
-
margin-right: 0.8rem;
|
|
160
|
-
flex-shrink: 0;
|
|
161
|
-
|
|
162
|
-
background-color: var(--main);
|
|
163
|
-
border: 0.15rem solid var(--info);
|
|
164
|
-
border-radius: 0.2rem;
|
|
165
|
-
|
|
166
|
-
cursor: pointer;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.pts-singleCheckbox-container input[type='checkbox']:checked {
|
|
170
|
-
background-color: var(--action);
|
|
171
|
-
border: none;
|
|
172
|
-
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
|
-
}
|
|
174
|
-
|
|
175
|
-
.pts-singleCheckbox-container label {
|
|
176
|
-
cursor: pointer;
|
|
177
|
-
margin: 0;
|
|
178
|
-
padding-top: 0.1rem;
|
|
179
|
-
margin-top: 0.2rem;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
148
|
/* ---------- MULTIPLE CHECKBOXES ---------- */
|
|
183
149
|
|
|
184
150
|
.pts-multipleCheckboxes-container input[type='checkbox'] {
|
|
@@ -228,7 +194,7 @@ div.pts-root-question:last-child {
|
|
|
228
194
|
|
|
229
195
|
/* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
|
|
230
196
|
|
|
231
|
-
.pts-textField-container
|
|
197
|
+
.pts-textField-container{
|
|
232
198
|
margin-top: 8px;
|
|
233
199
|
}
|
|
234
200
|
|
|
@@ -245,11 +211,11 @@ div.pts-root-question:last-child {
|
|
|
245
211
|
}
|
|
246
212
|
|
|
247
213
|
.pts-textField-container label {
|
|
248
|
-
|
|
214
|
+
margin-bottom: 0.8rem;
|
|
249
215
|
}
|
|
250
216
|
|
|
251
217
|
.pts-question-hasAbout label {
|
|
252
|
-
|
|
218
|
+
margin-bottom: 0.3rem;
|
|
253
219
|
}
|
|
254
220
|
|
|
255
221
|
/* ---------- TEXTAREA ---------- */
|
|
@@ -282,6 +248,11 @@ div.pts-root-question:last-child {
|
|
|
282
248
|
width: 100%;
|
|
283
249
|
}
|
|
284
250
|
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
285
256
|
/* ---------- FILE UPLOAD ---------- */
|
|
286
257
|
/* ---------- FILE UPLOAD ---------- */
|
|
287
258
|
/* ---------- FILE UPLOAD ---------- */
|
|
@@ -950,7 +921,7 @@ div.pts-root-question:last-child {
|
|
|
950
921
|
|
|
951
922
|
.addFilesMandatory {
|
|
952
923
|
margin-bottom: 16px;
|
|
953
|
-
|
|
924
|
+
margin-top: 0px;
|
|
954
925
|
}
|
|
955
926
|
|
|
956
927
|
.addFilesMandatory.error {
|