survey-react 1.9.125 → 1.9.127
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/defaultV2.css +144 -58
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +70 -48
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +70 -48
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +140 -45
- package/survey.react.js +689 -309
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/survey.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.127
|
3
3
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -169,65 +169,87 @@
|
|
169
169
|
|
170
170
|
.sv_window {
|
171
171
|
position: fixed;
|
172
|
-
bottom:
|
173
|
-
right:
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
|
178
|
-
font-style: normal;
|
179
|
-
font-weight: 400;
|
180
|
-
line-height: 1.42857143;
|
181
|
-
text-align: left;
|
182
|
-
text-align: start;
|
183
|
-
text-decoration: none;
|
184
|
-
text-shadow: none;
|
185
|
-
text-transform: none;
|
186
|
-
letter-spacing: normal;
|
187
|
-
word-break: normal;
|
188
|
-
word-spacing: normal;
|
189
|
-
word-wrap: normal;
|
190
|
-
white-space: normal;
|
191
|
-
background-color: #fff;
|
192
|
-
-webkit-background-clip: padding-box;
|
172
|
+
bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
173
|
+
right: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
174
|
+
border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
|
175
|
+
border: 1px solid var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
|
176
|
+
box-shadow: var(--sjs-shadow-large, 0px 8px 16px 0px rgba(0, 0, 0, 0.1)), var(--sjs-shadow-medium, 0px 2px 6px 0px rgba(0, 0, 0, 0.1));
|
193
177
|
background-clip: padding-box;
|
194
|
-
border: 1px solid #ccc;
|
195
|
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
196
|
-
border-radius: calc(1.5 * (var(--sjs-corner-radius, 4px)));
|
197
|
-
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
198
|
-
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
199
|
-
line-break: auto;
|
200
178
|
z-index: 100;
|
179
|
+
max-height: 90vh;
|
180
|
+
overflow: auto;
|
181
|
+
box-sizing: border-box;
|
201
182
|
}
|
202
183
|
|
203
|
-
.
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
184
|
+
.sv_window_content {
|
185
|
+
border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
|
186
|
+
overflow: hidden;
|
187
|
+
}
|
188
|
+
|
189
|
+
.sv_window--collapsed .sv_window_header {
|
190
|
+
height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
191
|
+
padding: var(--sjs-base-unit, var(--base-unit, 8px)) var(--sjs-base-unit, var(--base-unit, 8px)) var(--sjs-base-unit, var(--base-unit, 8px)) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
192
|
+
border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
|
210
193
|
display: flex;
|
194
|
+
background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
195
|
+
}
|
196
|
+
.sv_window--collapsed .sv_window_content {
|
197
|
+
display: none;
|
211
198
|
}
|
212
199
|
|
213
|
-
.
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
200
|
+
.sv_window_header_title_collapsed {
|
201
|
+
color: var(--sjs-general-dim-forecolor, rgba(0, 0, 0, 0.91));
|
202
|
+
font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
|
203
|
+
font-style: normal;
|
204
|
+
font-weight: 600;
|
205
|
+
font-size: var(--sjs-font-size, 16px);
|
206
|
+
line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
|
207
|
+
flex: 1;
|
208
|
+
display: flex;
|
209
|
+
justify-content: start;
|
210
|
+
align-items: center;
|
218
211
|
}
|
219
212
|
|
220
|
-
.
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
font-size: calc(0.875 * (var(--sjs-font-size, 16px)));
|
213
|
+
.sv_window_header_description {
|
214
|
+
color: var(--sjs-font-questiondescription-color, var(--sjs-general-forecolor-light, rgba(0, 0, 0, 0.45)));
|
215
|
+
font-feature-settings: "salt" on;
|
216
|
+
font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
|
225
217
|
font-style: normal;
|
226
|
-
|
218
|
+
font-size: var(--sjs-font-size, 16px);
|
219
|
+
line-height: calc(1.5 * (var(--sjs-font-size, 16px)));
|
220
|
+
white-space: nowrap;
|
221
|
+
text-overflow: ellipsis;
|
222
|
+
overflow: hidden;
|
223
|
+
}
|
224
|
+
|
225
|
+
.sv_window_buttons_container {
|
226
|
+
position: absolute;
|
227
|
+
top: var(--sjs-base-unit, var(--base-unit, 8px));
|
228
|
+
right: var(--sjs-base-unit, var(--base-unit, 8px));
|
229
|
+
display: flex;
|
230
|
+
gap: var(--sjs-base-unit, var(--base-unit, 8px));
|
231
|
+
z-index: 1;
|
227
232
|
}
|
228
233
|
|
229
|
-
.sv_window_button
|
230
|
-
|
234
|
+
.sv_window_button {
|
235
|
+
display: flex;
|
236
|
+
padding: var(--sjs-base-unit, var(--base-unit, 8px));
|
237
|
+
justify-content: center;
|
238
|
+
align-items: center;
|
239
|
+
border-radius: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
240
|
+
cursor: pointer;
|
241
|
+
}
|
242
|
+
.sv_window_button:hover, .sv_window_button:active {
|
243
|
+
background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
|
244
|
+
}
|
245
|
+
.sv_window_button:hover svg use, .sv_window_button:hover svg path, .sv_window_button:active svg use, .sv_window_button:active svg path {
|
246
|
+
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
247
|
+
}
|
248
|
+
.sv_window_button:active {
|
249
|
+
opacity: 0.5;
|
250
|
+
}
|
251
|
+
.sv_window_button svg use, .sv_window_button svg path {
|
252
|
+
fill: var(--sjs-general-dim-forecolor-light, rgba(0, 0, 0, 0.45));
|
231
253
|
}
|
232
254
|
|
233
255
|
sv-brand-info, .sv-brand-info {
|