survey-react 1.9.79 → 1.9.80
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 +104 -3
- package/defaultV2.css.map +1 -1
- package/defaultV2.min.css +2 -2
- package/modern.css +5 -3
- package/modern.css.map +1 -1
- package/modern.min.css +2 -2
- package/package.json +1 -1
- package/survey.css +5 -3
- package/survey.css.map +1 -1
- package/survey.min.css +2 -2
- package/survey.react.d.ts +106 -24
- package/survey.react.js +669 -251
- 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.80
|
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
|
*/
|
@@ -1927,6 +1927,32 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
1927
1927
|
row-gap: 0;
|
1928
1928
|
}
|
1929
1929
|
|
1930
|
+
.sd-panel.sd-panel--as-page > .sd-panel__header.sd-panel__header {
|
1931
|
+
padding-top: 0;
|
1932
|
+
padding-bottom: 0;
|
1933
|
+
}
|
1934
|
+
.sd-panel.sd-panel--as-page > .sd-panel__header.sd-panel__header:after {
|
1935
|
+
content: none;
|
1936
|
+
}
|
1937
|
+
.sd-panel.sd-panel--as-page > .sd-panel__header.sd-panel__header .sd-panel__title {
|
1938
|
+
position: static;
|
1939
|
+
font-size: calc(3 * var(--base-unit, 8px));
|
1940
|
+
line-height: calc(4 * var(--base-unit, 8px));
|
1941
|
+
margin: calc(0.5 * var(--base-unit, 8px)) 0px;
|
1942
|
+
font-weight: 700;
|
1943
|
+
}
|
1944
|
+
.sd-panel.sd-panel--as-page > .sd-panel__header.sd-panel__header .sd-panel__title span {
|
1945
|
+
font-size: inherit;
|
1946
|
+
line-height: inherit;
|
1947
|
+
}
|
1948
|
+
.sd-panel.sd-panel--as-page > .sd-panel__header.sd-panel__header .sd-panel__description {
|
1949
|
+
position: static;
|
1950
|
+
font-size: calc(2 * var(--base-unit, 8px));
|
1951
|
+
line-height: calc(3 * var(--base-unit, 8px));
|
1952
|
+
margin: calc(0.5 * var(--base-unit, 8px)) 0px;
|
1953
|
+
font-weight: 400;
|
1954
|
+
}
|
1955
|
+
|
1930
1956
|
.sd-panel__required-text {
|
1931
1957
|
color: var(--red, #e60a3e);
|
1932
1958
|
}
|
@@ -2193,6 +2219,10 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2193
2219
|
padding: calc(2.5 * var(--base-unit, 8px)) calc(1 * var(--base-unit, 8px));
|
2194
2220
|
}
|
2195
2221
|
|
2222
|
+
.sd-matrixdynamic__content .sd-table__question-wrapper {
|
2223
|
+
position: relative;
|
2224
|
+
}
|
2225
|
+
|
2196
2226
|
.sd-table__question-wrapper:not(:focus-within):hover {
|
2197
2227
|
position: relative;
|
2198
2228
|
}
|
@@ -2312,6 +2342,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2312
2342
|
font-size: calc(3 * var(--base-unit, 8px));
|
2313
2343
|
line-height: calc(4 * var(--base-unit, 8px));
|
2314
2344
|
margin: calc(0.5 * var(--base-unit, 8px)) 0px;
|
2345
|
+
font-weight: 700;
|
2315
2346
|
}
|
2316
2347
|
|
2317
2348
|
.sd-page__description {
|
@@ -2319,6 +2350,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2319
2350
|
font-size: calc(2 * var(--base-unit, 8px));
|
2320
2351
|
line-height: calc(3 * var(--base-unit, 8px));
|
2321
2352
|
margin: calc(0.5 * var(--base-unit, 8px)) 0px;
|
2353
|
+
font-weight: 400;
|
2322
2354
|
}
|
2323
2355
|
|
2324
2356
|
.sd-row {
|
@@ -2329,6 +2361,10 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2329
2361
|
margin-top: calc(2 * var(--base-unit, 8px));
|
2330
2362
|
}
|
2331
2363
|
|
2364
|
+
.sd-page__row.sd-row {
|
2365
|
+
margin-top: calc(2 * var(--base-unit, 8px));
|
2366
|
+
}
|
2367
|
+
|
2332
2368
|
.sd-page__row.sd-row--multiple,
|
2333
2369
|
.svc-row > .sd-row--multiple {
|
2334
2370
|
background: var(--background, #fff);
|
@@ -2399,6 +2435,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2399
2435
|
font-family: var(--font-family, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
|
2400
2436
|
gap: calc(4 * var(--base-unit, 8px));
|
2401
2437
|
box-shadow: 0px 2px 0px var(--primary, #19b394);
|
2438
|
+
margin-bottom: 2px;
|
2402
2439
|
}
|
2403
2440
|
.sd-title.sd-container-modern__title .sd-logo__image {
|
2404
2441
|
margin-top: calc(1 * var(--base-unit, 8px));
|
@@ -2696,6 +2733,7 @@ li:focus .sv-list__item.sv-list__item--selected .sv-list__item-icon use {
|
|
2696
2733
|
text-align: center;
|
2697
2734
|
border: 2px solid var(--background, #fff);
|
2698
2735
|
color: var(--foreground, #161616);
|
2736
|
+
fill: var(--foreground, #161616);
|
2699
2737
|
font-size: calc(2 * var(--base-unit, 8px));
|
2700
2738
|
}
|
2701
2739
|
|
@@ -2712,10 +2750,12 @@ legend + sv-ng-rating-item + .sd-rating__item {
|
|
2712
2750
|
|
2713
2751
|
.sd-rating__item.sd-rating__item--disabled {
|
2714
2752
|
color: var(--foreground-disabled, rgba(22, 22, 22, 0.25));
|
2753
|
+
fill: var(--foreground-disabled, rgba(22, 22, 22, 0.25));
|
2715
2754
|
}
|
2716
2755
|
|
2717
2756
|
.sd-rating__item.sd-rating__item--selected.sd-rating__item--disabled {
|
2718
2757
|
color: var(--primary-foreground-disabled, rgba(255, 255, 255, 0.25));
|
2758
|
+
fill: var(--foreground-disabled, rgba(22, 22, 22, 0.25));
|
2719
2759
|
}
|
2720
2760
|
|
2721
2761
|
.sd-rating__item--allowhover:hover,
|
@@ -2728,12 +2768,67 @@ legend + sv-ng-rating-item + .sd-rating__item {
|
|
2728
2768
|
border-color: var(--primary, #19b394);
|
2729
2769
|
color: var(--primary-foreground, #fff);
|
2730
2770
|
font-weight: 600;
|
2771
|
+
box-shadow: 0px 1px 2px transparent;
|
2731
2772
|
}
|
2732
2773
|
|
2733
2774
|
.sd-rating__item--selected:focus-within {
|
2734
2775
|
box-shadow: inset 0 0 0 2px var(--background, #fff);
|
2735
2776
|
}
|
2736
2777
|
|
2778
|
+
.sd-rating__item-smiley {
|
2779
|
+
position: relative;
|
2780
|
+
background: var(--background, #fff);
|
2781
|
+
border-radius: calc(12.5 * var(--base-unit, 8px));
|
2782
|
+
white-space: nowrap;
|
2783
|
+
padding: calc(1.25 * var(--base-unit, 8px));
|
2784
|
+
box-sizing: border-box;
|
2785
|
+
min-width: calc(6 * var(--base-unit, 8px));
|
2786
|
+
text-align: center;
|
2787
|
+
border: 2px solid var(--border, #d6d6d6);
|
2788
|
+
color: var(--foreground, #161616);
|
2789
|
+
fill: var(--border, #d6d6d6);
|
2790
|
+
}
|
2791
|
+
.sd-rating__item-smiley svg {
|
2792
|
+
display: block;
|
2793
|
+
width: calc(3 * var(--base-unit, 8px));
|
2794
|
+
height: calc(3 * var(--base-unit, 8px));
|
2795
|
+
}
|
2796
|
+
|
2797
|
+
legend + .sd-rating__item-smiley,
|
2798
|
+
legend + sv-ng-rating-item + .sd-rating__item-smiley {
|
2799
|
+
margin-inline-start: 2px;
|
2800
|
+
}
|
2801
|
+
|
2802
|
+
.sd-rating__item-smiley--error {
|
2803
|
+
background-color: var(--red-light, rgba(230, 10, 62, 0.1));
|
2804
|
+
border-color: transparent;
|
2805
|
+
}
|
2806
|
+
|
2807
|
+
.sd-rating__item-smiley.sd-rating__item-smiley--disabled {
|
2808
|
+
opacity: 0.5;
|
2809
|
+
}
|
2810
|
+
|
2811
|
+
.sd-rating__item-smiley.sd-rating__item-smiley--selected.sd-rating__item-smiley--disabled {
|
2812
|
+
opacity: initial;
|
2813
|
+
fill: var(--primary-foreground, #fff);
|
2814
|
+
}
|
2815
|
+
|
2816
|
+
.sd-rating__item-smiley--allowhover:hover,
|
2817
|
+
.sd-rating__item-smiley:focus-within {
|
2818
|
+
border-color: var(--primary, #19b394);
|
2819
|
+
}
|
2820
|
+
|
2821
|
+
.sd-rating__item-smiley--selected {
|
2822
|
+
background-color: var(--primary, #19b394);
|
2823
|
+
border-color: var(--primary, #19b394);
|
2824
|
+
fill: var(--primary-foreground, #fff);
|
2825
|
+
font-weight: 600;
|
2826
|
+
}
|
2827
|
+
|
2828
|
+
.sd-rating__item-smiley--selected:focus-within {
|
2829
|
+
box-shadow: inset 0 0 0 2px var(--background, #fff);
|
2830
|
+
}
|
2831
|
+
|
2737
2832
|
.sd-rating__item-star {
|
2738
2833
|
position: relative;
|
2739
2834
|
background: var(--background, #fff);
|
@@ -3935,6 +4030,10 @@ legend + sv-ng-rating-item + .sd-rating__item {
|
|
3935
4030
|
flex-grow: 1;
|
3936
4031
|
}
|
3937
4032
|
|
4033
|
+
.sd-multipletext__content .sd-multipletext__item-container {
|
4034
|
+
position: relative;
|
4035
|
+
}
|
4036
|
+
|
3938
4037
|
.sd-multipletext__item-container--error {
|
3939
4038
|
background-color: var(--red-light, rgba(230, 10, 62, 0.1));
|
3940
4039
|
}
|
@@ -4156,12 +4255,11 @@ svg.sd-action--icon {
|
|
4156
4255
|
height: 100%;
|
4157
4256
|
background: var(--background, #fff);
|
4158
4257
|
border-right: 1px solid var(--border, #d6d6d6);
|
4159
|
-
margin-top: 2px;
|
4160
4258
|
box-sizing: border-box;
|
4259
|
+
min-width: calc(32 * var(--base-unit, 8px));
|
4161
4260
|
}
|
4162
4261
|
.sv_progress-toc .sv-list__item.sv-list__item--selected .sv-list__item-body {
|
4163
4262
|
background: var(--primary-light, rgba(25, 179, 148, 0.1));
|
4164
|
-
border-radius: 3px;
|
4165
4263
|
color: var(--foreground, #161616);
|
4166
4264
|
font-weight: 400;
|
4167
4265
|
}
|
@@ -4171,6 +4269,9 @@ svg.sd-action--icon {
|
|
4171
4269
|
.sv_progress-toc .sv-list__item-body {
|
4172
4270
|
padding-inline-start: calc(2 * var(--base-unit, 8px));
|
4173
4271
|
padding-inline-end: calc(2 * var(--base-unit, 8px));
|
4272
|
+
border-radius: 3px;
|
4273
|
+
padding-top: calc(1.5 * var(--base-unit, 8px));
|
4274
|
+
padding-bottom: calc(1.5 * var(--base-unit, 8px));
|
4174
4275
|
}
|
4175
4276
|
|
4176
4277
|
.sd-list {
|