survey-react 1.9.77 → 1.9.79
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 +89 -27
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +63 -14
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +44 -6
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +6841 -6382
- package/survey.react.js +560 -713
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/modern.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.79
|
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
|
*/
|
@@ -316,9 +316,6 @@ sv-popup {
|
|
316
316
|
padding: 0;
|
317
317
|
border-radius: 0;
|
318
318
|
}
|
319
|
-
.sv-dropdown-popup.sv-popup--overlay .sv-popup__body-footer .sv-action-bar {
|
320
|
-
justify-content: flex-end;
|
321
|
-
}
|
322
319
|
.sv-dropdown-popup.sv-popup--overlay .sv-popup__body-footer .sv-action-bar .sv-action {
|
323
320
|
width: auto;
|
324
321
|
}
|
@@ -427,6 +424,7 @@ sv-popup {
|
|
427
424
|
|
428
425
|
.sv-dropdown-popup.sv-popup--overlay.sv-popup--tablet .sv-popup__body-content {
|
429
426
|
--sv-popup-overlay-max-height: calc(var(--sv-popup-overlay-height, 100vh) - var(--base-unit, 8px) * 8);
|
427
|
+
--sv-popup-overlay-max-width: calc(100% - var(--base-unit, 8px) * 8);
|
430
428
|
position: absolute;
|
431
429
|
transform: translate(-50%, -50%);
|
432
430
|
left: 50%;
|
@@ -434,7 +432,9 @@ sv-popup {
|
|
434
432
|
max-height: var(--sv-popup-overlay-max-height);
|
435
433
|
min-height: min(var(--sv-popup-overlay-max-height), 31 * var(--base-unit, 8px));
|
436
434
|
height: auto;
|
437
|
-
|
435
|
+
width: auto;
|
436
|
+
min-width: min(40 * var(--base-unit, 8px), var(--sv-popup-overlay-max-width));
|
437
|
+
max-width: var(--sv-popup-overlay-max-width);
|
438
438
|
border-radius: calc(0.5 * var(--base-unit, 8px));
|
439
439
|
overflow: hidden;
|
440
440
|
margin: 0;
|
@@ -1877,11 +1877,31 @@ sv-popup {
|
|
1877
1877
|
color: var(--text-color, #404040);
|
1878
1878
|
position: relative;
|
1879
1879
|
}
|
1880
|
+
.sv-dropdown__value .sv-string-viewer {
|
1881
|
+
line-height: 28px;
|
1882
|
+
}
|
1880
1883
|
|
1881
1884
|
.sv_dropdown_control__input-field-component {
|
1882
1885
|
height: auto;
|
1883
1886
|
}
|
1884
1887
|
|
1888
|
+
.sv-dropdown__hint-prefix {
|
1889
|
+
opacity: 0.5;
|
1890
|
+
}
|
1891
|
+
.sv-dropdown__hint-prefix span {
|
1892
|
+
word-break: unset;
|
1893
|
+
line-height: 28px;
|
1894
|
+
}
|
1895
|
+
|
1896
|
+
.sv-dropdown__hint-suffix {
|
1897
|
+
display: flex;
|
1898
|
+
opacity: 0.5;
|
1899
|
+
}
|
1900
|
+
.sv-dropdown__hint-suffix span {
|
1901
|
+
word-break: unset;
|
1902
|
+
line-height: 28px;
|
1903
|
+
}
|
1904
|
+
|
1885
1905
|
.sv-dropdown_clean-button {
|
1886
1906
|
padding: 3px 12px;
|
1887
1907
|
margin: auto 0;
|
@@ -2039,6 +2059,10 @@ sv-popup {
|
|
2039
2059
|
color: var(--error-color, #d52901);
|
2040
2060
|
}
|
2041
2061
|
|
2062
|
+
.sv-tagbox .sv-dropdown__filter-string-input {
|
2063
|
+
height: auto;
|
2064
|
+
}
|
2065
|
+
|
2042
2066
|
.sv-text {
|
2043
2067
|
box-sizing: border-box;
|
2044
2068
|
width: 100%;
|
@@ -2852,9 +2876,6 @@ sv-popup {
|
|
2852
2876
|
padding: 0;
|
2853
2877
|
border-radius: 0;
|
2854
2878
|
}
|
2855
|
-
.sv-dropdown-popup.sv-popup--overlay .sv-popup__body-footer .sv-action-bar {
|
2856
|
-
justify-content: flex-end;
|
2857
|
-
}
|
2858
2879
|
.sv-dropdown-popup.sv-popup--overlay .sv-popup__body-footer .sv-action-bar .sv-action {
|
2859
2880
|
width: auto;
|
2860
2881
|
}
|
@@ -2963,6 +2984,7 @@ sv-popup {
|
|
2963
2984
|
|
2964
2985
|
.sv-dropdown-popup.sv-popup--overlay.sv-popup--tablet .sv-popup__body-content {
|
2965
2986
|
--sv-popup-overlay-max-height: calc(var(--sv-popup-overlay-height, 100vh) - var(--base-unit, 8px) * 8);
|
2987
|
+
--sv-popup-overlay-max-width: calc(100% - var(--base-unit, 8px) * 8);
|
2966
2988
|
position: absolute;
|
2967
2989
|
transform: translate(-50%, -50%);
|
2968
2990
|
left: 50%;
|
@@ -2970,7 +2992,9 @@ sv-popup {
|
|
2970
2992
|
max-height: var(--sv-popup-overlay-max-height);
|
2971
2993
|
min-height: min(var(--sv-popup-overlay-max-height), 31 * var(--base-unit, 8px));
|
2972
2994
|
height: auto;
|
2973
|
-
|
2995
|
+
width: auto;
|
2996
|
+
min-width: min(40 * var(--base-unit, 8px), var(--sv-popup-overlay-max-width));
|
2997
|
+
max-width: var(--sv-popup-overlay-max-width);
|
2974
2998
|
border-radius: calc(0.5 * var(--base-unit, 8px));
|
2975
2999
|
overflow: hidden;
|
2976
3000
|
margin: 0;
|
@@ -3214,6 +3238,7 @@ sv-popup {
|
|
3214
3238
|
.sv-ranking {
|
3215
3239
|
outline: none;
|
3216
3240
|
user-select: none;
|
3241
|
+
-webkit-user-select: none;
|
3217
3242
|
}
|
3218
3243
|
|
3219
3244
|
.sv-ranking-item {
|
@@ -3602,9 +3627,8 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
3602
3627
|
position: absolute;
|
3603
3628
|
left: 50%;
|
3604
3629
|
bottom: calc(3 * var(--base-unit, 8px));
|
3605
|
-
transform: translate(-50%, 0);
|
3606
3630
|
background: var(--background, #fff);
|
3607
|
-
opacity: 0
|
3631
|
+
opacity: 0;
|
3608
3632
|
padding: calc(3 * var(--base-unit, 8px)) calc(6 * var(--base-unit, 8px));
|
3609
3633
|
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
|
3610
3634
|
border-radius: calc(1 * var(--base-unit, 8px));
|
@@ -3615,17 +3639,43 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
3615
3639
|
font-family: var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
|
3616
3640
|
font-size: calc(2 * var(--base-unit, 8px));
|
3617
3641
|
line-height: calc(3 * var(--base-unit, 8px));
|
3618
|
-
white-space: nowrap;
|
3619
3642
|
display: flex;
|
3620
3643
|
flex-direction: row;
|
3621
3644
|
justify-content: center;
|
3622
3645
|
align-items: center;
|
3646
|
+
transform: translateX(-50%) translateY(calc(3 * var(--base-unit, 8px)));
|
3647
|
+
transition-timing-function: ease-in;
|
3648
|
+
transition-property: transform, opacity;
|
3649
|
+
transition-delay: 0.25s;
|
3650
|
+
transition: 0.5s;
|
3651
|
+
}
|
3652
|
+
|
3653
|
+
.sv-save-data_root.sv-save-data_root--shown {
|
3654
|
+
transition-timing-function: ease-out;
|
3655
|
+
transition-property: transform, opacity;
|
3656
|
+
transform: translateX(-50%) translateY(0);
|
3657
|
+
transition-delay: 0.25s;
|
3658
|
+
opacity: 0.75;
|
3659
|
+
}
|
3660
|
+
|
3661
|
+
.sv-save-data_root span {
|
3662
|
+
display: flex;
|
3663
|
+
flex-grow: 1;
|
3664
|
+
}
|
3665
|
+
.sv-save-data_root .sv-action-bar {
|
3666
|
+
display: flex;
|
3667
|
+
flex-grow: 0;
|
3668
|
+
flex-shrink: 0;
|
3669
|
+
}
|
3670
|
+
|
3671
|
+
.sv-save-data_root--shown.sv-save-data_success,
|
3672
|
+
.sv-save-data_root--shown.sv-save-data_error {
|
3673
|
+
opacity: 1;
|
3623
3674
|
}
|
3624
3675
|
|
3625
3676
|
.sv-save-data_root.sv-save-data_error {
|
3626
3677
|
background-color: var(--red, #e60a3e);
|
3627
3678
|
color: var(--background, #fff);
|
3628
|
-
opacity: 1;
|
3629
3679
|
font-weight: 600;
|
3630
3680
|
padding: calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) calc(2 * var(--base-unit, 8px)) calc(6 * var(--base-unit, 8px));
|
3631
3681
|
gap: calc(6 * var(--base-unit, 8px));
|
@@ -3654,7 +3704,6 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
3654
3704
|
.sv-save-data_root.sv-save-data_success {
|
3655
3705
|
background-color: var(--primary, #19b394);
|
3656
3706
|
color: #ffffff;
|
3657
|
-
opacity: 1;
|
3658
3707
|
font-weight: 600;
|
3659
3708
|
}
|
3660
3709
|
|