optimized-react-component-library-xyz123 2.5.9 → 2.5.11
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 +45 -3
- package/dist/index.d.ts +45 -3
- package/dist/index.js +104 -46
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +102 -45
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +63 -74
- package/src/css/questions.css +15 -18
package/package.json
CHANGED
package/src/css/darkMode.css
CHANGED
|
@@ -67,7 +67,6 @@
|
|
|
67
67
|
color: var(--dark-text);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
|
|
71
70
|
/*--Navigation header / menu ----*/
|
|
72
71
|
|
|
73
72
|
.pts-navigation-header-container {
|
|
@@ -75,81 +74,74 @@
|
|
|
75
74
|
}
|
|
76
75
|
|
|
77
76
|
.pts-navigation-header-logo-container,
|
|
78
|
-
.pts-navigation-header-headline-container
|
|
79
|
-
border-color: var(--dark-background-third)!important;
|
|
77
|
+
.pts-navigation-header-headline-container {
|
|
78
|
+
border-color: var(--dark-background-third) !important;
|
|
80
79
|
}
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
.pts-navigation-header-nav-container button svg path,
|
|
81
|
+
.pts-navigation-header-nav-container button svg line {
|
|
83
82
|
color: var(--dark-text);
|
|
84
83
|
fill: var(--dark-text);
|
|
85
84
|
stroke: var(--dark-text);
|
|
86
85
|
}
|
|
87
86
|
|
|
88
|
-
.pts-navigation-header-container svg path {
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.pts-navigation-header-nav-container,
|
|
94
|
-
.pts-navigation-header-button-label {
|
|
95
|
-
background: var(--dark-background-second);
|
|
96
|
-
color: var(--dark-text);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.pts-expand-icon svg rect{
|
|
100
|
-
fill: var(--dark-action);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
.pts-contract-icon svg rect{
|
|
105
|
-
fill: var(--dark-orientation-active);
|
|
106
|
-
}
|
|
87
|
+
.pts-navigation-header-container svg path {
|
|
88
|
+
fill: var(--dark-text);
|
|
89
|
+
}
|
|
107
90
|
|
|
91
|
+
.pts-navigation-header-nav-container,
|
|
92
|
+
.pts-navigation-header-button-label {
|
|
93
|
+
background: var(--dark-background-second);
|
|
94
|
+
color: var(--dark-text);
|
|
95
|
+
}
|
|
108
96
|
|
|
109
|
-
.pts-
|
|
110
|
-
|
|
111
|
-
}
|
|
97
|
+
.pts-expand-icon svg rect {
|
|
98
|
+
fill: var(--dark-action);
|
|
99
|
+
}
|
|
112
100
|
|
|
113
|
-
.pts-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
101
|
+
.pts-contract-icon svg rect {
|
|
102
|
+
fill: var(--dark-orientation-active);
|
|
103
|
+
}
|
|
117
104
|
|
|
118
|
-
.pts-navigation-close-
|
|
119
|
-
|
|
120
|
-
}
|
|
105
|
+
.pts-navigation-close-text {
|
|
106
|
+
color: var(--dark-text);
|
|
107
|
+
}
|
|
121
108
|
|
|
122
|
-
.pts-navigation-
|
|
123
|
-
background
|
|
124
|
-
|
|
109
|
+
.pts-navigation-close-button {
|
|
110
|
+
background: var(--dark-main);
|
|
111
|
+
color: var(--dark-text);
|
|
112
|
+
}
|
|
125
113
|
|
|
126
|
-
.pts-navigation-
|
|
127
|
-
|
|
128
|
-
}
|
|
114
|
+
.pts-navigation-close-button svg path {
|
|
115
|
+
stroke: var(--dark-text);
|
|
116
|
+
}
|
|
129
117
|
|
|
130
|
-
.pts-navigation-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
.pts-navigation-close-container,
|
|
134
|
-
.pts-sub-navigation-item,
|
|
135
|
-
.pts-sub-navigation-item a,
|
|
136
|
-
.pts-navigation-button > a {
|
|
137
|
-
background: var(--dark-main);
|
|
138
|
-
color: var(--dark-text);
|
|
139
|
-
border-color: var(--dark-background-third);
|
|
140
|
-
}
|
|
118
|
+
.pts-navigation-link-expand-button {
|
|
119
|
+
background-color: var(--dark-main);
|
|
120
|
+
}
|
|
141
121
|
|
|
142
|
-
.pts-navigation-button
|
|
122
|
+
.pts-navigation-link-expand-button svg path {
|
|
123
|
+
stroke: var(--dark-main) !important;
|
|
124
|
+
}
|
|
143
125
|
|
|
144
|
-
|
|
126
|
+
.pts-navigation-with-close-button,
|
|
127
|
+
.pts-navigation-menu-container,
|
|
128
|
+
.pts-navigation-button,
|
|
129
|
+
.pts-navigation-close-container,
|
|
130
|
+
.pts-sub-navigation-item,
|
|
131
|
+
.pts-sub-navigation-item a,
|
|
132
|
+
.pts-navigation-button > a {
|
|
133
|
+
background: var(--dark-main);
|
|
134
|
+
color: var(--dark-text);
|
|
135
|
+
border-color: var(--dark-background-third);
|
|
136
|
+
}
|
|
145
137
|
|
|
146
|
-
|
|
138
|
+
.pts-navigation-button a {
|
|
139
|
+
color: var(--dark-text);
|
|
140
|
+
}
|
|
147
141
|
|
|
148
|
-
.pts-sub-navigation-container {
|
|
142
|
+
.pts-sub-navigation-container {
|
|
149
143
|
border-left: var(--dark-action) 5px solid;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
144
|
+
}
|
|
153
145
|
|
|
154
146
|
/*-------MAIN CONTENT-------*/
|
|
155
147
|
section,
|
|
@@ -171,7 +163,6 @@ background-color: var(--dark-main);
|
|
|
171
163
|
.MoreInfoIcon svg {
|
|
172
164
|
background-color: var(--dark-action);
|
|
173
165
|
}
|
|
174
|
-
|
|
175
166
|
|
|
176
167
|
.pts-serviceHeadlineAndBody-container a svg path,
|
|
177
168
|
.MoreInfoIcon svg path {
|
|
@@ -317,18 +308,18 @@ background-color: var(--dark-main);
|
|
|
317
308
|
background-color: var(--dark-action);
|
|
318
309
|
}
|
|
319
310
|
|
|
320
|
-
/* ---------- RADIO MULTIPLE WHITH INFO ---------- */
|
|
311
|
+
/* ---------- RADIO MULTIPLE WHITH INFO 2 ---------- */
|
|
321
312
|
|
|
322
|
-
.pts-
|
|
313
|
+
.pts-radioMultipleWithInfo2-container input[type='radio']:checked::before {
|
|
323
314
|
background-color: var(--dark-main);
|
|
324
315
|
}
|
|
325
|
-
|
|
326
|
-
.pts-radio-collapse-button-container{
|
|
316
|
+
|
|
317
|
+
.pts-radio-collapse-button-container {
|
|
327
318
|
background-color: var(--dark-action);
|
|
328
319
|
}
|
|
329
320
|
|
|
330
321
|
.pts-radio-collapse-body.open {
|
|
331
|
-
border-color:var(--dark-action);
|
|
322
|
+
border-color: var(--dark-action);
|
|
332
323
|
}
|
|
333
324
|
|
|
334
325
|
/* ---------- MULTIPLE CHECKBOXES ---------- */
|
|
@@ -437,11 +428,11 @@ background-color: var(--dark-main);
|
|
|
437
428
|
stroke: #000000;
|
|
438
429
|
}
|
|
439
430
|
|
|
440
|
-
|
|
441
|
-
|
|
431
|
+
/*---------- LINK STANDARD ------------*/
|
|
432
|
+
.pts-standard-link-icon svg {
|
|
442
433
|
background-color: var(--dark-action);
|
|
443
434
|
}
|
|
444
|
-
|
|
435
|
+
.pts-standard-link svg path {
|
|
445
436
|
fill: var(--dark-main);
|
|
446
437
|
color: #000000;
|
|
447
438
|
}
|
|
@@ -451,20 +442,20 @@ background-color: var(--dark-main);
|
|
|
451
442
|
}
|
|
452
443
|
|
|
453
444
|
/*----------------- COLLAPSE -----------------*/
|
|
454
|
-
|
|
455
|
-
color:var(--dark-text);
|
|
445
|
+
.pts-collapse-content {
|
|
446
|
+
color: var(--dark-text);
|
|
456
447
|
}
|
|
457
448
|
|
|
458
449
|
.pts-collapse-button {
|
|
459
450
|
background-color: var(--dark-action);
|
|
460
|
-
color:var(--dark-main);
|
|
451
|
+
color: var(--dark-main);
|
|
461
452
|
}
|
|
462
453
|
|
|
463
|
-
.pts-open-close-icon svg path{
|
|
454
|
+
.pts-open-close-icon svg path {
|
|
464
455
|
fill: var(--dark-main);
|
|
465
456
|
}
|
|
466
457
|
|
|
467
|
-
|
|
458
|
+
.pts-collapse-body.open {
|
|
468
459
|
border-color: var(--dark-info);
|
|
469
460
|
background: var(--dark-main);
|
|
470
461
|
}
|
|
@@ -534,6 +525,4 @@ background-color: var(--dark-main);
|
|
|
534
525
|
input:-moz-autofill {
|
|
535
526
|
box-shadow: 0 0 0 1000px transparent inset !important;
|
|
536
527
|
}
|
|
537
|
-
|
|
538
|
-
|
|
539
528
|
}
|
package/src/css/questions.css
CHANGED
|
@@ -124,8 +124,8 @@ div.pts-root-question:last-child {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
/* ---------- RADIO MULTIPLE ---------- */
|
|
127
|
-
.pts-radioMultiple-container input[type='radio'],
|
|
128
|
-
.pts-
|
|
127
|
+
.pts-radioMultiple-container input[type='radio'],
|
|
128
|
+
.pts-radioMultipleWithInfo2-container input[type='radio'] {
|
|
129
129
|
appearance: none;
|
|
130
130
|
width: 1.8rem;
|
|
131
131
|
height: 1.8rem;
|
|
@@ -139,7 +139,7 @@ div.pts-root-question:last-child {
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.pts-radioMultiple-container input[type='radio']:checked::before,
|
|
142
|
-
.pts-
|
|
142
|
+
.pts-radioMultipleWithInfo2-container input[type='radio']:checked::before {
|
|
143
143
|
content: '';
|
|
144
144
|
position: absolute;
|
|
145
145
|
top: 50%;
|
|
@@ -152,23 +152,22 @@ div.pts-root-question:last-child {
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.pts-radioMultiple-container label,
|
|
155
|
-
.pts-
|
|
155
|
+
.pts-radioMultipleWithInfo2-container label {
|
|
156
156
|
position: relative;
|
|
157
157
|
flex: 1;
|
|
158
158
|
cursor: pointer;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
|
|
162
161
|
/****RADIO MULTIPLE WITH INFO*/
|
|
163
162
|
|
|
164
|
-
.pts-radioWithInfo-sub-headline{
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
163
|
+
.pts-radioWithInfo-sub-headline {
|
|
164
|
+
margin-block-start: 3.6rem;
|
|
165
|
+
margin-block-end: 1.6rem;
|
|
166
|
+
font-size: 18px;
|
|
167
|
+
font-weight: 700;
|
|
169
168
|
}
|
|
170
169
|
|
|
171
|
-
.pts-
|
|
170
|
+
.pts-radioMultipleWithInfo2-container label {
|
|
172
171
|
padding-top: 2px;
|
|
173
172
|
}
|
|
174
173
|
|
|
@@ -197,20 +196,19 @@ div.pts-root-question:last-child {
|
|
|
197
196
|
border-radius: 8px 8px 0 0;
|
|
198
197
|
}
|
|
199
198
|
|
|
200
|
-
.pts-radio-collapse-button-container input{
|
|
199
|
+
.pts-radio-collapse-button-container input {
|
|
201
200
|
background-color: var(--main);
|
|
202
201
|
}
|
|
203
202
|
|
|
204
203
|
.pts-radio-collapse-button {
|
|
205
|
-
all:unset;
|
|
204
|
+
all: unset;
|
|
206
205
|
display: grid;
|
|
207
|
-
grid-template-columns:
|
|
206
|
+
grid-template-columns: 95% 5%;
|
|
208
207
|
background-color: transparent;
|
|
209
208
|
padding-bottom: 1px;
|
|
210
209
|
}
|
|
211
210
|
|
|
212
|
-
|
|
213
|
-
.pts-radio-collapse-button svg path{
|
|
211
|
+
.pts-radio-collapse-button svg path {
|
|
214
212
|
fill: var(--text);
|
|
215
213
|
}
|
|
216
214
|
|
|
@@ -225,13 +223,12 @@ div.pts-root-question:last-child {
|
|
|
225
223
|
grid-template-rows: 1fr;
|
|
226
224
|
border: 2px solid var(--background);
|
|
227
225
|
border-top: none;
|
|
228
|
-
border-radius:0 0 8px 8px;
|
|
226
|
+
border-radius: 0 0 8px 8px;
|
|
229
227
|
padding: 1.6rem;
|
|
230
228
|
}
|
|
231
229
|
|
|
232
230
|
.pts-radio-collapse-content {
|
|
233
231
|
overflow: hidden;
|
|
234
|
-
|
|
235
232
|
}
|
|
236
233
|
|
|
237
234
|
/* ---------- SINGLE CHECKBOX ---------- */
|