optimized-react-component-library-xyz123 2.2.17 → 2.2.18
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.js +236 -229
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +237 -230
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/questions.css +62 -0
- package/src/css/styles.css +0 -59
package/package.json
CHANGED
package/src/css/questions.css
CHANGED
|
@@ -157,6 +157,68 @@ div.pts-root-question:last-child {
|
|
|
157
157
|
cursor: pointer;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
|
|
161
|
+
/****RADIO MULTIPLE WITH INFO*/
|
|
162
|
+
.pts-radio-collapse {
|
|
163
|
+
position: relative;
|
|
164
|
+
width: 100%;
|
|
165
|
+
max-width: 62.4rem;
|
|
166
|
+
margin-bottom: 0.8rem;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.pts-radio-collapse-button-container {
|
|
170
|
+
background-color: var(--background);
|
|
171
|
+
color: var(--text);
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
padding: 1.2rem 1.6rem;
|
|
174
|
+
border-radius: 8px;
|
|
175
|
+
outline: none;
|
|
176
|
+
display: grid;
|
|
177
|
+
text-align: left;
|
|
178
|
+
grid-template-columns: 5% 90% 5%;
|
|
179
|
+
align-items: center;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.pts-radio-collapse-button-container.open {
|
|
183
|
+
border-radius: 8px 8px 0 0;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.pts-radio-collapse-button-container input{
|
|
187
|
+
background-color: var(--main);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.pts-radio-collapse-button {
|
|
191
|
+
all:unset;
|
|
192
|
+
display: grid;
|
|
193
|
+
grid-template-columns: 95% 5%;
|
|
194
|
+
background-color: transparent;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
.pts-radio-collapse-button svg path{
|
|
199
|
+
fill: var(--text);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.pts-radio-collapse-body {
|
|
203
|
+
position: relative;
|
|
204
|
+
display: grid;
|
|
205
|
+
grid-template-rows: 0fr;
|
|
206
|
+
transition: grid-template-rows 0.3s ease;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.pts-radio-collapse-body.open {
|
|
210
|
+
grid-template-rows: 1fr;
|
|
211
|
+
border: 2px solid var(--background);
|
|
212
|
+
border-top: none;
|
|
213
|
+
border-radius:0 0 8px 8px;
|
|
214
|
+
padding: 1.6rem;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.pts-radio-collapse-content {
|
|
218
|
+
overflow: hidden;
|
|
219
|
+
|
|
220
|
+
}
|
|
221
|
+
|
|
160
222
|
/* ---------- SINGLE CHECKBOX ---------- */
|
|
161
223
|
|
|
162
224
|
.pts-singleCheckbox-row {
|
package/src/css/styles.css
CHANGED
|
@@ -719,64 +719,5 @@ input:focus-visible:-webkit-autofill {
|
|
|
719
719
|
}
|
|
720
720
|
|
|
721
721
|
|
|
722
|
-
/*TA BORT VID MERGE TILL DEVELOP*/
|
|
723
|
-
.pts-collapse {
|
|
724
|
-
position: relative;
|
|
725
|
-
width: 100%;
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
.pts-collapse-button-container {
|
|
729
|
-
background-color: var(--orientation-active);/*Todo*/
|
|
730
|
-
color: white;/*Todo*/
|
|
731
|
-
cursor: pointer;
|
|
732
|
-
padding: 12px 16px;
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
border-radius: 8px;
|
|
736
|
-
outline: none;
|
|
737
|
-
display: grid;
|
|
738
|
-
text-align: left;
|
|
739
|
-
grid-template-columns: 5% 90% 5%;
|
|
740
|
-
align-items: center;
|
|
741
|
-
font-size: 16px;
|
|
742
|
-
min-width: 500px; /*Todo*/
|
|
743
|
-
}
|
|
744
|
-
.pts-collapse-button {
|
|
745
|
-
all:unset;
|
|
746
|
-
display: grid;
|
|
747
|
-
grid-template-columns: 95% 5%;
|
|
748
|
-
background-color: transparent;
|
|
749
|
-
}
|
|
750
|
-
.pts-collapse-button.open {
|
|
751
|
-
border-radius: 8px 8px 0 0;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
.pts-collapse-title {
|
|
755
|
-
all: unset;
|
|
756
|
-
font-family: Arial;
|
|
757
|
-
font-size: 16px;
|
|
758
|
-
font-style: normal;
|
|
759
|
-
font-weight: 400;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
.pts-collapse-body {
|
|
763
|
-
position: relative;
|
|
764
|
-
display: grid;
|
|
765
|
-
grid-template-rows: 0fr;
|
|
766
|
-
transition: grid-template-rows 0.3s ease;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
.pts-collapse-body.open {
|
|
770
|
-
grid-template-rows: 1fr;
|
|
771
|
-
border: 2px solid var(--background);
|
|
772
|
-
border-top: none;
|
|
773
|
-
border-radius:0 0 8px 8px;
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
.pts-collapse-content {
|
|
777
|
-
overflow: hidden;
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
|
|
781
722
|
|
|
782
723
|
|