survey-react 1.12.8 → 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.8
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
  */
@@ -1408,12 +1408,15 @@ sv-brand-info,
1408
1408
  .sv-ranking-item__icon-container {
1409
1409
  position: relative;
1410
1410
  left: 0;
1411
- top: 5px;
1412
1411
  bottom: 0;
1413
1412
  flex-shrink: 0;
1414
1413
  width: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1415
- height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1414
+ height: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1416
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;
1417
1420
  }
1418
1421
 
1419
1422
  .sv-ranking-item--disabled.sv-ranking-item--disabled,
@@ -1434,8 +1437,8 @@ sv-brand-info,
1434
1437
  fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
1435
1438
  position: absolute;
1436
1439
  top: var(--sjs-base-unit, var(--base-unit, 8px));
1437
- width: calc(1.75 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1438
- 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))));
1439
1442
  }
1440
1443
 
1441
1444
  .sv-ranking-item__index.sv-ranking-item__index {
@@ -1598,8 +1601,8 @@ sv-brand-info,
1598
1601
  }
1599
1602
 
1600
1603
  .sv-ranking-shortcut .sv-ranking-item__icon {
1601
- width: calc(1.75 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1602
- 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))));
1603
1606
  top: var(--sjs-base-unit, var(--base-unit, 8px));
1604
1607
  }
1605
1608
 
@@ -1607,7 +1610,7 @@ sv-brand-info,
1607
1610
  padding-left: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1608
1611
  }
1609
1612
  .sv-ranking-shortcut .sv-ranking-item__icon-container {
1610
- margin-left: var(--sjs-base-unit, var(--base-unit, 8px));
1613
+ margin-left: calc(0 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1611
1614
  }
1612
1615
 
1613
1616
  .sv-ranking-shortcut {
@@ -1785,6 +1788,15 @@ sv-brand-info,
1785
1788
  padding-right: 0;
1786
1789
  }
1787
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
+
1788
1800
  :root {
1789
1801
  --sjs-transition-duration: 150ms;
1790
1802
  }
@@ -2295,9 +2307,9 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list-item__marker-icon use {
2295
2307
  [style*="direction: rtl"] .sd-element__num {
2296
2308
  float: right;
2297
2309
  }
2298
- [dir=rtl] .sd-element__title--expandable:before,
2299
- [style*="direction:rtl"] .sd-element__title--expandable:before,
2300
- [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 {
2301
2313
  transform: rotate(180deg);
2302
2314
  }
2303
2315
 
@@ -2318,22 +2330,16 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list-item__marker-icon use {
2318
2330
  display: block;
2319
2331
  }
2320
2332
 
2321
- .sd-element__title--expandable:before {
2322
- content: "";
2333
+ .sd-element__title-expandable-svg {
2323
2334
  display: inline-block;
2324
- 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");
2325
- background-repeat: no-repeat;
2326
- background-position: center center;
2327
2335
  height: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2328
2336
  width: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2329
2337
  position: absolute;
2330
2338
  inset-inline-start: calc(-3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2331
2339
  top: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2332
- transition-property: transform;
2333
2340
  }
2334
-
2335
- .sd-element__title--expandable.sd-element__title--expanded:before {
2336
- transform: rotate(90deg);
2341
+ .sd-element__title-expandable-svg use {
2342
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
2337
2343
  }
2338
2344
 
2339
2345
  .sd-element--with-frame {
@@ -3126,8 +3132,8 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
3126
3132
 
3127
3133
  .sd-checkbox__svg {
3128
3134
  display: block;
3129
- width: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3130
- 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))));
3131
3137
  }
3132
3138
  .sd-checkbox__svg use {
3133
3139
  fill: transparent;
@@ -4421,8 +4427,8 @@ div[class*=sv-q-column-]:not(:first-of-type) .sd-item--enter {
4421
4427
 
4422
4428
  .sd-checkbox__svg {
4423
4429
  display: block;
4424
- width: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
4425
- 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))));
4426
4432
  }
4427
4433
  .sd-checkbox__svg use {
4428
4434
  fill: transparent;
@@ -5760,6 +5766,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
5760
5766
  }
5761
5767
  .sd-imagepicker__no-image-svg use {
5762
5768
  fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
5769
+ opacity: 0.5;
5763
5770
  }
5764
5771
 
5765
5772
  .sd-imagepicker__column {
@@ -5833,6 +5840,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
5833
5840
 
5834
5841
  .sd-image__no-image use {
5835
5842
  fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
5843
+ opacity: 0.5;
5836
5844
  }
5837
5845
 
5838
5846
  .sd-question--image {
@@ -6806,8 +6814,11 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
6806
6814
  cursor: pointer;
6807
6815
  }
6808
6816
  .sd-file__preview-item .sd-file__default-image {
6809
- width: calc(7 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6810
- 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));
6811
6822
  }
6812
6823
  .sd-file__preview-item:hover .sd-file__remove-file-button {
6813
6824
  opacity: 1;
@@ -8104,6 +8115,9 @@ svg.sd-action--icon {
8104
8115
  padding-top: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
8105
8116
  padding-bottom: calc(1.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
8106
8117
  }
8118
+ .sv_progress-toc use {
8119
+ fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
8120
+ }
8107
8121
 
8108
8122
  .sv_progress-toc--left {
8109
8123
  border-right: 1px solid var(--sjs-border-default, var(--border, #d6d6d6));
@@ -8523,7 +8537,7 @@ sv-components-container,
8523
8537
  float: none;
8524
8538
  width: auto;
8525
8539
  }
8526
- .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 {
8527
8541
  inset-inline-start: calc(-2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
8528
8542
  }
8529
8543
  .sd-root-modern.sd-root-modern--mobile .sd-title.sd-container-modern__title {
@@ -8532,10 +8546,6 @@ sv-components-container,
8532
8546
  .sd-root-modern.sd-root-modern--mobile .sd-header__text {
8533
8547
  min-width: 100%;
8534
8548
  }
8535
- .sd-root-modern.sd-root-modern--mobile .sv-ranking-item__icon-container {
8536
- margin-left: 0;
8537
- margin-right: 0;
8538
- }
8539
8549
 
8540
8550
  .sd-multipletext--mobile .sd-multipletext__cell {
8541
8551
  display: block;