survey-creator-core 2.0.6 → 2.0.7

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 (142) hide show
  1. package/fesm/i18n/arabic.mjs +1 -1
  2. package/fesm/i18n/bulgarian.mjs +1 -1
  3. package/fesm/i18n/burmese.mjs +1 -1
  4. package/fesm/i18n/croatian.mjs +1 -1
  5. package/fesm/i18n/czech.mjs +1 -1
  6. package/fesm/i18n/danish.mjs +1 -1
  7. package/fesm/i18n/dutch.mjs +1 -1
  8. package/fesm/i18n/english.mjs +1 -1
  9. package/fesm/i18n/finnish.mjs +1 -1
  10. package/fesm/i18n/french.mjs +1 -1
  11. package/fesm/i18n/german.mjs +1 -1
  12. package/fesm/i18n/haitian-creole.mjs +1 -1
  13. package/fesm/i18n/hebrew.mjs +1 -1
  14. package/fesm/i18n/hungarian.mjs +1 -1
  15. package/fesm/i18n/index.mjs +1 -1
  16. package/fesm/i18n/indonesian.mjs +1 -1
  17. package/fesm/i18n/italian.mjs +1 -1
  18. package/fesm/i18n/japanese.mjs +1 -1
  19. package/fesm/i18n/korean.mjs +1 -1
  20. package/fesm/i18n/malay.mjs +1 -1
  21. package/fesm/i18n/mongolian.mjs +1 -1
  22. package/fesm/i18n/norwegian.mjs +1 -1
  23. package/fesm/i18n/persian.mjs +1 -1
  24. package/fesm/i18n/polish.mjs +1 -1
  25. package/fesm/i18n/portuguese.mjs +1 -1
  26. package/fesm/i18n/romanian.mjs +1 -1
  27. package/fesm/i18n/russian.mjs +1 -1
  28. package/fesm/i18n/simplified-chinese.mjs +1 -1
  29. package/fesm/i18n/slovak.mjs +1 -1
  30. package/fesm/i18n/slovenian.mjs +1 -1
  31. package/fesm/i18n/spanish.mjs +1 -1
  32. package/fesm/i18n/swedish.mjs +1 -1
  33. package/fesm/i18n/tajik.mjs +1 -1
  34. package/fesm/i18n/thai.mjs +1 -1
  35. package/fesm/i18n/traditional-chinese.mjs +1 -1
  36. package/fesm/i18n/turkish.mjs +1 -1
  37. package/fesm/survey-creator-core.i18n.mjs +1 -1
  38. package/fesm/survey-creator-core.mjs +153 -110
  39. package/fesm/survey-creator-core.mjs.map +1 -1
  40. package/fesm/themes/index.mjs +1 -1
  41. package/fonts.fontless.css +1 -1
  42. package/fonts.fontless.min.css +1 -1
  43. package/i18n/arabic.js +1 -1
  44. package/i18n/arabic.min.js.LICENSE.txt +1 -1
  45. package/i18n/bulgarian.js +1 -1
  46. package/i18n/bulgarian.min.js.LICENSE.txt +1 -1
  47. package/i18n/burmese.js +1 -1
  48. package/i18n/burmese.min.js.LICENSE.txt +1 -1
  49. package/i18n/croatian.js +1 -1
  50. package/i18n/croatian.min.js.LICENSE.txt +1 -1
  51. package/i18n/czech.js +1 -1
  52. package/i18n/czech.min.js.LICENSE.txt +1 -1
  53. package/i18n/danish.js +1 -1
  54. package/i18n/danish.min.js.LICENSE.txt +1 -1
  55. package/i18n/dutch.js +1 -1
  56. package/i18n/dutch.min.js.LICENSE.txt +1 -1
  57. package/i18n/english.js +1 -1
  58. package/i18n/english.min.js.LICENSE.txt +1 -1
  59. package/i18n/finnish.js +1 -1
  60. package/i18n/finnish.min.js.LICENSE.txt +1 -1
  61. package/i18n/french.js +1 -1
  62. package/i18n/french.min.js.LICENSE.txt +1 -1
  63. package/i18n/german.js +1 -1
  64. package/i18n/german.min.js.LICENSE.txt +1 -1
  65. package/i18n/haitian-creole.js +1 -1
  66. package/i18n/haitian-creole.min.js.LICENSE.txt +1 -1
  67. package/i18n/hebrew.js +1 -1
  68. package/i18n/hebrew.min.js.LICENSE.txt +1 -1
  69. package/i18n/hungarian.js +1 -1
  70. package/i18n/hungarian.min.js.LICENSE.txt +1 -1
  71. package/i18n/index.js +1 -1
  72. package/i18n/index.min.js.LICENSE.txt +1 -1
  73. package/i18n/indonesian.js +1 -1
  74. package/i18n/indonesian.min.js.LICENSE.txt +1 -1
  75. package/i18n/italian.js +1 -1
  76. package/i18n/italian.min.js.LICENSE.txt +1 -1
  77. package/i18n/japanese.js +1 -1
  78. package/i18n/japanese.min.js.LICENSE.txt +1 -1
  79. package/i18n/korean.js +1 -1
  80. package/i18n/korean.min.js.LICENSE.txt +1 -1
  81. package/i18n/malay.js +1 -1
  82. package/i18n/malay.min.js.LICENSE.txt +1 -1
  83. package/i18n/mongolian.js +1 -1
  84. package/i18n/mongolian.min.js.LICENSE.txt +1 -1
  85. package/i18n/norwegian.js +1 -1
  86. package/i18n/norwegian.min.js.LICENSE.txt +1 -1
  87. package/i18n/persian.js +1 -1
  88. package/i18n/persian.min.js.LICENSE.txt +1 -1
  89. package/i18n/polish.js +1 -1
  90. package/i18n/polish.min.js.LICENSE.txt +1 -1
  91. package/i18n/portuguese.js +1 -1
  92. package/i18n/portuguese.min.js.LICENSE.txt +1 -1
  93. package/i18n/romanian.js +1 -1
  94. package/i18n/romanian.min.js.LICENSE.txt +1 -1
  95. package/i18n/russian.js +1 -1
  96. package/i18n/russian.min.js.LICENSE.txt +1 -1
  97. package/i18n/simplified-chinese.js +1 -1
  98. package/i18n/simplified-chinese.min.js.LICENSE.txt +1 -1
  99. package/i18n/slovak.js +1 -1
  100. package/i18n/slovak.min.js.LICENSE.txt +1 -1
  101. package/i18n/slovenian.js +1 -1
  102. package/i18n/slovenian.min.js.LICENSE.txt +1 -1
  103. package/i18n/spanish.js +1 -1
  104. package/i18n/spanish.min.js.LICENSE.txt +1 -1
  105. package/i18n/swedish.js +1 -1
  106. package/i18n/swedish.min.js.LICENSE.txt +1 -1
  107. package/i18n/tajik.js +1 -1
  108. package/i18n/tajik.min.js.LICENSE.txt +1 -1
  109. package/i18n/thai.js +1 -1
  110. package/i18n/thai.min.js.LICENSE.txt +1 -1
  111. package/i18n/traditional-chinese.js +1 -1
  112. package/i18n/traditional-chinese.min.js.LICENSE.txt +1 -1
  113. package/i18n/turkish.js +1 -1
  114. package/i18n/turkish.min.js.LICENSE.txt +1 -1
  115. package/package.json +2 -2
  116. package/survey-creator-core.css +60 -20
  117. package/survey-creator-core.fontless.css +59 -19
  118. package/survey-creator-core.fontless.css.map +1 -1
  119. package/survey-creator-core.fontless.min.css +5 -5
  120. package/survey-creator-core.i18n.js +1 -1
  121. package/survey-creator-core.i18n.min.js.LICENSE.txt +1 -1
  122. package/survey-creator-core.js +193 -120
  123. package/survey-creator-core.js.map +1 -1
  124. package/survey-creator-core.min.css +6 -6
  125. package/survey-creator-core.min.js +1 -1
  126. package/survey-creator-core.min.js.LICENSE.txt +1 -1
  127. package/themes/default-contrast.js +1 -1
  128. package/themes/default-contrast.min.js.LICENSE.txt +1 -1
  129. package/themes/default-dark.js +1 -1
  130. package/themes/default-dark.min.js.LICENSE.txt +1 -1
  131. package/themes/index.js +1 -1
  132. package/themes/index.min.js.LICENSE.txt +1 -1
  133. package/themes/sc2020.js +1 -1
  134. package/themes/sc2020.min.js.LICENSE.txt +1 -1
  135. package/typings/components/image-item-value.d.ts +7 -0
  136. package/typings/creator-base.d.ts +14 -14
  137. package/typings/creator-options.d.ts +4 -12
  138. package/typings/custom-questions/question-file.d.ts +2 -0
  139. package/typings/property-grid/condition.d.ts +3 -0
  140. package/typings/property-grid/matrices.d.ts +0 -1
  141. package/typings/property-grid/object-selector.d.ts +0 -1
  142. package/typings/property-grid-theme/property-grid.d.ts +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-creator-core",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "Use SurveyJS Creator to create or edit JSON for SurveyJS Form Library.",
5
5
  "keywords": [
6
6
  "Survey",
@@ -28,7 +28,7 @@
28
28
  "typings": "./typings/entries/index.d.ts",
29
29
  "peerDependencies": {
30
30
  "ace-builds": "^1.4.12",
31
- "survey-core": "2.0.6"
31
+ "survey-core": "2.0.7"
32
32
  },
33
33
  "peerDependenciesMeta": {
34
34
  "ace-builds": {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.6
2
+ * SurveyJS Creator v2.0.7
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -228,7 +228,7 @@
228
228
  }
229
229
 
230
230
  /*# sourceMappingURL=fonts.fontless.css.map*//*!
231
- * SurveyJS Creator v2.0.6
231
+ * SurveyJS Creator v2.0.7
232
232
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
233
233
  * Github: https://github.com/surveyjs/survey-creator
234
234
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -2555,7 +2555,7 @@ svc-tab-designer {
2555
2555
  }
2556
2556
  .svc-creator-popup.sv-popup--modal-overlay > .sv-popup__container {
2557
2557
  width: 100vw;
2558
- max-height: calc(100vh- var(--ctr-popup-margin-top-mobile, var(--sjs-spacing-x2)));
2558
+ max-height: calc(100vh - var(--ctr-popup-margin-top-mobile, var(--sjs-spacing-x2)));
2559
2559
  height: calc(100vh - var(--ctr-popup-margin-top-mobile, var(--sjs-spacing-x2)));
2560
2560
  display: flex;
2561
2561
  border-radius: var(--ctr-popup-corner-radius-mobile, var(--sjs-corner-radius-x2)) var(--ctr-popup-corner-radius-mobile, var(--sjs-corner-radius-x2)) 0px 0px;
@@ -5220,14 +5220,24 @@ svc-question .sv-action-bar,
5220
5220
  .sd-panel .svc-question__content {
5221
5221
  border-radius: 0;
5222
5222
  box-shadow: none;
5223
+ }
5224
+ .sd-panel .svc-question__content::after {
5225
+ content: "";
5226
+ position: absolute;
5227
+ pointer-events: none;
5228
+ left: 0;
5229
+ top: 0;
5230
+ bottom: 0;
5231
+ right: 0;
5223
5232
  outline: var(--ctr-survey-question-panel-border-width-nested, var(--lbr-stroke-x1)) dashed var(--ctr-survey-question-panel-border-color-nested, var(--sjs-border-25, #d4d4d4));
5224
5233
  outline-offset: calc(-1 * var(--ctr-survey-question-panel-border-width-nested, var(--lbr-stroke-x1)));
5234
+ z-index: 10;
5225
5235
  }
5226
- .sd-panel .svc-hovered > .svc-question__content:not(.svc-question__content--dragged) {
5227
- box-shadow: 0 0 0 var(--ctr-survey-question-panel-border-width-hovered, var(--lbr-stroke-x2)) var(--ctr-survey-question-panel-border-color-hovered, var(--sjs-secondary-background-25, rgba(25, 179, 148, 0.2509803922))) inset;
5236
+ .sd-panel .svc-hovered > .svc-question__content:not(.svc-question__content--dragged)::after {
5237
+ box-shadow: 0 0 0 var(--ctr-survey-question-panel-border-width-hovered, var(--lbr-stroke-x2)) var(--ctr-survey-question-panel-border-color-hovered, var(--sjs-secondary-background-25, rgba(25, 179, 148, 0.2509803922))) inset, 0 0 0 var(--ctr-survey-question-panel-border-width-hovered, var(--lbr-stroke-x2)) var(--lbr-question-panel-background-color, var(--sjs-layer-1-background-500, white)) inset;
5228
5238
  outline: none;
5229
5239
  }
5230
- .sd-panel .svc-question__content.svc-question__content--selected:not(.svc-question__content--dragged) {
5240
+ .sd-panel .svc-question__content.svc-question__content--selected:not(.svc-question__content--dragged)::after {
5231
5241
  box-shadow: 0 0 0 var(--ctr-survey-question-panel-border-width-selected, var(--lbr-stroke-x2)) var(--ctr-survey-question-panel-border-color-selected, var(--sjs-secondary-background-500, #19b394)) inset;
5232
5242
  outline: none;
5233
5243
  }
@@ -6061,7 +6071,6 @@ svc-question .sv-action-bar,
6061
6071
  }
6062
6072
 
6063
6073
  .svc-image-item-value--new {
6064
- display: none;
6065
6074
  height: max-content;
6066
6075
  }
6067
6076
  .svc-image-item-value--new .sd-imagepicker__image {
@@ -6075,10 +6084,6 @@ svc-question .sv-action-bar,
6075
6084
  border: var(--ctr-survey-image-picker-item-border-width-hovered-placeholder, var(--lbr-stroke-x2)) solid var(--ctr-survey-image-picker-item-border-color-hovered-placeholder, var(--sjs-primary-background-500, #19b394));
6076
6085
  background: var(--ctr-survey-image-picker-item-background-color-hovered-placeholder, var(--sjs-primary-background-10, rgba(25, 179, 148, 0.1019607843)));
6077
6086
  }
6078
- .svc-image-item-value--file-dragging .svc-image-item-value__item {
6079
- position: relative;
6080
- z-index: 2;
6081
- }
6082
6087
 
6083
6088
  .svc-question__content--selected .svc-image-item-value--new {
6084
6089
  display: inline-block;
@@ -6092,8 +6097,44 @@ svc-question .sv-action-bar,
6092
6097
  }
6093
6098
 
6094
6099
  .svc-image-item-value--new .svc-image-item-value-controls {
6095
- top: calc(50% - 3 * var(--sjs-base-unit, var(--base-unit, 8px)));
6096
- left: calc(50% - 3 * var(--sjs-base-unit, var(--base-unit, 8px)));
6100
+ top: 0;
6101
+ left: 0;
6102
+ bottom: 0;
6103
+ right: 0;
6104
+ display: flex;
6105
+ flex-direction: column;
6106
+ justify-content: center;
6107
+ align-items: center;
6108
+ gap: var(--sjs-base-unit, var(--base-unit, 8px));
6109
+ }
6110
+
6111
+ .sd-imagepicker {
6112
+ container-type: inline-size;
6113
+ }
6114
+
6115
+ .svc-image-item-value--new.svc-image-item-value--single .svc-image-item-value-controls {
6116
+ padding: 0 calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6117
+ }
6118
+
6119
+ @container (max-width: 496px) {
6120
+ .svc-image-item-value--new.svc-image-item-value--single .svc-image-item-value-controls {
6121
+ padding: 0 var(--sjs-base-unit, var(--base-unit, 8px));
6122
+ }
6123
+ }
6124
+ @container (max-width: 176px) {
6125
+ .svc-image-item-value__placeholder {
6126
+ display: none;
6127
+ }
6128
+ }
6129
+ .svc-image-item-value__placeholder {
6130
+ font-family: var(--lbr-font-family, var(--sjs-font-family, var(--font-family)));
6131
+ font-size: var(--lbr-font-default-size, var(--lbr-font-size-x2));
6132
+ font-style: normal;
6133
+ line-height: var(--lbr-font-default-line-height, var(--lbr-line-height-x3));
6134
+ color: var(--ctr-survey-placeholder-text-color, rgba(0, 0, 0, 0.5));
6135
+ text-align: center;
6136
+ font-weight: 400;
6137
+ white-space: normal;
6097
6138
  }
6098
6139
 
6099
6140
  .svc-image-item-value--new .svc-image-item-value-controls__button {
@@ -6156,7 +6197,7 @@ svc-question .sv-action-bar,
6156
6197
  width: 100%;
6157
6198
  }
6158
6199
  .svc-image-item-value--single .sd-imagepicker__image {
6159
- height: calc(30 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6200
+ height: calc(36 * (var(--sjs-base-unit, var(--base-unit, 8px))));
6160
6201
  }
6161
6202
 
6162
6203
  .svc-image-item-value__loading {
@@ -9503,6 +9544,8 @@ input.spg-input:read-only::placeholder {
9503
9544
  padding: var(--ctr-button-group-padding, var(--sjs-spacing-x05));
9504
9545
  align-items: center;
9505
9546
  align-self: stretch;
9547
+ box-sizing: border-box;
9548
+ overflow-x: auto;
9506
9549
  border-radius: var(--ctr-button-group-corner-radius, var(--sjs-corner-radius-x075));
9507
9550
  box-shadow: inset 0 0 0 var(--ctr-button-group-border-width, var(--sjs-stroke-x1)) var(--ctr-button-group-border-color, var(--sjs-border-10, gainsboro));
9508
9551
  background-color: var(--ctr-button-group-background-color, var(--sjs-layer-3-background-500, #f4f4f4));
@@ -9538,7 +9581,6 @@ input.spg-input:read-only::placeholder {
9538
9581
  align-self: stretch;
9539
9582
  flex-basis: 0;
9540
9583
  flex-grow: 1;
9541
- width: 0;
9542
9584
  border-radius: var(--ctr-button-group-item-corner-radius, var(--sjs-corner-radius-x075));
9543
9585
  box-shadow: inset 0 0 0 var(--ctr-button-group-item-border-width, 0px) var(--ctr-button-group-item-border-color, var(--sjs-border-10, gainsboro));
9544
9586
  background-color: var(--ctr-button-group-item-background-color, var(--sjs-layer-3-background-500, #f4f4f4));
@@ -9572,15 +9614,13 @@ input.spg-input:read-only::placeholder {
9572
9614
  }
9573
9615
 
9574
9616
  .spg-button-group__item-decorator {
9575
- max-width: 100%;
9617
+ display: flex;
9618
+ align-items: center;
9619
+ white-space: nowrap;
9576
9620
  }
9577
9621
 
9578
9622
  .spg-button-group__item-caption {
9579
9623
  display: block;
9580
- max-width: 100%;
9581
- white-space: nowrap;
9582
- overflow: hidden;
9583
- text-overflow: ellipsis;
9584
9624
  }
9585
9625
 
9586
9626
  .spg-question--disabled .spg-button-group {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * SurveyJS Creator v2.0.6
2
+ * SurveyJS Creator v2.0.7
3
3
  * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
4
  * Github: https://github.com/surveyjs/survey-creator
5
5
  * License: https://surveyjs.io/Licenses#SurveyCreator
@@ -2326,7 +2326,7 @@ svc-tab-designer {
2326
2326
  }
2327
2327
  .svc-creator-popup.sv-popup--modal-overlay > .sv-popup__container {
2328
2328
  width: 100vw;
2329
- max-height: calc(100vh- var(--ctr-popup-margin-top-mobile, var(--sjs-spacing-x2)));
2329
+ max-height: calc(100vh - var(--ctr-popup-margin-top-mobile, var(--sjs-spacing-x2)));
2330
2330
  height: calc(100vh - var(--ctr-popup-margin-top-mobile, var(--sjs-spacing-x2)));
2331
2331
  display: flex;
2332
2332
  border-radius: var(--ctr-popup-corner-radius-mobile, var(--sjs-corner-radius-x2)) var(--ctr-popup-corner-radius-mobile, var(--sjs-corner-radius-x2)) 0px 0px;
@@ -4991,14 +4991,24 @@ svc-question .sv-action-bar,
4991
4991
  .sd-panel .svc-question__content {
4992
4992
  border-radius: 0;
4993
4993
  box-shadow: none;
4994
+ }
4995
+ .sd-panel .svc-question__content::after {
4996
+ content: "";
4997
+ position: absolute;
4998
+ pointer-events: none;
4999
+ left: 0;
5000
+ top: 0;
5001
+ bottom: 0;
5002
+ right: 0;
4994
5003
  outline: var(--ctr-survey-question-panel-border-width-nested, var(--lbr-stroke-x1)) dashed var(--ctr-survey-question-panel-border-color-nested, var(--sjs-border-25, #d4d4d4));
4995
5004
  outline-offset: calc(-1 * var(--ctr-survey-question-panel-border-width-nested, var(--lbr-stroke-x1)));
5005
+ z-index: 10;
4996
5006
  }
4997
- .sd-panel .svc-hovered > .svc-question__content:not(.svc-question__content--dragged) {
4998
- box-shadow: 0 0 0 var(--ctr-survey-question-panel-border-width-hovered, var(--lbr-stroke-x2)) var(--ctr-survey-question-panel-border-color-hovered, var(--sjs-secondary-background-25, rgba(25, 179, 148, 0.2509803922))) inset;
5007
+ .sd-panel .svc-hovered > .svc-question__content:not(.svc-question__content--dragged)::after {
5008
+ box-shadow: 0 0 0 var(--ctr-survey-question-panel-border-width-hovered, var(--lbr-stroke-x2)) var(--ctr-survey-question-panel-border-color-hovered, var(--sjs-secondary-background-25, rgba(25, 179, 148, 0.2509803922))) inset, 0 0 0 var(--ctr-survey-question-panel-border-width-hovered, var(--lbr-stroke-x2)) var(--lbr-question-panel-background-color, var(--sjs-layer-1-background-500, white)) inset;
4999
5009
  outline: none;
5000
5010
  }
5001
- .sd-panel .svc-question__content.svc-question__content--selected:not(.svc-question__content--dragged) {
5011
+ .sd-panel .svc-question__content.svc-question__content--selected:not(.svc-question__content--dragged)::after {
5002
5012
  box-shadow: 0 0 0 var(--ctr-survey-question-panel-border-width-selected, var(--lbr-stroke-x2)) var(--ctr-survey-question-panel-border-color-selected, var(--sjs-secondary-background-500, #19b394)) inset;
5003
5013
  outline: none;
5004
5014
  }
@@ -5832,7 +5842,6 @@ svc-question .sv-action-bar,
5832
5842
  }
5833
5843
 
5834
5844
  .svc-image-item-value--new {
5835
- display: none;
5836
5845
  height: max-content;
5837
5846
  }
5838
5847
  .svc-image-item-value--new .sd-imagepicker__image {
@@ -5846,10 +5855,6 @@ svc-question .sv-action-bar,
5846
5855
  border: var(--ctr-survey-image-picker-item-border-width-hovered-placeholder, var(--lbr-stroke-x2)) solid var(--ctr-survey-image-picker-item-border-color-hovered-placeholder, var(--sjs-primary-background-500, #19b394));
5847
5856
  background: var(--ctr-survey-image-picker-item-background-color-hovered-placeholder, var(--sjs-primary-background-10, rgba(25, 179, 148, 0.1019607843)));
5848
5857
  }
5849
- .svc-image-item-value--file-dragging .svc-image-item-value__item {
5850
- position: relative;
5851
- z-index: 2;
5852
- }
5853
5858
 
5854
5859
  .svc-question__content--selected .svc-image-item-value--new {
5855
5860
  display: inline-block;
@@ -5863,8 +5868,44 @@ svc-question .sv-action-bar,
5863
5868
  }
5864
5869
 
5865
5870
  .svc-image-item-value--new .svc-image-item-value-controls {
5866
- top: calc(50% - 3 * var(--sjs-base-unit, var(--base-unit, 8px)));
5867
- left: calc(50% - 3 * var(--sjs-base-unit, var(--base-unit, 8px)));
5871
+ top: 0;
5872
+ left: 0;
5873
+ bottom: 0;
5874
+ right: 0;
5875
+ display: flex;
5876
+ flex-direction: column;
5877
+ justify-content: center;
5878
+ align-items: center;
5879
+ gap: var(--sjs-base-unit, var(--base-unit, 8px));
5880
+ }
5881
+
5882
+ .sd-imagepicker {
5883
+ container-type: inline-size;
5884
+ }
5885
+
5886
+ .svc-image-item-value--new.svc-image-item-value--single .svc-image-item-value-controls {
5887
+ padding: 0 calc(6 * (var(--sjs-base-unit, var(--base-unit, 8px))));
5888
+ }
5889
+
5890
+ @container (max-width: 496px) {
5891
+ .svc-image-item-value--new.svc-image-item-value--single .svc-image-item-value-controls {
5892
+ padding: 0 var(--sjs-base-unit, var(--base-unit, 8px));
5893
+ }
5894
+ }
5895
+ @container (max-width: 176px) {
5896
+ .svc-image-item-value__placeholder {
5897
+ display: none;
5898
+ }
5899
+ }
5900
+ .svc-image-item-value__placeholder {
5901
+ font-family: var(--lbr-font-family, var(--sjs-font-family, var(--font-family)));
5902
+ font-size: var(--lbr-font-default-size, var(--lbr-font-size-x2));
5903
+ font-style: normal;
5904
+ line-height: var(--lbr-font-default-line-height, var(--lbr-line-height-x3));
5905
+ color: var(--ctr-survey-placeholder-text-color, rgba(0, 0, 0, 0.5));
5906
+ text-align: center;
5907
+ font-weight: 400;
5908
+ white-space: normal;
5868
5909
  }
5869
5910
 
5870
5911
  .svc-image-item-value--new .svc-image-item-value-controls__button {
@@ -5927,7 +5968,7 @@ svc-question .sv-action-bar,
5927
5968
  width: 100%;
5928
5969
  }
5929
5970
  .svc-image-item-value--single .sd-imagepicker__image {
5930
- height: calc(30 * (var(--sjs-base-unit, var(--base-unit, 8px))));
5971
+ height: calc(36 * (var(--sjs-base-unit, var(--base-unit, 8px))));
5931
5972
  }
5932
5973
 
5933
5974
  .svc-image-item-value__loading {
@@ -9274,6 +9315,8 @@ input.spg-input:read-only::placeholder {
9274
9315
  padding: var(--ctr-button-group-padding, var(--sjs-spacing-x05));
9275
9316
  align-items: center;
9276
9317
  align-self: stretch;
9318
+ box-sizing: border-box;
9319
+ overflow-x: auto;
9277
9320
  border-radius: var(--ctr-button-group-corner-radius, var(--sjs-corner-radius-x075));
9278
9321
  box-shadow: inset 0 0 0 var(--ctr-button-group-border-width, var(--sjs-stroke-x1)) var(--ctr-button-group-border-color, var(--sjs-border-10, gainsboro));
9279
9322
  background-color: var(--ctr-button-group-background-color, var(--sjs-layer-3-background-500, #f4f4f4));
@@ -9309,7 +9352,6 @@ input.spg-input:read-only::placeholder {
9309
9352
  align-self: stretch;
9310
9353
  flex-basis: 0;
9311
9354
  flex-grow: 1;
9312
- width: 0;
9313
9355
  border-radius: var(--ctr-button-group-item-corner-radius, var(--sjs-corner-radius-x075));
9314
9356
  box-shadow: inset 0 0 0 var(--ctr-button-group-item-border-width, 0px) var(--ctr-button-group-item-border-color, var(--sjs-border-10, gainsboro));
9315
9357
  background-color: var(--ctr-button-group-item-background-color, var(--sjs-layer-3-background-500, #f4f4f4));
@@ -9343,15 +9385,13 @@ input.spg-input:read-only::placeholder {
9343
9385
  }
9344
9386
 
9345
9387
  .spg-button-group__item-decorator {
9346
- max-width: 100%;
9388
+ display: flex;
9389
+ align-items: center;
9390
+ white-space: nowrap;
9347
9391
  }
9348
9392
 
9349
9393
  .spg-button-group__item-caption {
9350
9394
  display: block;
9351
- max-width: 100%;
9352
- white-space: nowrap;
9353
- overflow: hidden;
9354
- text-overflow: ellipsis;
9355
9395
  }
9356
9396
 
9357
9397
  .spg-question--disabled .spg-button-group {