survey-react 1.11.1 → 1.11.3
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 +35 -22
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +11 -23
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +11 -23
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +105 -7
- package/survey.react.js +297 -103
- 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.11.
|
2
|
+
* surveyjs - Survey JavaScript library v1.11.3
|
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
|
*/
|
@@ -3169,7 +3169,7 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3169
3169
|
animation-fill-mode: forwards;
|
3170
3170
|
}
|
3171
3171
|
.sd-table__row--detail.sd-table__row--fade-in {
|
3172
|
-
--fade-in-animation-duration: calc(var(--sjs
|
3172
|
+
--fade-in-animation-duration: calc(var(--sjs-matrix-detail-row-fade-in-duration, 500ms) + var(--sjs-matrix-detail-row-fade-in-delay, 150ms));
|
3173
3173
|
animation-duration: max(var(--fade-in-animation-duration), var(--sjs-matrix-detail-row-move-in-duration, 150ms));
|
3174
3174
|
}
|
3175
3175
|
.sd-table__row--detail.sd-table__row--fade-in > td {
|
@@ -3177,7 +3177,7 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3177
3177
|
animation-duration: var(--sjs-matrix-detail-row-move-in-duration, 150ms);
|
3178
3178
|
}
|
3179
3179
|
.sd-table__row--detail.sd-table__row--fade-in > td > div {
|
3180
|
-
animation-duration: var(--sjs
|
3180
|
+
animation-duration: var(--sjs-matrix-detail-row-fade-in-duration, 500ms), var(--sjs-matrix-detail-row-move-in-duration, 150ms);
|
3181
3181
|
animation-delay: var(--sjs-matrix-detail-row-fade-in-delay, 150ms), 0s;
|
3182
3182
|
}
|
3183
3183
|
.sd-table__row--detail.sd-table__row--fade-out {
|
@@ -3602,6 +3602,10 @@ textarea.sd-input:disabled:not(.sd-input--disabled) {
|
|
3602
3602
|
box-sizing: content-box;
|
3603
3603
|
}
|
3604
3604
|
|
3605
|
+
.sd-row--multiple .sd-question--table.sd-element--nested > .sd-question__content {
|
3606
|
+
padding-right: calc(var(--sd-base-padding) + 2px);
|
3607
|
+
}
|
3608
|
+
|
3605
3609
|
.sd-question--scroll {
|
3606
3610
|
overflow-x: scroll;
|
3607
3611
|
}
|
@@ -5028,6 +5032,10 @@ legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
|
5028
5032
|
color: var(--sjs-font-editorfont-placeholdercolor, var(--sjs-general-forecolor-light, var(--foreground-light, #909090)));
|
5029
5033
|
}
|
5030
5034
|
|
5035
|
+
.sd-dropdown--empty div {
|
5036
|
+
min-height: calc(1.5 * (var(--sjs-internal-font-editorfont-size)));
|
5037
|
+
}
|
5038
|
+
|
5031
5039
|
.sd-dropdown__filter-string-input::placeholder {
|
5032
5040
|
color: var(--sjs-general-forecolor, var(--foreground, #161616));
|
5033
5041
|
width: 100%;
|
@@ -7158,23 +7166,33 @@ svg.sd-action--icon {
|
|
7158
7166
|
}
|
7159
7167
|
|
7160
7168
|
.sd-context-btn--with-border {
|
7161
|
-
|
7169
|
+
--box-shadow-color: var(--sjs-border-inside, var(--border-inside, rgba(0, 0, 0, 0.16)));
|
7170
|
+
box-shadow: 0 0 0 1px var(--box-shadow-color);
|
7171
|
+
}
|
7172
|
+
|
7173
|
+
.sd-context-btn--colorful use {
|
7174
|
+
fill: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
7175
|
+
}
|
7176
|
+
.sd-context-btn--colorful.sd-context-btn--negative use {
|
7177
|
+
fill: red;
|
7162
7178
|
}
|
7163
7179
|
|
7164
7180
|
.sd-context-btn--colorful:focus,
|
7165
7181
|
.sd-context-btn--colorful:hover {
|
7166
|
-
border-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
7167
7182
|
background: linear-gradient(var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1))), var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)))), linear-gradient(var(--sjs-general-backcolor, var(--background, #fff)), var(--sjs-general-backcolor, var(--background, #fff)));
|
7168
7183
|
}
|
7169
|
-
.sd-context-btn--colorful:focus.sd-context-btn--with-border,
|
7170
|
-
.sd-context-btn--colorful:hover.sd-context-btn--with-border {
|
7171
|
-
border-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
7172
|
-
}
|
7173
7184
|
.sd-context-btn--colorful:focus.sd-context-btn--negative,
|
7174
7185
|
.sd-context-btn--colorful:hover.sd-context-btn--negative {
|
7175
|
-
border-color: var(--sjs-special-red, var(--red, #e60a3e));
|
7176
7186
|
background: linear-gradient(var(--sjs-special-red-light, var(--red-light, rgba(230, 10, 62, 0.1))), var(--sjs-special-red-light, var(--red-light, rgba(230, 10, 62, 0.1)))), linear-gradient(var(--sjs-general-backcolor, var(--background, #fff)), var(--sjs-general-backcolor, var(--background, #fff)));
|
7177
7187
|
}
|
7188
|
+
.sd-context-btn--colorful:focus.sd-context-btn--with-border,
|
7189
|
+
.sd-context-btn--colorful:hover.sd-context-btn--with-border {
|
7190
|
+
--box-shadow-color: var(--sjs-primary-backcolor, var(--primary, #19b394));
|
7191
|
+
}
|
7192
|
+
.sd-context-btn--colorful:focus.sd-context-btn--with-border.sd-context-btn--negative,
|
7193
|
+
.sd-context-btn--colorful:hover.sd-context-btn--with-border.sd-context-btn--negative {
|
7194
|
+
--box-shadow-color: var(--sjs-special-red, var(--red, #e60a3e));
|
7195
|
+
}
|
7178
7196
|
|
7179
7197
|
:root {
|
7180
7198
|
--sjs-transition-duration: 150ms;
|
@@ -7770,7 +7788,7 @@ svg.sd-action--icon {
|
|
7770
7788
|
}
|
7771
7789
|
|
7772
7790
|
.sv-header__content--static {
|
7773
|
-
max-width: calc(
|
7791
|
+
max-width: calc(90 * (var(--sjs-base-unit, var(--base-unit, 8px))));
|
7774
7792
|
margin-left: auto;
|
7775
7793
|
margin-right: auto;
|
7776
7794
|
}
|
@@ -8118,25 +8136,20 @@ sv-components-container,
|
|
8118
8136
|
.sd-root-modern.sd-root-modern--mobile .sd-table__cell--footer:not(.sd-question--answered) {
|
8119
8137
|
display: none;
|
8120
8138
|
}
|
8121
|
-
.sd-root-modern.sd-root-modern--mobile .sd-
|
8139
|
+
.sd-root-modern.sd-root-modern--mobile .sd-table__responsive-title {
|
8122
8140
|
padding-bottom: var(--sjs-base-unit, var(--base-unit, 8px));
|
8123
|
-
content: attr(data-responsive-title);
|
8124
8141
|
font-weight: 600;
|
8125
8142
|
display: block;
|
8126
8143
|
text-align: left;
|
8127
8144
|
}
|
8145
|
+
.sd-root-modern.sd-root-modern--mobile .sd-table__responsive-title .sv-string-viewer {
|
8146
|
+
white-space: normal;
|
8147
|
+
}
|
8128
8148
|
.sd-root-modern.sd-root-modern--mobile .sd-table--no-header {
|
8129
8149
|
padding-top: 0;
|
8130
8150
|
}
|
8131
|
-
.sd-root-modern.sd-root-modern--mobile .sd-table--no-header .sd-
|
8132
|
-
|
8133
|
-
}
|
8134
|
-
.sd-root-modern.sd-root-modern--mobile .sd-matrix__cell::before,
|
8135
|
-
.sd-root-modern.sd-root-modern--mobile .sd-table__cell--actions::before,
|
8136
|
-
.sd-root-modern.sd-root-modern--mobile .sd-table__cell--row-text::before,
|
8137
|
-
.sd-root-modern.sd-root-modern--mobile .sd-table__cell--footer-total::before,
|
8138
|
-
.sd-root-modern.sd-root-modern--mobile .sd-table__cell--error::before {
|
8139
|
-
content: none;
|
8151
|
+
.sd-root-modern.sd-root-modern--mobile .sd-table--no-header .sd-table__responsive-title {
|
8152
|
+
display: none;
|
8140
8153
|
}
|
8141
8154
|
.sd-root-modern.sd-root-modern--mobile .sd-table__cell--detail-panel {
|
8142
8155
|
padding-top: 0;
|