survey-react 1.9.86 → 1.9.87
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 +63 -4
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +3 -3
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +90 -16
- package/survey.react.js +384 -98
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +3 -3
package/defaultV2.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.87
|
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
|
*/
|
@@ -344,7 +344,7 @@ sv-popup {
|
|
344
344
|
display: flex;
|
345
345
|
flex-direction: column;
|
346
346
|
max-height: 90vh;
|
347
|
-
max-width:
|
347
|
+
max-width: 100vw;
|
348
348
|
}
|
349
349
|
|
350
350
|
.sv-popup.sv-popup--modal {
|
@@ -2804,6 +2804,15 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2804
2804
|
flex-wrap: wrap;
|
2805
2805
|
}
|
2806
2806
|
|
2807
|
+
.sd-rating--small {
|
2808
|
+
min-height: calc(3 * var(--base-unit, 8px));
|
2809
|
+
margin: auto;
|
2810
|
+
}
|
2811
|
+
.sd-rating--small fieldset {
|
2812
|
+
padding: 0;
|
2813
|
+
gap: calc(1 * var(--base-unit, 8px));
|
2814
|
+
}
|
2815
|
+
|
2807
2816
|
.sd-rating__item {
|
2808
2817
|
position: relative;
|
2809
2818
|
background: var(--background, #fff);
|
@@ -2830,6 +2839,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2830
2839
|
}
|
2831
2840
|
|
2832
2841
|
legend + .sd-rating__item,
|
2842
|
+
legend + sv-ng-rating-item-smiley + .sd-rating__item-smiley,
|
2833
2843
|
legend + sv-ng-rating-item + .sd-rating__item {
|
2834
2844
|
margin-inline-start: 2px;
|
2835
2845
|
}
|
@@ -2894,6 +2904,20 @@ legend + sv-ng-rating-item + .sd-rating__item {
|
|
2894
2904
|
height: calc(3 * var(--base-unit, 8px));
|
2895
2905
|
}
|
2896
2906
|
|
2907
|
+
.sd-rating__item-smiley--small {
|
2908
|
+
padding: calc(0.625 * var(--base-unit, 8px));
|
2909
|
+
min-width: calc(3 * var(--base-unit, 8px));
|
2910
|
+
border-width: 1px;
|
2911
|
+
}
|
2912
|
+
.sd-rating__item-smiley--small svg {
|
2913
|
+
width: calc(1.5 * var(--base-unit, 8px));
|
2914
|
+
height: calc(1.5 * var(--base-unit, 8px));
|
2915
|
+
}
|
2916
|
+
|
2917
|
+
.sd-rating__item-smiley--small.sd-rating__item-smiley--selected:focus-within {
|
2918
|
+
box-shadow: inset 0 0 0 1px var(--background, #fff);
|
2919
|
+
}
|
2920
|
+
|
2897
2921
|
legend + .sd-rating__item-smiley,
|
2898
2922
|
legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
2899
2923
|
margin-inline-start: 2px;
|
@@ -2977,6 +3001,15 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
2977
3001
|
display: none;
|
2978
3002
|
}
|
2979
3003
|
|
3004
|
+
.sd-rating__item-star--small {
|
3005
|
+
width: calc(3 * var(--base-unit, 8px));
|
3006
|
+
height: calc(3 * var(--base-unit, 8px));
|
3007
|
+
}
|
3008
|
+
.sd-rating__item-star--small svg {
|
3009
|
+
width: calc(3 * var(--base-unit, 8px));
|
3010
|
+
height: calc(3 * var(--base-unit, 8px));
|
3011
|
+
}
|
3012
|
+
|
2980
3013
|
.sd-rating__item-star--selected svg {
|
2981
3014
|
stroke: none;
|
2982
3015
|
fill: var(--primary, #19b394);
|
@@ -3165,6 +3198,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3165
3198
|
display: inline-block;
|
3166
3199
|
line-height: calc(3 * var(--base-unit, 8px));
|
3167
3200
|
appearance: none;
|
3201
|
+
height: 100%;
|
3168
3202
|
}
|
3169
3203
|
|
3170
3204
|
.sd-dropdown--empty:not(.sd-input--disabled) .sd-dropdown__filter-string-input::placeholder {
|
@@ -3288,11 +3322,10 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3288
3322
|
}
|
3289
3323
|
|
3290
3324
|
.sd-tagbox__filter-string-input {
|
3291
|
-
width:
|
3325
|
+
width: 100%;
|
3292
3326
|
display: flex;
|
3293
3327
|
flex-grow: 1;
|
3294
3328
|
height: calc(5 * var(--base-unit, 8px));
|
3295
|
-
position: initial;
|
3296
3329
|
}
|
3297
3330
|
|
3298
3331
|
.sd-tagbox__placeholder {
|
@@ -3314,6 +3347,32 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3314
3347
|
background: linear-gradient(90deg, var(--primary, #19b394) 53.12%, rgba(25, 179, 148, 0) 100%);
|
3315
3348
|
}
|
3316
3349
|
|
3350
|
+
.sd-tagbox.sd-tagbox--empty .sd-tagbox__hint,
|
3351
|
+
.sd-tagbox.sd-tagbox--empty .sd-tagbox__hint-suffix-wrapper,
|
3352
|
+
.sd-tagbox.sd-tagbox--empty .sd-tagbox__filter-string-input {
|
3353
|
+
width: 100%;
|
3354
|
+
}
|
3355
|
+
|
3356
|
+
.sd-tagbox__hint {
|
3357
|
+
display: flex;
|
3358
|
+
flex-grow: 1;
|
3359
|
+
}
|
3360
|
+
|
3361
|
+
.sd-tagbox__hint-suffix-wrapper {
|
3362
|
+
position: relative;
|
3363
|
+
width: 100%;
|
3364
|
+
}
|
3365
|
+
|
3366
|
+
.sd-dropdown__hint-suffix.sd-tagbox__hint-suffix {
|
3367
|
+
height: calc(5 * var(--base-unit, 8px));
|
3368
|
+
line-height: calc(5 * var(--base-unit, 8px));
|
3369
|
+
}
|
3370
|
+
|
3371
|
+
.sd-dropdown__hint-prefix.sd-tagbox__hint-prefix {
|
3372
|
+
height: calc(5 * var(--base-unit, 8px));
|
3373
|
+
line-height: calc(5 * var(--base-unit, 8px));
|
3374
|
+
}
|
3375
|
+
|
3317
3376
|
.sd-imagepicker {
|
3318
3377
|
display: flex;
|
3319
3378
|
flex-wrap: wrap;
|