survey-react 1.9.106 → 1.9.107

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.9.106
2
+ * surveyjs - Survey JavaScript library v1.9.107
3
3
  * Copyright (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * License: MIT (http://www.opensource.org/licenses/mit-license.php)
5
5
  */
@@ -2050,6 +2050,11 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
2050
2050
  outline: none;
2051
2051
  }
2052
2052
 
2053
+ input.sd-input:disabled:not(.sd-input--disabled),
2054
+ textarea.sd-input:disabled:not(.sd-input--disabled) {
2055
+ opacity: 1;
2056
+ }
2057
+
2053
2058
  .sd-input--disabled {
2054
2059
  background-color: var(--sjs-editorpanel-backcolor, var(--sjs-editor-background, var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9))));
2055
2060
  -webkit-user-select: none;
@@ -2066,8 +2071,8 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
2066
2071
  user-select: none;
2067
2072
  }
2068
2073
 
2069
- .sd-input--disabled,
2070
- .sd-input--disabled::placeholder {
2074
+ .sd-input.sd-input--disabled,
2075
+ .sd-input.sd-input--disabled::placeholder {
2071
2076
  color: var(--sjs-general-forecolor, var(--foreground, #161616));
2072
2077
  opacity: 0.25;
2073
2078
  }
@@ -2414,39 +2419,39 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
2414
2419
  margin-top: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
2415
2420
  }
2416
2421
 
2417
- .sd-table--alternate-rows {
2422
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows {
2418
2423
  margin-left: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
2419
2424
  margin-right: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
2420
2425
  width: calc(100% - 2 * var(--sjs-base-unit, var(--base-unit, 8px)));
2421
2426
  }
2422
- .sd-table--alternate-rows .sd-table__cell:not(.sd-table__cell--header):first-of-type {
2427
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__cell:not(.sd-table__cell--header):first-of-type {
2423
2428
  padding-left: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
2424
2429
  }
2425
- .sd-table--alternate-rows .sd-table__cell:last-of-type {
2430
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__cell:last-of-type {
2426
2431
  padding-right: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
2427
2432
  }
2428
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td,
2429
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type {
2433
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td,
2434
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type {
2430
2435
  background-color: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
2431
2436
  }
2432
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-matrix__text--checked,
2433
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type.sd-matrix__text--checked {
2437
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td.sd-matrix__text--checked,
2438
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type.sd-matrix__text--checked {
2434
2439
  background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
2435
2440
  }
2436
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-input,
2437
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-input {
2441
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-input,
2442
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-input {
2438
2443
  background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
2439
2444
  }
2440
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-item:not(.sd-item--error) .sd-item__decorator,
2441
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error) .sd-item__decorator {
2445
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-item:not(.sd-item--error) .sd-item__decorator,
2446
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error) .sd-item__decorator {
2442
2447
  background-color: var(--sjs-general-backcolor, var(--background, #fff));
2443
2448
  }
2444
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-item:not(.sd-item--error).sd-item--checked .sd-item__decorator,
2445
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error).sd-item--checked .sd-item__decorator {
2449
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-item:not(.sd-item--error).sd-item--checked .sd-item__decorator,
2450
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) td:first-of-type .sd-item:not(.sd-item--error).sd-item--checked .sd-item__decorator {
2446
2451
  background-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
2447
2452
  }
2448
- .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-item:not(.sd-item--error).sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after,
2449
- .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 {
2453
+ .sd-root-modern:not(.sd-root-modern--mobile) .sd-table--alternate-rows .sd-table__row:nth-of-type(odd) > td .sd-item:not(.sd-item--error).sd-radio--checked .sd-radio__control:focus + .sd-radio__decorator:after,
2454
+ .sd-root-modern:not(.sd-root-modern--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 {
2450
2455
  background-color: var(--sjs-primary-forecolor, var(--primary-foreground, #fff));
2451
2456
  }
2452
2457
 
@@ -4472,6 +4477,10 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
4472
4477
  line-height: calc(1.5 * var(--sjs-font-editorfont-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, 16px)))));
4473
4478
  }
4474
4479
 
4480
+ .sd-root-modern--mobile .sd-file__drag-area-placeholder {
4481
+ padding: 0 calc(4 * var(--sjs-base-unit, var(--base-unit, 8px)));
4482
+ }
4483
+
4475
4484
  .sd-file__choose-btn--text {
4476
4485
  display: block;
4477
4486
  margin-top: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
@@ -5508,6 +5517,26 @@ svg.sd-action--icon {
5508
5517
  font-size: calc(0.75 * var(--sjs-font-size, 16px));
5509
5518
  }
5510
5519
 
5520
+ @keyframes rotationAnimation {
5521
+ from {
5522
+ rotate: 0deg;
5523
+ }
5524
+ to {
5525
+ rotate: 360deg;
5526
+ }
5527
+ }
5528
+ .sd-loading-indicator {
5529
+ height: calc(6 * var(--sjs-base-unit, var(--base-unit, 8px)));
5530
+ }
5531
+ .sd-loading-indicator .sv-svg-icon {
5532
+ height: calc(6 * var(--sjs-base-unit, var(--base-unit, 8px)));
5533
+ width: calc(6 * var(--sjs-base-unit, var(--base-unit, 8px)));
5534
+ animation-name: rotationAnimation;
5535
+ animation-timing-function: linear;
5536
+ animation-iteration-count: infinite;
5537
+ animation-duration: 1s;
5538
+ }
5539
+
5511
5540
  sv-components-container,
5512
5541
  .sd-components-container {
5513
5542
  display: flex;