survey-react 1.12.12 → 1.12.14

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.14
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));
@@ -1913,6 +1928,8 @@ sv-brand-info,
1913
1928
  .sv-list-item__marker-icon {
1914
1929
  position: absolute;
1915
1930
  right: var(--sjs-base-unit, var(--base-unit, 8px));
1931
+ width: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1932
+ height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1916
1933
  flex-shrink: 0;
1917
1934
  padding: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1918
1935
  box-sizing: content-box;
@@ -1971,12 +1988,12 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list-item__marker-icon use {
1971
1988
  font-weight: 400;
1972
1989
  }
1973
1990
 
1974
- .sv-list__item.sv-list__item--selected.sv-list__item--group > .sv-list__item-body {
1991
+ .sv-list__item--group-selected > .sv-list__item-body {
1975
1992
  background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
1976
1993
  color: var(--sjs-font-questiontitle-color, var(--sjs-general-forecolor, var(--foreground, #161616)));
1977
1994
  font-weight: 400;
1978
1995
  }
1979
- .sv-list__item.sv-list__item--selected.sv-list__item--group > .sv-list__item-body use {
1996
+ .sv-list__item--group-selected > .sv-list__item-body use {
1980
1997
  fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
1981
1998
  }
1982
1999
 
@@ -2336,8 +2353,8 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list-item__marker-icon use {
2336
2353
 
2337
2354
  .sd-element__title-expandable-svg {
2338
2355
  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))));
2356
+ width: var(--lbr-question-panel-expand-button-icon-width, calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))));
2357
+ height: var(--lbr-question-panel-expand-button-icon-height, calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))));
2341
2358
  position: absolute;
2342
2359
  inset-inline-start: calc(-3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2343
2360
  top: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
@@ -3220,13 +3237,29 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
3220
3237
  margin-left: 0;
3221
3238
  }
3222
3239
 
3240
+ .sd-table__row:hover .sd-drag-element__svg {
3241
+ visibility: visible;
3242
+ }
3243
+
3244
+ .sd-table__cell.sd-table__cell--drag > div {
3245
+ display: flex;
3246
+ justify-content: end;
3247
+ align-items: center;
3248
+ margin-left: calc(-4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3249
+ width: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3250
+ background-color: var(--sjs-questionpanel-backcolor, var(--sjs-question-background, var(--sjs-general-backcolor, var(--background, #fff))));
3251
+ min-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3252
+ }
3253
+
3223
3254
  .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))));
3255
+ width: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3256
+ height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3226
3257
  display: block;
3258
+ cursor: pointer;
3259
+ visibility: hidden;
3227
3260
  }
3228
3261
  .sd-drag-element__svg use {
3229
- fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3262
+ fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
3230
3263
  }
3231
3264
 
3232
3265
  @keyframes borderAnimation {
@@ -3481,6 +3514,7 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
3481
3514
 
3482
3515
  .sd-table__cell--item .sd-selectbase__item {
3483
3516
  text-align: center;
3517
+ justify-content: center;
3484
3518
  }
3485
3519
  .sd-table__cell--item .sd-selectbase__label {
3486
3520
  justify-content: center;
@@ -4252,6 +4286,7 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
4252
4286
  }
4253
4287
 
4254
4288
  .sd-item {
4289
+ display: flex;
4255
4290
  padding: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0;
4256
4291
  }
4257
4292
 
@@ -6672,8 +6707,8 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
6672
6707
  }
6673
6708
  .sd-file__choose-btn--text .sv-svg-icon {
6674
6709
  margin-left: calc(-1 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6675
- width: 24px;
6676
- height: 24px;
6710
+ width: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6711
+ height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6677
6712
  fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
6678
6713
  }
6679
6714
 
@@ -8513,13 +8548,15 @@ sv-components-container,
8513
8548
  height: 100%;
8514
8549
  }
8515
8550
 
8516
- .sd-root-modern {
8551
+ .sd-root-modern,
8552
+ .sd-container-modern {
8517
8553
  --sd-base-padding: calc(5 * var(--sjs-base-unit, var(--base-unit, 8px)));
8518
8554
  --sd-base-vertical-padding: calc(4 * var(--sjs-base-unit, var(--base-unit, 8px)));
8519
8555
  --sd-page-vertical-padding: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
8520
8556
  }
8521
8557
 
8522
- .sd-root-modern.sd-root-modern--mobile {
8558
+ .sd-root-modern.sd-root-modern--mobile,
8559
+ .sd-root-modern--mobile .sd-container-modern {
8523
8560
  --sd-base-padding: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
8524
8561
  --sd-base-vertical-padding: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
8525
8562
  --sd-page-vertical-padding: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));