survey-react 1.9.86 → 1.9.88
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 +66 -5
- 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 +160 -26
- package/survey.react.js +596 -179
- 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.88
|
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 {
|
@@ -2514,11 +2514,13 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2514
2514
|
gap: calc(1 * var(--base-unit, 8px));
|
2515
2515
|
flex-grow: 1;
|
2516
2516
|
}
|
2517
|
+
.sd-header__text .sd-title {
|
2518
|
+
color: var(--primary, #19b394);
|
2519
|
+
}
|
2517
2520
|
.sd-header__text h3 {
|
2518
2521
|
font-size: calc(2 * var(--sjs-font-size, calc(2 * var(--base-unit, 8px))));
|
2519
2522
|
font-weight: 700;
|
2520
2523
|
line-height: calc(5 * var(--base-unit, 8px));
|
2521
|
-
color: var(--primary, #19b394);
|
2522
2524
|
}
|
2523
2525
|
.sd-header__text h5 {
|
2524
2526
|
font-size: calc(1 * var(--sjs-font-size, calc(2 * var(--base-unit, 8px))));
|
@@ -2804,6 +2806,15 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2804
2806
|
flex-wrap: wrap;
|
2805
2807
|
}
|
2806
2808
|
|
2809
|
+
.sd-rating--small {
|
2810
|
+
min-height: calc(3 * var(--base-unit, 8px));
|
2811
|
+
margin: auto;
|
2812
|
+
}
|
2813
|
+
.sd-rating--small fieldset {
|
2814
|
+
padding: 0;
|
2815
|
+
gap: calc(1 * var(--base-unit, 8px));
|
2816
|
+
}
|
2817
|
+
|
2807
2818
|
.sd-rating__item {
|
2808
2819
|
position: relative;
|
2809
2820
|
background: var(--background, #fff);
|
@@ -2830,6 +2841,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2830
2841
|
}
|
2831
2842
|
|
2832
2843
|
legend + .sd-rating__item,
|
2844
|
+
legend + sv-ng-rating-item-smiley + .sd-rating__item-smiley,
|
2833
2845
|
legend + sv-ng-rating-item + .sd-rating__item {
|
2834
2846
|
margin-inline-start: 2px;
|
2835
2847
|
}
|
@@ -2894,6 +2906,20 @@ legend + sv-ng-rating-item + .sd-rating__item {
|
|
2894
2906
|
height: calc(3 * var(--base-unit, 8px));
|
2895
2907
|
}
|
2896
2908
|
|
2909
|
+
.sd-rating__item-smiley--small {
|
2910
|
+
padding: calc(0.625 * var(--base-unit, 8px));
|
2911
|
+
min-width: calc(3 * var(--base-unit, 8px));
|
2912
|
+
border-width: 1px;
|
2913
|
+
}
|
2914
|
+
.sd-rating__item-smiley--small svg {
|
2915
|
+
width: calc(1.5 * var(--base-unit, 8px));
|
2916
|
+
height: calc(1.5 * var(--base-unit, 8px));
|
2917
|
+
}
|
2918
|
+
|
2919
|
+
.sd-rating__item-smiley--small.sd-rating__item-smiley--selected:focus-within {
|
2920
|
+
box-shadow: inset 0 0 0 1px var(--background, #fff);
|
2921
|
+
}
|
2922
|
+
|
2897
2923
|
legend + .sd-rating__item-smiley,
|
2898
2924
|
legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
2899
2925
|
margin-inline-start: 2px;
|
@@ -2977,6 +3003,15 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
2977
3003
|
display: none;
|
2978
3004
|
}
|
2979
3005
|
|
3006
|
+
.sd-rating__item-star--small {
|
3007
|
+
width: calc(3 * var(--base-unit, 8px));
|
3008
|
+
height: calc(3 * var(--base-unit, 8px));
|
3009
|
+
}
|
3010
|
+
.sd-rating__item-star--small svg {
|
3011
|
+
width: calc(3 * var(--base-unit, 8px));
|
3012
|
+
height: calc(3 * var(--base-unit, 8px));
|
3013
|
+
}
|
3014
|
+
|
2980
3015
|
.sd-rating__item-star--selected svg {
|
2981
3016
|
stroke: none;
|
2982
3017
|
fill: var(--primary, #19b394);
|
@@ -3165,6 +3200,7 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3165
3200
|
display: inline-block;
|
3166
3201
|
line-height: calc(3 * var(--base-unit, 8px));
|
3167
3202
|
appearance: none;
|
3203
|
+
height: 100%;
|
3168
3204
|
}
|
3169
3205
|
|
3170
3206
|
.sd-dropdown--empty:not(.sd-input--disabled) .sd-dropdown__filter-string-input::placeholder {
|
@@ -3288,11 +3324,10 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3288
3324
|
}
|
3289
3325
|
|
3290
3326
|
.sd-tagbox__filter-string-input {
|
3291
|
-
width:
|
3327
|
+
width: 100%;
|
3292
3328
|
display: flex;
|
3293
3329
|
flex-grow: 1;
|
3294
3330
|
height: calc(5 * var(--base-unit, 8px));
|
3295
|
-
position: initial;
|
3296
3331
|
}
|
3297
3332
|
|
3298
3333
|
.sd-tagbox__placeholder {
|
@@ -3314,6 +3349,32 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3314
3349
|
background: linear-gradient(90deg, var(--primary, #19b394) 53.12%, rgba(25, 179, 148, 0) 100%);
|
3315
3350
|
}
|
3316
3351
|
|
3352
|
+
.sd-tagbox.sd-tagbox--empty .sd-tagbox__hint,
|
3353
|
+
.sd-tagbox.sd-tagbox--empty .sd-tagbox__hint-suffix-wrapper,
|
3354
|
+
.sd-tagbox.sd-tagbox--empty .sd-tagbox__filter-string-input {
|
3355
|
+
width: 100%;
|
3356
|
+
}
|
3357
|
+
|
3358
|
+
.sd-tagbox__hint {
|
3359
|
+
display: flex;
|
3360
|
+
flex-grow: 1;
|
3361
|
+
}
|
3362
|
+
|
3363
|
+
.sd-tagbox__hint-suffix-wrapper {
|
3364
|
+
position: relative;
|
3365
|
+
width: 100%;
|
3366
|
+
}
|
3367
|
+
|
3368
|
+
.sd-dropdown__hint-suffix.sd-tagbox__hint-suffix {
|
3369
|
+
height: calc(5 * var(--base-unit, 8px));
|
3370
|
+
line-height: calc(5 * var(--base-unit, 8px));
|
3371
|
+
}
|
3372
|
+
|
3373
|
+
.sd-dropdown__hint-prefix.sd-tagbox__hint-prefix {
|
3374
|
+
height: calc(5 * var(--base-unit, 8px));
|
3375
|
+
line-height: calc(5 * var(--base-unit, 8px));
|
3376
|
+
}
|
3377
|
+
|
3317
3378
|
.sd-imagepicker {
|
3318
3379
|
display: flex;
|
3319
3380
|
flex-wrap: wrap;
|