optimized-react-component-library-xyz123 0.2.6 → 0.3.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.2.6",
3
+ "version": "0.3.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",
@@ -56,6 +56,10 @@
56
56
  background-color: var(--dark-background-second);
57
57
  }
58
58
 
59
+ .pts-header-container svg{
60
+ color: var(--dark-text);
61
+ }
62
+
59
63
  .pts-header-container svg path{
60
64
  fill: var(--dark-text);
61
65
  }
@@ -63,6 +67,7 @@
63
67
  .pts-languageButton{
64
68
  color:var(--dark-text);
65
69
  }
70
+
66
71
  /*-------MAIN CONTENT-------*/
67
72
  section,
68
73
  .pts-form-step-header {
@@ -73,6 +78,55 @@
73
78
  color: var(--dark-action);
74
79
  }
75
80
 
81
+ /* ---------- SERVICE HEADLINE AND BODY ---------- */
82
+
83
+ .pts-serviceHeadlineAndBody-container a {
84
+ color: var(--dark-action);
85
+ }
86
+
87
+ .pts-serviceHeadlineAndBody-container a svg,
88
+ .MoreInfoIcon svg {
89
+ background-color: var(--dark-action);
90
+ }
91
+
92
+ .pts-serviceHeadlineAndBody-container a svg path,
93
+ .MoreInfoIcon svg path {
94
+ fill: var(--dark-main);
95
+ }
96
+
97
+
98
+ .pts-moreinfo-list a {
99
+ color: var(--dark-action);
100
+ }
101
+
102
+ .pts-moreinfo-list svg {
103
+ background-color: var(--dark-action);
104
+ }
105
+
106
+ .pts-moreinfo-list svg path {
107
+ fill: var(--dark-main);
108
+ }
109
+
110
+ /* ---------- STEPPER ---------- */
111
+
112
+ .pts-stepperDot {
113
+ background-color: var(--dark-text);
114
+ color: var(--dark-main);
115
+ }
116
+
117
+ .pts-stepperDotActive {
118
+ background-color: var(--dark-orientation-active);
119
+ }
120
+
121
+ .pts-stepper-step:not(:last-child)::after {
122
+ background-color: var(--dark-text);
123
+ }
124
+
125
+ .pts-stepperDotDone,
126
+ .pts-stepperDotDone svg path {
127
+ background-color: var(--dark-action);
128
+ stroke: var(--dark-main);
129
+ }
76
130
 
77
131
  /*-----------QUESTIONS--------------*/
78
132
 
@@ -127,56 +181,7 @@
127
181
  color: var(--dark-text);
128
182
  }
129
183
 
130
- /* ---------- SERVICE HEADLINE AND BODY ---------- */
131
-
132
- .pts-serviceHeadlineAndBody-container a {
133
- color: var(--dark-action);
134
- }
135
-
136
- .pts-serviceHeadlineAndBody-container a svg,
137
- .MoreInfoIcon svg {
138
- background-color: var(--dark-action);
139
- }
140
-
141
- .pts-serviceHeadlineAndBody-container a svg path,
142
- .MoreInfoIcon svg path {
143
- fill: var(--dark-main);
144
- }
145
184
 
146
-
147
- .pts-moreinfo-list a {
148
- color: var(--dark-action);
149
- }
150
-
151
- .pts-moreinfo-list svg {
152
- background-color: var(--dark-action);
153
- }
154
-
155
- .pts-moreinfo-list svg path {
156
- fill: var(--dark-main);
157
- }
158
-
159
- /* ---------- STEPPER ---------- */
160
-
161
- .pts-stepperDot {
162
- background-color: var(--dark-text);
163
- color: var(--dark-main);
164
- }
165
-
166
- .pts-stepperDotActive {
167
- background-color: var(--dark-orientation-active);
168
- }
169
-
170
- .pts-stepper-step:not(:last-child)::after {
171
- background-color: var(--dark-text);
172
- }
173
-
174
- .pts-stepperDotDone,
175
- .pts-stepperDotDone svg path {
176
- background-color: var(--dark-action);
177
- stroke: var(--dark-main);
178
- }
179
-
180
185
  /* ---------- STEPPER BUTTON ---------- */
181
186
 
182
187
  .pts-forwardButton {
@@ -201,6 +206,7 @@
201
206
  border-color: var(--dark-action);
202
207
  color: var(--dark-action);
203
208
  }
209
+
204
210
  /* ---------- RADIO MULTIPLE ---------- */
205
211
 
206
212
  .pts-radioMultiple-container input[type='radio'] {
@@ -222,6 +228,7 @@
222
228
  background-color: var(--dark-action);
223
229
  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;
224
230
  }
231
+
225
232
  /* ---------- CHECKBOX GROUP ---------- */
226
233
 
227
234
  .pts-checkboxGroup-container input[type='checkbox'] {
@@ -233,6 +240,7 @@
233
240
  background-color: var(--dark-action);
234
241
  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
242
  }
243
+
236
244
  /* ---------- TEXTAREA ---------- */
237
245
 
238
246
  .pts-textArea-container textarea {
@@ -297,9 +305,6 @@
297
305
  color: var(--dark-action);
298
306
  }
299
307
 
300
-
301
-
302
-
303
308
  /* ---------- EDIT PREVIEW LINK ---------- */
304
309
 
305
310
  .pts-editPreviewLink-container button {
@@ -326,9 +331,21 @@
326
331
 
327
332
  .pts-errorSummary-container .errorDot {
328
333
  color: var(--dark-error);
334
+ background-color: var(--dark-main);
329
335
  }
330
336
 
331
337
  .errorSummary-text {
332
338
  color: var(--dark-error) !important;
333
339
  }
340
+
341
+ /*-------------MODAL-----------*/
342
+ .pts-modal-content{
343
+ background-color: var(--dark-main);
344
+ color: var(--dark-text);
345
+ }
346
+
347
+ .pts-spinner-border {
348
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='94' height='94' viewBox='0 0 94 94' fill='none'%3e%3cpath d='M47 11.75C66.4682 11.75 82.25 27.532 82.25 47C82.25 66.4682 66.4682 82.25 47 82.25C27.532 82.25 11.75 66.4682 11.75 47C11.75 27.532 27.532 11.75 47 11.75Z' stroke='%23B07CBF' stroke-opacity='0.25' stroke-width='7.83333' stroke-linecap='round'/%3e%3cpath d='M47 11.75C66.4682 11.75 82.25 27.532 82.25 47' stroke='%23B07CBF' stroke-width='7.83333' stroke-linecap='round'/%3e%3c/svg%3e");
349
+
350
+ }
334
351
  }
@@ -1,4 +1,3 @@
1
-
2
1
  fieldset {
3
2
  border: none;
4
3
  padding: 0;
@@ -11,9 +10,9 @@ fieldset {
11
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
  }
@@ -145,6 +142,43 @@ div.pts-root-question:last-child{
145
142
  cursor: pointer;
146
143
  }
147
144
 
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
+
148
182
 
149
183
  /*-------- CHECKBOX GROUP-------- */
150
184
 
@@ -224,7 +258,7 @@ div.pts-root-question:last-child{
224
258
 
225
259
  /* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
226
260
 
227
- .pts-textField-container{
261
+ .pts-textField-container {
228
262
  margin-top: 8px;
229
263
  }
230
264
 
@@ -241,11 +275,11 @@ div.pts-root-question:last-child{
241
275
  }
242
276
 
243
277
  .pts-textField-container label {
244
- margin-bottom: 0.8rem;
278
+ margin-bottom: 0.8rem;
245
279
  }
246
280
 
247
281
  .pts-question-hasAbout label {
248
- margin-bottom: 0.3rem;
282
+ margin-bottom: 0.3rem;
249
283
  }
250
284
 
251
285
  /* ---------- TEXTAREA ---------- */
@@ -278,11 +312,6 @@ div.pts-root-question:last-child{
278
312
  width: 100%;
279
313
  }
280
314
 
281
-
282
-
283
-
284
-
285
-
286
315
  /* ---------- FILE UPLOAD ---------- */
287
316
  /* ---------- FILE UPLOAD ---------- */
288
317
  /* ---------- FILE UPLOAD ---------- */
@@ -951,7 +980,7 @@ div.pts-root-question:last-child{
951
980
 
952
981
  .addFilesMandatory {
953
982
  margin-bottom: 16px;
954
- margin-top: 0px;
983
+ margin-top: 0px;
955
984
  }
956
985
 
957
986
  .addFilesMandatory.error {