optimized-react-component-library-xyz123 0.10.10 → 0.11.1

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.10.10",
3
+ "version": "0.11.1",
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",
@@ -7,6 +7,7 @@
7
7
  --dark-info: #808080;
8
8
  --dark-orientation-active:#F4BF56;
9
9
  --dark-background-second:#200827;
10
+ --dark-background-third:#747474;
10
11
  }
11
12
 
12
13
  @media (prefers-color-scheme: dark) {
@@ -337,6 +338,15 @@
337
338
  .errorSummary-text {
338
339
  color: var(--dark-error) !important;
339
340
  }
341
+
342
+ /*--------------------FOOTER-----------------*/
343
+
344
+ .pts-footer-slogan-text-container{
345
+ background-color: var(--dark-background-third);
346
+ }
347
+ }
348
+
349
+
340
350
 
341
351
  /*-------------MODAL-----------*/
342
352
  .pts-modal-content{
@@ -225,6 +225,15 @@
225
225
  padding-bottom: 4px;
226
226
  }
227
227
 
228
+ .pts-footer-slogan-text-container{
229
+ padding: 2.4rem 1.6rem;
230
+ }
231
+
232
+ .pts-footer-slogan-text{
233
+ line-height: 2rem;
234
+ }
235
+
236
+
228
237
  .pts-footer-logo {
229
238
  position: static;
230
239
  padding-left: 0;
@@ -142,56 +142,6 @@ div.pts-root-question:last-child {
142
142
  cursor: pointer;
143
143
  }
144
144
 
145
- /* ---------- DROPDOWN ---------- */
146
-
147
- /* För inspiration */
148
-
149
- .pts-dropdown-container {
150
- margin-bottom: 1.5rem;
151
- }
152
-
153
- .pts-dropdown-container label {
154
- display: block;
155
- margin-bottom: 0.5rem;
156
- font-weight: 500;
157
- }
158
-
159
- .pts-dropdown-container select {
160
- display: block;
161
- width: 100%;
162
- padding-right: 2.4em;
163
- padding-left: 0.6em;
164
-
165
- border: #747474 1px solid;
166
- box-shadow: none;
167
- margin: 0;
168
- height: 42px;
169
-
170
- word-wrap: normal;
171
-
172
- text-transform: none;
173
-
174
- cursor: pointer;
175
-
176
- border-radius: 6px;
177
-
178
- font-family: Arial;
179
- font-size: 16px;
180
-
181
- background-image: url(https://dsa.pts.se/images/arrow.svg);
182
- background-repeat: no-repeat;
183
- background-position: right 14px center;
184
- background-size: 1em;
185
-
186
- -webkit-appearance: none;
187
- -moz-appearance: none;
188
- appearance: none;
189
-
190
- transition:
191
- border-color 0.15s ease-in-out,
192
- box-shadow 0.15s ease-in-out;
193
- }
194
-
195
145
  /* ---------- SINGLE CHECKBOX ---------- */
196
146
 
197
147
  .pts-singleCheckbox-row {
@@ -229,13 +179,14 @@ div.pts-root-question:last-child {
229
179
  margin-top: 0.2rem;
230
180
  }
231
181
 
182
+
232
183
  /*-------- CHECKBOX GROUP-------- */
233
184
 
234
- .pts-checkboxGroup-options {
185
+ .pts-checkboxGroup-options{
235
186
  display: flex;
236
187
  }
237
188
 
238
- .pts-checkboxGroup-container input[type='checkbox'] {
189
+ .pts-checkboxGroup-container input[type='checkbox']{
239
190
  appearance: none;
240
191
  width: 1.8rem;
241
192
  height: 1.8rem;
@@ -253,7 +204,7 @@ div.pts-root-question:last-child {
253
204
  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;
254
205
  }
255
206
 
256
- .pts-checkboxGroup-container label {
207
+ .pts-checkboxGroup-container label{
257
208
  padding-top: 0.3rem;
258
209
  line-height: 20px;
259
210
  cursor: pointer;
@@ -262,7 +213,7 @@ div.pts-root-question:last-child {
262
213
 
263
214
  /* ---------- MULTIPLE CHECKBOXES ---------- */
264
215
 
265
- .pts-multipleCheckboxes-container input[type='checkbox'] {
216
+ .pts-multipleCheckboxes-container input[type='checkbox']{
266
217
  appearance: none;
267
218
  width: 1.8rem;
268
219
  height: 1.8rem;
@@ -280,7 +231,7 @@ div.pts-root-question:last-child {
280
231
  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;
281
232
  }
282
233
 
283
- .pts-multipleCheckboxes-container label {
234
+ .pts-multipleCheckboxes-container label{
284
235
  cursor: pointer;
285
236
  margin: 0;
286
237
  padding-top: 0.1rem;
@@ -299,11 +250,12 @@ div.pts-root-question:last-child {
299
250
  cursor: pointer;
300
251
  }
301
252
 
302
- .pts-multipleCheckboxes-container li label {
253
+ .pts-multipleCheckboxes-container li label{
303
254
  flex: 1;
304
255
  margin-top: 0.2rem;
305
256
  }
306
257
 
258
+
307
259
  /* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
308
260
 
309
261
  .pts-textField-container {
@@ -11,6 +11,7 @@
11
11
  --info: #545454;
12
12
  --orientation-active: #dc7d0a;
13
13
  --background-second: #200827;
14
+ --background-third: #414141;
14
15
  }
15
16
 
16
17
  body,
@@ -650,17 +651,34 @@ textarea:focus-visible,
650
651
  /* ---------- FOOTER ---------- */
651
652
 
652
653
  .pts-footer-container {
653
- display: flex;
654
- min-height: 14rem;
655
654
  align-items: center;
656
655
  width: 100%;
657
656
  background-color: var(--background-second);
658
657
  }
659
658
 
659
+ .pts-footer-slogan-text-container{
660
+ display: flex;
661
+ align-items: center;
662
+ justify-content: center;
663
+ background-color: var(--background-third);
664
+ padding: 1.8rem 2.4rem;
665
+ }
666
+
667
+ .pts-footer-slogan-text{
668
+ color: var(--main);
669
+ line-height: 2.4rem;
670
+ font-size: 2rem;
671
+ text-box-trim: trim-both;
672
+ margin: 0;
673
+
674
+ }
675
+
660
676
  .pts-footer-content{
661
677
  display: flex;
662
678
  align-items: center;
663
679
  width: 100%;
680
+ min-height: 14rem;
681
+ padding: 0.1rem 0;
664
682
  }
665
683
 
666
684
  .pts-footer-logo {