optimized-react-component-library-xyz123 0.14.1 → 0.15.2

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.14.1",
3
+ "version": "0.15.2",
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",
@@ -242,6 +242,18 @@
242
242
  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;
243
243
  }
244
244
 
245
+ /* ---------- SINGLE CHECKBOX ---------- */
246
+
247
+ .pts-singleCheckbox-container input[type='checkbox'] {
248
+ background-color: var(--dark-main);
249
+ border-color: var(--dark-info);
250
+ }
251
+
252
+ .pts-singleCheckbox-container input[type='checkbox']:checked {
253
+ background-color: var(--dark-action);
254
+ 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;
255
+ }
256
+
245
257
  /* ---------- TEXTAREA ---------- */
246
258
 
247
259
  .pts-textArea-container textarea {
@@ -93,6 +93,10 @@
93
93
  padding: 0;
94
94
  }
95
95
 
96
+ .pts-header-content{
97
+ display:block;
98
+ }
99
+
96
100
  .pts-header-logo-container {
97
101
  padding: 13px 0;
98
102
  border-bottom: 2px solid #ddd;
@@ -100,6 +104,11 @@
100
104
  text-align: center;
101
105
  }
102
106
 
107
+ .pts-header-navigation-container{
108
+ align-items: center;
109
+ justify-content: center;
110
+ }
111
+
103
112
  .pts-languageButton {
104
113
  margin: 0.4rem 0;
105
114
  }
@@ -144,6 +144,7 @@ div.pts-root-question:last-child {
144
144
 
145
145
  /* ---------- SINGLE CHECKBOX ---------- */
146
146
 
147
+
147
148
  .pts-singleCheckbox-row {
148
149
  display: flex;
149
150
  flex-direction: row;
@@ -153,17 +154,15 @@ div.pts-root-question:last-child {
153
154
 
154
155
  .pts-singleCheckbox-container input[type='checkbox'] {
155
156
  -webkit-appearance: none;
156
-
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;
165
+ margin-left: 0px;
167
166
  }
168
167
 
169
168
  .pts-singleCheckbox-container input[type='checkbox']:checked {
@@ -196,6 +195,7 @@ div.pts-root-question:last-child {
196
195
  border: 0.15rem solid var(--info);
197
196
  border-radius: 0.2rem;
198
197
  cursor: pointer;
198
+ margin-left: 0px;
199
199
  }
200
200
 
201
201
  .pts-checkboxGroup-container input[type='checkbox']:checked {
@@ -259,7 +259,7 @@ div.pts-root-question:last-child {
259
259
  /* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
260
260
 
261
261
  .pts-textField-container {
262
- margin-top: 8px;
262
+ margin-bottom: 16px;
263
263
  }
264
264
 
265
265
  .pts-about {
@@ -312,6 +312,10 @@ div.pts-root-question:last-child {
312
312
  width: 100%;
313
313
  }
314
314
 
315
+ .pts-root-question-group-fieldset .pts-root-error{
316
+ margin-bottom: 1.6rem;
317
+ }
318
+
315
319
  /* ---------- FILE UPLOAD ---------- */
316
320
  /* ---------- FILE UPLOAD ---------- */
317
321
  /* ---------- FILE UPLOAD ---------- */
@@ -288,6 +288,27 @@ textarea:focus-visible,
288
288
  background-color: var(--main);
289
289
  }
290
290
 
291
+ .pts-header-content{
292
+ width: 100%;
293
+ display: flex;
294
+ }
295
+
296
+ .pts-header-logo-container{
297
+ height:4rem;
298
+ }
299
+
300
+ .pts-header-logo svg{
301
+ height: 4rem;
302
+ }
303
+
304
+ .pts-header-navigation-container{
305
+ display: flex;
306
+ flex-direction: column;
307
+ justify-content: flex-end;
308
+ width: 100%;
309
+ align-items: flex-end;
310
+ }
311
+
291
312
  .pts-languageButton {
292
313
  position: relative;
293
314
  display: inline-flex;
@@ -296,15 +317,16 @@ textarea:focus-visible,
296
317
  border: transparent;
297
318
  color: var(--action);
298
319
  cursor: pointer;
320
+ font-size: 1.6rem;
299
321
  }
300
322
 
301
323
  .pts-languageButton::after {
302
324
  content: "";
303
325
  position: absolute;
304
- left: 0.7rem;
305
- right: -0.3rem;
306
- bottom: 0;
307
- height: 0.2rem;
326
+ left: 7px;
327
+ right: 4px;
328
+ bottom: 3px;
329
+ height: 0.15rem;
308
330
  background-color: currentColor;
309
331
  opacity: 0;
310
332
  }
@@ -314,21 +336,25 @@ textarea:focus-visible,
314
336
  }
315
337
 
316
338
  .languageIcon{
339
+ position: relative;
317
340
  margin-top: 0.3rem;
318
341
  padding-right: 0.6rem;
342
+ top: 0.01rem;
319
343
  }
320
344
 
321
345
  .pts-languageButton svg {
322
- width: 1.5rem;
323
- height: 1.5rem;
346
+ width: 1.6rem;
347
+ height: 1.6rem;
324
348
  }
325
349
 
326
- .languageIcon{
327
- padding-left: 0.6rem;
328
- }
329
350
 
330
351
  /* ---------- TextBODY ---------- */
331
352
 
353
+ .pts-textBody-container p{
354
+ margin-bottom: 1.6rem;
355
+
356
+ }
357
+
332
358
  .MoreInfoIcon{
333
359
  margin-top: 2px;
334
360
  }
@@ -781,8 +807,7 @@ textarea:focus-visible,
781
807
  transform: rotate(360deg);
782
808
  }
783
809
  }
784
-
785
-
810
+ /*-----------ALWAYS IN THE END OF STYLES----------------*/
786
811
 
787
812
  .cleanPadding {
788
813
  padding: 0;