survey-react 1.9.136 → 1.9.138
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 +353 -9
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +187 -1
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.css.map +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +392 -134
- package/survey.react.js +1300 -265
- 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.138
|
|
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
|
*/
|
|
@@ -524,6 +524,67 @@ sv-popup {
|
|
|
524
524
|
flex-grow: 1;
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
+
.sv-popup--visible {
|
|
528
|
+
opacity: 1;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.sv-popup--hidden {
|
|
532
|
+
opacity: 0;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.sv-popup--animate-enter {
|
|
536
|
+
animation-name: fadeIn;
|
|
537
|
+
animation-fill-mode: forwards;
|
|
538
|
+
animation-duration: 0.15s;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.sv-popup--modal.sv-popup--animate-enter {
|
|
542
|
+
animation-duration: 0.25s;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.sv-popup--animate-leave {
|
|
546
|
+
animation-direction: reverse;
|
|
547
|
+
animation-name: fadeIn;
|
|
548
|
+
animation-fill-mode: forwards;
|
|
549
|
+
animation-duration: 0.15s;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.sv-popup--modal.sv-popup--animate-leave {
|
|
553
|
+
animation-duration: 0.25s;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.sv-popup--hidden {
|
|
557
|
+
opacity: 0;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
@keyframes modalMoveDown {
|
|
561
|
+
from {
|
|
562
|
+
transform: translateY(0);
|
|
563
|
+
}
|
|
564
|
+
to {
|
|
565
|
+
transform: translateY(64px);
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
@keyframes modalMoveUp {
|
|
569
|
+
from {
|
|
570
|
+
transform: translateY(64px);
|
|
571
|
+
}
|
|
572
|
+
to {
|
|
573
|
+
transform: translateY(0);
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
.sv-popup--modal.sv-popup--animate-leave .sv-popup__container {
|
|
577
|
+
animation-name: modalMoveDown;
|
|
578
|
+
animation-fill-mode: forwards;
|
|
579
|
+
animation-duration: 0.25s;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.sv-popup--modal.sv-popup--animate-enter .sv-popup__container {
|
|
583
|
+
animation-name: modalMoveUp;
|
|
584
|
+
animation-fill-mode: forwards;
|
|
585
|
+
animation-duration: 0.25s;
|
|
586
|
+
}
|
|
587
|
+
|
|
527
588
|
:root {
|
|
528
589
|
--sjs-transition-duration: 150ms;
|
|
529
590
|
}
|
|
@@ -3252,6 +3313,67 @@ sv-popup {
|
|
|
3252
3313
|
flex-grow: 1;
|
|
3253
3314
|
}
|
|
3254
3315
|
|
|
3316
|
+
.sv-popup--visible {
|
|
3317
|
+
opacity: 1;
|
|
3318
|
+
}
|
|
3319
|
+
|
|
3320
|
+
.sv-popup--hidden {
|
|
3321
|
+
opacity: 0;
|
|
3322
|
+
}
|
|
3323
|
+
|
|
3324
|
+
.sv-popup--animate-enter {
|
|
3325
|
+
animation-name: fadeIn;
|
|
3326
|
+
animation-fill-mode: forwards;
|
|
3327
|
+
animation-duration: 0.15s;
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
.sv-popup--modal.sv-popup--animate-enter {
|
|
3331
|
+
animation-duration: 0.25s;
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
.sv-popup--animate-leave {
|
|
3335
|
+
animation-direction: reverse;
|
|
3336
|
+
animation-name: fadeIn;
|
|
3337
|
+
animation-fill-mode: forwards;
|
|
3338
|
+
animation-duration: 0.15s;
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
.sv-popup--modal.sv-popup--animate-leave {
|
|
3342
|
+
animation-duration: 0.25s;
|
|
3343
|
+
}
|
|
3344
|
+
|
|
3345
|
+
.sv-popup--hidden {
|
|
3346
|
+
opacity: 0;
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3349
|
+
@keyframes modalMoveDown {
|
|
3350
|
+
from {
|
|
3351
|
+
transform: translateY(0);
|
|
3352
|
+
}
|
|
3353
|
+
to {
|
|
3354
|
+
transform: translateY(64px);
|
|
3355
|
+
}
|
|
3356
|
+
}
|
|
3357
|
+
@keyframes modalMoveUp {
|
|
3358
|
+
from {
|
|
3359
|
+
transform: translateY(64px);
|
|
3360
|
+
}
|
|
3361
|
+
to {
|
|
3362
|
+
transform: translateY(0);
|
|
3363
|
+
}
|
|
3364
|
+
}
|
|
3365
|
+
.sv-popup--modal.sv-popup--animate-leave .sv-popup__container {
|
|
3366
|
+
animation-name: modalMoveDown;
|
|
3367
|
+
animation-fill-mode: forwards;
|
|
3368
|
+
animation-duration: 0.25s;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
.sv-popup--modal.sv-popup--animate-enter .sv-popup__container {
|
|
3372
|
+
animation-name: modalMoveUp;
|
|
3373
|
+
animation-fill-mode: forwards;
|
|
3374
|
+
animation-duration: 0.25s;
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3255
3377
|
:root {
|
|
3256
3378
|
--sjs-transition-duration: 150ms;
|
|
3257
3379
|
}
|
|
@@ -3606,6 +3728,8 @@ sv-brand-info, .sv-brand-info {
|
|
|
3606
3728
|
.sv-ranking-item {
|
|
3607
3729
|
cursor: pointer;
|
|
3608
3730
|
position: relative;
|
|
3731
|
+
height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
|
3732
|
+
opacity: 1;
|
|
3609
3733
|
}
|
|
3610
3734
|
|
|
3611
3735
|
.sv-ranking-item:focus .sv-ranking-item__icon--hover {
|
|
@@ -3831,6 +3955,60 @@ sv-brand-info, .sv-brand-info {
|
|
|
3831
3955
|
align-items: center;
|
|
3832
3956
|
}
|
|
3833
3957
|
|
|
3958
|
+
.sv-ranking-item--animate-item-removing {
|
|
3959
|
+
--animation-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
|
3960
|
+
animation-name: moveIn, fadeIn;
|
|
3961
|
+
animation-direction: reverse;
|
|
3962
|
+
animation-fill-mode: forwards;
|
|
3963
|
+
animation-timing-function: linear;
|
|
3964
|
+
animation-duration: var(--sjs-ranking-move-out-duration, 150ms), var(--sjs-ranking-fade-out-duration, 100ms);
|
|
3965
|
+
animation-delay: var(--sjs-ranking-move-out-delay, 0ms), 0s;
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
.sv-ranking-item--animate-item-adding {
|
|
3969
|
+
--animation-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
|
3970
|
+
animation-name: moveIn, fadeIn;
|
|
3971
|
+
opacity: 0;
|
|
3972
|
+
animation-fill-mode: forwards;
|
|
3973
|
+
animation-timing-function: linear;
|
|
3974
|
+
animation-duration: var(--sjs-ranking-move-in-duration, 150ms), var(--sjs-ranking-fade-in-duration, 100ms);
|
|
3975
|
+
animation-delay: 0s, var(--sjs-ranking-fade-in-delay, 150ms);
|
|
3976
|
+
}
|
|
3977
|
+
|
|
3978
|
+
.sv-ranking-item--animate-item-adding-empty {
|
|
3979
|
+
--animation-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
|
3980
|
+
animation-name: fadeIn;
|
|
3981
|
+
opacity: 0;
|
|
3982
|
+
animation-timing-function: linear;
|
|
3983
|
+
animation-duration: var(--sjs-ranking-fade-in-duration, 100ms);
|
|
3984
|
+
animation-delay: 0;
|
|
3985
|
+
}
|
|
3986
|
+
|
|
3987
|
+
.sv-ranking-item--animate-item-removing-empty {
|
|
3988
|
+
--animation-height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
|
3989
|
+
animation-name: fadeIn;
|
|
3990
|
+
animation-direction: reverse;
|
|
3991
|
+
animation-timing-function: linear;
|
|
3992
|
+
animation-duration: var(--sjs-ranking-fade-out-duration, 100ms);
|
|
3993
|
+
animation-delay: 0;
|
|
3994
|
+
}
|
|
3995
|
+
|
|
3996
|
+
@keyframes sv-animate-item-opacity-reverse-keyframes {
|
|
3997
|
+
0% {
|
|
3998
|
+
opacity: 0;
|
|
3999
|
+
}
|
|
4000
|
+
100% {
|
|
4001
|
+
opacity: 1;
|
|
4002
|
+
}
|
|
4003
|
+
}
|
|
4004
|
+
@keyframes sv-animate-item-opacity-keyframes {
|
|
4005
|
+
0% {
|
|
4006
|
+
opacity: 1;
|
|
4007
|
+
}
|
|
4008
|
+
100% {
|
|
4009
|
+
opacity: 0;
|
|
4010
|
+
}
|
|
4011
|
+
}
|
|
3834
4012
|
.sv-ranking--select-to-rank-horizontal .sv-ranking__container {
|
|
3835
4013
|
max-width: calc(50% - 1px);
|
|
3836
4014
|
}
|
|
@@ -3883,6 +4061,14 @@ sv-brand-info, .sv-brand-info {
|
|
|
3883
4061
|
display: none;
|
|
3884
4062
|
}
|
|
3885
4063
|
|
|
4064
|
+
.sv-ranking--select-to-rank-horizontal .sv-ranking__container--to .sv-ranking-item {
|
|
4065
|
+
left: 0 !important;
|
|
4066
|
+
padding-left: 16px;
|
|
4067
|
+
}
|
|
4068
|
+
.sv-ranking--select-to-rank-horizontal .sv-ranking__container--to .sv-ranking-item .sv-ranking-item__ghost {
|
|
4069
|
+
left: initial;
|
|
4070
|
+
}
|
|
4071
|
+
|
|
3886
4072
|
:root {
|
|
3887
4073
|
--sjs-transition-duration: 150ms;
|
|
3888
4074
|
}
|