survey-react 1.12.12 → 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.12
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));
@@ -2336,8 +2351,8 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list-item__marker-icon use {
2336
2351
 
2337
2352
  .sd-element__title-expandable-svg {
2338
2353
  display: inline-block;
2339
- height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2340
- 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)))));
2341
2356
  position: absolute;
2342
2357
  inset-inline-start: calc(-3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2343
2358
  top: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
@@ -3220,13 +3235,29 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
3220
3235
  margin-left: 0;
3221
3236
  }
3222
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
+
3223
3252
  .sd-drag-element__svg {
3224
- width: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3225
- 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))));
3226
3255
  display: block;
3256
+ cursor: pointer;
3257
+ visibility: hidden;
3227
3258
  }
3228
3259
  .sd-drag-element__svg use {
3229
- fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3260
+ fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
3230
3261
  }
3231
3262
 
3232
3263
  @keyframes borderAnimation {
@@ -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)));