survey-react 1.9.132 → 1.9.133
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 +32 -12
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +13 -1
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +13 -1
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +22 -2
- package/survey.react.js +57 -11
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/defaultV2.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.133
|
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
|
*/
|
@@ -6232,27 +6232,28 @@ svg.sd-action--icon {
|
|
6232
6232
|
flex-wrap: nowrap;
|
6233
6233
|
text-align: center;
|
6234
6234
|
flex-direction: column;
|
6235
|
+
cursor: pointer;
|
6235
6236
|
}
|
6236
6237
|
.sd-progress-buttons__list li:not(:first-child) > .sd-progress-buttons__connector {
|
6237
6238
|
display: block;
|
6238
6239
|
content: "";
|
6239
|
-
width: 100%;
|
6240
6240
|
height: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6241
6241
|
background-color: var(--sjs-navigation-default, #bcbcbc);
|
6242
6242
|
position: absolute;
|
6243
|
-
bottom: calc(
|
6244
|
-
right: 50
|
6243
|
+
bottom: calc(1.125 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6244
|
+
right: calc(50% + 4px);
|
6245
|
+
width: calc(100% - 4px);
|
6246
|
+
pointer-events: none;
|
6245
6247
|
}
|
6246
6248
|
.sd-progress-buttons__list li:after {
|
6247
6249
|
display: flex;
|
6248
6250
|
content: attr(data-page-number);
|
6249
6251
|
width: calc(0 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6250
6252
|
height: calc(0 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6251
|
-
margin: calc(0.
|
6253
|
+
margin: calc(0.75 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6252
6254
|
border: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) solid transparent;
|
6253
6255
|
background-color: var(--sjs-navigation-default, #bcbcbc);
|
6254
6256
|
border-radius: 50%;
|
6255
|
-
cursor: pointer;
|
6256
6257
|
align-self: center;
|
6257
6258
|
z-index: 1;
|
6258
6259
|
font-size: calc(0.75 * (var(--sjs-font-size, 16px)));
|
@@ -6261,6 +6262,13 @@ svg.sd-action--icon {
|
|
6261
6262
|
justify-content: center;
|
6262
6263
|
color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
|
6263
6264
|
}
|
6265
|
+
.sd-progress-buttons__list li:hover:after {
|
6266
|
+
color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6267
|
+
padding: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6268
|
+
margin: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6269
|
+
border: calc(0.75 * (var(--sjs-base-unit, var(--base-unit, 8px)))) solid var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6270
|
+
background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
|
6271
|
+
}
|
6264
6272
|
.sd-progress-buttons__list .sd-progress-buttons__list-element--passed:not(:first-child) > .sd-progress-buttons__connector {
|
6265
6273
|
background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6266
6274
|
}
|
@@ -6271,11 +6279,11 @@ svg.sd-action--icon {
|
|
6271
6279
|
background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6272
6280
|
}
|
6273
6281
|
.sd-progress-buttons__list .sd-progress-buttons__list-element--current:after {
|
6274
|
-
border
|
6282
|
+
border: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) solid var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6275
6283
|
background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
|
6276
6284
|
color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
6277
|
-
padding: calc(0.
|
6278
|
-
margin: 0;
|
6285
|
+
padding: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6286
|
+
margin: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6279
6287
|
}
|
6280
6288
|
|
6281
6289
|
.sd-progress-buttons__page-title {
|
@@ -6311,7 +6319,7 @@ svg.sd-action--icon {
|
|
6311
6319
|
flex-direction: column-reverse;
|
6312
6320
|
}
|
6313
6321
|
.sd-progress-buttons--bottom .sd-progress-buttons__list li:not(:first-child) > .sd-progress-buttons__connector {
|
6314
|
-
top: calc(
|
6322
|
+
top: calc(1.125 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6315
6323
|
}
|
6316
6324
|
.sd-progress-buttons--bottom .sd-progress-buttons__page-title {
|
6317
6325
|
margin-top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
@@ -6327,12 +6335,17 @@ svg.sd-action--icon {
|
|
6327
6335
|
}
|
6328
6336
|
|
6329
6337
|
.sd-progress-buttons--numbered .sd-progress-buttons__list li:not(:first-child) > .sd-progress-buttons__connector {
|
6330
|
-
bottom: calc(
|
6338
|
+
bottom: calc(2.175 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6339
|
+
right: calc(50% + 8px);
|
6340
|
+
width: calc(100% - 8px);
|
6331
6341
|
}
|
6332
6342
|
.sd-progress-buttons--numbered .sd-progress-buttons__list li:after {
|
6333
6343
|
width: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6334
6344
|
height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6335
6345
|
}
|
6346
|
+
.sd-progress-buttons--numbered .sd-progress-buttons__list li:hover:after {
|
6347
|
+
padding: calc(0.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6348
|
+
}
|
6336
6349
|
|
6337
6350
|
.sd-root-modern--mobile .sd-progress-buttons__list,
|
6338
6351
|
.sd-progress-buttons--no-titles .sd-progress-buttons__list {
|
@@ -6345,13 +6358,20 @@ svg.sd-action--icon {
|
|
6345
6358
|
}
|
6346
6359
|
|
6347
6360
|
.sd-progress-buttons--bottom.sd-progress-buttons--numbered .sd-progress-buttons__list li:not(:first-child) > .sd-progress-buttons__connector {
|
6348
|
-
top: calc(
|
6361
|
+
top: calc(2.175 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6349
6362
|
}
|
6350
6363
|
|
6351
6364
|
.sd-root-modern--mobile .sd-progress-buttons {
|
6352
6365
|
padding: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6353
6366
|
}
|
6354
6367
|
|
6368
|
+
.sd-progress-buttons--fit-survey-width {
|
6369
|
+
max-width: calc(90 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
6370
|
+
box-sizing: border-box;
|
6371
|
+
width: 100%;
|
6372
|
+
margin: auto;
|
6373
|
+
}
|
6374
|
+
|
6355
6375
|
.sv_progress-toc {
|
6356
6376
|
padding: var(--sjs-base-unit, var(--base-unit, 8px));
|
6357
6377
|
max-width: calc(42 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|