optimized-react-component-library-xyz123 0.30.3 → 0.30.5

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.30.3",
3
+ "version": "0.30.5",
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",
@@ -139,6 +139,10 @@
139
139
  border: 0.2rem solid var(--dark-action);
140
140
  }
141
141
 
142
+ .pts-root-question textarea:focus {
143
+ border: 0.2rem solid var(--dark-action);
144
+ }
145
+
142
146
  .errorDot {
143
147
  color: var(--dark-main);
144
148
  background-color: var(--dark-error);
@@ -167,7 +171,8 @@
167
171
  a:focus-visible,
168
172
  input:focus-visible,
169
173
  textarea:focus-visible,
170
- .filePickLabel:focus-visible {
174
+ .filePickLabel:focus-visible,
175
+ textarea:focus-visible {
171
176
  outline-color: #fff !important;
172
177
  box-shadow: 0 0 0 4px #000 !important;
173
178
  }
@@ -188,6 +193,12 @@
188
193
  color: var(--dark-text);
189
194
  }
190
195
 
196
+ .pts-root-question textarea {
197
+ border: 1px solid var(--dark-info);
198
+ background-color: var(--dark-main);
199
+ color: var(--dark-text);
200
+ }
201
+
191
202
  /* ---------- STEPPER BUTTON ---------- */
192
203
 
193
204
  .pts-forwardButton {
@@ -29,7 +29,6 @@ div.pts-root-question:last-child {
29
29
  .pts-radio-option {
30
30
  display: flex;
31
31
  align-items: flex-start;
32
- cursor: pointer;
33
32
  }
34
33
 
35
34
  .pts-root-question-group-fieldset legend {
@@ -84,11 +83,11 @@ div.pts-root-question:last-child {
84
83
  margin-right: 9px;
85
84
  }
86
85
 
87
- .pts-validation-error-icon{
86
+ .pts-validation-error-icon {
88
87
  margin-right: 0.9rem;
89
88
  }
90
89
 
91
- .pts-validation-error-icon svg{
90
+ .pts-validation-error-icon svg {
92
91
  width: 1.65rem;
93
92
  height: 1.65rem;
94
93
  }
@@ -197,14 +196,13 @@ div.pts-root-question:last-child {
197
196
  margin-top: 0.2rem;
198
197
  }
199
198
 
200
-
201
199
  /*-------- CHECKBOX GROUP-------- */
202
200
 
203
- .pts-checkboxGroup-options{
201
+ .pts-checkboxGroup-options {
204
202
  display: flex;
205
203
  }
206
204
 
207
- .pts-checkboxGroup-container input[type='checkbox']{
205
+ .pts-checkboxGroup-container input[type='checkbox'] {
208
206
  appearance: none;
209
207
  width: 1.8rem;
210
208
  height: 1.8rem;
@@ -223,7 +221,7 @@ div.pts-root-question:last-child {
223
221
  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;
224
222
  }
225
223
 
226
- .pts-checkboxGroup-container label{
224
+ .pts-checkboxGroup-container label {
227
225
  padding-top: 0.3rem;
228
226
  line-height: 20px;
229
227
  cursor: pointer;
@@ -232,7 +230,7 @@ div.pts-root-question:last-child {
232
230
 
233
231
  /* ---------- MULTIPLE CHECKBOXES ---------- */
234
232
 
235
- .pts-multipleCheckboxes-container input[type='checkbox']{
233
+ .pts-multipleCheckboxes-container input[type='checkbox'] {
236
234
  appearance: none;
237
235
  width: 1.8rem;
238
236
  height: 1.8rem;
@@ -250,7 +248,7 @@ div.pts-root-question:last-child {
250
248
  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;
251
249
  }
252
250
 
253
- .pts-multipleCheckboxes-container label{
251
+ .pts-multipleCheckboxes-container label {
254
252
  cursor: pointer;
255
253
  margin: 0;
256
254
  padding-top: 0.1rem;
@@ -269,12 +267,11 @@ div.pts-root-question:last-child {
269
267
  cursor: pointer;
270
268
  }
271
269
 
272
- .pts-multipleCheckboxes-container li label{
270
+ .pts-multipleCheckboxes-container li label {
273
271
  flex: 1;
274
272
  margin-top: 0.2rem;
275
273
  }
276
274
 
277
-
278
275
  /* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
279
276
 
280
277
  .pts-textField-container {
@@ -331,9 +328,9 @@ div.pts-root-question:last-child {
331
328
  width: 100%;
332
329
  }
333
330
 
334
- .pts-root-question-group-fieldset .pts-root-error{
335
- margin-bottom: 1.6rem;
336
- }
331
+ .pts-root-question-group-fieldset .pts-root-error {
332
+ margin-bottom: 1.6rem;
333
+ }
337
334
 
338
335
  /* ---------- FILE UPLOAD ---------- */
339
336
  /* ---------- FILE UPLOAD ---------- */
@@ -1089,23 +1086,17 @@ div.pts-root-question:last-child {
1089
1086
  }
1090
1087
  /* ---------- END FILE UPLOAD ---------- */
1091
1088
 
1092
-
1093
-
1094
-
1095
-
1096
-
1097
1089
  input:autofill,
1098
1090
  input:autofill:hover,
1099
1091
  input:autofill:focus,
1100
1092
  input:-webkit-autofill,
1101
1093
  input:-webkit-autofill:hover,
1102
1094
  input:-webkit-autofill:focus {
1103
- -webkit-box-shadow: 0 0 0 1000px var(--main) inset !important;
1104
- box-shadow: 0 0 0 1000px var(--main) inset !important;
1105
- -webkit-text-fill-color: inherit !important; /* behåller textfärgen */
1106
- background-color: var(--main) !important;
1095
+ -webkit-box-shadow: 0 0 0 1000px var(--main) inset !important;
1096
+ box-shadow: 0 0 0 1000px var(--main) inset !important;
1097
+ -webkit-text-fill-color: inherit !important; /* behåller textfärgen */
1098
+ background-color: var(--main) !important;
1107
1099
  }
1108
1100
  input:-moz-autofill {
1109
- box-shadow: 0 0 0 1000px transparent inset !important;
1101
+ box-shadow: 0 0 0 1000px transparent inset !important;
1110
1102
  }
1111
-