survey-react 1.9.91 → 1.9.93
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 +58 -17
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +1 -1
- package/modern.min.css +1 -1
- package/package.json +1 -1
- package/survey.css +1 -1
- package/survey.min.css +1 -1
- package/survey.react.d.ts +179 -133
- package/survey.react.js +922 -845
- package/survey.react.js.map +1 -1
- package/survey.react.min.js +5 -18
package/defaultV2.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* surveyjs - Survey JavaScript library v1.9.
|
2
|
+
* surveyjs - Survey JavaScript library v1.9.93
|
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
|
*/
|
@@ -1530,18 +1530,18 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
1530
1530
|
font-size: 0;
|
1531
1531
|
line-height: 0;
|
1532
1532
|
position: static;
|
1533
|
-
font-
|
1533
|
+
font-family: var(--sjs-font-questiontitle-family, var(--font-family));
|
1534
|
+
font-weight: var(--sjs-font-questiontitle-weight, 600);
|
1535
|
+
color: var(--sjs-font-questiontitle-color, var(--sjs-general-forecolor, var(--foreground, #161616)));
|
1534
1536
|
margin: 0;
|
1535
1537
|
}
|
1536
1538
|
.sd-element__title .sd-element__num {
|
1537
1539
|
font-size: calc(0.75 * var(--sjs-font-size, calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)))));
|
1538
1540
|
line-height: calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
1541
|
+
color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
1539
1542
|
}
|
1540
1543
|
.sd-element__title span {
|
1541
|
-
font-family: var(--sjs-font-questiontitle-family, var(--font-family));
|
1542
|
-
font-weight: var(--sjs-font-questiontitle-weight, 600);
|
1543
1544
|
font-size: var(--sjs-font-questiontitle-size, calc(1 * var(--sjs-font-size, var(--sjs-font-size, calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)))))));
|
1544
|
-
color: var(--sjs-font-questiontitle-color, var(--sjs-general-forecolor, var(--foreground, #161616)));
|
1545
1545
|
line-height: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
1546
1546
|
}
|
1547
1547
|
.sd-element__title .sv-title-actions__title {
|
@@ -3924,34 +3924,36 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3924
3924
|
margin-bottom: calc(-1 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
3925
3925
|
}
|
3926
3926
|
|
3927
|
-
.
|
3928
|
-
|
3927
|
+
.sd-tabs-toolbar.sv-action-bar {
|
3928
|
+
align-items: flex-start;
|
3929
|
+
margin: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) 0 -1px calc(-2 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
3930
|
+
width: calc(100% + 4 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
3931
|
+
z-index: 1;
|
3929
3932
|
}
|
3930
3933
|
|
3931
|
-
.
|
3934
|
+
.sd-tabs-toolbar.sd-tabs-toolbar--left {
|
3932
3935
|
justify-content: flex-start;
|
3933
3936
|
}
|
3934
3937
|
|
3935
|
-
.
|
3938
|
+
.sd-tabs-toolbar.sd-tabs-toolbar--right {
|
3936
3939
|
justify-content: flex-end;
|
3937
3940
|
}
|
3938
3941
|
|
3939
|
-
.
|
3942
|
+
.sd-tabs-toolbar.sd-tabs-toolbar--center {
|
3940
3943
|
justify-content: center;
|
3941
3944
|
}
|
3942
3945
|
|
3943
|
-
.
|
3944
|
-
|
3946
|
+
.sd-tab-item {
|
3947
|
+
margin: 0 calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
3945
3948
|
}
|
3946
3949
|
|
3947
|
-
.
|
3948
|
-
padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) 0 calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)))
|
3950
|
+
.sd-tab-item {
|
3951
|
+
padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px))) 0 calc(2 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
3949
3952
|
display: flex;
|
3950
3953
|
-webkit-appearance: none;
|
3951
3954
|
-moz-appearance: none;
|
3952
3955
|
appearance: none;
|
3953
3956
|
display: flex;
|
3954
|
-
padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
3955
3957
|
box-sizing: border-box;
|
3956
3958
|
border: none;
|
3957
3959
|
background-color: transparent;
|
@@ -3962,19 +3964,58 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
3962
3964
|
overflow-x: hidden;
|
3963
3965
|
white-space: nowrap;
|
3964
3966
|
}
|
3967
|
+
.sd-tab-item:hover {
|
3968
|
+
box-shadow: inset 0px -2px 0px var(--sjs-primary-backcolor, var(--primary, #19b394));
|
3969
|
+
}
|
3965
3970
|
|
3966
|
-
.
|
3971
|
+
.sd-tab-item.sd-tab-item--pressed {
|
3967
3972
|
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
3968
3973
|
box-shadow: inset 0px -2px 0px var(--sjs-primary-backcolor, var(--primary, #19b394));
|
3969
3974
|
}
|
3970
3975
|
|
3971
|
-
.
|
3976
|
+
.sd-tab-item--icon {
|
3977
|
+
padding: calc(1 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
3978
|
+
width: auto;
|
3979
|
+
border-radius: calc(12.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
3980
|
+
}
|
3981
|
+
.sd-tab-item--icon use {
|
3982
|
+
fill: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
|
3983
|
+
opacity: 0.5;
|
3984
|
+
}
|
3985
|
+
|
3986
|
+
.sd-tab-item--icon:hover,
|
3987
|
+
.sd-tab-item--icon.sd-tab-item--pressed {
|
3988
|
+
background-color: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
|
3989
|
+
box-shadow: none;
|
3990
|
+
}
|
3991
|
+
.sd-tab-item--icon:hover use,
|
3992
|
+
.sd-tab-item--icon.sd-tab-item--pressed use {
|
3993
|
+
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
3994
|
+
}
|
3995
|
+
|
3996
|
+
.sd-tab-item--icon:hover use {
|
3997
|
+
opacity: 1;
|
3998
|
+
}
|
3999
|
+
|
4000
|
+
.sd-tabs-toolbar .sv-dots {
|
4001
|
+
width: auto;
|
4002
|
+
}
|
4003
|
+
|
4004
|
+
.sd-tabs-toolbar .sv-dots.sv-action--hidden {
|
4005
|
+
width: 0;
|
4006
|
+
}
|
4007
|
+
|
4008
|
+
.sd-tab-item__title {
|
3972
4009
|
line-height: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
3973
4010
|
height: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
3974
4011
|
display: flex;
|
3975
4012
|
align-items: center;
|
3976
4013
|
}
|
3977
4014
|
|
4015
|
+
.sd-question__title ~ .sd-tabs-toolbar {
|
4016
|
+
margin-top: calc(3 * var(--sjs-base-unit, var(--base-unit, 8px)));
|
4017
|
+
}
|
4018
|
+
|
3978
4019
|
.sd-paneldynamic__header.sd-element__header.sd-paneldynamic__header-tab {
|
3979
4020
|
padding-bottom: 0;
|
3980
4021
|
}
|