survey-creator-core 1.9.80 → 1.9.82

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.9.80
2
+ * SurveyJS Creator v1.9.82
3
3
  * (c) 2015-2023 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -730,7 +730,8 @@ td.st-table__cell:first-of-type {
730
730
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15); }
731
731
 
732
732
  .svc-logic-tab__content .svc-logic-tab__content-action--disabled .svc-text {
733
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
733
+ color: var(--foreground, #161616);
734
+ opacity: 0.25; }
734
735
 
735
736
  .svc-logic-tab__content .sd-paneldynamic__panel-wrapper--in-row {
736
737
  margin-top: 0;
@@ -794,6 +795,9 @@ td.st-table__cell:first-of-type {
794
795
  display: block;
795
796
  padding: calc(4 * var(--base-unit, 8px)) calc(8 * var(--base-unit, 8px)); }
796
797
 
798
+ .svc-logic-tab__leave-apply-button {
799
+ background-color: var(--red, #e60a3e); }
800
+
797
801
  svc-tab-designer {
798
802
  width: 100%;
799
803
  height: 100%;
@@ -1134,7 +1138,8 @@ survey-creator,
1134
1138
  margin-left: calc(1 * var(--base-unit, 8px));
1135
1139
  line-height: calc(4 * var(--base-unit, 8px));
1136
1140
  font-size: calc(2 * var(--base-unit, 8px));
1137
- color: red; }
1141
+ color: red;
1142
+ display: none; }
1138
1143
 
1139
1144
  .svc-string-editor__controls {
1140
1145
  position: absolute;
@@ -1187,6 +1192,9 @@ survey-creator,
1187
1192
  background-color: var(--background, #fff);
1188
1193
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1), 0px 0px 0px calc(0.25 * var(--base-unit, 8px)) var(--primary, #19b394); }
1189
1194
 
1195
+ .svc-string-editor.svc-string-editor--error:focus-within .svc-string-editor__border {
1196
+ box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1), 0px 0px 0px calc(0.25 * var(--base-unit, 8px)) var(--red, #e60a3e); }
1197
+
1190
1198
  .sd-rating .sd-rating__item:focus-within {
1191
1199
  border: calc(0.25 * var(--base-unit, 8px)) solid var(--primary, #19b394); }
1192
1200
 
@@ -1422,7 +1430,8 @@ svc-page-navigator-item,
1422
1430
  padding: 0 calc(2.5 * var(--base-unit, 8px)) 0 calc(4.5 * var(--base-unit, 8px)); }
1423
1431
 
1424
1432
  .svc-page-navigator-item--disabled .svc-page-navigator-item__banner {
1425
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
1433
+ color: var(--foreground, #161616);
1434
+ opacity: 0.25; }
1426
1435
 
1427
1436
  svc-page {
1428
1437
  display: block; }
@@ -1513,6 +1522,18 @@ svc-page {
1513
1522
  box-shadow: none; }
1514
1523
 
1515
1524
  .svc-row.svc-row--ghost .sd-row {
1525
+ height: calc(4 * var(--base-unit, 8px)); }
1526
+
1527
+ .svc-row.svc-row--ghost:last-child .sd-row {
1528
+ height: initial;
1529
+ margin-top: calc(2 * var(--base-unit, 8px));
1530
+ margin-bottom: calc(2 * var(--base-unit, 8px)); }
1531
+
1532
+ .svc-row.svc-row--ghost + .svc-row .sd-page__row {
1533
+ margin-top: 0; }
1534
+
1535
+ .svc-panel .svc-row.svc-row--ghost.svc-row.svc-row--ghost .sd-row {
1536
+ height: initial;
1516
1537
  margin-top: calc(2 * var(--base-unit, 8px));
1517
1538
  margin-bottom: calc(2 * var(--base-unit, 8px)); }
1518
1539
 
@@ -1568,7 +1589,8 @@ svc-question {
1568
1589
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.15); }
1569
1590
 
1570
1591
  .svc-question__content .sd-matrixdynamic__btn.sd-matrixdynamic__add-btn {
1571
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.25)); }
1592
+ color: var(--foreground, #161616);
1593
+ opacity: 0.25; }
1572
1594
 
1573
1595
  .svc-question__content > div {
1574
1596
  overflow: visible; }
@@ -1858,12 +1880,6 @@ svc-question .sv-action-bar,
1858
1880
  margin-top: 0;
1859
1881
  margin-bottom: 0; }
1860
1882
 
1861
- .sd-panel .svc-row.svc-row--ghost {
1862
- margin-top: calc(1 * var(--base-unit, 8px));
1863
- margin-bottom: calc(1.5 * var(--base-unit, 8px)); }
1864
- .sd-panel .svc-row.svc-row--ghost .sv-drag-drop-ghost {
1865
- top: 0; }
1866
-
1867
1883
  .svc-question__dropdown-choices {
1868
1884
  margin-top: calc(2 * var(--base-unit, 8px)); }
1869
1885
 
@@ -1929,6 +1945,10 @@ svc-question .sv-action-bar,
1929
1945
  min-width: auto;
1930
1946
  justify-content: flex-start; }
1931
1947
 
1948
+ .svc-question__content .sd-rating__item--fixed-size:focus-within {
1949
+ width: unset;
1950
+ padding: calc(0.5 * var(--base-unit, 8px)) calc(2.5 * var(--base-unit, 8px)); }
1951
+
1932
1952
  .svc-item-value-wrapper {
1933
1953
  position: relative;
1934
1954
  display: flex;
@@ -2020,7 +2040,9 @@ svc-question .sv-action-bar,
2020
2040
  opacity: 0.35; }
2021
2041
 
2022
2042
  .svc-item-value--new .sv-ranking-item__index {
2023
- background: var(--background-for-editors, #f9f9f9); }
2043
+ background: var(--background-dim, #f3f3f3); }
2044
+ .svc-item-value--new .sv-ranking-item__index.sv-ranking-item__index--empty:empty {
2045
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAACCAYAAABhYU3QAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAaSURBVHgBjcABDQAACAKwa2X6b1Tghxi8UQEkAAB3NR3N2gAAAABJRU5ErkJggg==); }
2024
2046
 
2025
2047
  .sv-ranking .svc-item-value-wrapper {
2026
2048
  align-items: center; }
@@ -2067,7 +2089,7 @@ svc-question .sv-action-bar,
2067
2089
  background: var(--background-dim, #f3f3f3);
2068
2090
  border-radius: calc(12.5 * var(--base-unit, 8px));
2069
2091
  width: calc(25 * var(--base-unit, 8px));
2070
- height: 55px;
2092
+ height: 40px;
2071
2093
  z-index: 11;
2072
2094
  position: absolute;
2073
2095
  left: 35px; }
@@ -2380,7 +2402,8 @@ svc-question .sv-action-bar,
2380
2402
  .svc-property-panel__group:disabled,
2381
2403
  .svc-property-panel__group:disabled:hover {
2382
2404
  background-color: var(--background, #fff);
2383
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
2405
+ color: var(--foreground, #161616);
2406
+ opacity: 0.25;
2384
2407
  cursor: default; }
2385
2408
 
2386
2409
  .svc-property-panel__group:hover {
@@ -2414,7 +2437,8 @@ svc-question .sv-action-bar,
2414
2437
 
2415
2438
  .svc-tabbed-menu-item--disabled {
2416
2439
  cursor: default;
2417
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
2440
+ color: var(--foreground, #161616);
2441
+ opacity: 0.25; }
2418
2442
  .svc-tabbed-menu-item--disabled:hover {
2419
2443
  background-color: var(--background, #fff); }
2420
2444
 
@@ -3020,19 +3044,39 @@ button.spg-action-button--large {
3020
3044
 
3021
3045
  .spg-input:focus,
3022
3046
  .spg-input.spg-dropdown:focus,
3023
- .spg-input.spg-dropdown:focus-within {
3047
+ .spg-input.spg-dropdown:focus-within,
3048
+ .spg-input-container:focus-within {
3024
3049
  border-color: var(--primary, #19b394);
3025
3050
  box-shadow: inset 0 0 0 1px var(--primary, #19b394); }
3026
3051
 
3027
3052
  .spg-input:disabled,
3028
3053
  .spg-input:disabled::placeholder {
3029
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16)); }
3054
+ color: var(--foreground, #161616);
3055
+ opacity: 0.25; }
3030
3056
 
3031
3057
  .spg-input[type="color"] {
3032
3058
  padding-left: 0;
3033
3059
  padding-right: 0;
3034
3060
  min-width: calc(8 * var(--base-unit, 8px)); }
3035
3061
 
3062
+ .spg-input__edit-button {
3063
+ position: relative;
3064
+ box-sizing: border-box;
3065
+ appearance: none;
3066
+ background: var(--background, #fff);
3067
+ border: none;
3068
+ width: calc(5 * var(--base-unit, 8px));
3069
+ height: calc(5 * var(--base-unit, 8px));
3070
+ padding: calc(1 * var(--base-unit, 8px)); }
3071
+ .spg-input__edit-button:hover {
3072
+ background: var(--background-dim, #f3f3f3); }
3073
+ .spg-input__edit-button:active {
3074
+ opacity: 0.5; }
3075
+ .spg-input__edit-button svg {
3076
+ height: 24px;
3077
+ width: 24px;
3078
+ fill: rgba(0, 0, 0, 0.45); }
3079
+
3036
3080
  .spg-dropdown {
3037
3081
  border-radius: 0;
3038
3082
  display: flex;
@@ -3072,7 +3116,8 @@ button.spg-action-button--large {
3072
3116
 
3073
3117
  .spg-panel__title:disabled,
3074
3118
  .spg-panel__title:disabled:hover {
3075
- color: var(--foreground-disabled, rgba(22, 22, 22, 0.16));
3119
+ color: var(--foreground, #161616);
3120
+ opacity: 0.25;
3076
3121
  cursor: default; }
3077
3122
 
3078
3123
  .spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):hover, .spg-panel__title--expandable:not(.spg-panel__title[aria-expanded=true]):focus {
@@ -3334,6 +3379,42 @@ button.spg-action-button--large {
3334
3379
  .spg-question-group .spg-question--location--left .spg-question__content--left .spg-input.spg-dropdown:focus-within {
3335
3380
  box-shadow: none; }
3336
3381
 
3382
+ .spg-spin-editor__buttons-container {
3383
+ display: flex; }
3384
+
3385
+ .spg-input-container {
3386
+ display: flex;
3387
+ justify-content: space-between;
3388
+ cursor: default;
3389
+ padding: calc(0.5 * var(--base-unit, 8px));
3390
+ align-items: center;
3391
+ gap: calc(0.5 * var(--base-unit, 8px)); }
3392
+
3393
+ .spg-input-container__input {
3394
+ outline: none;
3395
+ border: none;
3396
+ flex-grow: 1;
3397
+ padding: calc(1 * var(--base-unit, 8px)) calc(1.5 * var(--base-unit, 8px)); }
3398
+
3399
+ .spg-color-editor__color-input {
3400
+ position: absolute;
3401
+ height: 1px;
3402
+ width: 1px;
3403
+ overflow: hidden;
3404
+ clip: rect(1px 1px 1px 1px);
3405
+ /* IE6, IE7 */
3406
+ clip: rect(1px, 1px, 1px, 1px);
3407
+ left: calc(50%);
3408
+ top: calc(100%);
3409
+ transform: translate(-50%, -50%); }
3410
+
3411
+ .spg-color-editor__color-swatch {
3412
+ border: 1px solid rgba(0, 0, 0, 0.16);
3413
+ border-radius: 3px;
3414
+ width: calc(4.5 * var(--base-unit, 8px));
3415
+ height: calc(3 * var(--base-unit, 8px));
3416
+ margin-left: calc(1.5 * var(--base-unit, 8px)); }
3417
+
3337
3418
  .spg-root-modern {
3338
3419
  width: 100%;
3339
3420
  border-right: 1px solid var(--border, #d6d6d6);