survey-creator-core 1.12.3 → 1.12.4

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.
Files changed (103) hide show
  1. package/5dcaaadc5b1c048d6daa.png +0 -0
  2. package/5e87e454a7071a571216.png +0 -0
  3. package/a7b373b83d0c1e0262bd.png +0 -0
  4. package/cc27e2890751d1ea0380.png +0 -0
  5. package/e8dfbe2bdd7c9dca5efa.png +0 -0
  6. package/fonts.fontless.css +1 -1
  7. package/fonts.fontless.min.css +1 -1
  8. package/i18n/arabic.js +1 -1
  9. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  10. package/i18n/bulgarian.js +1 -1
  11. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  12. package/i18n/croatian.js +1 -1
  13. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  14. package/i18n/czech.js +1 -1
  15. package/i18n/czech.min.js.LICENSE.txt +1 -1
  16. package/i18n/danish.js +1 -1
  17. package/i18n/danish.min.js.LICENSE.txt +1 -1
  18. package/i18n/dutch.js +1 -1
  19. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  20. package/i18n/english.js +17 -1
  21. package/i18n/english.js.map +1 -1
  22. package/i18n/english.min.js +1 -1
  23. package/i18n/english.min.js.LICENSE.txt +1 -1
  24. package/i18n/finnish.js +1 -1
  25. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  26. package/i18n/french.js +1 -1
  27. package/i18n/french.min.js.LICENSE.txt +1 -1
  28. package/i18n/german.js +1 -1
  29. package/i18n/german.min.js.LICENSE.txt +1 -1
  30. package/i18n/hebrew.js +1 -1
  31. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  32. package/i18n/hungarian.js +1 -1
  33. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  34. package/i18n/index.js +1 -1
  35. package/i18n/index.min.js.LICENSE.txt +1 -1
  36. package/i18n/indonesian.js +1 -1
  37. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  38. package/i18n/italian.js +1 -1
  39. package/i18n/italian.min.js.LICENSE.txt +1 -1
  40. package/i18n/japanese.js +1 -1
  41. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  42. package/i18n/korean.js +1 -1
  43. package/i18n/korean.min.js.LICENSE.txt +1 -1
  44. package/i18n/malay.js +1 -1
  45. package/i18n/malay.min.js.LICENSE.txt +1 -1
  46. package/i18n/mongolian.js +1 -1
  47. package/i18n/mongolian.min.js.LICENSE.txt +1 -1
  48. package/i18n/norwegian.js +1 -1
  49. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  50. package/i18n/persian.js +1 -1
  51. package/i18n/persian.min.js.LICENSE.txt +1 -1
  52. package/i18n/polish.js +1 -1
  53. package/i18n/polish.min.js.LICENSE.txt +1 -1
  54. package/i18n/portuguese.js +1 -1
  55. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  56. package/i18n/romanian.js +1 -1
  57. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  58. package/i18n/russian.js +1 -1
  59. package/i18n/russian.min.js.LICENSE.txt +1 -1
  60. package/i18n/simplified-chinese.js +1 -1
  61. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  62. package/i18n/slovak.js +1 -1
  63. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  64. package/i18n/spanish.js +1 -1
  65. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  66. package/i18n/swedish.js +1 -1
  67. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  68. package/i18n/tajik.js +1 -1
  69. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  70. package/i18n/thai.js +1 -1
  71. package/i18n/thai.min.js.LICENSE.txt +1 -1
  72. package/i18n/traditional-chinese.js +1 -1
  73. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  74. package/i18n/turkish.js +1 -1
  75. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  76. package/package.json +2 -2
  77. package/survey-creator-core.css +392 -97
  78. package/survey-creator-core.fontless.css +391 -96
  79. package/survey-creator-core.fontless.css.map +1 -1
  80. package/survey-creator-core.fontless.min.css +10 -10
  81. package/survey-creator-core.i18n.js +1 -1
  82. package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
  83. package/survey-creator-core.js +589 -156
  84. package/survey-creator-core.js.map +1 -1
  85. package/survey-creator-core.min.css +11 -11
  86. package/survey-creator-core.min.js +1 -1
  87. package/survey-creator-core.min.js.LICENSE.txt +1 -1
  88. package/typings/components/action-container-view-model.d.ts +17 -1
  89. package/typings/components/page.d.ts +4 -2
  90. package/typings/components/question-image.d.ts +2 -2
  91. package/typings/components/question.d.ts +10 -2
  92. package/typings/components/simulator.d.ts +3 -1
  93. package/typings/components/tabs/designer.d.ts +2 -0
  94. package/typings/components/tabs/logic-ui.d.ts +2 -0
  95. package/typings/components/tabs/preview.d.ts +2 -0
  96. package/typings/components/tabs/theme-custom-questions/shadow-effects.d.ts +1 -0
  97. package/typings/components/tabs/translation.d.ts +2 -0
  98. package/typings/creator-base.d.ts +2 -0
  99. package/typings/editorLocalization.d.ts +16 -0
  100. package/typings/expand-collapse-manager.d.ts +8 -0
  101. package/typings/localization/english.d.ts +16 -0
  102. package/typings/survey-helper.d.ts +1 -0
  103. package/typings/toolbox.d.ts +1 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v1.12.3
2
+ * SurveyJS Creator v1.12.4
3
3
  * (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -266,6 +266,18 @@ svc-tab-test {
266
266
  background: var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3));
267
267
  }
268
268
 
269
+ .svc-test-tab--empty {
270
+ display: flex;
271
+ flex-direction: column;
272
+ align-items: center;
273
+ justify-content: center;
274
+ flex-grow: 1;
275
+ flex-shrink: 0;
276
+ width: 100%;
277
+ height: 100%;
278
+ gap: 0px;
279
+ }
280
+
269
281
  .svc-test-tab__content .svc-plugin-tab__content {
270
282
  overflow-y: overlay;
271
283
  }
@@ -798,6 +810,17 @@ svc-tab-test {
798
810
  --sjs-transition-duration: 0ms;
799
811
  }
800
812
 
813
+ .svc-translation-tab--empty {
814
+ display: flex;
815
+ flex-direction: column;
816
+ align-items: center;
817
+ justify-content: center;
818
+ flex-grow: 1;
819
+ flex-shrink: 0;
820
+ width: 100%;
821
+ gap: 0px;
822
+ }
823
+
801
824
  .st-properties {
802
825
  background-color: var(--ctr-property-grid-background-color, var(--sjs-general-backcolor-dim, var(--background-dim, #f3f3f3)));
803
826
  flex-grow: 1;
@@ -1278,15 +1301,19 @@ td.st-table__cell:first-of-type span {
1278
1301
  --sjs-transition-duration: 0ms;
1279
1302
  }
1280
1303
 
1281
- .svc-logic-tab__content.svc-logic-tab__empty {
1304
+ .svc-logic-tab__content.svc-logic-tab--empty {
1282
1305
  display: flex;
1283
1306
  flex-direction: column;
1284
1307
  align-items: center;
1285
1308
  justify-content: center;
1309
+ flex-grow: 1;
1310
+ flex-shrink: 0;
1311
+ width: 100%;
1312
+ gap: 0px;
1286
1313
  }
1287
- .svc-logic-tab__content.svc-logic-tab__empty .svc-logic-tab__content-action {
1314
+ .svc-logic-tab__content.svc-logic-tab--empty .svc-logic-tab__content-action {
1288
1315
  width: calc(33 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1289
- margin-top: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1316
+ margin-top: var(--sjs-base-unit, var(--base-unit, 8px));
1290
1317
  }
1291
1318
  .svc-logic-tab__content .svc-logic-tab__content-action {
1292
1319
  margin-left: 25%;
@@ -1447,6 +1474,11 @@ svc-tab-designer {
1447
1474
  min-width: calc(84 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1448
1475
  }
1449
1476
 
1477
+ .svc-content-wrapper {
1478
+ width: 100%;
1479
+ display: flex;
1480
+ }
1481
+
1450
1482
  .svc-tab-designer .svc-designer-header .sd-container-modern__title {
1451
1483
  background-color: transparent;
1452
1484
  }
@@ -1491,24 +1523,25 @@ svc-tab-designer {
1491
1523
  .svc-designer__placeholder-container {
1492
1524
  display: flex;
1493
1525
  flex-grow: 1;
1526
+ flex-shrink: 0;
1494
1527
  width: 100%;
1495
1528
  flex-direction: column;
1496
1529
  align-items: center;
1497
1530
  justify-content: center;
1531
+ gap: 0px;
1498
1532
  padding: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1499
1533
  box-sizing: border-box;
1500
1534
  text-align: center;
1535
+ position: relative;
1501
1536
  }
1502
-
1503
- .svc-designer-placeholder-page {
1504
- margin-top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1537
+ .svc-designer__placeholder-container .sd-page {
1538
+ display: none;
1505
1539
  }
1506
1540
 
1507
1541
  .svc-designer-placeholder-page .svc-page__footer {
1508
1542
  width: calc(33 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1509
1543
  margin: auto;
1510
1544
  }
1511
-
1512
1545
  .svc-designer-placeholder-page .svc-row--ghost {
1513
1546
  display: none;
1514
1547
  }
@@ -1573,19 +1606,13 @@ svc-tab-designer {
1573
1606
  .svc-creator--mobile .svc-page__content.svc-page__content--selected .sd-page__title {
1574
1607
  margin: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0 0 0;
1575
1608
  }
1576
- .svc-creator--mobile .svc-page__content .sd-page {
1577
- padding: var(--sjs-base-unit, var(--base-unit, 8px)) calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1578
- }
1579
- .svc-creator--mobile .svc-page__content .svc-page__footer {
1609
+ .svc-creator--mobile .svc-page__footer {
1580
1610
  margin-left: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1581
1611
  margin-right: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1612
+ margin-top: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1582
1613
  }
1583
- .svc-creator--mobile .svc-question__content {
1584
- padding: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1585
- }
1586
- .svc-creator--mobile .svc-question__content.svc-question__content--selected {
1587
- padding-top: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1588
- padding-bottom: calc(8 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1614
+ .svc-creator--mobile .svc-designer-placeholder-page .svc-page__footer {
1615
+ margin-top: 0;
1589
1616
  }
1590
1617
  .svc-creator--mobile .svc-tab-designer {
1591
1618
  justify-content: initial;
@@ -1618,8 +1645,7 @@ svc-tab-designer {
1618
1645
  width: 100%;
1619
1646
  }
1620
1647
  .svc-creator--mobile .svc-question__content-actions {
1621
- width: calc(100% - 3 * var(--sjs-base-unit, var(--base-unit, 8px)));
1622
- left: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
1648
+ width: calc(100% + 3 * var(--sjs-base-unit, var(--base-unit, 8px)));
1623
1649
  }
1624
1650
  .svc-creator--mobile .svc-question__content-actions .sv-action-bar-item {
1625
1651
  border: 0;
@@ -2005,6 +2031,118 @@ svc-tab-test {
2005
2031
  color: var(--ctr-popup-message-color, #404040);
2006
2032
  }
2007
2033
 
2034
+ .svc-surface-placeholder {
2035
+ display: flex;
2036
+ width: 100%;
2037
+ max-width: var(--ctr-surface-placeholder-max-width, 720px);
2038
+ flex-direction: column;
2039
+ align-items: center;
2040
+ justify-content: center;
2041
+ gap: 0px;
2042
+ padding: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2043
+ box-sizing: border-box;
2044
+ }
2045
+
2046
+ .svc-creator--mobile .svc-surface-placeholder {
2047
+ padding: var(--ctr-surface-placeholder-padding-top, 0px) var(--ctr-surface-placeholder-padding-right, 48px) var(--ctr-surface-placeholder-padding-bottom, 0px) var(--ctr-surface-placeholder-padding-left, 48px);
2048
+ }
2049
+ .svc-creator--mobile .svc-surface-placeholder__text {
2050
+ padding: var(--ctr-surface-placeholder-text-margin-top, 32px) var(--ctr-surface-placeholder-text-margin-right, 32px) var(--ctr-surface-placeholder-text-margin-bottom, 24px) var(--ctr-surface-placeholder-text-margin-left, 32px);
2051
+ }
2052
+
2053
+ .svc-surface-placeholder__image {
2054
+ display: flex;
2055
+ flex-direction: row;
2056
+ gap: 0px;
2057
+ align-items: center;
2058
+ justify-content: center;
2059
+ flex-shrink: 0;
2060
+ position: relative;
2061
+ overflow: hidden;
2062
+ padding: 135px 170px;
2063
+ display: flex;
2064
+ flex-direction: row;
2065
+ gap: 0px;
2066
+ align-items: center;
2067
+ justify-content: center;
2068
+ }
2069
+
2070
+ .svc-surface-placeholder__image--designer {
2071
+ background: url(a7b373b83d0c1e0262bd.png) 50%/contain no-repeat;
2072
+ }
2073
+
2074
+ .svc-surface-placeholder__image--preview {
2075
+ background: url(e8dfbe2bdd7c9dca5efa.png) 50%/contain no-repeat;
2076
+ }
2077
+
2078
+ .svc-surface-placeholder__image--theme {
2079
+ background: url(5e87e454a7071a571216.png) 50%/contain no-repeat;
2080
+ }
2081
+
2082
+ .svc-surface-placeholder__image--logic {
2083
+ background: url(5dcaaadc5b1c048d6daa.png) 50%/contain no-repeat;
2084
+ }
2085
+
2086
+ .svc-surface-placeholder__image--translation {
2087
+ background: url(cc27e2890751d1ea0380.png) 50%/contain no-repeat;
2088
+ }
2089
+
2090
+ .svc-surface-placeholder__text {
2091
+ padding: var(--ctr-surface-placeholder-text-margin-top, 32px) 0px var(--ctr-surface-placeholder-text-margin-bottom, 24px) 0px;
2092
+ display: flex;
2093
+ flex-direction: column;
2094
+ gap: var(--ctr-surface-placeholder-text-gap, 8px);
2095
+ align-items: center;
2096
+ justify-content: center;
2097
+ align-self: center;
2098
+ flex-shrink: 0;
2099
+ width: 100%;
2100
+ }
2101
+
2102
+ .svc-surface-placeholder__title {
2103
+ color: var(--ctr-surface-placeholder-text-title-color, rgba(0, 0, 0, 0.91));
2104
+ text-align: center;
2105
+ font-family: var(--ctr-medium-bold-font-family, "Open Sans");
2106
+ font-size: var(--ctr-medium-bold-font-size, 24px);
2107
+ line-height: var(--ctr-medium-bold-line-height, 32px);
2108
+ font-weight: var(--ctr-medium-bold-font-weight, 700);
2109
+ align-self: stretch;
2110
+ }
2111
+
2112
+ .svc-surface-placeholder__description {
2113
+ color: var(--ctr-surface-placeholder-text-description-color, rgba(0, 0, 0, 0.45));
2114
+ text-align: center;
2115
+ font-family: var(--ctr-default-font-family, "Open Sans");
2116
+ font-size: var(--ctr-default-font-size, 16px);
2117
+ line-height: var(--ctr-default-line-height, 24px);
2118
+ font-weight: var(--ctr-default-font-weight, 400);
2119
+ align-self: stretch;
2120
+ }
2121
+
2122
+ .svc-designer__placeholder-container {
2123
+ padding-bottom: calc(8 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2124
+ }
2125
+
2126
+ .svc-logic-tab--empty > :last-child {
2127
+ margin-bottom: calc(12 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2128
+ }
2129
+
2130
+ .svc-test-tab--empty .svc-surface-placeholder,
2131
+ .svc-translation-tab--empty .svc-surface-placeholder {
2132
+ padding-bottom: calc(12 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2133
+ }
2134
+
2135
+ .svc-creator--mobile .svc-designer__placeholder-container {
2136
+ padding-bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2137
+ }
2138
+ .svc-creator--mobile .svc-logic-tab--empty > :last-child {
2139
+ margin-bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2140
+ }
2141
+ .svc-creator--mobile .svc-test-tab--empty .svc-surface-placeholder,
2142
+ .svc-creator--mobile .svc-translation-tab--empty .svc-surface-placeholder {
2143
+ padding-bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2144
+ }
2145
+
2008
2146
  survey-creator,
2009
2147
  .svc-creator {
2010
2148
  display: flex;
@@ -2688,7 +2826,7 @@ svc-page {
2688
2826
  }
2689
2827
  .svc-page__content .sd-page {
2690
2828
  margin: 0;
2691
- padding: var(--sjs-base-unit, var(--base-unit, 8px)) calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2829
+ padding: var(--sjs-base-unit, var(--base-unit, 8px)) calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0;
2692
2830
  }
2693
2831
 
2694
2832
  .svc-page__content-actions {
@@ -2741,68 +2879,62 @@ svc-page {
2741
2879
  opacity: var(--ctr-survey-question-panel-toolbar-item-opacity-pressed, 50%);
2742
2880
  }
2743
2881
 
2744
- .svc-page__content:not(.svc-page__content--new):focus,
2745
- .svc-hovered.svc-page__content:not(.svc-page__content--new) {
2882
+ .svc-page__content:focus,
2883
+ .svc-hovered.svc-page__content {
2746
2884
  box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor-light, var(--secondary-light, rgba(255, 152, 20, 0.25)));
2747
2885
  background: var(--ctr-survey-page-background-color-hovered, var(--sjs-secondary-backcolor-semi-light, rgba(255, 152, 20, 0.1)));
2748
2886
  }
2749
2887
 
2750
- .svc-page .svc-page__content--collapsed::after {
2751
- content: "";
2752
- width: 100%;
2753
- height: 100%;
2754
- position: absolute;
2755
- top: 0;
2756
- left: 0;
2757
- border: 2px var(--sjs-border-default, var(--border, #d6d6d6)) dashed;
2758
- margin: -2px;
2759
- border-radius: calc(1.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2760
- box-sizing: content-box;
2761
- pointer-events: none;
2888
+ .svc-page__content--new.svc-page__content--new {
2889
+ box-shadow: none;
2890
+ background-color: transparent;
2762
2891
  }
2763
2892
 
2764
- .svc-creator .svc-page .svc-page__content--selected::after,
2765
- .svc-creator .svc-page .svc-page__content--selected:focus::after,
2766
- .svc-hovered.svc-page__content::after {
2767
- display: none;
2893
+ .svc-page__content--selected .svc-page__content-actions,
2894
+ .svc-hovered.svc-page__content .svc-page__content-actions {
2895
+ opacity: 1;
2768
2896
  }
2769
- .svc-creator .svc-page .svc-page__content--selected.svc-page__content--selected,
2770
- .svc-creator .svc-page .svc-page__content--selected:focus.svc-page__content--selected,
2771
- .svc-hovered.svc-page__content.svc-page__content--selected {
2897
+
2898
+ .svc-page__content--selected.svc-page__content--selected {
2772
2899
  box-shadow: 0 0 0 2px var(--sjs-secondary-backcolor, var(--secondary, #ff9814));
2773
2900
  background: var(--sjs-secondary-backcolor-semi-light, rgba(255, 152, 20, 0.1));
2774
2901
  }
2775
- .svc-creator .svc-page .svc-page__content--selected .svc-page__content-actions,
2776
- .svc-creator .svc-page .svc-page__content--selected:focus .svc-page__content-actions,
2777
- .svc-hovered.svc-page__content .svc-page__content-actions {
2778
- opacity: 1;
2902
+
2903
+ .svc-page__content--animation-running .svc-row .svc-question--enter {
2904
+ animation: none;
2905
+ }
2906
+ .svc-page__content--animation-running .svc-row .svc-question--leave {
2907
+ animation-name: moveInWithOverflow;
2908
+ animation-direction: reverse;
2909
+ animation-fill-mode: forwards;
2910
+ animation-timing-function: cubic-bezier(0.42, 0, 1, 1);
2911
+ animation-duration: var(--sjs-svc-collapse-move-out-duration, 250ms);
2912
+ animation-delay: var(--sjs-svc-collapse-move-out-delay, 100ms);
2779
2913
  }
2780
2914
 
2781
- .svc-creator .svc-page .svc-page__content--collapsed::after {
2782
- content: "";
2783
- width: 100%;
2784
- height: 100%;
2785
- position: absolute;
2786
- top: 0;
2787
- left: 0;
2788
- border: 2px var(--sjs-border-default, var(--border, #d6d6d6)) dashed;
2789
- margin: -2px;
2790
- border-radius: calc(1.25 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2791
- box-sizing: content-box;
2792
- pointer-events: none;
2915
+ .svc-creator--disable-animations .svc-row .svc-question--leave {
2916
+ animation: none;
2917
+ }
2918
+
2919
+ .svc-page__content--collapse-onhover, .svc-page__content--collapse-always {
2920
+ outline: 2px transparent dashed;
2921
+ transition: outline-color var(--sjs-creator-transition-duration, 150ms);
2922
+ }
2923
+ .svc-page__content--collapse-onhover.svc-page__content--selected, .svc-page__content--collapse-onhover.svc-page__content.svc-hovered, .svc-page__content--collapse-always.svc-page__content--selected, .svc-page__content--collapse-always.svc-page__content.svc-hovered {
2924
+ outline-color: transparent;
2793
2925
  }
2794
- .svc-creator .svc-page .svc-page__content--collapsed.svc-page__content--collapsed-drag-over-inside {
2926
+ .svc-page__content--collapse-onhover.svc-page__content--collapsed-drag-over-inside, .svc-page__content--collapse-always.svc-page__content--collapsed-drag-over-inside {
2795
2927
  box-shadow: 0 0 0 2px var(--sjs-primary-backcolor, var(--primary, #19b394));
2796
2928
  background: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
2797
2929
  animation: collapsed-drag-over-inside-blinking 1s infinite;
2930
+ outline-color: transparent;
2798
2931
  }
2799
- .svc-creator .svc-page .svc-page__content--collapsed.svc-page__content--collapsed-drag-over-inside::after {
2800
- border: 2px var(--sjs-primary-backcolor, var(--primary, #19b394)) solid;
2801
- background: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
2802
- animation: collapsed-drag-over-inside-blinking 1s infinite;
2932
+
2933
+ .svc-page__content--collapsed {
2934
+ outline-color: var(--sjs-border-default, var(--border, #d6d6d6));
2803
2935
  }
2804
2936
 
2805
- .svc-creator--mobile .svc-page .svc-page__content--collapsed::after {
2937
+ .svc-creator--mobile .svc-page__content::after {
2806
2938
  margin: 0;
2807
2939
  border-radius: var(--sjs-base-unit, var(--base-unit, 8px));
2808
2940
  }
@@ -2825,6 +2957,7 @@ svc-page {
2825
2957
  overflow: visible;
2826
2958
  margin-left: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2827
2959
  margin-right: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2960
+ margin-top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2828
2961
  gap: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2829
2962
  }
2830
2963
  .svc-page__footer .sv-action {
@@ -2884,7 +3017,8 @@ svc-page {
2884
3017
  .svc-page__placeholder_frame {
2885
3018
  min-width: auto;
2886
3019
  max-width: 100%;
2887
- padding: 0 calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3020
+ margin-top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3021
+ padding: 0 calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
2888
3022
  }
2889
3023
  .svc-page__placeholder_frame .svc-panel__placeholder_frame {
2890
3024
  padding: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(8 * (var(--sjs-base-unit, var(--base-unit, 8px))));
@@ -3165,9 +3299,12 @@ svc-question {
3165
3299
  position: relative;
3166
3300
  height: auto;
3167
3301
  width: 100%;
3168
- display: flex;
3169
- flex-direction: column;
3170
- justify-content: stretch;
3302
+ display: grid;
3303
+ grid-template-columns: 100%;
3304
+ }
3305
+ .svc-question__adorner > * {
3306
+ grid-row: 1;
3307
+ grid-column: 1;
3171
3308
  }
3172
3309
  .svc-question__adorner.svc-question__adorner--collapsed {
3173
3310
  height: fit-content;
@@ -3221,7 +3358,10 @@ svc-question {
3221
3358
  }
3222
3359
 
3223
3360
  .svc-question__content {
3224
- scroll-margin-top: 8px;
3361
+ scroll-margin-top: var(--sjs-base-unit, var(--base-unit, 8px));
3362
+ }
3363
+ .svc-question__content .sd-element {
3364
+ scroll-margin-top: calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3225
3365
  }
3226
3366
 
3227
3367
  .svc-question__content {
@@ -3234,13 +3374,31 @@ svc-question {
3234
3374
  flex-grow: 1;
3235
3375
  border-radius: calc(0.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3236
3376
  box-sizing: border-box;
3237
- padding: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(8 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3377
+ padding: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3238
3378
  background: var(--sjs-general-backcolor, var(--background, #fff));
3239
3379
  box-shadow: 0px 1px 2px 0px var(--ctr-shadow-small-color, rgba(0, 0, 0, 0.15));
3240
3380
  outline: none;
3241
3381
  transition: background var(--sjs-creator-transition-duration, 150ms), box-shadow var(--sjs-creator-transition-duration, 150ms);
3242
3382
  }
3243
3383
 
3384
+ .svc-question__content--title-bottom {
3385
+ padding-top: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3386
+ padding-bottom: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3387
+ }
3388
+ .svc-question__content--title-bottom .sd-question__content {
3389
+ margin-top: calc(2.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3390
+ }
3391
+ .svc-question__content--title-bottom .svc-question__content-actions {
3392
+ height: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3393
+ }
3394
+ .svc-question__content--title-bottom .svc-question__content-actions > .sv-action-bar {
3395
+ margin-bottom: calc(-2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3396
+ }
3397
+
3398
+ .svc-question__content--title-hidden {
3399
+ padding-top: calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3400
+ }
3401
+
3244
3402
  .svc-question__content .sd-selectbase:not(.sd-imagepicker) {
3245
3403
  padding-left: calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3246
3404
  margin-left: calc(-5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
@@ -3276,6 +3434,61 @@ svc-question {
3276
3434
  overflow: visible;
3277
3435
  }
3278
3436
 
3437
+ .svc-question--enter, .svc-question--leave {
3438
+ animation-name: fadeIn, moveInWithOverflow;
3439
+ animation-fill-mode: forwards;
3440
+ animation-direction: var(--animation-direction);
3441
+ animation-timing-function: var(--animation-timing-function);
3442
+ animation-duration: var(--fade-animation-duration), var(--move-animation-duration);
3443
+ animation-delay: var(--fade-animation-delay), var(--move-animation-delay);
3444
+ }
3445
+
3446
+ .svc-question--enter {
3447
+ opacity: 0;
3448
+ --fade-animation-duration: var(--sjs-svc-expand-fade-in-duration, 150ms);
3449
+ --move-animation-duration: var(--sjs-svc-expand-move-in-duration, 250ms);
3450
+ --fade-animation-delay: var(--sjs-svc-expand-fade-in-delay, 250ms);
3451
+ --move-animation-delay: 0s;
3452
+ --animation-timing-function: cubic-bezier(0, 0, 0.58, 1);
3453
+ --animation-direction: normal;
3454
+ }
3455
+
3456
+ .svc-question--leave {
3457
+ --fade-animation-duration: var(--sjs-svc-collapse-fade-out-duration, 150ms);
3458
+ --move-animation-duration: var(--sjs-svc-collapse-move-out-duration, 250ms);
3459
+ --fade-animation-delay: 0s;
3460
+ --move-animation-delay: var(--sjs-svc-collapse-move-out-delay, 100ms);
3461
+ --animation-direction: reverse;
3462
+ --animation-timing-function: cubic-bezier(0.42, 0, 1, 1);
3463
+ }
3464
+
3465
+ @keyframes changeAlignSelf {
3466
+ from {
3467
+ align-self: flex-start;
3468
+ }
3469
+ to {
3470
+ align-self: stretch;
3471
+ }
3472
+ }
3473
+ .svc-question--enter.svc-question__adorner, .svc-question--leave.svc-question__adorner {
3474
+ opacity: 1;
3475
+ animation-name: changeAlignSelf;
3476
+ animation-duration: 0s;
3477
+ }
3478
+
3479
+ .svc-question--enter.svc-question__adorner {
3480
+ align-self: flex-start;
3481
+ animation-delay: var(--move-animation-duration);
3482
+ }
3483
+
3484
+ .svc-question--leave.svc-question__adorner {
3485
+ animation-delay: var(--move-animation-delay);
3486
+ }
3487
+
3488
+ .svc-creator--disable-animations .svc-question--enter, .svc-creator--disable-animations .svc-question--leave {
3489
+ animation: none;
3490
+ }
3491
+
3279
3492
  .svc-question__content .sd-question:not(.sd-question--paneldynamic) .sd-panel__content {
3280
3493
  overflow: auto;
3281
3494
  }
@@ -3294,16 +3507,24 @@ svc-question {
3294
3507
  }
3295
3508
 
3296
3509
  .svc-question__content-actions {
3297
- position: absolute;
3510
+ position: relative;
3298
3511
  opacity: 0;
3299
- bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3300
- inset-inline-start: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3301
- inset-inline-end: calc(3.5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3512
+ height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3513
+ margin-left: calc(-1 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3514
+ margin-top: auto;
3515
+ width: calc(100% + 2.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
3302
3516
  transition: opacity var(--sjs-creator-transition-duration, 150ms);
3303
3517
  }
3304
3518
  .svc-question__content-actions:focus-within {
3305
3519
  opacity: 1;
3306
3520
  }
3521
+ .svc-question__content-actions > .sv-action-bar {
3522
+ position: absolute;
3523
+ left: 0;
3524
+ top: 0;
3525
+ width: 100%;
3526
+ margin-top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3527
+ }
3307
3528
  .svc-question__content-actions .sv-action--convertTo {
3308
3529
  max-width: max-content;
3309
3530
  }
@@ -3403,10 +3624,14 @@ svc-question {
3403
3624
  background: var(--sjs-primary-backcolor-light, var(--primary-light, rgba(25, 179, 148, 0.1)));
3404
3625
  }
3405
3626
  }
3406
- .svc-question__content--selected:not(.svc-question__content--dragged) > .svc-question__content-actions,
3407
- .svc-creator:not(.svc-creator--mobile) .svc-page .svc-hovered > .svc-question__content:not(.svc-question__content--dragged) > .svc-question__content-actions {
3627
+ .svc-question__content--selected > .svc-question__content-actions,
3628
+ .svc-hovered > .svc-question__content > .svc-question__content-actions {
3408
3629
  opacity: 1;
3409
3630
  }
3631
+ .svc-question__content--selected > .svc-question__content-actions.svc-question--enter,
3632
+ .svc-hovered > .svc-question__content > .svc-question__content-actions.svc-question--enter {
3633
+ opacity: 0;
3634
+ }
3410
3635
 
3411
3636
  .svc-question__content--dragged {
3412
3637
  background: var(--sjs-general-backcolor-dim-light, var(--background-dim-light, #f9f9f9));
@@ -3414,8 +3639,48 @@ svc-question {
3414
3639
  .svc-question__content--dragged .sd-question__title {
3415
3640
  color: var(--sjs-general-forecolor-light, var(--foreground-light, #909090));
3416
3641
  }
3417
- .svc-question__content--dragged.svc-question__content--selected .svc-question__content-actions {
3418
- display: none;
3642
+ .svc-question__content--dragged > .svc-question__content-actions {
3643
+ opacity: 0;
3644
+ }
3645
+
3646
+ .svc-creator--mobile .svc-question__content-actions {
3647
+ overflow: hidden;
3648
+ height: var(--sjs-base-unit, var(--base-unit, 8px));
3649
+ }
3650
+ .svc-creator--mobile .svc-question__content-actions > .sv-action-bar {
3651
+ margin-top: var(--sjs-base-unit, var(--base-unit, 8px));
3652
+ }
3653
+ .svc-creator--mobile .svc-question__content-actions.svc-question--enter {
3654
+ animation-name: empty, moveInWithOverflow;
3655
+ }
3656
+ .svc-creator--mobile .svc-question__content {
3657
+ padding: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px)))) calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3658
+ }
3659
+ .svc-creator--mobile .svc-element__header--hidden {
3660
+ margin-top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3661
+ margin-bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3662
+ padding: 0 calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3663
+ }
3664
+ .svc-creator--mobile .svc-question__adorner--selected > .svc-element__header--hidden {
3665
+ margin-top: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3666
+ margin-bottom: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3667
+ }
3668
+ .svc-creator--mobile .svc-question__content--selected {
3669
+ padding-top: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3670
+ padding-bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3671
+ }
3672
+ .svc-creator--mobile .svc-question__content--selected > .svc-question__content-actions {
3673
+ height: calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3674
+ overflow: visible;
3675
+ }
3676
+ .svc-creator--mobile .svc-question__content--selected > .svc-question__content-actions > .sv-action-bar {
3677
+ margin-top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3678
+ }
3679
+ .svc-creator--mobile .svc-question__content--selected > .svc-question__content-actions.svc-question--enter {
3680
+ animation-name: fadeIn, moveInWithOverflow;
3681
+ }
3682
+ .svc-creator--mobile.svc-creator--disable-animations .svc-question--enter {
3683
+ animation: none;
3419
3684
  }
3420
3685
 
3421
3686
  .svc-question__content .sd-question.sd-question--table {
@@ -3570,7 +3835,7 @@ svc-question {
3570
3835
  bottom: -6px;
3571
3836
  }
3572
3837
 
3573
- .svc-question__content-actions .sv-action-bar {
3838
+ .svc-question__content-actions > .sv-action-bar {
3574
3839
  box-sizing: border-box;
3575
3840
  padding: 0;
3576
3841
  justify-content: center;
@@ -3634,8 +3899,11 @@ svc-question .sv-action-bar,
3634
3899
 
3635
3900
  .svc-element__header--hidden {
3636
3901
  display: block;
3637
- padding-bottom: var(--sjs-base-unit, var(--base-unit, 8px));
3638
3902
  box-sizing: border-box;
3903
+ padding: 0 calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3904
+ margin: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0;
3905
+ z-index: -1;
3906
+ width: 100%;
3639
3907
  }
3640
3908
  .svc-element__header--hidden .svc-string-editor,
3641
3909
  .svc-element__header--hidden .svc-fake-title,
@@ -3653,34 +3921,52 @@ svc-question .sv-action-bar,
3653
3921
  content: ")";
3654
3922
  }
3655
3923
  .svc-element__header--hidden .svc-element__title--hidden {
3656
- display: none;
3924
+ opacity: 0;
3925
+ transition: opacity 150ms;
3657
3926
  }
3658
3927
 
3659
- .svc-question__adorner .svc-question__content--collapsed > * {
3928
+ .svc-element__header--hidden.sd-question__header--location--left .svc-string-editor,
3929
+ .svc-element__header--hidden.sd-question__header--location--left sv-ng-string > .svc-string-editor {
3930
+ display: inline-block;
3931
+ }
3932
+ .svc-element__header--hidden.sd-question__header--location--left .svc-string-editor::before, .svc-element__header--hidden.sd-question__header--location--left .svc-string-editor::after,
3933
+ .svc-element__header--hidden.sd-question__header--location--left sv-ng-string > .svc-string-editor::before,
3934
+ .svc-element__header--hidden.sd-question__header--location--left sv-ng-string > .svc-string-editor::after {
3935
+ content: none;
3936
+ }
3937
+
3938
+ .svc-question__adorner.svc-question__adorner--collapsed > .svc-element__header--hidden {
3939
+ z-index: 1;
3940
+ }
3941
+ .svc-question__adorner.svc-question__adorner--collapsed > .svc-element__header--hidden > .svc-element__title--hidden {
3942
+ opacity: 1;
3943
+ }
3944
+ .svc-question__adorner.svc-question__adorner--collapsed .svc-question__content--collapsed > * {
3660
3945
  display: none;
3661
3946
  }
3662
- .svc-question__adorner .svc-question__content--collapsed .svc-question__drag-area {
3947
+ .svc-question__adorner.svc-question__adorner--collapsed .svc-question__content--collapsed .svc-question__drag-area {
3948
+ display: flex;
3949
+ }
3950
+ .svc-question__adorner.svc-question__adorner--collapsed .svc-question__content--collapsed .svc-content-wrapper {
3663
3951
  display: flex;
3664
3952
  }
3665
- .svc-question__adorner .svc-question__content--collapsed .sd-element {
3953
+ .svc-question__adorner.svc-question__adorner--collapsed .svc-question__content--collapsed .sd-element {
3666
3954
  display: block;
3667
3955
  }
3668
- .svc-question__adorner .svc-question__content--collapsed .sd-element > *:not(.sd-element__header) {
3956
+ .svc-question__adorner.svc-question__adorner--collapsed .svc-question__content--collapsed .sd-element > *:not(.sd-element__header) {
3669
3957
  display: none;
3670
3958
  }
3671
- .svc-question__adorner .svc-question__content--collapsed .sd-element__header > *:not(.sd-element__title) {
3959
+ .svc-question__adorner.svc-question__adorner--collapsed .svc-question__content--collapsed .sd-element__header > *:not(.sd-element__title) {
3672
3960
  display: none;
3673
3961
  }
3674
- .svc-question__adorner .svc-question__content--collapsed .sd-element__header.svc-element__header--hidden {
3675
- display: block;
3676
- }
3677
- .svc-question__adorner .svc-question__content--collapsed .sd-element__header .svc-element__title--hidden {
3678
- display: block;
3962
+ .svc-question__adorner.svc-question__adorner--collapsed .svc-question__content--collapsed .sd-question__header--location--left {
3963
+ display: none;
3679
3964
  }
3680
3965
 
3681
3966
  .svc-question__adorner .svc-question__content--collapsed {
3682
3967
  flex-grow: 0;
3683
3968
  padding-bottom: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3969
+ padding-top: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3684
3970
  }
3685
3971
  .svc-question__adorner .svc-question__content--collapsed .sd-element__header,
3686
3972
  .svc-question__adorner .svc-question__content--collapsed .sd-element--complex > .sd-element__header {
@@ -3693,8 +3979,10 @@ svc-question .sv-action-bar,
3693
3979
  }
3694
3980
  .svc-creator--mobile .svc-question__adorner .svc-question__content--collapsed {
3695
3981
  padding-bottom: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3982
+ padding-top: calc(2 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3696
3983
  }
3697
3984
  .svc-creator--mobile .svc-question__adorner .svc-question__content--collapsed.svc-question__content--selected {
3985
+ padding-top: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3698
3986
  padding-bottom: calc(3 * (var(--sjs-base-unit, var(--base-unit, 8px))));
3699
3987
  }
3700
3988
 
@@ -3989,9 +4277,6 @@ svc-question .sv-action-bar,
3989
4277
  padding: 0;
3990
4278
  }
3991
4279
 
3992
- .svc-question__content .sd-element__header--location-top {
3993
- margin-top: 0;
3994
- }
3995
4280
  .svc-question__content .sd-element--complex > .sd-element__header--location-top {
3996
4281
  padding-bottom: calc(0.5 * var(--sd-base-vertical-padding));
3997
4282
  padding-top: 0;
@@ -4101,7 +4386,7 @@ svc-question .sv-action-bar,
4101
4386
  box-shadow: 0px 1px 2px 0px var(--ctr-shadow-small-color, rgba(0, 0, 0, 0.15));
4102
4387
  }
4103
4388
  .sd-row--enter.sd-row--enter.sd-row--enter.sd-row--enter .svc-question__content--selected .svc-question__content-actions {
4104
- display: none;
4389
+ opacity: 0;
4105
4390
  }
4106
4391
 
4107
4392
  .sd-panel .sd-row--enter.sd-row--enter.sd-row--enter.sd-row--enter .svc-question__content--selected {
@@ -4159,11 +4444,21 @@ svc-question .sv-action-bar,
4159
4444
  }
4160
4445
 
4161
4446
  .svc-question__content--image:not(.svc-question__content--loading):not(.svc-question__content--empty) {
4162
- padding: calc(4 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0 calc(8 * (var(--sjs-base-unit, var(--base-unit, 8px)))) 0;
4447
+ padding-left: 0;
4448
+ padding-right: 0;
4163
4449
  }
4164
4450
  .svc-question__content--image:not(.svc-question__content--loading):not(.svc-question__content--empty) .sd-image__image {
4165
4451
  border-radius: 0;
4166
4452
  }
4453
+ .svc-question__content--image:not(.svc-question__content--loading):not(.svc-question__content--empty) .svc-question__content-actions {
4454
+ padding-left: calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
4455
+ width: calc(100% - 2.5 * var(--sjs-base-unit, var(--base-unit, 8px)));
4456
+ box-sizing: border-box;
4457
+ }
4458
+ .svc-question__content--image:not(.svc-question__content--loading):not(.svc-question__content--empty) .svc-question__content-actions > .sv-action-bar {
4459
+ width: calc(100% - calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px)))));
4460
+ left: calc(5 * (var(--sjs-base-unit, var(--base-unit, 8px))));
4461
+ }
4167
4462
 
4168
4463
  .svc-question__content--image.svc-question__content--empty .sd-file,
4169
4464
  .svc-question__content--image.svc-question__content--empty sv-ng-file-question {