survey-react 1.12.7 → 1.12.9

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.7
2
+ * surveyjs - Survey JavaScript library v1.12.9
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
  */
@@ -452,6 +452,22 @@ button.sv-action-bar-item {
452
452
  margin-top: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
453
453
  }
454
454
 
455
+ .sv-matrixdynamic-dragged-row {
456
+ cursor: grabbing;
457
+ position: absolute;
458
+ z-index: 10000;
459
+ font-family: var(--sjs-font-family, var(--font-family, var(--sjs-default-font-family)));
460
+ }
461
+ .sv-matrixdynamic-dragged-row .sd-table__row {
462
+ 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));
463
+ background-color: var(--sjs-general-backcolor, var(--background, #fff));
464
+ display: flex;
465
+ flex-grow: 0;
466
+ flex-shrink: 0;
467
+ align-items: center;
468
+ line-height: 0;
469
+ }
470
+
455
471
  .sv-matrix-row--drag-drop-ghost-mod td {
456
472
  background-color: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
457
473
  }
@@ -1392,12 +1408,15 @@ sv-brand-info,
1392
1408
  .sv-ranking-item__icon-container {
1393
1409
  position: relative;
1394
1410
  left: 0;
1395
- top: 5px;
1396
1411
  bottom: 0;
1397
1412
  flex-shrink: 0;
1398
1413
  width: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1399
- height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1414
+ height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1400
1415
  align-self: flex-start;
1416
+ padding-left: var(--sjs-base-unit, var(--base-unit, 8px));
1417
+ padding-right: var(--sjs-base-unit, var(--base-unit, 8px));
1418
+ margin-left: calc(-2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1419
+ box-sizing: content-box;
1401
1420
  }
1402
1421
 
1403
1422
  .sv-ranking-item--disabled.sv-ranking-item--disabled,
@@ -1418,8 +1437,8 @@ sv-brand-info,
1418
1437
  fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
1419
1438
  position: absolute;
1420
1439
  top: var(--sjs-base-unit, var(--base-unit, 8px));
1421
- width: calc(1.75 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1422
- height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1440
+ width: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1441
+ height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1423
1442
  }
1424
1443
 
1425
1444
  .sv-ranking-item__index.sv-ranking-item__index {
@@ -1582,8 +1601,8 @@ sv-brand-info,
1582
1601
  }
1583
1602
 
1584
1603
  .sv-ranking-shortcut .sv-ranking-item__icon {
1585
- width: calc(1.75 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1586
- height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1604
+ width: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1605
+ height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1587
1606
  top: var(--sjs-base-unit, var(--base-unit, 8px));
1588
1607
  }
1589
1608
 
@@ -1591,7 +1610,7 @@ sv-brand-info,
1591
1610
  padding-left: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1592
1611
  }
1593
1612
  .sv-ranking-shortcut .sv-ranking-item__icon-container {
1594
- margin-left: var(--sjs-base-unit, var(--base-unit, 8px));
1613
+ margin-left: calc(0 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1595
1614
  }
1596
1615
 
1597
1616
  .sv-ranking-shortcut {
@@ -1769,6 +1788,15 @@ sv-brand-info,
1769
1788
  padding-right: 0;
1770
1789
  }
1771
1790
 
1791
+ .sd-question--mobile .sv-ranking-item__icon-container,
1792
+ .sd-root-modern.sd-root-modern--mobile .sv-ranking-item__icon-container {
1793
+ margin-left: calc(-2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1794
+ display: flex;
1795
+ justify-content: flex-end;
1796
+ padding: 0;
1797
+ width: calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1798
+ }
1799
+
1772
1800
  :root {
1773
1801
  --sjs-transition-duration: 150ms;
1774
1802
  }
@@ -2279,9 +2307,9 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list-item__marker-icon use {
2279
2307
  [style*="direction: rtl"] .sd-element__num {
2280
2308
  float: right;
2281
2309
  }
2282
- [dir=rtl] .sd-element__title--expandable:before,
2283
- [style*="direction:rtl"] .sd-element__title--expandable:before,
2284
- [style*="direction: rtl"] .sd-element__title--expandable:before {
2310
+ [dir=rtl] .sd-element__title--collapsed .sd-element__title-expandable-svg,
2311
+ [style*="direction:rtl"] .sd-element__title--collapsed .sd-element__title-expandable-svg,
2312
+ [style*="direction: rtl"] .sd-element__title--collapsed .sd-element__title-expandable-svg {
2285
2313
  transform: rotate(180deg);
2286
2314
  }
2287
2315
 
@@ -2302,22 +2330,16 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list-item__marker-icon use {
2302
2330
  display: block;
2303
2331
  }
2304
2332
 
2305
- .sd-element__title--expandable:before {
2306
- content: "";
2333
+ .sd-element__title-expandable-svg {
2307
2334
  display: inline-block;
2308
- background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 14L5 13L10 8L5 3L6 2L12 8L6 14Z' fill='%23909090'/%3E%3C/svg%3E%0A");
2309
- background-repeat: no-repeat;
2310
- background-position: center center;
2311
2335
  height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2312
2336
  width: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2313
2337
  position: absolute;
2314
2338
  inset-inline-start: calc(-3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2315
2339
  top: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2316
- transition-property: transform;
2317
2340
  }
2318
-
2319
- .sd-element__title--expandable.sd-element__title--expanded:before {
2320
- transform: rotate(90deg);
2341
+ .sd-element__title-expandable-svg use {
2342
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
2321
2343
  }
2322
2344
 
2323
2345
  .sd-element--with-frame {
@@ -2876,7 +2898,10 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
2876
2898
  inset-block-end: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2877
2899
  }
2878
2900
 
2879
- .sd-question__content:focus-within .sd-remaining-character-counter {
2901
+ .sd-text__content:focus-within .sd-remaining-character-counter,
2902
+ .sd-comment__content:focus-within .sd-remaining-character-counter,
2903
+ .sd-multipletext__content:focus-within .sd-remaining-character-counter,
2904
+ .sd-matrix__question-wrapper:focus-within .sd-remaining-character-counter {
2880
2905
  display: flex;
2881
2906
  }
2882
2907
 
@@ -3107,8 +3132,8 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
3107
3132
 
3108
3133
  .sd-checkbox__svg {
3109
3134
  display: block;
3110
- width: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3111
- height: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3135
+ width: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3136
+ height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3112
3137
  }
3113
3138
  .sd-checkbox__svg use {
3114
3139
  fill: transparent;
@@ -3579,7 +3604,7 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
3579
3604
  padding: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) var(--sjs-base-unit, var(--base-unit, 8px));
3580
3605
  }
3581
3606
 
3582
- .sd-matrixdynamic__content .sd-table__question-wrapper {
3607
+ .sd-matrix__question-wrapper {
3583
3608
  position: relative;
3584
3609
  }
3585
3610
 
@@ -4402,8 +4427,8 @@ div[class*=sv-q-column-]:not(:first-of-type) .sd-item--enter {
4402
4427
 
4403
4428
  .sd-checkbox__svg {
4404
4429
  display: block;
4405
- width: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
4406
- height: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
4430
+ width: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
4431
+ height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
4407
4432
  }
4408
4433
  .sd-checkbox__svg use {
4409
4434
  fill: transparent;
@@ -5741,6 +5766,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
5741
5766
  }
5742
5767
  .sd-imagepicker__no-image-svg use {
5743
5768
  fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
5769
+ opacity: 0.5;
5744
5770
  }
5745
5771
 
5746
5772
  .sd-imagepicker__column {
@@ -5814,6 +5840,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
5814
5840
 
5815
5841
  .sd-image__no-image use {
5816
5842
  fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
5843
+ opacity: 0.5;
5817
5844
  }
5818
5845
 
5819
5846
  .sd-question--image {
@@ -6787,8 +6814,11 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
6787
6814
  cursor: pointer;
6788
6815
  }
6789
6816
  .sd-file__preview-item .sd-file__default-image {
6790
- width: calc(7 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6791
- height: calc(8.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6817
+ width: calc(9 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6818
+ height: calc(9 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6819
+ }
6820
+ .sd-file__preview-item .sd-file__default-image use {
6821
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
6792
6822
  }
6793
6823
  .sd-file__preview-item:hover .sd-file__remove-file-button {
6794
6824
  opacity: 1;
@@ -8085,6 +8115,9 @@ svg.sd-action--icon {
8085
8115
  padding-top: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
8086
8116
  padding-bottom: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
8087
8117
  }
8118
+ .sv_progress-toc use {
8119
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
8120
+ }
8088
8121
 
8089
8122
  .sv_progress-toc--left {
8090
8123
  border-right: 1px solid var(--sjs-border-default, var(--border, #d6d6d6));
@@ -8504,7 +8537,7 @@ sv-components-container,
8504
8537
  float: none;
8505
8538
  width: auto;
8506
8539
  }
8507
- .sd-root-modern.sd-root-modern--mobile .sd-element__title--expandable:before {
8540
+ .sd-root-modern.sd-root-modern--mobile .sd-element__title-expandable-svg {
8508
8541
  inset-inline-start: calc(-2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
8509
8542
  }
8510
8543
  .sd-root-modern.sd-root-modern--mobile .sd-title.sd-container-modern__title {
@@ -8513,10 +8546,6 @@ sv-components-container,
8513
8546
  .sd-root-modern.sd-root-modern--mobile .sd-header__text {
8514
8547
  min-width: 100%;
8515
8548
  }
8516
- .sd-root-modern.sd-root-modern--mobile .sv-ranking-item__icon-container {
8517
- margin-left: 0;
8518
- margin-right: 0;
8519
- }
8520
8549
 
8521
8550
  .sd-multipletext--mobile .sd-multipletext__cell {
8522
8551
  display: block;