survey-react 1.12.11 → 1.12.13

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.11
2
+ * surveyjs - Survey JavaScript library v1.12.13
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
  */
@@ -467,6 +467,21 @@ button.sv-action-bar-item {
467
467
  align-items: center;
468
468
  line-height: 0;
469
469
  }
470
+ .sv-matrixdynamic-dragged-row .sd-table__cell.sd-table__cell--drag > div {
471
+ background-color: var(--sjs-questionpanel-backcolor, var(--sjs-question-background, var(--sjs-general-backcolor, var(--background, #fff))));
472
+ min-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
473
+ }
474
+
475
+ .sd-table__cell--header.sd-table__cell--drag,
476
+ .sd-table__cell.sd-table__cell--drag {
477
+ padding-right: 0;
478
+ padding-left: 0;
479
+ }
480
+
481
+ .sd-question--mobile .sd-table__cell--header.sd-table__cell--drag,
482
+ .sd-question--mobile .sd-table__cell.sd-table__cell--drag {
483
+ display: none;
484
+ }
470
485
 
471
486
  .sv-matrix-row--drag-drop-ghost-mod td {
472
487
  background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
@@ -612,6 +627,10 @@ sv-popup {
612
627
  gap: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
613
628
  }
614
629
 
630
+ .sd-root-modern--mobile .sv-popup--confirm-delete .sv-popup__body-content {
631
+ min-width: auto;
632
+ }
633
+
615
634
  .sv-popup--overlay {
616
635
  width: 100%;
617
636
  height: var(--sv-popup-overlay-height, 100vh);
@@ -2332,8 +2351,8 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list-item__marker-icon use {
2332
2351
 
2333
2352
  .sd-element__title-expandable-svg {
2334
2353
  display: inline-block;
2335
- height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2336
- width: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2354
+ width: var(--lbr-question-panel-expand-button-icon-width, calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))));
2355
+ height: var(--lbr-question-panel-expand-button-icon-height, calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))));
2337
2356
  position: absolute;
2338
2357
  inset-inline-start: calc(-3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2339
2358
  top: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
@@ -3216,13 +3235,29 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
3216
3235
  margin-left: 0;
3217
3236
  }
3218
3237
 
3238
+ .sd-table__row:hover .sd-drag-element__svg {
3239
+ visibility: visible;
3240
+ }
3241
+
3242
+ .sd-table__cell.sd-table__cell--drag > div {
3243
+ display: flex;
3244
+ justify-content: end;
3245
+ align-items: center;
3246
+ margin-left: calc(-4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3247
+ width: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3248
+ background-color: var(--sjs-questionpanel-backcolor, var(--sjs-question-background, var(--sjs-general-backcolor, var(--background, #fff))));
3249
+ min-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3250
+ }
3251
+
3219
3252
  .sd-drag-element__svg {
3220
- width: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3221
- height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3253
+ width: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3254
+ height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3222
3255
  display: block;
3256
+ cursor: pointer;
3257
+ visibility: hidden;
3223
3258
  }
3224
3259
  .sd-drag-element__svg use {
3225
- fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3260
+ fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
3226
3261
  }
3227
3262
 
3228
3263
  @keyframes borderAnimation {
@@ -3440,10 +3475,6 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
3440
3475
  .sd-question:not(.sd-question--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error).sd-item--preview.sd-item--preview .sd-item__decorator {
3441
3476
  background-color: transparent;
3442
3477
  }
3443
- .sd-question:not(.sd-question--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-table__cell:not(.sd-table__cell--actions) .sd-item:not(.sd-item--error).sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after,
3444
- .sd-question:not(.sd-question--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error).sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after {
3445
- background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
3446
- }
3447
3478
 
3448
3479
  .sd-table__cell {
3449
3480
  --sjs-internal-font-editorfont-size: var(--sjs-mobile-font-editorfont-size, var(--sjs-font-editorfont-size, var(--sjs-font-size, 16px)));
@@ -3481,6 +3512,7 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
3481
3512
 
3482
3513
  .sd-table__cell--item .sd-selectbase__item {
3483
3514
  text-align: center;
3515
+ justify-content: center;
3484
3516
  }
3485
3517
  .sd-table__cell--item .sd-selectbase__label {
3486
3518
  justify-content: center;
@@ -4252,6 +4284,7 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
4252
4284
  }
4253
4285
 
4254
4286
  .sd-item {
4287
+ display: flex;
4255
4288
  padding: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0;
4256
4289
  }
4257
4290
 
@@ -6672,8 +6705,8 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
6672
6705
  }
6673
6706
  .sd-file__choose-btn--text .sv-svg-icon {
6674
6707
  margin-left: calc(-1 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6675
- width: 24px;
6676
- height: 24px;
6708
+ width: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6709
+ height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6677
6710
  fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
6678
6711
  }
6679
6712
 
@@ -8513,13 +8546,15 @@ sv-components-container,
8513
8546
  height: 100%;
8514
8547
  }
8515
8548
 
8516
- .sd-root-modern {
8549
+ .sd-root-modern,
8550
+ .sd-container-modern {
8517
8551
  --sd-base-padding: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
8518
8552
  --sd-base-vertical-padding: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px)));
8519
8553
  --sd-page-vertical-padding: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
8520
8554
  }
8521
8555
 
8522
- .sd-root-modern.sd-root-modern--mobile {
8556
+ .sd-root-modern.sd-root-modern--mobile,
8557
+ .sd-root-modern--mobile .sd-container-modern {
8523
8558
  --sd-base-padding: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
8524
8559
  --sd-base-vertical-padding: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
8525
8560
  --sd-page-vertical-padding: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));